Table of Contents

Property MethodArity

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

MethodArity

Gets the arity (number of generic types) of the test method. May return null if the arity of the test method is unknown (for example, for v1 or v2 test methods where arity information was not collected).

public required int? MethodArity { get; set; }

Property Value

int?

Remarks

Note: Will be null if there was no value provided during deserialization.