@@ -11,11 +11,11 @@ public void Serialize_Guid()
1111 {
1212 // arrange
1313 var uuidType = new UuidType ( ) ;
14- Guid guid = Guid . NewGuid ( ) ;
15- string expectedValue = guid . ToString ( "N" ) ;
14+ var guid = Guid . NewGuid ( ) ;
15+ var expectedValue = guid . ToString ( "N" ) ;
1616
1717 // act
18- string serializedValue = ( string ) uuidType . Serialize ( guid ) ;
18+ var serializedValue = ( string ) uuidType . Serialize ( guid ) ;
1919
2020 // assert
2121 Assert . Equal ( expectedValue , serializedValue ) ;
@@ -28,7 +28,7 @@ public void Serialize_Null()
2828 var uuidType = new UuidType ( ) ;
2929
3030 // act
31- object serializedValue = uuidType . Serialize ( null ) ;
31+ var serializedValue = uuidType . Serialize ( null ) ;
3232
3333 // assert
3434 Assert . Null ( serializedValue ) ;
@@ -39,11 +39,11 @@ public void ParseLiteral_StringValueNode()
3939 {
4040 // arrange
4141 var uuidType = new UuidType ( ) ;
42- Guid expected = Guid . NewGuid ( ) ;
42+ var expected = Guid . NewGuid ( ) ;
4343 var literal = new StringValueNode ( expected . ToString ( ) ) ;
4444
4545 // act
46- Guid actual = ( Guid ) uuidType
46+ var actual = ( Guid ) uuidType
4747 . ParseLiteral ( literal ) ;
4848
4949 // assert
@@ -58,7 +58,7 @@ public void ParseLiteral_NullValueNode()
5858 NullValueNode literal = NullValueNode . Default ;
5959
6060 // act
61- object value = uuidType . ParseLiteral ( literal ) ;
61+ var value = uuidType . ParseLiteral ( literal ) ;
6262
6363 // assert
6464 Assert . Null ( value ) ;
@@ -69,11 +69,11 @@ public void ParseValue_Guid()
6969 {
7070 // arrange
7171 var uuidType = new UuidType ( ) ;
72- Guid expected = Guid . NewGuid ( ) ;
73- string expectedLiteralValue = expected . ToString ( "N" ) ;
72+ var expected = Guid . NewGuid ( ) ;
73+ var expectedLiteralValue = expected . ToString ( "N" ) ;
7474
7575 // act
76- StringValueNode stringLiteral =
76+ var stringLiteral =
7777 ( StringValueNode ) uuidType . ParseValue ( expected ) ;
7878
7979 // assert
0 commit comments