示例#1
0
        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));
        }
示例#2
0
        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));
        }
示例#3
0
        public override bool Matches(SecurityKeyIdentifierClause keyIdentifierClause)
        {
            RelAssertionDirectKeyIdentifierClause objB = keyIdentifierClause as RelAssertionDirectKeyIdentifierClause;

            return(object.ReferenceEquals(this, objB) || ((objB != null) && (objB.AssertionId == this.AssertionId)));
        }