1 write to _method
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
26_method = method;
23 references to _method
System.Private.CoreLib (23)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (20)
38return mbi._method; 51public override MemberTypes MemberType => _method.MemberType; 52public override string Name => _method.Name; 55public override object[] GetCustomAttributes(bool inherit) { return _method.GetCustomAttributes(inherit); } 56public override object[] GetCustomAttributes(Type attributeType, bool inherit) { return _method.GetCustomAttributes(attributeType, inherit); } 57public override bool IsDefined(Type attributeType, bool inherit) { return _method.IsDefined(attributeType, inherit); } 58public override Module Module => _method.Module; 62public override ParameterInfo[] GetParameters() { return _method.GetParameters(); } 63public override MethodImplAttributes GetMethodImplementationFlags() { return _method.GetMethodImplementationFlags(); } 64public override RuntimeMethodHandle MethodHandle => _method.MethodHandle; 65public override MethodAttributes Attributes => _method.Attributes; 70public override CallingConventions CallingConvention => _method.CallingConvention; 75if (_method.ContainsGenericParameters || _type.ContainsGenericParameters) 98public override MethodInfo GetGenericMethodDefinition() { return _method; } 99public override bool IsGenericMethodDefinition => _method.IsGenericMethodDefinition; 102return _method.GetGenericArguments(); 116public override bool IsGenericMethod => _method.IsGenericMethod; 120public override Type ReturnType => _method.ReturnType; 121public override ParameterInfo ReturnParameter => _method.ReturnParameter; 129return _method.GetParameterTypes();
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (3)
400methDef = motbi._method; 445case MethodOnTypeBuilderInstantiation motbi when motbi._method is RuntimeMethodBuilder methodBuilder: 448method = motbi._method;