339 references to CSharpParseOptions
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (90)
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (27)
2728""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
2762""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp9));
2783""", new TestParameters(options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion)));
3002""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
3019""", options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion));
3114""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
3137""", options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion));
3251""", optionName: optionName, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
3288""", optionName: optionName, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp9));
5466""", optionName, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
7769""", PreferDiscard, new CSharpParseOptions(LanguageVersion.CSharp9));
8229""", parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8245""", parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8269""", optionName: nameof(PreferDiscard), parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8293""", optionName: nameof(PreferDiscard), parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8313""", optionName: nameof(PreferDiscard), parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8464""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8487""", PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion));
8878""", options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3));
8916""", options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
9118""", new TestParameters(options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8)));
9139""", new TestParameters(options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion)));
9156""", new TestParameters(options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8)));
9182""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
9250""", options: PreferDiscard, parseOptions: new CSharpParseOptions(languageVersion));
9268""", new TestParameters(options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion)));
9300""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (18)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (19)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (105)
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (27)
2728""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
2762""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp9));
2783""", new TestParameters(options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion)));
3002""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
3019""", options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion));
3114""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
3137""", options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion));
3251""", optionName: optionName, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
3288""", optionName: optionName, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp9));
5466""", optionName, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
7769""", PreferDiscard, new CSharpParseOptions(LanguageVersion.CSharp9));
8229""", parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8245""", parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8269""", optionName: nameof(PreferDiscard), parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8293""", optionName: nameof(PreferDiscard), parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8313""", optionName: nameof(PreferDiscard), parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8464""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
8487""", PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion));
8878""", options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3));
8916""", options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
9118""", new TestParameters(options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8)));
9139""", new TestParameters(options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion)));
9156""", new TestParameters(options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8)));
9182""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
9250""", options: PreferDiscard, parseOptions: new CSharpParseOptions(languageVersion));
9268""", new TestParameters(options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(languageVersion)));
9300""", options: PreferDiscard, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp8));
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (21)
Semantics\ScriptSemanticsTests.cs (11)
1179var compilationUnit = CSharp.SyntaxFactory.ParseCompilationUnit(code, options: new CSharp.CSharpParseOptions(kind: SourceCodeKind.Script));
1207syntaxTree = SyntaxFactory.ParseSyntaxTree(code, options: new CSharp.CSharpParseOptions(kind: SourceCodeKind.Script));
1216syntaxTree = SyntaxFactory.ParseSyntaxTree(code, options: new CSharp.CSharpParseOptions(kind: SourceCodeKind.Script));
1225syntaxTree = SyntaxFactory.ParseSyntaxTree(code, options: new CSharp.CSharpParseOptions(kind: SourceCodeKind.Script));
1237syntaxTree = SyntaxFactory.ParseSyntaxTree(code, options: new CSharp.CSharpParseOptions(kind: SourceCodeKind.Script));
1249syntaxTree = SyntaxFactory.ParseSyntaxTree(code, options: new CSharp.CSharpParseOptions(kind: SourceCodeKind.Script));
1267var compilationUnit = CSharp.SyntaxFactory.ParseCompilationUnit("\nSystem.Console.WriteLine(1);", options: new CSharp.CSharpParseOptions(kind: SourceCodeKind.Script));
1269var syntaxTree2 = SyntaxFactory.ParseSyntaxTree("System.Console.WriteLine(2);", options: new CSharp.CSharpParseOptions(kind: SourceCodeKind.Script));
1306var compilationUnit = CSharp.SyntaxFactory.ParseCompilationUnit(code, options: new CSharp.CSharpParseOptions(kind: SourceCodeKind.Script));
1336syntaxTree = SyntaxFactory.ParseSyntaxTree(code, options: new CSharp.CSharpParseOptions(kind: SourceCodeKind.Script));
1351syntaxTree = SyntaxFactory.ParseSyntaxTree(code, options: new CSharp.CSharpParseOptions(kind: SourceCodeKind.Script));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (41)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
Microsoft.CodeAnalysis.Features.UnitTests (2)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (11)
Microsoft.DotNet.GenFacades (2)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Gen.Metrics.Unit.Tests (1)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
StackDepthTest (1)