mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
More commutable attributes
This commit is contained in:
parent
3f6eae6bfc
commit
5096e65fc7
3 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,7 @@ namespace IDE
|
||||||
return (int)mKeyCode | (int)mKeyFlags << 16;
|
return (int)mKeyCode | (int)mKeyFlags << 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Commutable]
|
||||||
public static bool operator==(KeyState val1, KeyState val2)
|
public static bool operator==(KeyState val1, KeyState val2)
|
||||||
{
|
{
|
||||||
return (val1.mKeyCode == val2.mKeyCode) &&
|
return (val1.mKeyCode == val2.mKeyCode) &&
|
||||||
|
|
|
@ -231,6 +231,7 @@ namespace IDE.ui
|
||||||
return this == other;
|
return this == other;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Commutable]
|
||||||
public static bool operator==(PendingEntry val1, PendingEntry val2)
|
public static bool operator==(PendingEntry val1, PendingEntry val2)
|
||||||
{
|
{
|
||||||
if (((Object)val1 == null) || ((Object)val2 == null))
|
if (((Object)val1 == null) || ((Object)val2 == null))
|
||||||
|
|
|
@ -72,6 +72,7 @@ namespace IDE.util
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Commutable]
|
||||||
public static bool operator==(SourceHash lhs, SourceHash rhs)
|
public static bool operator==(SourceHash lhs, SourceHash rhs)
|
||||||
{
|
{
|
||||||
switch (lhs)
|
switch (lhs)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue