74 references to Name
BuildValidator (1)
Util.cs (1)
69var name = reader.GetString(typeDefinition.Name);
Crossgen2Tasks (1)
PrepareForReadyToRunCompilation.cs (1)
461attributeTypeName = attributeTypeDef.Name;
Microsoft.Cci.Extensions (1)
Extensions\CSharp\CSharpCciExtensions.cs (1)
929return !td.Namespace.IsNil && td.Namespace.Equals(@namespace, reader) && td.Name.Equals(name, reader);
Microsoft.CodeAnalysis (7)
DiagnosticAnalyzer\AnalyzerFileReference.cs (2)
357return peModule.GetFullNameOrThrow(typeDef.Namespace, typeDef.Name); 362return GetFullyQualifiedTypeName(declaringTypeDef, peModule) + "+" + peModule.MetadataReader.GetString(typeDef.Name);
MetadataReader\MetadataReaderExtensions.cs (1)
201reader.StringComparer.Equals(typeDef.Name, typeName) &&
MetadataReader\PEModule.cs (4)
529string name = MetadataReader.GetString(typeDefinition.Name); 596name = MetadataReader.GetString(row.Name); 2968name = typeDef.Name; 3145nameHandle = def.Name;
Microsoft.CodeAnalysis.CSharp (7)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (7)
126if (reader.StringComparer.StartsWith(def.Name, GeneratedNames.ActionDelegateNamePrefix) || 127reader.StringComparer.StartsWith(def.Name, GeneratedNames.FuncDelegateNamePrefix)) 132var key = new SynthesizedDelegateKey(reader.GetString(def.Name)); 141if (reader.StringComparer.StartsWith(def.Name, GeneratedNames.AnonymousTypeNameWithoutModulePrefix)) 143var name = MetadataHelpers.InferTypeArityAndUnmangleMetadataName(reader.GetString(def.Name), out _); 162if (reader.StringComparer.StartsWith(def.Name, GeneratedNames.AnonymousDelegateNameWithoutModulePrefix)) 164var name = MetadataHelpers.InferTypeArityAndUnmangleMetadataName(reader.GetString(def.Name), out _);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
4215var types = metadataReader.TypeDefinitions.Select(t => metadataReader.GetString(metadataReader.GetTypeDefinition(t).Name)); 4216var type = metadataReader.TypeDefinitions.Single(t => metadataReader.GetString(metadataReader.GetTypeDefinition(t).Name) == methodName);
CodeGen\DestructorTests.cs (1)
776Single(pair => peFileReader.GetString(pair.row.Name) == "A" &&
Emit\CompilationEmitTests.cs (1)
5079if (peReader.StringComparer.Equals(typeDef.Name, "Viewable"))
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\EditAndContinue\EditAndContinueTests.cs (1)
6184CheckStringValue(readers, newTypeDef.Name, "C#" + generation);
PDB\TypeDefinitionDocumentTests.cs (1)
487return metadataReader.GetString(type.Name);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Attributes\AttributeTests_NativeInteger.cs (1)
1599return reader.GetTypeDefinition(reader.TypeDefinitions.Single(h => reader.StringComparer.Equals(reader.GetTypeDefinition(h).Name, name)));
Attributes\AttributeTests_Nullable.cs (3)
191_ = reader.TypeDefinitions.Single(h => reader.StringComparer.Equals(reader.GetTypeDefinition(h).Name, name)); 195Assert.False(reader.TypeDefinitions.Any(h => reader.StringComparer.Equals(reader.GetTypeDefinition(h).Name, name))); 5408return reader.GetTypeDefinition(reader.TypeDefinitions.Single(h => reader.StringComparer.Equals(reader.GetTypeDefinition(h).Name, name)));
Attributes\AttributeTests_Tuples.cs (2)
896var name = reader.GetString(def.Name); 993var name = reader.GetString(def.Name);
Attributes\AttributeTests_WellKnownAttributes.cs (6)
47var name = metadataReader.GetString(type.Name); 3473var name = metadataReader.GetString(def.Name); 3556var name = metadataReader.GetString(row.Name); 4716var name = metadataReader.GetString(row.Name); 4825var name = metadataReader.GetString(row.Name); 10704var name = peReader.GetString(type.Name);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
EmitMetadataTestBase.cs (1)
145name = metadataReader.GetString(metadataReader.GetTypeDefinition((TypeDefinitionHandle)token).Name);
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (2)
MetadataDecoder.cs (1)
221return CreateTypeSignature(qualifier, _reader.GetString(typeDef.Name), typeArguments, ref typeArgumentOffset);
MetadataResolver.cs (1)
193var typeName = RemoveAritySeparatorIfAny(_reader.GetString(typeDef.Name));
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
FunctionResolverTestBase.cs (1)
93var typeName = reader.GetString(typeDef.Name);
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
158var typeName = mdReader.GetString(typeDefinition.Name);
Microsoft.CodeAnalysis.Test.Utilities (8)
CompilationVerifier.cs (1)
242if (metadataReader.GetString(typeDef.Name) == typeName)
Metadata\MetadataReaderUtils.cs (5)
119return reader.TypeDefinitions.Select(handle => reader.GetTypeDefinition(handle).Name).ToArray(); 127return (td.Namespace, td.Name); 173return reader.GetTypeDefinition((TypeDefinitionHandle)token).Name; 345return getQualifiedName(type.Namespace, type.Name); 445var name = reader.GetString(typeDef.Name);
Metadata\MetadataValidation.cs (2)
39var name = metadataReader.GetTypeDefinition(container).Name; 145var name = metadataReader.GetString(typeDef.Name);
Microsoft.CodeAnalysis.VisualBasic (2)
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (2)
129If Not reader.StringComparer.StartsWith(def.Name, GeneratedNameConstants.AnonymousTypeOrDelegateCommonPrefix) Then 133Dim metadataName = reader.GetString(def.Name)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
Emit\CompilationEmitTests.vb (1)
2592Dim name As String = metadataReader.GetString(typeDefRow.Name)
Emit\EditAndContinue\EditAndContinueTests.vb (1)
1980CheckStringValue(readers, newTypeDef.Name, "C#" & generation)
PDB\TypeDefinitionDocumentTests.vb (1)
370Return metadataReader.GetString(type.Name)
Microsoft.CodeAnalysis.Workspaces (3)
FindSymbols\SymbolTree\SymbolTreeInfo.Node.cs (1)
133var name = reader.GetString(type.Name);
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (2)
620simpleNames.Add(GetMetadataNameWithoutBackticks(metadataReader, typeDefinition.Name)); 852var typeName = GetMetadataNameWithoutBackticks(reader, definition.Name);
Microsoft.DotNet.GenFacades (1)
GenPartialFacadeSourceGenerator.cs (1)
112yield return GetTypeName(typeDefination.Namespace, typeDefination.Name, reader);
Microsoft.DotNet.PackageTesting (2)
VerifyTypes.cs (2)
197? reader.GetString(definition.Name) 198: reader.GetString(definition.Namespace) + "." + reader.GetString(definition.Name);
Microsoft.DotNet.SharedFramework.Sdk (2)
src\Microsoft.DotNet.PackageTesting\VerifyTypes.cs (2)
197? reader.GetString(definition.Name) 198: reader.GetString(definition.Namespace) + "." + reader.GetString(definition.Name);
Microsoft.DotNet.SignTool (2)
src\Configuration.cs (2)
643return qualifiedNameEquals(containerDef.Name, containerDef.Namespace); 651return qualifiedNameEquals(typeDef.Name, typeDef.Namespace);
Roslyn.Test.PdbUtilities (3)
EditAndContinue\EditAndContinueTestUtilities.cs (1)
96=> CheckNames(readers, typeHandles, (reader, handle) => reader.GetTypeDefinition((TypeDefinitionHandle)handle).Name, handle => handle, expectedNames);
Shared\DummyMetadataImport.cs (2)
102qualifiedName.Append(_metadataReaderOpt.GetString(typeDef.Name)); 109_metadataReaderOpt.GetString(typeDef.Name).Length;
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
274typeNameHandle = td.Name;
System.Reflection.MetadataLoadContext (7)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (1)
66return td.Name.Equals(name, reader) && td.Namespace.Equals(ns, reader);
System\Reflection\TypeLoading\General\Ecma\EcmaToStringHelpers.cs (1)
46string name = td.Name.GetString(reader);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.GetTypeCore.cs (1)
32if (!(td.Name.Equals(name, reader)))
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.BindingFlags.cs (2)
82if (filter == null || filter.Matches(nestedTypeDefinition.Name, reader)) 94if (nestedTypeDefinition.Name.Equals(utf8Name, reader))
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (2)
40protected sealed override string ComputeName() => TypeDefinition.Name.GetString(Reader).EscapeTypeNameIdentifier(); 138return td.Name.Equals(name, reader) && td.Namespace.Equals(ns, reader);