31 references to Namespace
BuildValidator (1)
Util.cs (1)
77var @namespace = reader.GetString(typeRef.Namespace);
Crossgen2Tasks (1)
PrepareForReadyToRunCompilation.cs (1)
454attributeTypeNamespace = attributeTypeRef.Namespace;
Microsoft.AspNetCore.App.UnitTests (1)
TargetingPackTests.cs (1)
209return reader.StringComparer.Equals(attributeType.Namespace, typeof(ReferenceAssemblyAttribute).Namespace)
Microsoft.Build.Tasks.Core (2)
ManifestUtil\MetadataReader.cs (2)
134return reference.Namespace.IsNil 136: _reader.GetString(reference.Namespace) + "." + _reader.GetString(reference.Name);
Microsoft.Cci.Extensions (2)
Extensions\CSharp\CSharpCciExtensions.cs (2)
932return tr.ResolutionScope.Kind != HandleKind.TypeReference && !tr.Namespace.IsNil && tr.Namespace.Equals(@namespace, reader) && tr.Name.Equals(name, reader);
Microsoft.CodeAnalysis (4)
MetadataReader\PEModule.cs (4)
2845if (MetadataReader.StringComparer.Equals(typeRef.Namespace, namespaceName)) 2870@namespace = MetadataReader.GetString(typeRef.Namespace); 2982ns = typeRef.Namespace; 3133namespaceHandle = typeRefRow.Namespace;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\DestructorTests.cs (1)
789peFileReader.GetString(pair.row.Namespace) == "System").handle;
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)
238qualifier = GetNamespace(typeRef.Namespace);
Microsoft.CodeAnalysis.Test.Utilities (4)
Metadata\MetadataReaderUtils.cs (4)
319.Select(t => $"{reader.GetString(t.Name)}, {reader.GetString(t.Namespace)}, {reader.Dump(t.ResolutionScope)}"); 368return getQualifiedName(type.Namespace, type.Name); 453return typeRef.Namespace.IsNil ? name : reader.GetString(typeRef.Namespace) + "." + name;
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}"
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
678AddNamespaceParts(metadataReader, typeReference.Namespace, simpleNames);
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
639return qualifiedNameEquals(containerRef.Name, containerRef.Namespace);
Roslyn.Test.PdbUtilities (4)
Shared\DummyMetadataImport.cs (4)
135if (!typeRef.Namespace.IsNil) 137qualifiedName.Append(_metadataReaderOpt.GetString(typeRef.Namespace)); 147(typeRef.Namespace.IsNil ? 0 : _metadataReaderOpt.GetString(typeRef.Namespace).Length + 1) +
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
264typeNamespaceHandle = tr.Namespace;
System.Reflection.Metadata (2)
System\Reflection\Metadata\TypeSystem\TypeReference.cs (2)
41/// Resolution scope in which the target type is defined and is uniquely identified by the specified <see cref="Namespace"/> and <see cref="Name"/>. 50/// <item><description>Nil handle if the target type must be resolved by searching the <see cref="MetadataReader.ExportedTypes"/> for a matching <see cref="Namespace"/> and <see cref="Name"/>.</description></item>
System.Reflection.MetadataLoadContext (3)
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)
54ReadOnlySpan<byte> ns = tr.Namespace.AsReadOnlySpan(reader);
System\Reflection\TypeLoading\General\Ecma\EcmaToStringHelpers.cs (1)
58string ns = tr.Namespace.GetStringOrNull(reader) ?? string.Empty;