Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ internal override int Length(string str, int offset)
{
return _rawUserInterface.LengthInBufferCells(str, offset);
}
catch (Exception ex) when (ex is HostException || ex is NotImplementedException)
catch
{
// thrown when external host rawui is not implemented, in which case
// we will fallback to the default value.
Expand All @@ -109,7 +109,7 @@ internal override int Length(string str)
{
return _rawUserInterface.LengthInBufferCells(str);
}
catch (Exception ex) when (ex is HostException || ex is NotImplementedException)
catch
{
// thrown when external host rawui is not implemented, in which case
// we will fallback to the default value.
Expand All @@ -124,7 +124,7 @@ internal override int Length(char character)
{
return _rawUserInterface.LengthInBufferCells(character);
}
catch (Exception ex) when (ex is HostException || ex is NotImplementedException)
catch
{
// thrown when external host rawui is not implemented, in which case
// we will fallback to the default value.
Expand Down Expand Up @@ -179,7 +179,7 @@ internal override int ColumnNumber
{
return _forceNewLine ? raw.BufferSize.Width - 1 : raw.BufferSize.Width;
}
catch (Exception ex) when (ex is HostException || ex is NotImplementedException)
catch
{
// thrown when external host rawui is not implemented, in which case
// we will fallback to the default value.
Expand All @@ -205,7 +205,7 @@ internal override int RowNumber
{
return raw.WindowSize.Height;
}
catch (Exception ex) when (ex is HostException || ex is NotImplementedException)
catch
{
// thrown when external host rawui is not implemented, in which case
// we will fallback to the default value.
Expand Down