-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Caching Issues for Better Performance. (#381)
* Aaded caching to write member accessors. * Removed type member processing if custom serialization is provided.
- Loading branch information
Mike-EEE
authored
Mar 19, 2020
1 parent
1127100
commit ecb712e
Showing
4 changed files
with
49 additions
and
17 deletions.
There are no files selected for viewing
28 changes: 17 additions & 11 deletions
28
src/ExtendedXmlSerializer/ContentModel/Members/TypeMembers.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue375Tests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using Xunit; | ||
|
||
namespace ExtendedXmlSerializer.Tests.ReportedIssues | ||
{ | ||
public sealed class Issue375Tests | ||
{ | ||
[Fact] | ||
public void Verify() | ||
{ | ||
/*var instance = new Subject{ Inner = new Inner() }; | ||
var serializer = new ConfigurationContainer().Create().ForTesting(); | ||
serializer.Serialize(instance); | ||
serializer.Serialize(instance);*/ | ||
|
||
} | ||
|
||
/*sealed class Subject | ||
{ | ||
public Inner Inner { get; set; } | ||
} | ||
sealed class Inner {}*/ | ||
} | ||
} |