OptionalCollectionLeading collection segment of a graph path (Modifications[2].ProvisionID →
Modifications). undefined for a plain field-name source.
Trailing field name — the last dotted segment with any [i] subscript removed.
Equals Source for a plain field-name source.
OptionalIndexPositional index within Collection when the path carried one.
The original, trimmed Source string.
A
ValidationErrorInfo.Sourcebroken into the parts a section needs in order to decide whether the failure belongs to it.MJ's own
BaseEntity.Validate()emits a bare field name ("Code"). Callers that validate a whole object graph emit a path instead —"Modifications[2].ProvisionID"— and those failures belong to the section that hosts the collection, not to a section that happens to render a field of the same trailing name.