ea5caba957
Former-commit-id: f3008ca867fe7e4b7ae9b9a8844c0ad5798925a9
11 lines
219 B
C#
11 lines
219 B
C#
// CS0176: Static member `string.Empty' cannot be accessed with an instance reference, qualify it with a type name instead
|
|
// Line: 9
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{
|
|
string y = null;
|
|
var x = y?.Empty;
|
|
}
|
|
} |