internal AutomatedAnalysisExecutionContext(IAutomatedAnalysisTrace trace, TextWriter textLog, AutomatedAnalysisIssueCollection issues) { Trace = trace; TextLog = textLog; Issues = issues; AutomatedAnalysisTraceLog traceLog = trace as AutomatedAnalysisTraceLog; if (traceLog != null) { TraceLog = traceLog.TraceLog; SymbolReader = traceLog.SymbolReader; } }
internal AnalyzerExecutionContext(Configuration configuration, ITrace trace, TextWriter textLog) { Configuration = configuration; Trace = trace; TextLog = textLog; AutomatedAnalysisTraceLog traceLog = trace as AutomatedAnalysisTraceLog; if (traceLog != null) { TraceLog = traceLog.TraceLog; SymbolReader = traceLog.SymbolReader; } }
public ProcessContext(AutomatedAnalysisExecutionContext executionContext, AutomatedAnalysisTraceProcess process) { _executionContext = executionContext; AutomatedAnalysisProcess = process; AutomatedAnalysisTraceLog traceLog = executionContext.Trace as AutomatedAnalysisTraceLog; if (traceLog != null) { Process = traceLog.TraceLog.Processes[(ProcessIndex)process.UniqueID]; } Issues = executionContext.Issues[process]; _symbolReader = executionContext.SymbolReader; }