Skip to content

Commit

Permalink
Updated cs files
Browse files Browse the repository at this point in the history
  • Loading branch information
david-driscoll committed Jan 19, 2020
1 parent d316c9a commit 4601b09
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Nuke/ComputedGitVersionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
Expand All @@ -20,6 +21,7 @@ namespace Rocket.Surgery.Nuke
/// </summary>
[PublicAPI]
[UsedImplicitly(ImplicitUseKindFlags.Default)]
[ExcludeFromCodeCoverage]
public class ComputedGitVersionAttribute : InjectionAttributeBase
{
/// <summary>
Expand Down Expand Up @@ -78,7 +80,7 @@ public override object GetValue(MemberInfo member, object instance)
private class AllWritableContractResolver : DefaultContractResolver
{
protected override JsonProperty CreateProperty(
[NotNull] MemberInfo member,
[JetBrains.Annotations.NotNull] MemberInfo member,
MemberSerialization memberSerialization
)
{
Expand Down
7 changes: 6 additions & 1 deletion src/Nuke/OptionalGitRepositoryAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
using System.Linq;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Nuke.Common;
using Nuke.Common.Git;
using Nuke.Common.IO;

namespace Rocket.Surgery.Nuke
{
/// <inheritdoc />
[PublicAPI]
[UsedImplicitly(ImplicitUseKindFlags.Default)]
[ExcludeFromCodeCoverage]
public class OptionalGitRepositoryAttribute : GitRepositoryAttribute
{
/// <inheritdoc />
Expand Down

0 comments on commit 4601b09

Please sign in to comment.