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