CommonConversion 構造体

定義

変換の一般的な言語に依存しない要素を表します。

public value class CommonConversion
public struct CommonConversion
public readonly struct CommonConversion
type CommonConversion = struct
Public Structure CommonConversion
継承
CommonConversion

注釈

当社は、将来、この構造体を変更する権利を留保します。

プロパティ

名前 説明
ConstrainedToType

MethodSymbolの仮想呼び出しを解決するために使用されるランタイム型 (存在する場合) の型パラメーター。 MethodSymbolが静的に解決される場合、または null の場合は null。

Exists

ターゲット言語で定義されている変換が存在する場合は true を返します。

IsIdentity

変換が ID 変換の場合は true を返します。

IsImplicit

変換が暗黙的 (C#) または拡大 (VB) 変換の場合は true を返します。

IsNullable

変換が null 許容変換の場合は true を返します。

IsNumeric

変換が数値変換の場合は true を返します。

IsReference

変換が参照変換の場合は true を返します。

IsUnion

変換が共用体変換の場合は true を返します。

IsUserDefined

変換がユーザー定義変換の場合は true を返します。

MethodSymbol

IsUserDefinedが true の場合はユーザー定義変換の変換を実行するために使用されるメソッド、またはIsUnionが true の場合は共用体変換の変換を実行するために使用されるメソッドを返します。 それ以外の場合は null を返します。

適用対象