public ReportingContext(SyntaxTreeAnalysisContext context, Diagnostic diagnostic) { SyntaxTree = context.GetSyntaxTree(); Compilation = null; Diagnostic = diagnostic; this.contextSpecificReport = context.ReportDiagnostic; }
public ReportingContext(SyntaxTreeAnalysisContext context, Diagnostic diagnostic) : this(diagnostic, context.ReportDiagnostic, null, context.GetSyntaxTree()) { }
public ReportingContext(SyntaxTreeAnalysisContext context, Diagnostic diagnostic) { SyntaxTree = context.GetSyntaxTree(); Diagnostic = diagnostic; contextSpecificReport = context.ReportDiagnostic; }