16 references to Compare
BoundTreeGenerator (7)
BoundNodeClassWriter.cs (7)
729
return node.HasValidate != null && string.
Compare
(node.HasValidate, "true", true) == 0;
1816
return string.
Compare
(f.New, "true", true) == 0;
1821
return string.
Compare
(f.PropertyOverrides, "true", true) == 0;
1826
return string.
Compare
(f.SkipInVisitor, "true", true) == 0
1832
return string.
Compare
(f.SkipInVisitor, "ExceptNullabilityRewriter", true) == 0;
1837
return string.
Compare
(n.SkipInNullabilityRewriter, "true", true) == 0;
1842
return string.
Compare
(f.SkipInNullabilityRewriter, "true", ignoreCase: true) == 0;
CSharpSyntaxGenerator (4)
AbstractFileWriter.cs (3)
232
return n.Root != null && string.
Compare
(n.Root, "true", true) == 0;
247
=> val != null && string.
Compare
(val, "true", true) == 0;
260
return n.Errors == null || string.
Compare
(n.Errors, "true", true) == 0;
SourceWriter.cs (1)
1340
bool skipConvenienceFactories = node.SkipConvenienceFactories != null && string.
Compare
(node.SkipConvenienceFactories, "true", true) == 0;
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.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);