39 references to Equals
illink (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
SymbolDisplay\SymbolDisplayTests.cs (1)
5444Assert.True(new FormattedSymbol(sA, f1).GetHashCode().Equals(new FormattedSymbol(sA, f1).GetHashCode()));
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Internal\Text\ImageId.cs (1)
69if (id.Equals(other.Id))
Microsoft.Maui.Graphics (1)
FontSource.cs (1)
21 && Weight.Equals(other.Weight)
System.Drawing.Common.Tests (3)
System\Drawing\CharacterRangeTests.cs (1)
85Assert.Equal(expected, range.GetHashCode().Equals(otherRange.GetHashCode()));
System\Drawing\Drawing2D\MatrixTests.cs (1)
208Assert.Equal(ReferenceEquals(matrix, other), matrix.GetHashCode().Equals(other.GetHashCode()));
System\Drawing\Printing\MarginsTests.cs (1)
100Assert.Equal(expected, margins.GetHashCode().Equals(obj.GetHashCode()));
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (1)
1221return ((int)(object)left).Equals((int)(object)right);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
126if (!args.Length.Equals(otherArgs.Length))
System.ServiceModel.Primitives.Tests (1)
ServiceModel\SynchronizedCollection.cs (1)
49Assert.True(e.Current.Equals(n++), string.Format("Expected: {0}, got:{1}", n-1, e.Current));
System.Windows.Forms.Tests (13)
System\Windows\Forms\CursorTests.cs (1)
468Assert.Equal(expected, cursor.GetHashCode().Equals(obj.GetHashCode()));
System\Windows\Forms\DataGridViewCellStyleTests.cs (1)
1036Assert.Equal(expectedEqualHashCode ?? expected, style.GetHashCode().Equals(other.GetHashCode()));
System\Windows\Forms\Design\ToolStripItemDesignerAvailabilityAttributeTests.cs (1)
67Assert.Equal(expected, attribute.GetHashCode().Equals(other.GetHashCode()));
System\Windows\Forms\DockingAttributeTests.cs (1)
56Assert.Equal(expected, attribute.GetHashCode().Equals(other.GetHashCode()));
System\Windows\Forms\DockPaddingEdgesTests.cs (1)
295Assert.Equal(expected, padding.GetHashCode().Equals(other.GetHashCode()));
System\Windows\Forms\DragDropHelperTests.cs (2)
123bool isDragImageNull = BitOperations.LeadingZeroCount((uint)(nint)pDragImage->hbmpDragImage).Equals(32); 150bool isDragImageNull = BitOperations.LeadingZeroCount((uint)(nint)pDragImage->hbmpDragImage).Equals(32);
System\Windows\Forms\LinkAreaTests.cs (1)
84Assert.Equal(expected, area.GetHashCode().Equals(otherArea.GetHashCode()));
System\Windows\Forms\PaddingTests.cs (1)
401Assert.Equal(expected, padding.GetHashCode().Equals(otherPadding.GetHashCode()));
System\Windows\Forms\Printing\PrintPreviewControlTests.cs (2)
36Assert.False(SystemColors.AppWorkspace.ToArgb().Equals(actualBackColorArgb)); 43Assert.False(SystemColors.AppWorkspace.ToArgb().Equals(actualBackColorArgb));
System\Windows\Forms\ScreenTests.cs (1)
63Assert.Equal(expected, screen1.GetHashCode().Equals(screen2.GetHashCode()));
System\Windows\Forms\TableLayoutPanelCellPositionTests.cs (1)
84Assert.Equal(expected, position.GetHashCode().Equals(other.GetHashCode()));
System.Xaml.Tests (2)
System\Xaml\AttachableMemberIdentifierTests.cs (1)
54Assert.Equal(expected, identifier.GetHashCode().Equals(other.GetHashCode()));
System\Xaml\Schema\XamlValueConverterTests.cs (1)
130Assert.Equal(expected, converter.GetHashCode().Equals(other.GetHashCode()));
WindowsBase.Tests (14)
System\ComponentModel\PropertyFilterAttributeTests.cs (1)
50Assert.Equal(expected, attribute.GetHashCode().Equals(other.GetHashCode()));
System\ComponentModel\SortDescriptionTests.cs (1)
129Assert.Equal(expected, description.GetHashCode().Equals(otherDescription.GetHashCode()));
System\Security\RightsManagement\ContentUserTests.cs (1)
100Assert.Equal(expected, user!.GetHashCode().Equals(obj!.GetHashCode()));
System\Security\RightsManagement\LocalizedNameDescriptionPairTests.cs (1)
44Assert.Equal(expectedHashCode, pair.GetHashCode().Equals(otherPair.GetHashCode()));
System\Windows\AttachedPropertyBrowsableForTypeAttributeTests.cs (1)
44Assert.Equal(expected, attribute.GetHashCode().Equals(obj.GetHashCode()));
System\Windows\AttachedPropertyBrowsableWhenAttributePresentAttributeTests.cs (1)
43Assert.Equal(expected, attribute.GetHashCode().Equals(obj.GetHashCode()));
System\Windows\Int32RectTests.cs (1)
256Assert.Equal(expected, rect.GetHashCode().Equals(value.GetHashCode()));
System\Windows\LocalValueEnumeratorTests.cs (1)
174Assert.Equal(expectedHashCode, enumerator.GetHashCode().Equals(other.GetHashCode()));
System\Windows\Media\MatrixTests.cs (1)
685Assert.Equal(expectedHashCode, matrix.GetHashCode().Equals(value.GetHashCode()));
System\Windows\PointTests.cs (1)
200Assert.Equal(expected, point.GetHashCode().Equals(other.GetHashCode()));
System\Windows\RectTests.cs (1)
1598Assert.Equal(expectedHashCode, rect.GetHashCode().Equals(value.GetHashCode()));
System\Windows\SizeTests.cs (1)
226Assert.Equal(expectedHashCode, size.GetHashCode().Equals(value.GetHashCode()));
System\Windows\Threading\DispatcherProcessingDisabledTests.cs (1)
32Assert.Equal(expected, disabled.GetHashCode().Equals(other.GetHashCode()));
System\Windows\VectorTests.cs (1)
225Assert.Equal(expected, vector.GetHashCode().Equals(other.GetHashCode()));