Skip to content

Commit 569b670

Browse files
Andrew Hallgithub-actions
authored andcommitted
If SupportDiagnostics then dynamic files don't report diagnostics...
1 parent e0af43a commit 569b670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Razor/src/Microsoft.VisualStudioCode.RazorExtension/Services/EmptyServiceProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ internal sealed class EmptyServiceProvider : IRazorDocumentServiceProvider
1111

1212
public bool CanApplyChange => false;
1313

14-
public bool SupportDiagnostics => false;
14+
public bool SupportDiagnostics => true;
1515

1616
public TService? GetService<TService>() where TService : class
1717
{

0 commit comments

Comments
 (0)