-
-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#348: Added coverage indicator for methods/properties
- Loading branch information
1 parent
a325580
commit afa1b81
Showing
18 changed files
with
249 additions
and
61 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
namespace Palmmedia.ReportGenerator.Core.Parser | ||
{ | ||
/// <summary> | ||
/// Temporar class to create <see cref="Analysis.CodeElement"/> once all required information is available. | ||
/// </summary> | ||
internal class CodeElementBase | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="CodeElementBase" /> class. | ||
/// </summary> | ||
/// <param name="name">The name of the method.</param> | ||
/// <param name="firstLine">The first line.</param> | ||
public CodeElementBase(string name, int firstLine) | ||
{ | ||
this.Name = name; | ||
this.FirstLine = firstLine; | ||
} | ||
|
||
/// <summary> | ||
/// Gets the name of the method. | ||
/// </summary> | ||
public string Name { get; } | ||
|
||
/// <summary> | ||
/// Gets the first line. | ||
/// </summary> | ||
public int FirstLine { get; } | ||
|
||
/// <summary> | ||
/// Returns a <see cref="string"/> that represents this instance. | ||
/// </summary> | ||
/// <returns> | ||
/// A <see cref="string"/> that represents this instance. | ||
/// </returns> | ||
public override string ToString() | ||
{ | ||
return this.Name; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.