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.
- 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.