GenerateCodeForDeclaringAssemblyAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |