You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method's description states InvalidOperationException as possible exception. However, Process() > OnProcess() may throw an UnhandledCharacterCodeException which is not documented, i.e. may get forgotten to be catched.
The void/Exception semantic of the method makes usage potentially inefficient, as exceptions are involved on all mismatching chars. Consider int int.Parse(string s) vs. bool int.TryParse(string s, out int result). The latter indicates failure by the return value, but doesn't throw.
InvalidOperationExceptionas possible exception. However,Process() > OnProcess()may throw anUnhandledCharacterCodeExceptionwhich is not documented, i.e. may get forgotten to be catched.void/Exceptionsemantic of the method makes usage potentially inefficient, as exceptions are involved on all mismatching chars. Considerint int.Parse(string s)vs.bool int.TryParse(string s, out int result). The latter indicates failure by the return value, but doesn't throw.