Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
SameElements< T >()
[2/2]
static
bool
System.Dynamic.Utils.ExpressionUtils.SameElements<
T
>
(
ref
IEnumerable
<
T
>
replacement
,
IReadOnlyList
<
T
>
current
)
inline
static
package
Type Constraints
T
:
class
Definition at line
191
of file
ExpressionUtils.cs
.
191
:
class
192
{
193
if
(replacement == current)
194
{
195
return
true
;
196
}
197
if
(replacement ==
null
)
198
{
199
return
current.Count == 0;
200
}
201
ICollection<T>
collection
=
replacement
as
ICollection<T>
;
202
if
(
collection
==
null
)
203
{
204
collection
= (
ICollection<T>
)(replacement =
replacement
.ToReadOnly());
205
}
206
return
SameElementsInCollection
(
collection
, current);
207
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Text.RegularExpressions.ExceptionArgument.replacement
@ replacement
System.ExceptionArgument.collection
@ collection
References
System.collection
.
System
Dynamic
Utils
ExpressionUtils
Generated by
1.10.0