Add exception handling for invalid key interpretation in PDT.
This commit is contained in:
@@ -233,6 +233,8 @@ namespace Cryville.Common.Pdt {
|
||||
break;
|
||||
case '}':
|
||||
return result;
|
||||
default:
|
||||
throw new InvalidOperationException("Internal error: Invalid key interpretation");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user