43 references to GetOption
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpCodeFixOptionsProvider.cs (1)
84
=> _options.
GetOption
(option, _languageServices.Language, defaultValue);
Microsoft.CodeAnalysis.Features (1)
AnalyzerOptionsProvider.cs (1)
105
=> _options.
GetOption
(option, _language, defaultValue);
Microsoft.CodeAnalysis.Workspaces (41)
AbstractAddImportsService.cs (1)
42
PlaceSystemNamespaceFirst = configOptions.
GetOption
(GenerationOptions.PlaceSystemNamespaceFirst, Language, fallbackOptions.PlaceSystemNamespaceFirst),
CodeFixOptionsProvider.cs (1)
62
=> _options.
GetOption
(option, _languageServices.Language, defaultValue);
CodeGenerationOptions.cs (1)
39
NamingStyle = options.
GetOption
(NamingStyleOptions.NamingPreferences, language, fallbackOptions.NamingStyle);
IdeCodeStyleOptions.cs (24)
67
PreferObjectInitializer = options.
GetOption
(CodeStyleOptions2.PreferObjectInitializer, language, fallbackOptions.PreferObjectInitializer);
68
PreferCollectionInitializer = options.
GetOption
(CodeStyleOptions2.PreferCollectionInitializer, language, fallbackOptions.PreferCollectionInitializer);
69
PreferSimplifiedBooleanExpressions = options.
GetOption
(CodeStyleOptions2.PreferSimplifiedBooleanExpressions, language, fallbackOptions.PreferSimplifiedBooleanExpressions);
71
PreferCoalesceExpression = options.
GetOption
(CodeStyleOptions2.PreferCoalesceExpression, language, fallbackOptions.PreferCoalesceExpression);
72
PreferNullPropagation = options.
GetOption
(CodeStyleOptions2.PreferNullPropagation, language, fallbackOptions.PreferNullPropagation);
73
PreferExplicitTupleNames = options.
GetOption
(CodeStyleOptions2.PreferExplicitTupleNames, language, fallbackOptions.PreferExplicitTupleNames);
74
PreferAutoProperties = options.
GetOption
(CodeStyleOptions2.PreferAutoProperties, language, fallbackOptions.PreferAutoProperties);
75
PreferInferredTupleNames = options.
GetOption
(CodeStyleOptions2.PreferInferredTupleNames, language, fallbackOptions.PreferInferredTupleNames);
76
PreferInferredAnonymousTypeMemberNames = options.
GetOption
(CodeStyleOptions2.PreferInferredAnonymousTypeMemberNames, language, fallbackOptions.PreferInferredAnonymousTypeMemberNames);
77
PreferIsNullCheckOverReferenceEqualityMethod = options.
GetOption
(CodeStyleOptions2.PreferIsNullCheckOverReferenceEqualityMethod, language, fallbackOptions.PreferIsNullCheckOverReferenceEqualityMethod);
78
PreferConditionalExpressionOverAssignment = options.
GetOption
(CodeStyleOptions2.PreferConditionalExpressionOverAssignment, language, fallbackOptions.PreferConditionalExpressionOverAssignment);
79
PreferConditionalExpressionOverReturn = options.
GetOption
(CodeStyleOptions2.PreferConditionalExpressionOverReturn, language, fallbackOptions.PreferConditionalExpressionOverReturn);
80
PreferCompoundAssignment = options.
GetOption
(CodeStyleOptions2.PreferCompoundAssignment, language, fallbackOptions.PreferCompoundAssignment);
81
PreferSimplifiedInterpolation = options.
GetOption
(CodeStyleOptions2.PreferSimplifiedInterpolation, language, fallbackOptions.PreferSimplifiedInterpolation);
82
UnusedParameters = options.
GetOption
(CodeStyleOptions2.UnusedParameters, language, fallbackOptions.UnusedParameters);
83
AccessibilityModifiersRequired = options.
GetOption
(CodeStyleOptions2.AccessibilityModifiersRequired, language, fallbackOptions.AccessibilityModifiersRequired);
84
PreferReadonly = options.
GetOption
(CodeStyleOptions2.PreferReadonly, language, fallbackOptions.PreferReadonly);
85
ArithmeticBinaryParentheses = options.
GetOption
(CodeStyleOptions2.ArithmeticBinaryParentheses, language, fallbackOptions.ArithmeticBinaryParentheses);
86
OtherBinaryParentheses = options.
GetOption
(CodeStyleOptions2.OtherBinaryParentheses, language, fallbackOptions.OtherBinaryParentheses);
87
RelationalBinaryParentheses = options.
GetOption
(CodeStyleOptions2.RelationalBinaryParentheses, language, fallbackOptions.RelationalBinaryParentheses);
88
OtherParentheses = options.
GetOption
(CodeStyleOptions2.OtherParentheses, language, fallbackOptions.OtherParentheses);
90
PreferNamespaceAndFolderMatchStructure = options.
GetOption
(CodeStyleOptions2.PreferNamespaceAndFolderMatchStructure, language, fallbackOptions.PreferNamespaceAndFolderMatchStructure);
91
AllowMultipleBlankLines = options.
GetOption
(CodeStyleOptions2.AllowMultipleBlankLines, language, fallbackOptions.AllowMultipleBlankLines);
92
AllowStatementImmediatelyAfterBlock = options.
GetOption
(CodeStyleOptions2.AllowStatementImmediatelyAfterBlock, language, fallbackOptions.AllowStatementImmediatelyAfterBlock);
LineFormattingOptions.cs (4)
40
UseTabs = options.
GetOption
(FormattingOptions2.UseTabs, language, fallbackOptions.UseTabs),
41
TabSize = options.
GetOption
(FormattingOptions2.TabSize, language, fallbackOptions.TabSize),
42
IndentationSize = options.
GetOption
(FormattingOptions2.IndentationSize, language, fallbackOptions.IndentationSize),
43
NewLine = options.
GetOption
(FormattingOptions2.NewLine, language, fallbackOptions.NewLine),
OrganizeImports\OrganizeImportsOptions.cs (3)
42
PlaceSystemNamespaceFirst = options.
GetOption
(GenerationOptions.PlaceSystemNamespaceFirst, language, fallbackOptions.Value.PlaceSystemNamespaceFirst),
43
SeparateImportDirectiveGroups = options.
GetOption
(GenerationOptions.SeparateImportDirectiveGroups, language, fallbackOptions.Value.SeparateImportDirectiveGroups),
44
NewLine = options.
GetOption
(FormattingOptions2.NewLine, language, fallbackOptions.Value.NewLine)
SimplifierOptions.cs (6)
40
QualifyFieldAccess = options.
GetOption
(CodeStyleOptions2.QualifyFieldAccess, language, fallbackOptions.QualifyFieldAccess);
41
QualifyPropertyAccess = options.
GetOption
(CodeStyleOptions2.QualifyPropertyAccess, language, fallbackOptions.QualifyPropertyAccess);
42
QualifyMethodAccess = options.
GetOption
(CodeStyleOptions2.QualifyMethodAccess, language, fallbackOptions.QualifyMethodAccess);
43
QualifyEventAccess = options.
GetOption
(CodeStyleOptions2.QualifyEventAccess, language, fallbackOptions.QualifyEventAccess);
44
PreferPredefinedTypeKeywordInMemberAccess = options.
GetOption
(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, language, fallbackOptions.PreferPredefinedTypeKeywordInMemberAccess);
45
PreferPredefinedTypeKeywordInDeclaration = options.
GetOption
(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration, language, fallbackOptions.PreferPredefinedTypeKeywordInDeclaration);
SyntaxFormattingOptions.cs (1)
37
SeparateImportDirectiveGroups = options.
GetOption
(GenerationOptions.SeparateImportDirectiveGroups, language, fallbackOptions.SeparateImportDirectiveGroups);