Skip to content

Commit 76b162f

Browse files
committed
Harder parsing.
1 parent 3af0d27 commit 76b162f

File tree

1 file changed

+3
-0
lines changed
  • Provider/src/FirebirdSql.Data.FirebirdClient/Common

1 file changed

+3
-0
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/Common/IscHelper.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ public static List<object> ParseDatabaseInfo(byte[] buffer)
124124
info.Add("SUPER SERVER");
125125
}
126126
break;
127+
128+
default:
129+
throw new ArgumentOutOfRangeException(nameof(type), $"{nameof(type)}={type}");
127130
}
128131

129132
pos += length;

0 commit comments

Comments
 (0)