405 references to Equals
mscorlib (23)
PresentationBuildTasks (1)
PresentationCore (30)
Core\CSharp\System\Windows\FontStretches.cs (10)
77if (s.Equals("Normal", StringComparison.OrdinalIgnoreCase))
82if (s.Equals("Medium", StringComparison.OrdinalIgnoreCase))
90if (s.Equals("Expanded", StringComparison.OrdinalIgnoreCase))
98if (s.Equals("Condensed", StringComparison.OrdinalIgnoreCase))
106if (s.Equals("SemiExpanded", StringComparison.OrdinalIgnoreCase))
114if (s.Equals("SemiCondensed", StringComparison.OrdinalIgnoreCase))
119if (s.Equals("ExtraExpanded", StringComparison.OrdinalIgnoreCase))
124if (s.Equals("UltraExpanded", StringComparison.OrdinalIgnoreCase))
132if (s.Equals("UltraCondensed", StringComparison.OrdinalIgnoreCase))
137if (s.Equals("ExtraCondensed", StringComparison.OrdinalIgnoreCase))
Core\CSharp\System\Windows\FontWeights.cs (16)
107if (s.Equals("Bold", StringComparison.OrdinalIgnoreCase))
112if (s.Equals("Thin", StringComparison.OrdinalIgnoreCase))
120if (s.Equals("Black", StringComparison.OrdinalIgnoreCase))
125if (s.Equals("Light", StringComparison.OrdinalIgnoreCase))
130if (s.Equals("Heavy", StringComparison.OrdinalIgnoreCase))
138if (s.Equals("Normal", StringComparison.OrdinalIgnoreCase))
143if (s.Equals("Medium", StringComparison.OrdinalIgnoreCase))
151if (s.Equals("Regular", StringComparison.OrdinalIgnoreCase))
159if (s.Equals("SemiBold", StringComparison.OrdinalIgnoreCase))
164if (s.Equals("DemiBold", StringComparison.OrdinalIgnoreCase))
172if (s.Equals("ExtraBold", StringComparison.OrdinalIgnoreCase))
177if (s.Equals("UltraBold", StringComparison.OrdinalIgnoreCase))
185if (s.Equals("ExtraLight", StringComparison.OrdinalIgnoreCase))
190if (s.Equals("UltraLight", StringComparison.OrdinalIgnoreCase))
195if (s.Equals("ExtraBlack", StringComparison.OrdinalIgnoreCase))
200if (s.Equals("UltraBlack", StringComparison.OrdinalIgnoreCase))
PresentationFramework (29)
src\Framework\System\Windows\Documents\FixedSchema.cs (11)
46if (!encoding.Equals(Encoding.Unicode.WebName, StringComparison.OrdinalIgnoreCase) &&
47!encoding.Equals(Encoding.UTF8.WebName, StringComparison.OrdinalIgnoreCase))
401return namespaceUri.Equals(_xpsS0SchemaNamespace, StringComparison.Ordinal);
415if (attrName.Equals("Source", StringComparison.Ordinal) ||
416attrName.Equals("FontUri", StringComparison.Ordinal))
420else if (attrName.Equals("ImageSource", StringComparison.Ordinal))
434else if (attrName.Equals("Color", StringComparison.Ordinal) ||
435attrName.Equals("Fill", StringComparison.Ordinal) ||
436attrName.Equals("Stroke", StringComparison.Ordinal))
734if (attrName.Equals("Source", StringComparison.Ordinal)) // Cannot chain remote ResourceDictionary parts.
777return namespaceUri.Equals(_xpsDocStructureSchemaNamespace, StringComparison.Ordinal);
System (20)
System.Activities (1)
System.Activities.Presentation (11)
System.AddIn (1)
System.ComponentModel.DataAnnotations (2)
System.Core (1)
System.Data (16)
System.Data.Entity (36)
System\Data\SqlClient\SqlProviderManifest.cs (19)
183return name.Equals("time", StringComparison.Ordinal) ||
184name.Equals("date", StringComparison.Ordinal) ||
185name.Equals("datetime2", StringComparison.Ordinal) ||
186name.Equals("datetimeoffset", StringComparison.Ordinal) ||
187name.Equals("geography", StringComparison.Ordinal) ||
188name.Equals("geometry", StringComparison.Ordinal);
200return name.Equals("xml", StringComparison.Ordinal) || name.EndsWith("(max)", StringComparison.Ordinal);
254return ((name.Equals("DateTimeOffset", StringComparison.OrdinalIgnoreCase)) ||
255(name.Equals("Time", StringComparison.OrdinalIgnoreCase)));
265return ((name.Equals("DateTimeOffset", StringComparison.OrdinalIgnoreCase)) ||
266(name.Equals("Time", StringComparison.OrdinalIgnoreCase)));
274return ((param1Name.Equals("Time", StringComparison.OrdinalIgnoreCase)) ||
275(param2Name.Equals("Time", StringComparison.OrdinalIgnoreCase)) ||
276(param1Name.Equals("DateTimeOffset", StringComparison.OrdinalIgnoreCase)) ||
277(param2Name.Equals("DateTimeOffset", StringComparison.OrdinalIgnoreCase)));
283return ((name.Equals("DateTimeOffset", StringComparison.OrdinalIgnoreCase)) ||
284(name.Equals("Time", StringComparison.OrdinalIgnoreCase)));
311return name.Equals("Guid", StringComparison.OrdinalIgnoreCase);
318if (funParam.TypeUsage.EdmType.Name.Equals("Int64", StringComparison.OrdinalIgnoreCase))
System.Data.Entity.Design (5)
System.Data.Linq (1)
System.Data.Services (8)
System.Data.Services.Client (4)
System.Data.Services.Design (5)
System.Data.SqlXml (3)
System.Drawing (2)
System.IdentityModel (12)
System.IO.Compression.FileSystem (2)
System.Runtime.Serialization (1)
System.ServiceModel (54)
System.ServiceModel.Activation (1)
System.ServiceModel.Channels (6)
System.ServiceModel.Discovery (3)
System.ServiceModel.Web (3)
System.Web (21)
System.Web.DataVisualization (1)
System.Web.DynamicData (2)
System.Web.Entity.Design (1)
System.Web.Extensions (13)
System.Windows.Forms (5)
System.Windows.Forms.DataVisualization (1)
System.Workflow.Activities (7)
System.Workflow.ComponentModel (58)
System.Workflow.Runtime (7)
System.WorkflowServices (3)
System.Xml (2)
XamlBuildTask (3)