Skip to content

Commit 6fd4e67

Browse files
committed
Fix fallback handling in ImmutableArrayWrapper<T>
1 parent 77ee83d commit 6fd4e67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StyleCop.Analyzers/StyleCop.Analyzers/Lightup/ImmutableArrayWrapper`1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public override int GetHashCode()
162162

163163
private sealed class UnsupportedImmutableArray : ImmutableArrayWrapper<T>
164164
{
165-
private static readonly ImmutableArray<T> SyntaxList = default;
165+
private static readonly ImmutableArray<T> SyntaxList = ImmutableArray<T>.Empty;
166166

167167
public UnsupportedImmutableArray()
168168
{

0 commit comments

Comments
 (0)