Skip to content

Mark Generator-Attributes with the [Conditional] Attribute #17

@Flash0ver

Description

@Flash0ver

The Generated*Attributes in the FlashOWare.Generators are only markers to trigger the incremental source generators.
They should only be included in the final compilation if explicitly requested.

See ConditionalAttribute Class.

Question: What should the ConditionString be?

  • e.g. [Conditional("FLASHOWARE_GENERATORS")]
  • e.g. [Conditional("INCLUDE_FLASHOWARE_GENERATOR_ATTRIBUTES")]
  • e.g. [Conditional("INCLUDE_FLASHOWARE_GENERATORS_ATTRIBUTES")]

Metadata

Metadata

Assignees

No one assigned

    Labels

    changelog:addedAdd a new feature (SemVer:MINOR)questionFurther information is requestedscope:enumC# enumeration typestype:featRequest/add a new feature (this correlates with MINOR in Semantic Versioning)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions