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)
99ModuleDesc entrypointModule = ((MetadataType)_mainMethod.WrappedMethod.OwningType).Module; 108if (_mainMethod.WrappedMethod.HasCustomAttribute("System", "STAThreadAttribute")) 129if (_mainMethod.Signature.Length > 0) 140codeStream.Emit(ILOpcode.call, emitter.NewToken(_mainMethod)); 151if (!_mainMethod.Signature.ReturnType.IsVoid) 163if (_mainMethod.Signature.ReturnType.IsVoid)