File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
src/BizHawk.Emulation.Cores/Consoles/PC Engine Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ csharp_space_after_cast = true
1515csharp_indent_switch_labels = true
1616csharp_indent_case_contents = true
1717csharp_indent_labels = one_less_than_current
18+ dotnet_style_require_accessibility_modifiers = for_non_interface_members
1819
1920# Style rules
2021# Can't be in .globalconfig because dotnet format doesn't respect that https://github.com/dotnet/format/issues/1643
Original file line number Diff line number Diff line change 1818 <Features >strict</Features >
1919 <IsTargetingNetFramework >$(TargetFramework.StartsWith("net4"))</IsTargetingNetFramework >
2020 <GenerateDocumentationFile >true</GenerateDocumentationFile > <!-- it would be nice to rename these to *.api_reference.xml or something, but it seems https://github.com/dotnet/standard/issues/614 was never fixed -->
21- <LangVersion >12 .0</LangVersion >
21+ <LangVersion >14 .0</LangVersion >
2222 <ManagePackageVersionsCentrally >true</ManagePackageVersionsCentrally >
2323 <NoWarn >$(NoWarn);CS1591;SA0001</NoWarn >
2424 <Nullable >enable</Nullable >
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public QuickQueue(int capacity)
5353 public void Enqueue ( T item )
5454 {
5555 if ( size >= buffer . Length )
56- throw new Exception ( $ "{ nameof ( QuickQueue < T > ) } capacity breached!") ;
56+ throw new Exception ( $ "{ nameof ( QuickQueue < > ) } capacity breached!") ;
5757
5858 buffer [ tail ] = item ;
5959 tail = ( tail + 1 ) % buffer . Length ;
@@ -78,7 +78,7 @@ public T[] ToArray(int elemSize)
7878 public T Dequeue ( )
7979 {
8080 if ( size == 0 )
81- throw new Exception ( $ "{ nameof ( QuickQueue < T > ) } is empty!") ;
81+ throw new Exception ( $ "{ nameof ( QuickQueue < > ) } is empty!") ;
8282
8383 T item = buffer [ head ] ;
8484 head = ( head + 1 ) % buffer . Length ;
You can’t perform that action at this time.
0 commit comments