From 1672f0fd2f343fe5ed7f449f2923b4f1a3011491 Mon Sep 17 00:00:00 2001 From: AlekseyTs Date: Tue, 19 Apr 2016 17:03:07 -0700 Subject: [PATCH] Revert "Add IOperation feature flag to CSharp desktop TestOptions" This reverts commit ca967cfe3f7ed28ced9e3c280e057e94cccfcdeb. --- .../Test/Utilities/CSharp.Desktop/TestOptions.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Compilers/Test/Utilities/CSharp.Desktop/TestOptions.cs b/src/Compilers/Test/Utilities/CSharp.Desktop/TestOptions.cs index 65c80b4571b..599bf498b62 100644 --- a/src/Compilers/Test/Utilities/CSharp.Desktop/TestOptions.cs +++ b/src/Compilers/Test/Utilities/CSharp.Desktop/TestOptions.cs @@ -14,8 +14,7 @@ public static class TestOptions public static readonly CSharpParseOptions Regular = new CSharpParseOptions(kind: SourceCodeKind.Regular, documentationMode: DocumentationMode.None); public static readonly CSharpParseOptions RegularWithDocumentationComments = new CSharpParseOptions(kind: SourceCodeKind.Regular, documentationMode: DocumentationMode.Diagnose); - public static readonly CSharpParseOptions RegularWithIOperationFeature = Regular.WithIOperationsFeature(); - + private static readonly SmallDictionary s_experimentalFeatures = new SmallDictionary { { "localFunctions", "true" }, { "refLocalsAndReturns", "true" } }; public static readonly CSharpParseOptions ExperimentalParseOptions = new CSharpParseOptions(kind: SourceCodeKind.Regular, documentationMode: DocumentationMode.None, languageVersion: LanguageVersion.CSharp6).WithFeatures(s_experimentalFeatures); @@ -60,10 +59,5 @@ public static CSharpParseOptions WithStrictFeature(this CSharpParseOptions optio { return options.WithFeature("strict", "true"); } - - public static CSharpParseOptions WithIOperationsFeature(this CSharpParseOptions options) - { - return options.WithFeature("IOperation", "true"); - } } } -- GitLab