ConstantHandle.Equals Method

Definition

Overloads

Equals(Object)
Equals(ConstantHandle)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Source:
Handles.TypeSystem.cs
Source:
Handles.TypeSystem.cs
Source:
Handles.TypeSystem.cs
Source:
Handles.TypeSystem.cs
public override bool Equals (object obj);
public override bool Equals (object? obj);

Parameters

obj
Object

Returns

Applies to

.NET 9 en andere versies
Product Versies
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)
UWP 10.0

Equals(ConstantHandle)

Source:
Handles.TypeSystem.cs
Source:
Handles.TypeSystem.cs
Source:
Handles.TypeSystem.cs
Source:
Handles.TypeSystem.cs

Indicates whether the current object is equal to another object of the same type.

public bool Equals (System.Reflection.Metadata.ConstantHandle other);

Parameters

other
ConstantHandle

An object to compare with this object.

Returns

true if the current object is equal to the other parameter; otherwise, false.

Implements

Applies to

.NET 9 en andere versies
Product Versies
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)
UWP 10.0