Created
September 20, 2010 10:00
-
-
Save mhenrixon/587682 to your computer and use it in GitHub Desktop.
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
using System; | |
using System.ComponentModel; | |
using System.Diagnostics.CodeAnalysis; | |
namespace Moq | |
{ | |
[EditorBrowsable(EditorBrowsableState.Never)] | |
public interface IHideObjectMembers | |
{ | |
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", | |
Justification = "We\'re hiding Object.GetType")] | |
[EditorBrowsable(EditorBrowsableState.Never)] | |
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", | |
Justification = "We\'re hiding Object.GetType", MessageId = "GetType")] | |
Type GetType(); | |
[EditorBrowsable(EditorBrowsableState.Never)] | |
int GetHashCode(); | |
[EditorBrowsable(EditorBrowsableState.Never)] | |
string ToString(); | |
[EditorBrowsable(EditorBrowsableState.Never)] | |
bool Equals(object other); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment