22 references to CodeStyleOptions2
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.cs (1)
54
/// This diagnostic configuration is controlled by <see cref="
CodeStyleOptions2
.UnusedParameters"/> option.
Microsoft.CodeAnalysis.Workspaces (21)
CodeStyle\CodeStyleOptions.cs (13)
11
/// <inheritdoc cref="
CodeStyleOptions2
"/>
14
/// <inheritdoc cref="
CodeStyleOptions2
.QualifyFieldAccess"/>
16
CodeStyleOptions2
.QualifyFieldAccess.ToPublicOption();
18
/// <inheritdoc cref="
CodeStyleOptions2
.QualifyPropertyAccess"/>
20
CodeStyleOptions2
.QualifyPropertyAccess.ToPublicOption();
22
/// <inheritdoc cref="
CodeStyleOptions2
.QualifyMethodAccess"/>
24
CodeStyleOptions2
.QualifyMethodAccess.ToPublicOption();
26
/// <inheritdoc cref="
CodeStyleOptions2
.QualifyEventAccess"/>
28
CodeStyleOptions2
.QualifyEventAccess.ToPublicOption();
30
/// <inheritdoc cref="
CodeStyleOptions2
.PreferIntrinsicPredefinedTypeKeywordInDeclaration"/>
32
CodeStyleOptions2
.PreferIntrinsicPredefinedTypeKeywordInDeclaration.ToPublicOption();
34
/// <inheritdoc cref="
CodeStyleOptions2
.PreferIntrinsicPredefinedTypeKeywordInMemberAccess"/>
36
CodeStyleOptions2
.PreferIntrinsicPredefinedTypeKeywordInMemberAccess.ToPublicOption();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\SyntaxFormattingOptions.cs (1)
33
AccessibilityModifiersRequired = options.GetOptionValue(
CodeStyleOptions2
.AccessibilityModifiersRequired, language);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SimplifierOptions.cs (6)
34
QualifyFieldAccess = options.GetOption(
CodeStyleOptions2
.QualifyFieldAccess, language);
35
QualifyPropertyAccess = options.GetOption(
CodeStyleOptions2
.QualifyPropertyAccess, language);
36
QualifyMethodAccess = options.GetOption(
CodeStyleOptions2
.QualifyMethodAccess, language);
37
QualifyEventAccess = options.GetOption(
CodeStyleOptions2
.QualifyEventAccess, language);
38
PreferPredefinedTypeKeywordInMemberAccess = options.GetOption(
CodeStyleOptions2
.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, language);
39
PreferPredefinedTypeKeywordInDeclaration = options.GetOption(
CodeStyleOptions2
.PreferIntrinsicPredefinedTypeKeywordInDeclaration, language);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Formatting\DocumentFormattingOptionsProviders.cs (1)
18
FileHeaderTemplate = options.GetOption(
CodeStyleOptions2
.FileHeaderTemplate),