CoverageInfo Class

Represents code coverage analysis information. This class and its members are reserved for internal use and are not intended to be used in your code.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Coverage.Analysis.CoverageInfo

Namespace:  Microsoft.VisualStudio.Coverage.Analysis
Assembly:  Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)

Syntax

'Declaration
Public Class CoverageInfo _
    Implements ICoverageDataProvider, IDisposable
public class CoverageInfo : ICoverageDataProvider, 
    IDisposable
public ref class CoverageInfo : ICoverageDataProvider, 
    IDisposable
type CoverageInfo =  
    class
        interface ICoverageDataProvider
        interface IDisposable
    end
public class CoverageInfo implements ICoverageDataProvider, IDisposable

The CoverageInfo type exposes the following members.

Properties

  Name Description
Public property Modules Returns a read-only collection of code modules that is covered by this analysis. This class and its members are reserved for internal use and are not intended to be used in your code.
Public property Tests Returns a read-only collection of tests that is covered by this analysis. This class and its members are reserved for internal use and are not intended to be used in your code.

Top

Methods

  Name Description
Public method BuildDataSet() Builds a CoverageDS data set.
Public method BuildDataSet(Boolean) Builds a CoverageDS data set by using the provided specification of whether to build a summary data set on all tests and modules in the coverage data. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method BuildDataSet(IEnumerable<Guid>) Builds a CoverageDS data set by using the provided list of test GUIDs. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method BuildDataSet(Boolean, IEnumerable<Guid>) Builds a CoverageDS data set by using the provided indication of whether to build a summary data set on the provided list of tests. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method BuildDataSet(IEnumerable<Guid>, IEnumerable<String>) Builds a CoverageDS data set by using the provided lists of GUIDs for tests and the provided list of modules. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method BuildDataSet(Boolean, IEnumerable<Guid>, IEnumerable<String>) Builds a CoverageDS data set by using the provided indication of whether to build a summary, a list of tests, and a list of modules. This class and its members are reserved for internal use and are not intended to be used in your code.
Public methodStatic member CreateFromFile(String) Creates a new CoverageInfo object by using the provided path of an XML file that contains serialized coverage information. This class and its members are reserved for internal use and are not intended to be used in your code.
Public methodStatic member CreateFromFile(String, MissingFileCallback) Creates a new CoverageInfo object by using the provided path for an XML file that contains serialized coverage information and a delegate for the method if the file cannot be found. This class and its members are reserved for internal use and are not intended to be used in your code.
Public methodStatic member CreateFromFile(String, IEnumerable<String>, IEnumerable<String>) Creates a new CoverageInfo object by using the provided path for an XML file that contains serialized coverage information, a list of executable paths, and a list of symbol paths. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method Dispose Releases all resources that are used by the CoverageInfo. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method 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.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodStatic member GetMethodStatistics Returns a CoverageStatistics object by using the provided buffer and list of code lines. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member Join Merges two CoverageInfo objects. This class and its members are reserved for internal use and are not intended to be used in your code.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

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.

See Also

Reference

Microsoft.VisualStudio.Coverage.Analysis Namespace

ICoverageDataProvider