diff options
author | Marek Safar <marek.safar@gmail.com> | 2014-12-04 17:16:31 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2014-12-04 17:16:31 +0300 |
commit | a1aced8ab22c1dabd25542fe808459f332039ee9 (patch) | |
tree | edc815c58e3da7337a937cc454546af09b9530d7 /mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/EnumExtensions.cs | |
parent | 336755ca9edfbb0dd5c395f59a398c76449f7fdc (diff) |
Remove 4.0 profile
Diffstat (limited to 'mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/EnumExtensions.cs')
-rw-r--r-- | mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/EnumExtensions.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/EnumExtensions.cs b/mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/EnumExtensions.cs deleted file mode 100644 index f6314786173..00000000000 --- a/mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/EnumExtensions.cs +++ /dev/null @@ -1,20 +0,0 @@ -// -----------------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// -----------------------------------------------------------------------
-#if !CLR40
-using System;
-
-namespace System
-{
- public static class EnumExtensions
- {
- public static bool HasFlag(this Enum enumRef, Enum flag)
- {
- long value = Convert.ToInt64(enumRef);
- long flagVal = Convert.ToInt64(flag);
-
- return (value & flagVal) == flagVal;
- }
- }
-}
-#endif
|