CoverageStatistics Structure

 

Represents the code coverage statistics for a method. 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 CoverageStatistics : IEquatable<CoverageStatistics>
public value struct CoverageStatistics : IEquatable<CoverageStatistics>
[<Sealed>]
type CoverageStatistics = 
    struct
        interface IEquatable<CoverageStatistics>
    end
Public Structure CoverageStatistics
    Implements IEquatable(Of CoverageStatistics)

Properties

Name Description
System_CAPS_pubproperty BlocksCovered

Gets or sets the number of code blocks that are covered for the method. This class and its members are reserved for internal use and are not intended to be used in your code.

System_CAPS_pubproperty BlocksNotCovered

Gets or sets the number of code blocks that are not covered for the method. This class and its members are reserved for internal use and are not intended to be used in your code.

System_CAPS_pubproperty LinesCovered

Gets or sets the number of lines that are covered for the method. This class and its members are reserved for internal use and are not intended to be used in your code.

System_CAPS_pubproperty LinesNotCovered

Gets or sets the number of lines that are not covered for the method. This class and its members are reserved for internal use and are not intended to be used in your code.

System_CAPS_pubproperty LinesPartiallyCovered

Gets or sets the number of lines that are partially covered for the method. 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 Equals(CoverageStatistics)

Determines whether the provided coverage statistics object is equal to the current object. This class and its members are reserved for internal use and are not intended to be used in your code.

System_CAPS_pubmethod Equals(Object)

Determines whether the provided object is equal to the current coverage statistics object. This class and its members are reserved for internal use and are not intended to be used in your code.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethod GetHashCode()

This class and its members are reserved for internal use and are not intended to be used in your code.(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(CoverageStatistics, CoverageStatistics)

Determines whether two coverage statistics objects are equal when code uses the equality operator (==). This class and its members are reserved for internal use and are not intended to be used in your code.

System_CAPS_puboperatorSystem_CAPS_static Inequality(CoverageStatistics, CoverageStatistics)

Determines whether two coverage statistics objects are not equal when using the inequality operator (!=). This class and its members are reserved for internal use and are not intended to be used in your code.

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