24 references to CodeStyleOptions
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (6)
Options\OptionsTestHelpers.cs (6)
85
(
CodeStyleOptions
.QualifyFieldAccess, new CodeStyleOption<bool>(true, NotificationOption.Suggestion)),
86
(
CodeStyleOptions
.QualifyPropertyAccess, new CodeStyleOption<bool>(true, NotificationOption.Suggestion)),
87
(
CodeStyleOptions
.QualifyMethodAccess, new CodeStyleOption<bool>(true, NotificationOption.Suggestion)),
88
(
CodeStyleOptions
.QualifyEventAccess, new CodeStyleOption<bool>(true, NotificationOption.Suggestion)),
89
(
CodeStyleOptions
.PreferIntrinsicPredefinedTypeKeywordInDeclaration, new CodeStyleOption<bool>(false, NotificationOption.Suggestion)),
90
(
CodeStyleOptions
.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, new CodeStyleOption<bool>(false, NotificationOption.Suggestion)));
Microsoft.CodeAnalysis.Workspaces.UnitTests (18)
Options\DocumentOptionSetTests.cs (11)
33
Assert.Equal(new CodeStyleOption<bool>(internalCodeStyleOption), set.GetOption(
CodeStyleOptions
.QualifyEventAccess, LanguageNames.CSharp));
36
Assert.Equal(new CodeStyleOption<bool>(internalCodeStyleOption), set.GetOption(
CodeStyleOptions
.QualifyEventAccess, LanguageNames.CSharp));
39
Assert.Equal(new CodeStyleOption<bool>(true, NotificationOption.Error), set.GetOption(
CodeStyleOptions
.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, LanguageNames.CSharp));
42
Assert.Equal(new CodeStyleOption<bool>(true, NotificationOption.Error), set.GetOption(
CodeStyleOptions
.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, LanguageNames.CSharp));
58
Assert.Equal(
CodeStyleOptions
.QualifyEventAccess.DefaultValue, set.GetOption(
CodeStyleOptions
.QualifyEventAccess, LanguageNames.CSharp));
61
Assert.Equal(
CodeStyleOptions
.QualifyEventAccess.DefaultValue, set.GetOption(
CodeStyleOptions
.QualifyEventAccess, LanguageNames.CSharp));
64
Assert.Equal(new CodeStyleOption<bool>(true, NotificationOption.Error), set.GetOption(
CodeStyleOptions
.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, LanguageNames.CSharp));
67
Assert.Equal(new CodeStyleOption<bool>(true, NotificationOption.Error), set.GetOption(
CodeStyleOptions
.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, LanguageNames.CSharp));
77
var optionKey = new OptionKey(
CodeStyleOptions
.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, LanguageNames.CSharp);
Options\OptionKeyTests.cs (1)
169
var publicOption =
CodeStyleOptions
.PreferIntrinsicPredefinedTypeKeywordInMemberAccess;
Simplifier\SimplifierTests.cs (6)
103
(
CodeStyleOptions
.QualifyFieldAccess, false),
104
(
CodeStyleOptions
.QualifyPropertyAccess, false),
105
(
CodeStyleOptions
.QualifyMethodAccess, false),
106
(
CodeStyleOptions
.QualifyEventAccess, false),
107
(
CodeStyleOptions
.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, false),
108
(
CodeStyleOptions
.PreferIntrinsicPredefinedTypeKeywordInDeclaration, false),