public static bool IsElastic(this SyntaxTrivia trivia)
 {
     return(trivia.HasAnnotation(SyntaxAnnotation.ElasticAnnotation));
 }
示例#2
0
 public bool HasAnnotation(SyntaxTrivia trivia, TAnnotation annotation)
 {
     return(trivia.HasAnnotation(this.GetRealAnnotation(annotation)));
 }
 public static bool IsElastic(this SyntaxTrivia trivia)
 => trivia.HasAnnotation(SyntaxAnnotation.ElasticAnnotation);