Example #1
0
 IUnaryOperatorCoercionMember IUnaryOperatorCoercionMemberDictionary.this[CoercibleUnaryOperators op]
 {
     get
     {
         return(this[op]);
     }
 }
Example #2
0
 public bool ContainsOverload(CoercibleUnaryOperators op)
 {
     foreach (var item in this.Values)
     {
         if (item.Operator == op)
         {
             return(true);
         }
     }
     return(false);
 }
Example #3
0
 public IUnaryOperatorCoercionMember <TCoercionParent> this[CoercibleUnaryOperators op]
 {
     get {
         foreach (var member in this.Values)
         {
             if (member.Operator == op)
             {
                 return(member);
             }
         }
         throw new KeyNotFoundException();
     }
 }
Example #4
0
 public IUnaryOperatorCoercionMember <TType> this[CoercibleUnaryOperators op]
 {
     get
     {
         foreach (var unop in this.Values)
         {
             if (unop.Operator == op)
             {
                 return(unop);
             }
         }
         return(null);
     }
 }
Example #5
0
 IIntermediateUnaryOperatorCoercionMember IIntermediateUnaryOperatorCoercionMemberDictionary.Add(CoercibleUnaryOperators op)
 {
     return(this.Add(op));
 }
Example #6
0
 public IIntermediateUnaryOperatorCoercionMember <TType, TIntermediateType> this[CoercibleUnaryOperators op]
 {
     get
     {
         foreach (var item in this.Values)
         {
             if (item.Operator == op)
             {
                 return(item);
             }
         }
         return(null);
     }
 }
Example #7
0
            public IIntermediateUnaryOperatorCoercionMember <TType, TIntermediateType> Add(CoercibleUnaryOperators op)
            {
                UnaryOperatorMember member = this.Parent.GetUnaryOperatorMember(op);

                this.AddDeclaration(member);
                return(member);
            }
Example #8
0
 public static IUnaryOperatorUniqueIdentifier GetUnaryOperatorIdentifier(CoercibleUnaryOperators @operator)
 {
     return(new DefaultUnaryOperatorUniqueIdentifier(@operator));
 }
Example #9
0
 public static IUnaryOperatorUniqueIdentifier GetUnaryOperatorIdentifier(CoercibleUnaryOperators @operator, string languageSpecificQualifier)
 {
     return(new DefaultUnaryOperatorUniqueIdentifier(@operator, languageSpecificQualifier));
 }