Skip to content

Commit b6e390c

Browse files
committed
Do not use expression-bodied method
1 parent 73fe7c6 commit b6e390c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

YamlDotNet/Core/Emitter.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,9 +1355,15 @@ private static bool IsPrintable(char character)
13551355
(character >= '\xE000' && character <= '\xFFFD');
13561356
}
13571357

1358-
private static bool IsHighSurrogate(char c) => 0xD800 <= c && c <= 0xDBFF;
1358+
private static bool IsHighSurrogate(char c)
1359+
{
1360+
return 0xD800 <= c && c <= 0xDBFF;
1361+
}
13591362

1360-
private static bool IsLowSurrogate(char c) => 0xDC00 <= c && c <= 0xDFFF;
1363+
private static bool IsLowSurrogate(char c)
1364+
{
1365+
return 0xDC00 <= c && c <= 0xDFFF;
1366+
}
13611367

13621368
#endregion
13631369

0 commit comments

Comments
 (0)