Beispiel #1
0
 private int CompareSecurityAttributes(SecurityAttribute first, SecurityAttribute second)
 {
     if ((object)first == (object)second)
     {
         return(0);
     }
     V_0 = this.securityAttributeToDeclaration.get_Item(first);
     V_1 = this.securityAttributeToDeclaration.get_Item(second);
     return(first.CompareToSecurityAttribute(second, V_0, V_1));
 }
Beispiel #2
0
        private int CompareSecurityAttributes(SecurityAttribute first, SecurityAttribute second)
        {
            if (first == second)
            {
                return(0);
            }
            SecurityDeclaration firstDeclaration  = securityAttributeToDeclaration[first];
            SecurityDeclaration secondDeclaration = securityAttributeToDeclaration[second];

            return(first.CompareToSecurityAttribute(second, firstDeclaration, secondDeclaration));
        }