Skip to content

Commit

Permalink
Fixing issue with compilation diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocav committed May 25, 2016
1 parent c0f6516 commit 3c9abe2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public CSharpCompilation(Compilation compilation)

public ImmutableArray<Diagnostic> GetDiagnostics()
{
return _compilation.WithAnalyzers(GetAnalyzers()).GetAllDiagnosticsAsync().Result;
var diagnostics = _compilation.WithAnalyzers(GetAnalyzers()).GetAllDiagnosticsAsync().Result;
return diagnostics.AddRange(_compilation.GetDiagnostics());
}

public FunctionSignature GetEntryPointSignature(IFunctionEntryPointResolver entryPointResolver)
Expand Down

0 comments on commit 3c9abe2

Please sign in to comment.