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