6 instantiations of TypeName
Microsoft.DotNet.ILAssembler (6)
Actions\GrammarActions.BuildImage.cs (3)
982
new
TypeName
(null, "System.Diagnostics.DebuggableAttribute"));
986
new
TypeName
(null, "DebuggingModes"));
1008
new
TypeName
(null, "System.Runtime.CompilerServices.AssemblyAttributesGoHere"));
Actions\GrammarActions.Types.References.cs (1)
16
=>
new
(containingTypeName, name);
EntityRegistry.cs (1)
798
return GetOrCreateTypeReference(coreAsmRef, new
TypeName
(null, typeName));
gen\CILParser.cs (1)
5427
_localctx.Value = _localctx.CurrentName ?? new CILParser.
TypeName
(null, string.Empty);
30 references to TypeName
Microsoft.DotNet.ILAssembler (30)
Actions\GrammarActions.Manifest.ExportedTypes.cs (7)
62
TypeName
name,
259
TypeName
typeName,
262
Stack<
TypeName
> containingTypes = new();
263
for (
TypeName
? containingType = typeName;
273
TypeName
containingType = containingTypes.Pop();
295
private static string GetExportedTypeDisplayName(
TypeName
typeName)
298
for (
TypeName
? current = typeName;
Actions\GrammarActions.Types.References.cs (11)
15
internal
TypeName
AddSlashedNamePart(
TypeName
? containingTypeName, string name)
18
internal ClassNameValue CreateUnqualifiedClassName(
TypeName
name)
21
internal ClassNameValue CreateAssemblyQualifiedClassName(string assemblyName,
TypeName
name)
27
TypeName
name)
30
internal ClassNameValue CreateTokenQualifiedClassName(int scopeToken,
TypeName
name)
33
internal ClassNameValue CreatePointerQualifiedClassName(
TypeName
name)
112
private EntityRegistry.TypeEntity ResolveUnqualifiedClassName(
TypeName
typeName)
130
Stack<
TypeName
> containingTypes = new();
131
for (
TypeName
? containingType = typeName; containingType is not null; containingType = containingType.ContainingTypeName)
139
TypeName
containingType = containingTypes.Pop();
CILParser.SemanticValueAliases.cs (1)
5
global using TypeName = Microsoft.DotNet.ILAssembler.CILParser.
TypeName
;
CILParser.SemanticValues.Manifest.cs (1)
99
TypeName
Name,
CILParser.SemanticValues.Signatures.cs (6)
11
public sealed record TypeName(
TypeName
? ContainingTypeName, string DottedName);
112
public sealed record UnqualifiedClassNameValue(
TypeName
Name) : ClassNameValue;
116
TypeName
Name) : ClassNameValue;
121
TypeName
Name) : ClassNameValue;
125
TypeName
Name) : ClassNameValue;
127
public sealed record PointerQualifiedClassNameValue(
TypeName
Name) : ClassNameValue;
EntityRegistry.cs (2)
954
public TypeReferenceEntity GetOrCreateTypeReference(EntityBase resolutionContext,
TypeName
name)
980
for (
TypeName
? containingType = name; containingType is not null; containingType = containingType.ContainingTypeName)
gen\CILParser.cs (2)
5372
public CILParser.
TypeName
Value;
5373
public CILParser.
TypeName
CurrentName;