Skip to content

[Bug|Feature]: Throws Exception on get/set if the property is redefined #45

@antoineatstariongroup

Description

@antoineatstariongroup

What type of issue is this?

  • Bug report
  • Feature request

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the SysML2.NET
  • I have searched open and closed issues to ensure it has not already been reported

Description

When a property is redefined and that the redefining one is present into the same class, that property should throw InvalidOperationException for Get/Set since it does not make sense to access properties that are redefined.

This should be applied on DTO and POCO. Make sure to also align DAL Extension to not set redefined property

Steps to Reproduce

System Configuration

  • SysML2.NET version:
  • Environment (Operating system, version and so on):
  • .NET Framework version:
  • Additional information:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions