Skip to content

ClrDynamic implements IConvertible explicitly#23

Open
fbrosseau wants to merge 1 commit intoJeffCyr:masterfrom
fbrosseau:clrdynamic-iconvertible
Open

ClrDynamic implements IConvertible explicitly#23
fbrosseau wants to merge 1 commit intoJeffCyr:masterfrom
fbrosseau:clrdynamic-iconvertible

Conversation

@fbrosseau
Copy link
Copy Markdown
Contributor

  • ClrDynamic implements IConvertible
  • Also compacted the boilerplate code of explicit casts with expression bodies

Also compacted the boilerplate code of explicit casts with expression bodies
Copy link
Copy Markdown
Owner

@JeffCyr JeffCyr left a comment

Choose a reason for hiding this comment

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

Thanks for those changes, looks good after those two small changes are done

AddType(typeof(DnsEndPoint));
AddType(typeof(X509Certificate));
AddType(typeof(X509Certificate2));
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

IPEndPoint/DnsEndPoint/X509Certificate/X509Certificate2 should not be there

AddType(typeof(X509Certificate2));
}

public static Type GetRealType(this ClrType type)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I don't think this method needs to exist

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