Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 5fc8652

Browse files
committed
use C# 7 syntax when possible
1 parent 9eecb28 commit 5fc8652

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

src/Analysis/Engine/Impl/Values/SpecializedNamespace.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,7 @@ public override IEnumerable<ILocationInfo> Locations {
217217
}
218218
}
219219

220-
public override string Name {
221-
get {
222-
if (_original == null)
223-
return base.Name;
224-
225-
return _original.Name;
226-
}
227-
}
220+
public override string Name => _original == null ? base.Name : this._original.Name;
228221

229222
public override IEnumerable<OverloadResult> Overloads {
230223
get {

0 commit comments

Comments
 (0)