Skip to content

Commit

Permalink
Merge pull request #2 from ricardoboss/issues/1-exclude-from-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nitz authored Nov 14, 2023
2 parents c91ac02 + ee9903f commit 72a7f14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BuildTimestamp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ public void Execute(GeneratorExecutionContext context)

string source = $@"// Auto-generated code
using System;
using System.Diagnostics.CodeAnalysis;
namespace {nameof(cmdwtf)}
{{
/// <summary>
/// A static class representing when it was generated.
/// </summary>
[ExcludeFromCodeCoverage]
internal static class {nameof(BuildTimestamp)}
{{
/// <summary>
Expand Down

0 comments on commit 72a7f14

Please sign in to comment.