BlockLineRange Structure
Represents the line range data for a code block. This class and its members are reserved for internal use and are not intended to be used in your code.
Namespace: Microsoft.VisualStudio.Coverage.Analysis
Assembly: Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)
Syntax
public struct BlockLineRange : IEquatable<BlockLineRange>, IComparable<BlockLineRange>
public value struct BlockLineRange : IEquatable<BlockLineRange>,
IComparable<BlockLineRange>
[<Sealed>]
type BlockLineRange =
struct
interface IEquatable<BlockLineRange>
interface IComparable<BlockLineRange>
end
Public Structure BlockLineRange
Implements IEquatable(Of BlockLineRange), IComparable(Of BlockLineRange)
Properties
Name | Description | |
---|---|---|
BlockIndex | Gets the index of the code block. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code. |
|
EndColumn | Gets the number of the last column of the code block. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code. |
|
EndLine | Gets the number of the end line of the code block. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code. |
|
IsValid | Returns a value that indicates whether the code block is valid. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code. |
|
SourceFile | Gets the source file. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code. |
|
StartColumn | Gets the number of the starting column for the code block. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code. |
|
StartLine | Gets the starting line for the code block. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code. |
Methods
Name | Description | |
---|---|---|
CompareTo(BlockLineRange) | Compares a code block with the current code block. |
|
Equals(BlockLineRange) | Determines whether the provided code block is equal to the current code block. |
|
Equals(Object) | (Overrides ValueType.Equals(Object).) |
|
GetHashCode() | (Overrides ValueType.GetHashCode().) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from ValueType.) |
Operators
Name | Description | |
---|---|---|
Equality(BlockLineRange, BlockLineRange) | Determines whether two code block line range objects are equal in code that uses the equality operator (==). |
|
GreaterThan(BlockLineRange, BlockLineRange) | Determines whether the first of two code block line range objects is greater than the second object when using the greater-than operator (>). |
|
Inequality(BlockLineRange, BlockLineRange) | Determines whether two code block line range objects are not equal when using the inequality operator (!=). |
|
LessThan(BlockLineRange, BlockLineRange) | Determines whether the first of two code block line range objects is less than the second object when using the less-than operator (<). |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.VisualStudio.Coverage.Analysis Namespace
Return to top