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
We can keep track of things that can't really be solved in source, but can be flagged by an analyzer.
Incorrectly using Unsafe.SizeOf<T>() or Marshal.SizeOf(typeof(T)) on structs like SHELLEXECUTEINFOW. It can produce the wrong size on certain platforms, and T.SizeOf should be used instead.
The text was updated successfully, but these errors were encountered:
rickbrew
added
proposal
An issue that represents a proposed feature or change to the repo.
untriaged
An issue that has not been triaged by the repo maintainers.
labels
Oct 31, 2021
We can keep track of things that can't really be solved in source, but can be flagged by an analyzer.
Unsafe.SizeOf<T>()
orMarshal.SizeOf(typeof(T))
on structs likeSHELLEXECUTEINFOW
. It can produce the wrong size on certain platforms, andT.SizeOf
should be used instead.The text was updated successfully, but these errors were encountered: