40 lines
1.7 KiB
C#
40 lines
1.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Specifies the culture, case, and sort rules to be used by certain overloads of the <see cref="M:System.String.Compare(System.String,System.String)" /> and <see cref="M:System.String.Equals(System.Object)" /> methods.</summary>
|
|
// Token: 0x0200019B RID: 411
|
|
[Token(Token = "0x200019B")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum StringComparison
|
|
{
|
|
/// <summary>Compare strings using culture-sensitive sort rules and the current culture.</summary>
|
|
// Token: 0x04000687 RID: 1671
|
|
[Token(Token = "0x4000687")]
|
|
CurrentCulture,
|
|
/// <summary>Compare strings using culture-sensitive sort rules, the current culture, and ignoring the case of the strings being compared.</summary>
|
|
// Token: 0x04000688 RID: 1672
|
|
[Token(Token = "0x4000688")]
|
|
CurrentCultureIgnoreCase,
|
|
/// <summary>Compare strings using culture-sensitive sort rules and the invariant culture.</summary>
|
|
// Token: 0x04000689 RID: 1673
|
|
[Token(Token = "0x4000689")]
|
|
InvariantCulture,
|
|
/// <summary>Compare strings using culture-sensitive sort rules, the invariant culture, and ignoring the case of the strings being compared.</summary>
|
|
// Token: 0x0400068A RID: 1674
|
|
[Token(Token = "0x400068A")]
|
|
InvariantCultureIgnoreCase,
|
|
/// <summary>Compare strings using ordinal (binary) sort rules.</summary>
|
|
// Token: 0x0400068B RID: 1675
|
|
[Token(Token = "0x400068B")]
|
|
Ordinal,
|
|
/// <summary>Compare strings using ordinal (binary) sort rules and ignoring the case of the strings being compared.</summary>
|
|
// Token: 0x0400068C RID: 1676
|
|
[Token(Token = "0x400068C")]
|
|
OrdinalIgnoreCase
|
|
}
|
|
}
|