mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
15 lines
186 B
C#
15 lines
186 B
C#
// cs0568.cs: Structs cannot contain explicit parameterless constructors
|
|
// Line: 5
|
|
struct A {
|
|
int a;
|
|
A () { a = 1; }
|
|
}
|
|
|
|
class D {
|
|
static void Main ()
|
|
{
|
|
A [] a = new A [10];
|
|
|
|
}
|
|
}
|