Skip to content

int.Parse("") throws the exception #605

@SenthilKumaranRajan

Description

@SenthilKumaranRajan

Using int.Parse("") leads to crash in project reunion and same works fine with WinUI3 Project templates

Describe the bug
unable to parse to int. int.Parse("") throws the exception

Steps to reproduce the bug

  1. Create the sample.
  2. add the below code in the constructor.
    int bytesCount = int.Parse("WINUI");
  3. Run the sample. You can see application crashes.

Expected behavior
It works fine in WinUI3 Project templates

Screenshots

image

Version Info
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions