Пример #1
0
 /// <summary>
 /// Determines where this trivia has any annotations of the specified annotation kinds.
 /// </summary>
 public bool HasAnnotations(params string[] annotationKinds)
 {
     return(UnderlyingNode?.HasAnnotations(annotationKinds) ?? false);
 }
Пример #2
0
 /// <summary>
 /// Determines where this trivia has annotations of the specified annotation kind.
 /// </summary>
 public bool HasAnnotations(string annotationKind)
 {
     return(UnderlyingNode?.HasAnnotations(annotationKind) ?? false);
 }