8 references to Compare
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\CompiledXpathExpr.cs (2)
202
int result = string.
Compare
(s1, s2, /*ignoreCase:*/ _caseOrder != XmlCaseOrder.None); //, this.cinfo);
211
result = string.
Compare
(s1, s2, /*ignoreCase:*/ false); //, this.cinfo);
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\UseStringEqualsOverStringCompare.cs (1)
249
/// <item>The other operand is an invocation of <see cref="string.
Compare
(string, string, bool)"/></item>
Microsoft.NetCore.Analyzers\Runtime\UseStringEqualsOverStringCompare.Fixer.cs (1)
192
/// Replaces <see cref="string.
Compare
(string, string, bool)"/> violations.
Microsoft.ML.Data (1)
Utilities\StreamUtils.cs (1)
170
if (string.
Compare
(matchList[i], matchList[j], true) == 0)
Microsoft.ML.TensorFlow (1)
TensorflowTransform.cs (1)
349
TF_DataType tfInputType = string.
Compare
(inputTensor.OpType, "PlaceHolder", true) == 0 ? inputTensor.OutputType(inputTensorIndex) : inputTensor.InputType(inputTensorIndex);
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
591
TF_DataType tfInputType = string.
Compare
(inputTensor.OpType, "PlaceHolder", true) == 0 ? inputTensor.OutputType(inputTensorIndex) : inputTensor.InputType(index);
Microsoft.NET.Sdk.Publish.Tasks (1)
MsDeploy\CommonUtility.cs (1)
1926
return (string.
Compare
(item.GetMetadata(metadataName), metadataValue, fIgnoreCase) == 0);