2 instantiations of Point
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Binding\FormDataMapperTests.cs (2)
238
var expected = new
Point
{ X = 1, Y = 1 };
2252
var result = new
Point
();
14 references to Point
Microsoft.AspNetCore.Components.Endpoints.Tests (14)
Binding\FormDataMapperTests.cs (14)
238
var
expected = new Point { X = 1, Y = 1 };
245
var result = FormDataMapper.Map<
Point
>(reader, options);
2238
internal class Point : IParsable<
Point
>, IEquatable<
Point
>
2243
public static
Point
Parse(string s, IFormatProvider provider)
2252
var
result = new Point();
2258
public static bool TryParse([NotNullWhen(true)] string s, IFormatProvider provider, [MaybeNullWhen(false)] out
Point
result)
2274
public override bool Equals(object obj) => Equals(obj as
Point
);
2276
public bool Equals(
Point
other) => other is not null && X == other.X && Y == other.Y;
2280
public static bool operator ==(
Point
left,
Point
right) => EqualityComparer<
Point
>.Default.Equals(left, right);
2282
public static bool operator !=(
Point
left,
Point
right) => !(left == right);