536cd135cc
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
13 lines
332 B
C#
13 lines
332 B
C#
// CS0136: A local variable named `s' cannot be declared in this scope because it would give a different meaning to `s', which is already used in a `parent or current' scope to denote something else
|
|
// Line: 10
|
|
|
|
internal class Program
|
|
{
|
|
public static void Main ()
|
|
{
|
|
object o = null;
|
|
if (o is string s) {
|
|
int s = 1;
|
|
}
|
|
}
|
|
} |