FileLinePositionSpan Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a span of text in a source code file in terms of file name, line number, and offset within line. However, the file is actually whatever was passed in when asked to parse; there may not really be a file.
public value class FileLinePositionSpan : IEquatable<Microsoft::CodeAnalysis::FileLinePositionSpan>
public struct FileLinePositionSpan : IEquatable<Microsoft.CodeAnalysis.FileLinePositionSpan>
public readonly struct FileLinePositionSpan : IEquatable<Microsoft.CodeAnalysis.FileLinePositionSpan>
[System.Runtime.Serialization.DataContract]
public readonly struct FileLinePositionSpan : IEquatable<Microsoft.CodeAnalysis.FileLinePositionSpan>
type FileLinePositionSpan = struct
[<System.Runtime.Serialization.DataContract>]
type FileLinePositionSpan = struct
Public Structure FileLinePositionSpan
Implements IEquatable(Of FileLinePositionSpan)
- Inheritance
-
FileLinePositionSpan
- Attributes
- Implements
File |
Initializes the FileLinePositionSpan instance. |
File |
Initializes the FileLinePositionSpan instance. |
End |
Gets the LinePosition of the end of the span. |
Has |
True if the Path is a mapped path. |
Is |
Returns true if the span represents a valid location. |
Path |
Path, or null if the span represents an invalid value. |
Span |
Gets the span. |
Start |
Gets the LinePosition of the start of the span. |
Equals(File |
Determines if two FileLinePositionSpan objects are equal. |
Equals(Object) |
Determines if two FileLinePositionSpan objects are equal. |
Get |
Serves as a hash function for FileLinePositionSpan. |
To |
Returns a String that represents FileLinePositionSpan. |
Equality(File |
|
Inequality(File |
Продукт | Версии |
---|---|
Roslyn | 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: