File tree Expand file tree Collapse file tree
StyleChecker/StyleChecker/Cleaning/RedundantTypedArrayCreation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ namespace StyleChecker.Cleaning.RedundantTypedArrayCreation;
1212using Microsoft . CodeAnalysis . Diagnostics ;
1313using Microsoft . CodeAnalysis . Operations ;
1414using StyleChecker . Refactoring ;
15- using Enumerables = Maroontress . Util . Enumerables ;
1615using R = Resources ;
1716
1817/// <summary>
@@ -166,7 +165,9 @@ The following code results in a compilation error.
166165 . FilterNonNullReference ( )
167166 . ToFrozenSet ( ) ;
168167 var excludeTypeSet = rawTypeSet . Where ( IsSystemNullableType )
169- . SelectMany ( s => s is INamedTypeSymbol n ? n . TypeArguments : [ ] )
168+ . SelectMany ( s => s is INamedTypeSymbol n
169+ ? n . TypeArguments
170+ : [ ] )
170171 . ToRigidSet ( ) ;
171172 var typeSet = rawTypeSet . Where ( s => ! excludeTypeSet . Contains ( s ) )
172173 . ToFrozenSet ( ) ;
You can’t perform that action at this time.
0 commit comments