Input code
public string ContainsCast(int i)
{
return $"a_{(short)i}_b";
}
public string ContainsCast(long i)
{
return $"a_{(int)i}_b";
}
Erroneous output
public string ContainsCast(int i)
{
return $"a_{(short)i}_b";
}
public string ContainsCast(long i)
{
return $"a_{i}_b";
}
The absence of the cast in the second method is a behavioral change, and the problem only exhibits on the "Roslyn Latest" unit tests.
Details
- Product in use: ILSpy unit testing
- Version in use: latest commit
- Any other relevant information to the issue, or your interest in contributing a fix.
Input code
Erroneous output
The absence of the cast in the second method is a behavioral change, and the problem only exhibits on the "Roslyn Latest" unit tests.
Details
global::#3463