コード例 #1
0
 public override bool Equals(Assertion other)
 => InvocationExpression.GetDocumentRange() == (other as InlineAssertion)?.InvocationExpression.GetDocumentRange();
コード例 #2
0
 public override int GetHashCode() => InvocationExpression.GetDocumentRange().GetHashCode();
コード例 #3
0
 public DocumentRange CalculateRange() => ReferenceExpression?.GetDocumentRange() ?? InvocationExpression.GetDocumentRange();