Remove ToString overrides for record structs
This commit is contained in:
parent
8737aa73a9
commit
c4b27b31cc
2 changed files with 0 additions and 10 deletions
|
|
@ -221,9 +221,4 @@ public record struct Color
|
||||||
{
|
{
|
||||||
return (byte)(a + (b - a) * t);
|
return (byte)(a + (b - a) * t);
|
||||||
}
|
}
|
||||||
|
|
||||||
public readonly override string ToString()
|
|
||||||
{
|
|
||||||
return $"{{R:{R} G:{G} B:{B} A:{A}}}";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -106,9 +106,4 @@ public record struct Rectangle
|
||||||
Width -= shrink * 2.0f;
|
Width -= shrink * 2.0f;
|
||||||
Height -= shrink * 2.0f;
|
Height -= shrink * 2.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
public readonly override string ToString()
|
|
||||||
{
|
|
||||||
return $"{{X:{X} Y:{Y} Width:{Width} Height:{Height}}}";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue