@@ -571,7 +571,7 @@ public Task ScopedSerializerFluent()
571
571
.AddExtraSettings (_ => _ .TypeNameHandling = TypeNameHandling .All );
572
572
}
573
573
```
574
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3248-L3275 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-scopedserializer ' title =' Start of snippet ' >anchor</a ></sup >
574
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3250-L3277 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-scopedserializer ' title =' Start of snippet ' >anchor</a ></sup >
575
575
<!-- endSnippet -->
576
576
577
577
Result:
@@ -699,7 +699,7 @@ public Task IgnoreTypeFluent()
699
699
.IgnoreMembersWithType <ToIgnoreStruct >();
700
700
}
701
701
```
702
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2265-L2370 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addignoretype ' title =' Start of snippet ' >anchor</a ></sup >
702
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2267-L2372 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addignoretype ' title =' Start of snippet ' >anchor</a ></sup >
703
703
<!-- endSnippet -->
704
704
705
705
Or globally:
@@ -709,7 +709,7 @@ Or globally:
709
709
``` cs
710
710
VerifierSettings .IgnoreMembersWithType <ToIgnore >();
711
711
```
712
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2252-L2256 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addignoretypeglobal ' title =' Start of snippet ' >anchor</a ></sup >
712
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2254-L2258 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addignoretypeglobal ' title =' Start of snippet ' >anchor</a ></sup >
713
713
<!-- endSnippet -->
714
714
715
715
Result:
@@ -846,7 +846,7 @@ public Task ScrubTypeFluent()
846
846
.ScrubMembersWithType <ToIgnoreStruct >();
847
847
}
848
848
```
849
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2373-L2478 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addscrubtype ' title =' Start of snippet ' >anchor</a ></sup >
849
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2375-L2480 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addscrubtype ' title =' Start of snippet ' >anchor</a ></sup >
850
850
<!-- endSnippet -->
851
851
852
852
Or globally:
@@ -856,7 +856,7 @@ Or globally:
856
856
``` cs
857
857
VerifierSettings .ScrubMembersWithType <ToIgnore >();
858
858
```
859
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2258-L2262 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addscrubtypeglobal ' title =' Start of snippet ' >anchor</a ></sup >
859
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2260-L2264 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addscrubtypeglobal ' title =' Start of snippet ' >anchor</a ></sup >
860
860
<!-- endSnippet -->
861
861
862
862
Result:
@@ -935,7 +935,7 @@ public Task AddIgnoreInstanceFluent()
935
935
.IgnoreInstance <Instance >(_ => _ .Property == " Ignore" );
936
936
}
937
937
```
938
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2138-L2177 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addignoreinstance ' title =' Start of snippet ' >anchor</a ></sup >
938
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2140-L2179 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addignoreinstance ' title =' Start of snippet ' >anchor</a ></sup >
939
939
<!-- endSnippet -->
940
940
941
941
Or globally:
@@ -945,7 +945,7 @@ Or globally:
945
945
``` cs
946
946
VerifierSettings .IgnoreInstance <Instance >(_ => _ .Property == " Ignore" );
947
947
```
948
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2125-L2129 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addignoreinstanceglobal ' title =' Start of snippet ' >anchor</a ></sup >
948
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2127-L2131 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addignoreinstanceglobal ' title =' Start of snippet ' >anchor</a ></sup >
949
949
<!-- endSnippet -->
950
950
951
951
Result:
@@ -1007,7 +1007,7 @@ public Task AddScrubInstanceFluent()
1007
1007
.ScrubInstance <Instance >(_ => _ .Property == " Ignore" );
1008
1008
}
1009
1009
```
1010
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2179-L2218 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addscrubinstance ' title =' Start of snippet ' >anchor</a ></sup >
1010
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2181-L2220 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addscrubinstance ' title =' Start of snippet ' >anchor</a ></sup >
1011
1011
<!-- endSnippet -->
1012
1012
1013
1013
Or globally:
@@ -1017,7 +1017,7 @@ Or globally:
1017
1017
``` cs
1018
1018
VerifierSettings .ScrubInstance <Instance >(_ => _ .Property == " Ignore" );
1019
1019
```
1020
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2131-L2135 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addscrubinstanceglobal ' title =' Start of snippet ' >anchor</a ></sup >
1020
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2133-L2137 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-addscrubinstanceglobal ' title =' Start of snippet ' >anchor</a ></sup >
1021
1021
<!-- endSnippet -->
1022
1022
1023
1023
Result:
@@ -1062,7 +1062,7 @@ public Task WithObsoleteProp()
1062
1062
return Verify (target );
1063
1063
}
1064
1064
```
1065
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3213-L3234 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-withobsoleteprop ' title =' Start of snippet ' >anchor</a ></sup >
1065
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3215-L3236 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-withobsoleteprop ' title =' Start of snippet ' >anchor</a ></sup >
1066
1066
<!-- endSnippet -->
1067
1067
1068
1068
Result:
@@ -1110,7 +1110,7 @@ public Task WithObsoletePropIncludedFluent()
1110
1110
.IncludeObsoletes ();
1111
1111
}
1112
1112
```
1113
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3184-L3211 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-withobsoletepropincluded ' title =' Start of snippet ' >anchor</a ></sup >
1113
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3186-L3213 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-withobsoletepropincluded ' title =' Start of snippet ' >anchor</a ></sup >
1114
1114
<!-- endSnippet -->
1115
1115
1116
1116
Or globally:
@@ -1120,7 +1120,7 @@ Or globally:
1120
1120
``` cs
1121
1121
VerifierSettings .IncludeObsoletes ();
1122
1122
```
1123
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3177-L3181 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-withobsoletepropincludedglobally ' title =' Start of snippet ' >anchor</a ></sup >
1123
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3179-L3183 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-withobsoletepropincludedglobally ' title =' Start of snippet ' >anchor</a ></sup >
1124
1124
<!-- endSnippet -->
1125
1125
1126
1126
Result:
@@ -1181,7 +1181,7 @@ public Task IgnoreMemberByExpressionFluent()
1181
1181
_ => _ .PropertyThatThrows );
1182
1182
}
1183
1183
```
1184
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2691-L2730 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignorememberbyexpression ' title =' Start of snippet ' >anchor</a ></sup >
1184
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2693-L2732 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignorememberbyexpression ' title =' Start of snippet ' >anchor</a ></sup >
1185
1185
<!-- endSnippet -->
1186
1186
1187
1187
Or globally
@@ -1196,7 +1196,7 @@ VerifierSettings.IgnoreMembers<IgnoreExplicitTarget>(
1196
1196
_ => _ .GetOnlyProperty ,
1197
1197
_ => _ .PropertyThatThrows );
1198
1198
```
1199
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2668-L2677 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignorememberbyexpressionglobal ' title =' Start of snippet ' >anchor</a ></sup >
1199
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2670-L2679 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignorememberbyexpressionglobal ' title =' Start of snippet ' >anchor</a ></sup >
1200
1200
<!-- endSnippet -->
1201
1201
1202
1202
Result:
@@ -1256,7 +1256,7 @@ public Task ScrubMemberByExpressionFluent()
1256
1256
_ => _ .PropertyThatThrows );
1257
1257
}
1258
1258
```
1259
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2732-L2771 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-scrubmemberbyexpression ' title =' Start of snippet ' >anchor</a ></sup >
1259
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2734-L2773 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-scrubmemberbyexpression ' title =' Start of snippet ' >anchor</a ></sup >
1260
1260
<!-- endSnippet -->
1261
1261
1262
1262
Or globally
@@ -1271,7 +1271,7 @@ VerifierSettings.ScrubMembers<IgnoreExplicitTarget>(
1271
1271
_ => _ .GetOnlyProperty ,
1272
1272
_ => _ .PropertyThatThrows );
1273
1273
```
1274
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2679-L2688 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-scrubmemberbyexpressionglobal ' title =' Start of snippet ' >anchor</a ></sup >
1274
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2681-L2690 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-scrubmemberbyexpressionglobal ' title =' Start of snippet ' >anchor</a ></sup >
1275
1275
<!-- endSnippet -->
1276
1276
1277
1277
Result:
@@ -1350,7 +1350,7 @@ public Task IgnoreMemberByNameFluent()
1350
1350
.IgnoreMember <IgnoreExplicitTarget >(_ => _ .PropertyThatThrows );
1351
1351
}
1352
1352
```
1353
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2845-L2898 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignorememberbyname ' title =' Start of snippet ' >anchor</a ></sup >
1353
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2847-L2900 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignorememberbyname ' title =' Start of snippet ' >anchor</a ></sup >
1354
1354
<!-- endSnippet -->
1355
1355
1356
1356
Or globally:
@@ -1370,7 +1370,7 @@ VerifierSettings.IgnoreMember<IgnoreExplicitTarget>("Field");
1370
1370
// For a specific type with expression
1371
1371
VerifierSettings .IgnoreMember <IgnoreExplicitTarget >(_ => _ .PropertyThatThrows );
1372
1372
```
1373
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2812-L2826 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignorememberbynameglobal ' title =' Start of snippet ' >anchor</a ></sup >
1373
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2814-L2828 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignorememberbynameglobal ' title =' Start of snippet ' >anchor</a ></sup >
1374
1374
<!-- endSnippet -->
1375
1375
1376
1376
Result:
@@ -1445,7 +1445,7 @@ public Task ScrubMemberByNameFluent()
1445
1445
.ScrubMember <IgnoreExplicitTarget >(_ => _ .PropertyThatThrows );
1446
1446
}
1447
1447
```
1448
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2900-L2953 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-scrubmemberbyname ' title =' Start of snippet ' >anchor</a ></sup >
1448
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2902-L2955 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-scrubmemberbyname ' title =' Start of snippet ' >anchor</a ></sup >
1449
1449
<!-- endSnippet -->
1450
1450
1451
1451
Or globally:
@@ -1465,7 +1465,7 @@ VerifierSettings.ScrubMember<IgnoreExplicitTarget>("Field");
1465
1465
// For a specific type with expression
1466
1466
VerifierSettings .ScrubMember <IgnoreExplicitTarget >(_ => _ .PropertyThatThrows );
1467
1467
```
1468
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2828-L2842 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-scrubmemberbynameglobal ' title =' Start of snippet ' >anchor</a ></sup >
1468
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2830-L2844 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-scrubmemberbynameglobal ' title =' Start of snippet ' >anchor</a ></sup >
1469
1469
<!-- endSnippet -->
1470
1470
1471
1471
Result:
@@ -1516,7 +1516,7 @@ public Task CustomExceptionPropFluent()
1516
1516
.IgnoreMembersThatThrow <CustomException >();
1517
1517
}
1518
1518
```
1519
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3063-L3082 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignoremembersthatthrow ' title =' Start of snippet ' >anchor</a ></sup >
1519
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3065-L3084 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignoremembersthatthrow ' title =' Start of snippet ' >anchor</a ></sup >
1520
1520
<!-- endSnippet -->
1521
1521
1522
1522
Or globally:
@@ -1526,7 +1526,7 @@ Or globally:
1526
1526
``` cs
1527
1527
VerifierSettings .IgnoreMembersThatThrow <CustomException >();
1528
1528
```
1529
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3056-L3060 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignoremembersthatthrowglobal ' title =' Start of snippet ' >anchor</a ></sup >
1529
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L3058-L3062 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignoremembersthatthrowglobal ' title =' Start of snippet ' >anchor</a ></sup >
1530
1530
<!-- endSnippet -->
1531
1531
1532
1532
Result:
@@ -1563,7 +1563,7 @@ public Task ExceptionMessagePropFluent()
1563
1563
.IgnoreMembersThatThrow <Exception >(_ => _ .Message == " Ignore" );
1564
1564
}
1565
1565
```
1566
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L1910-L1931 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignoremembersthatthrowexpression ' title =' Start of snippet ' >anchor</a ></sup >
1566
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L1912-L1933 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignoremembersthatthrowexpression ' title =' Start of snippet ' >anchor</a ></sup >
1567
1567
<!-- endSnippet -->
1568
1568
1569
1569
Or globally:
@@ -1573,7 +1573,7 @@ Or globally:
1573
1573
``` cs
1574
1574
VerifierSettings .IgnoreMembersThatThrow <Exception >(_ => _ .Message == " Ignore" );
1575
1575
```
1576
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L1903-L1907 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignoremembersthatthrowexpressionglobal ' title =' Start of snippet ' >anchor</a ></sup >
1576
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L1905-L1909 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ignoremembersthatthrowexpressionglobal ' title =' Start of snippet ' >anchor</a ></sup >
1577
1577
<!-- endSnippet -->
1578
1578
1579
1579
Result:
@@ -1697,7 +1697,7 @@ public Task MemberConverterByExpression()
1697
1697
return Verify (input );
1698
1698
}
1699
1699
```
1700
- <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2773-L2801 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-memberconverter ' title =' Start of snippet ' >anchor</a ></sup >
1700
+ <sup ><a href =' /src/Verify.Tests/Serialization/SerializationTests.cs#L2775-L2803 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-memberconverter ' title =' Start of snippet ' >anchor</a ></sup >
1701
1701
<!-- endSnippet -->
1702
1702
1703
1703
0 commit comments