When attempting to decompile an application I'm getting a rectangular box. I'm not sure if there is a way to interpret what this is or not.
public void Add(MessageErrorCode errorCode);
public void Add(SegmentErrorContext segmentContext);
public void AddRange(IEnumerable<MessageErrorCode> errorCodes);
public void AddRange(IEnumerable<SegmentErrorContext> segmentContexts);
[IteratorStateMachine(typeof())]
public IEnumerable<string> Flatten();
public void Sort();
The
IteratorStateMachineattribute is added to the generated IL machine code by the compiler for "iterator" methods that useyieldinternally.You can just remove that attribute for the code to work.
For illustration look at this SharpLab gist: https://sharplab.io/#gist:fc2cc09bb9cf72774eb724d655613cbf
The code
is translated into IL Machine Code like this: