File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11<wpf : ResourceDictionary xml : space =" preserve" xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml" xmlns : s =" clr-namespace:System;assembly=mscorlib" xmlns : ss =" urn:shemas-jetbrains-com:settings-storage-xaml" xmlns : wpf =" http://schemas.microsoft.com/winfx/2006/xaml/presentation" >
2+ <s : String x : Key =" /Default/CodeInspection/Highlighting/InspectionSeverities/=InconsistentNaming/@EntryIndexedValue" >WARNING</s : String >
23 <s : String x : Key =" /Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=BS/@EntryIndexedValue" >BS</s : String >
34 <s : String x : Key =" /Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=IPA/@EntryIndexedValue" >IPA</s : String >
5+
46 <s : String x : Key =" /Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=Constants/@EntryIndexedValue" >< Policy Inspect="True" Prefix="" Suffix="" Style="AaBb">< ExtraRule Prefix="" Suffix="" Style="AaBb_AaBb" />< /Policy> </s : String >
57 <s : String x : Key =" /Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue" >< Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb">< ExtraRule Prefix="" Suffix="" Style="aaBb" />< /Policy> </s : String >
8+ <s : String x : Key =" /Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PublicFields/@EntryIndexedValue" >< Policy Inspect="True" Prefix="" Suffix="" Style="AaBb">< ExtraRule Prefix="" Suffix="" Style="aaBb_aaBb" />< /Policy> </s : String >
9+ <s : String x : Key =" /Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=StaticReadonly/@EntryIndexedValue" >< Policy Inspect="True" Prefix="" Suffix="" Style="AaBb">< ExtraRule Prefix="" Suffix="" Style="aaBb_aaBb" />< /Policy> </s : String >
610 <s : Boolean x : Key =" /Default/UserDictionary/Words/=beatsaber/@EntryIndexedValue" >True</s : Boolean >
711 <s : Boolean x : Key =" /Default/UserDictionary/Words/=Coroutine/@EntryIndexedValue" >True</s : Boolean >
812 <s : Boolean x : Key =" /Default/UserDictionary/Words/=deps/@EntryIndexedValue" >True</s : Boolean >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ private enum KeyStates
515515 [ DllImport ( "user32.dll" , CharSet = CharSet . Auto , ExactSpelling = true ) ]
516516 private static extern short GetKeyState ( int keyCode ) ;
517517
518- private static KeyStates GetKeyState ( Keys key )
518+ private static KeyStates KeyState ( Keys key )
519519 {
520520 KeyStates state = KeyStates . None ;
521521
@@ -535,12 +535,12 @@ private static KeyStates GetKeyState(Keys key)
535535
536536 public static bool IsKeyDown ( Keys key )
537537 {
538- return KeyStates . Down == ( GetKeyState ( key ) & KeyStates . Down ) ;
538+ return KeyStates . Down == ( KeyState ( key ) & KeyStates . Down ) ;
539539 }
540540
541541 public static bool IsKeyToggled ( Keys key )
542542 {
543- return KeyStates . Toggled == ( GetKeyState ( key ) & KeyStates . Toggled ) ;
543+ return KeyStates . Toggled == ( KeyState ( key ) & KeyStates . Toggled ) ;
544544 }
545545 }
546546 }
You can’t perform that action at this time.
0 commit comments