How can we help you today? How can we help you today?
DJ Doena
I retested the issue from here https://forum.red-gate.com/discussion/comment/150547/#Comment_150547 with 10.0.4.406 same result: Block statement count of zero during condition expression translation. Reflector.Disassembler.Translator+ExpressionHandlingException at Reflector.Disassembler.Translator.DecodeConditionExpression(Int32 offset, Boolean& failureCase, IEnumerable`1& AdditionalExpressions) at Reflector.Disassembler.Translator.DecodeStatement(Int32 end, IEnumerable`1& AdditionalExpressions) at Reflector.Disassembler.Translator.DecodeBlockStatement(Int32 offset, Int32 end) at Reflector.Disassembler.Translator.DecodeNullCoalescingExpressionOrStatement() at Reflector.Disassembler.Translator.DecodeDuplicateStatement(Int32 offset, IEnumerable`1& AdditionalExpressions) at Reflector.Disassembler.Translator.DecodeStatement(Int32 end, IEnumerable`1& AdditionalExpressions) at Reflector.Disassembler.Translator.DecodeBlockStatement(Int32 offset, Int32 end) at Reflector.Disassembler.Translator.TranslateMethodDeclaration(IMethodDeclaration mD, IMethodBody mB, Boolean handleExpressionStack) at Reflector.Disassembler.Translator.TranslateMethodDeclaration(IMethodDeclaration mD, IMethodBody mB) at Reflector.Disassembler.Disassembler.TransformMethodDeclaration(IMethodDeclaration value) at Reflector.Application.Translator.TranslateMethodDeclaration(IMethodDeclaration value) at Reflector.Application.UserInterface.DisassemblerWindow.Render(Boolean expandTypes, Boolean expandMethods) / comments
I retested the issue from here https://forum.red-gate.com/discussion/comment/150547/#Comment_150547 with 10.0.4.406 same result: Block statement count of zero during condition expression translatio...
0 votes
Found another one. Actual code of method is: void RaiseEvent(string attribute) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(attribute)); } Error is: Block statement count of zero during condition expression translation. Reflector.Disassembler.Translator+ExpressionHandlingException at Reflector.Disassembler.Translator.DecodeConditionExpression(Int32 offset, Boolean& failureCase) at Reflector.Disassembler.Translator.DecodeStatement(Int32 end) at Reflector.Disassembler.Translator.DecodeBlockStatement(Int32 offset, Int32 end) at Reflector.Disassembler.Translator.DecodeNullCoalescingExpressionOrStatement() at Reflector.Disassembler.Translator.DecodeDuplicateStatement(Int32 offset) at Reflector.Disassembler.Translator.DecodeStatement(Int32 end) at Reflector.Disassembler.Translator.DecodeBlockStatement(Int32 offset, Int32 end) at Reflector.Disassembler.Translator.TranslateMethodDeclaration(IMethodDeclaration mD, IMethodBody mB, Boolean handleExpressionStack) at Reflector.Disassembler.Translator.TranslateMethodDeclaration(IMethodDeclaration mD, IMethodBody mB) at Reflector.Disassembler.Disassembler.TransformMethodDeclaration(IMethodDeclaration value) at Reflector.Application.Translator.TranslateMethodDeclaration(IMethodDeclaration value) at Reflector.Application.UserInterface.DisassemblerWindow.Render(Boolean expandTypes, Boolean expandMethods) Code can be found here: http://doena-soft.de/tmp/SubControls.zip in SubControls.MainWindowViewModel.RaiseEvent(string attribute) / comments
Found another one. Actual code of method is: void RaiseEvent(string attribute) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(attribute)); } Error is: Block statement count of zero du...
0 votes
I have another one Invalid expression stack size during null coalescing expression translation. System.InvalidOperationException at Reflector.Disassembler.Translator.DecodeNullCoalescingExpressionOrStatement() at Reflector.Disassembler.Translator.DecodeDuplicateStatement(Int32 offset) at Reflector.Disassembler.Translator.DecodeStatement(Int32 end) at Reflector.Disassembler.Translator.DecodeBlockStatement(Int32 offset, Int32 end) at Reflector.Disassembler.Translator.TranslateMethodDeclaration(IMethodDeclaration mD, IMethodBody mB, Boolean handleExpressionStack) at Reflector.Disassembler.Translator.TranslateMethodDeclaration(IMethodDeclaration mD, IMethodBody mB) at Reflector.Disassembler.Disassembler.TransformMethodDeclaration(IMethodDeclaration value) at Reflector.Application.Translator.TranslateMethodDeclaration(IMethodDeclaration value) at Reflector.Application.UserInterface.DisassemblerWindow.Render(Boolean expandTypes, Boolean expandMethods) The actual code of that method is DoenaSoft.TVJunkie.MainForm bool UserIsCorrectAndContainsDate(User user) => user?.UserName == "DJ Doena" && user?.Watches?.Any(WatchesContainsDate) == true; PS: this throws the same error bool EntryContainsUserWithWatchedDate(FileEntry entry) => entry?.Users?.Any(UserIsCorrectAndContainsDate) == true; / comments
I have another one Invalid expression stack size during null coalescing expression translation. System.InvalidOperationException at Reflector.Disassembler.Translator.DecodeNullCoalescingExpressionO...
0 votes