4 types derived from TypedefEntry
Microsoft.DotNet.ILAssembler (4)
CILParser.SemanticValues.Manifest.cs (4)
182
public sealed class Type :
TypedefEntry
192
public sealed class TypeBlob :
TypedefEntry
202
public sealed class Member :
TypedefEntry
212
public sealed class CustomAttribute :
TypedefEntry
14 references to TypedefEntry
Microsoft.DotNet.ILAssembler (14)
Actions\GrammarActions.Manifest.Typedefs.cs (14)
13
private readonly Dictionary<string,
TypedefEntry
> _typedefs = new();
47
_typedefs[type.Alias] = new
TypedefEntry
.TypeBlob(copy);
50
_typedefs[type.Alias] = new
TypedefEntry
.Type(ResolveClassName(type.Type));
53
_typedefs[member.Alias] = new
TypedefEntry
.Member(member.Member switch
65
new
TypedefEntry
.CustomAttribute(attribute.Constructor, attribute.Value, owner);
80
if (_typedefs.TryGetValue(alias, out
TypedefEntry
? entry) &&
81
entry is
TypedefEntry
.Type type)
91
if (!_typedefs.TryGetValue(alias, out
TypedefEntry
? entry))
96
if (entry is
TypedefEntry
.TypeBlob blob)
101
if (entry is
TypedefEntry
.Type type)
114
if (_typedefs.TryGetValue(alias, out
TypedefEntry
? entry) &&
115
entry is
TypedefEntry
.Member member)
129
if (_typedefs.TryGetValue(alias, out
TypedefEntry
? entry) &&
130
entry is
TypedefEntry
.CustomAttribute customAttribute)