Skip to content

Analysis fails in numeric format with + sign #57

@jotabe-net

Description

@jotabe-net

Example:
This template is accepted by the analyzer:
"{Balance,10:#0.00}"
This isn't:
"{Balance,10:+#0.00;-#0.00;0.00}"
The problem is that the + in the format, is triggering:
Serilog002: Error while parsing MessageTemplate: Found invalid charater '+' in property

I don't know if the problem is that the '+' is not accepted in the whole property placeholder, or that this character is rejected in the format part

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions