blob: c9e20dbeb59b845ea6d0f39d24ac3aac5325509a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Test
{
using System;
struct AA
{
private double[] m_dummyField1;
private double[] m_dummyField2;
private double[] m_dummyField3;
static int m_nStaticFld;
public int Method1() { return 0; }
static void Static1(ref AA[] param4, int param5)
{
param4[param4[param5].Method1()].Method1();
}
static int Main()
{
try
{
AA[] aa = null;
Static1(ref aa, m_nStaticFld);
}
catch (Exception) { }
return 100;
}
}
}
|