mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
* const.cs (Const.Error_ExpressionMustBeConstant): Better error message. * ecore.cs (Expression.ResolveAsConstant): Updated. * statement.cs (ResolveMeta): Updated. svn path=/trunk/mcs/; revision=60377
11 lines
122 B
C#
11 lines
122 B
C#
// cs0283.cs: The type `S' cannot be declared const
|
|
// Line: 10
|
|
|
|
struct S
|
|
{
|
|
}
|
|
|
|
class C
|
|
{
|
|
const S s = new S();
|
|
} |