Skip to content

changed PayloadHelper.GetTypeId to use switch expression#1239

Open
aadvark-pancakes wants to merge 1 commit intodotnet:mainfrom
aadvark-pancakes:fix/issue-25-pattern-matching
Open

changed PayloadHelper.GetTypeId to use switch expression#1239
aadvark-pancakes wants to merge 1 commit intodotnet:mainfrom
aadvark-pancakes:fix/issue-25-pattern-matching

Conversation

@aadvark-pancakes
Copy link

Could not implement c# pattern matching as requested (not applicable), instead fixed the switch inside the requested method.

Fixes #25

@aadvark-pancakes
Copy link
Author

@aadvark-pancakes please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@dotnet-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@dotnet-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@dotnet-policy-service agree company="Microsoft"

Contributor License Agreement

@dotnet-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use C# pattern matching for matching types.

1 participant

Comments