File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ PSReadline.zip
77# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
88[Bb ]in /
99[Oo ]bj /
10+ .ionide /
1011
1112# VSCode directories that are not at the repository root
1213/** /.vscode /
Original file line number Diff line number Diff line change @@ -443,8 +443,8 @@ internal void ResetColors()
443443 if ( fg == VTColorUtils . UnknownColor || bg == VTColorUtils . UnknownColor )
444444 {
445445 // TODO: light vs. dark
446- fg = ConsoleColor . Black ;
447- bg = ConsoleColor . Gray ;
446+ fg = ConsoleColor . Gray ;
447+ bg = ConsoleColor . Black ;
448448 }
449449
450450 SelectionColor = VTColorUtils . AsEscapeSequence ( bg , fg ) ;
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ internal static uint ComputeHash(string input)
3434 {
3535 ch = input [ i ] ;
3636 lowByte = ( uint ) ( ch & 0x00FF ) ;
37- hash = ( hash ^ lowByte ) * FNV32_PRIME ;
37+ hash = unchecked ( ( hash ^ lowByte ) * FNV32_PRIME ) ;
3838
3939 highByte = ( uint ) ( ch >> 8 ) ;
40- hash = ( hash ^ highByte ) * FNV32_PRIME ;
40+ hash = unchecked ( ( hash ^ highByte ) * FNV32_PRIME ) ;
4141 }
4242
4343 return hash ;
Original file line number Diff line number Diff line change 77 <AssemblyVersion >2.0.0.0</AssemblyVersion >
88 <FileVersion >2.0.0</FileVersion >
99 <InformationalVersion >2.0.0</InformationalVersion >
10+ <CheckForOverflowUnderflow >true</CheckForOverflowUnderflow >
1011 <TargetFrameworks >net461;netcoreapp2.1</TargetFrameworks >
1112 </PropertyGroup >
1213
You can’t perform that action at this time.
0 commit comments