예제 #1
0
 public ReportingContext(SyntaxTreeAnalysisContext context, Diagnostic diagnostic)
 {
     SyntaxTree  = context.GetSyntaxTree();
     Compilation = null;
     Diagnostic  = diagnostic;
     this.contextSpecificReport = context.ReportDiagnostic;
 }
예제 #2
0
 public ReportingContext(SyntaxTreeAnalysisContext context, Diagnostic diagnostic)
     : this(diagnostic, context.ReportDiagnostic, null, context.GetSyntaxTree())
 {
 }
예제 #3
0
 public ReportingContext(SyntaxTreeAnalysisContext context, Diagnostic diagnostic)
 {
     SyntaxTree            = context.GetSyntaxTree();
     Diagnostic            = diagnostic;
     contextSpecificReport = context.ReportDiagnostic;
 }