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