11 references to GetDeclaringType
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
352var declaringType = typeDef.GetDeclaringType();
MetadataReader\PEModule.cs (1)
522return MetadataReader.GetTypeDefinition(typeDef).GetDeclaringType();
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (2)
MetadataDecoder.cs (1)
210var declaringTypeHandle = typeDef.GetDeclaringType();
MetadataResolver.cs (1)
134var declaringTypeHandle = typeDef.GetDeclaringType();
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
FunctionResolverTestBase.cs (1)
74var declaringTypeHandle = typeDef.GetDeclaringType();
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\SymbolSourceDocumentFinder.cs (1)
138var containingType = typeDef.GetDeclaringType();
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
606var declaringType = typeDefinition.GetDeclaringType();
Microsoft.DotNet.PackageTesting (1)
VerifyTypes.cs (1)
202TypeDefinitionHandle declaringTypeHandle = definition.GetDeclaringType();
Microsoft.DotNet.SharedFramework.Sdk (1)
src\Microsoft.DotNet.PackageTesting\VerifyTypes.cs (1)
202TypeDefinitionHandle declaringTypeHandle = definition.GetDeclaringType();
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\General\Ecma\EcmaToStringHelpers.cs (1)
49string declaringTypeName = td.GetDeclaringType().ToTypeString(reader);
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (1)
37return TypeDefinition.GetDeclaringType().ResolveTypeDef(GetEcmaModule());