ea5caba957
Former-commit-id: f3008ca867fe7e4b7ae9b9a8844c0ad5798925a9
21 lines
244 B
C#
21 lines
244 B
C#
using System;
|
|
|
|
static class MainClass
|
|
{
|
|
public static void Main()
|
|
{
|
|
TestBug();
|
|
}
|
|
|
|
public static void TestBug()
|
|
{
|
|
int? value = null;
|
|
value?.Test();
|
|
}
|
|
|
|
public static void Test(this int value)
|
|
{
|
|
Console.WriteLine("Not null");
|
|
}
|
|
}
|