Skip to content

Conversation

tmilnthorp
Copy link
Collaborator

Per discussion here.

Adding equality methods/operators back
@angularsen
Copy link
Owner

I agree, this is better than bit-wise equality.

{
if(obj is null) throw new ArgumentNullException(nameof(obj));
if(!(obj is MassFlux)) throw new ArgumentException("Expected type MassFlux.", nameof(obj));
if(!(obj is MassFlux objMassFlux)) throw new ArgumentException("Expected type MassFlux.", nameof(obj));
Copy link
Owner

Choose a reason for hiding this comment

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

Nice

@angularsen angularsen merged commit f752062 into angularsen:v4 Nov 8, 2018
@angularsen angularsen added this to the 4.0 milestone Nov 8, 2018
@angularsen angularsen mentioned this pull request Nov 8, 2018
25 tasks
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