IRewriteStep.Diagnostic.Source Property

Definition

Absolute path of the file where the code that caused the generation of the diagnostic is located. The source is null if the diagnostic is not caused by a piece of source code.

public string? Source { [System.Runtime.CompilerServices.IsReadOnly] get; set; }
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.Source : string with get, set
Public Property Source As String

Property Value

String
Attributes

Applies to