Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0165-9.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 04ca61ec70e6a0ea901cf9891d0bad108905b09f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// cs0165.cs: Use of unassigned local variable `s'
// Line: 16

using System;

public class Test
{
        public int i;

        public void Hoge ()
        {
                if (i > 0)
                        goto Fuga;
                string s = "defined later";
        Fuga:
                Console.WriteLine (s);
        }
}