13 references to LocationKind
Microsoft.CodeAnalysis.EditorFeatures (13)
EditorConfigSettings\Data\NamingStyleSetting.cs (5)
30
Location = new SettingLocation(fileName is null ?
LocationKind
.VisualStudio :
LocationKind
.EditorConfig, fileName);
47
Location = new SettingLocation(
LocationKind
.EditorConfig, namingStyleOption.Section.FilePath)
80
Location = Location with { LocationKind =
LocationKind
.EditorConfig };
89
Location = Location with { LocationKind =
LocationKind
.EditorConfig };
EditorConfigSettings\Data\Setting.cs (2)
34
Location = Location with { LocationKind =
LocationKind
.EditorConfig };
39
public bool IsDefinedInEditorConfig => Location.LocationKind !=
LocationKind
.VisualStudio;
EditorConfigSettings\Data\TieredAnalyzerConfigOptions.cs (2)
26
location = new SettingLocation(
LocationKind
.EditorConfig, EditorConfigFileName);
31
location = new SettingLocation(
LocationKind
.VisualStudio, Path: null);
EditorConfigSettings\DataProvider\Analyzer\AnalyzerSettingsProvider.cs (2)
62
var settingLocation = new SettingLocation(isEditorconfig ?
LocationKind
.EditorConfig :
LocationKind
.VisualStudio, FileName);
EditorConfigSettings\DataProvider\NamingStyles\NamingStyleSettingsProvider.cs (1)
30
var fileName = (location.LocationKind !=
LocationKind
.VisualStudio) ? options.EditorConfigFileName : null;
EditorConfigSettings\SettingLocation.cs (1)
7
internal record SettingLocation(
LocationKind
LocationKind, string? Path) { }