<HasIntrinsics Condition="'$(TargetsNetCoreApp)'=='true'">true</HasIntrinsics>
<DefineConstants Condition="'$(HasIntrinsics)'=='true'">$(DefineConstants);HAS_INTRINSICS</DefineConstants>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;uapaot-Windows_NT-Debug;uapaot-Windows_NT-Release</Configurations>
+ <NullableContextOptions>enable</NullableContextOptions>
</PropertyGroup>
<!-- Shared -->
<ItemGroup>
/// </summary>
/// <param name="obj">The Object to compare against.</param>
/// <returns>True if the Object is equal to this matrix; False otherwise.</returns>
- public override readonly bool Equals(object obj)
+ public override readonly bool Equals(object? obj)
{
if (obj is Matrix3x2)
{
/// </summary>
/// <param name="obj">The Object to compare against.</param>
/// <returns>True if the Object is equal to this matrix; False otherwise.</returns>
- public override readonly bool Equals(object obj) => (obj is Matrix4x4 other) && (this == other);
+ public override readonly bool Equals(object? obj) => (obj is Matrix4x4 other) && (this == other);
/// <summary>
/// Returns a String representing this matrix instance.
/// <param name="obj">The Object to compare against.</param>
/// <returns>True if the Object is equal to this Plane; False otherwise.</returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- public override readonly bool Equals(object obj)
+ public override readonly bool Equals(object? obj)
{
if (obj is Plane)
{
/// </summary>
/// <param name="obj">The Object to compare against.</param>
/// <returns>True if the Object is equal to this Quaternion; False otherwise.</returns>
- public override readonly bool Equals(object obj)
+ public override readonly bool Equals(object? obj)
{
if (obj is Quaternion)
{
/// <param name="obj">The Object to compare against.</param>
/// <returns>True if the Object is equal to this Vector2; False otherwise.</returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- public override readonly bool Equals(object obj)
+ public override readonly bool Equals(object? obj)
{
if (!(obj is Vector2))
return false;
/// <param name="format">The format of individual elements.</param>
/// <param name="formatProvider">The format provider to use when formatting elements.</param>
/// <returns>The string representation.</returns>
- public readonly string ToString(string format, IFormatProvider formatProvider)
+ public readonly string ToString(string? format, IFormatProvider? formatProvider)
{
StringBuilder sb = new StringBuilder();
string separator = NumberFormatInfo.GetInstance(formatProvider).NumberGroupSeparator;
/// <param name="obj">The Object to compare against.</param>
/// <returns>True if the Object is equal to this Vector3; False otherwise.</returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- public override readonly bool Equals(object obj)
+ public override readonly bool Equals(object? obj)
{
if (!(obj is Vector3))
return false;
/// <param name="format">The format of individual elements.</param>
/// <param name="formatProvider">The format provider to use when formatting elements.</param>
/// <returns>The string representation.</returns>
- public readonly string ToString(string format, IFormatProvider formatProvider)
+ public readonly string ToString(string? format, IFormatProvider? formatProvider)
{
StringBuilder sb = new StringBuilder();
string separator = NumberFormatInfo.GetInstance(formatProvider).NumberGroupSeparator;
/// <param name="obj">The Object to compare against.</param>
/// <returns>True if the Object is equal to this Vector4; False otherwise.</returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- public override readonly bool Equals(object obj)
+ public override readonly bool Equals(object? obj)
{
if (!(obj is Vector4))
return false;
/// <param name="format">The format of individual elements.</param>
/// <param name="formatProvider">The format provider to use when formatting elements.</param>
/// <returns>The string representation.</returns>
- public readonly string ToString(string format, IFormatProvider formatProvider)
+ public readonly string ToString(string? format, IFormatProvider? formatProvider)
{
StringBuilder sb = new StringBuilder();
string separator = NumberFormatInfo.GetInstance(formatProvider).NumberGroupSeparator;