语言

TestFilterContext.ManagedMethodName 属性

定义

获取或设置 ECMA-335 元数据形式的方法名称,或者 null 当没有可用的托管元数据时。

[System.Runtime.CompilerServices.Nullable(2)]
public string? ManagedMethodName { get; set; }
public string? ManagedMethodName { get; set; }
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.ManagedMethodName : string with get, set
member this.ManagedMethodName : string with get, set
Public Property ManagedMethodName As String

属性值

属性

注解

包括方法名称、泛型 arity 后缀和参数类型列表(例如 MyMethod`1(System.Int32))。 匹配 托管 TestCase 属性 RFC 定义的格式。

适用于