Share via


GenerateCodeForDeclaringAssemblyAttribute クラス

定義

ソース ジェネレーターが、指定した型を含むアセンブリのコードも検査して生成する必要があることを示します。

[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
継承
GenerateCodeForDeclaringAssemblyAttribute
属性

コンストラクター

GenerateCodeForDeclaringAssemblyAttribute(Type)

GenerateCodeForDeclaringAssemblyAttribute クラスの新しいインスタンスを初期化します。

プロパティ

Type

ソース ジェネレーターがソースを検査して生成するアセンブリ内の型を取得します。

適用対象

こちらもご覧ください