SequencePoint.Equals Method

Definition

Overloads

Equals(Object)

Indicates whether the current sequence point is equal to the specified object.

Equals(SequencePoint)

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

Equals(Object)

Source:
SequencePoint.cs
Source:
SequencePoint.cs
Source:
SequencePoint.cs
Source:
SequencePoint.cs

Indicates whether the current sequence point is equal to the specified object.

C#
public override bool Equals(object? obj);
C#
public override bool Equals(object obj);

Parameters

obj
Object

The object to compare with the current object.

Returns

true if the current sequence point is equal to the obj parameter; otherwise, false.

Applies to

.NET 9 and other versions
Product Versions
.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)

Equals(SequencePoint)

Source:
SequencePoint.cs
Source:
SequencePoint.cs
Source:
SequencePoint.cs
Source:
SequencePoint.cs

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

C#
public bool Equals(System.Reflection.Metadata.SequencePoint other);

Parameters

other
SequencePoint

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 and other versions
Product Versions
.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)