You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.
If you try to convert a nullable char to a string, translated javascript outputs the character code # instead.
Here's an example:
using System;
public static class Program {
public static void Main (string[] args) {
char? c = 'c';
Console.WriteLine(c.ToString());
// Expected: c
// Actual: 99
}
}
It also does this for implicit casts:
using System;
public static class Program {
public static void Main (string[] args) {
char? c = 'c';
string ab = "ab";
ab += c;
Console.WriteLine(ab);
// Expected: abc
// Actual: ab99
}
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you try to convert a nullable char to a string, translated javascript outputs the character code # instead.
Here's an example:
It also does this for implicit casts:
The text was updated successfully, but these errors were encountered: