Files
codeql/csharp/ql/test/library-tests/controlflow/graph/ArrayCreation.cs
2018-08-02 17:53:23 +01:00

11 lines
183 B
C#

class ArrayCreation
{
int[] M1() => new int[0];
int[,] M2() => new int[0, 1];
int[] M3() => new int[] { 0, 1 };
int[,] M4() => new int[,] { { 0, 1 }, { 2, 3 } };
}