Skip to content

Instantly share code, notes, and snippets.

@mhenrixon
Created September 20, 2010 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhenrixon/587682 to your computer and use it in GitHub Desktop.
Save mhenrixon/587682 to your computer and use it in GitHub Desktop.
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