Skip to content

[C#] SinceVersion checks use type's version, not the field #763

Closed
@EddPorter

Description

@EddPorter

When generating fields, the encodingToken is passed to the generate*Property() methods and the properties from the enclosing signalToken are ignored. In particular, using sinceVersion on a field has no effect. Any fields using primitive types will never output code from generateFieldNotPresentCondition(). Also, and misleadingly, fields using custom or composite types will output version checking code based on the sinceVersion specified in the type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions