5 references to PartNotDiscoverableAttribute
Roslyn.Diagnostics.Analyzers (3)
TestExportsShouldNotBeDiscoverable.cs (2)
22/// MEF-exported types defined in test assemblies should be marked with <see cref="PartNotDiscoverableAttribute"/> 86ad.AttributeClass.Name == nameof(PartNotDiscoverableAttribute)
TestExportsShouldNotBeDiscoverableCodeFixProvider.cs (1)
89partNotDiscoverableAttributeSymbol = exportAttributeSymbol.ContainingNamespace.GetTypeMembers(nameof(PartNotDiscoverableAttribute)).FirstOrDefault();
System.Composition.AttributedModel (1)
System\Composition\PartNotDiscoverableAttribute.cs (1)
13/// Initializes a new instance of the <see cref="PartNotDiscoverableAttribute"/> class.
System.Composition.TypedParts (1)
System\Composition\TypedParts\Discovery\TypeInspector.cs (1)
31if (type.IsAbstract || !type.IsClass || _attributeContext.GetDeclaredAttribute<PartNotDiscoverableAttribute>(type.AsType(), type) != null)