This is the twentieth fourth part of the .NET Inside Out series. For your convenience you can find other parts in the table of contents in Part 1 – Virtual and non-virtual calls in C# Let’s take this code: and compare it with this one: They look very similar, however, they give different outputs. First … Continue reading .NET Inside Out Part 24 – Synchronous waiting for the Task in the same frame
Tag: .NET Core
.NET Inside Out Part 23 – Machine code address of any .NET Core method
This is the twentieth third part of the .NET Inside Out series. For your convenience you can find other parts in the table of contents in Part 1 – Virtual and non-virtual calls in C# .NET Core introduced tiered compilation and reworked AOT compilation. Previously, we could get address of machine code by calling GetFunctionPointer … Continue reading .NET Inside Out Part 23 – Machine code address of any .NET Core method
Custom memory allocation in C# Part 10 — Hijacking new in .NET Core
This is the tenth part of the Custom memory allocation series. For your convenience you can find other parts in the table of contents in Part 1 — Allocating object on a stack I had .NET Core 2.1.103 x64 installed and I wanted to hijack new with the code from the last post. Unfortunately, it … Continue reading Custom memory allocation in C# Part 10 — Hijacking new in .NET Core
Custom memory allocation in C# Part 9 — Hijacking new in x64
This is the ninth part of the Custom memory allocation series. For your convenience you can find other parts in the table of contents in Part 1 — Allocating object on a stack We already hijacked new in C#. Last time we did this for 32-bit applications, today we will modify the code to support … Continue reading Custom memory allocation in C# Part 9 — Hijacking new in x64
Custom memory allocation in C# Part 8 — Unsafe list in .NET Core x64
This is the eighth part of the Custom memory allocation series. For your convenience you can find other parts in the table of contents in Part 1 — Allocating object on a stack Today we are going to revisit an Unsafe list example using .NET Core. Since I use x64 edition, I need to adjust … Continue reading Custom memory allocation in C# Part 8 — Unsafe list in .NET Core x64