Example #1
0
 public override bool HasCompatibleTypes(ITypePair typePair)
 => typePair.HasCompatibleTypes(this, SourceMember, TargetMember);
Example #2
0
 public virtual bool HasCompatibleTypes(ITypePair typePair)
 => typePair.HasCompatibleTypes(this, SourceMember, TargetMember);
Example #3
0
 public override bool HasCompatibleTypes(ITypePair typePair)
 {
     return(_useParentForTypeCheck
         ? Parent.HasCompatibleTypes(typePair)
         : typePair.HasCompatibleTypes(this, SourceMember, TargetMember));
 }