17 references to ResolutionScope
Microsoft.Cci.Extensions (1)
Extensions\CSharp\CSharpCciExtensions.cs (1)
932return tr.ResolutionScope.Kind != HandleKind.TypeReference && !tr.Namespace.IsNil && tr.Namespace.Equals(@namespace, reader) && tr.Name.Equals(name, reader);
Microsoft.CodeAnalysis (5)
MetadataReader\PEModule.cs (5)
419EntityHandle scope = typeRef.ResolutionScope; 2834if (typeRef.ResolutionScope != resolutionScope) 2867resolutionScope = typeRef.ResolutionScope; 2975if (typeRef.ResolutionScope.Kind == HandleKind.TypeReference) 3124HandleKind handleType = typeRefRow.ResolutionScope.Kind;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
4218EntityHandle scope = reader.GetTypeReference(typeRef).ResolutionScope;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\EditAndContinue\EditAndContinueTests.cs (1)
36yield return $"[0x{MetadataTokens.GetToken(typeRef.ResolutionScope):x8}] {readers.GetString(typeRef.Namespace)}.{readers.GetString(typeRef.Name)}";
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
MetadataDecoder.cs (1)
232var scope = typeRef.ResolutionScope;
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\MetadataReaderUtils.cs (1)
319.Select(t => $"{reader.GetString(t.Name)}, {reader.GetString(t.Namespace)}, {reader.Dump(t.ResolutionScope)}");
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EditAndContinue\EditAndContinueTests.vb (1)
4915Yield $"[0x{MetadataTokens.GetToken(typeRef.ResolutionScope):x8}] 0x{MetadataTokens.GetHeapOffset(typeRef.Namespace):x8}.0x{MetadataTokens.GetHeapOffset(typeRef.Name):x8}"
Roslyn.Test.PdbUtilities (1)
Shared\DummyMetadataImport.cs (1)
151resolutionScope = MetadataTokens.GetToken(typeRef.ResolutionScope);
System.Reflection.MetadataLoadContext (5)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (1)
72return tr.ResolutionScope.Kind != HandleKind.TypeReference && tr.Name.Equals(name, reader) && tr.Namespace.Equals(ns, reader);
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (1)
57EntityHandle scope = tr.ResolutionScope;
System\Reflection\TypeLoading\General\Ecma\EcmaToStringHelpers.cs (3)
60if (tr.ResolutionScope.Kind == HandleKind.TypeDefinition || tr.ResolutionScope.Kind == HandleKind.TypeReference) 62string declaringTypeName = tr.ResolutionScope.ToTypeString(default, reader);