use array.Empty<byte>

This commit is contained in:
UbitUmarov
2022-03-12 15:21:24 +00:00
parent 5ffa1801d8
commit e043d8a2eb
45 changed files with 100 additions and 103 deletions

View File

@@ -567,7 +567,7 @@ namespace OpenSim.Region.CoreModules.Scripting.DynamicTexture
if(backImage == null)
{
SetAlpha(ref image1, newAlpha);
byte[] result = new byte[0];
byte[] result = Array.Empty<byte>();
try
{
@@ -597,7 +597,7 @@ namespace OpenSim.Region.CoreModules.Scripting.DynamicTexture
image1.Dispose();
image2.Dispose();
byte[] result = new byte[0];
byte[] result = Array.Empty<byte>();
try
{