BraceMatching\CSharpBraceMatcherTests.cs (9)
876await TestAsync(code, expected, TestOptions.Regular);
885await TestAsync(code, expected, TestOptions.Regular);
894await TestAsync(code, expected, TestOptions.Regular);
903await TestAsync(code, expected, TestOptions.Regular);
912await TestAsync(code, expected, TestOptions.Regular);
921await TestAsync(code, expected, TestOptions.Regular);
930await TestAsync(code, expected, TestOptions.Regular);
939await TestAsync(code, expected, TestOptions.Regular);
948await TestAsync(code, expected, TestOptions.Regular);
CodeActions\ExtractMethod\ExtractLocalFunctionTests.cs (15)
2069""", TestOptions.Regular7_1, index: CodeActionIndex);
2100""", TestOptions.Regular7_1, index: CodeActionIndex);
2131""", TestOptions.Regular7_1, index: CodeActionIndex);
3580""", CodeActionIndex, new TestParameters(options: Option(CSharpCodeStyleOptions.PreferStaticLocalFunction, CodeStyleOption2.TrueWithSilentEnforcement), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)));
3611""", CodeActionIndex, new TestParameters(options: Option(CSharpCodeStyleOptions.PreferStaticLocalFunction, CodeStyleOption2.TrueWithSilentEnforcement), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)));
3642""", CodeActionIndex, new TestParameters(options: Option(CSharpCodeStyleOptions.PreferStaticLocalFunction, CodeStyleOption2.TrueWithSilentEnforcement), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp8)));
3673""", CodeActionIndex, new TestParameters(options: Option(CSharpCodeStyleOptions.PreferStaticLocalFunction, CodeStyleOption2.TrueWithSilentEnforcement), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest)));
4127await TestExactActionSetOfferedAsync(code, new[] { FeaturesResources.Extract_method }, new TestParameters(parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)));
4143await TestExactActionSetOfferedAsync(code, new[] { FeaturesResources.Extract_method }, new TestParameters(parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp5)));
5410await TestAsync(code, expected, TestOptions.Script.WithLanguageVersion(LanguageVersion.CSharp9), index: 1);
5521await TestAsync(code, expected, TestOptions.Script.WithLanguageVersion(LanguageVersion.CSharp7), index: CodeActionIndex);
5570await TestAsync(code, expected, TestOptions.Script.WithLanguageVersion(LanguageVersion.CSharp7), index: CodeActionIndex);
5621await TestAsync(code, expected, TestOptions.Script.WithLanguageVersion(LanguageVersion.CSharp7), index: CodeActionIndex);
5658await TestAsync(code, expected, TestOptions.Script.WithLanguageVersion(LanguageVersion.CSharp7), index: CodeActionIndex);
5748await TestAsync(code, expected, TestOptions.Regular, index: CodeActionIndex);
CodeActions\IntroduceVariable\IntroduceVariableTests.cs (8)
5534await TestAsync(code, expected, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
5699await TestActionCountAsync(code, count: 2, parameters: new TestParameters(TestOptions.Regular));
5786await TestAsync(code, expected, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest));
5819await TestAsync(code, expected, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest));
5853await TestAsync(code, expected, index: 1, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest));
6138""", parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest));
6168""", parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), index: 0);
6197""", parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), index: 2);
QuickInfo\SemanticQuickInfoSourceTests.cs (14)
6878await TestWithOptionsAsync(TestOptions.Regular8,
6895await TestWithOptionsAsync(TestOptions.Regular8,
6913await TestWithOptionsAsync(TestOptions.Regular8,
6932await TestWithOptionsAsync(TestOptions.Regular8,
6952await TestWithOptionsAsync(TestOptions.Regular8,
6971await TestWithOptionsAsync(TestOptions.Regular8,
6991await TestWithOptionsAsync(TestOptions.Regular8,
7015await TestWithOptionsAsync(TestOptions.Regular8,
7039await TestWithOptionsAsync(TestOptions.Regular8,
7059await TestWithOptionsAsync(TestOptions.Regular8,
7079await TestWithOptionsAsync(TestOptions.Regular7_3,
7099await TestWithOptionsAsync(TestOptions.Regular8,
7137await TestWithOptionsAsync(TestOptions.Regular8,
7157await TestWithOptionsAsync(TestOptions.Regular8,
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (501)