Skip to content

Commit

Permalink
Fix compilation errors for C# 8
Browse files Browse the repository at this point in the history
  • Loading branch information
hadashiA committed Dec 9, 2023
1 parent 95b0d0c commit 5eedaad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public override Registration Build() {

Type type = typeof(SystemInstanceProvider<>).MakeGenericType(ImplementationType);
var provider = (IInstanceProvider)Activator.CreateInstance(type, parameters);
return new (ImplementationType, Lifetime, InterfaceTypes, provider);
return new Registration(ImplementationType, Lifetime, InterfaceTypes, provider);
}

public SystemRegistrationBuilder IntoGroup<T>() where T : ComponentSystemGroup {
Expand Down

0 comments on commit 5eedaad

Please sign in to comment.