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