Update to the latest dlr
[mono.git] / mcs / class / dlr / Runtime / Microsoft.Scripting.Core / Ast / SwitchExpression.cs
index cff432277713e16871a18bf0c28ab6fac01580ee..2bc10185b4364d232fc0430d41fb3df2bb66fdd0 100644 (file)
@@ -20,11 +20,7 @@ using System.Diagnostics;
 using System.Dynamic.Utils;
 using System.Reflection;
 
-#if SILVERLIGHT
-using System.Core;
-#endif
-
-#if CLR2
+#if !FEATURE_CORE_DLR
 namespace Microsoft.Scripting.Ast {
 #else
 namespace System.Linq.Expressions {
@@ -32,9 +28,7 @@ namespace System.Linq.Expressions {
     /// <summary>
     /// Represents a control expression that handles multiple selections by passing control to a <see cref="SwitchCase"/>.
     /// </summary>
-#if !SILVERLIGHT
     [DebuggerTypeProxy(typeof(Expression.SwitchExpressionProxy))]
-#endif
     public sealed class SwitchExpression : Expression {
         private readonly Type _type;
         private readonly Expression _switchValue;