104 references to ToUpperInvariant
Aspire.Dashboard (2)
Extensions\StringExtensions.cs (2)
59return $"{char.ToUpperInvariant(s[0])}{char.ToUpperInvariant(s[lastSpaceIndex + 1])}";
CodeGenerator (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
503identifier = char.ToUpperInvariant(identifier[1]) + identifier.Substring(2);
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\Specs\TypeIndex.cs (1)
128displayString = char.ToUpperInvariant(displayString[0]) + displayString.Substring(1);
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeIdentifier.cs (1)
43return char.ToUpperInvariant(identifier[0]).ToString() + identifier.Substring(1);
GenerateDocumentationAndConfigFiles (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Metrics (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Metrics.Legacy (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.Analyzers.Extra (1)
CallAnalysis\Fixers\LegacyLoggingFixer.FixDetails.cs (1)
239_ = sb.Append(char.ToUpperInvariant(ch));
Microsoft.Analyzers.Local (1)
ApiLifecycle\Json\JsonReader.cs (1)
222return char.ToUpperInvariant(_scanner.Read()) switch
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\Infrastructure\FormattedClassification.cs (1)
108=> char.ToUpperInvariant(val[0]) + val.Substring(1);
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (1)
333result.Append(char.ToUpperInvariant(ch));
Microsoft.AspNetCore.Grpc.Swagger (1)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (1)
333result.Append(char.ToUpperInvariant(ch));
Microsoft.AspNetCore.Identity.FunctionalTests (1)
src\Identity\Extensions.Core\src\Base32.cs (1)
90var byteIndex = _base32Chars.IndexOf(char.ToUpperInvariant(trimmedInput[inputIndex]));
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
SymbolApiConventionMatcher.cs (1)
172if (name[index] != char.ToUpperInvariant(conventionName[0]))
Microsoft.AspNetCore.Mvc.Core (1)
ApiExplorer\ApiConventionMatcher.cs (1)
157if (name[index] != char.ToUpperInvariant(conventionName[0]))
Microsoft.AspNetCore.OutputCaching (1)
StringBuilderExtensions.cs (1)
17builder.Append(char.ToUpperInvariant(value[i]));
Microsoft.AspNetCore.ResponseCaching (1)
StringBuilderExtensions.cs (1)
17builder.Append(char.ToUpperInvariant(value[i]));
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
Matching\JumpTableMultipleEntryBenchmark.cs (1)
165buffer[c] = char.ToUpperInvariant(state[c]);
Microsoft.AspNetCore.Server.HttpSys (2)
RequestProcessing\Request.cs (2)
117|| char.ToUpperInvariant(baseValue) == char.ToUpperInvariant(offsetValue))
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.cs (2)
224|| char.ToUpperInvariant(baseValue) == char.ToUpperInvariant(offsetValue))
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
503identifier = char.ToUpperInvariant(identifier[1]) + identifier.Substring(2);
Microsoft.CodeAnalysis (3)
FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.CodeAnalysis.Analyzers (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.CodeAnalysis.BannedApiAnalyzers (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.CodeAnalysis.CodeStyle (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Classification\FormattedClassification.cs (1)
220=> char.ToUpperInvariant(val[0]) + val[1..];
Microsoft.CodeAnalysis.InteractiveHost (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.CodeAnalysis.PublicApiAnalyzers (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.CodeAnalysis.Workspaces (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
Helpers.cs (2)
71c = char.ToUpperInvariant(word[i]); 101c = char.ToUpperInvariant(word[i]);
Microsoft.Extensions.AI.Evaluation.NLP (1)
Common\SimpleWordTokenizer.cs (1)
207_ = sb.Append(char.ToUpperInvariant(nextChar));
Microsoft.Extensions.Http.Diagnostics (1)
Http\DownstreamDependencyMetadataManager.cs (1)
86a[i] = char.ToUpperInvariant((char)i);
Microsoft.Extensions.Identity.Core (1)
Base32.cs (1)
90var byteIndex = _base32Chars.IndexOf(char.ToUpperInvariant(trimmedInput[inputIndex]));
Microsoft.ML.Core (4)
Utilities\CharUtils.cs (1)
30upper[i] = char.ToUpperInvariant((char)i);
Utilities\Hashing.cs (3)
132uint ch = toUpper ? char.ToUpperInvariant(span[ich]) : span[ich]; 198uint ch = toUpper ? char.ToUpperInvariant(span[ich]) : span[ich]; 293uint ch = toUpper ? char.ToUpperInvariant(data[ich]) : data[ich];
Microsoft.ML.InternalCodeAnalyzer (1)
NameFixProvider.cs (1)
177builder.Append(char.ToUpperInvariant(token[0]));
PresentationBuildTasks (2)
MS\Internal\MarkupCompiler\PathInternal.cs (2)
269&& (*l == *r || (ignoreCase && char.ToUpperInvariant((*l)) == char.ToUpperInvariant((*r)))))
PresentationCore (2)
MS\Internal\FontCache\FontCacheUtil.cs (2)
731char ca = Char.ToUpperInvariant(a); 732char cb = Char.ToUpperInvariant(b);
Roslyn.Diagnostics.Analyzers (4)
AbstractExposeMemberForTesting`1.cs (1)
97return char.ToUpperInvariant(name[0]) + name[1..];
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
ServerComparison.FunctionalTests (1)
HelloWorldTest.cs (1)
73expectedName = char.ToUpperInvariant(expectedName[0]) + expectedName.Substring(1);
System.Formats.Tar (2)
src\libraries\Common\src\System\IO\PathInternal.cs (2)
68&& (*l == *r || (ignoreCase && char.ToUpperInvariant(*l) == char.ToUpperInvariant(*r))))
System.IO.FileSystem.Watcher (2)
src\libraries\Common\src\System\IO\PathInternal.cs (2)
68&& (*l == *r || (ignoreCase && char.ToUpperInvariant(*l) == char.ToUpperInvariant(*r))))
System.Private.CoreLib (5)
src\libraries\Common\src\System\IO\PathInternal.cs (2)
68&& (*l == *r || (ignoreCase && char.ToUpperInvariant(*l) == char.ToUpperInvariant(*r))))
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemName.cs (2)
358? char.ToUpperInvariant(expressionChar) == char.ToUpperInvariant(nameChar)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\AhoCorasickBuilder.cs (1)
208startingChars.Append(char.ToUpperInvariant(c));
System.Private.Xml (1)
System\Xml\Serialization\CodeIdentifier.cs (1)
40buffer[0] = char.ToUpperInvariant(buffer[0]); // convert only first char to uppercase; leave all else as-is
System.Text.Json (1)
src\libraries\System.Text.Json\Common\JsonSeparatorNamingPolicy.cs (1)
106current = char.ToUpperInvariant(current);
System.Text.Json.SourceGeneration (1)
src\libraries\System.Text.Json\Common\JsonSeparatorNamingPolicy.cs (1)
106current = char.ToUpperInvariant(current);
Test.Utilities (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Text.Analyzers (3)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
681: char.ToUpperInvariant(x) == char.ToUpperInvariant(y); 694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
VisualBasicSyntaxGenerator (1)
Util\WriteUtils.vb (1)
544Return Char.ToUpperInvariant(s(0)) + s.Substring(1)
xunit.assert (2)
StringAsserts.cs (2)
952 expectedChar = char.ToUpperInvariant(expectedChar); 953 actualChar = char.ToUpperInvariant(actualChar);