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
'Declaration
Public Structure CoverageStatistics _
Implements IEquatable(Of CoverageStatistics)
public struct CoverageStatistics : IEquatable<CoverageStatistics>
public value class CoverageStatistics : IEquatable<CoverageStatistics>
[<SealedAttribute>]
type CoverageStatistics =
struct
interface IEquatable<CoverageStatistics>
end
JScript supports the use of structures, but not the declaration of new ones.
The CoverageStatistics type exposes the following members.
Properties
Name | Description | |
---|---|---|
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. | |
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. | |
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. | |
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. | |
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. |
Top
Methods
Name | Description | |
---|---|---|
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).) | |
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. | |
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 | This class and its members are reserved for internal use and are not intended to be used in your code. (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 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. | |
Inequality | 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. |
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.