|
|
|
|
@ -52,9 +52,7 @@ namespace ICSharpCode.CodeCoverage
@@ -52,9 +52,7 @@ namespace ICSharpCode.CodeCoverage
|
|
|
|
|
CodeCoveragePropertyCollection properties = new CodeCoveragePropertyCollection(); |
|
|
|
|
foreach (CodeCoverageMethod method in Methods) { |
|
|
|
|
// method name that is generated by compiler, contains "__" (double underscore)
|
|
|
|
|
// method that contains no sequence points cannot be subject to "code coverage"
|
|
|
|
|
// ie: "yield" enumerator method is replaced by compiler generated method
|
|
|
|
|
if ( !method.Name.Contains("__") ) { // && method.SequencePointsCount != 0) {
|
|
|
|
|
if ( !method.Name.Contains("__") ) { |
|
|
|
|
if (method.IsProperty) { |
|
|
|
|
properties.Add(method); |
|
|
|
|
} else { |
|
|
|
|
|