共用方式為


IDeclarationPatternOperation.MatchedType Property

Definition

The type explicitly specified, or null if it was inferred (e.g. using var in C#).

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

Property Value

Applies to