How can we help you today? How can we help you today?

Error generating PDBs: Operation is not valid due to the current state of the object.

System.InvalidOperationException: Operation is not valid due to the current state of the object.
   at Reflector.CodeModel.Assembly.Module.ReadTypeFullyQualifiedName(String typeName, String assemblyReference)
   at Reflector.CodeModel.Assembly.Module.ReadTypeFullyQualifiedName(String fullyQualifiedName)
   at Reflector.CodeModel.Assembly.Module.ReadTypeFullyQualifiedName(ByteArrayReader reader)
   at Reflector.CodeModel.Assembly.CustomAttribute.ReadValue(ByteArrayReader reader, String namespaceName, String name)
   at Reflector.CodeModel.Assembly.CustomAttribute.ReadValue(ByteArrayReader reader, IType type)
   at Reflector.CodeModel.Assembly.CustomAttribute.get_Arguments()
   at Reflector.Application.Languages.IntermediateLanguage.LanguageWriter.WriteCustomAttribute(ICustomAttribute value, IFormatter formatter)
   at Reflector.Application.Languages.IntermediateLanguage.LanguageWriter.WriteCustomAttributeList(IEnumerable value, IFormatter formatter)
   at Reflector.Application.Languages.IntermediateLanguage.LanguageWriter.WriteCustomAttributeList(ICustomAttributeProvider provider, IFormatter formatter)
   at Reflector.Application.Languages.IntermediateLanguage.LanguageWriter.WriteMethodDeclaration(IMethodDeclaration value)
   at Reflector.Application.Languages.IntermediateLanguage.LanguageWriter.WriteTypeDeclaration(ITypeDeclaration value)
   at Reflector.Application.Languages.IntermediateLanguage.LanguageWriter.WriteNamespace(INamespace value)
   at RedGate.Reflector.Debugger.Engine.Reflector.Document.Decompile()
   at RedGate.Reflector.Debugger.Engine.Reflector.Document.GetContent()
   at RedGate.Reflector.VsPackage.Engine.Engine.DoGenerationOfSourceAndPossiblyPdb(String assemblyFile, String targetPdb, IReflectorSession reflectorSession, Language reflectorLanguage, LanguageVersion languageVersion, Boolean usePreviewEngine, EventHandler`1 progressUpdated, CancelTest cancelTest, Action`1 finishAction, PdbRequirement producePdb, ITypeDeclaration typeDecl, String originalAssemblyFile)
   at RedGate.Reflector.VsPackage.Engine.Engine.GenerateTheCodeAndPossiblyThePdb(AssemblyReference peFile, IDictionary`2 reverseRegenerateMap, IReflectorSession reflectorSession, FrameworkLanguageSelection selection, CancellationFlag cancellationFlag, EventHandler`1 progressUpdated, PdbRequirement fullPdb)
   at RedGate.Reflector.VsPackage.Gui.DecompilationProgresser.DecompileOne(AssemblyReference assemblyLocal, FrameworkLanguageSelection selection)
aland7169
0

Comments

4 comments

  • MeeeeeMow
    I'm also getting this persistently for a large dll. Was there any solution ? Reflector 10.3.1.1956 VSPRO




    MeeeeeMow
    0
  • aland7169
    No response yet.
    aland7169
    0
  • MeeeeeMow
    This sucks. I have a VS Pro license and there is no support at all. The response I got was "Support for .NET Reflector is limited to our help center." which is ridiculous. 
    MeeeeeMow
    0
  • MeeeeeMow
    Bump.
    MeeeeeMow
    0

Add comment

Please sign in to leave a comment.