Skip to content

Commit 5ee9105

Browse files
committed
revert some code
1 parent ca54e21 commit 5ee9105

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/AspectCore.Core/Utils/ProxyGeneratorUtils.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ internal static MethodBuilder DefineExplicitMethod(MethodInfo method, Type implT
462462
return methodBuilder;
463463
}
464464

465-
internal static MethodBuilder DefineClassMethod(MethodInfo method, Type implType, TypeDesc typeDesc, MethodInfo covariantReturnMethod = null, bool isNewSlot = false)
465+
internal static MethodBuilder DefineClassMethod(MethodInfo method, Type implType, TypeDesc typeDesc, MethodInfo covariantReturnMethod = null)
466466
{
467467
var attributes = OverrideMethodAttributes;
468468

@@ -481,11 +481,6 @@ internal static MethodBuilder DefineClassMethod(MethodInfo method, Type implType
481481
attributes |= MethodAttributes.FamORAssem;
482482
}
483483

484-
if (isNewSlot)
485-
{
486-
attributes |= MethodAttributes.NewSlot;
487-
}
488-
489484
var methodBuilder = DefineMethod(method, method.Name, attributes, implType, typeDesc, covariantReturnMethod);
490485
return methodBuilder;
491486
}

0 commit comments

Comments
 (0)