24 references to ToUpper
Microsoft.Build.UnitTests.Shared (1)
DriveMapping.cs (1)
80return $"{char.ToUpper(letter)}:";
Microsoft.CodeAnalysis (4)
FileSystem\PathUtilities.cs (1)
742filePath = char.ToUpper(filePath[0]) + filePath.Substring(1);
InternalUtilities\StringExtensions.cs (3)
58private static readonly Func<char, char> s_toUpper = char.ToUpper; 261char.ToUpper(string1[x]) == char.ToUpper(string2[x]))
Microsoft.CodeAnalysis.CodeStyle (6)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
742filePath = char.ToUpper(filePath[0]) + filePath.Substring(1);
src\Compilers\Core\Portable\InternalUtilities\StringExtensions.cs (3)
58private static readonly Func<char, char> s_toUpper = char.ToUpper; 261char.ToUpper(string1[x]) == char.ToUpper(string2[x]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (2)
99chars[0] = char.ToUpper(chars[0]); 304private static bool DoesCharacterHaveCasing(char c) => char.ToLower(c) != char.ToUpper(c);
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.cs (1)
263: prefix + char.ToUpper(name[0]).ToString() + name[1..];
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
742filePath = char.ToUpper(filePath[0]) + filePath.Substring(1);
Microsoft.CodeAnalysis.Workspaces (6)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
742filePath = char.ToUpper(filePath[0]) + filePath.Substring(1);
src\Compilers\Core\Portable\InternalUtilities\StringExtensions.cs (3)
58private static readonly Func<char, char> s_toUpper = char.ToUpper; 261char.ToUpper(string1[x]) == char.ToUpper(string2[x]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (2)
99chars[0] = char.ToUpper(chars[0]); 304private static bool DoesCharacterHaveCasing(char c) => char.ToLower(c) != char.ToUpper(c);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
742filePath = char.ToUpper(filePath[0]) + filePath.Substring(1);
src\Compilers\Core\Portable\InternalUtilities\StringExtensions.cs (3)
58private static readonly Func<char, char> s_toUpper = char.ToUpper; 261char.ToUpper(string1[x]) == char.ToUpper(string2[x]))
Microsoft.ML.AutoML.SourceGenerator (1)
Utils.cs (1)
52return char.ToUpper(str[0]) + str.Substring(1);