You've already forked linux-packaging-mono
Imported Upstream version 4.2.1.36
Former-commit-id: fb75898888a02f4d3a74cf0a5b841681bc4c7fa8
This commit is contained in:
committed by
Jo Shields
parent
9668de7cb8
commit
dd547c45d4
21
mcs/errors/cs0165-53.cs
Normal file
21
mcs/errors/cs0165-53.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user