a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
263 B
C#
20 lines
263 B
C#
// CS0472: The result of the expression is always `null' of type `MyEnum?'
|
|
// Line: 17
|
|
// Compiler options: -warnaserror -warn:2
|
|
|
|
using System;
|
|
|
|
enum MyEnum
|
|
{
|
|
Value_1
|
|
}
|
|
|
|
class C
|
|
{
|
|
public static void Main ()
|
|
{
|
|
var d = MyEnum.Value_1;
|
|
var x = d & null;
|
|
}
|
|
}
|