|
|
|
@ -1,4 +1,6 @@
@@ -1,4 +1,6 @@
|
|
|
|
|
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty |
|
|
|
|
using System.Threading.Tasks; |
|
|
|
|
|
|
|
|
|
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty |
|
|
|
|
{ |
|
|
|
|
internal class ConstantsTests |
|
|
|
|
{ |
|
|
|
@ -24,6 +26,12 @@
@@ -24,6 +26,12 @@
|
|
|
|
|
Test((v | 0x123) == 0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void Enum_Flag_Check(TaskCreationOptions v) |
|
|
|
|
{ |
|
|
|
|
Test((v & TaskCreationOptions.AttachedToParent) != 0); |
|
|
|
|
Test((v & TaskCreationOptions.AttachedToParent) == 0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void Test(bool expr) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|