966bba02bb
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
19 lines
217 B
C#
19 lines
217 B
C#
using System;
|
|
|
|
class X
|
|
{
|
|
public int Field { get; set; }
|
|
|
|
public int F3 { get; set; }
|
|
}
|
|
|
|
class App
|
|
{
|
|
static void Main()
|
|
{
|
|
string s = null;
|
|
var x = new X {
|
|
Field = s?.ToString () == null ? 1 : 2
|
|
}.F3;
|
|
}
|
|
} |