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 c0f6516 commit 3c9abe2Copy full SHA for 3c9abe2
src/WebJobs.Script/Description/DotNet/CSharp/CSharpCompilation.cs
@@ -29,7 +29,8 @@ public CSharpCompilation(Compilation compilation)
29
30
public ImmutableArray<Diagnostic> GetDiagnostics()
31
{
32
- return _compilation.WithAnalyzers(GetAnalyzers()).GetAllDiagnosticsAsync().Result;
+ var diagnostics = _compilation.WithAnalyzers(GetAnalyzers()).GetAllDiagnosticsAsync().Result;
33
+ return diagnostics.AddRange(_compilation.GetDiagnostics());
34
}
35
36
public FunctionSignature GetEntryPointSignature(IFunctionEntryPointResolver entryPointResolver)
0 commit comments