I have a DLL open in dot peek and it's showing some code that looks weird to me.
On one line I have this:
__nonvirtual (((UIElement) this).OnPreviewMouseRightButtonUp(e));
I have an idea of what this line does, but I don't see how this is valid C#. What is that "__nonvirtual"?
On another line, I have this:
Again, it's clear to me what this code does, but this is not valid C#. That's not how you call a base constructor from a derived class.
Am I misunderstanding something with regards to using dot peek? On your website here http://confluence.jetbrains.com/display/NETCOM/Introducing+JetBrains+dotPeek it says that "dotPeek decompiles any .NET assemblies and presents them as C# code". Unless I'm really wrong, this code is not valid C# code. It does look like C# code though. What gives?