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 believe I am having a similar problem, with System.Numerics.Vectors
I have projects that target frameworks netstandard2 and net6 ... as it happens, in net6 several System.* libraries expose APIs with readonly modifier, but the netstandard 2.0 counterparts don't
In other words, it's impossible to optimize code for both frameworks; What's an optimization in net6 is seen as a performance issue in netstandard2.0
Personally, I think the solution would be to allow disabling analysis on specific frameworks
ArraySegment<T>
is a readonly struct, but analyzer thinks it is not and always gives ESP06 warning.The text was updated successfully, but these errors were encountered: