diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2018-03-13 15:03:41 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2018-03-13 15:03:41 +0300 |
commit | 5b91cae81c1b9cc9494130729883a3d155f12d23 (patch) | |
tree | 3733a2829a71b118d6eb13b9d18ea294afed03cb /Mono.Addins/Mono.Addins.Database | |
parent | bf32d19855215c29ec138673569c4f3ae5c17de4 (diff) |
Fixed cache serialization issue
Always serialize AddinScanFolderInfo.IgnorePaths, otherwise
it will run over the MD5 field when looking for it.
Diffstat (limited to 'Mono.Addins/Mono.Addins.Database')
-rw-r--r-- | Mono.Addins/Mono.Addins.Database/AddinScanFolderInfo.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Mono.Addins/Mono.Addins.Database/AddinScanFolderInfo.cs b/Mono.Addins/Mono.Addins.Database/AddinScanFolderInfo.cs index 367a105..4fd808c 100644 --- a/Mono.Addins/Mono.Addins.Database/AddinScanFolderInfo.cs +++ b/Mono.Addins/Mono.Addins.Database/AddinScanFolderInfo.cs @@ -278,8 +278,7 @@ namespace Mono.Addins.Database writer.WriteValue ("IsRoot", IsRoot); writer.WriteValue ("ScanError", ScanError); writer.WriteValue ("Domain", Domain); - if (IgnorePaths != null && IgnorePaths.Count > 0) - writer.WriteValue ("IgnorePaths", IgnorePaths); + writer.WriteValue ("IgnorePaths", IgnorePaths); writer.WriteValue ("MD5", ScanDataMD5); } |