2 instantiations of ImportCardinalityMismatchException
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\Hosting\ExportProvider.cs (2)
108throw new ImportCardinalityMismatchException(SR.Format(SR.CardinalityMismatch_NoExports, definition)); 114throw new ImportCardinalityMismatchException(SR.Format(SR.CardinalityMismatch_TooManyExports_Constraint, definition));
22 references to ImportCardinalityMismatchException
System.ComponentModel.Composition (22)
System\ComponentModel\Composition\ErrorBuilder.cs (1)
35public static CompositionError CreateImportCardinalityMismatch(ImportCardinalityMismatchException exception, ImportDefinition definition)
System\ComponentModel\Composition\Hosting\ExportProvider.cs (2)
50/// <exception cref="ImportCardinalityMismatchException"> 84/// <exception cref="ImportCardinalityMismatchException">
System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs (8)
45/// <exception cref="ImportCardinalityMismatchException"> 96/// <exception cref="ImportCardinalityMismatchException"> 141/// <exception cref="ImportCardinalityMismatchException"> 194/// <exception cref="ImportCardinalityMismatchException"> 458/// <exception cref="ImportCardinalityMismatchException"> 508/// <exception cref="ImportCardinalityMismatchException"> 563/// <exception cref="ImportCardinalityMismatchException"> 615/// <exception cref="ImportCardinalityMismatchException">
System\ComponentModel\Composition\Hosting\ImportEngine.cs (1)
749catch (ImportCardinalityMismatchException ex)
System\ComponentModel\Composition\ImportCardinalityMismatchException.cs (8)
21/// Initializes a new instance of the <see cref="ImportCardinalityMismatchException"/> class. 29/// Initializes a new instance of the <see cref="ImportCardinalityMismatchException"/> class 34/// <see cref="ImportCardinalityMismatchException"/>; or <see langword="null"/> to set 43/// Initializes a new instance of the <see cref="ImportCardinalityMismatchException"/> class 49/// <see cref="ImportCardinalityMismatchException"/>; or <see langword="null"/> to set 54/// <see cref="ImportCardinalityMismatchException"/>; or <see langword="null"/> to set 63/// Initializes a new instance of the <see cref="ImportCardinalityMismatchException"/> class 68/// <see cref="ImportCardinalityMismatchException"/>.
System\ComponentModel\Composition\ImportCardinalityMismatchExceptionDebuggerProxy.cs (2)
10private readonly ImportCardinalityMismatchException _exception; 12public ImportCardinalityMismatchExceptionDebuggerProxy(ImportCardinalityMismatchException exception)