Skip to content
This repository was archived by the owner on Jan 10, 2026. It is now read-only.
This repository was archived by the owner on Jan 10, 2026. It is now read-only.

SemanticVersion.IsVersion accepts versions that SemanticVersion.TryParse does not #13

@ssiltanen

Description

@ssiltanen

The following code is done with F# interactive, but I trust you get the point. Here's how to repro the problem:

> SemanticVersion.IsVersion "2.0";;                                                                                            
val it : bool = true

> SemanticVersion.TryParse "2.0";;
val it : bool * SemanticVersion = (false, null)

When given a version string "2.0", IsVersion function accepts it as valid version, but TryParse cannot parse it.

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