src/NUnit/Core/src/TaskTests/TaskTestCaseBlockMember.cs
/// <summary>
/// Gets the concrete instance type of <see cref="MemberInfo"/>.
/// </summary>
/// <returns></returns>
Gets the concrete instance type of .
Gets the concrete instance type of .
public Type GetInstanceType() =>
            MemberInfo.MemberType switch {
                MemberTypes.Field => ((FieldInfo)MemberInfo).FieldType,
                _ => ((PropertyInfo)MemberInfo).PropertyType
            };
public Type GetInstanceType ( ) => MemberInfo . MemberType switch { MemberTypes . Field => ( ( FieldInfo ) MemberInfo ) . FieldType , _ => ( ( PropertyInfo ) MemberInfo ) . PropertyType } ;
Gets the concrete instance type of .
Gets the concrete instance type of .
None