1 write to _mainMethod
ILCompiler.Compiler (1)
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (1)
28
_mainMethod
= new MainMethodWrapper(owningType, mainMethod);
6 references to _mainMethod
ILCompiler.Compiler (6)
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (6)
100
ModuleDesc entrypointModule = ((MetadataType)
_mainMethod
.WrappedMethod.OwningType).Module;
109
if (
_mainMethod
.WrappedMethod.HasCustomAttribute("System", "STAThreadAttribute"))
130
if (
_mainMethod
.Signature.Length > 0)
141
codeStream.Emit(ILOpcode.call, emitter.NewToken(
_mainMethod
));
152
if (!
_mainMethod
.Signature.ReturnType.IsVoid)
164
if (
_mainMethod
.Signature.ReturnType.IsVoid)