Relative Content

Tag Archive for c#.net

Why can the inliner forget the no-optimize attribute?

I was reading on what’s new in .NET 9 and stumbled over the CrypographicOperations type which has a method called ZeroMemory used to ensure that zeroing memory is not optimized away.
(https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-9/overview#net-libraries)

Why can the inliner forget the no-optimize attribute?

I was reading on what’s new in .NET 9 and stumbled over the CrypographicOperations type which has a method called ZeroMemory used to ensure that zeroing memory is not optimized away.
(https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-9/overview#net-libraries)

Why can the inliner forget the no-optimize attribute?

I was reading on what’s new in .NET 9 and stumbled over the CrypographicOperations type which has a method called ZeroMemory used to ensure that zeroing memory is not optimized away.
(https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-9/overview#net-libraries)