ea5caba957
Former-commit-id: f3008ca867fe7e4b7ae9b9a8844c0ad5798925a9
21 lines
239 B
C#
21 lines
239 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?[0].Foo (out v);
|
|
Console.WriteLine (v);
|
|
}
|
|
} |