2 instantiations of TextInfo
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (1)
623
TextInfo tempTextInfo = new
TextInfo
(_cultureData);
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (1)
42
internal static readonly TextInfo Invariant = new
TextInfo
(CultureData.Invariant, readOnly: true) { _isAsciiCasingSameAsInvariant = Tristate.True };
40 references to TextInfo
Microsoft.CodeAnalysis (1)
CaseInsensitiveComparison.cs (1)
26
private static readonly
TextInfo
s_unicodeCultureTextInfo = GetUnicodeCulture().TextInfo;
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\Compilers\Core\Portable\CaseInsensitiveComparison.cs (1)
26
private static readonly
TextInfo
s_unicodeCultureTextInfo = GetUnicodeCulture().TextInfo;
Microsoft.CodeAnalysis.Workspaces (5)
PatternMatching\AllLowerCamelCaseMatcher.cs (4)
29
TextInfo
textInfo)
31
private readonly
TextInfo
_textInfo = textInfo;
134
private static char ToLower(char v,
TextInfo
textInfo)
255
var
textInfo = _textInfo;
PatternMatching\PatternMatcher.cs (1)
36
private readonly
TextInfo
_textInfo;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\CaseInsensitiveComparison.cs (1)
26
private static readonly
TextInfo
s_unicodeCultureTextInfo = GetUnicodeCulture().TextInfo;
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
282
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.
TextInfo
))]
netstandard (1)
netstandard.cs (1)
853
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.
TextInfo
))]
System.Globalization (1)
System.Globalization.cs (1)
11
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.
TextInfo
))]
System.Private.CoreLib (27)
src\libraries\System.Private.CoreLib\src\System\Char.cs (2)
530
public static char ToUpperInvariant(char c) =>
TextInfo
.ToUpperInvariant(c);
559
public static char ToLowerInvariant(char c) =>
TextInfo
.ToLowerInvariant(c);
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.cs (1)
2289
internal static string AnsiToLower(string testString) =>
TextInfo
.ToLowerAsciiInvariant(testString);
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (5)
60
private
TextInfo
? _textInfo;
616
public virtual
TextInfo
TextInfo
623
TextInfo
tempTextInfo = new TextInfo(_cultureData);
899
ci._textInfo = (
TextInfo
)_textInfo.Clone();
952
newInfo._textInfo =
TextInfo
.ReadOnly(ci._textInfo);
src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (1)
703
TextInfo
.Invariant.ChangeCaseToUpper(source, destination); // this is the best so far for NLS.
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (9)
42
internal static readonly
TextInfo
Invariant = new TextInfo(CultureData.Invariant, readOnly: true) { _isAsciiCasingSameAsInvariant = Tristate.True };
86
((
TextInfo
)o).SetReadOnlyState(false);
94
public static
TextInfo
ReadOnly(
TextInfo
textInfo)
103
TextInfo
clonedTextInfo = (
TextInfo
)(textInfo.MemberwiseClone());
229
private static unsafe void ChangeCaseCommon<TConversion>(
TextInfo
? instance, ReadOnlySpan<char> source, Span<char> destination) where TConversion : struct
279
private static unsafe string ChangeCaseCommon<TConversion>(
TextInfo
? instance, string source) where TConversion : struct
574
return obj is
TextInfo
otherTextInfo
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Globalization.cs (2)
235
TextInfo
.Invariant.ChangeCaseToLower(source, destination);
287
TextInfo
.Invariant.ChangeCaseToUpper(source, destination);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\AhoCorasick.cs (1)
262
c =
TextInfo
.ToUpperOrdinal(c);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\StringSearchValuesHelper.cs (1)
377
public static char TransformInput(char input) =>
TextInfo
.ToUpperAsciiInvariant(input);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (2)
2364
return
TextInfo
.ToLowerInvariant(this);
2379
return
TextInfo
.ToUpperInvariant(this);
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (3)
225
private static Rune ChangeCaseCultureAware(Rune rune,
TextInfo
textInfo, bool toUpper)
1489
return ChangeCaseCultureAware(value,
TextInfo
.Invariant, toUpper: false);
1538
return ChangeCaseCultureAware(value,
TextInfo
.Invariant, toUpper: true);
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net11.0\System.Runtime.Forwards.cs (1)
255
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.
TextInfo
))]
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexCompiler.cs (1)
340
private LocalBuilder? DeclareTextInfo() => _ilg!.DeclareLocal(typeof(
TextInfo
));