Hi kana250688,
The error you are getting because you are comparing data of two different type.
You are matching variable of ulong type with long type variable, which throws the error.
For comparing both must be exact match.
else if (((ulong)this._timeout >= (ulong)this._duration || this.IsMouseWithinSnackbar()) && (!SnackbarView._isDirectClosure || this._hasBeenInvoked))
Refer below links,
https://stackoverflow.com/questions/34466286/operator-is-ambiguous-on-operands-of-type-ulong-and-intc
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/overload-resolution