Delen via


IInvocationOperation.ConstrainedToType Property

Definition

Type parameter which runtime type will be used to resolve virtual invocation of the TargetMethod. Null if TargetMethod is resolved statically, or is an instance method.

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

Property Value

Applies to