Skip to content

Commit 46a7615

Browse files
authored
Fix broken IgnoreMember on inherited member
1 parent b3746a0 commit 46a7615

10 files changed

+79
-39
lines changed

docs/named-tuples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Given a method that returns a named tuple:
1919
static (bool Member1, string Member2, string Member3) MethodWithNamedTuple() =>
2020
(true, "A", "B");
2121
```
22-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1114-L1119' title='Snippet source file'>snippet source</a> | <a href='#snippet-methodwithnamedtuple' title='Start of snippet'>anchor</a></sup>
22+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1151-L1156' title='Snippet source file'>snippet source</a> | <a href='#snippet-methodwithnamedtuple' title='Start of snippet'>anchor</a></sup>
2323
<!-- endSnippet -->
2424

2525
Can be verified:
@@ -29,7 +29,7 @@ Can be verified:
2929
```cs
3030
await VerifyTuple(() => MethodWithNamedTuple());
3131
```
32-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1107-L1111' title='Snippet source file'>snippet source</a> | <a href='#snippet-verifytuple' title='Start of snippet'>anchor</a></sup>
32+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1144-L1148' title='Snippet source file'>snippet source</a> | <a href='#snippet-verifytuple' title='Start of snippet'>anchor</a></sup>
3333
<!-- endSnippet -->
3434

3535
Resulting in:

docs/scrubbers.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ For example remove lines containing `text`:
5959
```cs
6060
verifySettings.ScrubLines(line => line.Contains("text"));
6161
```
62-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L964-L968' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublines' title='Start of snippet'>anchor</a></sup>
62+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1001-L1005' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublines' title='Start of snippet'>anchor</a></sup>
6363
<!-- endSnippet -->
6464

6565

@@ -74,7 +74,7 @@ For example remove lines containing `text1` or `text2`
7474
```cs
7575
verifySettings.ScrubLinesContaining("text1", "text2");
7676
```
77-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L970-L974' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontaining' title='Start of snippet'>anchor</a></sup>
77+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1007-L1011' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontaining' title='Start of snippet'>anchor</a></sup>
7878
<!-- endSnippet -->
7979

8080
Case insensitive by default (StringComparison.OrdinalIgnoreCase).
@@ -86,7 +86,7 @@ Case insensitive by default (StringComparison.OrdinalIgnoreCase).
8686
```cs
8787
verifySettings.ScrubLinesContaining(StringComparison.Ordinal, "text1", "text2");
8888
```
89-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L976-L980' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontainingordinal' title='Start of snippet'>anchor</a></sup>
89+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1013-L1017' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontainingordinal' title='Start of snippet'>anchor</a></sup>
9090
<!-- endSnippet -->
9191

9292

@@ -101,7 +101,7 @@ For example converts lines to upper case:
101101
```cs
102102
verifySettings.ScrubLinesWithReplace(line => line.ToUpper());
103103
```
104-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L982-L986' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublineswithreplace' title='Start of snippet'>anchor</a></sup>
104+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1019-L1023' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublineswithreplace' title='Start of snippet'>anchor</a></sup>
105105
<!-- endSnippet -->
106106

107107

@@ -114,7 +114,7 @@ Replaces `Environment.MachineName` with `TheMachineName`.
114114
```cs
115115
verifySettings.ScrubMachineName();
116116
```
117-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L988-L992' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmachinename' title='Start of snippet'>anchor</a></sup>
117+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1025-L1029' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmachinename' title='Start of snippet'>anchor</a></sup>
118118
<!-- endSnippet -->
119119

120120

@@ -127,7 +127,7 @@ Replaces `Environment.UserName` with `TheUserName`.
127127
```cs
128128
verifySettings.ScrubUserName();
129129
```
130-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L994-L998' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubusername' title='Start of snippet'>anchor</a></sup>
130+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1031-L1035' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubusername' title='Start of snippet'>anchor</a></sup>
131131
<!-- endSnippet -->
132132

133133

docs/serializer-settings.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ To disable this behavior globally use:
156156
```cs
157157
VerifierSettings.DontIgnoreEmptyCollections();
158158
```
159-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L851-L855' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontignoreemptycollections' title='Start of snippet'>anchor</a></sup>
159+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L888-L892' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontignoreemptycollections' title='Start of snippet'>anchor</a></sup>
160160
<!-- endSnippet -->
161161

162162

@@ -178,7 +178,7 @@ var target = new GuidTarget
178178

179179
await Verify(target);
180180
```
181-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1172-L1185' title='Snippet source file'>snippet source</a> | <a href='#snippet-guid' title='Start of snippet'>anchor</a></sup>
181+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1209-L1222' title='Snippet source file'>snippet source</a> | <a href='#snippet-guid' title='Start of snippet'>anchor</a></sup>
182182
<!-- endSnippet -->
183183

