2 instantiations of TextInfo
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (1)
628TextInfo tempTextInfo = new TextInfo(_cultureData);
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (1)
42internal static readonly TextInfo Invariant = new TextInfo(CultureData.Invariant, readOnly: true) { _isAsciiCasingSameAsInvariant = Tristate.True };
38 references to TextInfo
Microsoft.CodeAnalysis (1)
CaseInsensitiveComparison.cs (1)
26private static readonly TextInfo s_unicodeCultureTextInfo = GetUnicodeCulture().TextInfo;
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\Compilers\Core\Portable\CaseInsensitiveComparison.cs (1)
26private static readonly TextInfo s_unicodeCultureTextInfo = GetUnicodeCulture().TextInfo;
Microsoft.CodeAnalysis.Workspaces (5)
PatternMatching\AllLowerCamelCaseMatcher.cs (4)
29TextInfo textInfo) 31private readonly TextInfo _textInfo = textInfo; 134private static char ToLower(char v, TextInfo textInfo) 255var textInfo = _textInfo;
PatternMatching\PatternMatcher.cs (1)
39private readonly TextInfo _textInfo;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\CaseInsensitiveComparison.cs (1)
26private 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)
511public static char ToUpperInvariant(char c) => TextInfo.ToUpperInvariant(c); 540public static char ToLowerInvariant(char c) => TextInfo.ToLowerInvariant(c);
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.cs (1)
2295internal static string AnsiToLower(string testString) => TextInfo.ToLowerAsciiInvariant(testString);
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (5)
60private TextInfo? _textInfo; 621public virtual TextInfo TextInfo 628TextInfo tempTextInfo = new TextInfo(_cultureData); 904ci._textInfo = (TextInfo)_textInfo.Clone(); 957newInfo._textInfo = TextInfo.ReadOnly(ci._textInfo);
src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (1)
703TextInfo.Invariant.ChangeCaseToUpper(source, destination); // this is the best so far for NLS.
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (7)
42internal static readonly TextInfo Invariant = new TextInfo(CultureData.Invariant, readOnly: true) { _isAsciiCasingSameAsInvariant = Tristate.True }; 86((TextInfo)o).SetReadOnlyState(false); 94public static TextInfo ReadOnly(TextInfo textInfo) 103TextInfo clonedTextInfo = (TextInfo)(textInfo.MemberwiseClone()); 494return obj is TextInfo otherTextInfo
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Globalization.cs (2)
235TextInfo.Invariant.ChangeCaseToLower(source, destination); 287TextInfo.Invariant.ChangeCaseToUpper(source, destination);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\AhoCorasick.cs (1)
262c = TextInfo.ToUpperOrdinal(c);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\StringSearchValuesHelper.cs (1)
377public static char TransformInput(char input) => TextInfo.ToUpperAsciiInvariant(input);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (2)
2307return TextInfo.Invariant.ToLower(this); 2322return TextInfo.Invariant.ToUpper(this);
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (3)
225private static Rune ChangeCaseCultureAware(Rune rune, TextInfo textInfo, bool toUpper) 1459return ChangeCaseCultureAware(value, TextInfo.Invariant, toUpper: false); 1508return 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)
339private LocalBuilder? DeclareTextInfo() => _ilg!.DeclareLocal(typeof(TextInfo));