85 references to CurrentCultureIgnoreCase
aspire (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Azure.Security.KeyVault.Tests (2)
CertificateClientConformanceTests.cs (1)
120return certClient.GetCertificate("IsAlive").Value.Name.Equals("IsAlive", StringComparison.CurrentCultureIgnoreCase);
KeyClientConformanceTests.cs (1)
122return keyClient.GetKey("IsAlive").Value.Name.Equals("IsAlive", StringComparison.CurrentCultureIgnoreCase);
Aspire.Dashboard (26)
Components\Controls\PropertyGrid.razor.cs (2)
81=> Name?.Contains(filter, StringComparison.CurrentCultureIgnoreCase) == true || 82Value?.Contains(filter, StringComparison.CurrentCultureIgnoreCase) == true;
Components\Controls\SpanDetails.razor.cs (5)
53ViewModel.Span.Events.Where(e => e.Name.Contains(_filter, StringComparison.CurrentCultureIgnoreCase)).OrderBy(e => e.Time).AsQueryable(); 56ViewModel.Links.Where(e => e.SpanId.Contains(_filter, StringComparison.CurrentCultureIgnoreCase)).AsQueryable(); 59ViewModel.Backlinks.Where(e => e.SpanId.Contains(_filter, StringComparison.CurrentCultureIgnoreCase)).AsQueryable(); 78return vm.Name.Contains(_filter, StringComparison.CurrentCultureIgnoreCase) || 79vm.Value?.Contains(_filter, StringComparison.CurrentCultureIgnoreCase) == true;
Components\Controls\StructuredLogDetails.razor.cs (2)
154return vm.Name.Contains(_filter, StringComparison.CurrentCultureIgnoreCase) || 155vm.Value?.Contains(_filter, StringComparison.CurrentCultureIgnoreCase) == true;
Model\Otlp\SpanWaterfallViewModel.cs (4)
78return viewModel.Span.SpanId.Contains(filter, StringComparison.CurrentCultureIgnoreCase) 79|| getResourceName(viewModel.Span.Source).Contains(filter, StringComparison.CurrentCultureIgnoreCase) 80|| viewModel.Span.GetDisplaySummary().Contains(filter, StringComparison.CurrentCultureIgnoreCase) 81|| viewModel.UninstrumentedPeer?.Contains(filter, StringComparison.CurrentCultureIgnoreCase) is true;
Model\ResourceDetailRelationshipViewModel.cs (2)
14return Resource.DisplayName.Contains(filter, StringComparison.CurrentCultureIgnoreCase) || 15Types.Any(t => t.Contains(filter, StringComparison.CurrentCultureIgnoreCase));
Model\ResourceUrlHelpers.cs (4)
86=> Url?.Contains(filter, StringComparison.CurrentCultureIgnoreCase) == true || 87Text.Contains(filter, StringComparison.CurrentCultureIgnoreCase) || 88Name.Contains(filter, StringComparison.CurrentCultureIgnoreCase) || 89DisplayName?.Contains(filter, StringComparison.CurrentCultureIgnoreCase) == true;
Model\ResourceViewModel.cs (6)
369_propertyViewModel.Name.Contains(filter, StringComparison.CurrentCultureIgnoreCase) || 370ToolTip.Contains(filter, StringComparison.CurrentCultureIgnoreCase); 435Source?.Contains(filter, StringComparison.CurrentCultureIgnoreCase) == true || 436Target?.Contains(filter, StringComparison.CurrentCultureIgnoreCase) == true; 465Name?.Contains(filter, StringComparison.CurrentCultureIgnoreCase) == true || 466Description?.Contains(filter, StringComparison.CurrentCultureIgnoreCase) == true ||
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.Analyzers (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.Azure (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.Azure.PostgreSQL (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.Azure.Sql (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.Azure.Storage (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.Azure.Tests (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.Milvus (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.MongoDB (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.MySql (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.Oracle (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.PostgreSQL (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.Qdrant (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.SqlServer (1)
src\Shared\StringComparers.cs (1)
47public static StringComparison UserTextSearch => StringComparison.CurrentCultureIgnoreCase;
Aspire.Hosting.Tests (2)
Utils\StringComparersTests.cs (2)
132yield return (StringComparison.CurrentCultureIgnoreCase, nameof(StringComparison.CurrentCultureIgnoreCase));
Microsoft.CodeAnalysis.EditorFeatures (4)
IntelliSense\AsyncCompletion\Helpers.cs (3)
163using var _ = PooledDelegates.GetPooledFunction(static (filterText, pattern) => filterText.StartsWith(pattern, StringComparison.CurrentCultureIgnoreCase), textTypedSoFar, out Func<string, bool> isPrefixMatch); 166return item.DisplayText.StartsWith(textTypedSoFar, StringComparison.CurrentCultureIgnoreCase) || 167item.HasDifferentFilterText && item.FilterText.StartsWith(textTypedSoFar, StringComparison.CurrentCultureIgnoreCase) ||
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
543hardSelect = !_hasSuggestedItemOptions && bestMatchResult.Value.FilterTextUsed.StartsWith(_filterText, StringComparison.CurrentCultureIgnoreCase);
Microsoft.Extensions.AI.AzureAIInference (1)
src\LegacySupport\StringHash\StringHash.cs (1)
20StringComparison.CurrentCultureIgnoreCase => StringComparer.CurrentCultureIgnoreCase,
Microsoft.Extensions.Diagnostics.ExceptionSummarization (1)
src\LegacySupport\StringHash\StringHash.cs (1)
20StringComparison.CurrentCultureIgnoreCase => StringComparer.CurrentCultureIgnoreCase,
Microsoft.Extensions.FileSystemGlobbing (1)
Util\StringComparisonHelper.cs (1)
13StringComparison.CurrentCultureIgnoreCase => StringComparer.CurrentCultureIgnoreCase,
Microsoft.Maui (1)
Fonts\FontRegistrar.cs (1)
108 if (name.EndsWith(searchName, StringComparison.CurrentCultureIgnoreCase))
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\OptionPageSearchHandler.cs (1)
42var index = _content.IndexOf(searchTerm, StringComparison.CurrentCultureIgnoreCase);
PresentationCore (1)
System\Windows\InterOp\HwndSourceParameters.cs (1)
422if (ReflectionUtils.GetAssemblyPartialName(Assembly.GetEntryAssembly()).Equals("drthwndsource", StringComparison.CurrentCultureIgnoreCase))
PresentationFramework (3)
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
668else if (pgd.StringComparison == StringComparison.CurrentCultureIgnoreCase)
System\Windows\Documents\ZoomPercentageConverter.cs (2)
163StringComparison.CurrentCultureIgnoreCase)) 172StringComparison.CurrentCultureIgnoreCase))
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
1870StringComparison.CurrentCultureIgnoreCase)) 1880StringComparison.CurrentCultureIgnoreCase))
Roslyn.Test.Performance.Utilities (1)
RelativeDirectory.cs (1)
80var configurationIndex = _workingDir.IndexOf(configuration, StringComparison.CurrentCultureIgnoreCase);
System.Drawing.Common (2)
System\Drawing\ToolboxBitmapAttribute.cs (2)
250if (string.Equals(Path.GetExtension(imageName), ".ico", StringComparison.CurrentCultureIgnoreCase)) 254else if (string.Equals(Path.GetExtension(imageName), ".bmp", StringComparison.CurrentCultureIgnoreCase))
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Globalization.cs (6)
53case StringComparison.CurrentCultureIgnoreCase: 103case StringComparison.CurrentCultureIgnoreCase: 139case StringComparison.CurrentCultureIgnoreCase: 174case StringComparison.CurrentCultureIgnoreCase: 305case StringComparison.CurrentCultureIgnoreCase: 343case StringComparison.CurrentCultureIgnoreCase:
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Globalization.Utf8.cs (1)
40case StringComparison.CurrentCultureIgnoreCase:
src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (8)
191StringComparison comparisonType = ignoreCase ? StringComparison.CurrentCultureIgnoreCase : StringComparison.CurrentCulture; 220case StringComparison.CurrentCultureIgnoreCase: 389case StringComparison.CurrentCultureIgnoreCase: 537case StringComparison.CurrentCultureIgnoreCase: 645case StringComparison.CurrentCultureIgnoreCase: 703case StringComparison.CurrentCultureIgnoreCase: 768case StringComparison.CurrentCultureIgnoreCase: 1106case StringComparison.CurrentCultureIgnoreCase:
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (1)
1199StringComparison.CurrentCulture or StringComparison.CurrentCultureIgnoreCase => ReplaceCore(oldValue, newValue, CultureInfo.CurrentCulture.CompareInfo, GetCaseCompareOfComparisonCulture(comparisonType)),
src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (3)
59StringComparison.CurrentCulture or StringComparison.CurrentCultureIgnoreCase => CultureInfo.CurrentCulture.CompareInfo.IndexOf(this, value, GetCaseCompareOfComparisonCulture(comparisonType)), 258StringComparison.CurrentCulture or StringComparison.CurrentCultureIgnoreCase => CultureInfo.CurrentCulture.CompareInfo.IndexOf(this, value, startIndex, count, GetCaseCompareOfComparisonCulture(comparisonType)), 383StringComparison.CurrentCulture or StringComparison.CurrentCultureIgnoreCase => CultureInfo.CurrentCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, GetCaseCompareOfComparisonCulture(comparisonType)),
src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (1)
37StringComparison.CurrentCultureIgnoreCase => CurrentCultureIgnoreCase,
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListControl\ListControl.cs (1)
284if (string.Equals(props[i].Name, bindingMemberInfo.BindingField, StringComparison.CurrentCultureIgnoreCase))
System.Windows.Forms.IntegrationTests.Common (1)
TestHelpers.cs (1)
246while (!currentDirectory.Equals(root, StringComparison.CurrentCultureIgnoreCase))