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"/> 16CodeStyleOptions2.QualifyFieldAccess.ToPublicOption(); 18/// <inheritdoc cref="CodeStyleOptions2.QualifyPropertyAccess"/> 20CodeStyleOptions2.QualifyPropertyAccess.ToPublicOption(); 22/// <inheritdoc cref="CodeStyleOptions2.QualifyMethodAccess"/> 24CodeStyleOptions2.QualifyMethodAccess.ToPublicOption(); 26/// <inheritdoc cref="CodeStyleOptions2.QualifyEventAccess"/> 28CodeStyleOptions2.QualifyEventAccess.ToPublicOption(); 30/// <inheritdoc cref="CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration"/> 32CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration.ToPublicOption(); 34/// <inheritdoc cref="CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess"/> 36CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess.ToPublicOption();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\SyntaxFormattingOptions.cs (1)
33AccessibilityModifiersRequired = options.GetOptionValue(CodeStyleOptions2.AccessibilityModifiersRequired, language);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SimplifierOptions.cs (6)
34QualifyFieldAccess = options.GetOption(CodeStyleOptions2.QualifyFieldAccess, language); 35QualifyPropertyAccess = options.GetOption(CodeStyleOptions2.QualifyPropertyAccess, language); 36QualifyMethodAccess = options.GetOption(CodeStyleOptions2.QualifyMethodAccess, language); 37QualifyEventAccess = options.GetOption(CodeStyleOptions2.QualifyEventAccess, language); 38PreferPredefinedTypeKeywordInMemberAccess = options.GetOption(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, language); 39PreferPredefinedTypeKeywordInDeclaration = options.GetOption(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration, language);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Formatting\DocumentFormattingOptionsProviders.cs (1)
18FileHeaderTemplate = options.GetOption(CodeStyleOptions2.FileHeaderTemplate),