a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
369 B
C#
24 lines
369 B
C#
// CS0165: Use of unassigned local variable `trial'
|
|
// Line: 18
|
|
|
|
using System;
|
|
|
|
class Test
|
|
{
|
|
public static void Main (string[] args)
|
|
{
|
|
bool trial;
|
|
string action = "add_trial";
|
|
|
|
switch (action) {
|
|
case "add_trial":
|
|
trial = true;
|
|
goto case "add_to_project";
|
|
case "add_to_project":
|
|
Console.WriteLine (trial);
|
|
break;
|
|
case "test":
|
|
break;
|
|
}
|
|
}
|
|
} |