Skip to content

Commit 959fc51

Browse files
committedSep 7, 2024·
Remove unused attribute
This was an unintended addition. Fixes #1513
1 parent ede9996 commit 959fc51

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed
 

‎src/Moq/Mock.cs

-15
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,8 @@
1414
using Moq.Async;
1515
using Moq.Properties;
1616

17-
[assembly: Sponsorable(60)]
18-
1917
namespace Moq
2018
{
21-
class SponsorableAttribute : Attribute
22-
{
23-
public SponsorableAttribute() { }
24-
public SponsorableAttribute(int days) { }
25-
}
26-
2719
/// <summary>
2820
/// Base class for mocks and static helper class with methods that apply to mocked objects,
2921
/// such as <see cref="Get"/> to retrieve a <see cref="Mock{T}"/> from an object instance.
@@ -40,13 +32,6 @@ protected Mock()
4032
{
4133
}
4234

43-
/// <summary>
44-
/// If you're a sponsor, you can see this API!
45-
/// </summary>
46-
[Sponsorable]
47-
[EditorBrowsable(EditorBrowsableState.Never)]
48-
public static bool IsSponsor => true;
49-
5035
/// <summary>
5136
/// Retrieves the mock object for the given object instance.
5237
/// </summary>

0 commit comments

Comments
 (0)
Please sign in to comment.