Language

JniRuntime.ReplacementMethodInfo.Equals Method

Definition

Overloads

Name Description
Equals(JniRuntime+ReplacementMethodInfo)

Compares all eight stored replacement metadata components.

Equals(Object)

Tests whether an object is an equal replacement description.

Equals(JniRuntime+ReplacementMethodInfo)

Compares all eight stored replacement metadata components.

public bool Equals(Java.Interop.JniRuntime.ReplacementMethodInfo other);
override this.Equals : Java.Interop.JniRuntime.ReplacementMethodInfo -> bool

Parameters

other
JniRuntime.ReplacementMethodInfo

The replacement description to compare.

Returns

true when every component is equal; otherwise, false.

Implements

Remarks

String components use ordinal, case-sensitive equality; nullable counts and the redirect flag are compared by value.

Applies to

Equals(Object)

Tests whether an object is an equal replacement description.

public override bool Equals(object? obj);
override this.Equals : obj -> bool

Parameters

obj
Object

The object to compare with this description.

Returns

true if obj is an equal JniRuntime.ReplacementMethodInfo; otherwise, false.

Remarks

Null and objects of other types compare unequal.

Applies to