src/Microsoft/Windows/ComponentObjectModel/IO/_Library/Metadata/ComponentLibraryMetadataReader.cs
/// <summary>
/// IEnumerable of Types derieved from the Attribute type to be read from assemblies and/or types.
/// </summary>
/// <returns><see cref="IEnumerable{T}"/> where T = <see cref="Type"/>. Instances must be derieved from the <see cref="Attribute"/> class.</returns>
/// <remarks>
/// The returned types defines the attributes always supported. Inheritors can overwrite the <see cref="CreateAdditionalSupportedAttributes"/> Method for specifing additional attributes.
/// </remarks>
IEnumerable of Types derieved from the Attribute type to be read from assemblies and/or types.
IEnumerable of Types derieved from the Attribute type to be read from assemblies and / or types .
IEnumerable<Type> CreateSupportedAttributes() {
            return new List<Type>() {
                { typeof( AssemblyConfigurationAttribute        ) },
                { typeof( AssemblyCopyrightAttribute            ) },
                { typeof( AssemblyCompanyAttribute              ) },
                { typeof( AssemblyDescriptionAttribute          ) },
                { typeof( AssemblyFileVersionAttribute          ) },
                { typeof( AssemblyInformationalVersionAttribute ) },
                { typeof( AssemblyProductAttribute              ) },
                { typeof( AssemblyTitleAttribute                ) },
                { typeof( AssemblyTrademarkAttribute            ) },
                { typeof( CompilationRelaxationsAttribute       ) },
                { typeof( ComVisibleAttribute                   ) },
                { typeof( GuidAttribute                         ) },
                { typeof( ProgIdAttribute                       ) },
                { typeof( RuntimeCompatibilityAttribute         ) },
                { typeof( TargetFrameworkAttribute              ) },
                { typeof( ComponentServerTypeAttribute          ) },
                { typeof( ComponentThreadingModelAttribute      ) },
            };
        }
IEnumerable < Type > CreateSupportedAttributes ( ) { return new List < Type > ( ) { { typeof ( AssemblyConfigurationAttribute ) } , { typeof ( AssemblyCopyrightAttribute ) } , { typeof ( AssemblyCompanyAttribute ) } , { typeof ( AssemblyDescriptionAttribute ) } , { typeof ( AssemblyFileVersionAttribute ) } , { typeof ( AssemblyInformationalVersionAttribute ) } , { typeof ( AssemblyProductAttribute ) } , { typeof ( AssemblyTitleAttribute ) } , { typeof ( AssemblyTrademarkAttribute ) } , { typeof ( CompilationRelaxationsAttribute ) } , { typeof ( ComVisibleAttribute ) } , { typeof ( GuidAttribute ) } , { typeof ( ProgIdAttribute ) } , { typeof ( RuntimeCompatibilityAttribute ) } , { typeof ( TargetFrameworkAttribute ) } , { typeof ( ComponentServerTypeAttribute ) } , { typeof ( ComponentThreadingModelAttribute ) } , } ; }
IEnumerable of Types derieved from the Attribute type to be read from assemblies and/or types.
IEnumerable of Types derieved from the Attribute type to be read from assemblies and / or types .
// Omitted due to nested type definition of enum. Reading nested types is currently not implemented. // { typeof( DebuggableAttribute                   ) },
None
remarks
The returned types defines the attributes always supported. Inheritors can overwrite the  Method for specifing additional attributes.
The returned types defines the attributes always supported . Inheritors can overwrite the Method for specifing additional attributes .