public unsafe void PinFixedMember(ref StructWithFixedSizeMembers m) { fixed(int *ptr = m.Integers) { UsePointer(ptr); } }
private unsafe static void Issue1499(StructWithFixedSizeMembers value, int index) { int num = value.Integers[index]; num.ToString(); }
private unsafe static int Issue2287(ref StructWithFixedSizeMembers value) { return(value.Integers[0] + value.Integers[1]); }
private unsafe static int Issue2305(StructWithFixedSizeMembers value, StringComparison s) { return(value.Integers[(int)s]); }