Mark CharEnumerator as [Serializable] (#11124)
authorJan Kotas <jkotas@microsoft.com>
Fri, 21 Apr 2017 15:44:43 +0000 (08:44 -0700)
committerGitHub <noreply@github.com>
Fri, 21 Apr 2017 15:44:43 +0000 (08:44 -0700)
Fixes https://github.com/dotnet/corefx/issues/18704

src/mscorlib/shared/System/CharEnumerator.cs

index ea9915a..4dbd5cd 100644 (file)
@@ -17,6 +17,7 @@ using System.Collections.Generic;
 
 namespace System
 {
+    [Serializable]
     public sealed class CharEnumerator : IEnumerator, IEnumerator<char>, IDisposable, ICloneable
     {
         private String _str;