11 references to VerifyStructLayout
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (11)
Attributes\AttributeTests_StructLayout.cs (11)
711VerifyStructLayout(@"struct S {}", hasInstanceFields: false);
712VerifyStructLayout(@"struct S { static int f; }", hasInstanceFields: false);
713VerifyStructLayout(@"struct S { static int P { get; set; } }", hasInstanceFields: false);
714VerifyStructLayout(@"struct S { int P { set { } } }", hasInstanceFields: false);
715VerifyStructLayout(@"struct S { static int P { set { } } }", hasInstanceFields: false);
716VerifyStructLayout(@"delegate void D(); struct S { static event D D; }", hasInstanceFields: false);
717VerifyStructLayout(@"delegate void D(); struct S { event D D { add { } remove { } } }", hasInstanceFields: false);
718VerifyStructLayout(@"delegate void D(); struct S { static event D D { add { } remove { } } }", hasInstanceFields: false);
721VerifyStructLayout(@"struct S { int f; }", hasInstanceFields: true);
722VerifyStructLayout(@"struct S { int P { get; set; } }", hasInstanceFields: true);
723VerifyStructLayout(@"delegate void D(); struct S { event D D; }", hasInstanceFields: true);