Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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)
Comment on lines +19 to 20
Copy link
Contributor Author

@jnm2 jnm2 Nov 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sharwell ArrayDimension is a struct coming from the Mono.Cecil package. This issue doesn't repro unless RAA is rewriting reference assemblies.

Not sure if this is an existing RAA problem when used normally or whether it's a regression introduced in this PR.

#pragma warning restore CS8614
{
return x.LowerBound == y.LowerBound
&& x.UpperBound == y.UpperBound;
Expand Down