989 references to NotSame
Aspire.Azure.AI.OpenAI.Tests (1)
AspireAzureAIOpenAIExtensionsTests.cs (1)
151Assert.NotSame(client2, client3);
Aspire.Azure.Data.Tables.Tests (1)
AspireTablesExtensionsTests.cs (1)
151Assert.NotSame(client2, client3);
Aspire.Azure.Messaging.EventHubs.Tests (1)
AspireEventHubsExtensionsTests.cs (1)
574Assert.NotSame(client2, client3);
Aspire.Azure.Messaging.ServiceBus.Tests (1)
AspireServiceBusExtensionsTests.cs (1)
151Assert.NotSame(client2, client3);
Aspire.Azure.Search.Documents.Tests (1)
AspireAzureSearchExtensionsTests.cs (1)
95Assert.NotSame(client2, client3);
Aspire.Azure.Security.KeyVault.Tests (1)
AspireKeyVaultExtensionsTests.cs (1)
198Assert.NotSame(client2, client3);
Aspire.Azure.Storage.Blobs.Tests (1)
AspireBlobStorageExtensionsTests.cs (1)
151Assert.NotSame(client2, client3);
Aspire.Azure.Storage.Queues.Tests (1)
AspireQueueStorageExtensionsTests.cs (1)
151Assert.NotSame(client2, client3);
Aspire.Components.Common.Tests (4)
ConformanceTests.cs (4)
201Assert.NotSame(serviceFromFirstScope, serviceFromSecondScope); 205Assert.NotSame(serviceFromFirstScope, serviceFromSecondScope); 206Assert.NotSame(serviceFromSecondScope, secondServiceFromSecondScope); 229Assert.NotSame(serviceForKey1, serviceForKey2);
Aspire.Confluent.Kafka.Tests (6)
ConsumerConformanceTests.cs (3)
113Assert.NotSame(client1, client2); 114Assert.NotSame(client1, client3); 115Assert.NotSame(client2, client3);
ProducerConformanceTests.cs (3)
104Assert.NotSame(client1, client2); 105Assert.NotSame(client1, client3); 106Assert.NotSame(client2, client3);
Aspire.Dashboard.Tests (4)
TelemetryRepositoryTests\TraceTests.cs (4)
751Assert.NotSame(traces1.PagedResult.Items[0], traces2.PagedResult.Items[0]); 752Assert.NotSame(traces1.PagedResult.Items[0].Spans[0].Trace, traces2.PagedResult.Items[0].Spans[0].Trace); 756Assert.NotSame(trace1, trace2); 757Assert.NotSame(trace1.Spans[0].Trace, trace2.Spans[0].Trace);
Aspire.Elastic.Clients.Elasticsearch.Tests (4)
AspireElasticClientExtensionsTest.cs (4)
115Assert.NotSame(client1, client2); 116Assert.NotSame(client1, client3); 117Assert.NotSame(client2, client3); 138Assert.NotSame(client1, client2);
Aspire.Microsoft.Azure.Cosmos.Tests (3)
ConformanceTests.cs (3)
96Assert.NotSame(client1, client2); 97Assert.NotSame(client1, client3); 98Assert.NotSame(client2, client3);
Aspire.Microsoft.Data.SqlClient.Tests (3)
AspireSqlServerSqlClientExtensionsTests.cs (3)
125Assert.NotSame(connection1, connection2); 126Assert.NotSame(connection1, connection3); 127Assert.NotSame(connection2, connection3);
Aspire.Milvus.Client.Tests (3)
ConformanceTests.cs (3)
124Assert.NotSame(client1, client2); 125Assert.NotSame(client1, client3); 126Assert.NotSame(client2, client3);
Aspire.MongoDB.Driver.Tests (3)
AspireMongoDBDriverExtensionsTests.cs (3)
223Assert.NotSame(connection1, connection2); 224Assert.NotSame(connection1, connection3); 225Assert.NotSame(connection2, connection3);
Aspire.MySqlConnector.Tests (3)
AspireMySqlConnectorExtensionsTests.cs (3)
133Assert.NotSame(connection1, connection2); 134Assert.NotSame(connection1, connection3); 135Assert.NotSame(connection2, connection3);
Aspire.NATS.Net.Tests (3)
AspireNatsClientExtensionsTests.cs (3)
226Assert.NotSame(connection1, connection2); 227Assert.NotSame(connection1, connection3); 228Assert.NotSame(connection2, connection3);
Aspire.Npgsql.Tests (3)
AspirePostgreSqlNpgsqlExtensionsTests.cs (3)
155Assert.NotSame(connection1, connection2); 156Assert.NotSame(connection1, connection3); 157Assert.NotSame(connection2, connection3);
Aspire.OpenAI.Tests (3)
AspireOpenAIExtensionsTests.cs (3)
131Assert.NotSame(client1, client2); 132Assert.NotSame(client1, client3); 133Assert.NotSame(client2, client3);
Aspire.Qdrant.Client.Tests (3)
ConformanceTests.cs (3)
94Assert.NotSame(client1, client2); 95Assert.NotSame(client1, client3); 96Assert.NotSame(client2, client3);
Aspire.RabbitMQ.Client.Tests (3)
AspireRabbitMQExtensionsTests.cs (3)
186Assert.NotSame(connection1, connection2); 187Assert.NotSame(connection1, connection3); 188Assert.NotSame(connection2, connection3);
Aspire.StackExchange.Redis.Tests (6)
AspireRedisExtensionsTests.cs (6)
323Assert.NotSame(connection1, connection2); 324Assert.NotSame(connection1, connection3); 325Assert.NotSame(connection2, connection3); 362Assert.NotSame(connection1, connection2); 363Assert.NotSame(connection1, connection3); 364Assert.NotSame(connection2, connection3);
InMemory.FunctionalTests (3)
Http2\Http2ConnectionTests.cs (1)
396Assert.NotSame(trailersFirst, trailersLast);
Http3\Http3ConnectionTests.cs (1)
595Assert.NotSame(trailersFirst, trailersLast);
RequestTests.cs (1)
2124Assert.NotSame(initialCustomHeaderValue, customHeaderValue);
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
1572Assert.NotSame(contexts[0], contexts[1]);
Microsoft.AspNetCore.Authentication.Core.Test (5)
AuthenticationPropertiesTests.cs (2)
27Assert.NotSame(props.Items, copy.Items); 28Assert.NotSame(props.Parameters, copy.Parameters);
AuthenticationTicketTests.cs (3)
30Assert.NotSame(ticket.Principal, copy.Principal); 31Assert.NotSame(ticket.Properties.Items, copy.Properties.Items); 32Assert.NotSame(ticket.Properties.Parameters, copy.Properties.Parameters);
Microsoft.AspNetCore.Authorization.Test (1)
AuthorizationMiddlewareTests.cs (1)
944Assert.NotSame(authenticateResult, authenticateResultFeature.AuthenticateResult);
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\ServerAuthenticationStateProviderTest.cs (1)
42Assert.NotSame(actualAuthenticationState1, actualAuthenticationState2);
Microsoft.AspNetCore.Components.Tests (10)
Rendering\ArrayBuilderTest.cs (1)
262Assert.NotSame(builder.Buffer, buffer); // Prevents use after free
Rendering\RendererSynchronizationContextTest.cs (4)
35Assert.NotSame(thread, capturedThread); 100Assert.NotSame(thread, capturedThread); 456Assert.NotSame(thread, capturedThread); 638Assert.NotSame(thread, capturedThread);
RenderTreeDiffBuilderTest.cs (1)
374Assert.NotSame(oldComponent, newComponent);
StackObjectPoolTest.cs (4)
21Assert.NotSame(instance1, instance2); 57Assert.NotSame(instance1, instance3); 58Assert.NotSame(instance2, instance3); 85Assert.NotSame(instance2b, instance2);
Microsoft.AspNetCore.Components.WebView.Test (1)
WebViewManagerTests.cs (1)
77Assert.NotSame(singleton.Services[0], singleton.Services[1]);
Microsoft.AspNetCore.Cors.Test (5)
CorsPolicyBuilderTests.cs (5)
32Assert.NotSame(originalPolicy.Headers, corsPolicy.Headers); 34Assert.NotSame(originalPolicy.Methods, corsPolicy.Methods); 36Assert.NotSame(originalPolicy.Origins, corsPolicy.Origins); 38Assert.NotSame(originalPolicy.ExposedHeaders, corsPolicy.ExposedHeaders); 61Assert.NotSame(originalPolicy.Origins, corsPolicy.Origins);
Microsoft.AspNetCore.Cryptography.Internal.Tests (1)
WeakReferenceHelpersTests.cs (1)
24Assert.NotSame(wrOriginal, wr);
Microsoft.AspNetCore.DataProtection.Tests (4)
KeyManagement\XmlKeyManagerTests.cs (4)
822Assert.NotSame(createdKey, fetchedKey); // It's mutable, so we don't want to reuse the same instance 835Assert.NotSame(createdKey, fetchedKey2); // It's mutable, so we don't want to reuse the same instance 836Assert.NotSame(fetchedKey, fetchedKey2); 923Assert.NotSame(fetchedKey, fetchedKey2); // It's mutable, so we don't want to reuse the same instance
Microsoft.AspNetCore.Hosting.Tests (1)
HostingApplicationTests.cs (1)
86Assert.NotSame(previousContext, context.HttpContext);
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
RouteValueDictionaryTests.cs (1)
55Assert.NotSame(otherStorage, storage);
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
1458Assert.NotSame(connection.HttpContext, context2);
Microsoft.AspNetCore.Http.Tests (4)
CookieOptionsTests.cs (1)
49Assert.NotSame(property.GetValue(original), property.GetValue(copy));
DefaultHttpContextTests.cs (1)
75Assert.NotSame(session, context.Session);
Internal\DefaultHttpRequestTests.cs (1)
147Assert.NotSame(query0, query1);
Internal\DefaultHttpResponseTests.cs (1)
91Assert.NotSame(responseBodyMock.Object, context.Features.Get<IHttpResponseBodyFeature>());
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (6)
UserStoreTest.cs (6)
229Assert.NotSame(user1, user2); 258Assert.NotSame(user, user2); 289Assert.NotSame(user1, user2); 319Assert.NotSame(role1, role2); 349Assert.NotSame(role, role2); 380Assert.NotSame(role1, role2);
Microsoft.AspNetCore.JsonPatch.Tests (2)
IntegrationTests\NestedObjectIntegrationTest.cs (2)
233Assert.NotSame(targetObject.SimpleObject.StringProperty, targetObject.InheritedObject.StringProperty); 273Assert.NotSame(targetObject.SimpleObject, targetObject.InheritedObject);
Microsoft.AspNetCore.Mvc.Core.Test (43)
ActionConstraints\ActionConstraintCacheTest.cs (4)
75a => Assert.NotSame(action.ActionConstraints[0], a), // Created by factory 112a => Assert.NotSame(action.ActionConstraints[0], a), // Created by factory 118Assert.NotSame(actionConstraints1, actionConstraints2); 122a => Assert.NotSame(actionConstraints1[0], a), // Created by factory (again)
ApplicationModels\ActionModelTest.cs (7)
41Assert.NotSame(action.Parameters, action2.Parameters); 44Assert.NotSame(parameter, action2.Parameters[0]); 45Assert.NotSame(apiExplorer, action2.ApiExplorer); 46Assert.NotSame(action.Selectors, action2.Selectors); 49Assert.NotSame(action.Selectors[0], action2.Selectors[0]); 50Assert.NotSame(route, action2.Selectors[0].AttributeRouteModel); 52Assert.NotSame(action, action2.Parameters[0].Action);
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);
ApplicationParts\AssemblyPartTest.cs (1)
33Assert.NotSame(assembly.DefinedTypes, types);
Authorization\AuthorizeFilterTest.cs (2)
484Assert.NotSame(authorizeFilter, result); 505Assert.NotSame(authorizeFilter, result);
Filters\FilterFactoryTest.cs (3)
197Assert.NotSame(currentFactoryCreatedFilter, previousFactoryCreatedFilter); // Never Cached 249Assert.NotSame(request1Filter1, request2Filter1); // Created by factory 252Assert.NotSame(request1Filter3, request2Filter3); // Created by custom filter provider again
Filters\RequestFormLimitsFilterTest.cs (1)
52Assert.NotSame(oldFormFeature, actualFormFeature);
Infrastructure\AsyncEnumerableReaderTest.cs (1)
148Assert.NotSame(reader1, reader2);
Infrastructure\DefaultActionDescriptorCollectionProviderTest.cs (4)
129Assert.NotSame(changeToken1, changeToken2); 133Assert.NotSame(collection1, collection2); 146Assert.NotSame(changeToken2, changeToken3); 150Assert.NotSame(collection2, collection3);
ModelBinding\CompositeValueProviderTest.cs (1)
223Assert.NotSame(provider, result);
ModelBinding\Metadata\DefaultModelMetadataProviderTest.cs (2)
346Assert.NotSame(metadata1, metadata2); 428Assert.NotSame(metadata1, metadata2);
ModelBinding\ModelBinderFactoryTest.cs (4)
245Assert.NotSame(result1, result2); 444Assert.NotSame(result1, result2); 506Assert.NotSame(result1, result2); 630Assert.NotSame(inner, innerInner);
ModelBinding\Validation\ClientValidatorCacheTest.cs (1)
59Assert.NotSame(validators1, validators2);
ModelBinding\Validation\ValidatorCacheTest.cs (1)
59Assert.NotSame(validators1, validators2);
Routing\ActionEndpointDataSourceBaseTest.cs (1)
116Assert.NotSame(endpoints, newEndpoints);
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
TryUpdateModelIntegrationTest.cs (2)
482Assert.NotSame(collection, model.Address); 999Assert.NotSame(collection, model.Address);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
src\Mvc\Mvc.Core\test\Infrastructure\AsyncEnumerableReaderTest.cs (1)
148Assert.NotSame(reader1, reader2);
Microsoft.AspNetCore.Mvc.Razor.Test (13)
Compilation\RazorPagePropertyActivatorTest.cs (4)
74Assert.NotSame(original, viewDataDictionary); 103Assert.NotSame(original, viewDataDictionary); 132Assert.NotSame(original, viewDataDictionary); 161Assert.NotSame(original, viewDataDictionary);
DefaultTagHelperFactoryTest.cs (1)
64Assert.NotSame(viewContext, helper.ViewContext);
RazorHotReloadTest.cs (1)
46Assert.NotSame(lookup, viewEngine.ViewLookupCache);
RazorPageActivatorTest.cs (4)
133Assert.NotSame(viewData, viewContext.ViewData); 134Assert.NotSame(viewData, instance.ViewData); 187Assert.NotSame(viewData, viewContext.ViewData); 229Assert.NotSame(result1, result3);
RazorPageCreateModelExpressionTest.cs (1)
121Assert.NotSame(modelExplorer, modelExpression.ModelExplorer);
RazorViewTest.cs (2)
52Assert.NotSame(expected, actual); 303Assert.NotSame(original, actual);
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
Infrastructure\DefaultPageLoaderTest.cs (1)
329Assert.NotSame(result1, result2);
Infrastructure\PageActionInvokerProviderTest.cs (1)
360Assert.NotSame(entry1, entry2);
src\Mvc\Mvc.Core\test\Routing\ActionEndpointDataSourceBaseTest.cs (1)
116Assert.NotSame(endpoints, newEndpoints);
Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests (4)
RouteDataTest.cs (3)
35Assert.NotSame(routeData.DataTokens, original.DataTokens); 37Assert.NotSame(routeData.Routers, original.Routers); 39Assert.NotSame(routeData.Values, original.Values);
VirtualPathDataTests.cs (1)
45Assert.NotSame(dataTokens, pathData.DataTokens);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (36)
CachedExpressionCompilerTest.cs (1)
135Assert.NotSame(differentModel, result1);
ControllerTest.cs (1)
48Assert.NotSame(originalViewData, controller.ViewData);
ExpressionHelperTest.cs (2)
403Assert.NotSame(text1, text2); // not cached 432Assert.NotSame(text1, text2);
Rendering\TagBuilderTest.cs (1)
320Assert.NotSame(originalTagBuilder.Attributes, clonedTagBuilder.Attributes);
Rendering\ViewContextTests.cs (1)
37Assert.NotSame(originalViewData, context.ViewData);
TempDataDictionaryFactoryTest.cs (1)
26Assert.NotSame(tempData1, tempData2);
ViewComponents\ViewComponentContextTest.cs (2)
45Assert.NotSame(viewContext, viewComponentContext.ViewContext); 56Assert.NotSame(viewData, viewComponentContext.ViewData);
ViewComponentTests.cs (8)
76Assert.NotSame(viewComponent.ViewData, actualResult.ViewData); 95Assert.NotSame(viewComponent.ViewData, actualResult.ViewData); 113Assert.NotSame(viewComponent.ViewData, actualResult.ViewData); 133Assert.NotSame(viewComponent.ViewData, actualResult.ViewData); 153Assert.NotSame(viewComponent.ViewData, actualResult.ViewData); 172Assert.NotSame(viewComponent.ViewData, actualResult.ViewData); 191Assert.NotSame(viewComponent.ViewData, actualResult.ViewData); 211Assert.NotSame(viewComponent.ViewData, actualResult.ViewData);
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);
ViewDataDictionaryTest.cs (8)
204Assert.NotSame(source.TemplateInfo, viewData.TemplateInfo); 290Assert.NotSame(source.ModelExplorer, viewData.ModelExplorer); 291Assert.NotSame(source.ModelMetadata, viewData.ModelMetadata); 313Assert.NotSame(source.ModelExplorer, viewData.ModelExplorer); 339Assert.NotSame(originalExplorer, viewData.ModelExplorer); 362Assert.NotSame(explorer, viewData.ModelExplorer); 388Assert.NotSame(explorer, viewData.ModelExplorer); 431Assert.NotSame(originalExplorer, viewData.ModelExplorer);
Microsoft.AspNetCore.Routing.Tests (34)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (3)
135Assert.NotSame(initialRequestDelegate, endpoint.RequestDelegate); 163Assert.NotSame(initialRequestDelegate, endpoint.RequestDelegate); 214Assert.NotSame(initialRequestDelegate, endpoint.RequestDelegate);
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);
DefaultLinkGeneratorTest.cs (1)
598Assert.NotSame(original, actual);
DefaultLinkParserTest.cs (2)
154Assert.NotSame(original.Matcher, actual.Matcher); 155Assert.NotSame(original.Constraints, actual.Constraints);
Matching\DfaMatcherBuilderTest.cs (1)
3442Assert.NotSame(constraint1.Value, constraint2.Value);
Matching\HttpMethodMatcherPolicyIntegrationTestBase.cs (5)
78Assert.NotSame(endpoint, httpContext.GetEndpoint()); 196Assert.NotSame(endpoint1, httpContext.GetEndpoint()); 197Assert.NotSame(endpoint2, httpContext.GetEndpoint()); 306Assert.NotSame(endpoint1, httpContext.GetEndpoint()); 307Assert.NotSame(endpoint2, httpContext.GetEndpoint());
Matching\ILEmitTrieJumpTableTest.cs (1)
37Assert.NotSame(original, table._getDestination);
Patterns\DefaultRoutePatternTransformerTest.cs (3)
198Assert.NotSame(actual.Defaults, original.Defaults); 199Assert.NotSame(actual.Parameters, original.Parameters); 200Assert.NotSame(actual.PathSegments, original.PathSegments);
Patterns\RoutePatternFactoryTest.cs (4)
487Assert.NotSame(paramPartB, actual.Parameters[0]); 490Assert.NotSame(paramPartC, actual.Parameters[1]); 527Assert.NotSame(paramPartB, actual.Parameters[0]); 530Assert.NotSame(paramPartC, actual.Parameters[1]);
RouteValuesAddressSchemeTest.cs (3)
99Assert.NotSame(state, addressScheme.State); 110Assert.NotSame(state, addressScheme.State); 121Assert.NotSame(state, addressScheme.State);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (52)
CertificatePathWatcherTests.cs (1)
161Assert.NotSame(oldChangeToken, newChangeToken);
Http1\Http1HttpProtocolFeatureCollectionTests.cs (1)
70Assert.NotSame(_collection[type], _collection);
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);
SniOptionsSelectorTests.cs (6)
449Assert.NotSame(options1, options2); 493Assert.NotSame(selectorOptions1, selectorOptions2); 496Assert.NotSame(selectorCertificate, configOptions1.ServerCertificate); 499Assert.NotSame(selectorCertificate, configOptions2.ServerCertificate); 865Assert.NotSame(options, clonedOptions); 871Assert.NotSame(options.ApplicationProtocols, clonedOptions.ApplicationProtocols);
src\Shared\test\Shared.Tests\runtime\Http2\DynamicTableTest.cs (2)
246Assert.NotSame(entries[i].Name, headerField.Name); 249Assert.NotSame(entries[i].Value, headerField.Value);
src\Shared\test\Shared.Tests\runtime\Http2\HuffmanDecodingTests.cs (1)
301Assert.NotSame(originalDestination, actualDestination);
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)
KestrelConfigurationLoaderTests.cs (1)
1624Assert.NotSame(oldConfigurationLoader, newConfigurationLoader);
Microsoft.AspNetCore.Shared.Tests (5)
CopyOnWriteDictionaryHolderTest.cs (2)
61Assert.NotSame(source, holder.ReadDictionary); 88Assert.NotSame(source, holder.ReadDictionary);
runtime\Http2\DynamicTableTest.cs (2)
246Assert.NotSame(entries[i].Name, headerField.Name); 249Assert.NotSame(entries[i].Value, headerField.Value);
runtime\Http2\HuffmanDecodingTests.cs (1)
301Assert.NotSame(originalDestination, actualDestination);
Microsoft.AspNetCore.SignalR.Client.Tests (2)
HubConnectionTests.cs (2)
796Assert.NotSame(resolvedOptions, originalOptions); 797Assert.NotSame(resolvedOptions.AccessTokenProvider, originalOptions.AccessTokenProvider);
Microsoft.AspNetCore.SignalR.Tests (1)
Internal\DefaultHubProtocolResolverTests.cs (1)
83Assert.NotSame(jsonProtocol1, resolvedProtocol);
Microsoft.AspNetCore.TestHost.Tests (1)
TestClientTests.cs (1)
907Assert.NotSame(value, capturedValue);
Microsoft.Build.Engine.OM.UnitTests (11)
Construction\ProjectRootElement_Tests.cs (1)
1904Assert.NotSame(pre2, pre);
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (1)
364Assert.NotSame(view.ProjectCollection, real.ProjectCollection);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (2)
135Assert.NotSame(clone, xmlPair.View); 379Assert.NotSame(choose.Real, chooseCreataed.Real);
ObjectModelRemoting\LinkedConstructionReadOnly_Tests.cs (1)
49Assert.NotSame(projView, this.ViewXml);
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (2)
365Assert.NotSame(fooReal, fooRealNew); 366Assert.NotSame(fooView, fooViewNew);
ObjectModelRemoting\LinkedEvaluationReadOnly_Tests.cs (1)
43Assert.NotSame(projView, this.View);
ObjectModelRemoting\LinkedProjectCollection_Tests.cs (1)
59Assert.NotSame(remoteProj, proj2);
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (2)
110Assert.NotSame(cloned, existingItemGroup); 189Assert.NotSame(realExistingItemGroup, newDeepCopy.Real);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Workspaces\WorkspaceTests_EditorFeatures.cs (2)
1527Assert.NotSame(beforeSolutionForPrimaryWorkspace, primaryWorkspace.CurrentSolution); 1528Assert.NotSame(beforeSolutionForSecondaryWorkspace, secondaryWorkspace.CurrentSolution);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenDeconstructTests.cs (3)
6048Assert.NotSame(symbol, symbolClone); 6102Assert.NotSame(symbol.Type, symbol0.Type); 6103Assert.NotSame(symbol, symbol0);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests.cs (1)
10044Assert.NotSame(compilation1.Assembly, compilation3.SourceModule.ReferencedAssemblySymbols[1]);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\FunctionPointerTests.cs (3)
1618Assert.NotSame(methodSymbol, methodSymbol.OriginalDefinition); 1778Assert.NotSame(methodSymbol, methodSymbol.OriginalDefinition); 1939Assert.NotSame(m1InvocationSymbol, m1InvocationSymbol.OriginalDefinition);
Semantics\InterceptorsTests.cs (1)
6874Assert.NotSame(locationSpecifier, model.GetInterceptableLocation(node));
Semantics\NativeIntegerTests.cs (1)
262Assert.NotSame(underlyingType, nativeIntegerType);
Semantics\OperatorTests.cs (2)
7552Assert.NotSame(symbol1, symbol3); 8129Assert.NotSame(symbol1, symbol5);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (103)
Compilation\CSharpCompilationOptionsTests.cs (1)
482Assert.NotSame(oldOptions, newOptions);
Compilation\GetSemanticInfoTests.cs (1)
4960Assert.NotSame(symbolInfo.Symbol, symbolInfo2.Symbol);
Compilation\ReferenceManagerTests.cs (1)
1449Assert.NotSame(withCircularReference1, withCircularReference2);
Compilation\SemanticModelAPITests.cs (6)
260Assert.NotSame(symbol1, symbol2); 280Assert.NotSame(symbol1, symbol2); 299Assert.NotSame(symbol1, symbol2); 319Assert.NotSame(symbol1, symbol2); 357Assert.NotSame(symbol1, symbol2); 380Assert.NotSame(symbol1, symbol2);
Symbols\AnonymousTypesSymbolTests.cs (1)
1697Assert.NotSame(typeA3, typeA4);
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\DefaultInterfaceImplementationTests.cs (6)
39147Assert.NotSame(test1i1, test1i1m1.ContainingType); 39148Assert.NotSame(test2i1, test2i1m1.ContainingType); 39149Assert.NotSame(test2i2, test2i2m1.ContainingType); 41823Assert.NotSame(test1i1, test1i1m1.ContainingType); 41824Assert.NotSame(test2i1, test2i1m1.ContainingType); 41825Assert.NotSame(test2i2, test2i2m1.ContainingType);
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);
Symbols\Retargeting\RetargetExplicitInterfaceImplementation.cs (2)
125Assert.NotSame(interfaceV1, interfaceV2); 463Assert.NotSame(compilation2.GetTypeByMetadataName("C1`1"), compilation3.GetTypeByMetadataName("C1`1"));
Symbols\Retargeting\RetargetingTests.cs (1)
845Assert.NotSame(originalComp.Assembly, mRetargeted.ContainingAssembly);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
IncrementalParsing\IncrementalParsingTests.cs (1)
3081Assert.NotSame(oldToken, newToken);
Syntax\SyntaxTreeTests.cs (2)
166Assert.NotSame(ImmutableDictionary<string, ReportDiagnostic>.Empty, tree.DiagnosticOptions); 224Assert.NotSame(tree.DiagnosticOptions, newTree.DiagnosticOptions);
Syntax\TrackNodeTests.cs (2)
73Assert.NotSame(latestA, newA); // not the same reference 158Assert.NotSame(id, currentId);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
MetadataAsSource\AbstractMetadataAsSourceTests.TestContext.cs (1)
160=> Assert.NotSame(a.FilePath, b.FilePath);
TextEditor\OpenDocumentTests.cs (1)
70Assert.NotSame(workspace.CurrentSolution, originalDocumentWithChanges.Project.Solution);
TextEditor\TryGetDocumentTests.cs (2)
75Assert.NotSame(text, newText); 80Assert.NotSame(document, newDocument);
Microsoft.CodeAnalysis.Features.UnitTests (2)
EditAndContinue\CompileTimeSolutionProviderTests.cs (1)
142Assert.NotSame(compileTimeSolution1, compileTimeSolution2);
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (1)
212Assert.NotSame(document1, document2);
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (2)
MetadataShadowCopyProviderTests.cs (2)
174Assert.NotSame(modifiedMetadata3, metadata2); 179Assert.NotSame(metadata2.GetModules()[i], modifiedMetadata3.GetModules()[i]);
Microsoft.CodeAnalysis.Test.Utilities (2)
CommonTestBase.cs (1)
660Assert.NotSame(model, ((Operation)operation).OwningSemanticModel);
Compilation\CompilationExtensions.cs (1)
305Assert.NotSame(semanticModel, ((Operation)operation).OwningSemanticModel);
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
Collections\ImmutableDictionaryTestBase.cs (1)
317Assert.NotSame(addedMap, removedMap);
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (1)
131Assert.NotSame(map, addedMap);
Collections\ImmutableSegmentedListTest.cs (1)
556Assert.NotSame(iface, updatedIface);
Collections\ImmutableSetTest.cs (3)
399Assert.NotSame(set, nextSet); 419Assert.NotSame(set, newSet); 431Assert.NotSame(set, newSet);
Collections\List\ICollection.NonGeneric.Tests.cs (1)
168Assert.NotSame(collection1.SyncRoot, collection2.SyncRoot);
Collections\List\SegmentedList.Generic.Tests.Capacity.cs (1)
86Assert.NotSame(resizedSegments[resizedSegmentCount - 1], oldSegments[oldSegmentCount - 1]);
Text\TextChangeTests.cs (1)
628Assert.NotSame(chunk1, GetChunks(newText)[0]);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\QueryExpressions_FlowAnalysis.vb (2)
403Assert.NotSame(dataFlowAnalysisResults.VariablesDeclared(0), dataFlowAnalysisResults.VariablesDeclared(1)) 450Assert.NotSame(dataFlowAnalysisResults.ReadInside(0), GetSymbolNamesJoined(dataFlowAnalysisResults.ReadOutside)(1))
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (3)
VisualStudioMSBuildWorkspaceTests.cs (3)
117Assert.NotSame(p0, p1); 160Assert.NotSame(p1Sys1, p1Sys2); 161Assert.NotSame(p2Sys1, p2Sys3);
Microsoft.CodeAnalysis.Workspaces.UnitTests (34)
ObjectSerializationTests.cs (6)
717Assert.NotSame(GooString, string1); 718Assert.NotSame(BarString, string2); 719Assert.NotSame(largeString, string3); 731Assert.NotSame(largeString, string4); 732Assert.NotSame(BarString, string5); 733Assert.NotSame(GooString, string6);
SolutionTests\SolutionTestHelpers.cs (1)
68Assert.NotSame(mutableItems, items);
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);
SolutionTests\SolutionWithSourceGeneratorTests.cs (5)
342Assert.NotSame(partialProject, project); 366Assert.NotSame(generatedDocumentBeforeChange, generatedDocumentAfterChange); 501Assert.NotSame(generatedTreeBeforeChange, generatedTreeAfterChange); 588Assert.NotSame(workspace.CurrentSolution, generatedDocument.Project.Solution); 725Assert.NotSame(frozenDocument, documentToFreeze);
WorkspaceTests\AdhocWorkspaceTests.cs (2)
346Assert.NotSame(root, newRoot); 348Assert.NotSame(doc, newDoc);
Microsoft.Data.Analysis.Tests (14)
PrimitiveDataFrameColumnTests.cs (9)
279Assert.NotSame(column, clonedColumn); 299Assert.NotSame(column, clonedColumn); 321Assert.NotSame(column, clonedColumn); 342Assert.NotSame(column, clonedColumn); 363Assert.NotSame(column, clonedColumn); 384Assert.NotSame(column, clonedColumn); 405Assert.NotSame(column, clonedColumn); 426Assert.NotSame(column, clonedColumn); 447Assert.NotSame(column, clonedColumn);
StringDataFrameColumnTests.cs (5)
22Assert.NotSame(stringColumn, clonedColumn); 38Assert.NotSame(stringColumn, clonedColumn); 54Assert.NotSame(stringColumn, clonedColumn); 70Assert.NotSame(stringColumn, clonedColumn); 87Assert.NotSame(stringColumn, clonedColumn);
Microsoft.DotNet.XUnitAssert.Tests (2)
IdentityAssertsTests.cs (2)
14 var ex = Record.Exception(() => Assert.NotSame(actual, actual)); 23 Assert.NotSame("bob", "jim");
Microsoft.Extensions.AI.Abstractions.Tests (3)
ChatCompletion\ChatMessageTests.cs (1)
211Assert.NotSame(contents, message.Contents);
ChatCompletion\ChatOptionsTests.cs (2)
159Assert.NotSame(ChatResponseFormat.Json, deserialized.ResponseFormat); 161Assert.NotSame(stopSequences, deserialized.StopSequences);
Microsoft.Extensions.AI.Tests (2)
ChatCompletion\DependencyInjectionPatterns.cs (2)
38Assert.NotSame(instance1, instance2); 39Assert.NotSame(inner1, inner2);
Microsoft.Extensions.Caching.Hybrid.Tests (4)
BufferReleaseTests.cs (3)
53Assert.NotSame(first, second); 144Assert.NotSame(first, second); 203Assert.NotSame(first, second);
StampedeTests.cs (1)
338Assert.NotSame(first, second);
Microsoft.Extensions.Localization.Tests (3)
ResourceManagerStringLocalizerFactoryTest.cs (3)
124Assert.NotSame(result1, result2); 241Assert.NotSame(result1, result2); 261Assert.NotSame(result1, result2);
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (3)
DependencyInjectionExtensionsTests.cs (3)
291Assert.NotSame(resolved1, resolved2); 292Assert.NotSame(resolved3, resolved4); 350Assert.NotSame(resolved1, resolved3);
Microsoft.Extensions.ObjectPool.Tests (3)
DefaultObjectPoolTest.cs (2)
69Assert.NotSame(list1, list2); 81Assert.NotSame(r, p.Get());
DisposableObjectPoolTest.cs (1)
57Assert.NotSame(list1, list2);
Microsoft.Extensions.Telemetry.Tests (1)
Latency\Internal\LatencyContextProviderTests.cs (1)
26Assert.NotSame(lcp.CreateContext(), lcp.CreateContext());
Microsoft.JSInterop.Tests (1)
JSRuntimeTest.cs (1)
291Assert.NotSame(obj1Ref, runtime.GetObjectReference(2));
Microsoft.Net.Http.Headers.Tests (18)
MediaTypeHeaderValueTest.cs (13)
131Assert.NotSame(mediaType0, mediaType1); 133Assert.NotSame(mediaType0.Parameters, mediaType1.Parameters); 142Assert.NotSame(mediaType0, mediaType1); 144Assert.NotSame(mediaType0.Parameters, mediaType1.Parameters); 158Assert.NotSame(mediaType0, mediaType1); 160Assert.NotSame(mediaType0.Parameters, mediaType1.Parameters); 164Assert.NotSame(pair0, pair1); 175Assert.NotSame(mediaType0, mediaType1); 180Assert.NotSame(mediaType0.Parameters, mediaType1.Parameters); 190Assert.NotSame(pair0, pair1); 205Assert.NotSame(mediaType2, mediaType1); 209Assert.NotSame(mediaType2.Parameters, mediaType1.Parameters); 213Assert.NotSame(pair2, pair1);
NameValueHeaderValueTest.cs (5)
62Assert.NotSame(pair0, pair1); 78Assert.NotSame(pair0, pair1); 97Assert.NotSame(pair0, pair1); 112Assert.NotSame(pair0, pair1); 131Assert.NotSame(pair0, pair1);
Shared.Tests (3)
Pools\PoolTests.cs (3)
143Assert.NotSame(sb, sb2); 203Assert.NotSame(s, s2); 217Assert.NotSame(s, s2);
System.Drawing.Common.Tests (38)
mono\System.Imaging\MetafileTest.cs (3)
102Assert.NotSame(mh1, mh2); 117Assert.NotSame(mh1, mh2); 133Assert.NotSame(mh1, mh2);
System\Drawing\BitmapTests.cs (3)
372Assert.NotSame(bitmap, clone); 408Assert.NotSame(bitmap, clone); 473Assert.NotSame(bitmap, clone);
System\Drawing\Drawing2D\AdjustableArrowCapTests.cs (1)
106Assert.NotSame(clone, arrowCap);
System\Drawing\Drawing2D\HatchBrushTests.cs (1)
62Assert.NotSame(clone, brush);
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (1)
238Assert.NotSame(clone, brush);
System\Drawing\Drawing2D\MatrixTests.cs (1)
163Assert.NotSame(matrix, clone);
System\Drawing\FontFamilyTests.cs (3)
124Assert.NotSame(fontFamily1, fontFamily2); 133Assert.NotSame(fontFamily1, fontFamily2); 142Assert.NotSame(fontFamily1, fontFamily2);
System\Drawing\FontTests.cs (1)
397Assert.NotSame(font, clone);
System\Drawing\IconTests.cs (4)
283Assert.NotSame(icon, clone); 295Assert.NotSame(icon, clone); 524Assert.NotSame(icon.ToBitmap(), bitmap); 560Assert.NotSame(icon.ToBitmap(), bitmap);
System\Drawing\ImageTests.cs (2)
25Assert.NotSame(bitmap.PropertyIdList, bitmap.PropertyIdList); 75Assert.NotSame(items, bitmap.PropertyItems);
System\Drawing\Imaging\MetafileTests.cs (1)
892Assert.NotSame(headerA, headerB);
System\Drawing\PenTests.cs (1)
212Assert.NotSame(pen, clone);
System\Drawing\Printing\MarginsTests.cs (1)
145Assert.NotSame(margins, clonedMargins);
System\Drawing\RegionTests.cs (1)
265Assert.NotSame(region, clone);
System\Drawing\SolidBrushTests.cs (1)
28Assert.NotSame(clone, brush);
System\Drawing\StringFormatTests.cs (2)
393Assert.NotSame(format, StringFormat.GenericDefault); 408Assert.NotSame(format, StringFormat.GenericTypographic);
System\Drawing\SystemFontsTests.cs (2)
28Assert.NotSame(font, otherFont); 80Assert.NotSame(font, otherFont);
System\Drawing\TextureBrushTests.cs (9)
26Assert.NotSame(bitmap, brushImage); 67Assert.NotSame(image, brushImage); 94Assert.NotSame(image, brushImage); 115Assert.NotSame(image, brushImage); 148Assert.NotSame(image, brushImage); 169Assert.NotSame(image, brushImage); 203Assert.NotSame(image, brushImage); 225Assert.NotSame(image, brushImage); 305Assert.NotSame(brush, clone);
System.Windows.Forms.Design.Tests (47)
System\ComponentModel\Design\ArrayEditorTests.cs (2)
158Assert.NotSame(editValue, items); 184Assert.NotSame(value, expected);
System\ComponentModel\Design\CollectionEditorTests.cs (4)
106Assert.NotSame(form, editor.CreateCollectionForm()); 379Assert.NotSame(itemTypes, editor.CreateNewItemTypes()); 832Assert.NotSame(editValue, items); 894Assert.NotSame(objects, editor.GetObjectsFromInstance(instance));
System\ComponentModel\Design\ComponentDesignerTests.cs (5)
92Assert.NotSame(descriptor, result); 2315Assert.NotSame(descriptor, result); 2335Assert.NotSame(descriptor, result); 2745Assert.NotSame(descriptor, result); 2766Assert.NotSame(descriptor, result);
System\ComponentModel\Design\ExceptionCollectionTests.cs (2)
31Assert.NotSame(exceptions, collection.Exceptions); 33Assert.NotSame(collection.Exceptions, collection.Exceptions);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (1)
78Assert.NotSame(store.Errors, store.Errors);
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (15)
452Assert.NotSame(session, session2); 552Assert.NotSame(errors1, errors2); 572Assert.NotSame(stack1, stack2); 589Assert.NotSame(serializer1, serializer2); 590Assert.NotSame(serializer2, manager.GetSerializer(typeof(ClassWithPublicDesignerSerializer), typeof(BaseClass))); 1219Assert.NotSame(serializer1, serializer2); 1252Assert.NotSame(serializer1, serializer2); 1257Assert.NotSame(serializer1, serializer2); 1334Assert.NotSame(serializer1, serializer2); 1368Assert.NotSame(serializer1, serializer2); 1373Assert.NotSame(serializer1, serializer2); 1733Assert.NotSame(errors1, errors2); 1753Assert.NotSame(stack1, stack2); 1770Assert.NotSame(serializer1, serializer2); 1771Assert.NotSame(serializer2, manager.GetSerializer(typeof(ClassWithPublicDesignerSerializer), typeof(BaseClass)));
System\Drawing\Design\BitmapEditorTests.cs (2)
42Assert.NotSame(extensions, editor.GetExtensions()); 51Assert.NotSame(extensions, editor.GetExtensions());
System\Drawing\Design\ImageEditorTests.cs (1)
76Assert.NotSame(extensions, editor.GetExtensions());
System\Drawing\Design\MetafileEditorTests.cs (1)
34Assert.NotSame(extensions, editor.GetExtensions());
System\Drawing\Design\ToolboxComponentsCreatedEventArgsTests.cs (2)
29Assert.NotSame(components, e.Components); 31Assert.NotSame(e.Components, e.Components);
System\Drawing\Design\ToolboxItemTests.cs (12)
63Assert.NotSame(value, item.AssemblyName); 64Assert.NotSame(item.AssemblyName, item.AssemblyName); 66Assert.NotSame(value, item.Properties["AssemblyName"]); 67Assert.NotSame(item.Properties["AssemblyName"], item.Properties["AssemblyName"]); 82Assert.NotSame(value, item.AssemblyName); 83Assert.NotSame(item.AssemblyName, item.AssemblyName); 85Assert.NotSame(value, item.Properties["AssemblyName"]); 86Assert.NotSame(item.Properties["AssemblyName"], item.Properties["AssemblyName"]); 176Assert.NotSame(value, item.DependentAssemblies); 178Assert.NotSame(value, item.Properties["DependentAssemblies"]); 191Assert.NotSame(value, item.DependentAssemblies); 193Assert.NotSame(value, item.Properties["DependentAssemblies"]);
System.Windows.Forms.Tests (334)
System\Windows\Forms\AccessibleObjects\ButtonBase.ButtonBaseAccessibleObjectTests.cs (2)
92Assert.NotSame(control.CreateAccessibilityInstance(), instance); 93Assert.NotSame(control.AccessibilityObject, instance);
System\Windows\Forms\BindingContextTests.cs (1)
722Assert.NotSame(manager, newManager);
System\Windows\Forms\BindingSourceTests.cs (1)
323Assert.NotSame(expected, source.List);
System\Windows\Forms\ButtonTests.cs (10)
1010Assert.NotSame(control.CreateAccessibilityInstance(), instance); 1011Assert.NotSame(control.AccessibilityObject, instance); 1031Assert.NotSame(control.CreateAccessibilityInstance(), instance); 1032Assert.NotSame(control.AccessibilityObject, instance); 1065Assert.NotSame(control.CreateAccessibilityInstance(), instance); 1066Assert.NotSame(control.AccessibilityObject, instance); 1087Assert.NotSame(control.CreateAccessibilityInstance(), instance); 1088Assert.NotSame(control.AccessibilityObject, instance); 1108Assert.NotSame(control.CreateAccessibilityInstance(), instance); 1109Assert.NotSame(control.AccessibilityObject, instance);
System\Windows\Forms\ColorDialogTests.cs (12)
20Assert.NotSame(dialog.CustomColors, dialog.CustomColors); 44Assert.NotSame(dialog.CustomColors, dialog.CustomColors); 181Assert.NotSame(value1, value2); 208Assert.NotSame(value, dialog.CustomColors); 209Assert.NotSame(dialog.CustomColors, dialog.CustomColors); 214Assert.NotSame(value, dialog.CustomColors); 215Assert.NotSame(dialog.CustomColors, dialog.CustomColors); 229Assert.NotSame(value, dialog.CustomColors); 230Assert.NotSame(dialog.CustomColors, dialog.CustomColors); 235Assert.NotSame(value, dialog.CustomColors); 236Assert.NotSame(dialog.CustomColors, dialog.CustomColors); 341Assert.NotSame(dialog.CustomColors, dialog.CustomColors);
System\Windows\Forms\ColumnHeaderTests.cs (3)
1473Assert.NotSame(header, source); 1512Assert.NotSame(header, source); 1548Assert.NotSame(header, source);
System\Windows\Forms\ControlTests.ControlCollection.cs (1)
1355Assert.NotSame(sourceCollection, collection);
System\Windows\Forms\ControlTests.Handlers.cs (2)
4000Assert.NotSame(graphics, e.Graphics); 4131Assert.NotSame(graphics, e.Graphics);
System\Windows\Forms\ControlTests.Methods.cs (4)
409Assert.NotSame(control.CreateAccessibilityInstance(), instance); 410Assert.NotSame(control.AccessibilityObject, instance); 616Assert.NotSame(controls, control.CreateControlsInstance()); 4324Assert.NotSame(eventArgs, e);
System\Windows\Forms\CursorConverterTests.cs (1)
224Assert.NotSame(values, converter.GetStandardValues());
System\Windows\Forms\CursorTests.cs (1)
236Assert.NotSame(cursor, Cursor.Current);
System\Windows\Forms\DataGridViewCellTests.cs (4)
3338Assert.NotSame(source.ContextMenuStrip, cell.ContextMenuStrip); 3355Assert.NotSame(source.Style, cell.Style); 3451Assert.NotSame(cell.CreateAccessibilityInstance(), instance); 3452Assert.NotSame(cell.AccessibilityObject, instance);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (4)
2043Assert.NotSame(source.ContextMenuStrip, cell.ContextMenuStrip); 2060Assert.NotSame(source.Style, cell.Style); 2129Assert.NotSame(source.ContextMenuStrip, cell.ContextMenuStrip); 2146Assert.NotSame(source.Style, cell.Style);
System\Windows\Forms\DataGridViewRowTests.cs (11)
1553Assert.NotSame(value, otherRow.HeaderCell); 1559Assert.NotSame(value, otherRow.HeaderCell); 3942Assert.NotSame(menu, row.ContextMenuStrip); 3945Assert.NotSame(style, row.DefaultCellStyle); 3951Assert.NotSame(cell, row.HeaderCell); 3985Assert.NotSame(menu, row.ContextMenuStrip); 3988Assert.NotSame(style, row.DefaultCellStyle); 3994Assert.NotSame(cell, row.HeaderCell); 4034Assert.NotSame(menu, row.ContextMenuStrip); 4037Assert.NotSame(style, row.DefaultCellStyle); 4043Assert.NotSame(cell, row.HeaderCell);
System\Windows\Forms\DataGridViewTests.cs (1)
811Assert.NotSame(cellStyle, dataGridView.DefaultCellStyle);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (4)
989Assert.NotSame(control.CreateAccessibilityInstance(), instance); 990Assert.NotSame(control.Text, instance); 1004Assert.NotSame(control.CreateAccessibilityInstance(), instance); 1005Assert.NotSame(control.AccessibilityObject, instance);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
303Assert.NotSame(value, control.Icon);
System\Windows\Forms\FileDialogTests.cs (2)
281Assert.NotSame(dialog.FileNames, dialog.FileNames); 296Assert.NotSame(dialog.FileNames, dialog.FileNames);
System\Windows\Forms\FolderBrowserDialogTests.cs (2)
170Assert.NotSame(dialog.SelectedPaths, dialog.SelectedPaths); 184Assert.NotSame(dialog.SelectedPaths, dialog.SelectedPaths);
System\Windows\Forms\FontDialogTests.cs (4)
248Assert.NotSame(result, dialog.Font); 249Assert.NotSame(font, dialog.Font); 266Assert.NotSame(result, dialog.Font); 267Assert.NotSame(font, dialog.Font);
System\Windows\Forms\GroupBoxTests.cs (4)
1386Assert.NotSame(control.CreateAccessibilityInstance(), instance); 1387Assert.NotSame(control.AccessibilityObject, instance); 1401Assert.NotSame(control.CreateAccessibilityInstance(), instance); 1402Assert.NotSame(control.AccessibilityObject, instance);
System\Windows\Forms\HtmlDocumentTests.cs (18)
145Assert.NotSame(collection, document.All); 165Assert.NotSame(collection, document.All); 185Assert.NotSame(element, document.ActiveElement); 202Assert.NotSame(element, document.ActiveElement); 368Assert.NotSame(element, document.Body); 385Assert.NotSame(element, document.Body); 841Assert.NotSame(collection, document.Forms); 861Assert.NotSame(collection, document.Forms); 877Assert.NotSame(collection, document.Images); 897Assert.NotSame(collection, document.Images); 1029Assert.NotSame(collection, document.Links); 1049Assert.NotSame(collection, document.Links); 1392Assert.NotSame(window, document.Window); 1393Assert.NotSame(document, window.Document); 1476Assert.NotSame(document, sender); 1550Assert.NotSame(document, element.Document); 1769Assert.NotSame(collection, document.GetElementsByTagName("form")); 1794Assert.NotSame(collection, document.GetElementsByTagName("form"));
System\Windows\Forms\HtmlElementTests.cs (16)
28Assert.NotSame(collection, element.All); 48Assert.NotSame(collection, element.All); 66Assert.NotSame(result, element.Document); 67Assert.NotSame(document, result); 130Assert.NotSame(collection, element.Children); 149Assert.NotSame(collection, element.Children); 299Assert.NotSame(result, element.FirstChild); 753Assert.NotSame(result, element.NextSibling); 770Assert.NotSame(result, element.OffsetParent); 789Assert.NotSame(result, element.OffsetParent); 1044Assert.NotSame(result, element.Parent); 1066Assert.NotSame(result, element.Parent); 1587Assert.NotSame(document, sender); 1628Assert.NotSame(document, sender); 1670Assert.NotSame(document, sender); 1934Assert.NotSame(collection, element.GetElementsByTagName("form"));
System\Windows\Forms\ImageList.ImageCollectionTests.cs (4)
271Assert.NotSame(value, bitmap); 365Assert.NotSame(result1, result2); 415Assert.NotSame(collection.Keys, collection.Keys); 1644Assert.NotSame(value, bitmap);
System\Windows\Forms\ImageListTests.cs (1)
434Assert.NotSame(list.ImageStream, list.ImageStream);
System\Windows\Forms\InputLanguageTests.cs (4)
17Assert.NotSame(collection, InputLanguage.InstalledInputLanguages); 26Assert.NotSame(language, InputLanguage.DefaultInputLanguage); 34Assert.NotSame(language, InputLanguage.CurrentInputLanguage); 88Assert.NotSame(language, result);
System\Windows\Forms\ListBoxTests.cs (3)
4764Assert.NotSame(control.CreateAccessibilityInstance(), instance); 4765Assert.NotSame(control.AccessibilityObject, instance); 4776Assert.NotSame(items, control.CreateItemCollection());
System\Windows\Forms\ListControlTests.cs (2)
440Assert.NotSame(dataManger, control.DataManager); 541Assert.NotSame(dataManger, control.DataManager);
System\Windows\Forms\MenuStripTests.cs (4)
417Assert.NotSame(control.CreateAccessibilityInstance(), instance); 418Assert.NotSame(control.AccessibilityObject, instance); 432Assert.NotSame(control.CreateAccessibilityInstance(), instance); 433Assert.NotSame(control.AccessibilityObject, instance);
System\Windows\Forms\MonthCalendarTests.cs (31)
117Assert.NotSame(control.SelectionRange, control.SelectionRange); 202Assert.NotSame(value, calendar.AnnuallyBoldedDates); 205Assert.NotSame(calendar.AnnuallyBoldedDates, calendar.AnnuallyBoldedDates); 217Assert.NotSame(value, calendar.AnnuallyBoldedDates); 220Assert.NotSame(calendar.AnnuallyBoldedDates, calendar.AnnuallyBoldedDates); 245Assert.NotSame(value, calendar.AnnuallyBoldedDates); 248Assert.NotSame(calendar.AnnuallyBoldedDates, calendar.AnnuallyBoldedDates); 263Assert.NotSame(value, calendar.AnnuallyBoldedDates); 266Assert.NotSame(calendar.AnnuallyBoldedDates, calendar.AnnuallyBoldedDates); 530Assert.NotSame(value, calendar.BoldedDates); 533Assert.NotSame(calendar.BoldedDates, calendar.BoldedDates); 545Assert.NotSame(value, calendar.BoldedDates); 548Assert.NotSame(calendar.BoldedDates, calendar.BoldedDates); 573Assert.NotSame(value, calendar.BoldedDates); 576Assert.NotSame(calendar.BoldedDates, calendar.BoldedDates); 591Assert.NotSame(value, calendar.BoldedDates); 594Assert.NotSame(calendar.BoldedDates, calendar.BoldedDates); 1556Assert.NotSame(value, calendar.MonthlyBoldedDates); 1559Assert.NotSame(calendar.MonthlyBoldedDates, calendar.MonthlyBoldedDates); 1571Assert.NotSame(value, calendar.MonthlyBoldedDates); 1574Assert.NotSame(calendar.MonthlyBoldedDates, calendar.MonthlyBoldedDates); 1599Assert.NotSame(value, calendar.MonthlyBoldedDates); 1602Assert.NotSame(calendar.MonthlyBoldedDates, calendar.MonthlyBoldedDates); 1617Assert.NotSame(value, calendar.MonthlyBoldedDates); 1620Assert.NotSame(calendar.MonthlyBoldedDates, calendar.MonthlyBoldedDates); 2144Assert.NotSame(value, calendar.SelectionRange); 2153Assert.NotSame(value, calendar.SelectionRange); 2175Assert.NotSame(value, calendar.SelectionRange); 2187Assert.NotSame(value, calendar.SelectionRange); 2296Assert.NotSame(control.CreateAccessibilityInstance(), instance); 2297Assert.NotSame(control.AccessibilityObject, instance);
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (2)
84Assert.NotSame(value, bag); 97Assert.NotSame(value, bag);
System\Windows\Forms\PictureBoxTests.cs (6)
395Assert.NotSame(image, pictureBox.ErrorImage); 412Assert.NotSame(image, pictureBox.ErrorImage); 605Assert.NotSame(image, pictureBox.Image); 622Assert.NotSame(image, pictureBox.Image); 1092Assert.NotSame(image, pictureBox.InitialImage); 1109Assert.NotSame(image, pictureBox.InitialImage);
System\Windows\Forms\ProgressBarTests.cs (2)
1775Assert.NotSame(control.CreateAccessibilityInstance(), instance); 1776Assert.NotSame(control.AccessibilityObject, instance);
System\Windows\Forms\PropertyGridTests.cs (22)
132Assert.NotSame(control.PropertyTabs, control.PropertyTabs); 548Assert.NotSame(value, control.BrowsableAttributes); 555Assert.NotSame(value, control.BrowsableAttributes); 570Assert.NotSame(value, control.BrowsableAttributes); 577Assert.NotSame(value, control.BrowsableAttributes); 592Assert.NotSame(value, control.BrowsableAttributes); 599Assert.NotSame(value, control.BrowsableAttributes); 619Assert.NotSame(value, control.BrowsableAttributes); 629Assert.NotSame(value, control.BrowsableAttributes); 2630Assert.NotSame(value, control.SelectedObjects); 2631Assert.NotSame(control.SelectedObjects, control.SelectedObjects); 2638Assert.NotSame(value, control.SelectedObjects); 2639Assert.NotSame(control.SelectedObjects, control.SelectedObjects); 2655Assert.NotSame(value, control.SelectedObjects); 2656Assert.NotSame(control.SelectedObjects, control.SelectedObjects); 2663Assert.NotSame(value, control.SelectedObjects); 2664Assert.NotSame(control.SelectedObjects, control.SelectedObjects); 2684Assert.NotSame(value, control.SelectedObjects); 2685Assert.NotSame(control.SelectedObjects, control.SelectedObjects); 2695Assert.NotSame(value, control.SelectedObjects); 2696Assert.NotSame(control.SelectedObjects, control.SelectedObjects); 3898Assert.NotSame(normalButtons, newNormalButtons);
System\Windows\Forms\RadioButtonTests.cs (14)
414Assert.NotSame(control.CreateAccessibilityInstance(), instance); 415Assert.NotSame(control.AccessibilityObject, instance); 435Assert.NotSame(control.CreateAccessibilityInstance(), instance); 436Assert.NotSame(control.AccessibilityObject, instance); 458Assert.NotSame(control.CreateAccessibilityInstance(), instance); 459Assert.NotSame(control.AccessibilityObject, instance); 480Assert.NotSame(control.CreateAccessibilityInstance(), instance); 481Assert.NotSame(control.AccessibilityObject, instance); 522Assert.NotSame(control.CreateAccessibilityInstance(), instance); 523Assert.NotSame(control.AccessibilityObject, instance); 545Assert.NotSame(control.CreateAccessibilityInstance(), instance); 546Assert.NotSame(control.AccessibilityObject, instance); 567Assert.NotSame(control.CreateAccessibilityInstance(), instance); 568Assert.NotSame(control.AccessibilityObject, instance);
System\Windows\Forms\RichTextBoxTests.cs (16)
2620Assert.NotSame(rtf1, rtf2); 2639Assert.NotSame(rtf1, rtf2); 2669Assert.NotSame(rtf1, rtf2); 2712Assert.NotSame(rtf, control.Rtf); 2735Assert.NotSame(readRtf, control.Rtf); 2756Assert.NotSame(rtf, control.Rtf); 4667Assert.NotSame(result1, result2); 4693Assert.NotSame(result1, result2); 4828Assert.NotSame(result1, value); 4861Assert.NotSame(result1, value); 6279Assert.NotSame(control.SelectionTabs, control.SelectionTabs); 6285Assert.NotSame(control.SelectionTabs, control.SelectionTabs); 6304Assert.NotSame(control.SelectionTabs, control.SelectionTabs); 6313Assert.NotSame(control.SelectionTabs, control.SelectionTabs); 6349Assert.NotSame(control.SelectionTabs, control.SelectionTabs); 6358Assert.NotSame(control.SelectionTabs, control.SelectionTabs);
System\Windows\Forms\ScrollableControlTests.cs (2)
1703Assert.NotSame(graphics, e.Graphics); 1847Assert.NotSame(graphics, e.Graphics);
System\Windows\Forms\StatusStripTests.cs (2)
864Assert.NotSame(control.CreateAccessibilityInstance(), instance); 865Assert.NotSame(control.AccessibilityObject, instance);
System\Windows\Forms\TabControlTests.cs (5)
2998Assert.NotSame(controls, control.CreateControlsInstance()); 3848Assert.NotSame(result, control.GetItems()); 3860Assert.NotSame(result, control.GetItems()); 3877Assert.NotSame(result, control.GetItems(baseType)); 3888Assert.NotSame(result, control.GetItems(typeof(SubTabPage)));
System\Windows\Forms\TableLayoutPanelTests.cs (9)
426Assert.NotSame(settings, control.LayoutSettings); 434Assert.NotSame(settings, control.LayoutSettings); 462Assert.NotSame(settings, control.LayoutSettings); 470Assert.NotSame(settings, control.LayoutSettings); 517Assert.NotSame(settings, control.LayoutSettings); 529Assert.NotSame(settings, control.LayoutSettings); 560Assert.NotSame(settings, control.LayoutSettings); 568Assert.NotSame(settings, control.LayoutSettings); 633Assert.NotSame(controls, control.CreateControlsInstance());
System\Windows\Forms\TabPageTests.cs (3)
3748Assert.NotSame(controls, control.CreateControlsInstance()); 4076Assert.NotSame(graphics, e.Graphics); 4215Assert.NotSame(graphics, e.Graphics);
System\Windows\Forms\ToolStripButtonTests.cs (16)
55Assert.NotSame(Control.DefaultFont, item.Font); 136Assert.NotSame(Control.DefaultFont, item.Font); 223Assert.NotSame(Control.DefaultFont, item.Font); 313Assert.NotSame(Control.DefaultFont, item.Font); 401Assert.NotSame(Control.DefaultFont, item.Font); 499Assert.NotSame(Control.DefaultFont, item.Font); 1006Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 1007Assert.NotSame(accessibleObject, item.AccessibilityObject); 1020Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 1021Assert.NotSame(accessibleObject, item.AccessibilityObject); 1034Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 1035Assert.NotSame(accessibleObject, item.AccessibilityObject); 1053Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 1054Assert.NotSame(accessibleObject, item.AccessibilityObject); 1072Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 1073Assert.NotSame(accessibleObject, item.AccessibilityObject);
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
1166Assert.NotSame(value, control.Renderer); 1212Assert.NotSame(value, control.Renderer); 1268Assert.NotSame(renderer, control.Renderer);
System\Windows\Forms\ToolStripControlHostTests.cs (8)
1789Assert.NotSame(mockSite.Object, c.Site); 1799Assert.NotSame(mockSite.Object, c.Site); 2523Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 2524Assert.NotSame(accessibleObject, item.AccessibilityObject); 2541Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 2542Assert.NotSame(accessibleObject, item.AccessibilityObject); 2556Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 2557Assert.NotSame(accessibleObject, item.AccessibilityObject);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
53Assert.NotSame(Control.DefaultFont, item.Font); 142Assert.NotSame(Control.DefaultFont, item.Font); 241Assert.NotSame(Control.DefaultFont, item.Font); 349Assert.NotSame(Control.DefaultFont, item.Font);
System\Windows\Forms\ToolStripDropDownTests.cs (7)
1476Assert.NotSame(Control.DefaultFont, control.Font); 1493Assert.NotSame(font1, control.Font); 1514Assert.NotSame(Control.DefaultFont, control.Font); 2929Assert.NotSame(control.CreateAccessibilityInstance(), instance); 2930Assert.NotSame(control.AccessibilityObject, instance); 2944Assert.NotSame(control.CreateAccessibilityInstance(), instance); 2945Assert.NotSame(control.AccessibilityObject, instance);
System\Windows\Forms\ToolStripItemImageRenderEventArgsTests.cs (1)
86Assert.NotSame(image, e.Image);
System\Windows\Forms\ToolStripItemTests.cs (18)
54Assert.NotSame(Control.DefaultFont, item.Font); 139Assert.NotSame(Control.DefaultFont, item.Font); 234Assert.NotSame(Control.DefaultFont, item.Font); 2942Assert.NotSame(font, item.Font); 2943Assert.NotSame(Control.DefaultFont, item.Font); 3189Assert.NotSame(Control.DefaultFont, item.Font); 3199Assert.NotSame(Control.DefaultFont, item.Font); 3218Assert.NotSame(Control.DefaultFont, item.Font); 3228Assert.NotSame(Control.DefaultFont, item.Font); 9840Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 9841Assert.NotSame(accessibleObject, item.AccessibilityObject); 12584Assert.NotSame(eventArgs, e); 14140Assert.NotSame(font, item.Font); 14141Assert.NotSame(Control.DefaultFont, item.Font); 14147Assert.NotSame(font, item.Font); 14148Assert.NotSame(Control.DefaultFont, item.Font); 14153Assert.NotSame(font, item.Font); 14154Assert.NotSame(Control.DefaultFont, item.Font);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
57Assert.NotSame(Control.DefaultFont, item.Font);
System\Windows\Forms\ToolStripRendererTests.cs (1)
16Assert.NotSame(result, image);
System\Windows\Forms\ToolStripSeparatorTests.cs (5)
52Assert.NotSame(Control.DefaultFont, item.Font); 726Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 727Assert.NotSame(accessibleObject, item.AccessibilityObject); 739Assert.NotSame(accessibleObject, item.CreateAccessibilityInstance()); 740Assert.NotSame(accessibleObject, item.AccessibilityObject);
System\Windows\Forms\ToolStripTests.cs (14)
271Assert.NotSame(items, control.Items); 1392Assert.NotSame(Control.DefaultFont, control.Font); 1409Assert.NotSame(font1, control.Font); 1430Assert.NotSame(Control.DefaultFont, control.Font); 3245Assert.NotSame(value, control.Renderer); 3277Assert.NotSame(renderer, control.Renderer); 4212Assert.NotSame(control.CreateAccessibilityInstance(), instance); 4213Assert.NotSame(control.AccessibilityObject, instance); 4227Assert.NotSame(control.CreateAccessibilityInstance(), instance); 4228Assert.NotSame(control.AccessibilityObject, instance); 4239Assert.NotSame(controls, control.CreateControlsInstance()); 4263Assert.NotSame(controls, control.CreateControlsInstance()); 6044Assert.NotSame(graphics, e.Graphics); 6186Assert.NotSame(graphics, e.Graphics);
System\Windows\Forms\ToolTipTests.cs (1)
95Assert.NotSame(createParams, toolTip.CreateParams);
System\Windows\Forms\WebBrowserTests.cs (6)
94Assert.NotSame(control.Version, control.Version); 469Assert.NotSame(document, control.Document); 538Assert.NotSame(documentStream, control.DocumentStream); 655Assert.NotSame(documentText, control.DocumentText); 2125Assert.NotSame(control.Version, control.Version); 2421Assert.NotSame(siteBase, control.CreateWebBrowserSiteBase());
System\Windows\Forms\WindowsFormsSynchronizationContextTests.cs (1)
15Assert.NotSame(context, copy);
TextBoxBaseTests.cs (2)
1641Assert.NotSame(lines, control.Lines); 1647Assert.NotSame(lines, control.Lines);
TextBoxTests.cs (4)
465Assert.NotSame(control.CreateAccessibilityInstance(), instance); 466Assert.NotSame(control.AccessibilityObject, instance); 481Assert.NotSame(control.CreateAccessibilityInstance(), instance); 482Assert.NotSame(control.AccessibilityObject, instance);
WebBrowserBaseTests.cs (1)
651Assert.NotSame(siteBase, control.CreateWebBrowserSiteBase());