Share via


CoverageInfo.GetMethodStatistics Method

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

'Declaration
Public Shared Function GetMethodStatistics ( _
    coverageBuffer As Byte(), _
    lines As IList(Of BlockLineRange) _
) As CoverageStatistics
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 static function GetMethodStatistics(
    coverageBuffer : byte[], 
    lines : IList<BlockLineRange>
) : CoverageStatistics

Parameters

  • coverageBuffer
    Type: array<System.Byte[]
    A buffer to use to create the statistics.

Return Value

Type: Microsoft.VisualStudio.Coverage.Analysis.CoverageStatistics
The statistics about the provided lines.

.NET Framework Security

See Also

Reference

CoverageInfo Class

Microsoft.VisualStudio.Coverage.Analysis Namespace

CoverageStatistics

BlockLineRange