6 instantiations of Identifier
ILAssembler (6)
Win32ResourceSectionBuilder.cs (6)
107if (dataSize != 0 || type != new Identifier(0) || name != new Identifier(0)) 114if (type == new Identifier(DialogIncludeResourceType)) 120if (!languageDirectory.Children.TryAdd(new Identifier(language), new Node { Data = data })) 148return new Identifier(ReadWord()); 157return new Identifier(0, name.ToString());
8 references to Identifier
ILAssembler (8)
Win32ResourceSectionBuilder.cs (8)
56private readonly record struct Identifier(ushort Id, string? Name = null) : IComparable<Identifier> 58public int CompareTo(Identifier other) => Name is null 65internal readonly SortedDictionary<Identifier, Node> Children = new(); 89Identifier type = ReadIdentifier(reader, headerEnd - 16); 90Identifier name = ReadIdentifier(reader, headerEnd - 16); 132private static Node GetOrAdd(Node parent, Identifier key) 143private static Identifier ReadIdentifier(BinaryReader reader, int end) 179foreach ((Identifier identifier, Node child) in directory.Children)