Skip to content

Commit 31768f0

Browse files
committed
Close #751
1 parent 31cbc59 commit 31768f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Neo.Compiler.CSharp/CompilationContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private void Compile()
124124
foreach (SyntaxTree tree in compilation.SyntaxTrees)
125125
{
126126
SemanticModel model = compilation.GetSemanticModel(tree);
127-
diagnostics.AddRange(model.GetDiagnostics());
127+
diagnostics.AddRange(model.GetDiagnostics().Where(u => u.Severity != DiagnosticSeverity.Hidden));
128128
if (!Success) continue;
129129
try
130130
{

0 commit comments

Comments
 (0)