2 instantiations of TypeLayout
Microsoft.CodeAnalysis (2)
MetadataReader\PEModule.cs (1)
971return new TypeLayout(kind, size, (byte)packingSize);
Symbols\Attributes\CommonAttributeData.cs (1)
553arguments.GetOrCreateData<TTypeWellKnownAttributeData>().SetStructLayout(new TypeLayout(kind, size ?? 0, (byte)(alignment ?? 0)), charSet);
12 references to TypeLayout
Microsoft.CodeAnalysis (12)
Emit\NoPia\CommonEmbeddedType.cs (1)
79protected abstract TypeLayout? GetTypeLayoutIfStruct();
MetadataReader\PEModule.cs (4)
927internal TypeLayout GetTypeLayout(TypeDefinitionHandle typeDef) 948return default(TypeLayout); 952return default(TypeLayout); 975return default(TypeLayout);
Symbols\Attributes\CommonTypeWellKnownAttributeData.cs (3)
171private TypeLayout _layout; 175public void SetStructLayout(TypeLayout layout, CharSet charSet) 194public TypeLayout Layout
Symbols\TypeLayout.cs (4)
15internal readonly struct TypeLayout : IEquatable<TypeLayout> 61public bool Equals(TypeLayout other) 70return obj is TypeLayout && Equals((TypeLayout)obj);