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