Share via


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
System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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
System_CAPS_pubmethod CompareTo(BlockLineRange)

Compares a code block with the current code block.

System_CAPS_pubmethod Equals(BlockLineRange)

Determines whether the provided code block is equal to the current code block.

System_CAPS_pubmethod Equals(Object)

(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethod GetHashCode()

(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from ValueType.)

Operators

Name Description
System_CAPS_puboperatorSystem_CAPS_static Equality(BlockLineRange, BlockLineRange)

Determines whether two code block line range objects are equal in code that uses the equality operator (==).

System_CAPS_puboperatorSystem_CAPS_static 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 (>).

System_CAPS_puboperatorSystem_CAPS_static Inequality(BlockLineRange, BlockLineRange)

Determines whether two code block line range objects are not equal when using the inequality operator (!=).

System_CAPS_puboperatorSystem_CAPS_static 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