Skip to content

Commit dee25ed

Browse files
committed
prefer collection expression to Enumerable.Empty
1 parent 0262cf8 commit dee25ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NetcodePatcher.Build/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public IEnumerable<string> ComputeUnityTransportConstants()
112112
public IEnumerable<string> ComputeUnityNetcodeNativeCollectionSupportConstants()
113113
{
114114
if (UnityNetcodeNativeCollectionSupport) return ["UNITY_NETCODE_NATIVE_COLLECTION_SUPPORT"];
115-
return Enumerable.Empty<string>();
115+
return [];
116116
}
117117

118118
public IEnumerable<string> ComputeAllMSBuildConstants()

0 commit comments

Comments
 (0)