7 references to MetadataKeyNames
System.ComponentModel.Composition (7)
System\ComponentModel\Composition\Hosting\CompositionServices.cs (4)
187var dictionary = new Dictionary<string, object?>(StringComparers.MetadataKeyNames); 196if (reservedMetadataNames.Contains(partMetadata.Name, StringComparers.MetadataKeyNames) 267if (reservedMetadataNames.Contains(provider.Name, StringComparers.MetadataKeyNames)) 301if (reservedMetadataNames.Contains(pi.Name, StringComparers.MetadataKeyNames))
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (3)
100var originalMetadata = new Dictionary<string, object?>(_originalPartCreationInfo.GetMetadata()!, StringComparers.MetadataKeyNames); 443Dictionary<string, object?> metadata = new Dictionary<string, object?>(originalImport.Metadata, StringComparers.MetadataKeyNames); 460Dictionary<string, object?> metadata = new Dictionary<string, object?>(originalExport.Metadata, StringComparers.MetadataKeyNames);