Add TypeId attribute to structs.

This commit is contained in:
Kuba Ober 2019-09-18 13:38:38 -04:00
parent 95a7a8652a
commit d4d8152963
2 changed files with 164 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -72,6 +72,7 @@
}
topDecl = topDecl.AddMembers(CommonSnippetGen.MakeTypeIdConst(def.Id, _names));
topDecl = topDecl.WithAttributeLists(CommonSnippetGen.MakeTypeIdAttributeLists(def.Id));
if (def.UnionInfo != null)
{