chore: Use var everywhere (#2294)
This commit is contained in:
parent
0b34cc4417
commit
ebaf104935
267 changed files with 873 additions and 873 deletions
|
|
@ -19,7 +19,7 @@ public class Point2DTests
|
|||
[Fact]
|
||||
public void TestPoint2DTryFormatSucceeds()
|
||||
{
|
||||
char[] array = new char[128];
|
||||
var array = new char[128];
|
||||
|
||||
var p1 = new Point2D(0, 0);
|
||||
Assert.True(p1.TryFormat(array, out var cp1, null, null));
|
||||
|
|
@ -44,7 +44,7 @@ public class Point2DTests
|
|||
[Fact]
|
||||
public void TestPoint2DTryFormatFails()
|
||||
{
|
||||
char[] array = new char[1];
|
||||
var array = new char[1];
|
||||
|
||||
var p1 = new Point2D(0, 0);
|
||||
Assert.False(p1.TryFormat(array, out var cp1, null, null));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue