mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
899 B
34 lines
899 B
using System; |
|
using System.Runtime.CompilerServices; |
|
using System.Runtime.InteropServices; |
|
|
|
[CompilerGenerated] |
|
internal sealed class _003CPrivateImplementationDetails_003E |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Pack = 1, Size = 12)] |
|
private struct __StaticArrayInitTypeSize_003D12 |
|
{ |
|
} |
|
internal static readonly __StaticArrayInitTypeSize_003D12 _4636993D3E1DA4E9D6B8F87B79E8F7C6D018580D52661950EABC3845C5897A4D/* Not supported: data(01 00 00 00 02 00 00 00 03 00 00 00) */; |
|
} |
|
|
|
namespace ICSharpCode.Decompiler.Tests.TestCases.Ugly |
|
{ |
|
public class NoArrayInitializers |
|
{ |
|
public int[] LiteralArray() |
|
{ |
|
int[] array = new int[3]; |
|
RuntimeHelpers.InitializeArray(array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); |
|
return array; |
|
} |
|
|
|
public int[] VariableArray(int a, int b) |
|
{ |
|
int[] array = new int[2]; |
|
array[0] = a; |
|
array[1] = b; |
|
return array; |
|
} |
|
} |
|
}
|
|
|