cecil icon indicating copy to clipboard operation
cecil copied to clipboard

Cecil is a library to inspect, modify and create .NET programs and libraries.

Results 125 cecil issues
Sort by recently updated
recently updated
newest added

Add failing test to reproduce #859

This sets up .NET naming for fields, locals and parameters to use snake_case, so that editors won't complain about those. It also disables trimming of trailing blanks to avoid accidentally...

In [.NET Core 3.0 and later](https://docs.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.methodimploptions?view=netcore-3.0), `MethodImplOptions` got a new flag value, `AggressiveOptimization` (512). This adds that same flag to `MethodImplAttributes` (and a corresponding property to `MethodDefinition`). It also updates...

Compilation output will include all sources involved in the build as `Document` entries in the (portable) PDB. This includes non-code sources, such as the `AssemblyInfo.cs` files generated by the build,...

Extracted from issue https://github.com/xamarin/xamarin-macios/issues/12306 The exception occurs when processing `System.Void Abp.Auditing.AuditingInterceptor/d__6`1::MoveNext()` This is not something the SDK can "catch-and-continue". It's possible this is a corrupted PDB but it happened on...

Whenever I attempt to add a sequence point to a method with a portable PDB involved, the resulting PDB has a broken SequencePoints blob, resulting in ``` System.BadImageFormatException: Invalid compressed...

We found a rare race condition between `MethodDefinition.HasOverrides` and `MethodDefinition.Overrides`. What can happen is 1) Thread 1 get's past the null check in `MethodDefinition.HasOverrides` and then is suspended. 2) Thread...

`TypeReference` has properties like `IsArray` to be able to know what specific type it is without needing a cast. It also has a `GetElementType()` method. However, somewhat counter-intuitively, that returns...

It is useful for example for easier propagation of instructions into multiple method bodies.