Table of Contents

Method GetTypeName

Namespace
Xunit.Sdk
Assembly
xunit.v3.common.dll

GetTypeName(Type)

Gets an assembly-qualified type name suitable for serialization.

public static string GetTypeName(Type value)

Parameters

value Type

The type value

Returns

string

A string in "TypeName" format (for mscorlib types) or "TypeName,AssemblyName" format (for all others)

Remarks

Dynamic types, or types which live in the GAC, are not supported.