Use expression body syntax
This commit is contained in:
@@ -44,7 +44,7 @@ namespace OpenRA.Primitives
|
||||
Height = height;
|
||||
}
|
||||
|
||||
public bool IsEmpty { get { return Width == 0 && Height == 0; } }
|
||||
public bool IsEmpty => Width == 0 && Height == 0;
|
||||
|
||||
public bool Equals(Size other)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user