Skip to content

Commit

Permalink
[research needed]
Browse files Browse the repository at this point in the history
  • Loading branch information
jnm2 committed Nov 21, 2021
1 parent 78bc1e4 commit 7366b16
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
namespace TunnelVisionLabs.ReferenceAssemblyAnnotator
{
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Mono.Cecil;

internal static partial class EquivalenceComparers
Expand All @@ -16,7 +17,9 @@ private ArrayDimensionEqualityComparer()
{
}

#pragma warning disable CS8614 // In CLI builds: Nullability of reference types in type of parameter 'x' of 'bool ArrayDimensionEqualityComparer.Equals(ArrayDimension x, ArrayDimension y)' doesn't match implicitly implemented member 'bool IEqualityComparer<ArrayDimension>.Equals(ArrayDimension x, ArrayDimension y)'.
public bool Equals(ArrayDimension x, ArrayDimension y)
#pragma warning restore CS8614
{
return x.LowerBound == y.LowerBound
&& x.UpperBound == y.UpperBound;
Expand Down

0 comments on commit 7366b16

Please sign in to comment.