Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EndsWith() [3/4]

bool System.String.EndsWith ( string value,
bool ignoreCase,
CultureInfo? culture )
inline

Definition at line 497 of file String.cs.

498 {
499 if ((object)value == null)
500 {
501 throw new ArgumentNullException("value");
502 }
503 if ((object)this == value)
504 {
505 return true;
506 }
508 return cultureInfo.CompareInfo.IsSuffix(this, value, ignoreCase ? CompareOptions.IgnoreCase : CompareOptions.None);
509 }
static CultureInfo CurrentCulture

References System.culture, System.Globalization.CultureInfo.CurrentCulture, and System.value.