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
I have seen a problem with a conversion of a control (that inherits Datagridview)
Input code
PublicOverloadsOverridesPropertyCellTemplate()AsDataGridViewCellGetReturnMyBase.CellTemplateEndGetSet(ByValvalueAsDataGridViewCell)If(valueIsNothing)OrElseNot(TypeOfvalueIsImageColorCell)ThenThrowNewArgumentException("Invalid cell type, StatusColumns can only contain StatusCells")EndIfEndSetEndProperty
Erroneous output
publicnewoverrideDataGridViewCellCellTemplate{get{returnbase.CellTemplate;}set{if(valueisnull||!(valueisImageColorCell)){thrownewArgumentException("Invalid cell type, StatusColumns can only contain StatusCells");}}}
Expected output
Ihave no idea (Idon't know C#enough). Without override it works but I have no idea if it is correct
Details
Last version of the .NET plugin. I have never tested before so I have no idea if it is a new problem or not.
Thank you
Marc
The text was updated successfully, but these errors were encountered:
Thanks for the report! There was a similar more general problem previously that I fixed (#463). Looks like this Overloads Overrides case wasn't covered. Hopefully it's easy to build on the fix linked from that issue
Hello,
I have seen a problem with a conversion of a control (that inherits Datagridview)
Input code
Erroneous output
Expected output
Details
Last version of the .NET plugin. I have never tested before so I have no idea if it is a new problem or not.
Thank you
Marc
The text was updated successfully, but these errors were encountered: