5 instantiations of TypeName
ILAssembler (5)
Actions\GrammarActions.BuildImage.cs (2)
772
new
TypeName
(null, "System.Diagnostics.DebuggableAttribute"));
777
new
TypeName
(null, "DebuggingModes"));
Actions\GrammarActions.Types.References.cs (1)
16
=>
new
(containingTypeName, name);
EntityRegistry.cs (1)
771
return GetOrCreateTypeReference(coreAsmRef, new
TypeName
(null, typeName));
gen\CILParser.cs (1)
5365
_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);
104
public sealed record UnqualifiedClassNameValue(
TypeName
Name) : ClassNameValue;
108
TypeName
Name) : ClassNameValue;
113
TypeName
Name) : ClassNameValue;
117
TypeName
Name) : ClassNameValue;
119
public sealed record PointerQualifiedClassNameValue(
TypeName
Name) : ClassNameValue;
EntityRegistry.cs (2)
893
public TypeReferenceEntity GetOrCreateTypeReference(EntityBase resolutionContext,
TypeName
name)
919
for (
TypeName
? containingType = name; containingType is not null; containingType = containingType.ContainingTypeName)
gen\CILParser.cs (2)
5310
public CILParser.
TypeName
Value;
5311
public CILParser.
TypeName
CurrentName;