We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7831d50 commit 979d7b2Copy full SHA for 979d7b2
src/VisualStudio/Core/Def/EditorConfigSettings/SettingsEditorControl.xaml.cs
@@ -82,7 +82,10 @@ internal void SynchronizeSettings()
82
83
var solution = _workspace.CurrentSolution;
84
var analyzerConfigDocument = solution.Projects
85
- .Select(p => p.TryGetExistingAnalyzerConfigDocumentAtPath(_filepath)).FirstOrDefault();
+ .Select(p => p.TryGetExistingAnalyzerConfigDocumentAtPath(_filepath))
86
+ .WhereNotNull()
87
+ .FirstOrDefault();
88
+
89
if (analyzerConfigDocument is null)
90
{
91
return;
0 commit comments