-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataRow regression in support of CLS compliant #3111
Comments
Hi @martinsuchan, Thanks for the feedback and sorry to see there is still something broken. I have been investigating the issue and I have discussed with Roslyn team because it seems we are on some dead-end on our side and sadly it seems that CLS compliant is not really supported. I'll discuss with the team to see what we could do because we will need to either keep the current breaking state (and update the notes to mention it) and possibly introduced a |
Hi, the thing that I don't understand - there were no CLS errors with DataRows in version 3.0, but then it started in version 3.1. So I'm wondering what was the reason that caused this and if it's possible to go back to the behavior or implementation we had before? |
Hi, I did a bug fix in I have been discussing with compiler team and they told me that there are many bugs on compiler side related to CLS that they don't plan to be fixing. I am looking at other solutions I could put in place but so far, the only one that seems to be working is to introduce a new attribute. Would you be willing to make changes on your code? |
I think that for us it will be easiest to stay on the version 3.0 for now. Introducing new |
I will be investigating the UWP part soon and post back the results. Again I am sorry for the broken state I have put you in. |
I forgot to post back here that the problem on UWP is not linked to the CLS change. |
@martinsuchan I'll move forward and close this as won't fix. After discussions with compiler team it seems that all the story around CLS compliancy is something from the past. |
Hi, we just discovered when trying to upgrade to version 3.4.3 that this problem is actually not fixed.
We have a test method with following Data rows, and the build fails on non-CLS compliant warning/error.
Please add this variant to your CLS test suite, you should be able to reproduce the problem, thanks. @Evangelink
Originally posted by @martinsuchan in #1740 (comment)
Similarly this is now reported as non-CLS compliant:
Note it is possible that this non-CLS compliant behavior is the cause, or it's related to #3071 - if non-compliant tests are compiled to native code in UWP projects it might cause some troubles?
Originally posted by @martinsuchan in #1740 (comment)
The text was updated successfully, but these errors were encountered: