mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
fix warnings
This commit is contained in:
parent
148de97331
commit
ec122c85d5
10 changed files with 17 additions and 60 deletions
|
|
@ -2,6 +2,7 @@ using System.Collections.Generic;
|
|||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
@ -132,7 +133,7 @@ internal class ServiceContainer : IServiceProvider, IServiceType
|
|||
return null;
|
||||
}
|
||||
|
||||
var instance = FormatterServices.GetUninitializedObject(objectType);
|
||||
var instance = RuntimeHelpers.GetUninitializedObject(objectType);
|
||||
|
||||
if (!await this.InjectProperties(instance, scopedObjects, scope))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue