fix(core): Fixes nullables being disabled (#466)
This commit is contained in:
parent
657233b2eb
commit
079eeb1b96
6 changed files with 7 additions and 7 deletions
|
|
@ -375,7 +375,7 @@ namespace Server.Buffers
|
|||
ArrayPool<char>.Shared.Return(toReturn);
|
||||
}
|
||||
}
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void ReplaceAny(ReadOnlySpan<char> oldChars, ReadOnlySpan<char> newChars, int startIndex, int count)
|
||||
|
|
|
|||
|
|
@ -535,7 +535,7 @@ namespace Server.Collections
|
|||
++_version;
|
||||
return actualIndex;
|
||||
}
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
|
||||
// Returns the index of the next entry in the bucket
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
|
|
|
|||
|
|
@ -2442,7 +2442,7 @@ namespace Server
|
|||
ClearProperties();
|
||||
}
|
||||
}
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
|
||||
public virtual int GetPacketFlags()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ namespace Server
|
|||
private static TimeSpan _profileTime;
|
||||
#nullable enable
|
||||
private static bool? _isRunningFromXUnit;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
|
||||
private static int _itemCount;
|
||||
private static int _mobileCount;
|
||||
|
|
@ -80,7 +80,7 @@ namespace Server
|
|||
return false;
|
||||
}
|
||||
}
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
|
||||
public static bool Profiling
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7445,7 +7445,7 @@ namespace Server
|
|||
ClearProperties();
|
||||
}
|
||||
}
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
|
||||
public virtual void SetLocation(Point3D newLocation, bool isTeleport)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ namespace Server.Commands
|
|||
|
||||
[JsonPropertyName("hue")]
|
||||
public int? Hue { get; set; }
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
|
||||
public CAGCategory Parent { get; set; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue