File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
ql/test/library-tests/regressions Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class TypeMention : FreshEntity
2424
2525 static TypeSyntax GetElementType ( TypeSyntax type )
2626 {
27- switch ( type )
27+ switch ( type )
2828 {
2929 case ArrayTypeSyntax ats :
3030 return GetElementType ( ats . ElementType ) ;
@@ -35,16 +35,16 @@ static TypeSyntax GetElementType(TypeSyntax type)
3535 }
3636 }
3737
38- static Type GetElementType ( Type t )
38+ static Type GetElementType ( Type type )
3939 {
40- switch ( t )
40+ switch ( type )
4141 {
4242 case ArrayType at :
4343 return GetElementType ( at . ElementType . Type ) ;
4444 case NamedType nt when nt . symbol . IsBoundNullable ( ) :
4545 return nt . TypeArguments . Single ( ) ;
4646 default :
47- return t ;
47+ return type ;
4848 }
4949 }
5050
Original file line number Diff line number Diff line change @@ -180,4 +180,4 @@ void F()
180180 }
181181}
182182
183- // semmle-extractor-options: /r:System.Dynamic.Runtime.dll /langversion:8.0
183+ // semmle-extractor-options: /r:System.Dynamic.Runtime.dll
You can’t perform that action at this time.
0 commit comments