SourceLocation Struct
A position in a source file, read from the portable PDB of an assembly.
public readonly struct SourceLocation : IEquatable<SourceLocation>- Implements
Constructors
| Name | Description |
|---|---|
| SourceLocation(string, int, int) | A position in a source file, read from the portable PDB of an assembly. |
SourceLocation(string, int, int)
Properties
| Name | Description |
|---|---|
| Column | The 1-based column. |
| FilePath | The path of the source file, as recorded in the PDB when the assembly was compiled. |
| Line | The 1-based line. |
Column
SourceLocation.csFilePath
SourceLocation.csMethods
| Name | Description |
|---|---|
| Deconstruct(string, int, int) | |
| Equals(SourceLocation) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() | Returns the location as path:line:column. |
Deconstruct(string, int, int)
Equals overloads
Equals(SourceLocation)
public bool Equals(SourceLocation other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
SourceLocation.csOperators
| Name | Description |
|---|---|
| operator ==(SourceLocation, SourceLocation) | |
| operator !=(SourceLocation, SourceLocation) |
operator ==(SourceLocation, SourceLocation)
public static bool operator ==(SourceLocation left, SourceLocation right)No documentation is available.
operator !=(SourceLocation, SourceLocation)
public static bool operator !=(SourceLocation left, SourceLocation right)No documentation is available.