Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 4c1ed41

Browse files
committed
Merge pull request #2723 from Dmitry-Me/fixCommentTypo
Fix comment typo
2 parents 2d2e591 + 2290917 commit 4c1ed41

File tree

1 file changed

+1
-1
lines changed
  • src/mscorlib/src/System

1 file changed

+1
-1
lines changed

src/mscorlib/src/System/GC.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ internal static int CollectionCount (int generation, bool getSpecialGCCount)
289289
// stream.MethodThatSpansGCs, thus closing a stream still in use."
290290
//
291291
// If we insert a call to GC.KeepAlive(this) at the end of Problem(), then
292-
// Foo doesn't get finalized and the stream says open.
292+
// Foo doesn't get finalized and the stream stays open.
293293
[MethodImplAttribute(MethodImplOptions.NoInlining)] // disable optimizations
294294
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
295295
public static void KeepAlive(Object obj)

0 commit comments

Comments
 (0)