1156 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.MongoDB.Driver.v3.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.RabbitMQ.Client.v7.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);
3207Assert.NotSame(tree, tree2);
3208Assert.NotSame(annotatedRoot, root2);
4094Assert.NotSame(frozenDocument, documentToFreeze);
4119Assert.NotSame(frozenDocument, documentToFreeze);
4153Assert.NotSame(frozenDocument, documentToFreezeChanged);
4198Assert.NotSame(frozenDocument, documentToFreezeChanged);
4713Assert.NotSame(originalCompilation, newCompilation);
4880Assert.NotSame(originalCompilation, newCompilation);
5107Assert.NotSame(compilation1, compilation1New);
5139Assert.NotSame(compilation1, compilation1New);
5207Assert.NotSame(compilation1, compilation1New);
5473Assert.NotSame(root, newRoot);
5475Assert.NotSame(doc, newDoc);
Microsoft.Data.Analysis.Tests (14)
Microsoft.DotNet.XUnitAssert.Tests (2)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.Extensions.AI.Tests (2)
Microsoft.Extensions.Caching.Hybrid.Tests (6)
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)
System.Xaml.Tests (2)
WindowsBase.Tests (159)
System\Windows\FreezableTests.cs (62)
1331Assert.NotSame(freezable, clone);
1352Assert.NotSame(freezable, clone);
1353Assert.NotSame(clone, clone2);
1421Assert.NotSame(freezable, clone);
1427Assert.NotSame(anotherFreezable1, ((SubFreezable)clone.GetValue(SubFreezable.Property6)));
1430Assert.NotSame(anotherFreezable2, ((SubFreezable)clone.GetValue(SubFreezable.Property7)));
1433Assert.NotSame(anotherFreezable3, ((SubFreezable)clone.GetValue(SubFreezable.Property8)));
1490Assert.NotSame(freezable, clone);
1496Assert.NotSame(anotherFreezable1, ((SubFreezable)clone.GetValue(SubFreezable.Property6)));
1499Assert.NotSame(anotherFreezable2, ((SubFreezable)clone.GetValue(SubFreezable.Property7)));
1502Assert.NotSame(anotherFreezable3, ((SubFreezable)clone.GetValue(SubFreezable.Property8)));
1540Assert.NotSame(freezable, clone);
1610Assert.NotSame(freezable, clone);
1643Assert.NotSame(freezable, clone);
1723Assert.NotSame(anotherFreezable1, ((SubFreezable)freezable.GetValue(SubFreezable.Property6)));
1726Assert.NotSame(anotherFreezable2, ((SubFreezable)freezable.GetValue(SubFreezable.Property7)));
1729Assert.NotSame(anotherFreezable3, ((SubFreezable)freezable.GetValue(SubFreezable.Property8)));
1827Assert.NotSame(anotherFreezable1, ((SubFreezable)freezable.GetValue(SubFreezable.Property6)));
1830Assert.NotSame(anotherFreezable2, ((SubFreezable)freezable.GetValue(SubFreezable.Property7)));
1833Assert.NotSame(anotherFreezable3, ((SubFreezable)freezable.GetValue(SubFreezable.Property8)));
2217Assert.NotSame(freezable, clone);
2238Assert.NotSame(freezable, clone);
2239Assert.NotSame(clone, clone2);
2307Assert.NotSame(freezable, clone);
2313Assert.NotSame(anotherFreezable1, ((SubFreezable)clone.GetValue(SubFreezable.Property6)));
2316Assert.NotSame(anotherFreezable2, ((SubFreezable)clone.GetValue(SubFreezable.Property7)));
2319Assert.NotSame(anotherFreezable3, ((SubFreezable)clone.GetValue(SubFreezable.Property8)));
2376Assert.NotSame(freezable, clone);
2382Assert.NotSame(anotherFreezable1, ((SubFreezable)clone.GetValue(SubFreezable.Property6)));
2385Assert.NotSame(anotherFreezable2, ((SubFreezable)clone.GetValue(SubFreezable.Property7)));
2388Assert.NotSame(anotherFreezable3, ((SubFreezable)clone.GetValue(SubFreezable.Property8)));
2426Assert.NotSame(freezable, clone);
2493Assert.NotSame(freezable, clone);
2526Assert.NotSame(freezable, clone);
2606Assert.NotSame(anotherFreezable1, ((SubFreezable)freezable.GetValue(SubFreezable.Property6)));
2609Assert.NotSame(anotherFreezable2, ((SubFreezable)freezable.GetValue(SubFreezable.Property7)));
2612Assert.NotSame(anotherFreezable3, ((SubFreezable)freezable.GetValue(SubFreezable.Property8)));
2710Assert.NotSame(anotherFreezable1, ((SubFreezable)freezable.GetValue(SubFreezable.Property6)));
2713Assert.NotSame(anotherFreezable2, ((SubFreezable)freezable.GetValue(SubFreezable.Property7)));
2716Assert.NotSame(anotherFreezable3, ((SubFreezable)freezable.GetValue(SubFreezable.Property8)));
4363Assert.NotSame(freezable, clone);
4383Assert.NotSame(freezable, clone);
4384Assert.NotSame(clone, clone2);
4450Assert.NotSame(freezable, clone);
4456Assert.NotSame(anotherFreezable1, ((SubFreezable)clone.GetValue(SubFreezable.Property6)));
4459Assert.NotSame(anotherFreezable2, ((SubFreezable)clone.GetValue(SubFreezable.Property7)));
4518Assert.NotSame(freezable, clone);
4524Assert.NotSame(anotherFreezable1, ((SubFreezable)clone.GetValue(SubFreezable.Property6)));
4527Assert.NotSame(anotherFreezable2, ((SubFreezable)clone.GetValue(SubFreezable.Property7)));
4719Assert.NotSame(anotherFreezable1, ((SubFreezable)freezable.GetValue(SubFreezable.Property6)));
4722Assert.NotSame(anotherFreezable2, ((SubFreezable)freezable.GetValue(SubFreezable.Property7)));
5216Assert.NotSame(freezable, clone);
5236Assert.NotSame(freezable, clone);
5237Assert.NotSame(clone, clone2);
5303Assert.NotSame(freezable, clone);
5309Assert.NotSame(anotherFreezable1, ((SubFreezable)clone.GetValue(SubFreezable.Property6)));
5312Assert.NotSame(anotherFreezable2, ((SubFreezable)clone.GetValue(SubFreezable.Property7)));
5371Assert.NotSame(freezable, clone);
5377Assert.NotSame(anotherFreezable1, ((SubFreezable)clone.GetValue(SubFreezable.Property6)));
5380Assert.NotSame(anotherFreezable2, ((SubFreezable)clone.GetValue(SubFreezable.Property7)));
5572Assert.NotSame(anotherFreezable1, ((SubFreezable)freezable.GetValue(SubFreezable.Property6)));
5575Assert.NotSame(anotherFreezable2, ((SubFreezable)freezable.GetValue(SubFreezable.Property7)));
System\Windows\Markup\Primitives\MarkupObjectTests.cs (30)
25Assert.NotSame(obj.Properties, obj.Properties);
39Assert.NotSame(obj.Properties, obj.Properties);
73Assert.NotSame(obj.Properties, obj.Properties);
93Assert.NotSame(properties[0].Items, properties[0].Items);
108Assert.NotSame(obj.Properties, obj.Properties);
127Assert.NotSame(obj, Assert.Single(properties[0].Items));
128Assert.NotSame(properties[0].Items, properties[0].Items);
147Assert.NotSame(properties[1].Items, properties[1].Items);
167Assert.NotSame(obj.Properties, obj.Properties);
187Assert.NotSame(properties[0].Items, properties[0].Items);
203Assert.NotSame(obj.Properties, obj.Properties);
223Assert.NotSame(properties[0].Items, properties[0].Items);
241Assert.NotSame(obj.Properties, obj.Properties);
260Assert.NotSame(obj, Assert.Single(properties[0].Items));
261Assert.NotSame(properties[0].Items, properties[0].Items);
280Assert.NotSame(obj.Properties, obj.Properties);
299Assert.NotSame(obj, Assert.Single(properties[0].Items));
300Assert.NotSame(properties[0].Items, properties[0].Items);
319Assert.NotSame(obj.Properties, obj.Properties);
338Assert.NotSame(obj, Assert.Single(properties[0].Items));
339Assert.NotSame(properties[0].Items, properties[0].Items);
363Assert.NotSame(obj.Properties, obj.Properties);
382Assert.NotSame(obj, Assert.Single(properties[0].Items));
383Assert.NotSame(properties[0].Items, properties[0].Items);
398Assert.NotSame(obj.Properties, obj.Properties);
412Assert.NotSame(obj.Properties, obj.Properties);
431Assert.NotSame(obj, Assert.Single(properties[0].Items));
432Assert.NotSame(properties[0].Items, properties[0].Items);
450Assert.NotSame(obj, Assert.Single(properties[1].Items));
451Assert.NotSame(properties[1].Items, properties[1].Items);
System\Windows\Markup\Primitives\MarkupPropertyTests.cs (28)
26Assert.NotSame(obj.Properties, obj.Properties);
60Assert.NotSame(obj.Properties, obj.Properties);
80Assert.NotSame(properties[0].Items, properties[0].Items);
95Assert.NotSame(obj.Properties, obj.Properties);
114Assert.NotSame(obj, Assert.Single(properties[0].Items));
115Assert.NotSame(properties[0].Items, properties[0].Items);
134Assert.NotSame(properties[1].Items, properties[1].Items);
154Assert.NotSame(obj.Properties, obj.Properties);
174Assert.NotSame(properties[0].Items, properties[0].Items);
190Assert.NotSame(obj.Properties, obj.Properties);
210Assert.NotSame(properties[0].Items, properties[0].Items);
228Assert.NotSame(obj.Properties, obj.Properties);
247Assert.NotSame(obj, Assert.Single(properties[0].Items));
248Assert.NotSame(properties[0].Items, properties[0].Items);
267Assert.NotSame(obj.Properties, obj.Properties);
286Assert.NotSame(obj, Assert.Single(properties[0].Items));
287Assert.NotSame(properties[0].Items, properties[0].Items);
306Assert.NotSame(obj.Properties, obj.Properties);
325Assert.NotSame(obj, Assert.Single(properties[0].Items));
326Assert.NotSame(properties[0].Items, properties[0].Items);
350Assert.NotSame(obj.Properties, obj.Properties);
369Assert.NotSame(obj, Assert.Single(properties[0].Items));
370Assert.NotSame(properties[0].Items, properties[0].Items);
385Assert.NotSame(obj.Properties, obj.Properties);
404Assert.NotSame(obj, Assert.Single(properties[0].Items));
405Assert.NotSame(properties[0].Items, properties[0].Items);
423Assert.NotSame(obj, Assert.Single(properties[1].Items));
424Assert.NotSame(properties[1].Items, properties[1].Items);
System\Windows\NameScopeTests.cs (16)
134Assert.NotSame(nameScope.Keys, nameScope.Keys);
137Assert.NotSame(nameScope.Values, nameScope.Values);
147Assert.NotSame(nameScope.Keys, nameScope.Keys);
150Assert.NotSame(nameScope.Values, nameScope.Values);
255Assert.NotSame(nameScope.Keys, nameScope.Keys);
258Assert.NotSame(nameScope.Values, nameScope.Values);
268Assert.NotSame(nameScope.Keys, nameScope.Keys);
271Assert.NotSame(nameScope.Values, nameScope.Values);
349Assert.NotSame(nameScope.Keys, nameScope.Keys);
352Assert.NotSame(nameScope.Values, nameScope.Values);
362Assert.NotSame(nameScope.Keys, nameScope.Keys);
365Assert.NotSame(nameScope.Values, nameScope.Values);
852Assert.NotSame(nameScope.Keys, nameScope.Keys);
855Assert.NotSame(nameScope.Values, nameScope.Values);
865Assert.NotSame(nameScope.Keys, nameScope.Keys);
868Assert.NotSame(nameScope.Values, nameScope.Values);
System\Windows\WeakEventManagerTests.cs (19)
763Assert.NotSame(list, manager.NewListenerList());
1142Assert.NotSame(list2, list1);
1510Assert.NotSame(list2, list1);
1922Assert.NotSame(list3, list1);
1934Assert.NotSame(list3, list1);
2352Assert.NotSame(list3, list1);
2364Assert.NotSame(list3, list1);
3118Assert.NotSame(originalList, list);
3124Assert.NotSame(originalList, list);
3221Assert.NotSame(originalList, list);
3294Assert.NotSame(originalList, list);
3933Assert.NotSame(list, newList);
3950Assert.NotSame(list, newList);
3978Assert.NotSame(list, newList);
4014Assert.NotSame(list, newList);
5695Assert.NotSame(list, newList);
5712Assert.NotSame(list, newList);
5740Assert.NotSame(list, newList);
5776Assert.NotSame(list, newList);