16 references to GetDeclaringType
BuildValidator (1)
Util.cs (1)
66var declaringTypeHandle = methodDef.GetDeclaringType();
Crossgen2Tasks (1)
PrepareForReadyToRunCompilation.cs (1)
459TypeDefinitionHandle attributeTypeDefHandle = mdReader.GetMethodDefinition((MethodDefinitionHandle)attributeCtor).GetDeclaringType();
Microsoft.Cci.Extensions (1)
Extensions\CSharp\CSharpCciExtensions.cs (1)
946EntityHandle handle = reader.GetMethodDefinition((MethodDefinitionHandle)ctorHandle).GetDeclaringType();
Microsoft.CodeAnalysis (2)
MetadataReader\PEModule.cs (2)
3080ctorType = methodDef.GetDeclaringType(); 3345return MetadataReader.GetMethodDefinition(methodDef).GetDeclaringType();
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
FunctionResolverTestBase.cs (1)
44var typeDef = reader.GetTypeDefinition(methodDef.GetDeclaringType());
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\SymbolSourceDocumentFinder.cs (1)
67var typeDefHandle = methodDef.GetDeclaringType();
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
156var typeHandle = methodDefinition.GetDeclaringType();
Microsoft.CodeAnalysis.Test.Utilities (3)
Metadata\MetadataReaderUtils.cs (2)
225parent = reader.GetMethodDefinition((MethodDefinitionHandle)token).GetDeclaringType(); 354return $"{signature.ReturnType} {DumpRec(reader, method.GetDeclaringType())}.{reader.GetString(method.Name)}({parameters})";
Metadata\MetadataValidation.cs (1)
38var container = metadataReader.GetMethodDefinition((MethodDefinitionHandle)ctorHandle).GetDeclaringType();
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
650var typeDef = reader.GetTypeDefinition(reader.GetMethodDefinition((MethodDefinitionHandle)ctorHandle).GetDeclaringType());
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
272TypeDefinition td = reader.GetTypeDefinition(md.GetDeclaringType());
System.Reflection.MetadataLoadContext (3)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeData.cs (1)
65EcmaDefinitionType declaringType = mh.GetMethodDefinition(Reader).GetDeclaringType().ResolveTypeDef(_module);
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (1)
88return mh.GetMethodDefinition(reader).GetDeclaringType();
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (1)
184RoInstantiationProviderType declaringType = methodDefinition.GetDeclaringType().ResolveAndSpecializeType(module, typeContext);