GenerateCodeForDeclaringAssemblyAttribute Class

Definition

Indicates that the source generator should also inspect and generate code for the assembly containing the specified type.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class GenerateCodeForDeclaringAssemblyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type GenerateCodeForDeclaringAssemblyAttribute = class
    inherit Attribute
Public NotInheritable Class GenerateCodeForDeclaringAssemblyAttribute
Inherits Attribute
Inheritance
GenerateCodeForDeclaringAssemblyAttribute
Attributes

Constructors

GenerateCodeForDeclaringAssemblyAttribute(Type)

Initializes a new instance of the GenerateCodeForDeclaringAssemblyAttribute class.

Properties

Type

Gets a type in the assembly which the source generator should inspect and generate source for.

Applies to

See also