DynamicMethod.GetMethodImplementationFlags 方法

定义

为此方法返回实现标志。

C#
public override System.Reflection.MethodImplAttributes GetMethodImplementationFlags();

返回

表示此方法的实现标志的 MethodImplAttributes 值的按位组合。

注解

目前,动态方法的方法实现属性始终 IL 为 和 NoInlining

适用于

产品 版本
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1