Skip to content

Add name validation for PropertyOverride and FieldOverride #199

Open
@ENikS

Description

@ENikS

Description

The current implementation allows creation of overrides without specifying a field or property name.

var field = new FieldOverride(null, null);
var property = new PropertyOverride(null, null);

This is an error, and such overrides cause exceptions later on in the resolution. This condition must be handled in the constructor and throw ArgumentNullException.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions