Skip to content

Commit b572277

Browse files
author
Andrew Hall
committed
If SupportDiagnostics then dynamic files don't report diagnostics...
1 parent abd05e3 commit b572277

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 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)