Skip to content

Instantly share code, notes, and snippets.

@baobao
Created November 2, 2018 00:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
.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