IProperty ResolvePropertyOverride(IProperty p, IEntity[] candidates) { foreach (IEntity candidate in candidates) { if (EntityType.Property != candidate.EntityType) continue; IProperty candidateProperty = (IProperty)candidate; if (CheckOverrideSignature(p, candidateProperty)) { return candidateProperty; } } return null; }