Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge type checks #723

Merged
merged 1 commit into from
Jan 13, 2021
Merged

merge type checks #723

merged 1 commit into from
Jan 13, 2021

Conversation

SimonCropp
Copy link
Contributor

beter perf via less type checking

beter perf via less type checking
@@ -307,9 +307,9 @@ public string GetMappedName()
/// <returns>True if the two instance is the same.</returns>
public override bool Equals(object obj)
{
if (obj is ClassProperty)
if (obj is ClassProperty property)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am using this approach at some point, but when I integrated with App Veyor using the earlier version of builder, it fails. But do not worry, I already had updated the CI and it works with this approach. Thanks for this update.

@mikependon mikependon merged commit a9db587 into mikependon:master Jan 13, 2021
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.

2 participants