8b9b85e7f5
Former-commit-id: 172c8e3c300b39d5785c7a3e8dfb08ebdbc1a99b
21 lines
234 B
C#
21 lines
234 B
C#
// CS0165: Use of unassigned local variable `v'
|
|
// Line: 19
|
|
|
|
using System;
|
|
|
|
class X
|
|
{
|
|
void Foo (out int value)
|
|
{
|
|
value = 1;
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
int v;
|
|
X x = null;
|
|
|
|
x?.Foo (out v);
|
|
Console.WriteLine (v);
|
|
}
|
|
} |