39 references to MetadataTypeName
Microsoft.CodeAnalysis (29)
MetadataReader\MetadataDecoder.cs (12)
516MetadataTypeName mdName = @namespace.Length > 0 517? MetadataTypeName.FromNamespaceAndTypeName(@namespace, name) 518: MetadataTypeName.FromTypeName(name); 543ref MetadataTypeName fullName, 635MetadataTypeName mdName; 664mdName = MetadataTypeName.FromTypeName(name); 671? MetadataTypeName.FromNamespaceAndTypeName(namespaceName, name) 672: MetadataTypeName.FromTypeName(name); 696MetadataTypeName localTypeName = MetadataTypeName.FromNamespaceAndTypeName(mdName.NamespaceName, mdName.TypeName, forcedArity: 0); 2135protected abstract TypeSymbol SubstituteNoPiaLocalType(TypeDefinitionHandle typeDef, ref MetadataTypeName name, string interfaceGuid, string scope, string identifier); 2137protected abstract TypeSymbol LookupTopLevelTypeDefSymbol(string moduleName, ref MetadataTypeName emittedName, out bool isNoPiaLocalType);
MetadataReader\MetadataTypeName.cs (6)
92public static MetadataTypeName FromFullName(string fullName, bool useCLSCompliantNameArityEncoding = false, int forcedArity = -1) 101MetadataTypeName name; 119public static MetadataTypeName FromNamespaceAndTypeName( 133MetadataTypeName name; 151public static MetadataTypeName FromTypeName(string typeName, bool useCLSCompliantNameArityEncoding = false, int forcedArity = -1) 161MetadataTypeName name;
MetadataReader\MetadataTypeName.Key.cs (1)
28internal Key(in MetadataTypeName mdTypeName)
MetadataReader\TypeNameDecoder.cs (7)
33protected abstract TypeSymbol LookupTopLevelTypeDefSymbol(ref MetadataTypeName emittedName, out bool isNoPiaLocalType); 38protected abstract TypeSymbol LookupTopLevelTypeDefSymbol(int referencedAssemblyIndex, ref MetadataTypeName emittedName); 39protected abstract TypeSymbol LookupNestedTypeDefSymbol(TypeSymbol container, ref MetadataTypeName emittedName); 158var mdName = MetadataTypeName.FromFullName(fullName.TopLevelType); 174mdName = MetadataTypeName.FromTypeName(fullName.NestedTypes[i]); 238private TypeSymbol LookupTopLevelTypeDefSymbol(ref MetadataTypeName emittedName, int referencedAssemblyIndex, out bool isNoPiaLocalType)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (3)
83var metadataName = fullyQualifiedMetadataName.Contains('+') 84? MetadataTypeName.FromFullName(fullyQualifiedMetadataName.Split(s_nestedTypeNameSeparators).Last()) 85: MetadataTypeName.FromFullName(fullyQualifiedMetadataName);
Microsoft.CodeAnalysis.CSharp (4)
Emitter\Model\PEAssemblyBuilder.cs (1)
576var attributeMetadataName = MetadataTypeName.FromFullName(description.FullName);
Symbols\AssemblySymbol.cs (1)
348var emittedName = MetadataTypeName.FromFullName(fullyQualifiedMetadataName);
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
209var metadataName = MetadataTypeName.FromNamespaceAndTypeName("System.Runtime.CompilerServices", typeName, useCLSCompliantNameArityEncoding: true, forcedArity: 0);
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
768var name = MetadataTypeName.FromFullName(forwarder.Key);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_Security.cs (1)
50var emittedName = MetadataTypeName.FromNamespaceAndTypeName("System.Security.Permissions", "HostProtectionAttribute");
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\Retargeting\NoPia.cs (4)
323var fullName_I1 = MetadataTypeName.FromFullName("I1"); 324var fullName_I2 = MetadataTypeName.FromFullName("NS1.I2"); 325var fullName_S1 = MetadataTypeName.FromFullName("S1"); 326var fullName_S2 = MetadataTypeName.FromFullName("NS1.S2");
Microsoft.CodeAnalysis.Test.Utilities (1)
CommonTestBase.cs (1)
538var name = MetadataTypeName.FromFullName(type.GetMetadataName());