2 instantiations of ValuePoint
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Binding\FormDataMapperTests.cs (2)
256
var expected = new
ValuePoint
{ X = 1, Y = 1 };
2300
var result = new
ValuePoint
();
15 references to ValuePoint
Microsoft.AspNetCore.Components.Endpoints.Tests (15)
Binding\FormDataMapperTests.cs (15)
256
var
expected = new ValuePoint { X = 1, Y = 1 };
263
var result = FormDataMapper.Map<
ValuePoint
?>(reader, options);
279
var result = FormDataMapper.Map<
ValuePoint
?>(reader, options);
2285
internal struct ValuePoint : IParsable<
ValuePoint
>, IEquatable<
ValuePoint
>
2291
public static
ValuePoint
Parse(string s, IFormatProvider provider)
2300
var
result = new ValuePoint();
2306
public static bool TryParse([NotNullWhen(true)] string s, IFormatProvider provider, [MaybeNullWhen(false)] out
ValuePoint
result)
2322
public override bool Equals(object obj) => Equals((
ValuePoint
)obj);
2324
public bool Equals(
ValuePoint
other) => X == other.X && Y == other.Y;
2328
public static bool operator ==(
ValuePoint
left,
ValuePoint
right) => EqualityComparer<
ValuePoint
>.Default.Equals(left, right);
2330
public static bool operator !=(
ValuePoint
left,
ValuePoint
right) => !(left == right);