68 references to CurrentCulture
mscorlib (24)
system\string.cs (24)
589
if (comparisonType < StringComparison.
CurrentCulture
|| comparisonType > StringComparison.OrdinalIgnoreCase)
602
case StringComparison.
CurrentCulture
:
656
if (comparisonType < StringComparison.
CurrentCulture
|| comparisonType > StringComparison.OrdinalIgnoreCase)
669
case StringComparison.
CurrentCulture
:
1802
if ((uint) (comparisonType - StringComparison.
CurrentCulture
) >
1803
(uint) (StringComparison.OrdinalIgnoreCase - StringComparison.
CurrentCulture
)) {
1822
case StringComparison.
CurrentCulture
:
2010
if (comparisonType < StringComparison.
CurrentCulture
|| comparisonType > StringComparison.OrdinalIgnoreCase) {
2070
case StringComparison.
CurrentCulture
:
2112
return String.Compare(this,(String)value, StringComparison.
CurrentCulture
);
2183
return EndsWith(value, StringComparison.
CurrentCulture
);
2194
if( comparisonType < StringComparison.
CurrentCulture
|| comparisonType > StringComparison.OrdinalIgnoreCase) {
2208
case StringComparison.
CurrentCulture
:
2308
return IndexOf(value, StringComparison.
CurrentCulture
);
2317
return IndexOf(value, startIndex, StringComparison.
CurrentCulture
);
2335
return IndexOf(value, startIndex, count, StringComparison.
CurrentCulture
);
2363
case StringComparison.
CurrentCulture
:
2442
return LastIndexOf(value, this.Length-1,this.Length, StringComparison.
CurrentCulture
);
2447
return LastIndexOf(value, startIndex, startIndex + 1, StringComparison.
CurrentCulture
);
2457
return LastIndexOf(value, startIndex, count, StringComparison.
CurrentCulture
);
2503
case StringComparison.
CurrentCulture
:
2563
return StartsWith(value, StringComparison.
CurrentCulture
);
2574
if( comparisonType < StringComparison.
CurrentCulture
|| comparisonType > StringComparison.OrdinalIgnoreCase) {
2588
case StringComparison.
CurrentCulture
:
PresentationFramework (1)
src\Framework\System\Windows\Controls\ComboBox.cs (1)
761
if (!String.Equals(newText, matchedText, StringComparison.
CurrentCulture
))
System (2)
net\System\Net\HttpWebResponse.cs (2)
543
contentEncoding.IndexOf(HttpWebRequest.GZipHeader, StringComparison.
CurrentCulture
) != -1) {
553
contentEncoding.IndexOf(HttpWebRequest.DeflateHeader, StringComparison.
CurrentCulture
) != -1) {
System.Activities (1)
System\Activities\RuntimeArgument.cs (1)
562
return string.Compare(x.Name, y.Name, StringComparison.
CurrentCulture
);
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (2)
147
if (e.Key.Equals(FlowchartDesigner.FlowSwitchDefaultViewStateKey, StringComparison.
CurrentCulture
))
151
else if (e.Key.EndsWith(CaseViewStateKeyAppendString, StringComparison.
CurrentCulture
))
System.Activities.Presentation (12)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
250
if (string.Compare(category.CategoryName, this[index].CategoryName, StringComparison.
CurrentCulture
) < 0)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
312
return string.Compare(x.GetType().ToString(), y.GetType().ToString(), StringComparison.
CurrentCulture
);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryNameComparer.cs (1)
38
return string.Compare(j.DisplayName, k.DisplayName, StringComparison.
CurrentCulture
);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryPropertyOrderComparer.cs (1)
86
return result != 0 ? result : string.Compare(j.DisplayName, k.DisplayName, StringComparison.
CurrentCulture
);
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (3)
106
expressionText.StartsWith("\"", StringComparison.
CurrentCulture
) &&
107
expressionText.EndsWith("\"", StringComparison.
CurrentCulture
) &&
108
expressionText.IndexOf("\"", 1, StringComparison.
CurrentCulture
) == expressionText.Length - 1;
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemLoader.cs (2)
68
if (entry.StartsWith("[", StringComparison.
CurrentCulture
) && entry.EndsWith("]", StringComparison.
CurrentCulture
))
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (3)
1076
context.ExpressionText.StartsWith("\"", StringComparison.
CurrentCulture
) &&
1077
context.ExpressionText.EndsWith("\"", StringComparison.
CurrentCulture
) &&
1078
context.ExpressionText.IndexOf("\"", 1, StringComparison.
CurrentCulture
) == context.ExpressionText.Length - 1;
System.Data (12)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
250
if (string.Compare(category.CategoryName, this[index].CategoryName, StringComparison.
CurrentCulture
) < 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
312
return string.Compare(x.GetType().ToString(), y.GetType().ToString(), StringComparison.
CurrentCulture
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryNameComparer.cs (1)
38
return string.Compare(j.DisplayName, k.DisplayName, StringComparison.
CurrentCulture
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryPropertyOrderComparer.cs (1)
86
return result != 0 ? result : string.Compare(j.DisplayName, k.DisplayName, StringComparison.
CurrentCulture
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (3)
106
expressionText.StartsWith("\"", StringComparison.
CurrentCulture
) &&
107
expressionText.EndsWith("\"", StringComparison.
CurrentCulture
) &&
108
expressionText.IndexOf("\"", 1, StringComparison.
CurrentCulture
) == expressionText.Length - 1;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemLoader.cs (2)
68
if (entry.StartsWith("[", StringComparison.
CurrentCulture
) && entry.EndsWith("]", StringComparison.
CurrentCulture
))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (3)
1076
context.ExpressionText.StartsWith("\"", StringComparison.
CurrentCulture
) &&
1077
context.ExpressionText.EndsWith("\"", StringComparison.
CurrentCulture
) &&
1078
context.ExpressionText.IndexOf("\"", 1, StringComparison.
CurrentCulture
) == context.ExpressionText.Length - 1;
System.Data.Linq (1)
Mapping\MappedMetaModel.cs (1)
246
int dotIndex = name.LastIndexOf(".", StringComparison.
CurrentCulture
);
System.Web (1)
UI\WebParts\WebPart.cs (1)
872
c = String.Compare(p1.ID, p2.ID, StringComparison.
CurrentCulture
);
System.Web.DataVisualization (1)
Common\DataManager\DataPoint.cs (1)
230
result = string.Compare(x.AxisLabel, y.AxisLabel, StringComparison.
CurrentCulture
);
System.Web.DynamicData (1)
DynamicData\MetaModel.cs (1)
338
nameConflictTable = tablesToInitialize.Find(t => t.Name.Equals(table.Name, StringComparison.
CurrentCulture
));
System.Web.Extensions (1)
Script\Serialization\JavaScriptString.cs (1)
78
return _s.IndexOf(substr, _index, StringComparison.
CurrentCulture
) - _index;
System.Web.Mobile (1)
Mobile\MobileCapabilities.cs (1)
122
StringComparison compareOption = invariantCultureIgnoreCase ? StringComparison.InvariantCultureIgnoreCase : StringComparison.
CurrentCulture
;
System.Windows.Forms.DataVisualization (1)
Common\DataManager\DataPoint.cs (1)
230
result = string.Compare(x.AxisLabel, y.AxisLabel, StringComparison.
CurrentCulture
);
System.Workflow.Activities (3)
Common\BasePropertyDescriptor.cs (1)
431
if (memberInfo.Name.Equals(name, ((ignoreCase) ? StringComparison.CurrentCultureIgnoreCase : StringComparison.
CurrentCulture
)))
Rules\Design\Dialogs\RuleSetDialog.cs (2)
525
retval = String.Compare(item1.SubItems[0].Text, item2.SubItems[0].Text, StringComparison.
CurrentCulture
);
529
retval = String.Compare(item1.SubItems[col].Text, item2.SubItems[col].Text, StringComparison.
CurrentCulture
);
System.Workflow.ComponentModel (2)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
905
return String.Compare(treeNode1.Text, treeNode2.Text, StringComparison.
CurrentCulture
);
Shared\BasePropertyDescriptor.cs (1)
430
if (memberInfo.Name.Equals(name, ((ignoreCase) ? StringComparison.CurrentCultureIgnoreCase : StringComparison.
CurrentCulture
)))
System.Xml (2)
System\Xml\Resolvers\XmlPreloadedResolver.cs (2)
178
if (relativeUri != null && relativeUri.StartsWith("-//", StringComparison.
CurrentCulture
)) {
182
if ((preloadedDtds & XmlKnownDtds.Xhtml10) != 0 && relativeUri.StartsWith("-//W3C//", StringComparison.
CurrentCulture
)) {