cil
Same IL code, different output - how is it possible?
I have a piece of code, which outputs different results, depending on the C# compiler and the runtime.[详细]
2022-12-29 16:34 分类:问答How do I debug a .NET executable at MSIL-level?
I have a .NET executable file that I need to debug.I would like to step into it so that it stops on the first instruction and have a visual interface for single-stepping, breakpoints, etc.[详细]
2022-12-27 03:24 分类:问答Is there a difference between ECMA-335 and ISO/IEC 23271:2006? Also, is there a book version?
The .net CLI is standardized as both ECMA-335 and ISO/IEC 23271:2006 - is it 100% the same standard, or are there differences betw开发者_如何学JAVAeen these two?[详细]
2022-12-26 20:54 分类:问答Writing a Compiler for .net - IL or Bytecode?
I\'m currently diving into the inner workings of .net, which means I开发者_运维知识库L. As an exercise, I want to build a brainf..k compiler for .net (yes, they already exist, but as said it\'s for le[详细]
2022-12-26 06:38 分类:问答Using Reflection.Emit to match existing constructor
First, here is the C# code and the disassembled IL: public class Program<T> { private List<T> _items;[详细]
2022-12-25 06:59 分类:问答Where can I find information on the Get, Set and Address methods for multidimensional System.Array instances in .NET?
System.Array serves as the base class for all arrays in the Common Language Runtime (CLR). According to this article:[详细]
2022-12-25 01:52 分类:问答Are private classes being sealed at compilation?
Assume the following: we have class B, which is a private class nested inside class A. There isn\'t any class inheriting from class B. The question is: will the compiler automatically mark class B as[详细]
2022-12-24 12:32 分类:问答Variable comparison
The following C#-snippet: var x = 1; var y = 1; if (x == y) Console.Write(\"True\"); Generates this MSIL: .locals init ([详细]
2022-12-23 14:16 分类:问答Which processors can run CIL
Which processors are capable of running Common Intermediate Language(CIL), formerly known as Microsoft Intermediate Language (MSIL)? Clearly any machine that can run Microsoft Windows with .net qualif[详细]
2022-12-22 19:42 分类:问答MSIL inspection
I have some MSIL in byte format (result of reflection\'s GetMethodBody()) that I\'d like to analyze a bit.I\'d like to find all classes created with the new o开发者_开发知识库perator in the MSIL.Any i[详细]
2022-12-22 15:44 分类:问答