Suppress warning about overriding Equals but not GetHashCode

This commit is contained in:
Sam Harwell 2013-02-25 12:41:21 -06:00
parent eaa92eb826
commit 81b256d1f3
3 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@ using Sharpen;
namespace Antlr4.Runtime.Atn
{
#pragma warning disable 0659 // 'class' overrides Object.Equals(object o) but does not override Object.GetHashCode()
public class ArrayPredictionContext : PredictionContext
{
[NotNull]

View File

@ -34,6 +34,7 @@ using Sharpen;
namespace Antlr4.Runtime.Atn
{
#pragma warning disable 0659 // 'class' overrides Object.Equals(object o) but does not override Object.GetHashCode()
public sealed class EmptyPredictionContext : PredictionContext
{
public static readonly Antlr4.Runtime.Atn.EmptyPredictionContext LocalContext = new

View File

@ -33,6 +33,7 @@ using Sharpen;
namespace Antlr4.Runtime.Atn
{
#pragma warning disable 0659 // 'class' overrides Object.Equals(object o) but does not override Object.GetHashCode()
public class SingletonPredictionContext : PredictionContext
{
[NotNull]