1 write to _mainMethod
ILCompiler.Compiler (1)
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (1)
27
_mainMethod
= new MainMethodWrapper(owningType, mainMethod);
6 references to _mainMethod
ILCompiler.Compiler (6)
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (6)
99
ModuleDesc entrypointModule = ((MetadataType)
_mainMethod
.WrappedMethod.OwningType).Module;
108
if (
_mainMethod
.WrappedMethod.HasCustomAttribute("System", "STAThreadAttribute"))
129
if (
_mainMethod
.Signature.Length > 0)
140
codeStream.Emit(ILOpcode.call, emitter.NewToken(
_mainMethod
));
151
if (!
_mainMethod
.Signature.ReturnType.IsVoid)
163
if (
_mainMethod
.Signature.ReturnType.IsVoid)