6 instantiations of TypeName
ILAssembler (6)
Actions\GrammarActions.BuildImage.cs (3)
973
new
TypeName
(null, "System.Diagnostics.DebuggableAttribute"));
977
new
TypeName
(null, "DebuggingModes"));
999
new
TypeName
(null, "System.Runtime.CompilerServices.AssemblyAttributesGoHere"));
Actions\GrammarActions.Types.References.cs (1)
16
=>
new
(containingTypeName, name);
EntityRegistry.cs (1)
776
return GetOrCreateTypeReference(coreAsmRef, new
TypeName
(null, typeName));
gen\CILParser.cs (1)
5373
_localctx.Value = _localctx.CurrentName ?? new CILParser.
TypeName
(null, string.Empty);
30 references to TypeName
ILAssembler (30)
Actions\GrammarActions.Manifest.ExportedTypes.cs (7)
62
TypeName
name,
245
TypeName
typeName,
248
Stack<
TypeName
> containingTypes = new();
249
for (
TypeName
? containingType = typeName;
259
TypeName
containingType = containingTypes.Pop();
281
private static string GetExportedTypeDisplayName(
TypeName
typeName)
284
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)
160
global using TypeName = 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)
926
public TypeReferenceEntity GetOrCreateTypeReference(EntityBase resolutionContext,
TypeName
name)
952
for (
TypeName
? containingType = name; containingType is not null; containingType = containingType.ContainingTypeName)
gen\CILParser.cs (2)
5318
public CILParser.
TypeName
Value;
5319
public CILParser.
TypeName
CurrentName;