@@ -9076,9 +9076,9 @@ public void TestImplementsNonGenericIEnumerableWithNoAdd_ProhibitEnumerableNonCo
90769076 public void TestOmitNullEntryInDictionary()
90779077 {
90789078 var context = GetSerializationContext();
9079- Assert.That( context.DictionarySerlaizationOptions .OmitNullEntry, Is.False, "default value" );
9079+ Assert.That( context.DictionarySerializationOptions .OmitNullEntry, Is.False, "default value" );
90809080 TestOmitNullEntryInDictionaryCore( context, true, false );
9081- context.DictionarySerlaizationOptions .OmitNullEntry = true;
9081+ context.DictionarySerializationOptions .OmitNullEntry = true;
90829082 TestOmitNullEntryInDictionaryCore( context, false, false );
90839083 }
90849084
@@ -9088,9 +9088,9 @@ public void TestOmitNullEntryInDictionary()
90889088 public void TestOmitNullEntryInDictionary_Async()
90899089 {
90909090 var context = GetSerializationContext();
9091- Assert.That( context.DictionarySerlaizationOptions .OmitNullEntry, Is.False, "default value" );
9091+ Assert.That( context.DictionarySerializationOptions .OmitNullEntry, Is.False, "default value" );
90929092 TestOmitNullEntryInDictionaryCore( context, true, true );
9093- context.DictionarySerlaizationOptions .OmitNullEntry = true;
9093+ context.DictionarySerializationOptions .OmitNullEntry = true;
90949094 TestOmitNullEntryInDictionaryCore( context, false, true );
90959095 }
90969096
@@ -9103,7 +9103,7 @@ public void TestOmitNullEntryInDictionary_BackwordCompatibility()
91039103 try
91049104 {
91059105 var context = GetSerializationContext();
9106- context.DictionarySerlaizationOptions .OmitNullEntry = true;
9106+ context.DictionarySerializationOptions .OmitNullEntry = true;
91079107 TestOmitNullEntryInDictionaryCore( context, true, false );
91089108 }
91099109 finally
@@ -9121,7 +9121,7 @@ public void TestOmitNullEntryInDictionary_BackwordCompatibility_Async()
91219121 try
91229122 {
91239123 var context = GetSerializationContext();
9124- context.DictionarySerlaizationOptions .OmitNullEntry = true;
9124+ context.DictionarySerializationOptions .OmitNullEntry = true;
91259125 TestOmitNullEntryInDictionaryCore( context, true, true );
91269126 }
91279127 finally
@@ -9195,7 +9195,7 @@ private static void TestOmitNullEntryInDictionaryCore( SerializationContext cont
91959195 public void TestDictionaryKeyTransformer_Default_AsIs()
91969196 {
91979197 var context = GetSerializationContext();
9198- Assert.That( context.DictionarySerlaizationOptions .KeyTransformer, Is.Null, "default value" );
9198+ Assert.That( context.DictionarySerializationOptions .KeyTransformer, Is.Null, "default value" );
91999199 TestDictionaryKeyCore( context, "FirstProperty", "SecondProperty", "ThirdProperty", "FourthProperty", asIs: true, isAsync: false );
92009200 }
92019201
@@ -9205,7 +9205,7 @@ public void TestDictionaryKeyTransformer_Default_AsIs()
92059205 public void TestDictionaryKeyTransformer_Default_AsIs_Async()
92069206 {
92079207 var context = GetSerializationContext();
9208- Assert.That( context.DictionarySerlaizationOptions .KeyTransformer, Is.Null, "default value" );
9208+ Assert.That( context.DictionarySerializationOptions .KeyTransformer, Is.Null, "default value" );
92099209 TestDictionaryKeyCore( context, "FirstProperty", "SecondProperty", "ThirdProperty", "FourthProperty", asIs: true, isAsync: true );
92109210 }
92119211
@@ -9215,7 +9215,7 @@ public void TestDictionaryKeyTransformer_Default_AsIs_Async()
92159215 public void TestDictionaryKeyTransformer_LowerCamel()
92169216 {
92179217 var context = GetSerializationContext();
9218- context.DictionarySerlaizationOptions .KeyTransformer = DictionaryKeyTransformers.LowerCamel;
9218+ context.DictionarySerializationOptions .KeyTransformer = DictionaryKeyTransformers.LowerCamel;
92199219 TestDictionaryKeyCore( context, "firstProperty", "secondProperty", "thirdProperty", "fourthProperty", asIs: false, isAsync: false );
92209220 }
92219221
@@ -9225,7 +9225,7 @@ public void TestDictionaryKeyTransformer_LowerCamel()
92259225 public void TestDictionaryKeyTransformer_LowerCamel_Async()
92269226 {
92279227 var context = GetSerializationContext();
9228- context.DictionarySerlaizationOptions .KeyTransformer = DictionaryKeyTransformers.LowerCamel;
9228+ context.DictionarySerializationOptions .KeyTransformer = DictionaryKeyTransformers.LowerCamel;
92299229 TestDictionaryKeyCore( context, "firstProperty", "secondProperty", "thirdProperty", "fourthProperty", asIs: false, isAsync: true );
92309230 }
92319231
@@ -9235,7 +9235,7 @@ public void TestDictionaryKeyTransformer_LowerCamel_Async()
92359235 public void TestDictionaryKeyTransformer_Custom()
92369236 {
92379237 var context = GetSerializationContext();
9238- context.DictionarySerlaizationOptions .KeyTransformer =
9238+ context.DictionarySerializationOptions .KeyTransformer =
92399239 key => Regex.Replace( key, "[A-Z]", match => match.Index == 0 ? match.Value.ToLower() : "-" + match.Value.ToLower() );
92409240 TestDictionaryKeyCore( context, "first-property", "second-property", "third-property", "fourth-property", asIs: false, isAsync: false );
92419241 }
@@ -9246,7 +9246,7 @@ public void TestDictionaryKeyTransformer_Custom()
92469246 public void TestDictionaryKeyTransformer_Custom_Async()
92479247 {
92489248 var context = GetSerializationContext();
9249- context.DictionarySerlaizationOptions .KeyTransformer =
9249+ context.DictionarySerializationOptions .KeyTransformer =
92509250 key => Regex.Replace( key, "[A-Z]", match => match.Index == 0 ? match.Value.ToLower() : "-" + match.Value.ToLower() );
92519251 TestDictionaryKeyCore( context, "first-property", "second-property", "third-property", "fourth-property", asIs: false, isAsync: true );
92529252 }
0 commit comments