36 references to SafeCompare
WsatConfig (36)
CommandLine\ArgumentsParser.cs (11)
151
if (Utilities.
SafeCompare
(value, CommandLineOption.Enable))
157
else if (Utilities.
SafeCompare
(value, CommandLineOption.Disable))
258
if (Utilities.
SafeCompare
(value, CommandLineOption.Enable))
263
else if (Utilities.
SafeCompare
(value, CommandLineOption.Disable))
281
if (Utilities.
SafeCompare
(value, CommandLineOption.Enable))
286
else if (Utilities.
SafeCompare
(value, CommandLineOption.Disable))
304
if (Utilities.
SafeCompare
(value, CommandLineOption.Enable))
309
else if (Utilities.
SafeCompare
(value, CommandLineOption.Disable))
327
if (Utilities.
SafeCompare
(value, CommandLineOption.CertMachine))
414
if (Utilities.
SafeCompare
(value, CommandLineOption.Enable))
419
else if (Utilities.
SafeCompare
(value, CommandLineOption.Disable))
CommandLine\ConsoleEntryPoint.cs (6)
177
if (Utilities.
SafeCompare
(arg, CommandLineOption.Help) ||
178
Utilities.
SafeCompare
(arg, CommandLineOption.Help_short1) ||
179
Utilities.
SafeCompare
(arg, CommandLineOption.Help_short2))
186
if (Utilities.
SafeCompare
(arg, CommandLineOption.Show))
193
if (Utilities.
SafeCompare
(arg, CommandLineOption.Restart))
201
if (Utilities.
SafeCompare
(ArgumentsParser.ExtractOption(arg, out value), CommandLineOption.ClusterVirtualServer))
Configuration\CertificateManager.cs (5)
150
if (Utilities.
SafeCompare
(subjectName, "{EMPTY}"))
166
if (!Utilities.
SafeCompare
(issuer, "*"))
170
if (certs.Count > 0 && !Utilities.
SafeCompare
(subjectName, "*"))
235
if (Utilities.
SafeCompare
(cert.Thumbprint, thumbprint))
271
if (Utilities.
SafeCompare
(cert.GetNameInfo(X509NameType.DnsName, false), hostName))
Configuration\MsdtcClusterUtils.cs (1)
129
if (Utilities.
SafeCompare
(networkName, virtualServerName))
Configuration\Utilities.cs (10)
94
if (Utilities.
SafeCompare
(levelString, CommandLineOption.TracingOff))
98
else if (Utilities.
SafeCompare
(levelString, CommandLineOption.TracingError))
102
else if (Utilities.
SafeCompare
(levelString, CommandLineOption.TracingCritical))
106
else if (Utilities.
SafeCompare
(levelString, CommandLineOption.TracingWarning))
110
else if (Utilities.
SafeCompare
(levelString, CommandLineOption.TracingInformation))
114
else if (Utilities.
SafeCompare
(levelString, CommandLineOption.TracingVerbose))
118
else if (Utilities.
SafeCompare
(levelString, CommandLineOption.TracingAll))
180
return (string.IsNullOrEmpty(machineName) ||
SafeCompare
(machineName, "localhost") ||
181
SafeCompare
(machineName, localizedMyComputerString) ||
SafeCompare
(machineName, LocalHostName));
Configuration\WsatConfiguration.cs (3)
326
TransactionBridgeEnabled = Utilities.
SafeCompare
(value, TransactionBridgeRegistryValue);
328
TransactionBridge30Enabled = Utilities.
SafeCompare
(value, TransactionBridge30RegistryValue);
433
if (Utilities.
SafeCompare
(node, Utilities.LocalHostName))