184184
Results in the following:
@@ -203,7 +203,7 @@ Strings containing inline Guids can also be scrubbed. To enable this behavior, u
203203
```cs
204204
VerifierSettings.ScrubInlineGuids();
205205
```
206-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L887-L891' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubinlineguids' title='Start of snippet'>anchor</a></sup>
206+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L924-L928' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubinlineguids' title='Start of snippet'>anchor</a></sup>
207207
<!-- endSnippet -->
208208

209209

@@ -218,7 +218,7 @@ var settings = new VerifySettings();
218218
settings.DontScrubGuids();
219219
await Verify(target, settings);
220220
```
221-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L391-L397' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubguids' title='Start of snippet'>anchor</a></sup>
221+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L428-L434' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubguids' title='Start of snippet'>anchor</a></sup>
222222
<!-- endSnippet -->
223223

224224
Or with the fluent api:
@@ -229,7 +229,7 @@ Or with the fluent api:
229229
await Verify(target)
230230
.DontScrubGuids();
231231
```
232-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L405-L410' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubguidsfluent' title='Start of snippet'>anchor</a></sup>
232+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L442-L447' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubguidsfluent' title='Start of snippet'>anchor</a></sup>
233233
<!-- endSnippet -->
234234

235235
To disable this behavior globally use:
@@ -239,7 +239,7 @@ To disable this behavior globally use:
239239
```cs
240240
VerifierSettings.DontScrubGuids();
241241
```
242-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L860-L864' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubguidsglobal' title='Start of snippet'>anchor</a></sup>
242+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L897-L901' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubguidsglobal' title='Start of snippet'>anchor</a></sup>
243243
<!-- endSnippet -->
244244

245245

@@ -267,7 +267,7 @@ var target = new DateTimeTarget
267267

268268
await Verify(target);
269269
```
270-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L592-L611' title='Snippet source file'>snippet source</a> | <a href='#snippet-date' title='Start of snippet'>anchor</a></sup>
270+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L629-L648' title='Snippet source file'>snippet source</a> | <a href='#snippet-date' title='Start of snippet'>anchor</a></sup>
271271
<!-- endSnippet -->
272272

273273
Results in the following:
@@ -305,7 +305,7 @@ settings.DontScrubDateTimes();
305305

306306
return Verify(target, settings);
307307
```
308-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L917-L929' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubdatetimes' title='Start of snippet'>anchor</a></sup>
308+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L954-L966' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubdatetimes' title='Start of snippet'>anchor</a></sup>
309309
<!-- endSnippet -->
310310

