File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ PSReadline.zip
7
7
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
8
8
[Bb ]in /
9
9
[Oo ]bj /
10
+ .ionide /
10
11
11
12
# VSCode directories that are not at the repository root
12
13
/** /.vscode /
Original file line number Diff line number Diff line change @@ -443,8 +443,8 @@ internal void ResetColors()
443
443
if ( fg == VTColorUtils . UnknownColor || bg == VTColorUtils . UnknownColor )
444
444
{
445
445
// TODO: light vs. dark
446
- fg = ConsoleColor . Black ;
447
- bg = ConsoleColor . Gray ;
446
+ fg = ConsoleColor . Gray ;
447
+ bg = ConsoleColor . Black ;
448
448
}
449
449
450
450
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)
34
34
{
35
35
ch = input [ i ] ;
36
36
lowByte = ( uint ) ( ch & 0x00FF ) ;
37
- hash = ( hash ^ lowByte ) * FNV32_PRIME ;
37
+ hash = unchecked ( ( hash ^ lowByte ) * FNV32_PRIME ) ;
38
38
39
39
highByte = ( uint ) ( ch >> 8 ) ;
40
- hash = ( hash ^ highByte ) * FNV32_PRIME ;
40
+ hash = unchecked ( ( hash ^ highByte ) * FNV32_PRIME ) ;
41
41
}
42
42
43
43
return hash ;
Original file line number Diff line number Diff line change 7
7
<AssemblyVersion >2.0.0.0</AssemblyVersion >
8
8
<FileVersion >2.0.0</FileVersion >
9
9
<InformationalVersion >2.0.0</InformationalVersion >
10
+ <CheckForOverflowUnderflow >true</CheckForOverflowUnderflow >
10
11
<TargetFrameworks >net461;netcoreapp2.1</TargetFrameworks >
11
12
</PropertyGroup >
12
13
You can’t perform that action at this time.
0 commit comments