| CODENOTIFIER | HelpYou are not signed inSign in |
Project: IronRuby
Revision: 130
Author: sanxiyn
Date: 14 Aug 2008 15:51:03
Changes:Change the visibility of NodeFlags enum to workaround a Mono bug
Files:| ... | ...@@ -20,19 +20,19 @@ | |
| 20 | 20 | using System.Diagnostics; |
| 21 | 21 | |
| 22 | 22 | namespace System.Linq.Expressions { |
| 23 | // TODO: expose this to derived classes, so ctor doesn't take three booleans? | |
| 24 | [Flags] | |
| 25 | public enum NodeFlags : byte { | |
| 26 | None = 0, | |
| 27 | Reducible = 1, | |
| 28 | CanRead = 2, | |
| 29 | CanWrite = 4, | |
| 30 | } | |
| 31 | ||
| 23 | 32 | /// <summary> |
| 24 | 33 | /// Expression is the base type for all nodes in Expression Trees |
| 25 | 34 | /// </summary> |
| 26 | 35 | public abstract partial class Expression { |
| 27 | // TODO: expose this to derived classes, so ctor doesn't take three booleans? | |
| 28 | [Flags] | |
| 29 | private enum NodeFlags : byte { | |
| 30 | None = 0, | |
| 31 | Reducible = 1, | |
| 32 | CanRead = 2, | |
| 33 | CanWrite = 4, | |
| 34 | } | |
| 35 | ||
| 36 | 36 | // TODO: these two enums could be stored in one int32 |
| 37 | 37 | private readonly ExpressionType _nodeType; |
| 38 | 38 | private readonly NodeFlags _flags; |