983 references to NotSame
Aspire.Azure.AI.OpenAI.Tests (1)
Aspire.Azure.Data.Tables.Tests (1)
Aspire.Azure.Messaging.EventHubs.Tests (1)
Aspire.Azure.Messaging.ServiceBus.Tests (1)
Aspire.Azure.Search.Documents.Tests (1)
Aspire.Azure.Security.KeyVault.Tests (1)
Aspire.Azure.Storage.Blobs.Tests (1)
Aspire.Azure.Storage.Queues.Tests (1)
Aspire.Components.Common.Tests (4)
Aspire.Confluent.Kafka.Tests (6)
Aspire.Dashboard.Tests (4)
Aspire.Elastic.Clients.Elasticsearch.Tests (4)
Aspire.Microsoft.Azure.Cosmos.Tests (3)
Aspire.Microsoft.Data.SqlClient.Tests (3)
Aspire.Milvus.Client.Tests (3)
Aspire.MongoDB.Driver.Tests (3)
Aspire.MySqlConnector.Tests (3)
Aspire.NATS.Net.Tests (3)
Aspire.Npgsql.Tests (3)
Aspire.OpenAI.Tests (3)
Aspire.Qdrant.Client.Tests (3)
Aspire.RabbitMQ.Client.Tests (3)
Aspire.StackExchange.Redis.Tests (6)
InMemory.FunctionalTests (3)
Interop.FunctionalTests (1)
Microsoft.AspNetCore.Authentication.Core.Test (5)
Microsoft.AspNetCore.Authorization.Test (1)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Components.Tests (10)
Microsoft.AspNetCore.Components.WebView.Test (1)
Microsoft.AspNetCore.Cors.Test (5)
Microsoft.AspNetCore.Cryptography.Internal.Tests (1)
Microsoft.AspNetCore.DataProtection.Tests (4)
Microsoft.AspNetCore.Hosting.Tests (1)
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
Microsoft.AspNetCore.Http.Connections.Tests (1)
Microsoft.AspNetCore.Http.Tests (4)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (6)
Microsoft.AspNetCore.JsonPatch.Tests (2)
Microsoft.AspNetCore.Mvc.Core.Test (43)
ApplicationModels\ControllerModelTest.cs (10)
40Assert.NotSame(action, controller2.Actions[0]);
45Assert.NotSame(route, controller2.Selectors[0].AttributeRouteModel);
46Assert.NotSame(apiExplorer, controller2.ApiExplorer);
48Assert.NotSame(controller.Selectors[0].ActionConstraints, controller2.Selectors[0].ActionConstraints);
49Assert.NotSame(controller.Actions, controller2.Actions);
50Assert.NotSame(controller.Attributes, controller2.Attributes);
51Assert.NotSame(controller.Filters, controller2.Filters);
52Assert.NotSame(controller.RouteValues, controller2.RouteValues);
54Assert.NotSame(controller, controller2.Actions[0].Controller);
56Assert.NotSame(controller, controller2.ControllerProperties[0].Controller);
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
Microsoft.AspNetCore.Mvc.Razor.Test (13)
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests (4)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (36)
ViewDataDictionaryOfTModelTest.cs (11)
50Assert.NotSame(source.TemplateInfo, viewData1.TemplateInfo);
62Assert.NotSame(source.TemplateInfo, viewData2.TemplateInfo);
89Assert.NotSame(source.TemplateInfo, viewData1.TemplateInfo);
101Assert.NotSame(source.TemplateInfo, viewData2.TemplateInfo);
169Assert.NotSame(source.TemplateInfo, viewData.TemplateInfo);
173Assert.NotSame(source.ModelMetadata, viewData.ModelMetadata);
255Assert.NotSame(source.ModelExplorer, viewData.ModelExplorer);
257Assert.NotSame(source.ModelMetadata, viewData.ModelMetadata);
278Assert.NotSame(source.ModelExplorer, viewData.ModelExplorer);
297Assert.NotSame(source.ModelExplorer, viewData.ModelExplorer);
298Assert.NotSame(source.ModelMetadata, viewData.ModelMetadata);
Microsoft.AspNetCore.Routing.Tests (34)
CompositeEndpointDataSourceTest.cs (11)
31Assert.NotSame(endpoints, dataSource.Endpoints);
57Assert.NotSame(groupedEndpoints, resolvedGroupEndpoints);
178Assert.NotSame(changeToken2, changeToken1);
191Assert.NotSame(changeToken3, changeToken2);
192Assert.NotSame(changeToken3, changeToken1);
217Assert.NotSame(changeToken2, changeToken1);
227Assert.NotSame(changeToken3, changeToken2);
228Assert.NotSame(changeToken3, changeToken1);
252Assert.NotSame(changeToken2, changeToken1);
263Assert.NotSame(changeToken3, changeToken2);
264Assert.NotSame(changeToken3, changeToken1);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (52)
HttpRequestHeadersTests.cs (16)
158Assert.NotSame(enumerator0, enumerator1);
423Assert.NotSame(HeaderValue, values.PrevHeaderValue);
426Assert.NotSame(HeaderValue, values.NextHeaderValue);
437Assert.NotSame(values.PrevHeaderValue, values.NextHeaderValue);
458Assert.NotSame(HeaderValue1, values.PrevHeaderValue);
461Assert.NotSame(HeaderValue2, values.NextHeaderValue);
482Assert.NotSame(HeaderValue1, values.PrevHeaderValue);
506Assert.NotSame(HeaderValue, values.PrevHeaderValue);
509Assert.NotSame(HeaderValue, values.NextHeaderValue);
513Assert.NotSame(values.PrevHeaderValue, values.NextHeaderValue);
558Assert.NotSame(headerValueUtf16Latin1CrossOver, prevHeaderValue);
626Assert.NotSame(parsedHeaderValue1, parsedHeaderValue2);
729Assert.NotSame(HeaderValue, values.PrevHeaderValue);
732Assert.NotSame(HeaderValue, values.NextHeaderValue);
736Assert.NotSame(values.PrevHeaderValue, values.NextHeaderValue);
757Assert.NotSame(HeaderValue, prevHeaderValue);
StartLineTests.cs (25)
48Assert.NotSame(rawTarget, Http1Connection.RawTarget);
49Assert.NotSame(path, Http1Connection.Path);
50Assert.NotSame(query, Http1Connection.QueryString);
75Assert.NotSame(rawTarget, Http1Connection.RawTarget);
103Assert.NotSame(rawTarget, Http1Connection.RawTarget);
104Assert.NotSame(path, Http1Connection.Path);
105Assert.NotSame(query, Http1Connection.QueryString);
154Assert.NotSame(rawTarget, Http1Connection.RawTarget);
155Assert.NotSame(path, Http1Connection.Path);
156Assert.NotSame(query, Http1Connection.QueryString);
218Assert.NotSame(rawTarget, Http1Connection.RawTarget);
219Assert.NotSame(path, Http1Connection.Path);
251Assert.NotSame(rawTarget, Http1Connection.RawTarget);
252Assert.NotSame(path, Http1Connection.Path);
253Assert.NotSame(query, Http1Connection.QueryString);
311Assert.NotSame(rawTarget, Http1Connection.RawTarget);
312Assert.NotSame(path, Http1Connection.Path);
344Assert.NotSame(rawTarget, Http1Connection.RawTarget);
345Assert.NotSame(path, Http1Connection.Path);
346Assert.NotSame(query, Http1Connection.QueryString);
423Assert.NotSame(rawTarget, Http1Connection.RawTarget);
424Assert.NotSame(path, Http1Connection.Path);
425Assert.NotSame(query, Http1Connection.QueryString);
473Assert.NotSame(rawTarget, Http1Connection.RawTarget);
505Assert.NotSame(rawTarget, Http1Connection.RawTarget);
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
Microsoft.AspNetCore.Shared.Tests (5)
Microsoft.AspNetCore.SignalR.Client.Tests (2)
Microsoft.AspNetCore.SignalR.Tests (1)
Microsoft.AspNetCore.TestHost.Tests (1)
Microsoft.Build.Engine.OM.UnitTests (11)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (103)
Symbols\CompilationCreationTests.cs (38)
154Assert.NotSame(asm2[1], asm1[1]);
184Assert.NotSame(asm3[1], asm1[1]);
185Assert.NotSame(asm3[1], asm2[1]);
199Assert.NotSame(asm3[2], asm2[2]);
200Assert.NotSame(((PEAssemblySymbol)asm3[2]).Assembly, ((PEAssemblySymbol)asm2[2]).Assembly);
242Assert.NotSame(asm4[1], asm1[1]);
243Assert.NotSame(asm4[1], asm2[1]);
244Assert.NotSame(asm4[1], asm3[1]);
258Assert.NotSame(asm4[2], asm2[2]);
259Assert.NotSame(asm4[2], asm3[2]);
260Assert.NotSame(((PEAssemblySymbol)asm4[2]).Assembly, ((PEAssemblySymbol)asm2[2]).Assembly);
261Assert.NotSame(((PEAssemblySymbol)asm4[2]).Assembly, ((PEAssemblySymbol)asm3[2]).Assembly);
267Assert.NotSame(asm4[3], asm3[3]);
355Assert.NotSame(asm7[2], asm3[3]);
356Assert.NotSame(asm7[2], asm4[3]);
357Assert.NotSame(asm7[3], asm4[4]);
465Assert.NotSame(asm2[1], asm1[1]);
486Assert.NotSame(asm3[1], asm1[1]);
487Assert.NotSame(asm3[1], asm2[1]);
501Assert.NotSame(asm3[2], asm2[2]);
502Assert.NotSame(((PEAssemblySymbol)asm3[2]).Assembly, ((PEAssemblySymbol)asm2[2]).Assembly);
534Assert.NotSame(asm4[1], asm1[1]);
535Assert.NotSame(asm4[1], asm2[1]);
536Assert.NotSame(asm4[1], asm3[1]);
550Assert.NotSame(asm4[2], asm2[2]);
551Assert.NotSame(asm4[2], asm3[2]);
552Assert.NotSame(((PEAssemblySymbol)asm4[2]).Assembly, ((PEAssemblySymbol)asm2[2]).Assembly);
553Assert.NotSame(((PEAssemblySymbol)asm4[2]).Assembly, ((PEAssemblySymbol)asm3[2]).Assembly);
559Assert.NotSame(asm4[3], asm3[3]);
621Assert.NotSame(asm7[2], asm3[3]);
622Assert.NotSame(asm7[2], asm4[3]);
623Assert.NotSame(asm7[3], asm4[4]);
1523Assert.NotSame(((PEAssemblySymbol)asm3[2]).Assembly, ((PEAssemblySymbol)asm2[2]).Assembly);
1611Assert.NotSame(((PEAssemblySymbol)asm4[2]).Assembly, ((PEAssemblySymbol)asm2[2]).Assembly);
1612Assert.NotSame(((PEAssemblySymbol)asm4[2]).Assembly, ((PEAssemblySymbol)asm3[2]).Assembly);
1873Assert.NotSame(((PEAssemblySymbol)asm3[2]).Assembly, ((PEAssemblySymbol)asm2[2]).Assembly);
1927Assert.NotSame(((PEAssemblySymbol)asm4[2]).Assembly, ((PEAssemblySymbol)asm2[2]).Assembly);
1928Assert.NotSame(((PEAssemblySymbol)asm4[2]).Assembly, ((PEAssemblySymbol)asm3[2]).Assembly);
Symbols\Metadata\PE\NoPia.cs (19)
101Assert.NotSame(localTypes1_1, localTypes1_2);
102Assert.NotSame(localTypes2_1, localTypes2_2);
132Assert.NotSame(localTypes1_1, localTypes1_3);
133Assert.NotSame(localTypes2_1, localTypes2_3);
134Assert.NotSame(localTypes1_2, localTypes1_3);
135Assert.NotSame(localTypes2_2, localTypes2_3);
136Assert.NotSame(pia1_1, pia1_3);
337Assert.NotSame(library1_9, library1_10);
338Assert.NotSame(localTypes1_9, localTypes1_10);
391Assert.NotSame(localTypes1Asm, localTypes1_1);
396Assert.NotSame(localTypes2Asm, localTypes2_1);
442Assert.NotSame(localTypes1_1, localTypes1_2);
443Assert.NotSame(localTypes2_1, localTypes2_2);
472Assert.NotSame(localTypes1_1, localTypes1_3);
473Assert.NotSame(localTypes2_1, localTypes2_3);
474Assert.NotSame(localTypes1_2, localTypes1_3);
475Assert.NotSame(localTypes2_2, localTypes2_3);
674Assert.NotSame(library1_9, library1_10);
675Assert.NotSame(localTypes1_9, localTypes1_10);
Symbols\Retargeting\NoPia.cs (27)
411Assert.NotSame(localTypes1_1, localTypes1_2);
412Assert.NotSame(localTypes2_1, localTypes2_2);
440Assert.NotSame(localTypes1_1, localTypes1_3);
441Assert.NotSame(localTypes2_1, localTypes2_3);
442Assert.NotSame(localTypes1_2, localTypes1_3);
443Assert.NotSame(localTypes2_2, localTypes2_3);
444Assert.NotSame(pia1_1, pia1_3);
636Assert.NotSame(library1_9, library1_10);
637Assert.NotSame(localTypes1_9, localTypes1_10);
712Assert.NotSame(localTypes1_1, localTypes1_2);
713Assert.NotSame(localTypes2_1, localTypes2_2);
741Assert.NotSame(localTypes1_1, localTypes1_3);
742Assert.NotSame(localTypes2_1, localTypes2_3);
743Assert.NotSame(localTypes1_2, localTypes1_3);
744Assert.NotSame(localTypes2_2, localTypes2_3);
745Assert.NotSame(pia1_1, pia1_3);
937Assert.NotSame(library1_9, library1_10);
938Assert.NotSame(localTypes1_9, localTypes1_10);
1016Assert.NotSame(localTypes1_1, localTypes1_2);
1017Assert.NotSame(localTypes2_1, localTypes2_2);
1045Assert.NotSame(localTypes1_1, localTypes1_3);
1046Assert.NotSame(localTypes2_1, localTypes2_3);
1047Assert.NotSame(localTypes1_2, localTypes1_3);
1048Assert.NotSame(localTypes2_2, localTypes2_3);
1049Assert.NotSame(pia1_1, pia1_3);
1241Assert.NotSame(library1_9, library1_10);
1242Assert.NotSame(localTypes1_9, localTypes1_10);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
Microsoft.CodeAnalysis.Features.UnitTests (2)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (2)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.UnitTests (25)
Collections\BoxesTest.cs (16)
19Assert.NotSame(Boxes.Box(true), Boxes.Box(false));
23Assert.NotSame(Boxes.Box((byte)3), Boxes.Box((byte)3));
27Assert.NotSame(Boxes.Box((sbyte)3), Boxes.Box((sbyte)3));
31Assert.NotSame(Boxes.Box((short)3), Boxes.Box((short)3));
35Assert.NotSame(Boxes.Box((ushort)3), Boxes.Box((ushort)3));
42Assert.NotSame(Boxes.Box(3), Boxes.Box(3));
46Assert.NotSame(Boxes.Box(3u), Boxes.Box(3u));
50Assert.NotSame(Boxes.Box(3L), Boxes.Box(3L));
54Assert.NotSame(Boxes.Box(3UL), Boxes.Box(3UL));
58Assert.NotSame(Boxes.Box(0.0f), Boxes.Box(-0.0f));
59Assert.NotSame(Boxes.Box(1.0f), Boxes.Box(1.0f));
63Assert.NotSame(Boxes.Box(0.0), Boxes.Box(-0.0));
64Assert.NotSame(Boxes.Box(1.0), Boxes.Box(1.0));
68Assert.NotSame(Boxes.Box(0m), Boxes.Box(decimal.Negate(0m)));
71Assert.NotSame(Boxes.Box(decimal.Zero), Boxes.Box(strangeDecimalZero));
77Assert.NotSame(Boxes.Box('\u1234'), Boxes.Box('\u1234')); // non ASCII
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (3)
Microsoft.CodeAnalysis.Workspaces.UnitTests (34)
SolutionTests\SolutionTests.cs (20)
314Assert.NotSame(root, actualRoot);
1019Assert.NotSame(newSolution1, newSolution2);
1041Assert.NotSame(newSolution1, newSolution2);
1063Assert.NotSame(newSolution1, newSolution2);
2624Assert.NotSame(document1, document2);
2650Assert.NotSame(document1, document2);
2651Assert.NotSame(document1.Project, document2.Project);
3204Assert.NotSame(tree, tree2);
3205Assert.NotSame(annotatedRoot, root2);
4080Assert.NotSame(frozenDocument, documentToFreeze);
4105Assert.NotSame(frozenDocument, documentToFreeze);
4139Assert.NotSame(frozenDocument, documentToFreezeChanged);
4184Assert.NotSame(frozenDocument, documentToFreezeChanged);
4695Assert.NotSame(originalCompilation, newCompilation);
4862Assert.NotSame(originalCompilation, newCompilation);
5089Assert.NotSame(compilation1, compilation1New);
5121Assert.NotSame(compilation1, compilation1New);
5189Assert.NotSame(compilation1, compilation1New);
5438Assert.NotSame(root, newRoot);
5440Assert.NotSame(doc, newDoc);
Microsoft.Data.Analysis.Tests (14)
Microsoft.DotNet.XUnitAssert.Tests (2)
Microsoft.Extensions.Caching.Hybrid.Tests (4)
Microsoft.Extensions.Localization.Tests (3)
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (3)
Microsoft.Extensions.ObjectPool.Tests (3)
Microsoft.Extensions.Telemetry.Tests (1)
Microsoft.JSInterop.Tests (1)
Microsoft.Net.Http.Headers.Tests (18)
Shared.Tests (2)
System.Drawing.Common.Tests (38)
System.Windows.Forms.Design.Tests (47)
System.Windows.Forms.Tests (334)