Is the equality operator of MongoClientSettings bugged?

var settings1 = MongoClientSettings.FromConnectionString("mongodb+srv://arik:arik123@test.abcd.mongodb.net/?w=majority");
var settings2 = MongoClientSettings.FromConnectionString("mongodb+srv://arik:arik123@test.abcd.mongodb.net/?w=majority");

Console.WriteLine(settings1 == settings2);

Result is False even though they are the same.

After playing around with it I realized when removing w=majority the comparison works.
For example

var settings1 = MongoClientSettings.FromConnectionString("mongodb+srv://arik:arik123@test.abcd.mongodb.net/?retryWrites=true");
var settings2 = MongoClientSettings.FromConnectionString("mongodb+srv://arik:arik123@test.abcd.mongodb.net/?retryWrites=true");

Console.WriteLine(settings1 == settings2);

The result is True.

Why is this the behavior?

Thanks.

After looking at the code of the Equals method I found the problem.
You guys forgot to implement the equality operator of the class WriteConcern.
Therefore it’s comparing by the default operator (by reference).