Open marjanjavid opened 6 years ago
@PaymonK @Karvan I'm not sure what was the idea of this rule as some parts of the logic have been commented out and that's the reason Marjan couldn't find a good sample for this rule. So please let me know what should I do ?! Is it possible to recode the rule ?! Do you know guys why some parts are being commented out? or are you aware of the details of the logic of this rule?
The commented code is not completely correct. Please recode it. the whole purpose of the rule:
while an object inherited IEntity
Keep this line please: if (assignment.Right?.ToString() == "Guid.Empty") return;
Base class for MSharp object is GuidEntity
which is coming from Entity
This rule is not kicked . as you can see in the picture, while Settings inherits GuidEntity, we do not have any warning in this line.