Comments
Sort by recent activity
Issue resolved / comments
Issue resolved
Thanks Clive...
I reset my list to Framework 3.5 and I now see the correct syntax.
Now if only I could see the code using Method syntax instead of Linq, like the original code, everything would be perfect 8) / comments
Thanks Clive...
I reset my list to Framework 3.5 and I now see the correct syntax.
Now if only I could see the code using Method syntax instead of Linq, like the original code, everything would be ...
Code code above is compiled in VS2008 using .NET 3.5
I see no difference using any optimization settings from 2.0 through to 4.0
My reflector version is 6.5.0.135.
What you posted is what I used to see when I selected .NET 3.5 optimization, but I prefer the method syntax so I set my optimization to 2.0.
Somewhere in the upgrade path from 5.x it changed. / comments
Code code above is compiled in VS2008 using .NET 3.5
I see no difference using any optimization settings from 2.0 through to 4.0
My reflector version is 6.5.0.135.
What you posted is what I used to...
Somewhere in the updates from version 5.x to 6.x ( I suspect when .NET 4.0 support was added ) the generation of C# for linq, initializers, extensions and anonymous methods has become atrocious.
It is almost making the tool useless as C# language features in our codebase become common place.
For example generator is now displaying direct execution of the static methods instead as an extension.
ie
Real Code
private class ReflectorExample
{
public ReflectorExample()
{
List<string> aListOfStrings = new List< string >() { "One", "Two", "Three" };
int countOf = aListOfStrings.Where( item => item.Length == 3 ).Count();
}
}
Reflected code private class ReflectorExample
{
[CompilerGenerated]
private static Func<string, bool> CS$<>9__CachedAnonymousMethodDelegate4;
[CompilerGenerated]
private static bool <.ctor>b__3(string item)
{
return (item.Length == 3);
}
// Methods
public ReflectorExample()
{
List<string> <>g__initLocal2 = new List<string>();
<>g__initLocal2.Add("One");
<>g__initLocal2.Add("Two");
<>g__initLocal2.Add("Three");
List<string> aListOfStrings = <>g__initLocal2;
if (CS$<>9__CachedAnonymousMethodDelegate4 == null)
{
CS$<>9__CachedAnonymousMethodDelegate4 = new Func<string, bool>(null, (IntPtr) <.ctor>b__3);
}
int countOf = Enumerable.Where<string>(aListOfStrings, CS$<>9__CachedAnonymousMethodDelegate4).Count<string>();
}
}
/ comments
Somewhere in the updates from version 5.x to 6.x ( I suspect when .NET 4.0 support was added ) the generation of C# for linq, initializers, extensions and anonymous methods has become atrocious.
It...
Thanks Andrew...
x64 ASP.NET MVC application, with Unity 2.0 and all Unity assemblies are marked with this attribute.
Is there a KB article from MS on the .NET 2 bug, I might be able to get a hotfix using our Premier support agreement ? / comments
Thanks Andrew...
x64 ASP.NET MVC application, with Unity 2.0 and all Unity assemblies are marked with this attribute.
Is there a KB article from MS on the .NET 2 bug, I might be able to get a hotfi...
The problems isn't with the PDB, Unity emits dymanic IL which the profiler has problems with.
I have compiled the Unity application block from source code so the PDB is accurate and I still get problems.
Would be nice if Red Gate could finally fix their application... I reported this almost 18 months ago http://www.red-gate.com/messageboard/vi ... highlight= / comments
The problems isn't with the PDB, Unity emits dymanic IL which the profiler has problems with.
I have compiled the Unity application block from source code so the PDB is accurate and I still get pro...
Hi all,
This is still causing us issues and whilst removing the PDB removes the problem, I don't think this is a solution long term. I need to remove the PDBs manually as visual studio will keep putting it in the bin folder.
Can we maybe have the ability to specify namespaces or assemblies to exclude when running with maximum detail / comments
Hi all,
This is still causing us issues and whilst removing the PDB removes the problem, I don't think this is a solution long term. I need to remove the PDBs manually as visual studio will keep p...
Update successful for me, no more update nags / comments
Update successful for me, no more update nags
high6 wrote:
Whenever I try to run it asks if I would like to upgrade, even if I click no it still tries to. It says it is up to date and then closes after deleting reflector.exe.
I'm getting a similar issue, since Monday 31st Mar every time I start reflector I get a message saying Reflector is out of date, but when it checks it reports up to date and continues.
I've check this on 3 machines here, same. There must a time bomb in the application.
Annoying.... / comments
high6 wrote:
Whenever I try to run it asks if I would like to upgrade, even if I click no it still tries to. It says it is up to date and then closes after deleting reflector.exe.
I'm getting a...
Hi Brian,
Just got back from xmas break so catching up on posts. Thanks for escalating the issue.
Extra information if needed :
System used patterns and practices' Unity application block v 1.2. This internally uses ObjectBuilder2 which emits in-memory IL to cache the dynamic creation of objects.
If you need sample code / config let me know.
Cheers...
Robert / comments
Hi Brian,
Just got back from xmas break so catching up on posts. Thanks for escalating the issue.
Extra information if needed :
System used patterns and practices' Unity application block v 1.2. ...