Invert nullability in Emulation.Common, enabling it some trivial files

This commit is contained in:
YoshiRulz 2021-07-22 14:22:39 +10:00
parent f1da6e6cd3
commit b4738411a2
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
76 changed files with 187 additions and 86 deletions

View File

@ -1,5 +1,3 @@
#nullable enable
namespace BizHawk.Emulation.Common
{
public interface AxisConstraint

View File

@ -1,5 +1,3 @@
#nullable enable
using System.Collections;
using System.Collections.Generic;

View File

@ -1,5 +1,3 @@
#nullable enable
namespace BizHawk.Emulation.Common
{
/// <summary>represents the direction of <c>(+, +)</c></summary>

View File

@ -1,5 +1,3 @@
#nullable enable
using System;
using BizHawk.Common;

View File

@ -1,5 +1,3 @@
#nullable enable
using System;
namespace BizHawk.Emulation.Common

View File

@ -1,5 +1,3 @@
#nullable enable
namespace BizHawk.Emulation.Common
{
public sealed class NoOpAxisConstraint : AxisConstraint

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;

View File

@ -1,4 +1,6 @@
using System.Collections.Generic;
#nullable disable
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using BizHawk.Common;
namespace BizHawk.Emulation.Common

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Runtime.InteropServices;
using BizHawk.Common;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;

View File

@ -1,3 +1,5 @@
#nullable disable
using System;
using System.IO;
using BizHawk.Common;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
namespace BizHawk.Emulation.Common

View File

@ -1,4 +1,6 @@
using System.Threading;
#nullable disable
using System.Threading;
namespace BizHawk.Emulation.Common
{

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
namespace BizHawk.Emulation.Common
{

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// A default IVideoProvider that simply returns

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
namespace BizHawk.Emulation.Common.Base_Implementations
{

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.IO;
using BizHawk.Common;

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// A generic implementation of ITraceable that can be used by any core

View File

@ -5,7 +5,6 @@
<Import Project="../MainSlnCommon.props" />
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
namespace BizHawk.Emulation.Common

View File

@ -1,6 +1,4 @@
#nullable enable
using System;
using System;
namespace BizHawk.Emulation.Common
{

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
namespace BizHawk.Emulation.Common
{

View File

@ -1,4 +1,6 @@
using System.Linq;
#nullable disable
using System.Linq;
using System.Text;
namespace BizHawk.Emulation.Common

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;

View File

@ -1,3 +1,5 @@
#nullable disable
using System.Collections.Generic;
// ReSharper disable IdentifierTypo

View File

@ -1,5 +1,3 @@
#nullable enable
namespace BizHawk.Emulation.Common
{
public readonly struct FirmwareFile

View File

@ -1,5 +1,3 @@
#nullable enable
namespace BizHawk.Emulation.Common
{
public readonly struct FirmwareID

View File

@ -1,5 +1,3 @@
#nullable enable
namespace BizHawk.Emulation.Common
{
public readonly struct FirmwareOption

View File

@ -1,5 +1,3 @@
#nullable enable
namespace BizHawk.Emulation.Common
{
public readonly struct FirmwareRecord

View File

@ -1,4 +1,6 @@
using System.Collections.Generic;
#nullable disable
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Globalization;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

View File

@ -1,4 +1,6 @@
using System.Collections.Generic;
#nullable disable
using System.Collections.Generic;
namespace BizHawk.Emulation.Common
{

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// Defines the means by which firmware, bios and other necessary files are provided to a core that needs them

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
namespace BizHawk.Emulation.Common
{

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// This interface specifies that an interface or implementation is a emulator core service, such as <seealso cref="IDebuggable"/>,

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
namespace BizHawk.Emulation.Common

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
namespace BizHawk.Emulation.Common

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
namespace BizHawk.Emulation.Common

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// An <seealso cref="IEmulatorService"/> that returns cart/mapper/board information about the Game hardware itself, if available

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.IO;
using System.Collections.Generic;

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// This service provides a means for the current core to generate a

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
public interface ICycleTiming
{

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
namespace BizHawk.Emulation.Common

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Linq;
using System.Collections.Generic;

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// Specifies an interface for returning the state of a LED drive light such as on Disk and CD Drives,

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// This service specifies the interaction of the client and the core in terms of the state of input polling

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// This service is use by link cable capable cores to manage the status of the link cable

View File

@ -1,4 +1,6 @@
using System.Collections.Generic;
#nullable disable
using System.Collections.Generic;
namespace BizHawk.Emulation.Common
{

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// This service provides the means for a core to specify region information to the client, such NTSC versus PAL

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// Provides detailed information about the Rom such as hashes,

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// This service provides the system by which a client can request SaveRAM data to be stored by the client

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Linq;
using System.Reflection;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
namespace BizHawk.Emulation.Common
{

View File

@ -1,4 +1,6 @@
using System.IO;
#nullable disable
using System.IO;
using BizHawk.Common.BufferExtensions;
namespace BizHawk.Emulation.Common

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
public interface ITraceSink
{

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
/// <summary>
/// Provides an interface to convey the effective X, Y coordinates that represent

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
namespace BizHawk.Emulation.Common
{

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Linq;
using BizHawk.Common.ReflectionExtensions;

View File

@ -1,3 +1,5 @@
#nullable disable
using System;
using System.Runtime.InteropServices;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
namespace BizHawk.Emulation.Common
{

View File

@ -1,3 +1,5 @@
#nullable disable
using System;
using System.Runtime.InteropServices;
using BizHawk.BizInvoke;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using BizHawk.BizInvoke;
using BizHawk.Common;

View File

@ -1,4 +1,6 @@
namespace BizHawk.Emulation.Common
#nullable disable
namespace BizHawk.Emulation.Common
{
public static class Waves
{

View File

@ -1,4 +1,6 @@
using System.Collections.Generic;
#nullable disable
using System.Collections.Generic;
using System.Linq;
namespace BizHawk.Emulation.Common

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Newtonsoft.Json;

View File

@ -1,4 +1,6 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using BizHawk.Emulation.Common;

View File

@ -1,4 +1,6 @@
using System.Collections.Generic;
#nullable disable
using System.Collections.Generic;
using System.Drawing;
namespace BizHawk.Emulation.Common

View File

@ -1,6 +1,4 @@
#nullable enable
using System.Collections.Generic;
using System.Collections.Generic;
using System.Drawing;
using BizHawk.Emulation.Common;