404 references to Equal
Aspire.Hosting.Tests (1)
Utils\StringComparersTests.cs (1)
74Assert.Equal(comparer.Name, comparison.Name, StringComparer.Ordinal);
Microsoft.Analyzers.Local.Tests (1)
InternalReferencedInPublicDocAnalyzerTests.cs (1)
472Assert.Equal(detectedTexts[i], text, StringComparer.Ordinal);
Microsoft.AspNetCore.Components.Server.Tests (2)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\MessagePackHubProtocolTestBase.cs (2)
233Assert.Equal(testData.Message, message, TestHubMessageEqualityComparer.Instance); 258Assert.Equal(expectedMessage, message, TestHubMessageEqualityComparer.Instance);
Microsoft.AspNetCore.DataProtection.Tests (2)
Repositories\FileSystemXmlRepositoryTests.cs (1)
79Assert.Equal("valid-friendly-name.xml", fileInfo.Name, StringComparer.OrdinalIgnoreCase);
Repositories\RegistryXmlRepositoryTests.cs (1)
67Assert.Equal("valid-friendly-name", valueName, StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Pages\Account\ExternalLogin.cs (1)
46Assert.Equal(RegisterConfirmation.Path + "?email=" + email, redirect.ToString(), StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.Core.Test (26)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (11)
622Assert.Equal( 794Assert.Equal("{id}", descriptor.AttributeRouteInfo.Template, StringComparer.OrdinalIgnoreCase); 795Assert.Equal("Products", descriptor.AttributeRouteInfo.Name, StringComparer.OrdinalIgnoreCase); 817Assert.Equal("Products/Get", getAction.AttributeRouteInfo.Template, StringComparer.OrdinalIgnoreCase); 818Assert.Equal("Products_Get", getAction.AttributeRouteInfo.Name, StringComparer.OrdinalIgnoreCase); 823Assert.Equal("Products/Edit", editAction.AttributeRouteInfo.Template, StringComparer.OrdinalIgnoreCase); 824Assert.Equal("Products_Edit", editAction.AttributeRouteInfo.Name, StringComparer.OrdinalIgnoreCase); 845Assert.Equal( 848Assert.Equal( 855Assert.Equal( 858Assert.Equal(
Formatters\JsonOutputFormatterTestBase.cs (1)
105Assert.Equal(expectedContent, actualContent, StringComparer.OrdinalIgnoreCase);
ModelBinding\Binders\DateTimeModelBinderTest.cs (2)
72Assert.Equal("The value '2020-08-not-a-date' is not valid.", error.ErrorMessage, StringComparer.Ordinal); 128Assert.Equal(message, error.ErrorMessage, StringComparer.Ordinal);
ModelBinding\Binders\FloatingPointTypeModelBinderTestOfT.cs (5)
95Assert.Equal("The value '12_5' is not valid.", error.ErrorMessage, StringComparer.Ordinal); 119Assert.Equal("The value ' 12' is not valid.", error.ErrorMessage, StringComparer.Ordinal); 143Assert.Equal("The value '12.5' is not valid.", error.ErrorMessage, StringComparer.Ordinal); 167Assert.Equal("The value '32,000' is not valid.", error.ErrorMessage, StringComparer.Ordinal); 209Assert.Equal(message, error.ErrorMessage, StringComparer.Ordinal);
ModelBinding\Binders\SimpleTypeModelBinderTest.cs (2)
130Assert.Equal("The value '' is invalid.", error.ErrorMessage, StringComparer.Ordinal); 376Assert.Equal("The value '12,5' is not valid.", error.ErrorMessage, StringComparer.Ordinal);
ModelBinding\Binders\TryParseTypeModelBinderTest.cs (4)
79Assert.Equal("The value '' is invalid.", error.ErrorMessage, StringComparer.Ordinal); 302Assert.Equal("The value '12-5' is not valid.", error.ErrorMessage, StringComparer.Ordinal); 407Assert.Equal($"The value '{flagsEnumValue}' is not valid.", error.ErrorMessage, StringComparer.Ordinal); 457Assert.Equal($"The value '{value}' is not valid.", error.ErrorMessage, StringComparer.Ordinal);
ModelBinding\ModelBinderFactoryTest.cs (1)
361Assert.Equal(expectedInfo.BinderModelName, context.BindingInfo.BinderModelName, StringComparer.Ordinal);
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
AntiforgeryAuthTests.cs (2)
39Assert.Equal("/Home/Login", response.Headers.Location.AbsolutePath, StringComparer.OrdinalIgnoreCase); 51Assert.Equal("/Home/Login", response.Headers.Location.AbsolutePath, StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.IntegrationTests (14)
BodyValidationIntegrationTests.cs (2)
842Assert.Equal("someStreet", person.Address.Street, StringComparer.Ordinal); 887Assert.Equal("someStreet", address.Street, StringComparer.Ordinal);
ComplexRecordIntegrationTest.cs (5)
2620Assert.Equal("The value '' is invalid.", error.ErrorMessage, StringComparer.Ordinal); 2671Assert.Equal("someStreet", person.Address.Street, StringComparer.Ordinal); 2719Assert.Equal("someStreet", address.Street, StringComparer.Ordinal); 2779Assert.Equal("someStreet", person.Address.Street, StringComparer.Ordinal); 2832Assert.Equal("someStreet", address.Street, StringComparer.Ordinal);
ComplexTypeIntegrationTestBase.cs (5)
2793Assert.Equal("The value '' is invalid.", error.ErrorMessage, StringComparer.Ordinal); 2850Assert.Equal("someStreet", person.Address.Street, StringComparer.Ordinal); 2898Assert.Equal("someStreet", address.Street, StringComparer.Ordinal); 2970Assert.Equal("someStreet", person.Address.Street, StringComparer.Ordinal); 3023Assert.Equal("someStreet", address.Street, StringComparer.Ordinal);
SimpleTypeModelBinderIntegrationTest.cs (2)
507Assert.Equal("The value '' is invalid.", error.ErrorMessage, StringComparer.Ordinal); 561Assert.Equal("Hurts when '' is provided.", error.ErrorMessage, StringComparer.Ordinal);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
src\Mvc\Mvc.Core\test\Formatters\JsonOutputFormatterTestBase.cs (1)
105Assert.Equal(expectedContent, actualContent, StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.Razor.Test (34)
RazorPageTest.cs (18)
997Assert.Equal("someattr", htmlAttribute.Name, StringComparer.Ordinal); 999Assert.Equal(expectedValue, HtmlContentUtilities.HtmlContentToString(htmlContent), StringComparer.Ordinal); 1004Assert.Equal("someattr", allAttribute.Name, StringComparer.Ordinal); 1006Assert.Equal(expectedValue, HtmlContentUtilities.HtmlContentToString(htmlContent), StringComparer.Ordinal); 1042Assert.Equal("someattr", htmlAttribute.Name, StringComparer.Ordinal); 1044Assert.Equal(expectedValue, HtmlContentUtilities.HtmlContentToString(htmlContent), StringComparer.Ordinal); 1049Assert.Equal("someattr", allAttribute.Name, StringComparer.Ordinal); 1051Assert.Equal(expectedValue, HtmlContentUtilities.HtmlContentToString(htmlContent), StringComparer.Ordinal); 1088Assert.Equal("someattr", htmlAttribute.Name, StringComparer.Ordinal); 1090Assert.Equal(expectedValue, HtmlContentUtilities.HtmlContentToString(htmlContent), StringComparer.Ordinal); 1095Assert.Equal("someattr", allAttribute.Name, StringComparer.Ordinal); 1097Assert.Equal(expectedValue, HtmlContentUtilities.HtmlContentToString(htmlContent), StringComparer.Ordinal); 1130Assert.Equal("someattr", attribute.Name, StringComparer.Ordinal); 1131Assert.Equal(expectedValue, (string)attribute.Value, StringComparer.Ordinal); 1158Assert.Equal("someattr", htmlAttribute.Name, StringComparer.Ordinal); 1159Assert.Equal("someattr", (string)htmlAttribute.Value, StringComparer.Ordinal); 1163Assert.Equal("someattr", allAttribute.Name, StringComparer.Ordinal); 1164Assert.Equal("someattr", (string)allAttribute.Value, StringComparer.Ordinal);
TagHelpers\TagHelperComponentTagHelperTest.cs (2)
247Assert.Equal($"Tag helper component '{typeof(TestTagHelperComponent)}' initialized.", sink.Writes.First().State.ToString(), StringComparer.Ordinal); 280Assert.Equal($"Tag helper component '{typeof(TestTagHelperComponent)}' processed.", sink.Writes.First().State.ToString(), StringComparer.Ordinal);
TagHelpers\UrlResolutionTagHelperTest.cs (14)
88Assert.Equal("href", attribute.Name, StringComparer.Ordinal); 90Assert.Equal("~/home/index.html", attributeValue, StringComparer.Ordinal); 130Assert.Equal("href", attribute.Name, StringComparer.Ordinal); 132Assert.Equal(expectedHref, attributeValue, StringComparer.Ordinal); 190Assert.Equal("href", attribute.Name, StringComparer.Ordinal); 192Assert.Equal(expectedHref, HtmlContentUtilities.HtmlContentToString(htmlContent), StringComparer.Ordinal); 248Assert.Equal("href", attribute.Name, StringComparer.Ordinal); 250Assert.Equal(url, attributeValue, StringComparer.Ordinal); 304Assert.Equal("href", attribute.Name, StringComparer.Ordinal); 306Assert.Equal(url.ToString(), attributeValue.ToString(), StringComparer.Ordinal); 335Assert.Equal("href", attribute.Name, StringComparer.Ordinal); 382Assert.Equal(expectedExceptionMessage, exception.Message, StringComparer.Ordinal); 430Assert.Equal("href", attribute.Name, StringComparer.Ordinal); 432Assert.Equal(expectedHref, attributeValue, StringComparer.Ordinal);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (19)
FormActionTagHelperTest.cs (13)
73Assert.Equal("id", attribute.Name, StringComparer.Ordinal); 74Assert.Equal("my-id", attribute.Value as string, StringComparer.Ordinal); 78Assert.Equal("formaction", attribute.Name, StringComparer.Ordinal); 79Assert.Equal("home/index/value", attribute.Value as string, StringComparer.Ordinal); 147Assert.Equal("id", attribute.Name, StringComparer.Ordinal); 148Assert.Equal("my-id", attribute.Value as string, StringComparer.Ordinal); 152Assert.Equal("formaction", attribute.Name, StringComparer.Ordinal); 153Assert.Equal("routine/value", attribute.Value as string, StringComparer.Ordinal); 219Assert.Equal("delete", param.Action, StringComparer.Ordinal); 220Assert.Equal("books", param.Controller, StringComparer.Ordinal); 221Assert.Equal("test", param.Fragment, StringComparer.Ordinal); 281Assert.Equal("test", param.Fragment, StringComparer.Ordinal); 282Assert.Equal("Default", param.RouteName, StringComparer.Ordinal);
ImageTagHelperTest.cs (1)
75Assert.Equal(
LinkTagHelperTest.cs (1)
73Assert.Equal(
ScriptTagHelperTest.cs (1)
72Assert.Equal(
TagHelperOutputExtensionsTest.cs (2)
839Assert.Equal(expectedAttribute, attribute, CaseSensitiveTagHelperAttributeComparer.Default); 865Assert.Equal(
ValidationSummaryTagHelperTest.cs (1)
256Assert.Equal(
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ExpressionHelperTest.cs (1)
402Assert.Equal(text1, text2, StringComparer.Ordinal);
Microsoft.AspNetCore.Razor.Runtime.Test (8)
Runtime\TagHelpers\TagHelperScopeManagerTest.cs (8)
23Assert.Equal("test-entry", (string)executionContextItem.Key, StringComparer.Ordinal); 40Assert.Equal("test-entry", (string)executionContextItem.Key, StringComparer.Ordinal); 59Assert.Equal("test-entry", (string)executionContextItem.Key, StringComparer.Ordinal); 62Assert.Equal("from-child", parentEntry.Key, StringComparer.Ordinal); 80Assert.Equal("test-entry", (string)executionContextItem.Key, StringComparer.Ordinal); 83Assert.Equal("test-entry", (string)parentExecutionContextItem.Key, StringComparer.Ordinal); 100Assert.Equal("new-entry", (string)executionContextItem.Key, StringComparer.Ordinal); 120Assert.Equal("test-entry", (string)parentExecutionContextItem.Key, StringComparer.Ordinal);
Microsoft.AspNetCore.Razor.Test (13)
TagHelpers\ReadOnlyTagHelperAttributeListTest.cs (5)
91Assert.Equal(expectedAttribute, attribute, CaseSensitiveTagHelperAttributeComparer.Default); 183Assert.Equal(expectedAttribute, attribute, CaseSensitiveTagHelperAttributeComparer.Default); 566Assert.Equal(expectedAttribute, attribute, CaseSensitiveTagHelperAttributeComparer.Default); 705Assert.Equal(expectedAttribute, attribute, CaseSensitiveTagHelperAttributeComparer.Default); 723Assert.Equal(expectedAttribute, attribute, CaseSensitiveTagHelperAttributeComparer.Default);
TagHelpers\TagHelperAttributeListTest.cs (2)
26Assert.Equal(expectedAttribute, attribute, CaseSensitiveTagHelperAttributeComparer.Default); 125Assert.Equal(expectedAttribute, attribute, CaseSensitiveTagHelperAttributeComparer.Default);
TagHelpers\TagHelperContextTest.cs (2)
64Assert.Equal("test-entry", (string)item.Key, StringComparer.Ordinal); 87Assert.Equal("test-entry", (string)item.Key, StringComparer.Ordinal);
TagHelpers\TagHelperOutputTest.cs (4)
396Assert.Equal( 1039Assert.Equal(expected, writer.ToString(), StringComparer.Ordinal); 1061Assert.Equal(expected, writer.ToString(), StringComparer.Ordinal); 1087Assert.Equal(expected, writer.ToString(), StringComparer.Ordinal);
Microsoft.AspNetCore.Routing.Tests (34)
Patterns\RoutePatternParserTest.cs (17)
26Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 41Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 56Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 75Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 94Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 113Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 132Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 152Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 172Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 192Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 212Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 234Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 256Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 278Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 300Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 320Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer()); 345Assert.Equal<RoutePattern>(expected, actual, new RoutePatternEqualityComparer());
Template\TemplateParserTests.cs (17)
24Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 43Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 62Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 83Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 122Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 145Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 168Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 197Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 221Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 251Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 281Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 319Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 357Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 394Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 431Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 462Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer()); 489Assert.Equal<RouteTemplate>(expected, actual, new TemplateEqualityComparer());
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (6)
AuthenticationTests.cs (3)
58Assert.Equal(authType.ToString(), response.Headers.WwwAuthenticate.ToString(), StringComparer.OrdinalIgnoreCase); 80Assert.Equal(authType.ToString(), response.Headers.WwwAuthenticate.ToString(), StringComparer.OrdinalIgnoreCase); 106Assert.Equal("Negotiate, NTLM, basic", response.Headers.WwwAuthenticate.ToString(), StringComparer.OrdinalIgnoreCase);
Listener\AuthenticationOnExistingQueueTests.cs (3)
88Assert.Equal(authType.ToString(), response.Headers.WwwAuthenticate.ToString(), StringComparer.OrdinalIgnoreCase); 112Assert.Equal(authType.ToString(), response.Headers.WwwAuthenticate.ToString(), StringComparer.OrdinalIgnoreCase); 137Assert.Equal("Negotiate, NTLM, basic", response.Headers.WwwAuthenticate.ToString(), StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Shared.Tests (6)
PropertyHelperTest.cs (6)
297helper => { Assert.Equal(expectedNames[0], helper.Name, StringComparer.Ordinal); }, 298helper => { Assert.Equal(expectedNames[1], helper.Name, StringComparer.Ordinal); }); 313helper => { Assert.Equal(expectedNames[0], helper.Name, StringComparer.Ordinal); }, 314helper => { Assert.Equal(expectedNames[1], helper.Name, StringComparer.Ordinal); }, 315helper => { Assert.Equal(expectedNames[2], helper.Name, StringComparer.Ordinal); }, 316helper => { Assert.Equal(expectedNames[3], helper.Name, StringComparer.Ordinal); });
Microsoft.AspNetCore.SignalR.Common.Tests (6)
Internal\Protocol\JsonHubProtocolTests.cs (1)
94Assert.Equal(testData.Message, message, TestHubMessageEqualityComparer.Instance);
Internal\Protocol\JsonHubProtocolTestsBase.cs (2)
149Assert.Equal(testData.Message, message, TestHubMessageEqualityComparer.Instance); 225Assert.Equal(testData.Message, message, TestHubMessageEqualityComparer.Instance);
Internal\Protocol\MessagePackHubProtocolTestBase.cs (2)
233Assert.Equal(testData.Message, message, TestHubMessageEqualityComparer.Instance); 258Assert.Equal(expectedMessage, message, TestHubMessageEqualityComparer.Instance);
Internal\Protocol\NewtonsoftJsonHubProtocolTests.cs (1)
93Assert.Equal(testData.Message, message, TestHubMessageEqualityComparer.Instance);
Microsoft.Build.Engine.UnitTests (61)
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
1023Assert.Equal(buildEvent, (BuildStartedEventArgs)service.ProcessedBuildEvent, 1065Assert.Equal(buildEvent, (BuildCanceledEventArgs)service.ProcessedBuildEvent,
BackEnd\TaskRegistry_Tests.cs (1)
1986Assert.Equal(original, copy, new TaskRegistryComparers.TaskRegistryComparer());
Instance\ProjectItemGroupTaskItemInstance_Internal_Tests.cs (1)
48Assert.Equal(original, clone, new TargetItemComparer());
Instance\ProjectPropertyGroupTaskPropertyInstance_Internal_Tests.cs (1)
26Assert.Equal(original, copy, new TargetPropertyComparer());
Instance\ProjectTargetInstance_Internal_Tests.cs (1)
82Assert.Equal(original, copy, new TargetComparer());
Instance\ProjectTaskInstance_Internal_Tests.cs (1)
83Assert.Equal(original, copy, new TargetTaskComparer());
TestComparers\ProjectInstanceModelTestComparers.cs (49)
40Assert.Equal(xPair.Value, yPair.Value, new TargetComparer()); 47Assert.Equal(x.Toolset, y.Toolset, new TaskRegistryComparers.ToolsetComparer()); 54Assert.Equal(x.ProjectFileLocation, y.ProjectFileLocation, new Helpers.ElementLocationComparerIgnoringType()); 55Assert.Equal(x.TaskRegistry, y.TaskRegistry, new TaskRegistryComparers.TaskRegistryComparer()); 62Assert.Equal(xPair.Value, yPair.Value, new ItemDefinitionComparer()); 94Assert.Equal(x.Location, y.Location, new Helpers.ElementLocationComparerIgnoringType()); 95Assert.Equal(x.ConditionLocation, y.ConditionLocation, new Helpers.ElementLocationComparerIgnoringType()); 96Assert.Equal(x.InputsLocation, y.InputsLocation, new Helpers.ElementLocationComparerIgnoringType()); 97Assert.Equal(x.OutputsLocation, y.OutputsLocation, new Helpers.ElementLocationComparerIgnoringType()); 98Assert.Equal(x.ReturnsLocation, y.ReturnsLocation, new Helpers.ElementLocationComparerIgnoringType()); 99Assert.Equal(x.KeepDuplicateOutputsLocation, y.KeepDuplicateOutputsLocation, new Helpers.ElementLocationComparerIgnoringType()); 100Assert.Equal(x.DependsOnTargetsLocation, y.DependsOnTargetsLocation, new Helpers.ElementLocationComparerIgnoringType()); 101Assert.Equal(x.BeforeTargetsLocation, y.BeforeTargetsLocation, new Helpers.ElementLocationComparerIgnoringType()); 102Assert.Equal(x.AfterTargetsLocation, y.AfterTargetsLocation, new Helpers.ElementLocationComparerIgnoringType()); 154Assert.Equal(x.Location, y.Location, new Helpers.ElementLocationComparerIgnoringType()); 155Assert.Equal(x.ConditionLocation, y.ConditionLocation, new Helpers.ElementLocationComparerIgnoringType()); 180Assert.Equal(x.Location, y.Location, new Helpers.ElementLocationComparerIgnoringType()); 181Assert.Equal(x.IncludeLocation, y.IncludeLocation, new Helpers.ElementLocationComparerIgnoringType()); 182Assert.Equal(x.ExcludeLocation, y.ExcludeLocation, new Helpers.ElementLocationComparerIgnoringType()); 183Assert.Equal(x.RemoveLocation, y.RemoveLocation, new Helpers.ElementLocationComparerIgnoringType()); 184Assert.Equal(x.KeepMetadataLocation, y.KeepMetadataLocation, new Helpers.ElementLocationComparerIgnoringType()); 185Assert.Equal(x.RemoveMetadataLocation, y.RemoveMetadataLocation, new Helpers.ElementLocationComparerIgnoringType()); 186Assert.Equal(x.ConditionLocation, y.ConditionLocation, new Helpers.ElementLocationComparerIgnoringType()); 189Assert.Equal(x.MatchOnMetadataLocation, y.MatchOnMetadataLocation, new Helpers.ElementLocationComparerIgnoringType()); 192Assert.Equal(x.MatchOnMetadataOptionsLocation, y.MatchOnMetadataOptionsLocation, new Helpers.ElementLocationComparerIgnoringType()); 212Assert.Equal(x.Location, y.Location, new Helpers.ElementLocationComparerIgnoringType()); 213Assert.Equal(x.ConditionLocation, y.ConditionLocation, new Helpers.ElementLocationComparerIgnoringType()); 229Assert.Equal(x.Location, y.Location, new Helpers.ElementLocationComparerIgnoringType()); 230Assert.Equal(x.ConditionLocation, y.ConditionLocation, new Helpers.ElementLocationComparerIgnoringType()); 265Assert.Equal(x.ReferenceLocation, y.ReferenceLocation, new Helpers.ElementLocationComparerIgnoringType()); 283Assert.Equal(x.Location, y.Location, new Helpers.ElementLocationComparerIgnoringType()); 284Assert.Equal(x.ConditionLocation, y.ConditionLocation, new Helpers.ElementLocationComparerIgnoringType()); 301Assert.Equal(x.Location, y.Location, new Helpers.ElementLocationComparerIgnoringType()); 302Assert.Equal(x.ConditionLocation, y.ConditionLocation, new Helpers.ElementLocationComparerIgnoringType()); 303Assert.Equal(x.ExecuteTargetsLocation, y.ExecuteTargetsLocation, new Helpers.ElementLocationComparerIgnoringType()); 323Assert.Equal(x.Location, y.Location, new Helpers.ElementLocationComparerIgnoringType()); 324Assert.Equal(x.ConditionLocation, y.ConditionLocation, new Helpers.ElementLocationComparerIgnoringType()); 325Assert.Equal(x.ContinueOnErrorLocation, y.ContinueOnErrorLocation, new Helpers.ElementLocationComparerIgnoringType()); 326Assert.Equal(x.MSBuildRuntimeLocation, y.MSBuildRuntimeLocation, new Helpers.ElementLocationComparerIgnoringType()); 327Assert.Equal(x.MSBuildRuntimeLocation, y.MSBuildRuntimeLocation, new Helpers.ElementLocationComparerIgnoringType()); 352Assert.Equal(xPair.Value.Item2, yPair.Value.Item2, new Helpers.ElementLocationComparerIgnoringType()); 385Assert.Equal(x.ConditionLocation, y.ConditionLocation, new Helpers.ElementLocationComparerIgnoringType()); 386Assert.Equal(x.Location, y.Location, new Helpers.ElementLocationComparerIgnoringType()); 387Assert.Equal(x.TaskParameterLocation, y.TaskParameterLocation, new Helpers.ElementLocationComparerIgnoringType()); 388Assert.Equal(x.ItemTypeLocation, y.ItemTypeLocation, new Helpers.ElementLocationComparerIgnoringType()); 406Assert.Equal(x.ConditionLocation, y.ConditionLocation, new Helpers.ElementLocationComparerIgnoringType()); 407Assert.Equal(x.Location, y.Location, new Helpers.ElementLocationComparerIgnoringType()); 408Assert.Equal(x.PropertyNameLocation, y.PropertyNameLocation, new Helpers.ElementLocationComparerIgnoringType()); 409Assert.Equal(x.TaskParameterLocation, y.TaskParameterLocation, new Helpers.ElementLocationComparerIgnoringType());
TestComparers\TaskRegistryComparers.cs (5)
22Assert.Equal(x.Toolset, y.Toolset, new ToolsetComparer()); 30Assert.Equal(xp.Key, yp.Key, TaskRegistry.RegisteredTaskIdentity.RegisteredTaskIdentityComparer.Exact); 47Assert.Equal(x.TaskIdentity, y.TaskIdentity, TaskRegistry.RegisteredTaskIdentity.RegisteredTaskIdentityComparer.Exact); 51Assert.Equal(x.ParameterGroupAndTaskBody, y.ParameterGroupAndTaskBody, new ParamterGroupAndTaskBodyComparer()); 86Assert.Equal(xp.Value, yp.Value, new TaskPropertyInfoComparer());
Microsoft.Build.Tasks.UnitTests (14)
DirectoryBuildProjectImportTestBase.cs (13)
85Assert.Equal("true", project.GetPropertyValue(ImportDirectoryBuildProjectPropertyName), StringComparer.OrdinalIgnoreCase); 86Assert.Equal(String.Empty, project.GetPropertyValue(DirectoryBuildProjectBasePathPropertyName), StringComparer.OrdinalIgnoreCase); 87Assert.Equal(DirectoryBuildProjectFile, project.GetPropertyValue(DirectoryBuildProjectFilePropertyName), StringComparer.OrdinalIgnoreCase); 118Assert.Equal("false", project.GetPropertyValue(ImportDirectoryBuildProjectPropertyName), StringComparer.OrdinalIgnoreCase); 119Assert.Equal(String.Empty, project.GetPropertyValue("WasDirectoryBuildProjectImported"), StringComparer.OrdinalIgnoreCase); 120Assert.Equal(String.Empty, project.GetPropertyValue(DirectoryBuildProjectBasePathPropertyName), StringComparer.OrdinalIgnoreCase); 121Assert.Equal(String.Empty, project.GetPropertyValue(DirectoryBuildProjectFilePropertyName), StringComparer.OrdinalIgnoreCase); 148Assert.Equal("true", project.GetPropertyValue(ImportDirectoryBuildProjectPropertyName), StringComparer.OrdinalIgnoreCase); 149Assert.Equal("true", project.GetPropertyValue("WasDirectoryBuildProjectImported"), StringComparer.OrdinalIgnoreCase); 173Assert.Equal("true", project.GetPropertyValue(ImportDirectoryBuildProjectPropertyName), StringComparer.OrdinalIgnoreCase); 174Assert.Equal("true", project.GetPropertyValue("WasDirectoryBuildProjectImported"), StringComparer.OrdinalIgnoreCase); 175Assert.Equal(ObjectModelHelpers.TempProjectDir, project.GetPropertyValue(DirectoryBuildProjectBasePathPropertyName), StringComparer.OrdinalIgnoreCase); 176Assert.Equal(DirectoryBuildProjectFile, project.GetPropertyValue(DirectoryBuildProjectFilePropertyName), StringComparer.OrdinalIgnoreCase);
NuGetPropsImportTests.cs (1)
56Assert.Equal("true", project.GetPropertyValue("NuGetPropsIsImported"), StringComparer.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\FunctionPointerTests.cs (1)
3967Assert.Equal(semanticInfo.Type, semanticInfo.ConvertedType, SymbolEqualityComparer.IncludeNullability);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (28)
Symbols\AssemblyAndNamespaceTests.cs (1)
34Assert.Equal(simpleName, sym.Name, StringComparer.OrdinalIgnoreCase);
Symbols\Source\NullablePublicAPITests.cs (27)
3509Assert.Equal(mSymbol, lambdaSymbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3547Assert.Equal(lambdaSymbol, innerLambdaSymbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3570Assert.Equal(innerLambdaSymbol, o2Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3608Assert.Equal(lambdaSymbol, innerLambdaSymbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3631Assert.Equal(innerLambdaSymbol, o2Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3670Assert.Equal(lambdaSymbol, localFunctionSymbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3671Assert.Equal(localFunctionSymbol, o2Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3784Assert.Equal(parameterSymbol, info.Symbol, SymbolEqualityComparer.IncludeNullability); 3812Assert.Equal(lambdaSymbol, paramSymbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3866Assert.Equal(o2Symbol, o2Ref.Symbol, SymbolEqualityComparer.IncludeNullability); 3880Assert.Equal(localFunctionSymbol, model.GetDeclaredSymbol(o8Declaration).ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3884Assert.Equal(lambdaSymbol, model.GetDeclaredSymbol(node).ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3924Assert.Equal(fieldLambdaSymbol, o1Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3925Assert.Equal(fieldLambdaSymbol, o2Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3938Assert.Equal(propertyLambdaSymbol, o3Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3939Assert.Equal(propertyLambdaSymbol, o4Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3983Assert.Equal(lambdaSymbol, innerLambdaSymbol1.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 3993Assert.Equal(lambdaSymbol, innerLambdaSymbol1.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 4059Assert.Equal(o1Symbol, o1RefSymbol, SymbolEqualityComparer.IncludeNullability); 4060Assert.Equal(o2Symbol, o2RefSymbol, SymbolEqualityComparer.IncludeNullability); 4067Assert.Equal(o2Symbol, speculativeModel.GetSymbolInfo(speculativeO2Ref).Symbol, SymbolEqualityComparer.IncludeNullability); 4072Assert.Equal(o1Symbol, speculativeModel.GetSymbolInfo(speculativeO1Ref).Symbol, SymbolEqualityComparer.IncludeNullability); 4126Assert.Equal(lambdaSymbol, o2Result.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 4127Assert.Equal(localFunctionSymbol, o8Result.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 4131Assert.Equal(lambdaSymbol, o1Result.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 4132Assert.Equal(localFunctionSymbol, oResult.ContainingSymbol, SymbolEqualityComparer.IncludeNullability); 4135Assert.Equal(localFunctionSymbol, localFunctionResult, SymbolEqualityComparer.IncludeNullability);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
FunctionPointerUtilities.cs (4)
162Assert.Equal(semanticInfo.Type, semanticInfo.ConvertedType, SymbolEqualityComparer.IncludeNullability); 255Assert.Equal<ISymbol>(signatureType, semanticInfo.Type, SymbolEqualityComparer.Default); 256Assert.Equal(semanticInfo.Type, semanticInfo.ConvertedType, SymbolEqualityComparer.IncludeNullability); 259Assert.Equal(signatureType, semanticInfo.Type, SymbolEqualityComparer.Default);
Microsoft.CodeAnalysis.UnitTests (9)
FileUtilitiesTests.cs (1)
203Assert.Equal(expected, actual, StringComparer.OrdinalIgnoreCase);
InternalUtilities\AdditionalTextComparerTests.cs (2)
20Assert.Equal(text1, text2, AdditionalTextComparer.Instance); 82Assert.Equal(text1, text2, AdditionalTextComparer.Instance);
MetadataReferences\AssemblyIdentityDisplayNameTests.cs (1)
136Assert.Equal("goo, Version=0.0.0.0, Culture=neutral, PublicKeyToken=0123456789abcdef", id.GetDisplayName(), StringComparer.OrdinalIgnoreCase);
StrongNameProviderTests.cs (5)
41Assert.Equal(subFilePath, path, StringComparer.OrdinalIgnoreCase); 47Assert.Equal(filePath, path, StringComparer.OrdinalIgnoreCase); 58Assert.Equal(filePath, path, StringComparer.OrdinalIgnoreCase); 65Assert.Equal(filePath, path, StringComparer.OrdinalIgnoreCase); 69Assert.Equal(filePath, path, StringComparer.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
SolutionTests\SolutionTests.cs (5)
4616Assert.Equal("test5.cs", syntaxTrees[0].FilePath, StringComparer.OrdinalIgnoreCase); 4617Assert.Equal("test4.cs", syntaxTrees[1].FilePath, StringComparer.OrdinalIgnoreCase); 4618Assert.Equal("test3.cs", syntaxTrees[2].FilePath, StringComparer.OrdinalIgnoreCase); 4619Assert.Equal("test2.cs", syntaxTrees[3].FilePath, StringComparer.OrdinalIgnoreCase); 4620Assert.Equal("test1.cs", syntaxTrees[4].FilePath, StringComparer.OrdinalIgnoreCase);
Microsoft.DotNet.XUnitAssert.Tests (8)
EqualityAssertsTests.cs (8)
66 Assert.Throws<ArgumentNullException>("comparer", () => Assert.Equal(1, 2, default(IEqualityComparer<int>)!)); 72 Assert.Equal(42, 21, new Comparer<int>(true)); 78 var ex = Record.Exception(() => Assert.Equal(42, 42, new Comparer<int>(false))); 106 var ex = Record.Exception(() => Assert.Equal(42, 2112, new ThrowingIntComparer())); 129 var ex = Record.Exception(() => Assert.Equal(new[] { 1, 2 }, new[] { 1, 3 }, new ThrowingEnumerableComparer())); 1019 assertFailure(() => Assert.Equal(expected, actual, EqualityComparer<IEnumerable<int>>.Default)); 1028 var ex = Record.Exception(() => Assert.Equal(expected, actual, new MyComparer())); 1042 var ex = Record.Exception(() => Assert.Equal(new UnsafeEnumerable(), new[] { 1, 2, 3 }, new MyComparer()));
Microsoft.Extensions.Configuration.KeyPerFile.Tests (63)
ConfigurationProviderTestBase.cs (63)
199Assert.Equal(value1, config["Key1"], StringComparer.InvariantCultureIgnoreCase); 200Assert.Equal(value12, config["Section1:Key2"], StringComparer.InvariantCultureIgnoreCase); 201Assert.Equal(value123, config["Section1:Section2:Key3"], StringComparer.InvariantCultureIgnoreCase); 202Assert.Equal(arrayvalue0, config["Section1:Section2:Key3a:0"], StringComparer.InvariantCultureIgnoreCase); 203Assert.Equal(arrayvalue1, config["Section1:Section2:Key3a:1"], StringComparer.InvariantCultureIgnoreCase); 204Assert.Equal(arrayvalue2, config["Section1:Section2:Key3a:2"], StringComparer.InvariantCultureIgnoreCase); 205Assert.Equal(value344, config["Section3:Section4:Key4"], StringComparer.InvariantCultureIgnoreCase); 208Assert.Equal(value12, section1["Key2"], StringComparer.InvariantCultureIgnoreCase); 209Assert.Equal(value123, section1["Section2:Key3"], StringComparer.InvariantCultureIgnoreCase); 210Assert.Equal(arrayvalue0, section1["Section2:Key3a:0"], StringComparer.InvariantCultureIgnoreCase); 211Assert.Equal(arrayvalue1, section1["Section2:Key3a:1"], StringComparer.InvariantCultureIgnoreCase); 212Assert.Equal(arrayvalue2, section1["Section2:Key3a:2"], StringComparer.InvariantCultureIgnoreCase); 213Assert.Equal("Section1", section1.Path, StringComparer.InvariantCultureIgnoreCase); 217Assert.Equal(value123, section2["Key3"], StringComparer.InvariantCultureIgnoreCase); 218Assert.Equal(arrayvalue0, section2["Key3a:0"], StringComparer.InvariantCultureIgnoreCase); 219Assert.Equal(arrayvalue1, section2["Key3a:1"], StringComparer.InvariantCultureIgnoreCase); 220Assert.Equal(arrayvalue2, section2["Key3a:2"], StringComparer.InvariantCultureIgnoreCase); 221Assert.Equal("Section1:Section2", section2.Path, StringComparer.InvariantCultureIgnoreCase); 225Assert.Equal(value123, section2["Key3"], StringComparer.InvariantCultureIgnoreCase); 226Assert.Equal(arrayvalue0, section2["Key3a:0"], StringComparer.InvariantCultureIgnoreCase); 227Assert.Equal(arrayvalue1, section2["Key3a:1"], StringComparer.InvariantCultureIgnoreCase); 228Assert.Equal(arrayvalue2, section2["Key3a:2"], StringComparer.InvariantCultureIgnoreCase); 229Assert.Equal("Section1:Section2", section2.Path, StringComparer.InvariantCultureIgnoreCase); 233Assert.Equal(arrayvalue0, section3a["0"], StringComparer.InvariantCultureIgnoreCase); 234Assert.Equal(arrayvalue1, section3a["1"], StringComparer.InvariantCultureIgnoreCase); 235Assert.Equal(arrayvalue2, section3a["2"], StringComparer.InvariantCultureIgnoreCase); 236Assert.Equal("Section1:Section2:Key3a", section3a.Path, StringComparer.InvariantCultureIgnoreCase); 240Assert.Equal("Section3", section3.Path, StringComparer.InvariantCultureIgnoreCase); 244Assert.Equal(value344, section4["Key4"], StringComparer.InvariantCultureIgnoreCase); 245Assert.Equal("Section3:Section4", section4.Path, StringComparer.InvariantCultureIgnoreCase); 249Assert.Equal(value344, section4["Key4"], StringComparer.InvariantCultureIgnoreCase); 250Assert.Equal("Section3:Section4", section4.Path, StringComparer.InvariantCultureIgnoreCase); 257Assert.Equal("Key1", sections[0].Key, StringComparer.InvariantCultureIgnoreCase); 258Assert.Equal("Key1", sections[0].Path, StringComparer.InvariantCultureIgnoreCase); 259Assert.Equal(value1, sections[0].Value, StringComparer.InvariantCultureIgnoreCase); 261Assert.Equal("Section1", sections[1].Key, StringComparer.InvariantCultureIgnoreCase); 262Assert.Equal("Section1", sections[1].Path, StringComparer.InvariantCultureIgnoreCase); 265Assert.Equal("Section3", sections[2].Key, StringComparer.InvariantCultureIgnoreCase); 266Assert.Equal("Section3", sections[2].Path, StringComparer.InvariantCultureIgnoreCase); 273Assert.Equal("Key2", sections[0].Key, StringComparer.InvariantCultureIgnoreCase); 274Assert.Equal("Section1:Key2", sections[0].Path, StringComparer.InvariantCultureIgnoreCase); 275Assert.Equal(value12, sections[0].Value, StringComparer.InvariantCultureIgnoreCase); 277Assert.Equal("Section2", sections[1].Key, StringComparer.InvariantCultureIgnoreCase); 278Assert.Equal("Section1:Section2", sections[1].Path, StringComparer.InvariantCultureIgnoreCase); 285Assert.Equal("Key3", sections[0].Key, StringComparer.InvariantCultureIgnoreCase); 286Assert.Equal("Section1:Section2:Key3", sections[0].Path, StringComparer.InvariantCultureIgnoreCase); 287Assert.Equal(value123, sections[0].Value, StringComparer.InvariantCultureIgnoreCase); 289Assert.Equal("Key3a", sections[1].Key, StringComparer.InvariantCultureIgnoreCase); 290Assert.Equal("Section1:Section2:Key3a", sections[1].Path, StringComparer.InvariantCultureIgnoreCase); 297Assert.Equal("0", sections[0].Key, StringComparer.InvariantCultureIgnoreCase); 298Assert.Equal("Section1:Section2:Key3a:0", sections[0].Path, StringComparer.InvariantCultureIgnoreCase); 299Assert.Equal(arrayvalue0, sections[0].Value, StringComparer.InvariantCultureIgnoreCase); 301Assert.Equal("1", sections[1].Key, StringComparer.InvariantCultureIgnoreCase); 302Assert.Equal("Section1:Section2:Key3a:1", sections[1].Path, StringComparer.InvariantCultureIgnoreCase); 303Assert.Equal(arrayvalue1, sections[1].Value, StringComparer.InvariantCultureIgnoreCase); 305Assert.Equal("2", sections[2].Key, StringComparer.InvariantCultureIgnoreCase); 306Assert.Equal("Section1:Section2:Key3a:2", sections[2].Path, StringComparer.InvariantCultureIgnoreCase); 307Assert.Equal(arrayvalue2, sections[2].Value, StringComparer.InvariantCultureIgnoreCase); 313Assert.Equal("Section4", sections[0].Key, StringComparer.InvariantCultureIgnoreCase); 314Assert.Equal("Section3:Section4", sections[0].Path, StringComparer.InvariantCultureIgnoreCase); 321Assert.Equal("Key4", sections[0].Key, StringComparer.InvariantCultureIgnoreCase); 322Assert.Equal("Section3:Section4:Key4", sections[0].Path, StringComparer.InvariantCultureIgnoreCase); 323Assert.Equal(value344, sections[0].Value, StringComparer.InvariantCultureIgnoreCase);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (21)
ProjectSystemShim\CPS\SourceFileHandlingTests.cs (21)
106Assert.Equal(documents[0].FilePath, sourceFileFullPath5, StringComparer.OrdinalIgnoreCase); 107Assert.Equal(documents[1].FilePath, sourceFileFullPath4, StringComparer.OrdinalIgnoreCase); 108Assert.Equal(documents[2].FilePath, sourceFileFullPath3, StringComparer.OrdinalIgnoreCase); 109Assert.Equal(documents[3].FilePath, sourceFileFullPath2, StringComparer.OrdinalIgnoreCase); 110Assert.Equal(documents[4].FilePath, sourceFileFullPath1, StringComparer.OrdinalIgnoreCase); 150Assert.Equal(documents[0].FilePath, sourceFileFullPath5, StringComparer.OrdinalIgnoreCase); 151Assert.Equal(documents[1].FilePath, sourceFileFullPath3, StringComparer.OrdinalIgnoreCase); 152Assert.Equal(documents[2].FilePath, sourceFileFullPath1, StringComparer.OrdinalIgnoreCase); 202Assert.Equal(documents[0].FilePath, sourceFileFullPath5, StringComparer.OrdinalIgnoreCase); 203Assert.Equal(documents[1].FilePath, sourceFileFullPath4, StringComparer.OrdinalIgnoreCase); 204Assert.Equal(documents[2].FilePath, sourceFileFullPath3, StringComparer.OrdinalIgnoreCase); 205Assert.Equal(documents[3].FilePath, sourceFileFullPath2, StringComparer.OrdinalIgnoreCase); 206Assert.Equal(documents[4].FilePath, sourceFileFullPath1, StringComparer.OrdinalIgnoreCase); 241Assert.Equal(documents[0].FilePath, sourceFileFullPath5, StringComparer.OrdinalIgnoreCase); 242Assert.Equal(documents[1].FilePath, sourceFileFullPath4, StringComparer.OrdinalIgnoreCase); 243Assert.Equal(documents[2].FilePath, sourceFileFullPath3, StringComparer.OrdinalIgnoreCase); 244Assert.Equal(documents[3].FilePath, sourceFileFullPath2, StringComparer.OrdinalIgnoreCase); 245Assert.Equal(documents[4].FilePath, sourceFileFullPath1, StringComparer.OrdinalIgnoreCase); 283Assert.Equal(documents[0].FilePath, sourceFileFullPath2, StringComparer.OrdinalIgnoreCase); 284Assert.Equal(documents[1].FilePath, sourceFileFullPath1, StringComparer.OrdinalIgnoreCase); 395Assert.Equal(documents[0].FilePath, sourceFileFullPath1, StringComparer.OrdinalIgnoreCase);
Security.TransportSecurity.IntegrationTests (2)
Http\ClientCredentialTypeTests.4.1.0.cs (1)
127Assert.Equal("100-Continue", expectHeader, StringComparer.OrdinalIgnoreCase);
Https\HttpsTests.4.1.0.cs (1)
438Assert.Equal("100-Continue", expectHeader, StringComparer.OrdinalIgnoreCase);
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\Project.cs (1)
331Assert.Equal(expectedProfileName, actualProfile.Name, StringComparer.Ordinal);
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\ProjectTemplates\Shared\Project.cs (1)
331Assert.Equal(expectedProfileName, actualProfile.Name, StringComparer.Ordinal);
Templates.Blazor.WebAssembly.Tests (1)
src\ProjectTemplates\Shared\Project.cs (1)
331Assert.Equal(expectedProfileName, actualProfile.Name, StringComparer.Ordinal);
Templates.Mvc.Tests (1)
src\ProjectTemplates\Shared\Project.cs (1)
331Assert.Equal(expectedProfileName, actualProfile.Name, StringComparer.Ordinal);
Templates.Tests (1)
src\ProjectTemplates\Shared\Project.cs (1)
331Assert.Equal(expectedProfileName, actualProfile.Name, StringComparer.Ordinal);
xunit.assert (6)
AsyncCollectionAsserts.cs (2)
262 Equal(expected, AssertHelper.ToEnumerable(actual), GetEqualityComparer<IEnumerable<T>>(new AssertEqualityComparerAdapter<T>(comparer))); 281 Equal(AssertHelper.ToEnumerable(expected), AssertHelper.ToEnumerable(actual), GetEqualityComparer<IEnumerable<T>>(new AssertEqualityComparerAdapter<T>(comparer)));
CollectionAsserts.cs (2)
486 Equal(expected, actual, GetEqualityComparer<IEnumerable<T>>()); 505 Equal(expected, actual, GetEqualityComparer<IEnumerable<T>>(new AssertEqualityComparerAdapter<T>(comparer)));
EqualityAsserts.cs (2)
96 Equal(expected, actual, GetEqualityComparer<T>()); 120 Equal(expected, actual, AssertEqualityComparer<T>.FromComparer(comparer));