Fix attribute placement
authorVance Morrison <vancemorrison@comcast.net>
Tue, 22 May 2018 18:16:05 +0000 (11:16 -0700)
committerVance Morrison <vancemorrison@comcast.net>
Tue, 22 May 2018 18:16:05 +0000 (11:16 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/57055f17d50e275e9c904b3f8975065e3d7af526

src/libraries/System.Private.CoreLib/src/System/Text/StringBuilder.cs

index d5549575079c9908dda2e1951a2b0ffe359f6ae6..68cd380c9a55380b65ed2e2e059e2edda282fe17 100644 (file)
@@ -588,11 +588,10 @@ namespace System.Text
         /// </summary>
         public struct ChunkEnumerator
         {
-            [ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never)] // Only here to make foreach work
-
             /// <summary>
             /// Implement IEnumerable.GetEnumerator() to return  'this' as the IEnumerator  
             /// </summary>
+            [ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never)] // Only here to make foreach work
             public ChunkEnumerator GetEnumerator() { return this;  }
 
             /// <summary>