Nivot.SignalR.Client.Net35 icon indicating copy to clipboard operation
Nivot.SignalR.Client.Net35 copied to clipboard

Enum.HasFlag extension returns the wrong value

Open jbruening opened this issue 8 years ago • 1 comments

You're lacking the actual flag comparison in your method. You should replace NET35Shims.cs#L50 with

ulong num = Convert.ToUInt64(value);
return ((Convert.ToUInt64(enumerated) & num) == num);

jbruening avatar Jan 14 '17 00:01 jbruening

facepalm

oising avatar Jan 14 '17 00:01 oising