6 references to GetAttributes
System.ComponentModel.Composition (6)
Microsoft\Internal\AttributeServices.cs (1)
23return GetAttributes<T>(attributeProvider).FirstOrDefault();
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (1)
134bool isPrerequisite = member.GetAttributes<ExportAttribute>().Length > 0;
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (2)
265foreach (ExportAttribute exportAttribute in member.GetAttributes<ExportAttribute>()) 294foreach (InheritedExportAttribute exportAttribute in type.GetAttributes<InheritedExportAttribute>())
System\ComponentModel\Composition\Hosting\CompositionServices.cs (2)
194foreach (PartMetadataAttribute partMetadata in type.GetAttributes<PartMetadataAttribute>()) 261foreach (var attr in member.GetAttributes<Attribute>())