Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

NRefactory Parsing preprocessor as methods comment

$
0
0

When parsing PreProcessorDirective node is being put under wrong node

Here what I use

  ///<summary>

///...

  ///</summary>

  #if !SQLITE_OMIT_ATTACH

  ///<summary>
  /// ...
  ///</summary>
  static void attachFunc(sqlite3_context context,int NotUsed,sqlite3_value[ argv) {
  }

#endif

When parsing this code MethodDeclaration for attachFunc will have comments as its child plus #if line. And if I move this node somewhere I get inconsistent preprocessor without opening


Viewing all articles
Browse latest Browse all 1764

Trending Articles