12 references to OptionsCollection
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (6)
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedParametersTests.cs (3)
121var unusedValueAssignmentOptionSuppressed = Option(CSharpCodeStyleOptions.UnusedValueAssignment, 1478var options = Option(CodeStyleOptions2.UnusedParameters, 1509var options = Option(CodeStyleOptions2.UnusedParameters,
src\Analyzers\CSharp\Tests\UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzerTests.cs (1)
656var options = Option(CSharpCodeStyleOptions.PreferPatternMatchingOverIsWithCastCheck, warningOption);
src\Analyzers\CSharp\Tests\ValidateFormatString\ValidateFormatStringTests.cs (2)
636var options = Option(FormatStringValidationOptionStorage.ReportInvalidPlaceholdersInStringDotFormatCalls, true); 658var options = Option(FormatStringValidationOptionStorage.ReportInvalidPlaceholdersInStringDotFormatCalls, false);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (6)
Formatting\FormattingTestBase.cs (2)
27OptionsCollection? changedOptionSet = null, 38OptionsCollection? changedOptions = null,
OptionsCollection.cs (1)
66public void Add(OptionsCollection? options)
Workspaces\TestWorkspace`1.cs (3)
135internal void SetAnalyzerFallbackOptions(OptionsCollection? options) 151internal void SetAnalyzerFallbackAndGlobalOptions(OptionsCollection? options) 158var configOptions = new OptionsCollection(options.LanguageName);