We are getting following error while Profiling through ANTS Performance Profiler while trying to decompile code for .NET Executable.

The given key was not present in the dictionary.
System.Collections.Generic.KeyNotFoundException
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at RedGate.Reflector.Debugger.Engine.Reflector.Document.StartMethod(IMethodDeclaration method)
at Reflector.Application.NullIgnoringLanguageWriterDelegate.StartAnonymousMethod(IMethodDeclaration method)
at Reflector.Application.LanguageWriterDelegateScoper.StartAnonymousMethod(IMethodDeclaration method)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteAnonymousMethodExpression(IAnonymousMethodExpression value, IFormatter formatter)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteExpression(IExpression value, Context context)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteExpression(IExpression value, IFormatter formatter)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteExpressionList(IExpressionCollection expressions, IFormatter formatter)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteMethodInvokeExpression(IMethodInvokeExpression value, Context context)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteExpression(IExpression value, Context context)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteExpression(IExpression value, IFormatter formatter)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.ReturnHelper(IExpression expression, Int32 startIlOffset, String token)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteMethodReturnStatement(IMethodReturnStatement statement)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, IFormatter formatter)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatementList(IStatementCollection statements, IFormatter formatter)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteBlockStatement(IBlockStatement statement, IFormatter formatter)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteMethodBody(IBlockStatement statement, IMethodDeclaration methodDecl, Context context)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteMethodDeclaration(IMethodDeclaration value)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteTypeDeclaration(ITypeDeclaration value)
at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteNamespace(INamespace value)
at RedGate.Reflector.Debugger.Engine.Reflector.Document.Decompile()
at RedGate.Reflector.Debugger.Engine.Reflector.Document.get_Types()
at RedGate.Profiler.ReflectorIntegration.ReflectorProIntegration.ProcessLeftoverMethod(IProfile profile, Dictionary`2 sourceCodes, Dictionary`2 changesToMake, ILocationStore locationStore, IMethod method, String modulePath, Boolean useVB, String outputDirectory)
at RedGate.Profiler.ReflectorIntegration.ReflectorProIntegration.DecompileAssemblyAndUpdateSourceOffsets(IMethod targetMethod, IProfile profile, String customModulePath, Boolean force)
at RedGate.Profiler.UI.SourceView.ReflectorDecompileQueueItem.<>c__DisplayClass4_0.<Start>b__0(IDispatchTask task)
The given key was not present in the dictionary.