Philipp Naused

Results 21 comments of Philipp Naused

This only fixed `IL2075` in this example. The other two warnings are still present in 0.21.1. In an actual project with code, I get all 3 codes: ``` ILC :...

I can still reproduce this issue. Don't close it.

Starting with v0.50.0 I also get IL2026, IL2060, and IL2075, IL3000 in my tests. All of them are about Trim/AOT analysis from TUnit or TUnit's generated code. You get a...

Still reproducible in 0.61.58. Same as #2458. ``` Test1 succeeded with 8 warning(s) (8.2s) → bin\Release\net8.0\win-x64\publish\ ILC : Trim analysis warning IL2041: Polyfills.Polyfill.GetMethod(Type,String,Int32,BindingFlags,Type[]): The 'DynamicallyAccessedMembersAttribute' is not allowed on methods....

Still getting 5 of them in 0.63.0 ``` Test1 succeeded with 5 warning(s) (7.5s) → bin\Release\net8.0\win-x64\publish\ ILC : Trim analysis warning IL2041: Polyfills.Polyfill.GetMethod(Type,String,Int32,BindingFlags,Type[]): The 'DynamicallyAccessedMembersAttribute' is not allowed on methods....

@thomhurst I'm sorry, but I still get warnings from the generated code: #3312

I was also using SimpleTweaks. With 'Improved Crafting Action Tooltips' and 'Improved Crafting Log' enabled.

No, it doesn't seem to make a difference. I also tried that with the workaround for https://github.com/dotnet/sdk/issues/51265 and it doesn't work. The SDK version also doesn't make a difference (I...

I think this might be caused by https://github.com/dotnet/sdk/issues/51265 in your repo.