Exemplo n.º 1
0
 public bool Equals(InvocationCacheCompatible other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) &&
            other._argumentCount == _argumentCount &&
            Equals(other._argumentNames, _argumentNames) &&
            other._staticContext.Equals(_staticContext) &&
            Equals(other._context, _context) &&
            other._convertExplict.Equals(_convertExplict) &&
            Equals(other._convertType, _convertType));
 }
Exemplo n.º 2
0
 public MetaProperty(string name)
     : base(name, null)
 {
     _invokeGet = new InvocationCacheCompatible(InvocationKind.Get, name);
     _invokeSet = new InvocationCacheCompatible(InvocationKind.Set, name);
 }