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)
Syntax
public static CoverageStatistics GetMethodStatistics(
byte[] coverageBuffer,
IList<BlockLineRange> lines
)
public:
static CoverageStatistics GetMethodStatistics(
array<unsigned char>^ coverageBuffer,
IList<BlockLineRange>^ lines
)
static member GetMethodStatistics :
coverageBuffer:byte[] *
lines:IList<BlockLineRange> -> CoverageStatistics
Public Shared Function GetMethodStatistics (
coverageBuffer As Byte(),
lines As IList(Of BlockLineRange)
) As CoverageStatistics
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.
See Also
CoverageStatistics
BlockLineRange
CoverageInfo Class
Microsoft.VisualStudio.Coverage.Analysis Namespace
Return to top