public bool Contains(Signature signature) { #if USETYPEINHERITANCE if (FSignatures.Contains(ASignature)) { return(true); } foreach (DictionaryEntry entry in FSignatures) { if (((OperatorSignature)entry.Value).Contains(ASignature)) { return(true); } } return(false); #else return(_signatures.ContainsKey(signature)); #endif }
public Operator ResolveInheritedSignature(Signature ASignature) { OperatorSignature LSignature = FSignatures.ResolveInherited(ASignature); return(LSignature != null ? LSignature.Operator : null); }