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