Skip to content

Commit

Permalink
Moved back to c# 6.0 compiler. fixes gmamaladze#93
Browse files Browse the repository at this point in the history
  • Loading branch information
gmamaladze committed Jan 24, 2018
1 parent ef50364 commit f70ef24
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion MouseKeyHook/KeyCombinationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public static void OnCombination(this IKeyboardEvents source,
.ToDictionary(g => g.Key, g => g.ToArray());
source.KeyDown += (sender, e) =>
{
var found = watchlists.TryGetValue(e.KeyCode, out KeyValuePair<Combination, Action>[] element);
KeyValuePair<Combination, Action>[] element;
var found = watchlists.TryGetValue(e.KeyCode, out element);
if (!found)
{
reset?.Invoke();
Expand Down
1 change: 1 addition & 0 deletions MouseKeyHook/MouseKeyHook.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
<ErrorReport>prompt</ErrorReport>
<UseVSHostingProcess>false</UseVSHostingProcess>
<RunCodeAnalysis>true</RunCodeAnalysis>
<LangVersion>6</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ This library attaches to windows global hooks, tracks keyboard and mouse clicks

## License

The MIT license see: [LICENSE.txt](/license.txt)
The MIT license see: [LICENSE.txt](/LICENSE.txt)

0 comments on commit f70ef24

Please sign in to comment.