共用方式為


Diagnostic.Location Property

Definition

Gets the primary location of the diagnostic, or None if no primary location.

public:
 abstract property Microsoft::CodeAnalysis::Location ^ Location { Microsoft::CodeAnalysis::Location ^ get(); };
public abstract Microsoft.CodeAnalysis.Location Location { get; }
member this.Location : Microsoft.CodeAnalysis.Location
Public MustOverride ReadOnly Property Location As Location

Property Value

Applies to