5 implementations of HasBody
Microsoft.CodeAnalysis (5)
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
86public bool HasBody
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
108public bool HasBody
Emit\NoPia\CommonEmbeddedMethod.cs (1)
96public bool HasBody
Emit\NoPia\VtblGap.cs (1)
25bool Cci.IMethodDefinition.HasBody
PEWriter\RootModuleStaticConstructor.cs (1)
33public bool HasBody => true;
5 references to HasBody
Microsoft.CodeAnalysis (5)
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
553var (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)
2914if (method.HasBody) 2958if (method.HasBody)
PEWriter\ReferenceIndexer.cs (1)
106if (method.HasBody && !metadataWriter.MetadataOnly)