Skip to content

Commit

Permalink
C#: Address review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnebel committed Jan 2, 2025
1 parent 596fdf0 commit fe4ec59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions csharp/ql/lib/semmle/code/csharp/commons/Collections.qll
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ abstract private class ParamsCollectionTypeImpl extends ValueOrRefType {
abstract Type getElementType();
}

private class AddArrayType extends ParamsCollectionTypeImpl instanceof ArrayType {
private class ParamsArrayType extends ParamsCollectionTypeImpl instanceof ArrayType {
override Type getElementType() { result = ArrayType.super.getElementType() }
}

private class AddCollectionTypes extends ParamsCollectionTypeImpl {
private class ParamsConstructedCollectionTypes extends ParamsCollectionTypeImpl {
private ConstructedType base;

AddCollectionTypes() {
ParamsConstructedCollectionTypes() {
exists(UnboundGenericType unboundbase |
base = this.getABaseType*() and unboundbase = base.getUnboundGeneric()
|
Expand Down

0 comments on commit fe4ec59

Please sign in to comment.