3 implementations of MethodDefinition
Microsoft.CodeAnalysis (3)
CodeGen\MethodBody.cs (1)
126
Cci.IMethodDefinition Cci.IMethodBody.
MethodDefinition
=> _parent;
Emit\NoPia\CommonEmbeddedMethod.cs (1)
131
Cci.IMethodDefinition Cci.IMethodBody.
MethodDefinition
=> _method;
PEWriter\RootModuleStaticConstructor.cs (1)
132
public IMethodDefinition
MethodDefinition
=> this;
10 references to MethodDefinition
Microsoft.CodeAnalysis (10)
Emit\CommonPEModuleBuilder.cs (1)
349
Debug.Assert(body == null || (object)methodSymbol == body.
MethodDefinition
.GetInternalSymbol());
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
900
_addedOrChangedMethods.Add(body.
MethodDefinition
, info);
NativePdbWriter\PdbWriter.cs (5)
69
var methodHandle = (MethodDefinitionHandle)_metadataWriter.GetMethodHandle(methodBody.
MethodDefinition
);
79
methodBody.
MethodDefinition
== (Context.Module.DebugEntryPoint ?? Context.Module.PEEntryPoint);
120
UsingNamespace("@" + MetadataTokens.GetToken(_metadataWriter.GetMethodHandle(forwardToMethod)), methodBody.
MethodDefinition
);
151
_symWriter.DefineCustomMetadata(blob, methodBody.
MethodDefinition
);
162
IMethodDefinition method = methodBody.
MethodDefinition
;
PEWriter\CustomDebugInfoWriter.cs (3)
50
forwardToMethod = _previousMethodBodyWithUsingInfo.
MethodDefinition
;
302
if (_pdbWriter.GetOrCreateSerializedNamespaceName(_previousMethodBodyWithUsingInfo.
MethodDefinition
.ContainingNamespace) !=
303
_pdbWriter.GetOrCreateSerializedNamespaceName(methodBody.
MethodDefinition
.ContainingNamespace))