ILSpy xsproj
Posted: Wed Apr 06, 2022 2:10 pm
Hi Franz,
first, I'm happy that you are the X# Plugin for ILSpy.
This is still a work-in-progress, in the sense that it has some issues; but I'm pleased to correct them as soon as I'm aware of them.
Don't forget that we are only view the compiler-generated code, and (like with Linq) What you code is NOT always what is generated.
That said, the "e" should not be within quotes: It specify that the text could contains some escaped chars to keep as-is.
The Super call is here, because that's whats the Compiler is generating: The Size property is coming from the SuperClass.
Finally, the (Graphics)(Object) seems to be Cast on a Cast...Why does the Compiler generates these....Mmm... Good Question!
But, this the way ILSpy is analyzing the code that produced it; and I'm just Plugged In ILSpy
That said, I can/will correct the first one, as I am generating this "escape" indication (and wrongly!)
For the two, others...Sorry.... but ILSpy is continuously improving; and the current version is 7.xx where I only provide a 6.xx version; maybe it's time for me to move to the newest version.
HTH,
Fab
first, I'm happy that you are the X# Plugin for ILSpy.
This is still a work-in-progress, in the sense that it has some issues; but I'm pleased to correct them as soon as I'm aware of them.
Don't forget that we are only view the compiler-generated code, and (like with Linq) What you code is NOT always what is generated.
That said, the "e" should not be within quotes: It specify that the text could contains some escaped chars to keep as-is.
The Super call is here, because that's whats the Compiler is generating: The Size property is coming from the SuperClass.
Finally, the (Graphics)(Object) seems to be Cast on a Cast...Why does the Compiler generates these....Mmm... Good Question!
But, this the way ILSpy is analyzing the code that produced it; and I'm just Plugged In ILSpy
That said, I can/will correct the first one, as I am generating this "escape" indication (and wrongly!)
For the two, others...Sorry.... but ILSpy is continuously improving; and the current version is 7.xx where I only provide a 6.xx version; maybe it's time for me to move to the newest version.
HTH,
Fab