mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
Anoob V.E (NOSIP) <[email protected]> Harilal P.R (NOSIP) <[email protected]> Fix cs0164.cs. * statement.cs (LabeledStatement.Resolve): Don't set 'referenced'. (LabeledStatement.AddReference): New. Set 'referenced'. (Goto.Resolve): Use it. svn path=/trunk/mcs/; revision=40239
11 lines
157 B
C#
11 lines
157 B
C#
// cs0164.cs: This label has not been referenced
|
|
// Line: 7
|
|
// Compiler options: -warnaserror -warn:2
|
|
|
|
class X {
|
|
static void Main () {
|
|
a:
|
|
return;
|
|
}
|
|
}
|