5 implementations of GetBody
Microsoft.CodeAnalysis (5)
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
89public Cci.IMethodBody GetBody(EmitContext context)
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
111public IMethodBody GetBody(EmitContext context)
Emit\NoPia\CommonEmbeddedMethod.cs (1)
99Cci.IMethodBody? Cci.IMethodDefinition.GetBody(EmitContext context)
Emit\NoPia\VtblGap.cs (1)
28Cci.IMethodBody? Cci.IMethodDefinition.GetBody(EmitContext context)
PEWriter\RootModuleStaticConstructor.cs (1)
35public IMethodBody GetBody(EmitContext context) => this;
4 references to GetBody
Microsoft.CodeAnalysis (4)
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
282if (!_methodDefs.IsAddedNotChanged(def) && def.GetBody(Context)?.SequencePoints.Length > 0) 553var (currentLambdas, rudeEdits) = (newMethodDef.HasBody && newMethodDef.GetBody(context) is { } body) ?
PEWriter\MetadataWriter.cs (1)
2960body = method.GetBody(Context);
PEWriter\ReferenceIndexer.cs (1)
108var body = method.GetBody(Context);