未验证 提交 edfa4f3e 编写于 作者: C CyrusNajmabadi 提交者: GitHub

Update src/Compilers/CSharp/Test/Semantic/Semantics/NullableReferenceTypesVsPatterns.cs

上级 b225c435
......@@ -50,7 +50,7 @@ class C
{
void Test(object? x)
{
if (x is object)
if (!(x is null))
{
x.ToString();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册