12 references to ErrorBuilder
System.ComponentModel.Composition (12)
System\ComponentModel\Composition\ExceptionBuilder.cs (1)
85ErrorBuilder.CreateCannotGetExportedValue(part, definition, innerException));
System\ComponentModel\Composition\Hosting\ImportEngine.cs (8)
299return new CompositionResult(ErrorBuilder.CreatePartCycle(part)); 380return new CompositionResult(ErrorBuilder.CreatePartCycle(part)); 387return result.MergeError(ErrorBuilder.CreatePartCycle(part)); 427ErrorBuilder.ComposeTookTooManyIterations(MaximumNumberOfCompositionIterations)); 533return new CompositionResult(ErrorBuilder.InvalidStateForRecompposition(partManager.Part)); 572return new CompositionResult(ErrorBuilder.PreventedByExistingImport(partManager.Part, import)); 752CompositionException exception = new CompositionException(ErrorBuilder.CreateImportCardinalityMismatch(ex, definition)); 755ErrorBuilder.CreatePartCannotSetImport(part, definition, exception));
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (3)
83ErrorBuilder.CreatePartCannotSetImport(Part, import, ex)); 89ErrorBuilder.CreatePartCannotSetImport(Part, import, ex)); 133ErrorBuilder.CreatePartCannotActivate(Part, ex));