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

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

public class Test
{
        public static string Foo {
                get {
                        string s;
                        if (0 == 1 && (s = "") == "a" || s == "")
                                return s;
                        return " ";
                }
        }
}