Comments
Sort by recent activity
In order to step through non-project assemblies, Reflector Pro changes the setting "Just My Code" which you can find under Tools/Options Debugging/General "Enable Just My Code". To just debug just your project code, this option needs to be checked. / comments
In order to step through non-project assemblies, Reflector Pro changes the setting "Just My Code" which you can find under Tools/Options Debugging/General "Enable Just My Code". To just debug just ...
Hi.
If you don't turn the optimization off, then the code is much more like you expected.
What were you hoping to get out of the unoptimised code? It might be more informative to simply look at the IL. public static bool IsValidIdentifierName2(string name)
{
for (int i = 0; i < name.Length; i++)
{
UnicodeCategory unicodeCategory = char.GetUnicodeCategory(name[i]);
bool flag = ((((unicodeCategory == UnicodeCategory.UppercaseLetter) || (unicodeCategory == UnicodeCategory.LetterNumber)) || ((unicodeCategory == UnicodeCategory.TitlecaseLetter) || (unicodeCategory == UnicodeCategory.OtherLetter))) || (unicodeCategory == UnicodeCategory.LetterNumber)) || (name[i] == '_');
bool flag2 = (((unicodeCategory == UnicodeCategory.NonSpacingMark) || (unicodeCategory == UnicodeCategory.SpacingCombiningMark)) || (unicodeCategory == UnicodeCategory.ModifierLetter)) || (unicodeCategory == UnicodeCategory.DecimalDigitNumber);
if (!((i != 0) || flag))
{
return false;
}
if (!(flag || flag2))
{
return false;
}
}
return true;
}
/ comments
Hi.
If you don't turn the optimization off, then the code is much more like you expected.
What were you hoping to get out of the unoptimised code? It might be more informative to simply look at the...
In the version of ReSharper that I have, the ReSharper distribution contains a number of pdb files that are placed next to the assemblies. If you then use Reflector Pro on the ReSharper assemblies, there is no way that we can get Visual Studio to use the pdbs Reflector Pro has generated instead of the distribution pdbs, because Visual Studio will use pdbs next to assemblies before using the search path to file matching pdbs.
I think that the only thing you can do is to move the ReSharper pdb files when you want the Reflector Pro variants to be used instead - perhaps to a new sub-directory, or rename the pdb files. / comments
In the version of ReSharper that I have, the ReSharper distribution contains a number of pdb files that are placed next to the assemblies. If you then use Reflector Pro on the ReSharper assemblies,...
Reflector Pro executes some commands in the Command Window whenever a breakpoint is hit, until the point at which it has confirmed that the right assemblies and pdb files have been loaded for items that you have checked in the assemblies to decompile dialog. It does this to help diagnose problems when the wrong pdb file is loaded or a different assembly is loaded from those you chose to decompile.
This does mean that if you have selected some assemblies that your application doesn't use in the decompilation dialog, the commands are going to get executed on every breakpoint (as the code will keep trying to verify that they have been loaded correctly).
We could perhaps allow the user to turn off the checks. I've logged an enhancement request RP-723 / comments
Reflector Pro executes some commands in the Command Window whenever a breakpoint is hit, until the point at which it has confirmed that the right assemblies and pdb files have been loaded for items...
Personally, I'm not sure I'd use that behaviour, but I can see that some people might.
Thanks for the feedback. I've logged the idea as enhancemenet request RP-721. / comments
Personally, I'm not sure I'd use that behaviour, but I can see that some people might.
Thanks for the feedback. I've logged the idea as enhancemenet request RP-721.
Hi.
When I try the C# code you give, I only see expressions along the lines of
int* numPtr = stackalloc int[20];
Can you send me an assembly containing code that generates the output you posted?
Thanks / comments
Hi.
When I try the C# code you give, I only see expressions along the lines of
int* numPtr = stackalloc int[20];
Can you send me an assembly containing code that generates the output you posted?
Th...
Sorry, but the in-memory object model doesn't have any such information within it.
Source code is generated when the object model is fed through a language writer (for a particular language) which writes the lines to the various files. There's no exposed way for your code to get inside the language writer in order to record location information. / comments
Sorry, but the in-memory object model doesn't have any such information within it.
Source code is generated when the object model is fed through a language writer (for a particular language) which ...
I've logged that as issue RP-720. / comments
I've logged that as issue RP-720.
Thanks for reporting this. I've fixed it in the next EAP for 6.5. / comments
Thanks for reporting this. I've fixed it in the next EAP for 6.5.
Could you give an example of a command line that you want to use?
The /select option is there to populate a particular code element into the browser, using something like
Reflector.exe /select:code://mscorlib/System.AppDomain
/ comments
Could you give an example of a command line that you want to use?
The /select option is there to populate a particular code element into the browser, using something like
Reflector.exe /select:co...