2 instantiations of TextInfo
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (1)
628
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 };
38 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)
39
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 (25)
src\libraries\System.Private.CoreLib\src\System\Char.cs (2)
511
public static char ToUpperInvariant(char c) =>
TextInfo
.ToUpperInvariant(c);
540
public static char ToLowerInvariant(char c) =>
TextInfo
.ToLowerInvariant(c);
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.cs (1)
2295
internal static string AnsiToLower(string testString) =>
TextInfo
.ToLowerAsciiInvariant(testString);
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (5)
60
private
TextInfo
? _textInfo;
621
public virtual
TextInfo
TextInfo
628
TextInfo
tempTextInfo = new TextInfo(_cultureData);
904
ci._textInfo = (
TextInfo
)_textInfo.Clone();
957
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 (7)
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());
494
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)
2307
return
TextInfo
.Invariant.ToLower(this);
2322
return
TextInfo
.Invariant.ToUpper(this);
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (3)
225
private static Rune ChangeCaseCultureAware(Rune rune,
TextInfo
textInfo, bool toUpper)
1459
return ChangeCaseCultureAware(value,
TextInfo
.Invariant, toUpper: false);
1508
return ChangeCaseCultureAware(value,
TextInfo
.Invariant, toUpper: true);
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.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)
339
private LocalBuilder? DeclareTextInfo() => _ilg!.DeclareLocal(typeof(
TextInfo
));