mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-13 02:38:27 -04:00
Added and applied styles for private readonly fields, private fields to Extensions and Common folders.
- Some renamings and code cleanups - Chained method calls, binary expressions and binary patterns will now break into newlines - Type param constraints and base constructor calls will be on the new line
This commit is contained in:
@@ -24,9 +24,7 @@ public struct ShmartNumber : IEquatable<ShmartNumber>
|
||||
=> Value.ToString();
|
||||
|
||||
public override bool Equals(object obj)
|
||||
=> obj is ShmartNumber sn
|
||||
? Equals(sn)
|
||||
: false;
|
||||
=> obj is ShmartNumber sn && Equals(sn);
|
||||
|
||||
public bool Equals(ShmartNumber other)
|
||||
=> other.Value == Value;
|
||||
|
Reference in New Issue
Block a user