Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CoverageInfo.GetMethodStatistics Method (Byte[], IList<BlockLineRange>)

 

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.

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

public static CoverageStatistics GetMethodStatistics(
	byte[] coverageBuffer,
	IList<BlockLineRange> lines
)

Parameters

coverageBuffer
Type: System.Byte[]

A buffer to use to create the statistics.

lines
Type: System.Collections.Generic.IList<BlockLineRange>

A list of BlockLineRange objects that have information about the code lines in a method.

Return Value

Type: Microsoft.VisualStudio.Coverage.Analysis.CoverageStatistics

The statistics about the provided lines.

Return to top
Show: