30 references to WithParseOptions
Analyzer.Utilities.UnitTests (1)
FlowAnalysis\Analysis\PropertySetAnalysis\PropertySetAnalysisTests.cs (1)
1356project = project.WithParseOptions(parseOptions);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
323.WithParseOptions(ParseOptions);
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
323.WithParseOptions(ParseOptions);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (1)
455AddTestProject("proj", LanguageNames.CSharp).WithParseOptions(experimental).
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
SignatureHelp\AbstractSignatureHelpProviderTests.cs (2)
97document1 = document1.Project.WithParseOptions(parseOptions).GetDocument(document1.Id); 108document2 = document2.Project.WithParseOptions(parseOptions).GetDocument(document2.Id);
Microsoft.CodeAnalysis.Features (1)
SemanticSearch\SemanticSearchWorkspace.cs (1)
48.WithParseOptions(config.ParseOptions)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
469.WithParseOptions(ParseOptions)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspace.SolutionCreator.cs (1)
354project = project.WithParseOptions(await _assetProvider.GetAssetAsync<ParseOptions>(
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Workspace.cs (1)
2135var newProjectForAssert = oldProject.WithParseOptions(options);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Formatting\FormattingTestBase.cs (1)
46project = project.WithParseOptions(parseOptions);
Microsoft.CodeAnalysis.Workspaces.UnitTests (10)
CodeCleanup\RemoveUnnecessaryLineContinuationTests.cs (1)
1344project = project.WithParseOptions(parseOptions);
SolutionTests\SolutionTests.cs (4)
1793document = document.Project.WithParseOptions(new CSharpParseOptions(languageVersion: CS.LanguageVersion.CSharp1)).GetRequiredDocument(documentId); 1840document = document.Project.WithParseOptions(newOptions).GetRequiredDocument(documentId); 5851.WithParseOptions(CSharpParseOptions.Default.WithPreprocessorSymbols("DEBUG")) 5861.WithParseOptions(CSharpParseOptions.Default.WithPreprocessorSymbols("RELEASE"))
SolutionTests\SolutionWithSourceGeneratorTests.cs (2)
511project = project.WithParseOptions(project.ParseOptions.WithDocumentationMode(DocumentationMode.Diagnose)); 1049.WithParseOptions(CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp7))
SolutionTests\TryApplyChangesTests.cs (3)
124project.WithParseOptions( 140project.WithParseOptions(project.ParseOptions!.WithFeatures([KeyValuePair.Create("Feature", "ExpectedValue")])).Solution)); 155project.WithParseOptions(project.ParseOptions!.WithFeatures([KeyValuePair.Create("Feature", "WrongThing")])).Solution));
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
82.WithParseOptions(new CSharpParseOptions(langVersion).WithPreprocessorSymbols(preprocessorSymbols))
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
82.WithParseOptions(new CSharpParseOptions(langVersion).WithPreprocessorSymbols(preprocessorSymbols))
Microsoft.Gen.Logging.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
82.WithParseOptions(new CSharpParseOptions(langVersion).WithPreprocessorSymbols(preprocessorSymbols))
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
82.WithParseOptions(new CSharpParseOptions(langVersion).WithPreprocessorSymbols(preprocessorSymbols))
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
82.WithParseOptions(new CSharpParseOptions(langVersion).WithPreprocessorSymbols(preprocessorSymbols))
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
82.WithParseOptions(new CSharpParseOptions(langVersion).WithPreprocessorSymbols(preprocessorSymbols))
Microsoft.ML.CodeAnalyzer.Tests (1)
Code\BestFriendTest.cs (1)
69projectA = projectA.WithParseOptions(((CSharpParseOptions)projectA.ParseOptions).WithLanguageVersion(LanguageVersion.CSharp7_2));
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpEditorFactory.cs (1)
31return project.WithParseOptions(parseOptions.WithLanguageVersion(langVersion));
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
LanguageService\VisualBasicEditorFactory.vb (1)
44Return project.WithParseOptions(parseOptions.WithLanguageVersion(langVersion))