CompilerLoweringPreserveAttribute クラス

定義

属性クラスに適用すると、その属性のアプリケーションをソース コードからコンパイラによって生成されたシンボルにフローするようにコンパイラに指示する属性を表します。 このフローは、IL ベースの分析ツールに役立ちます。

public ref class CompilerLoweringPreserveAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, Inherited=false)]
public sealed class CompilerLoweringPreserveAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, Inherited=false)>]
type CompilerLoweringPreserveAttribute = class
    inherit Attribute
Public NotInheritable Class CompilerLoweringPreserveAttribute
Inherits Attribute
継承
CompilerLoweringPreserveAttribute
属性

注釈

この属性が適用される 1 つの例は、C# のプライマリ コンストラクター パラメーターです。 CompilerLoweringPreserveAttributeでマークされた属性がプライマリ コンストラクター パラメーターに適用される場合、その属性は、そのパラメーターを格納するコンパイラによって生成されたフィールドにも適用されます。

コンストラクター

名前 説明
CompilerLoweringPreserveAttribute()

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

プロパティ

名前 説明
TypeId

派生クラスで実装されている場合は、この Attributeの一意の識別子を取得します。

(継承元 Attribute)

メソッド

名前 説明
Equals(Object)

このインスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

(継承元 Attribute)
GetHashCode()

このインスタンスのハッシュ コードを返します。

(継承元 Attribute)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
IsDefaultAttribute()

派生クラスでオーバーライドされた場合、このインスタンスの値が派生クラスの既定値であるかどうかを示します。

(継承元 Attribute)
Match(Object)

派生クラスでオーバーライドされた場合、このインスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

(継承元 Attribute)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象