Browse Source

Test case for operator "is" on reference types with result used as a boolean.

pull/205/head
Pent Ploompuu 15 years ago
parent
commit
26d903efd5
  1. 6
      ICSharpCode.Decompiler/Tests/TypeAnalysisTests.cs

6
ICSharpCode.Decompiler/Tests/TypeAnalysisTests.cs

@ -114,4 +114,10 @@ public class TypeAnalysisTests @@ -114,4 +114,10 @@ public class TypeAnalysisTests
Console.WriteLine();
}
}
public void OperatorIs(object o)
{
Console.WriteLine(o is Random);
Console.WriteLine(!(o is Random));
}
}

Loading…
Cancel
Save