Skip to content

Commit

Permalink
Remove unused attribute
Browse files Browse the repository at this point in the history
This was an unintended addition.

Fixes #1513
  • Loading branch information
kzu committed Sep 7, 2024
1 parent ede9996 commit 1e8bd31
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/Moq/Mock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,8 @@
using Moq.Async;
using Moq.Properties;

[assembly: Sponsorable(60)]

namespace Moq
{
class SponsorableAttribute : Attribute
{
public SponsorableAttribute() { }
public SponsorableAttribute(int days) { }
}

/// <summary>
/// Base class for mocks and static helper class with methods that apply to mocked objects,
/// such as <see cref="Get"/> to retrieve a <see cref="Mock{T}"/> from an object instance.
Expand All @@ -40,13 +32,6 @@ protected Mock()
{
}

/// <summary>
/// If you're a sponsor, you can see this API!
/// </summary>
[Sponsorable]
[EditorBrowsable(EditorBrowsableState.Never)]
public static bool IsSponsor => true;

/// <summary>
/// Retrieves the mock object for the given object instance.
/// </summary>
Expand Down

0 comments on commit 1e8bd31

Please sign in to comment.