mirror of
https://github.com/github/codeql.git
synced 2026-04-23 15:55:18 +02:00
C#: Address review comments.
This commit is contained in:
@@ -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()
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user