Beispiel #1
0
 public static bool IsNotNullAndValid(this AstObject astObj)
 {
     return(!ReferenceEquals(astObj, null) && astObj.IsValid);
 }
Beispiel #2
0
 public static bool IsNullOrInvalid(this AstObject astObj)
 {
     return(ReferenceEquals(astObj, null) || astObj.IsInvalid);
 }