15 references to InlineDiagnosticsLocations
Microsoft.CodeAnalysis.EditorFeatures (3)
InlineDiagnostics\InlineDiagnosticsOptionsStorage.cs (3)
15
public static readonly PerLanguageOption2<
InlineDiagnosticsLocations
> Location =
17
defaultValue:
InlineDiagnosticsLocations
.PlacedAtEndOfCode, serializer: EditorConfigValueSerializer.CreateSerializerForEnum<
InlineDiagnosticsLocations
>());
Microsoft.CodeAnalysis.EditorFeatures.Wpf (8)
InlineDiagnostics\InlineDiagnosticsAdornmentManager.cs (4)
72
var
option = _globalOptions.GetOption(InlineDiagnosticsOptionsStorage.Location, document.Project.Language);
73
if (option ==
InlineDiagnosticsLocations
.PlacedAtEndOfEditor)
171
tag.Location ==
InlineDiagnosticsLocations
.PlacedAtEndOfCode
173
: tag.Location ==
InlineDiagnosticsLocations
.PlacedAtEndOfEditor ? TextView.ViewportRight - visualElement.DesiredSize.Width
InlineDiagnostics\InlineDiagnosticsTag.cs (3)
29
public readonly
InlineDiagnosticsLocations
Location;
40
InlineDiagnosticsLocations
location, INavigateToLinkService navigateToLinkService)
129
if (Location is
InlineDiagnosticsLocations
.PlacedAtEndOfEditor)
InlineDiagnostics\InlineDiagnosticsTaggerProvider.cs (1)
94
var
locationOption = GlobalOptions.GetOption(InlineDiagnosticsOptionsStorage.Location, project.Language);
Microsoft.VisualStudio.LanguageServices.CSharp (2)
Options\AdvancedOptionPageControl.xaml.cs (2)
66
BindToOption(at_the_end_of_the_line_of_code, InlineDiagnosticsOptionsStorage.Location,
InlineDiagnosticsLocations
.PlacedAtEndOfCode, LanguageNames.CSharp);
67
BindToOption(on_the_right_edge_of_the_editor_window, InlineDiagnosticsOptionsStorage.Location,
InlineDiagnosticsLocations
.PlacedAtEndOfEditor, LanguageNames.CSharp);
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
Options\AdvancedOptionPageControl.xaml.vb (2)
70
BindToOption(at_the_end_of_the_line_of_code, InlineDiagnosticsOptionsStorage.Location,
InlineDiagnosticsLocations
.PlacedAtEndOfCode, LanguageNames.VisualBasic)
71
BindToOption(on_the_right_edge_of_the_editor_window, InlineDiagnosticsOptionsStorage.Location,
InlineDiagnosticsLocations
.PlacedAtEndOfEditor, LanguageNames.VisualBasic)