-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Allow unnecessary [In, Out] attributes on blittable arrays and report them as unnecessary #87774
Allow unnecessary [In, Out] attributes on blittable arrays and report them as unnecessary #87774
Conversation
Tagging subscribers to this area: @dotnet/interop-contrib Issue DetailsInstead of blocking unnecessary Depends on #87700
|
…essary but not invalid' to enable us in the future to report a non-fatal diagnostic.
9d1f037
to
f0cb451
Compare
…assets. Use the inbox instead.
Instead of blocking unnecessary
[In, Out]
attributes on members where they aren't required to specify the behavior in that case, allow them and report a diagnostic that they're unnecessary. This diagnostic will fade-out the attributes and specify that they aren't required to get the expected behavior. We'll only do this on use cases where the attributes could be valid/required to get the desired behavior.Depends on #87700