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
This discussion was converted from issue #5159 on November 10, 2025 23:35.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Consider the following methods:
public static string Format(string format, object arg0);
public static string Format(IFormatProvider provider, string format, params object[] args);
on invocation:
At "r" GetTypeInfo gives
Type = System.Double
ConvertedType = System.Object
But
Type = System.Double
ConvertedType = System.Double
Accordingly, in the first case ConversionInfo says Boxing, but Identity in the second.
I would expect the same in both cases. Am I wrong?
I use Roslyn 1.0
Beta Was this translation helpful? Give feedback.
All reactions