160 references to NotNull
System.ComponentModel.Composition (160)
Microsoft\Internal\Requires.cs (2)
19NotNull(values, parameterName); 115NotNull(value, parameterName);
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (2)
73Requires.NotNull(parameter, nameof(parameter)); 110Requires.NotNull(member, nameof(member));
System\ComponentModel\Composition\AttributedModelServices.cs (32)
21Requires.NotNull(metadata, nameof(metadata)); 28Requires.NotNull(attributedPart, nameof(attributedPart)); 35Requires.NotNull(attributedPart, nameof(attributedPart)); 36Requires.NotNull(reflectionContext, nameof(reflectionContext)); 43Requires.NotNull(partDefinition, nameof(partDefinition)); 44Requires.NotNull(attributedPart, nameof(attributedPart)); 57Requires.NotNull(type, nameof(type)); 64Requires.NotNull(type, nameof(type)); 77Requires.NotNull(type, nameof(type)); 84Requires.NotNull(method, nameof(method)); 91Requires.NotNull(type, nameof(type)); 98Requires.NotNull(batch, nameof(batch)); 107Requires.NotNull(container, nameof(container)); 116Requires.NotNull(batch, nameof(batch)); 128Requires.NotNull(container, nameof(container)); 137Requires.NotNull(batch, nameof(batch)); 138Requires.NotNull(attributedPart, nameof(attributedPart)); 150Requires.NotNull(container, nameof(container)); 180Requires.NotNull(compositionService, nameof(compositionService)); 181Requires.NotNull(attributedPart, nameof(attributedPart)); 211Requires.NotNull(compositionService, nameof(compositionService)); 212Requires.NotNull(attributedPart, nameof(attributedPart)); 213Requires.NotNull(reflectionContext, nameof(reflectionContext)); 232Requires.NotNull(part, nameof(part)); 233Requires.NotNull(contractType, nameof(contractType)); 248Requires.NotNull(part, nameof(part)); 263Requires.NotNull(part, nameof(part)); 264Requires.NotNull(contractType, nameof(contractType)); 279Requires.NotNull(part, nameof(part)); 295Requires.NotNull(part, nameof(part)); 296Requires.NotNull(contractType, nameof(contractType)); 312Requires.NotNull(part, nameof(part));
System\ComponentModel\Composition\CatalogReflectionContextAttribute.cs (1)
20Requires.NotNull(reflectionContextType, nameof(reflectionContextType));
System\ComponentModel\Composition\CompositionErrorDebuggerProxy.cs (1)
15Requires.NotNull(error, nameof(error));
System\ComponentModel\Composition\CompositionExceptionDebuggerProxy.cs (1)
18Requires.NotNull(exception, nameof(exception));
System\ComponentModel\Composition\Hosting\AggregateCatalog.cs (1)
123Requires.NotNull(definition, nameof(definition));
System\ComponentModel\Composition\Hosting\ApplicationCatalog.cs (5)
27Requires.NotNull(definitionOrigin, nameof(definitionOrigin)); 34Requires.NotNull(reflectionContext, nameof(reflectionContext)); 41Requires.NotNull(reflectionContext, nameof(reflectionContext)); 42Requires.NotNull(definitionOrigin, nameof(definitionOrigin)); 159Requires.NotNull(definition, nameof(definition));
System\ComponentModel\Composition\Hosting\AssemblyCatalog.cs (12)
132Requires.NotNull(reflectionContext, nameof(reflectionContext)); 189Requires.NotNull(definitionOrigin, nameof(definitionOrigin)); 253Requires.NotNull(reflectionContext, nameof(reflectionContext)); 254Requires.NotNull(definitionOrigin, nameof(definitionOrigin)); 286Requires.NotNull(assembly, nameof(assembly)); 287Requires.NotNull(reflectionContext, nameof(reflectionContext)); 326Requires.NotNull(assembly, nameof(assembly)); 327Requires.NotNull(reflectionContext, nameof(reflectionContext)); 328Requires.NotNull(definitionOrigin, nameof(definitionOrigin)); 352Requires.NotNull(assembly, nameof(assembly)); 382Requires.NotNull(assembly, nameof(assembly)); 383Requires.NotNull(definitionOrigin, nameof(definitionOrigin));
System\ComponentModel\Composition\Hosting\AssemblyCatalogDebuggerProxy.cs (1)
18Requires.NotNull(catalog, nameof(catalog));
System\ComponentModel\Composition\Hosting\AtomicComposition.cs (4)
68Requires.NotNull(key, nameof(key)); 83Requires.NotNull(key, nameof(key)); 94Requires.NotNull(completeAction, nameof(completeAction)); 106Requires.NotNull(revertAction, nameof(revertAction));
System\ComponentModel\Composition\Hosting\CatalogExportProvider.CatalogChangeProxy.cs (1)
36Requires.NotNull(definition, nameof(definition));
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (2)
74Requires.NotNull(catalog, nameof(catalog)); 164Requires.NotNull(value!, nameof(value));
System\ComponentModel\Composition\Hosting\CatalogExtensions.cs (1)
18Requires.NotNull(composablePartCatalog, nameof(composablePartCatalog));
System\ComponentModel\Composition\Hosting\ComposablePartCatalogChangeEventArgs.cs (2)
44Requires.NotNull(addedDefinitions, nameof(addedDefinitions)); 45Requires.NotNull(removedDefinitions, nameof(removedDefinitions));
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (3)
45Requires.NotNull(item, nameof(item)); 128Requires.NotNull(item, nameof(item)); 173Requires.NotNull(item, nameof(item));
System\ComponentModel\Composition\Hosting\ComposablePartExportProvider.cs (2)
139Requires.NotNull(value!, nameof(value)); 236Requires.NotNull(batch, nameof(batch));
System\ComponentModel\Composition\Hosting\CompositionBatch.cs (3)
111Requires.NotNull(part, nameof(part)); 135Requires.NotNull(part, nameof(part)); 165Requires.NotNull(export, nameof(export));
System\ComponentModel\Composition\Hosting\CompositionBatch.SingleExportComposablePart.cs (2)
42Requires.NotNull(definition, nameof(definition)); 54Requires.NotNull(definition, nameof(definition));
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (3)
370Requires.NotNull(batch, nameof(batch)); 397Requires.NotNull(export, nameof(export)); 426Requires.NotNull(export, nameof(export));
System\ComponentModel\Composition\Hosting\CompositionScopeDefinition.cs (2)
33Requires.NotNull(catalog, nameof(catalog)); 47Requires.NotNull(catalog, nameof(catalog));
System\ComponentModel\Composition\Hosting\CompositionScopeDefinitionDebuggerProxy.cs (1)
20Requires.NotNull(compositionScopeDefinition, nameof(compositionScopeDefinition));
System\ComponentModel\Composition\Hosting\CompositionService.cs (1)
49Requires.NotNull(part, nameof(part));
System\ComponentModel\Composition\Hosting\DirectoryCatalog.cs (5)
278Requires.NotNull(definitionOrigin, nameof(definitionOrigin)); 327Requires.NotNull(reflectionContext, nameof(reflectionContext)); 381Requires.NotNull(reflectionContext, nameof(reflectionContext)); 382Requires.NotNull(definitionOrigin, nameof(definitionOrigin)); 526Requires.NotNull(definition, nameof(definition));
System\ComponentModel\Composition\Hosting\DirectoryCatalog.DirectoryCatalogDebuggerProxy.cs (1)
21Requires.NotNull(catalog, nameof(catalog));
System\ComponentModel\Composition\Hosting\ExportProvider.cs (2)
99Requires.NotNull(definition, nameof(definition)); 146Requires.NotNull(definition, nameof(definition));
System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs (1)
776Requires.NotNull(type, nameof(type));
System\ComponentModel\Composition\Hosting\ExportsChangeEventArgs.cs (2)
47Requires.NotNull(addedExports, nameof(addedExports)); 48Requires.NotNull(removedExports, nameof(removedExports));
System\ComponentModel\Composition\Hosting\FilteredCatalog.cs (3)
34Requires.NotNull(catalog, nameof(catalog)); 35Requires.NotNull(filter, nameof(filter)); 152Requires.NotNull(definition, nameof(definition));
System\ComponentModel\Composition\Hosting\FilteredCatalog.Traversal.cs (2)
30Requires.NotNull(importFilter, nameof(importFilter)); 53Requires.NotNull(importFilter, nameof(importFilter));
System\ComponentModel\Composition\Hosting\ImportEngine.cs (5)
49Requires.NotNull(sourceProvider, nameof(sourceProvider)); 87Requires.NotNull(part, nameof(part)); 160Requires.NotNull(part, nameof(part)); 197Requires.NotNull(part, nameof(part)); 231Requires.NotNull(part, nameof(part));
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
85Requires.NotNull(exportDefinition, nameof(exportDefinition));
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (12)
21Requires.NotNull(part, nameof(part)); 22Requires.NotNull(contractName, nameof(contractName)); 44Requires.NotNull(part, nameof(part)); 45Requires.NotNull(contractName, nameof(contractName)); 69Requires.NotNull(part, nameof(part)); 70Requires.NotNull(contractName, nameof(contractName)); 93Requires.NotNull(part, nameof(part)); 94Requires.NotNull(key, nameof(key)); 111Requires.NotNull(part, nameof(part)); 112Requires.NotNull(key, nameof(key)); 137Requires.NotNull(catalog, nameof(catalog)); 138Requires.NotNull(filter, nameof(filter));
System\ComponentModel\Composition\Hosting\TypeCatalog.cs (8)
76Requires.NotNull(types, nameof(types)); 103Requires.NotNull(types, nameof(types)); 104Requires.NotNull(definitionOrigin, nameof(definitionOrigin)); 132Requires.NotNull(types, nameof(types)); 133Requires.NotNull(reflectionContext, nameof(reflectionContext)); 164Requires.NotNull(types, nameof(types)); 165Requires.NotNull(reflectionContext, nameof(reflectionContext)); 166Requires.NotNull(definitionOrigin, nameof(definitionOrigin));
System\ComponentModel\Composition\ImportCardinalityMismatchExceptionDebuggerProxy.cs (1)
14Requires.NotNull(exception, nameof(exception));
System\ComponentModel\Composition\Primitives\ComposablePartCatalog.cs (1)
101Requires.NotNull(definition, nameof(definition));
System\ComponentModel\Composition\Primitives\ComposablePartCatalogDebuggerProxy.cs (1)
18Requires.NotNull(catalog, nameof(catalog));
System\ComponentModel\Composition\Primitives\ComposablePartExceptionDebuggerProxy.cs (1)
14Requires.NotNull(exception, nameof(exception));
System\ComponentModel\Composition\Primitives\CompositionElementDebuggerProxy.cs (1)
18Requires.NotNull(element, nameof(element));
System\ComponentModel\Composition\Primitives\ContractBasedImportDefinition.cs (1)
297Requires.NotNull(exportDefinition, nameof(exportDefinition));
System\ComponentModel\Composition\Primitives\Export.cs (2)
117Requires.NotNull(definition, nameof(definition)); 118Requires.NotNull(exportedValueGetter, nameof(exportedValueGetter));
System\ComponentModel\Composition\Primitives\ExportedDelegate.cs (2)
20Requires.NotNull(method, nameof(method)); 28Requires.NotNull(delegateType, nameof(delegateType));
System\ComponentModel\Composition\Primitives\ImportDefinition.cs (3)
84Requires.NotNull(constraint, nameof(constraint)); 92Requires.NotNull(constraint, nameof(constraint)); 264Requires.NotNull(exportDefinition, nameof(exportDefinition));
System\ComponentModel\Composition\ReflectionModel\LazyMemberInfo.cs (3)
19Requires.NotNull(member, nameof(member)); 48Requires.NotNull(accessors, nameof(accessors)); 64Requires.NotNull(accessorsCreator, nameof(accessorsCreator));
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePart.cs (6)
29Requires.NotNull(definition, nameof(definition)); 36Requires.NotNull(definition, nameof(definition)); 37Requires.NotNull(attributedPart, nameof(attributedPart)); 171Requires.NotNull(definition, nameof(definition)); 190Requires.NotNull(definition, nameof(definition)); 191Requires.NotNull(exports, nameof(exports));
System\ComponentModel\Composition\ReflectionModel\ReflectionModelServices.cs (11)
19Requires.NotNull(partDefinition, nameof(partDefinition)); 32Requires.NotNull(partDefinition, nameof(partDefinition)); 45Requires.NotNull(exportDefinition, nameof(exportDefinition)); 60Requires.NotNull(importDefinition, nameof(importDefinition)); 75Requires.NotNull(importDefinition, nameof(importDefinition)); 91Requires.NotNull(importDefinition, nameof(importDefinition)); 106Requires.NotNull(importDefinition, nameof(importDefinition)); 113Requires.NotNull(importDefinition, nameof(importDefinition)); 134Requires.NotNull(partType, nameof(partType)); 270Requires.NotNull(parameter, nameof(parameter)); 304Requires.NotNull(partDefinition, nameof(partDefinition));