311311
Or using the fluent api use:
@@ -321,7 +321,7 @@ var target = new
321321
return Verify(target)
322322
.DontScrubDateTimes();
323323
```
324-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L934-L944' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubdatetimesfluent' title='Start of snippet'>anchor</a></sup>
324+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L971-L981' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubdatetimesfluent' title='Start of snippet'>anchor</a></sup>
325325
<!-- endSnippet -->
326326

327327
Or globally use:
@@ -331,7 +331,7 @@ Or globally use:
331331
```cs
332332
VerifierSettings.DontScrubDateTimes();
333333
```
334-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L949-L953' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubdatetimesglobal' title='Start of snippet'>anchor</a></sup>
334+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L986-L990' title='Snippet source file'>snippet source</a> | <a href='#snippet-dontscrubdatetimesglobal' title='Start of snippet'>anchor</a></sup>
335335
<!-- endSnippet -->
336336

337337

@@ -474,7 +474,7 @@ public Task ScopedSerializerFluent()
474474
.AddExtraSettings(_ => _.TypeNameHandling = TypeNameHandling.All);
475475
}
476476
```
477-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2491-L2518' title='Snippet source file'>snippet source</a> | <a href='#snippet-scopedserializer' title='Start of snippet'>anchor</a></sup>
477+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2528-L2555' title='Snippet source file'>snippet source</a> | <a href='#snippet-scopedserializer' title='Start of snippet'>anchor</a></sup>
478478
<!-- endSnippet -->
479479

480480
Result:
@@ -602,7 +602,7 @@ public Task IgnoreTypeFluent()
602602
.IgnoreMembersWithType<ToIgnoreStruct>();
603603
}
604604
```
605-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1731-L1836' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoretype' title='Start of snippet'>anchor</a></sup>
605+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1768-L1873' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoretype' title='Start of snippet'>anchor</a></sup>
606606
<!-- endSnippet -->
607607

608608
Or globally:
@@ -612,7 +612,7 @@ Or globally:
612612
```cs
613613
VerifierSettings.IgnoreMembersWithType<ToIgnore>();
614614
```
615-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1724-L1728' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoretypeglobal' title='Start of snippet'>anchor</a></sup>
615+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1761-L1765' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoretypeglobal' title='Start of snippet'>anchor</a></sup>
616616
<!-- endSnippet -->
617617

618618
Result:
@@ -683,7 +683,7 @@ public Task AddIgnoreInstanceFluent()
683683
.IgnoreInstance<Instance>(_ => _.Property == "Ignore");
684684
}
685685
```
686-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1652-L1691' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoreinstance' title='Start of snippet'>anchor</a></sup>
686+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1689-L1728' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoreinstance' title='Start of snippet'>anchor</a></sup>
687687
<!-- endSnippet -->
688688

689689
Or globally:
@@ -693,7 +693,7 @@ Or globally:
693693
```cs
694694
VerifierSettings.IgnoreInstance<Instance>(_ => _.Property == "Ignore");
695695
```
696-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1645-L1649' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoreinstanceglobal' title='Start of snippet'>anchor</a></sup>
696+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1682-L1686' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoreinstanceglobal' title='Start of snippet'>anchor</a></sup>
697697
<!-- endSnippet -->
698698

699699
Result:
@@ -736,7 +736,7 @@ public Task WithObsoleteProp()
736736
return Verify(target);
737737
}
738738
```
739-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2457-L2477' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoleteprop' title='Start of snippet'>anchor</a></sup>
739+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2494-L2514' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoleteprop' title='Start of snippet'>anchor</a></sup>
740740
<!-- endSnippet -->
741741

742742
Result:
@@ -784,7 +784,7 @@ public Task WithObsoletePropIncludedFluent()
784784
.IncludeObsoletes();
785785
}
786786
```
787-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2428-L2455' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoletepropincluded' title='Start of snippet'>anchor</a></sup>
787+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2465-L2492' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoletepropincluded' title='Start of snippet'>anchor</a></sup>
788788
<!-- endSnippet -->
789789

790790
Or globally:
@@ -794,7 +794,7 @@ Or globally:
794794
```cs
795795
VerifierSettings.IncludeObsoletes();
796796
```
797-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2421-L2425' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoletepropincludedglobally' title='Start of snippet'>anchor</a></sup>
797+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2458-L2462' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoletepropincludedglobally' title='Start of snippet'>anchor</a></sup>
798798
<!-- endSnippet -->
799799

