public override bool Matches(SecurityKeyIdentifierClause keyIdentifierClause) { RelAssertionDirectKeyIdentifierClause that = keyIdentifierClause as RelAssertionDirectKeyIdentifierClause; // PreSharp Bug: Parameter 'that' to this public method must be validated: A null-dereference can occur here. #pragma warning suppress 56506 return(ReferenceEquals(this, that) || (that != null && that.AssertionId == this.AssertionId)); }
public override bool Matches(SecurityKeyIdentifierClause keyIdentifierClause) { RelAssertionDirectKeyIdentifierClause that = keyIdentifierClause as RelAssertionDirectKeyIdentifierClause; // PreSharp #pragma warning suppress 56506 return(ReferenceEquals(this, that) || (that != null && that.AssertionId == this.AssertionId)); }
public override bool Matches(SecurityKeyIdentifierClause keyIdentifierClause) { RelAssertionDirectKeyIdentifierClause objB = keyIdentifierClause as RelAssertionDirectKeyIdentifierClause; return(object.ReferenceEquals(this, objB) || ((objB != null) && (objB.AssertionId == this.AssertionId))); }