Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 471eb02

Browse files
committed
Rename SL5 stubbed build to GetStream() as well
1 parent 9afd822 commit 471eb02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ServiceStack.Text/RecyclableMemoryStream.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static MemoryStream GetStream(byte[] bytes, int index, int count)
6969
: new MemoryStream(bytes, index, count);
7070
}
7171
#else
72-
public static MemoryStream CreateMemoryStream()
72+
public static MemoryStream GetStream()
7373
{
7474
return new MemoryStream();
7575
}
@@ -79,12 +79,12 @@ public static MemoryStream GetStream(int capacity)
7979
return new MemoryStream(capacity);
8080
}
8181

82-
public static MemoryStream CreateMemoryStream(byte[] bytes)
82+
public static MemoryStream GetStream(byte[] bytes)
8383
{
8484
return new MemoryStream(bytes);
8585
}
8686

87-
public static MemoryStream CreateMemoryStream(byte[] bytes, int index, int count)
87+
public static MemoryStream GetStream(byte[] bytes, int index, int count)
8888
{
8989
return new MemoryStream(bytes, index, count);
9090
}

0 commit comments

Comments
 (0)