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