3 types derived from MethodBody
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeMethodBody.cs (1)
8internal sealed partial class RuntimeMethodBody : MethodBody
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingMethodBody.cs (1)
9internal class DelegatingMethodBody : MethodBody
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\MethodBase\RoMethodBody.cs (1)
8internal abstract partial class RoMethodBody : MethodBody
30 references to MethodBody
GenerateDocumentationAndConfigFiles (1)
CodeFixerExtensions.cs (1)
81MethodBody? body = moveNextMethod.GetMethodBody();
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
474[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.MethodBody))]
netstandard (1)
netstandard.cs (1)
1442[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.MethodBody))]
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBase.cs (1)
25public virtual MethodBody? GetMethodBody() { throw new InvalidOperationException(); }
System\Reflection\Runtime\MethodInfos\RuntimeConstructorInfo.cs (1)
36public sealed override MethodBody GetMethodBody()
System\Reflection\Runtime\MethodInfos\RuntimeMethodInfo.cs (1)
137public sealed override MethodBody GetMethodBody()
System.Reflection.Context (11)
System\Reflection\Context\CustomReflectionContext.Projector.cs (2)
166public override MethodBody? ProjectMethodBody(MethodBody? value)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
111public override MethodBody? GetMethodBody()
System\Reflection\Context\Delegation\DelegatingMethodBody.cs (2)
11private readonly MethodBody _body; 13public DelegatingMethodBody(MethodBody body)
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
138public override MethodBody? GetMethodBody()
System\Reflection\Context\Projection\ProjectingConstructorInfo.cs (1)
62public override MethodBody? GetMethodBody()
System\Reflection\Context\Projection\ProjectingMethodBody.cs (1)
15public ProjectingMethodBody(MethodBody body, Projector projector)
System\Reflection\Context\Projection\ProjectingMethodInfo.cs (1)
97public override MethodBody? GetMethodBody()
System\Reflection\Context\Projection\Projector.cs (2)
66public abstract MethodBody? ProjectMethodBody(MethodBody? value);
System.Reflection.MetadataLoadContext (12)
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
60public abstract override MethodBody? GetMethodBody();
System\Reflection\TypeLoading\Constructors\RoDefinitionConstructor.cs (1)
35public sealed override MethodBody? GetMethodBody() => _decoder.SpecializeMethodBody(this);
System\Reflection\TypeLoading\Constructors\RoSyntheticConstructor.cs (1)
52public sealed override MethodBody? GetMethodBody() => null;
System\Reflection\TypeLoading\General\Sentinels.cs (1)
39public sealed override MethodBody GetMethodBody() => throw null!;
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
109public MethodBody? SpecializeMethodBody(IRoMethodBase owner)
System\Reflection\TypeLoading\MethodBase\IMethodDecoder.cs (1)
30MethodBody? SpecializeMethodBody(IRoMethodBase owner);
System\Reflection\TypeLoading\Methods\RoConstructedGenericMethod.cs (1)
42public sealed override MethodBody? GetMethodBody() => _genericMethodDefinition.SpecializeMethodBody(this);
System\Reflection\TypeLoading\Methods\RoDefinitionMethod.cs (3)
24internal abstract MethodBody? SpecializeMethodBody(IRoMethodBase owner); 74public sealed override MethodBody? GetMethodBody() => _decoder.SpecializeMethodBody(this); 136internal sealed override MethodBody? SpecializeMethodBody(IRoMethodBase owner) => _decoder.SpecializeMethodBody(owner);
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
68public abstract override MethodBody? GetMethodBody();
System\Reflection\TypeLoading\Methods\RoSyntheticMethod.cs (1)
54public sealed override MethodBody? GetMethodBody() => null;
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
490[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.MethodBody))]