public override void EndAssembly() { bool isCCI2 = typeof(Type).ToString() != "System.Compiler.TypeNode"; if (!expectedAssemblyOutcomes.Passed(isCCI2)) { this.errorCount += expectedAssemblyOutcomes.Errors; base.WriteLine("Assembly {0}", mdDecoder.Name(this.currentAssembly)); expectedAssemblyOutcomes.ReportRegressions(this.UnderlyingOutput); } base.EndAssembly(); expectedAssemblyOutcomes = null; }
public override void StartAssembly(Assembly assembly) { base.StartAssembly(assembly); expectedAssemblyOutcomes = AssemblyRegressionOutcomes.GetOutcomes(assembly, this.mdDecoder); this.currentAssembly = assembly; if (this.delayedErrors != null) { foreach (var error in delayedErrors) { this.EmitError(error); } this.delayedErrors = null; } }