From 0eb86139fe8f0daf9dc6893150b701980d90e52d Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Fri, 21 Apr 2017 08:44:43 -0700 Subject: [PATCH] Mark CharEnumerator as [Serializable] (#11124) Fixes https://github.com/dotnet/corefx/issues/18704 --- src/mscorlib/shared/System/CharEnumerator.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mscorlib/shared/System/CharEnumerator.cs b/src/mscorlib/shared/System/CharEnumerator.cs index ea9915a..4dbd5cd 100644 --- a/src/mscorlib/shared/System/CharEnumerator.cs +++ b/src/mscorlib/shared/System/CharEnumerator.cs @@ -17,6 +17,7 @@ using System.Collections.Generic; namespace System { + [Serializable] public sealed class CharEnumerator : IEnumerator, IEnumerator, IDisposable, ICloneable { private String _str; -- 2.7.4