Closed
Description
openedon Jul 7, 2017
Version Used: 2.2
Steps to Reproduce:
-
Run following code:
var sw = new StreamWriter(new MemoryStream()); sw.Write(SyntaxFactory.LiteralExpression( SyntaxKind.CharacterLiteralExpression, SyntaxFactory.Literal('\uDBFF'))); sw.Flush();
Expected Behavior:
'\uDBFF'
Actual Behavior:
System.Text.EncoderFallbackException: Unable to translate Unicode character \uDBFF at index 1 to specified code page.
Activity