diff --git a/src/Core/Diagnostics.cs b/src/Core/Diagnostics.cs index 01da11f8..fb1e0ce9 100644 --- a/src/Core/Diagnostics.cs +++ b/src/Core/Diagnostics.cs @@ -30,6 +30,7 @@ namespace CppSharp public interface IDiagnostics { + DiagnosticKind Level { get; set; } void Emit(DiagnosticInfo info); void PushIndent(int level = 4); void PopIndent(); @@ -101,7 +102,7 @@ namespace CppSharp public class TextDiagnosticPrinter : IDiagnostics { public Stack Indents; - public DiagnosticKind Level; + public DiagnosticKind Level { get; set; } public TextDiagnosticPrinter() {