When an element problem analyzer is called for a method invocation is it possible to get access to previous or next IInvocationExpression instance?
So if I have the following code:
var tmp = Observable.Return("Ollie")
.Select(n => "Ollie Riches")
And I have an invocation expression analyzer:
public sealed class SelectAndReverseAnalyzer : ElementProblemAnalyzer<IInvocationExpression>
protected override void Run(IInvocationExpression expression, ElementProblemAnalyzerData data, IHighlightingConsumer consumer)
When the Run overload is called for the Reverse' method how can I get the invocation expression for the 'Select' method?