Is_Syntax.

SameAs<T>(T) Method

Summary

Returns a constraint that tests that two references are the same object
Namespace
TCLite.Constraints
Containing Type
Is_Syntax

Syntax

public static SameAsConstraint<T> SameAs<T>(T expected) where T : class

Type Parameters

Name Description
T

Parameters

Name Type Description
expected T

Return Value

Type Description
SameAsConstraint<T>