共用方式為


CommonConversion.ConstrainedToType Property

Definition

Type parameter which runtime type will be used to resolve virtual invocation of the MethodSymbol, if any. Null if MethodSymbol is resolved statically, or is null.

public Microsoft.CodeAnalysis.ITypeSymbol? ConstrainedToType { get; }
member this.ConstrainedToType : Microsoft.CodeAnalysis.ITypeSymbol
Public ReadOnly Property ConstrainedToType As ITypeSymbol

Property Value

Applies to