Skip to content

TestType.Erase(Type) method

Defined in

Type: TestType Namespace: Splat.Common.Test Assembly: Splat.Common.Test.dll

Applies to

net11.0, net10.0

public static Type Erase(Type type)

View source

Summary: Returns type unchanged, so a call that takes it stays on its non-generic overload.

Parameters

NameTypeDescription
typeTypeThe type to pass on.

Returns: Type -- The same Type.