a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
222 B
C#
16 lines
222 B
C#
// CS0183: The given expression is always of the provided (`System.Enum') type
|
|
// Line: 13
|
|
// Compiler options: -warnaserror
|
|
|
|
using System;
|
|
|
|
enum E { Item };
|
|
|
|
class C
|
|
{
|
|
static bool Check (E e)
|
|
{
|
|
return e is Enum;
|
|
}
|
|
}
|