5 implementations of HasBody
Microsoft.CodeAnalysis (5)
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
86
public bool
HasBody
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
108
public bool
HasBody
Emit\NoPia\CommonEmbeddedMethod.cs (1)
96
public bool
HasBody
Emit\NoPia\VtblGap.cs (1)
25
bool Cci.IMethodDefinition.
HasBody
PEWriter\RootModuleStaticConstructor.cs (1)
33
public bool
HasBody
=> true;
5 references to HasBody
Microsoft.CodeAnalysis (5)
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
553
var (currentLambdas, rudeEdits) = (newMethodDef.
HasBody
&& newMethodDef.GetBody(context) is { } body) ?
PEWriter\Members.cs (1)
526
/// When emitting metadata-only assemblies this returns null even if <see cref="
HasBody
"/> returns true.
PEWriter\MetadataWriter.cs (2)
2914
if (method.
HasBody
)
2958
if (method.
HasBody
)
PEWriter\ReferenceIndexer.cs (1)
106
if (method.
HasBody
&& !metadataWriter.MetadataOnly)