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

Commit 0380199

Browse files
committed
Fixed to build as SL5 project
1 parent 5f3aee3 commit 0380199

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ServiceStack.Text/Common/WriteType.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,10 @@ public static void WriteProperties(TextWriter writer, object value)
317317
{
318318
var len = PropertyWriters.Length;
319319
var exclude = JsConfig.ExcludePropertyReferences ?? new string[0];
320-
exclude = Array.ConvertAll(exclude, x => x.ToUpper());
320+
for (var z = 0; z < exclude.Length; ++z)
321+
{
322+
exclude[z] = exclude[z].ToUpper();
323+
}
321324
for (int index = 0; index < len; index++)
322325
{
323326
var propertyWriter = PropertyWriters[index];

0 commit comments

Comments
 (0)