Summary
Returns a constraint that tests that two references are the same object
- Namespace
- TCLite
.Constraints - Containing Type
- ConstraintExpression
Syntax
public 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 |