This project is read-only.

ISyntaxNodeAnalyzer<T> missing v.1.0.0-beta1-20141031-01

Topics: APIs
Nov 16, 2014 at 7:11 PM
I am trying to upgrade my code from v0.7.4 to v1.0.0-beta, but the interface ISyntaxNodeAnalyzer<T> is missing.

Did the interface became obsolete?


Nov 16, 2014 at 8:00 PM
Are you using VS2015?
Nov 17, 2014 at 8:59 AM
Edited Nov 17, 2014 at 8:59 AM
It's gone. Instead, derive from DiagnosticAnalyzer and override Initialize(AnalysisContext context). In the body of the method, call context.RegisterSyntaxNodeAction(...).
Nov 17, 2014 at 8:39 PM
I am using VS2015.

Rewriting to DiagnosticAnalyzer, looks much better! and everything is building again :-)