800800
Result:
@@ -855,7 +855,7 @@ public Task IgnoreMemberByExpressionFluent()
855855
_ => _.PropertyThatThrows);
856856
}
857857
```
858-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2016-L2055' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyexpression' title='Start of snippet'>anchor</a></sup>
858+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2053-L2092' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyexpression' title='Start of snippet'>anchor</a></sup>
859859
<!-- endSnippet -->
860860

861861
Or globally
@@ -870,7 +870,7 @@ VerifierSettings.IgnoreMembers<IgnoreExplicitTarget>(
870870
_ => _.GetOnlyProperty,
871871
_ => _.PropertyThatThrows);
872872
```
873-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2004-L2013' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyexpressionglobal' title='Start of snippet'>anchor</a></sup>
873+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2041-L2050' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyexpressionglobal' title='Start of snippet'>anchor</a></sup>
874874
<!-- endSnippet -->
875875

876876
Result:
@@ -944,7 +944,7 @@ public Task IgnoreMemberByNameFluent()
944944
.IgnoreMember<IgnoreExplicitTarget>(_ => _.PropertyThatThrows);
945945
}
946946
```
947-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2108-L2161' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyname' title='Start of snippet'>anchor</a></sup>
947+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2145-L2198' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyname' title='Start of snippet'>anchor</a></sup>
948948
<!-- endSnippet -->
949949

950950
Or globally:
@@ -964,7 +964,7 @@ VerifierSettings.IgnoreMember<IgnoreExplicitTarget>("Field");
964964
// For a specific type with expression
965965
VerifierSettings.IgnoreMember<IgnoreExplicitTarget>(_ => _.PropertyThatThrows);
966966
```
967-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2091-L2105' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbynameglobal' title='Start of snippet'>anchor</a></sup>
967+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2128-L2142' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbynameglobal' title='Start of snippet'>anchor</a></sup>
968968
<!-- endSnippet -->
969969

970970
Result:
@@ -1011,7 +1011,7 @@ public Task CustomExceptionPropFluent()
10111011
.IgnoreMembersThatThrow<CustomException>();
10121012
}
10131013
```
1014-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2313-L2332' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrow' title='Start of snippet'>anchor</a></sup>
1014+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2350-L2369' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrow' title='Start of snippet'>anchor</a></sup>
10151015
<!-- endSnippet -->
10161016

10171017
Or globally:
@@ -1021,7 +1021,7 @@ Or globally:
10211021
```cs
10221022
VerifierSettings.IgnoreMembersThatThrow<CustomException>();
10231023
```
1024-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2306-L2310' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowglobal' title='Start of snippet'>anchor</a></sup>
1024+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2343-L2347' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowglobal' title='Start of snippet'>anchor</a></sup>
10251025
<!-- endSnippet -->
10261026

10271027
Result:
@@ -1058,7 +1058,7 @@ public Task ExceptionMessagePropFluent()
10581058
.IgnoreMembersThatThrow<Exception>(_ => _.Message == "Ignore");
10591059
}
10601060
```
1061-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1462-L1483' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowexpression' title='Start of snippet'>anchor</a></sup>
1061+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1499-L1520' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowexpression' title='Start of snippet'>anchor</a></sup>
10621062
<!-- endSnippet -->
10631063

10641064
Or globally:
@@ -1068,7 +1068,7 @@ Or globally:
10681068
```cs
10691069
VerifierSettings.IgnoreMembersThatThrow<Exception>(_ => _.Message == "Ignore");
10701070
```
1071-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1455-L1459' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowexpressionglobal' title='Start of snippet'>anchor</a></sup>
1071+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1492-L1496' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowexpressionglobal' title='Start of snippet'>anchor</a></sup>
10721072
<!-- endSnippet -->
10731073

10741074
Result:
@@ -1234,7 +1234,7 @@ public Task MemberConverterByExpression()
12341234
return Verify(input);
12351235
}
12361236
```
1237-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2057-L2081' title='Snippet source file'>snippet source</a> | <a href='#snippet-memberconverter' title='Start of snippet'>anchor</a></sup>
1237+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2094-L2118' title='Snippet source file'>snippet source</a> | <a href='#snippet-memberconverter' title='Start of snippet'>anchor</a></sup>
12381238
<!-- endSnippet -->
12391239

12401240

0 commit comments

Comments
 (0)