Adds editorconfig and refactors to the established rules

This commit is contained in:
BinaryAlley committed 2024-09-23 16:48:48 +03:00
1 parent 712a0f2b27
commit cd44f11d9e
138 files changed
+1799 -1629

No files matched your search

@@ -16,17 +16,11 @@ public readonly struct Optional<TValue>
/// Gets a value indicating whether this structure has a value.
/// </summary>
public bool HasValue { get; }
/// <summary>
/// Gets the value represented by this structure.
/// </summary>
public TValue Value
{
get
{
return HasValue ? _value! : default!;
}
}
public TValue Value => HasValue ? _value! : default!;
#endregion
#region ====================================================================== CTOR =====================================================================================