Skip to content

Commit 935d3d9

Browse files
committed
More
1 parent 655733f commit 935d3d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/coreclr/System.Private.CoreLib/src/System/RuntimeHandles.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ internal static RuntimeType[] GetMethodInstantiationInternal(RuntimeMethodHandle
12311231

12321232
internal static Type[]? GetMethodInstantiationPublic(IRuntimeMethodInfo method)
12331233
{
1234-
RuntimeType[]? types = null;
1234+
Type[]? types = null;
12351235
GetMethodInstantiation(EnsureNonNullMethodInfo(method).Value, ObjectHandleOnStack.Create(ref types), Interop.BOOL.FALSE);
12361236
GC.KeepAlive(method);
12371237
return types;

src/libraries/Microsoft.Extensions.DependencyInjection.Abstractions/src/ActivatorUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public static object CreateInstance(
169169
Type?[] argumentTypes;
170170
if (parameters.Length == 0)
171171
{
172-
argumentTypes = Type.EmptyTypes;
172+
argumentTypes = [];
173173
}
174174
else
175175
{

0 commit comments

Comments
 (0)