Skip to content

Instantly share code, notes, and snippets.

@baobao
Created November 2, 2018 00:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baobao/d7a7fc74a2fde1d72b8e9403626d4e1d to your computer and use it in GitHub Desktop.
Save baobao/d7a7fc74a2fde1d72b8e9403626d4e1d to your computer and use it in GitHub Desktop.
.method public hidebysig specialname rtspecialname
instance void .ctor () cil managed
{
.maxstack 8
IL_0000: ldarg.0
// フィールド変数初期値をセット
IL_0001: ldstr "hoge"
IL_0006: stfld string Csharp::instanceVaribale
IL_000b: ldarg.0
IL_000c: call instance void [mscorlib]System.Object::.ctor()
IL_0011: ldarg.0
// "foo"をセット
IL_0012: ldstr "foo"
IL_0017: stfld string Csharp::instanceVaribale
IL_001c: ret
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment