-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Move]
Part-7 Classes into Different Library - Neo.Extensions
#3446
base: master
Are you sure you want to change the base?
[Move]
Part-7 Classes into Different Library - Neo.Extensions
#3446
Conversation
…`, `AssemblyExtensions`, `StringExtensdions` Deleted `Helper.cs` file
…8/neo into rebuild/the-split-2
public static void Remove<T>(this HashSet<T> set, ISet<T> other) | ||
{ | ||
if (set.Count > other.Count) | ||
{ | ||
set.ExceptWith(other); | ||
} | ||
else | ||
{ | ||
set.RemoveWhere(u => other.Contains(u)); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
( Does set.Remove(other)
have any difference from set.ExceptWith(other)
, even when set.Count <= other.Count
? )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No clue. I'm just moving the method to appropriate namespaces or libraries.
Description
Reorganized and move classes from
neo
library toneo.extensions
library.Fixed problems and warnings that occurred. Along with naming violations.
Change Log
Neo.VM.Helper
classScriptBuilderExtensions
classusing
statementStringExtensions
class and filenameType of change
How Has This Been Tested?
Checklist: