VB.Net input code
Public Shared Operator Xor(left As MyType, right As MyType) As MyType
Throw New Global.System.NotSupportedException("Not supported")
End Operator
Erroneous output
Cannot convert OperatorBlockSyntax, CONVERSION ERROR: Unable to cast object of type 'Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax' to type 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax'. in '...' at character ...
at ICSharpCode.CodeConverter.CSharp.CommentConvertingVisitorWrapper.<ConvertHandledAsync>d__12`1.MoveNext()
Expected output
public static MyType operator ^(MyType left, MyType right)
{
throw new NotSupportedException("Not supported");
}
Details
- Product in use: VS extension
- Version in use: 9.2.7.0
VB.Net input code
Erroneous output
Expected output
Details