94 if ((
int)classSize != classSize)
99 return new TypeLayout((
int)classSize, packingSize);
164 typeAttributes |= TypeAttributes.Import |
TypeAttributes.WindowsRuntime;
167 typeAttributes |= TypeAttributes.Sealed |
TypeAttributes.WindowsRuntime;
190 return typeAttributes;
198 TypeDefTreatment.UnmangleWinRTName => name.SuffixRaw(
"<CLR>".Length),
199 TypeDefTreatment.PrefixWinRTName => name.WithWinRTPrefix(),
static string InvalidTypeSize