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

Change ReadOnlySpan indexer to return ref readonly #14727

Merged
merged 6 commits into from
Dec 15, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Disabling a test that uses ReadOnlySpan indexer
  • Loading branch information
ahsonkhan committed Dec 14, 2017
commit d7e04dda5d83a05fc8fedaeabc9fed4982982729
4 changes: 2 additions & 2 deletions tests/src/CoreMangLib/system/span/BasicSpanTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -740,9 +740,9 @@ static void AssertEqual<T>(T left, T right)
static void AssertEqualContent(string text, ReadOnlySpan<char> span)
{
AssertEqual(text.Length, span.Length);
for (int i = 0; i < text.Length; i++)
/*for (int i = 0; i < text.Length; i++)
{
AssertEqual(text[i], span[i]);
}
}*/
}
}