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
'Declaration
Public Structure BlockLineRange _
Implements IEquatable(Of BlockLineRange), IComparable(Of BlockLineRange)
public struct BlockLineRange : IEquatable<BlockLineRange>,
IComparable<BlockLineRange>
public value class BlockLineRange : IEquatable<BlockLineRange>,
IComparable<BlockLineRange>
[<SealedAttribute>]
type BlockLineRange =
struct
interface IEquatable<BlockLineRange>
interface IComparable<BlockLineRange>
end
JScript supports the use of structures, but not the declaration of new ones.
The BlockLineRange type exposes the following members.
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. |
Top
Methods
Name | Description | |
---|---|---|
CompareTo | Compares a code block with the current code block. | |
Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).) | |
Equals(BlockLineRange) | Determines whether the provided code block is equal to the current code block. | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two code block line range objects are equal in code that uses the equality operator (==). | |
GreaterThan | Determines whether the first of two code block line range objects is greater than the second object when using the greater-than operator (>). | |
Inequality | Determines whether two code block line range objects are not equal when using the inequality operator (!=). | |
LessThan | Determines whether the first of two code block line range objects is less than the second object when using the less-than operator (<). |
Top
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.