ReflectionUtilities.

TwoTypes(Type, Type) Method

Summary

Returns System.Type[2] { type0, type1 }.

The array is kept in a field marked with [System.ThreadStaticAttribute], so it is thread safe but cannot be used recursively within a single thread.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
ReflectionUtilities

Syntax

public static Type[] TwoTypes(Type type0, Type type1)

Parameters

Name Type Description
type0 Type
type1 Type

Return Value

Type Description
Type[]