16 references to Compare
BoundTreeGenerator (7)
BoundNodeClassWriter.cs (7)
729return node.HasValidate != null && string.Compare(node.HasValidate, "true", true) == 0; 1816return string.Compare(f.New, "true", true) == 0; 1821return string.Compare(f.PropertyOverrides, "true", true) == 0; 1826return string.Compare(f.SkipInVisitor, "true", true) == 0 1832return string.Compare(f.SkipInVisitor, "ExceptNullabilityRewriter", true) == 0; 1837return string.Compare(n.SkipInNullabilityRewriter, "true", true) == 0; 1842return string.Compare(f.SkipInNullabilityRewriter, "true", ignoreCase: true) == 0;
CSharpSyntaxGenerator (4)
AbstractFileWriter.cs (3)
232return n.Root != null && string.Compare(n.Root, "true", true) == 0; 247=> val != null && string.Compare(val, "true", true) == 0; 260return n.Errors == null || string.Compare(n.Errors, "true", true) == 0;
SourceWriter.cs (1)
1340bool skipConvenienceFactories = node.SkipConvenienceFactories != null && string.Compare(node.SkipConvenienceFactories, "true", true) == 0;
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\CompiledXpathExpr.cs (2)
202int result = string.Compare(s1, s2, /*ignoreCase:*/ _caseOrder != XmlCaseOrder.None); //, this.cinfo); 211result = string.Compare(s1, s2, /*ignoreCase:*/ false); //, this.cinfo);
Microsoft.ML.Data (1)
Utilities\StreamUtils.cs (1)
170if (string.Compare(matchList[i], matchList[j], true) == 0)
Microsoft.ML.TensorFlow (1)
TensorflowTransform.cs (1)
349TF_DataType tfInputType = string.Compare(inputTensor.OpType, "PlaceHolder", true) == 0 ? inputTensor.OutputType(inputTensorIndex) : inputTensor.InputType(inputTensorIndex);
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
591TF_DataType tfInputType = string.Compare(inputTensor.OpType, "PlaceHolder", true) == 0 ? inputTensor.OutputType(inputTensorIndex) : inputTensor.InputType(index);