30 references to InheritanceMarginOptionsStorage
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Options\OptionSerializerTests.cs (1)
31
InheritanceMarginOptionsStorage
.ShowInheritanceMargin,
Microsoft.VisualStudio.LanguageServices (10)
InheritanceMargin\InheritanceGlyphFactory.cs (1)
72
if (!_globalOptions.GetOption(
InheritanceMarginOptionsStorage
.InheritanceMarginCombinedWithIndicatorMargin))
InheritanceMargin\InheritanceMarginTaggerProvider.cs (4)
71
TaggerEventSources.OnGlobalOptionChanged(GlobalOptions,
InheritanceMarginOptionsStorage
.ShowInheritanceMargin),
72
TaggerEventSources.OnGlobalOptionChanged(GlobalOptions,
InheritanceMarginOptionsStorage
.InheritanceMarginCombinedWithIndicatorMargin));
106
if (GlobalOptions.GetOption(
InheritanceMarginOptionsStorage
.ShowInheritanceMargin, document.Project.Language) == false)
109
var includeGlobalImports = GlobalOptions.GetOption(
InheritanceMarginOptionsStorage
.InheritanceMarginIncludeGlobalImports, document.Project.Language);
InheritanceMargin\InheritanceMarginViewMargin.cs (5)
126
if (e.Option.Equals(
InheritanceMarginOptionsStorage
.ShowInheritanceMargin) ||
127
e.Option.Equals(
InheritanceMarginOptionsStorage
.InheritanceMarginCombinedWithIndicatorMargin))
136
(_globalOptions.GetOption(
InheritanceMarginOptionsStorage
.ShowInheritanceMargin, _languageName) ?? true) &&
137
!_globalOptions.GetOption(
InheritanceMarginOptionsStorage
.InheritanceMarginCombinedWithIndicatorMargin) ? Visibility.Visible : Visibility.Collapsed;
177
if (!_globalOptions.GetOption(
InheritanceMarginOptionsStorage
.InheritanceMarginCombinedWithIndicatorMargin))
Microsoft.VisualStudio.LanguageServices.CSharp (3)
Options\AdvancedOptionPageControl.xaml.cs (3)
195
BindToOption(ShowInheritanceMargin,
InheritanceMarginOptionsStorage
.ShowInheritanceMargin, LanguageNames.CSharp, () => true);
196
BindToOption(InheritanceMarginCombinedWithIndicatorMargin,
InheritanceMarginOptionsStorage
.InheritanceMarginCombinedWithIndicatorMargin);
197
BindToOption(IncludeGlobalImports,
InheritanceMarginOptionsStorage
.InheritanceMarginIncludeGlobalImports, LanguageNames.CSharp);
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (13)
InProcess\InheritanceMarginInProcess.cs (10)
31
var showInheritanceMargin = optionService.GetOption(
InheritanceMarginOptionsStorage
.ShowInheritanceMargin, languageName);
32
var combinedWithIndicatorMargin = optionService.GetOption(
InheritanceMarginOptionsStorage
.InheritanceMarginCombinedWithIndicatorMargin);
33
var showGlobalUsings = optionService.GetOption(
InheritanceMarginOptionsStorage
.InheritanceMarginIncludeGlobalImports, languageName);
37
optionService.SetGlobalOption(
InheritanceMarginOptionsStorage
.ShowInheritanceMargin, languageName, true);
42
optionService.SetGlobalOption(
InheritanceMarginOptionsStorage
.InheritanceMarginIncludeGlobalImports, languageName, true);
48
optionService.SetGlobalOption(
InheritanceMarginOptionsStorage
.InheritanceMarginCombinedWithIndicatorMargin, false);
55
var showInheritanceMargin = optionService.GetOption(
InheritanceMarginOptionsStorage
.ShowInheritanceMargin, languageName);
56
var showGlobalUsings = optionService.GetOption(
InheritanceMarginOptionsStorage
.InheritanceMarginIncludeGlobalImports, languageName);
60
optionService.SetGlobalOption(
InheritanceMarginOptionsStorage
.ShowInheritanceMargin, languageName, false);
65
optionService.SetGlobalOption(
InheritanceMarginOptionsStorage
.InheritanceMarginIncludeGlobalImports, languageName, false);
InProcess\StateResetInProcess.cs (3)
54
ResetOption(globalOptions,
InheritanceMarginOptionsStorage
.InheritanceMarginCombinedWithIndicatorMargin);
65
ResetPerLanguageOption(globalOptions,
InheritanceMarginOptionsStorage
.InheritanceMarginIncludeGlobalImports);
66
ResetPerLanguageOption(globalOptions,
InheritanceMarginOptionsStorage
.ShowInheritanceMargin);
Microsoft.VisualStudio.LanguageServices.VisualBasic (3)
Options\AdvancedOptionPageControl.xaml.vb (3)
183
BindToOption(ShowInheritanceMargin,
InheritanceMarginOptionsStorage
.ShowInheritanceMargin, LanguageNames.VisualBasic, Function() True)
184
BindToOption(InheritanceMarginCombinedWithIndicatorMargin,
InheritanceMarginOptionsStorage
.InheritanceMarginCombinedWithIndicatorMargin)
185
BindToOption(IncludeGlobalImports,
InheritanceMarginOptionsStorage
.InheritanceMarginIncludeGlobalImports, LanguageNames.VisualBasic)