You've already forked linux-packaging-mono
Imported Upstream version 5.12.0.220
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
parent
8bd104cef2
commit
8fc30896db
19
mcs/tests/test-pattern-13.cs
Normal file
19
mcs/tests/test-pattern-13.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
class C : B
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class B
|
||||
{
|
||||
public static void Main ()
|
||||
{
|
||||
C c = new C ();
|
||||
|
||||
if (c is B b)
|
||||
{
|
||||
Console.WriteLine (b == null);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user