5399 references to NotEqual
Aspire.Dashboard.Tests (12)
BrowserSecurityHeadersMiddlewareTests.cs (3)
28Assert.NotEqual(StringValues.Empty, httpContext.Response.Headers.ContentSecurityPolicy); 43Assert.NotEqual(StringValues.Empty, httpContext.Response.Headers.ContentSecurityPolicy); 61Assert.NotEqual(StringValues.Empty, httpContext.Response.Headers.ContentSecurityPolicy);
Integration\FrontendBrowserTokenAuthTests.cs (3)
182Assert.NotEqual(0, uri.Port); 189Assert.NotEqual(0, uri.Port); 196Assert.NotEqual(0, uri.Port);
Integration\StartupTests.cs (6)
570Assert.NotEqual(0, uri.Port); 577Assert.NotEqual(0, uri.Port); 584Assert.NotEqual(0, uri.Port); 659Assert.NotEqual(0, uri.Port); 666Assert.NotEqual(0, uri.Port); 727Assert.NotEqual(0, ipEndPoint.Port);
Aspire.Hosting.Azure.Tests (3)
AzureBicepProvisionerTests.cs (1)
155Assert.NotEqual(checkSum0, checkSum1);
AzureFunctionsTests.cs (2)
107Assert.NotEqual(AzureFunctionsProjectResourceExtensions.DefaultAzureFunctionsHostStorageName, storageResources.Name); 160Assert.NotEqual(AzureFunctionsProjectResourceExtensions.DefaultAzureFunctionsHostStorageName, resource.Name);
Aspire.Hosting.Keycloak.Tests (1)
KeycloakResourceBuilderTests.cs (1)
124Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", rmq.Resource.AdminPasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.MySql.Tests (1)
AddMySqlTests.cs (1)
33Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", mysql.Resource.PasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.Nats.Tests (1)
AddNatsTests.cs (1)
31Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", nats.Resource.PasswordParameter!.Default?.GetType().FullName);
Aspire.Hosting.Oracle.Tests (1)
AddOracleTests.cs (1)
32Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", orcl.Resource.PasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.PostgreSQL.Tests (1)
AddPostgresTests.cs (1)
42Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", pg.Resource.PasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.Qdrant.Tests (1)
AddQdrantTests.cs (1)
35Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", qd.Resource.ApiKeyParameter.Default?.GetType().FullName);
Aspire.Hosting.RabbitMQ.Tests (1)
AddRabbitMQTests.cs (1)
31Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", rmq.Resource.PasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.Redis.Tests (1)
RedisFunctionalTests.cs (1)
212Assert.NotEqual(secondRunDatabases.Single().Id, firstRunDatabases.Single().Id);
Aspire.Hosting.SqlServer.Tests (1)
AddSqlServerTests.cs (1)
32Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", sql.Resource.PasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.Tests (6)
DistributedApplicationTests.cs (2)
380Assert.NotEqual(0, int.Parse(serviceAPortValue, CultureInfo.InvariantCulture)); 385Assert.NotEqual(0, int.Parse(nodeAppPortValue, CultureInfo.InvariantCulture));
Utils\VolumeNameGeneratorTests.cs (1)
69Assert.NotEqual(runVolumeName, publishVolumeName);
Utils\WithAnnotationTests.cs (3)
21Assert.NotEqual(dummyAnnotations.First(), dummyAnnotations.Last()); 35Assert.NotEqual(dummyAnnotations.First(), dummyAnnotations.Last()); 50Assert.NotEqual(firstAnnotation, secondAnnotation);
Aspire.Workload.Tests (1)
StarterTemplateRunTestsBase.cs (1)
105Assert.NotEqual(firstLoadText, secondLoadText);
Binding.Http.IntegrationTests (2)
OperationContextTests.cs (2)
50Assert.NotEqual(currentThreadId, Thread.CurrentThread.ManagedThreadId); 51Assert.NotEqual(currentContext, OperationContext.Current);
Binding.Tcp.IntegrationTests (5)
OperationContextAsyncFlowTests.cs (5)
37Assert.NotEqual(currentThreadId, Thread.CurrentThread.ManagedThreadId); 72Assert.NotEqual(currentThreadId, Thread.CurrentThread.ManagedThreadId); 76Assert.NotEqual(firstContext, OperationContext.Current); 80Assert.NotEqual(currentThreadId, Thread.CurrentThread.ManagedThreadId); 163Assert.NotEqual(currentThreadId, Thread.CurrentThread.ManagedThreadId);
Client.ClientBase.IntegrationTests (1)
SessionTests.cs (1)
86Assert.NotEqual(sessionId1, sessionId2);
Diagnostics.FunctionalTests (1)
WelcomePageSampleTest.cs (1)
27Assert.NotEqual(0xEF, bytes[0]); // No leading UTF-8 BOM
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\MultiApplicationTests.cs (1)
49Assert.NotEqual(id2, id1);
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\MultiApplicationTests.cs (1)
49Assert.NotEqual(id2, id1);
InMemory.FunctionalTests (14)
EventSourceTests.cs (9)
88Assert.NotEqual(Guid.Empty, connectionStart.ActivityId); 96Assert.NotEqual(Guid.Empty, firstRequestStart.ActivityId); 114Assert.NotEqual(Guid.Empty, secondRequestStart.ActivityId); 213Assert.NotEqual(Guid.Empty, connectionStart.ActivityId); 220Assert.NotEqual(Guid.Empty, tlsHandshakeStart.ActivityId); 240Assert.NotEqual(Guid.Empty, requestStart.ActivityId); 317Assert.NotEqual(Guid.Empty, connectionStart.ActivityId); 324Assert.NotEqual(Guid.Empty, tlsHandshakeStart.ActivityId); 398Assert.NotEqual(Guid.Empty, connectionStart.ActivityId);
Http2\Http2TestBase.cs (1)
1094Assert.NotEqual(0, streamId);
KestrelMetricsTests.cs (1)
364Assert.NotEqual(overridenFeature, currentConnectionContext.Features.Get<IConnectionMetricsTagsFeature>());
RequestTests.cs (1)
635Assert.NotEqual(0, read);
ResponseTests.cs (2)
4212Assert.NotEqual(4096, memory.Length); 4311Assert.NotEqual(BodyWriter1, BodyWriter2);
Microsoft.AspNetCore.Antiforgery.Test (5)
BinaryBlobTest.cs (3)
74Assert.NotEqual(blobA, blobB); 85Assert.NotEqual(blobA, blobB); 96Assert.NotEqual(blobA, blobB);
DefaultAntiforgeryTest.cs (2)
399Assert.NotEqual(headerValue, actualHeaderValue); 417Assert.NotEqual(headerValue, actualHeaderValue);
Microsoft.AspNetCore.Authentication.Core.Test (4)
AuthenticationPropertiesTests.cs (2)
34Assert.NotEqual(props.Items, copy.Items); 35Assert.NotEqual(props.Parameters, copy.Parameters);
AuthenticationTicketTests.cs (2)
38Assert.NotEqual(ticket.Properties.Items, copy.Properties.Items); 39Assert.NotEqual(ticket.Properties.Parameters, copy.Properties.Parameters);
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
UserJwtsTests.cs (1)
574Assert.NotEqual(key, resetKey);
Microsoft.AspNetCore.Authentication.Test (7)
CookieTests.cs (3)
217Assert.NotEqual(key1, key2); 975Assert.NotEqual(lastValidateIssuedDate, firstIssueDate); 976Assert.NotEqual(firstExpiresDate, lastExpiresDate);
JwtBearerTests.cs (2)
955Assert.NotEqual(DateTimeOffset.MinValue, token.ValidTo); 956Assert.NotEqual(DateTimeOffset.MinValue, token.ValidFrom);
JwtBearerTests_Handler.cs (2)
899Assert.NotEqual(DateTimeOffset.MinValue, token.ValidTo); 900Assert.NotEqual(DateTimeOffset.MinValue, token.ValidFrom);
Microsoft.AspNetCore.Components.Endpoints.Tests (9)
EndpointHtmlRendererTest.cs (9)
321Assert.NotEqual(Guid.Empty, serverComponent.InvocationId); 355Assert.NotEqual(Guid.Empty, serverComponent.InvocationId); 415Assert.NotEqual(Guid.Empty, firstServerComponent.InvocationId); 472Assert.NotEqual(Guid.Empty, serverComponent.InvocationId); 511Assert.NotEqual(Guid.Empty, serverComponent.InvocationId); 552Assert.NotEqual(Guid.Empty, serverComponent.InvocationId); 603Assert.NotEqual(Guid.Empty, serverComponent.InvocationId); 1085Assert.NotEqual(Guid.Empty, serverComponent.InvocationId); 1114Assert.NotEqual(Guid.Empty, serverComponent.InvocationId);
Microsoft.AspNetCore.Components.Forms.Tests (3)
FieldIdentifierTest.cs (3)
61Assert.NotEqual(fieldIdentifier1.GetHashCode(), fieldIdentifier2.GetHashCode()); 74Assert.NotEqual(fieldIdentifier1.GetHashCode(), fieldIdentifier2.GetHashCode()); 129Assert.NotEqual(fieldIdentifierLower.GetHashCode(), fieldIdentifierPascal.GetHashCode());
Microsoft.AspNetCore.Components.Tests (13)
RendererTest.cs (6)
3003Assert.NotEqual(parentComponentId, diff2.ComponentId); 3019Assert.NotEqual(parentComponentId, diff4.ComponentId); 4363Assert.NotEqual(default, attributeFrame.AttributeEventHandlerId); 4364Assert.NotEqual(eventHandlerId, attributeFrame.AttributeEventHandlerId); 4415Assert.NotEqual(default, attributeFrame.AttributeEventHandlerId); 4416Assert.NotEqual(eventHandlerId, attributeFrame.AttributeEventHandlerId);
RenderTreeDiffBuilderTest.cs (4)
935Assert.NotEqual(default, removedEventHandlerFrame.AttributeEventHandlerId); 1668Assert.NotEqual(default, oldAttributeFrame.AttributeEventHandlerId); 1695Assert.NotEqual(default, oldAttributeFrame.AttributeEventHandlerId); 1855Assert.NotEqual(ref1.Id, ref2.Id);
Routing\RouteKeyTest.cs (3)
40Assert.NotEqual(key1.GetHashCode(), key2.GetHashCode()); 52Assert.NotEqual(key1.GetHashCode(), key2.GetHashCode()); 88Assert.NotEqual(key1.GetHashCode(), key2.GetHashCode());
Microsoft.AspNetCore.Cryptography.Internal.Tests (2)
Cng\BCryptUtilTests.cs (1)
45Assert.NotEqual(Guid.Empty, newGuid);
SafeHandles\SecureLocalAllocHandleTests.cs (1)
28Assert.NotEqual(controlHandle.DangerousGetHandle(), duplicateHandle.DangerousGetHandle()); // shouldn't just point to the same memory location
Microsoft.AspNetCore.DataProtection.Tests (13)
Cng\CngAuthenticatedEncryptorBaseTests.cs (2)
49Assert.NotEqual(IntPtr.Zero, pbAdditionalAuthenticatedData); // CNG will complain if this pointer is zero 73Assert.NotEqual(IntPtr.Zero, pbCiphertext); // CNG will complain if this pointer is zero
Internal\KeyManagementOptionsPostSetupTest.cs (1)
184Assert.NotEqual(keyDir, (repository as FileSystemXmlRepository)?.Directory.FullName);
Repositories\FileSystemXmlRepositoryTests.cs (1)
113Assert.NotEqual(Guid.Empty, parsedGuid);
Repositories\RegistryXmlRepositoryTests.cs (1)
99Assert.NotEqual(Guid.Empty, parsedGuid);
SecretAssert.cs (1)
32Assert.NotEqual(SecretToBase64String(secret1), SecretToBase64String(secret2));
SecretTests.cs (6)
176Assert.NotEqual(Guid.Empty, pGuids[0]); 177Assert.NotEqual(Guid.Empty, pGuids[1]); 178Assert.NotEqual(pGuids[0], pGuids[1]); 191Assert.NotEqual(Guid.Empty, pGuids[0]); 192Assert.NotEqual(Guid.Empty, pGuids[1]); 193Assert.NotEqual(pGuids[0], pGuids[1]);
TypeForwardingActivatorTests.cs (1)
116Assert.NotEqual(type.AssemblyQualifiedName, newName);
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (1)
CertificateManagerTests.cs (1)
312Assert.NotEqual(_manager.Subject, wrongSubjectCertificate.Subject);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Latency\RequestLatencyTelemetryExtensionsTests.cs (1)
45Assert.NotEqual(scope1.ServiceProvider.GetService<ILatencyContext>(),
Microsoft.AspNetCore.HeaderParsing.Tests (5)
HostHeaderValueTests.cs (5)
19Assert.NotEqual(differentHost, host1); 20Assert.NotEqual(differentPort, host1); 38Assert.NotEqual(new object(), host1); 67Assert.NotEqual(differentHostHashCode, host1HashCode); 68Assert.NotEqual(differentPortHashCode, host1HashCode);
Microsoft.AspNetCore.Hosting.Tests (2)
HostingMetricsTests.cs (1)
177Assert.NotEqual(overridenFeature, contextFeature);
WebHostBuilderTests.cs (1)
994Assert.NotEqual(disposables[0], disposables[1]);
Microsoft.AspNetCore.Http.Abstractions.Tests (8)
FragmentStringTests.cs (2)
26Assert.NotEqual(default(FragmentString), fragmentString); 36Assert.NotEqual(fragmentString, FragmentString.Empty);
HostStringTest.cs (2)
115Assert.NotEqual(default(HostString), hostString); 125Assert.NotEqual(hostString, new HostString(string.Empty));
PathStringTests.cs (2)
38Assert.NotEqual(default(PathString), pathString); 48Assert.NotEqual(pathString, PathString.Empty);
QueryStringTests.cs (2)
148Assert.NotEqual(default(QueryString), queryString); 158Assert.NotEqual(queryString, QueryString.Empty);
Microsoft.AspNetCore.Http.Connections.Tests (3)
HttpConnectionDispatcherTests.cs (1)
100Assert.NotEqual(connectionId, connectionToken);
HttpConnectionManagerTests.cs (2)
55Assert.NotEqual(default, connection.LastSeenTicks); 236Assert.NotEqual(connection.ConnectionId, connection.ConnectionToken);
Microsoft.AspNetCore.Http.Results.Tests (19)
src\Shared\ResultsTests\FileContentResultTestBase.cs (2)
294Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 329Assert.NotEqual(0, httpResponse.Headers.LastModified.Count);
src\Shared\ResultsTests\FileStreamResultTestBase.cs (2)
286Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 323Assert.NotEqual(0, httpResponse.Headers.LastModified.Count);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (9)
58Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 89Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 118Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 145Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 174Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 206Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 234Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 261Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 318Assert.NotEqual(0, httpResponse.Headers.LastModified.Count);
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (6)
70Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 209Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 248Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 280Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 311Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 353Assert.NotEqual(0, httpResponse.Headers.LastModified.Count);
Microsoft.AspNetCore.Http.Tests (3)
DefaultHttpContextTests.cs (2)
165Assert.NotEqual(4, features.Count()); 185Assert.NotEqual(4, newFeatures.Count());
Features\HttpRequestIdentifierFeatureTests.cs (1)
38Assert.NotEqual(id1, id2);
Microsoft.AspNetCore.HttpOverrides.Tests (2)
ForwardedHeadersMiddlewareTest.cs (2)
450Assert.NotEqual(hostHeader, context.Request.Host.Value); 552Assert.NotEqual<string>(hostHeader, context.Request.Headers.Host);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
UserStoreTest.cs (1)
181Assert.NotEqual(userA.PasswordHash, userB.PasswordHash);
Microsoft.AspNetCore.Identity.FunctionalTests (3)
ManagementTests.cs (1)
376Assert.NotEqual(expectedPrincipalClaim, actualPrincipalClaim);
MapIdentityApiTests.cs (2)
759Assert.NotEqual(accessToken, recoveryAccessToken); 861Assert.NotEqual(accessToken, recoveryAccessToken);
Microsoft.AspNetCore.Identity.Specification.Tests (16)
UserManagerSpecificationTests.cs (16)
275Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 291Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 656Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 676Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 696Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 889Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 1004Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 1357Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 1376Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 1442Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 1481Assert.NotEqual(token1, token2); 1509Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 1532Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 1558Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 1578Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user)); 1674Assert.NotEqual(stamp, await manager.GetSecurityStampAsync(user));
Microsoft.AspNetCore.Identity.Test (2)
SignInManagerTest.cs (2)
959Assert.NotEqual(confirmed, result.IsNotAllowed); 1013Assert.NotEqual(confirmed, result.IsNotAllowed);
Microsoft.AspNetCore.Mvc.Abstractions.Test (3)
ModelBinding\ValueProviderResultTest.cs (3)
66Assert.NotEqual(ValueProviderResult.None, result); 81Assert.NotEqual(ValueProviderResult.None, result); 190Assert.NotEqual(expected, result);
Microsoft.AspNetCore.Mvc.Core.Test (36)
ApplicationModels\ActionModelTest.cs (1)
126Assert.NotEqual(value1, Activator.CreateInstance(property.PropertyType));
ApplicationModels\AttributeRouteModelTests.cs (1)
44Assert.NotEqual(value1, Activator.CreateInstance(property.PropertyType));
ApplicationModels\ControllerModelTest.cs (1)
128Assert.NotEqual(value1, Activator.CreateInstance(property.PropertyType));
ApplicationModels\ParameterModelTest.cs (1)
62Assert.NotEqual(value1, Activator.CreateInstance(property.PropertyType));
ApplicationModels\PropertyModelTest.cs (1)
58Assert.NotEqual(value1, Activator.CreateInstance(property.PropertyType));
ControllerBaseTest.cs (12)
2632Assert.NotEqual(0, binder.BindModelCount); 2660Assert.NotEqual(0, binder.BindModelCount); 2687Assert.NotEqual(0, binder.BindModelCount); 2745Assert.NotEqual(0, binder.BindModelCount); 2777Assert.NotEqual(0, binder.BindModelCount); 2811Assert.NotEqual(0, binder.BindModelCount); 2843Assert.NotEqual(0, binder.BindModelCount); 2882Assert.NotEqual(0, binder1.BindModelCount); 2893Assert.NotEqual(0, binder2.BindModelCount); 2928Assert.NotEqual(0, binder.BindModelCount); 2956Assert.NotEqual(0, binder.BindModelCount); 2984Assert.NotEqual(0, binder.BindModelCount);
src\Shared\ResultsTests\FileContentResultTestBase.cs (2)
294Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 329Assert.NotEqual(0, httpResponse.Headers.LastModified.Count);
src\Shared\ResultsTests\FileStreamResultTestBase.cs (2)
286Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 323Assert.NotEqual(0, httpResponse.Headers.LastModified.Count);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (9)
58Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 89Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 118Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 145Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 174Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 206Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 234Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 261Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 318Assert.NotEqual(0, httpResponse.Headers.LastModified.Count);
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (6)
70Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 209Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 248Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 280Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 311Assert.NotEqual(0, httpResponse.Headers.LastModified.Count); 353Assert.NotEqual(0, httpResponse.Headers.LastModified.Count);
Microsoft.AspNetCore.Mvc.FunctionalTests (7)
InputObjectValidationTests.cs (1)
153Assert.NotEqual(shouldNotContainMessage, errorMessage);
RazorBuildTest.cs (3)
123Assert.NotEqual(expected1, actual2); 138Assert.NotEqual(actual2, body.Trim()); 162Assert.NotEqual(expected1, actual2);
RazorRuntimeCompilationHostingStartupTest.cs (3)
69Assert.NotEqual(expected1, actual2); 84Assert.NotEqual(actual2, body.Trim()); 107Assert.NotEqual(expected1, actual2);
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
DictionaryModelBinderIntegrationTest.cs (2)
810Assert.NotEqual(ModelValidationState.Unvalidated, kvp.Value.ValidationState); 811Assert.NotEqual(ModelValidationState.Skipped, kvp.Value.ValidationState);
Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests (6)
RouteDataTest.cs (6)
116Assert.NotEqual(routeData.DataTokens, copy.DataTokens); 118Assert.NotEqual(routeData.Routers, copy.Routers); 120Assert.NotEqual(routeData.Values, copy.Values); 149Assert.NotEqual(routeData.DataTokens, copy.DataTokens); 151Assert.NotEqual(routeData.Routers, copy.Routers); 153Assert.NotEqual(routeData.Values, copy.Values);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (4)
CacheTagKeyTest.cs (4)
89Assert.NotEqual(cacheTagKey1, cacheTagKey2); 143Assert.NotEqual(hashcode1, hashcode2); 470Assert.NotEqual(hashCode1, hashCode2); 502Assert.NotEqual(hashCode1, hashCode2);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
MemberExpressionCacheKeyComparerTest.cs (2)
177Assert.NotEqual(hashCode1, hashCode2); 184Assert.NotEqual(cachedKeyHashCode1, hashCode2);
Rendering\TagBuilderTest.cs (1)
305Assert.NotEqual(originalTagBuilder.InnerHtml, clonedTagBuilder.InnerHtml);
ViewDataDictionaryOfTModelTest.cs (1)
299Assert.NotEqual(source.ModelMetadata.ModelType, viewData.ModelMetadata.ModelType);
Microsoft.AspNetCore.OpenApi.Tests (3)
Services\CreateSchemaReferenceIdTests.cs (1)
243Assert.NotEqual(schema.Reference.Id, responseSchema.Reference.Id);
Transformers\DocumentTransformerTests.cs (1)
120Assert.NotEqual(description, document.Info.Description);
Transformers\Implementations\OpenApiSchemaReferenceTransformerTests.cs (1)
294Assert.NotEqual(requestSchema.Reference.Id, responseSchema.Reference.Id);
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCacheMiddlewareTests.cs (2)
401Assert.NotEqual(timeProvider.GetUtcNow(), context.ResponseTime); 1037Assert.NotEqual(cachedResponse, refreshedResponse);
OutputCachePolicyBuilderTests.cs (1)
363Assert.NotEqual(2, context.ResponseExpirationTimeSpan?.TotalSeconds);
OutputCacheTests.cs (1)
1077Assert.NotEqual(await initialResponse.Content.ReadAsStringAsync(), await subsequentResponse.Content.ReadAsStringAsync());
Microsoft.AspNetCore.ResponseCaching.Tests (2)
ResponseCachingMiddlewareTests.cs (1)
392Assert.NotEqual(timeProvider.GetUtcNow(), context.ResponseTime);
ResponseCachingTests.cs (1)
981Assert.NotEqual(await initialResponse.Content.ReadAsStringAsync(), await subsequentResponse.Content.ReadAsStringAsync());
Microsoft.AspNetCore.Routing.Tests (4)
Matching\ILEmitTrieJumpTableTest.cs (1)
210Assert.NotEqual(entry, path.Substring(start, length));
Tree\TreeRouterTest.cs (3)
1769Assert.NotEqual(nestedValues, context.RouteData.Values); 1802Assert.NotEqual(nestedValues, context.RouteData.Values); 1845Assert.NotEqual(nestedValues, context.RouteData.Values);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
RequestTests.cs (2)
44Assert.NotEqual(0, connectionInfo.RemotePort); 46Assert.NotEqual(0, connectionInfo.LocalPort);
ServerTests.cs (1)
83Assert.NotEqual("0", prefix.Port);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (22)
Http1\Http1HttpProtocolFeatureCollectionTests.cs (4)
54Assert.NotEqual(0, featureCount); 61Assert.NotEqual(0, featureCount); 75Assert.NotEqual(0, featureCount); 218Assert.NotEqual(0, featureCount);
HttpRequestHeadersTests.cs (6)
463Assert.NotEqual(values.PrevHeaderValue, values.NextHeaderValue); 486Assert.NotEqual(values.PrevHeaderValue, values.NextHeaderValue); 755Assert.NotEqual(string.Empty, prevHeaderValue); 769Assert.NotEqual(HeaderValue, nextHeaderValue); 781Assert.NotEqual(HeaderValue, nextHeaderValue); 806Assert.NotEqual(string.Empty, prevHeaderValue.ToString());
KestrelServerTests.cs (2)
505Assert.NotEqual(0, ((IPEndPoint)transportEndPoint.BoundEndPoint).Port); 533Assert.NotEqual(0, ((IPEndPoint)multiplexedTransportEndPoint.BoundEndPoint).Port);
StartLineTests.cs (10)
256Assert.NotEqual(prevRequestUrl, Http1Connection.RawTarget); 257Assert.NotEqual(prevPath, Http1Connection.Path); 258Assert.NotEqual(prevQuery, Http1Connection.QueryString); 349Assert.NotEqual(prevRequestUrl, Http1Connection.RawTarget); 350Assert.NotEqual(prevPath, Http1Connection.Path); 351Assert.NotEqual(prevQuery, Http1Connection.QueryString); 428Assert.NotEqual(prevRequestUrl, Http1Connection.RawTarget); 429Assert.NotEqual(prevPath, Http1Connection.Path); 430Assert.NotEqual(prevQuery, Http1Connection.QueryString); 511Assert.NotEqual(prevRequestUrl, Http1Connection.RawTarget);
Microsoft.AspNetCore.Server.Kestrel.Tests (2)
KestrelConfigurationLoaderTests.cs (2)
298Assert.NotEqual(devCert.SerialNumber, defaultCert.SerialNumber); // Need to be able to distinguish them 519Assert.NotEqual(certificate.SerialNumber, defaultCertificate.SerialNumber);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (3)
HubConnectionTests.cs (3)
296Assert.NotEqual(originalClientConnectionId, connectionIdFromServer); 2177Assert.NotEqual(initialConnectionId, newConnectionId); 2237Assert.NotEqual(initialConnectionId, newConnectionId);
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
ScaleoutHubLifetimeManagerTests.cs (1)
603Assert.NotEqual(invocation1.InvocationId, invocation2.InvocationId);
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTestUtils\Hubs.cs (1)
1434Assert.NotEqual(service, service2);
Microsoft.AspNetCore.Tests (4)
WebApplicationTests.cs (4)
2266Assert.NotEqual(nameof(WebApplicationTests), hostEnv.ApplicationName); 2267Assert.NotEqual(envName, hostEnv.EnvironmentName); 2268Assert.NotEqual(contentRoot, hostEnv.ContentRootPath); 2332Assert.NotEqual(value0, value1);
Microsoft.Build.Engine.OM.UnitTests (9)
Construction\ProjectRootElement_Tests.cs (4)
381Assert.NotEqual("MSB4068", ex.ErrorCode); 1872Assert.NotEqual(version, projectElement.Version); 1881Assert.NotEqual(childrenCount, projectElement.AllChildren.Count()); 1890Assert.NotEqual(xml, projectElement.RawXml);
ObjectModelRemoting\Helpers\ViewValidation.cs (4)
37Assert.NotEqual((object)this.View, (object)other.View); 38Assert.NotEqual((object)this.Real, (object)other.Real); 74Assert.NotEqual(current, newValue); 75Assert.NotEqual(current, newValue1);
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (1)
46Assert.NotEqual(proj1Path, savedPath);
Microsoft.Build.Engine.UnitTests (21)
BackEnd\BuildManager_Tests.cs (1)
455Assert.NotEqual(Process.GetCurrentProcess().Id, processId); // "Build is expected to be out-of-proc. In fact it was in-proc."
BackEnd\BuildRequestConfiguration_Tests.cs (7)
211Assert.NotEqual(config1.GetHashCode(), config3.GetHashCode()); 212Assert.NotEqual(config1.GetHashCode(), config5.GetHashCode()); 213Assert.NotEqual(config4.GetHashCode(), config5.GetHashCode()); 225Assert.NotEqual(config1, config3); 228Assert.NotEqual(config1, config4); 234Assert.NotEqual(config1, config5); 237Assert.NotEqual(config1, config3);
BackEnd\NodeEndpointInProc_Tests.cs (2)
338Assert.NotEqual(_host.DataReceivedContext.thread.ManagedThreadId, Thread.CurrentThread.ManagedThreadId); 348Assert.NotEqual(_host.DataReceivedContext.thread.ManagedThreadId, Thread.CurrentThread.ManagedThreadId);
Evaluation\Expander_Tests.cs (2)
1262Assert.NotEqual(-1, e.Message.IndexOf("[System.IO.Path]::Combine(null, '')", StringComparison.OrdinalIgnoreCase)); 1289Assert.NotEqual(-1, e.Message.IndexOf("System.IO.Path::Combine('a','b')", StringComparison.OrdinalIgnoreCase));
FileUtilities_Tests.cs (1)
543Assert.NotEqual("C:\\work\\sdk3\\artifacts\\tmp\\Debug\\SimpleNamesWi---6143883E\\NETFrameworkLibrary\\bin\\Debug\\net462\\NETFrameworkLibrary.dll", FileUtilities.NormalizePath(filePath));
Instance\TaskItem_Tests.cs (8)
117Assert.NotEqual(left, right); 118Assert.NotEqual(right, left); 132Assert.NotEqual(left, right); 133Assert.NotEqual(right, left); 146Assert.NotEqual(left, right); 147Assert.NotEqual(right, left); 162Assert.NotEqual(left, right); 163Assert.NotEqual(right, left);
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (4)
TargetTests.cs (4)
41Assert.NotEqual("true", shouldRun); 42Assert.NotEqual("true", hasItems); 66Assert.NotEqual("true", hasItems); 141Assert.NotEqual("true", shouldRun);
Microsoft.Build.Tasks.UnitTests (13)
Copy_Tests.cs (2)
1013Assert.NotEqual(FileAttributes.ReadOnly, File.GetAttributes(destination1) & FileAttributes.ReadOnly); 1014Assert.NotEqual(FileAttributes.ReadOnly, File.GetAttributes(destination2) & FileAttributes.ReadOnly);
FileStateTests.cs (2)
245Assert.NotEqual(time, state.LastWriteTime); 271Assert.NotEqual(time.ToUniversalTime(), state.LastWriteTimeUtcFast);
MockUnmanagedMemoryHelper.cs (1)
100Assert.NotEqual(IntPtr.Zero, _mainAllocationHandle);
NativeMethodsShared_Tests.cs (1)
52Assert.NotEqual(processHandle, NativeMethodsShared.NullIntPtr);
ResolveNonMSBuildProjectOutput_Tests.cs (1)
233Assert.NotEqual("true", ((ITaskItem)resolvedOutputs[Path.Combine("obj", "unmanaged.dll")]).GetMetadata("ManagedAssembly"));
ResolveSDKReference_Tests.cs (3)
539Assert.NotEqual(sdkReference2, sdkReference1); 540Assert.NotEqual(sdkReference2DiffVer, sdkReference1); 541Assert.NotEqual(sdkReference2DiffVer, sdkReference2);
WriteLinesToFile_Tests.cs (1)
91Assert.NotEqual("\uBDEA", r.Lines[0].ItemSpec);
XslTransformation_Tests.cs (2)
977Assert.NotEqual(new FileInfo(xmlMultiPaths[0].ItemSpec).Length, new FileInfo(xmlMultiPaths[1].ItemSpec).Length); 978Assert.NotEqual(new FileInfo(outputMultiPaths[0].ItemSpec).Length, new FileInfo(outputMultiPaths[1].ItemSpec).Length);
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
542Assert.NotEqual(-1, indexOfEquals);
Microsoft.Build.Utilities.UnitTests (2)
NativeMethodsShared_Tests.cs (1)
52Assert.NotEqual(processHandle, NativeMethodsShared.NullIntPtr);
ToolTask_Tests.cs (1)
673Assert.NotEqual(directoryNamedSameAsTool, task.PathToToolUsed);
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (3)
src\Features\DiagnosticsTestUtilities\CodeActions\CodeFixVerifierHelper.cs (3)
51Assert.NotEqual("", descriptor.Title?.ToString() ?? ""); 64Assert.NotEqual("", descriptor.MessageFormat?.ToString() ?? ""); 89Assert.NotEqual("", descriptor.HelpLinkUri ?? "");
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (20)
CommandLineTests.cs (9)
1642Assert.NotEqual(LanguageVersion.Default, defaultEffectiveVersion); 1655Assert.NotEqual(LanguageVersion.Latest, latestEffectiveVersion); 6954Assert.NotEqual(0, exitCode); 6976Assert.NotEqual(0, exitCode); 7177Assert.NotEqual(0, exitCode); 7181Assert.NotEqual(0, exitCode); 8781Assert.NotEqual(0, exitCode1); 8906Assert.NotEqual(mvid, ReadMvid(fsNewDll)); 9159Assert.NotEqual(0, exitCode);
SarifErrorLoggerTests.cs (8)
86Assert.NotEqual(0, exitCode); 121Assert.NotEqual(0, exitCode); 155Assert.NotEqual(0, exitCode); 191Assert.NotEqual(0, exitCode); 226Assert.NotEqual(0, exitCode); 261Assert.NotEqual(0, exitCode); 296Assert.NotEqual(0, exitCode); 328Assert.NotEqual(0, exitCode);
SarifV2ErrorLoggerTests.cs (3)
543Assert.NotEqual(0, exitCode); 613Assert.NotEqual(0, exitCode); 691Assert.NotEqual(0, exitCode);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (12)
Completion\CompletionProviders\SymbolCompletionProviderTests_NoInteractive.cs (1)
389Assert.NotEqual(currentDocument, document);
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (1)
325Assert.NotEqual(SyntaxKind.MethodDeclaration, context.Node.Kind());
ExtractMethod\ExtractMethodBase.cs (1)
97Assert.NotEqual(expected, actual);
Workspaces\WorkspaceTests_EditorFeatures.cs (9)
502Assert.NotEqual(TypeKind.Error, classC.TypeKind); 556Assert.NotEqual(TypeKind.Error, classCy.TypeKind); 580Assert.NotEqual(VersionStamp.Default, newVersion); 624Assert.NotEqual(TypeKind.Error, classCy.TypeKind); 1124Assert.NotEqual(oldVersion, await doc.Project.GetSemanticVersionAsync()); 1157Assert.NotEqual(oldVersion, await doc.Project.GetSemanticVersionAsync()); 1468Assert.NotEqual(defaultValue, changedValue); 1514Assert.NotEqual(beforeSolutionForPrimaryWorkspace, primaryWorkspace.CurrentSolution); 1515Assert.NotEqual(beforeSolutionForSecondaryWorkspace, secondaryWorkspace.CurrentSolution);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (33)
CodeGen\CodeGenDeconstructTests.cs (4)
5482Assert.NotEqual(firstX1Symbol, secondX1Symbol); 5514Assert.NotEqual(firstYSymbol, secondYSymbol); 5545Assert.NotEqual(firstXSymbol, secondXSymbol); 6151Assert.NotEqual(symbol0, symbol);
CodeGen\CodeGenFunctionPointersTests.cs (2)
2537Assert.NotEqual(nopiaReference.Display, module.ReferencedAssemblies[0].Name); 2571Assert.NotEqual(nopiaReference.Display, module.ReferencedAssemblies[0].Name);
CodeGen\CodeGenTupleTest.cs (1)
27501Assert.NotEqual(type, underlyingType);
Emit\CompilationEmitTests.cs (12)
682Assert.NotEqual(Guid.Empty, mvidFromModuleDefinition); 1226Assert.NotEqual(Guid.Empty, mvid1); 2661Assert.NotEqual(0, output.Position); 2662Assert.NotEqual(0, pdbOutput.Position); 2663Assert.NotEqual(0, metadataOutput.Position); 3670Assert.NotEqual(0, peHeaders.PEHeader.ImportAddressTableDirectory.RelativeVirtualAddress); 3671Assert.NotEqual(0, peHeaders.PEHeader.ImportAddressTableDirectory.Size); 3672Assert.NotEqual(0, peHeaders.PEHeader.ImportTableDirectory.RelativeVirtualAddress); 3673Assert.NotEqual(0, peHeaders.PEHeader.ImportTableDirectory.Size); 3674Assert.NotEqual(0, peHeaders.PEHeader.BaseRelocationTableDirectory.RelativeVirtualAddress); 3675Assert.NotEqual(0, peHeaders.PEHeader.BaseRelocationTableDirectory.Size); 5096Assert.NotEqual(0, P1RVA);
Emit\DesktopStrongNameProviderTests.cs (3)
61Assert.NotEqual(provider1, provider2); 71Assert.NotEqual(provider1, provider2); 81Assert.NotEqual(provider1, provider2);
Emit\DeterministicTests.cs (8)
106Assert.NotEqual(mvid1, mvid3); 115Assert.NotEqual(mvid5, mvid7); 118Assert.NotEqual(mvid1, mvid5); 119Assert.NotEqual(mvid3, mvid7); 144Assert.NotEqual(mvid1, mvid3); 145Assert.NotEqual(mvid1, mvid5); 146Assert.NotEqual(mvid3, mvid5); 161Assert.NotEqual(peReader1.PEHeaders.CoffHeader.TimeDateStamp, peReader2.PEHeaders.CoffHeader.TimeDateStamp);
Emit\ResourceTests.cs (3)
162Assert.NotEqual(default, stringTable); 166Assert.NotEqual(default, elevenRsrc); 170Assert.NotEqual(default, wevtRsrc);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\EditAndContinue\EditAndContinueTestBase.cs (1)
88Assert.NotEqual(tree1, tree0);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (31)
Attributes\AttributeTests_IsByRefLike.cs (1)
1077Assert.NotEqual("IsByRefLikeAttribute", attr.AttributeClass.Name);
Attributes\AttributeTests_ReadOnlyStruct.cs (1)
646Assert.NotEqual("IsReadOnlyAttribute", attr.AttributeClass.Name);
Attributes\AttributeTests_WellKnownAttributes.cs (15)
56Assert.NotEqual(default, typeDef); 72Assert.NotEqual(default, methodDef); 3337Assert.NotEqual(HandleKind.MethodDefinition, ctor.Kind); 4710Assert.NotEqual("SpecialNameAttribute", name); 4819Assert.NotEqual("SpecialNameAttribute", name); 10713Assert.NotEqual(default, typeC); 10753Assert.NotEqual(default, methodInit); 10754Assert.NotEqual(default, methodSkip); 10755Assert.NotEqual(default, methodInitCopy); 10756Assert.NotEqual(default, methodSkipCopy); 10757Assert.NotEqual(default, methodInitDiff); 10758Assert.NotEqual(default, methodSkipDiff); 10760Assert.NotEqual(methodInit.RelativeVirtualAddress, methodSkip.RelativeVirtualAddress); 10763Assert.NotEqual(methodInit.RelativeVirtualAddress, methodInitDiff.RelativeVirtualAddress); 10764Assert.NotEqual(methodSkip.RelativeVirtualAddress, methodSkipDiff.RelativeVirtualAddress);
Diagnostics\GetDiagnosticsTests.cs (2)
1452Assert.NotEqual(analyzerDiagnostic, compilationDiagnostic); 1453Assert.NotEqual(compilationDiagnostic, analyzerDiagnostic);
Semantics\OutVarTests.cs (3)
976Assert.NotEqual(symbol, other); 1145Assert.NotEqual(symbol, model.LookupSymbols(decl.SpanStart, name: decl.Identifier().ValueText).Single()); 1164Assert.NotEqual(SymbolKind.Field, symbol.Kind);
Semantics\PatternMatchingTestBase.cs (5)
90Assert.NotEqual(symbol, other); 147Assert.NotEqual(symbol, model.LookupSymbols(designation.SpanStart, name: designation.Identifier.ValueText).Single()); 173Assert.NotEqual(symbol, model.LookupSymbols(declarator.SpanStart, name: declarator.Identifier.ValueText).Single()); 187Assert.NotEqual(symbol, model.LookupSymbols(designation.SpanStart, name: designation.Identifier.ValueText).Single()); 195Assert.NotEqual(SymbolKind.Field, symbol.Kind);
Semantics\PatternMatchingTests3.cs (1)
63Assert.NotEqual(default, ySymbol);
Semantics\PatternMatchingTests5.cs (2)
1130Assert.NotEqual(default, yxSymbol); 1322Assert.NotEqual(default, yxSymbol);
Semantics\PrimaryConstructorTests.cs (1)
738Assert.NotEqual("class ", keyword);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (88)
Semantics\AccessCheckTests.cs (1)
970Assert.NotEqual(classC, c2);
Semantics\ColorColorTests.cs (15)
600Assert.NotEqual(default, parentInfo); 640Assert.NotEqual(default, info); 647Assert.NotEqual(default, parentInfo); 729Assert.NotEqual(default, info); 1069Assert.NotEqual(default, info); 1115Assert.NotEqual(default, info); 1161Assert.NotEqual(default, info); 1168Assert.NotEqual(default, parentInfo); 1206Assert.NotEqual(default, info); 1213Assert.NotEqual(default, parentInfo); 1247Assert.NotEqual(default, info); 1257Assert.NotEqual(default, parentInfo); 1284Assert.NotEqual(default, info); 1847Assert.NotEqual(default, info); 1854Assert.NotEqual(default, parentInfo);
Semantics\DeconstructionTests.cs (2)
3957Assert.NotEqual(SymbolKind.Local, symbol.Kind); 3971Assert.NotEqual(SymbolKind.Local, symbol.Kind);
Semantics\DynamicTests.cs (2)
2501Assert.NotEqual("+", operatorSyntax); 2502Assert.NotEqual("-", operatorSyntax);
Semantics\ForEachTests.cs (1)
2891Assert.NotEqual(TypeKind.Error, localSymbolType.TypeKind);
Semantics\GlobalUsingDirectiveTests.cs (8)
3851Assert.NotEqual(ext1, ext2); 3877Assert.NotEqual(ext1, ext2); 3908Assert.NotEqual(ext1, ext2); 3941Assert.NotEqual(ext1, ext2); 3961Assert.NotEqual(ext1, ext2); 3986Assert.NotEqual(ext1, ext2); 4120Assert.NotEqual(ext1, ext2); 4142Assert.NotEqual(ext1, ext2);
Semantics\InterceptorsTests.cs (2)
6884Assert.NotEqual(locationSpecifier, otherLocation); 6886Assert.NotEqual(locationSpecifier.GetHashCode(), otherLocation.GetHashCode());
Semantics\LockTests.cs (2)
52Assert.NotEqual(default, lockExprInfo); 57Assert.NotEqual(default, memberAccessInfo);
Semantics\LookupTests.cs (7)
685Assert.NotEqual(0, baseExprLocation); 688Assert.NotEqual(default, baseExprInfo); 1370Assert.NotEqual(0, eof); 2017Assert.NotEqual(default, symbolInfo); 2047Assert.NotEqual(default, symbolInfo); 2077Assert.NotEqual(default, symbolInfo); 2103Assert.NotEqual(default, symbolInfo);
Semantics\NameOfTests.cs (1)
3057Assert.NotEqual(nameofType, typeofType);
Semantics\NativeIntegerTests.cs (3)
264Assert.NotEqual(underlyingType, nativeIntegerType); 265Assert.NotEqual(nativeIntegerType, underlyingType); 600Assert.NotEqual(containsType(fromMember, useNativeInteger: true), fromMember.Equals(fromUnderlyingMember, TypeCompareKind.ConsiderEverything));
Semantics\NullableReferenceTypesTests.cs (1)
144396Assert.NotEqual(directive == "annotations", IsNullableAnalysisEnabled(comp, "D.M"));
Semantics\NullCoalesceAssignmentTests.cs (5)
47Assert.NotEqual(default, typeInfo); 82Assert.NotEqual(default, whenNullTypeInfo); 89Assert.NotEqual(default, typeInfo); 122Assert.NotEqual(default, whenNullTypeInfo); 132Assert.NotEqual(default, typeInfo);
Semantics\OperatorTests.cs (9)
56Assert.NotEqual(insideEnumDefinition, insideMethodBody); 7727Assert.NotEqual(symbols1[i], symbols2[i]); 8138Assert.NotEqual(symbol1.Parameters[0], symbol5.Parameters[1]); 8486Assert.NotEqual(symbol1, symbol3); 8504Assert.NotEqual(symbol1, symbol4); 8518Assert.NotEqual(symbol1, symbol3); 8527Assert.NotEqual(symbol1, symbol4); 8610Assert.NotEqual(symbols1[i], symbols2[i]); 8710Assert.NotEqual(symbols1[i], symbols2[i]);
Semantics\QueryTests.cs (4)
1462Assert.NotEqual(MethodKind.ReducedExtension, ((IMethodSymbol)info0.CastInfo.Symbol).MethodKind); 1471Assert.NotEqual(MethodKind.ReducedExtension, ((IMethodSymbol)info1.OperationInfo.Symbol).MethodKind); 3382Assert.NotEqual(TypeKind.Error, typeInfo2.Type.TypeKind); 3391Assert.NotEqual(TypeKind.Error, typeInfo1.Type.TypeKind);
Semantics\ScriptSemanticsTests.cs (1)
602Assert.NotEqual(TypeKind.Submission, type.TypeKind);
Semantics\SwitchTests.cs (1)
1159Assert.NotEqual(default, symbolInfo);
Semantics\SyntaxTreeRootTests.cs (1)
54Assert.NotEqual(typeof(CompilationUnitSyntax), root.GetType());
Semantics\TopLevelStatementsTests.cs (2)
362Assert.NotEqual(refMethod, declMethod); 4958Assert.NotEqual(symbol1, symbol2);
Semantics\UnsafeTests.cs (2)
8388Assert.NotEqual(SpecialType.System_Void, ((IPointerTypeSymbol)type).PointedAtType.SpecialType); 10636Assert.NotEqual(SpecialType.None, type.SpecialType);
Semantics\UsingStatementTests.cs (1)
72Assert.NotEqual(default, info);
SourceGeneration\GeneratorDriverTests.cs (13)
138Assert.NotEqual(compilation, outputCompilation); 233Assert.NotEqual(compilation, outputCompilation1); 234Assert.NotEqual(compilation, outputCompilation2); 235Assert.NotEqual(compilation, outputCompilation3); 3429Assert.NotEqual(TimeSpan.Zero, timing.ElapsedTime); 3433Assert.NotEqual(TimeSpan.Zero, generatorTiming.ElapsedTime); 3469Assert.NotEqual(TimeSpan.Zero, timing.ElapsedTime); 3474Assert.NotEqual(TimeSpan.Zero, timing1.ElapsedTime); 3479Assert.NotEqual(TimeSpan.Zero, timing2.ElapsedTime); 3509Assert.NotEqual(TimeSpan.Zero, timing.ElapsedTime); 3513Assert.NotEqual(TimeSpan.Zero, generatorTiming.ElapsedTime); 3520Assert.NotEqual(TimeSpan.Zero, timing2.ElapsedTime); 3525Assert.NotEqual(TimeSpan.Zero, generatorTiming2.ElapsedTime);
SourceGeneration\SyntaxAwareGeneratorTests.cs (4)
346Assert.NotEqual(receiver, previousReceiver); 2101Assert.NotEqual(TimeSpan.Zero, timing.ElapsedTime); 2107Assert.NotEqual(TimeSpan.Zero, timing1.ElapsedTime); 2114Assert.NotEqual(TimeSpan.Zero, timing2.ElapsedTime);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (100)
Compilation\CompilationAPITests.cs (10)
362Assert.NotEqual(default, comp.SyntaxTrees); 2853Assert.NotEqual(addBuiltInChecked, symbol); 2854Assert.NotEqual(subtractBuiltIn, symbol); 2855Assert.NotEqual(subtractBuiltInChecked, symbol); 2887Assert.NotEqual(addBuiltIn, symbol); 2889Assert.NotEqual(subtractBuiltIn, symbol); 2890Assert.NotEqual(subtractBuiltInChecked, symbol); 2919Assert.NotEqual(addBuiltIn, symbol); 2921Assert.NotEqual(subtractBuiltIn, symbol); 2922Assert.NotEqual(subtractBuiltInChecked, symbol);
Compilation\CSharpCompilationOptionsTests.cs (2)
48Assert.NotEqual(validNonDefaultValue, validDefaultValue); 483Assert.NotEqual(oldOptions, newOptions);
Compilation\GetSemanticInfoTests.cs (9)
601Assert.NotEqual(default, info); 632Assert.NotEqual(default, info); 845Assert.NotEqual(default, info); 872Assert.NotEqual(default, info); 1070Assert.NotEqual(default, bindInfo); 1089Assert.NotEqual(default, bindInfo); 1114Assert.NotEqual(default, bindInfo); 1135Assert.NotEqual(0, root.SpanStart); 5482Assert.NotEqual(0, invocationInfo.CandidateSymbols.Length);
Compilation\IndexedProperties_BindingTests.cs (2)
151Assert.NotEqual(default, methodGroup); 154Assert.NotEqual(default, indexerGroup);
Compilation\ReferenceManagerTests.cs (1)
1662Assert.NotEqual(comp.Assembly.Identity, actualIdentity);
Compilation\SemanticModelAPITests.cs (21)
254Assert.NotEqual(model1, model2); 274Assert.NotEqual(model1, model2); 281Assert.NotEqual(symbol1, symbol2); 293Assert.NotEqual(model1, model2); 313Assert.NotEqual(model1, model2); 320Assert.NotEqual(symbol1, symbol2); 332Assert.NotEqual(model1, model2); 351Assert.NotEqual(model1, model2); 373Assert.NotEqual(model1, model2); 381Assert.NotEqual(symbol1.ContainingSymbol, symbol2.ContainingSymbol); 382Assert.NotEqual(symbol1, symbol2); 873Assert.NotEqual(pType01, pType02); 882Assert.NotEqual(pMethod01, pMethod02); 900Assert.NotEqual(pParam01, pParam02); 975Assert.NotEqual(sym1.Locations[0], sym2.Locations[0]); 1016Assert.NotEqual(sym1.Locations[0], sym2.Locations[0]); 1214Assert.NotEqual(parasym, argsym1); 1215Assert.NotEqual(parasym, argsym2); 2000Assert.NotEqual(default, info); 2043Assert.NotEqual(default, typeInfo); 2050Assert.NotEqual(default, symbolInfo);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (3)
2978Assert.NotEqual(dsyma1, dsyma2); 3934Assert.NotEqual(alias1.Locations.Single(), alias2.Locations.Single()); 4777Assert.NotEqual(structSymbol, interfaceSymbol);
Compilation\SemanticModelGetSemanticInfoTests.cs (7)
3843Assert.NotEqual(CandidateReason.None, semanticInfo.CandidateReason); 3844Assert.NotEqual(0, semanticInfo.CandidateSymbols.Length); 6348Assert.NotEqual(semanticInfo.Type, param.Type); 9278Assert.NotEqual(type, constructedFrom); 9282Assert.NotEqual(type.TypeParameters[0], type.OriginalDefinition.TypeParameters[0]); // alpha renamed 14488Assert.NotEqual(default, typeInfo); 14742Assert.NotEqual(default, info1);
DocumentationComments\CrefTests.cs (2)
5569Assert.NotEqual(crefTypeParam, sourceTypeParam); 5570Assert.NotEqual(sourceTypeParam, crefTypeParam);
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (1)
887Assert.NotEqual(MethodKind.Ordinary, m.MethodKind);
Symbols\AnonymousTypesSemanticsTests.cs (1)
84Assert.NotEqual(info0.Type, info1.Type);
Symbols\AnonymousTypesSymbolTests.cs (2)
1000Assert.NotEqual(default, typeDescr); 1698Assert.NotEqual(typeA3.Locations[0], typeA4.Locations[0]);
Symbols\CompilationCreationTests.cs (1)
2528Assert.NotEqual(SymbolKind.ErrorType, typeC5.Kind);
Symbols\CorLibrary\CorTypes.cs (3)
76Assert.NotEqual(TypeKind.Error, t.TypeKind); 93Assert.NotEqual(TypeKind.Error, t.TypeKind); 151Assert.NotEqual(TypeKind.Error, t.TypeKind);
Symbols\DefaultInterfaceImplementationTests.cs (13)
214Assert.NotEqual(0, rva); 2135Assert.NotEqual(0, rva); 2719Assert.NotEqual(0, rva); 2725Assert.NotEqual(0, rva); 6440Assert.NotEqual(0, rva); 6446Assert.NotEqual(0, rva); 18344Assert.NotEqual(isAbstract, p1.IsVirtual); 18381Assert.NotEqual(isAbstract || access == Accessibility.Private, m1.IsVirtual); 33078Assert.NotEqual(0, rva); 33906Assert.NotEqual(m1.OriginalDefinition is PEMethodSymbol, m1.IsExtern); 34023Assert.NotEqual(m1 is PEMethodSymbol, m1.IsAsync); 34031Assert.NotEqual(0, rva); 38017Assert.NotEqual(m1.OriginalDefinition is PEPropertySymbol, m1.IsExtern);
Symbols\DestructorTests.cs (1)
417Assert.NotEqual(default, info);
Symbols\ExtendedPartialMethodsTests.cs (1)
3500Assert.NotEqual(implSymbol, defSymbol);
Symbols\Metadata\PE\LoadingIndexers.cs (1)
1037Assert.NotEqual(expectIndexer, property.MustCallMethodsDirectly);
Symbols\Metadata\PE\NoPia.cs (3)
1239Assert.NotEqual(SymbolKind.ErrorType, varI5.Kind); 1240Assert.NotEqual(SymbolKind.ErrorType, varI6.Kind); 1259Assert.NotEqual(SymbolKind.ErrorType, varI1.Kind);
Symbols\Metadata\PE\TypeForwarders.cs (2)
1498Assert.NotEqual(TypeKind.Error, type.TypeKind); 1767Assert.NotEqual(TypeKind.Error, type.TypeKind);
Symbols\MethodEqualityTests.cs (6)
226Assert.NotEqual(invokedMethods[0], classMethodDeclaration); 227Assert.NotEqual(invokedMethods[1], classMethodDeclaration); 228Assert.NotEqual(invokedMethods[2], classMethodDeclaration); 231Assert.NotEqual(invokedMethods[5], classMethodDeclaration); 258Assert.NotEqual(method1, method2); 259Assert.NotEqual(method2, method1);
Symbols\MissingSpecialMember.cs (2)
310Assert.NotEqual(Accessibility.NotApplicable, lookupType.DeclaredAccessibility); 541Assert.NotEqual(SymbolKind.ErrorType, symbol.Kind);
Symbols\Source\BaseClassTests.cs (2)
1098Assert.NotEqual(B1, B2); 1224Assert.NotEqual(B1, B2);
Symbols\Source\FileModifierTests.cs (1)
4291Assert.NotEqual(types[0], types[1]);
Symbols\SymbolDistinguisherTests.cs (1)
318Assert.NotEqual(TypeKind.Error, validType.TypeKind);
Symbols\SymbolEqualityTests.cs (2)
382Assert.NotEqual(SymbolEqualityComparer.Default.GetHashCode(symbol1), SymbolEqualityComparer.Default.GetHashCode(symbol2)); 385Assert.NotEqual(SymbolEqualityComparer.ConsiderEverything.GetHashCode(symbol1), SymbolEqualityComparer.ConsiderEverything.GetHashCode(symbol2));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2001)
Diagnostics\DiagnosticTest.cs (1)
220Assert.NotEqual(0, ErrorFacts.GetWarningLevel(errorCode));
Diagnostics\LineSpanDirectiveTests.cs (1)
466Assert.NotEqual(SyntaxKind.None, directive.DirectiveNameToken.Kind());
Diagnostics\LocationsTests.cs (1)
521Assert.NotEqual(locationWithMapping, locationWithoutMapping);
Generated\Syntax.Test.xml.Generated.cs (244)
14105Assert.NotEqual(oldNode, newNode); 14131Assert.NotEqual(oldNode, newNode); 14157Assert.NotEqual(oldNode, newNode); 14183Assert.NotEqual(oldNode, newNode); 14209Assert.NotEqual(oldNode, newNode); 14235Assert.NotEqual(oldNode, newNode); 14261Assert.NotEqual(oldNode, newNode); 14287Assert.NotEqual(oldNode, newNode); 14313Assert.NotEqual(oldNode, newNode); 14339Assert.NotEqual(oldNode, newNode); 14365Assert.NotEqual(oldNode, newNode); 14391Assert.NotEqual(oldNode, newNode); 14417Assert.NotEqual(oldNode, newNode); 14443Assert.NotEqual(oldNode, newNode); 14469Assert.NotEqual(oldNode, newNode); 14495Assert.NotEqual(oldNode, newNode); 14521Assert.NotEqual(oldNode, newNode); 14547Assert.NotEqual(oldNode, newNode); 14573Assert.NotEqual(oldNode, newNode); 14599Assert.NotEqual(oldNode, newNode); 14625Assert.NotEqual(oldNode, newNode); 14651Assert.NotEqual(oldNode, newNode); 14677Assert.NotEqual(oldNode, newNode); 14703Assert.NotEqual(oldNode, newNode); 14729Assert.NotEqual(oldNode, newNode); 14755Assert.NotEqual(oldNode, newNode); 14781Assert.NotEqual(oldNode, newNode); 14807Assert.NotEqual(oldNode, newNode); 14833Assert.NotEqual(oldNode, newNode); 14859Assert.NotEqual(oldNode, newNode); 14885Assert.NotEqual(oldNode, newNode); 14911Assert.NotEqual(oldNode, newNode); 14937Assert.NotEqual(oldNode, newNode); 14963Assert.NotEqual(oldNode, newNode); 14989Assert.NotEqual(oldNode, newNode); 15015Assert.NotEqual(oldNode, newNode); 15041Assert.NotEqual(oldNode, newNode); 15067Assert.NotEqual(oldNode, newNode); 15093Assert.NotEqual(oldNode, newNode); 15119Assert.NotEqual(oldNode, newNode); 15145Assert.NotEqual(oldNode, newNode); 15171Assert.NotEqual(oldNode, newNode); 15197Assert.NotEqual(oldNode, newNode); 15223Assert.NotEqual(oldNode, newNode); 15249Assert.NotEqual(oldNode, newNode); 15275Assert.NotEqual(oldNode, newNode); 15301Assert.NotEqual(oldNode, newNode); 15327Assert.NotEqual(oldNode, newNode); 15353Assert.NotEqual(oldNode, newNode); 15379Assert.NotEqual(oldNode, newNode); 15405Assert.NotEqual(oldNode, newNode); 15431Assert.NotEqual(oldNode, newNode); 15457Assert.NotEqual(oldNode, newNode); 15483Assert.NotEqual(oldNode, newNode); 15509Assert.NotEqual(oldNode, newNode); 15535Assert.NotEqual(oldNode, newNode); 15561Assert.NotEqual(oldNode, newNode); 15587Assert.NotEqual(oldNode, newNode); 15613Assert.NotEqual(oldNode, newNode); 15639Assert.NotEqual(oldNode, newNode); 15665Assert.NotEqual(oldNode, newNode); 15691Assert.NotEqual(oldNode, newNode); 15717Assert.NotEqual(oldNode, newNode); 15743Assert.NotEqual(oldNode, newNode); 15769Assert.NotEqual(oldNode, newNode); 15795Assert.NotEqual(oldNode, newNode); 15821Assert.NotEqual(oldNode, newNode); 15847Assert.NotEqual(oldNode, newNode); 15873Assert.NotEqual(oldNode, newNode); 15899Assert.NotEqual(oldNode, newNode); 15925Assert.NotEqual(oldNode, newNode); 15951Assert.NotEqual(oldNode, newNode); 15977Assert.NotEqual(oldNode, newNode); 16003Assert.NotEqual(oldNode, newNode); 16029Assert.NotEqual(oldNode, newNode); 16055Assert.NotEqual(oldNode, newNode); 16081Assert.NotEqual(oldNode, newNode); 16107Assert.NotEqual(oldNode, newNode); 16133Assert.NotEqual(oldNode, newNode); 16159Assert.NotEqual(oldNode, newNode); 16185Assert.NotEqual(oldNode, newNode); 16211Assert.NotEqual(oldNode, newNode); 16237Assert.NotEqual(oldNode, newNode); 16263Assert.NotEqual(oldNode, newNode); 16289Assert.NotEqual(oldNode, newNode); 16315Assert.NotEqual(oldNode, newNode); 16341Assert.NotEqual(oldNode, newNode); 16367Assert.NotEqual(oldNode, newNode); 16393Assert.NotEqual(oldNode, newNode); 16419Assert.NotEqual(oldNode, newNode); 16445Assert.NotEqual(oldNode, newNode); 16471Assert.NotEqual(oldNode, newNode); 16497Assert.NotEqual(oldNode, newNode); 16523Assert.NotEqual(oldNode, newNode); 16549Assert.NotEqual(oldNode, newNode); 16575Assert.NotEqual(oldNode, newNode); 16601Assert.NotEqual(oldNode, newNode); 16627Assert.NotEqual(oldNode, newNode); 16653Assert.NotEqual(oldNode, newNode); 16679Assert.NotEqual(oldNode, newNode); 16705Assert.NotEqual(oldNode, newNode); 16731Assert.NotEqual(oldNode, newNode); 16757Assert.NotEqual(oldNode, newNode); 16783Assert.NotEqual(oldNode, newNode); 16809Assert.NotEqual(oldNode, newNode); 16835Assert.NotEqual(oldNode, newNode); 16861Assert.NotEqual(oldNode, newNode); 16887Assert.NotEqual(oldNode, newNode); 16913Assert.NotEqual(oldNode, newNode); 16939Assert.NotEqual(oldNode, newNode); 16965Assert.NotEqual(oldNode, newNode); 16991Assert.NotEqual(oldNode, newNode); 17017Assert.NotEqual(oldNode, newNode); 17043Assert.NotEqual(oldNode, newNode); 17069Assert.NotEqual(oldNode, newNode); 17095Assert.NotEqual(oldNode, newNode); 17121Assert.NotEqual(oldNode, newNode); 17147Assert.NotEqual(oldNode, newNode); 17173Assert.NotEqual(oldNode, newNode); 17199Assert.NotEqual(oldNode, newNode); 17225Assert.NotEqual(oldNode, newNode); 17251Assert.NotEqual(oldNode, newNode); 17277Assert.NotEqual(oldNode, newNode); 17303Assert.NotEqual(oldNode, newNode); 17329Assert.NotEqual(oldNode, newNode); 17355Assert.NotEqual(oldNode, newNode); 17381Assert.NotEqual(oldNode, newNode); 17407Assert.NotEqual(oldNode, newNode); 17433Assert.NotEqual(oldNode, newNode); 17459Assert.NotEqual(oldNode, newNode); 17485Assert.NotEqual(oldNode, newNode); 17511Assert.NotEqual(oldNode, newNode); 17537Assert.NotEqual(oldNode, newNode); 17563Assert.NotEqual(oldNode, newNode); 17589Assert.NotEqual(oldNode, newNode); 17615Assert.NotEqual(oldNode, newNode); 17641Assert.NotEqual(oldNode, newNode); 17667Assert.NotEqual(oldNode, newNode); 17693Assert.NotEqual(oldNode, newNode); 17719Assert.NotEqual(oldNode, newNode); 17745Assert.NotEqual(oldNode, newNode); 17771Assert.NotEqual(oldNode, newNode); 17797Assert.NotEqual(oldNode, newNode); 17823Assert.NotEqual(oldNode, newNode); 17849Assert.NotEqual(oldNode, newNode); 17875Assert.NotEqual(oldNode, newNode); 17901Assert.NotEqual(oldNode, newNode); 17927Assert.NotEqual(oldNode, newNode); 17953Assert.NotEqual(oldNode, newNode); 17979Assert.NotEqual(oldNode, newNode); 18005Assert.NotEqual(oldNode, newNode); 18031Assert.NotEqual(oldNode, newNode); 18057Assert.NotEqual(oldNode, newNode); 18083Assert.NotEqual(oldNode, newNode); 18109Assert.NotEqual(oldNode, newNode); 18135Assert.NotEqual(oldNode, newNode); 18161Assert.NotEqual(oldNode, newNode); 18187Assert.NotEqual(oldNode, newNode); 18213Assert.NotEqual(oldNode, newNode); 18239Assert.NotEqual(oldNode, newNode); 18265Assert.NotEqual(oldNode, newNode); 18291Assert.NotEqual(oldNode, newNode); 18317Assert.NotEqual(oldNode, newNode); 18343Assert.NotEqual(oldNode, newNode); 18369Assert.NotEqual(oldNode, newNode); 18395Assert.NotEqual(oldNode, newNode); 18421Assert.NotEqual(oldNode, newNode); 18447Assert.NotEqual(oldNode, newNode); 18473Assert.NotEqual(oldNode, newNode); 18499Assert.NotEqual(oldNode, newNode); 18525Assert.NotEqual(oldNode, newNode); 18551Assert.NotEqual(oldNode, newNode); 18577Assert.NotEqual(oldNode, newNode); 18603Assert.NotEqual(oldNode, newNode); 18629Assert.NotEqual(oldNode, newNode); 18655Assert.NotEqual(oldNode, newNode); 18681Assert.NotEqual(oldNode, newNode); 18707Assert.NotEqual(oldNode, newNode); 18733Assert.NotEqual(oldNode, newNode); 18759Assert.NotEqual(oldNode, newNode); 18785Assert.NotEqual(oldNode, newNode); 18811Assert.NotEqual(oldNode, newNode); 18837Assert.NotEqual(oldNode, newNode); 18863Assert.NotEqual(oldNode, newNode); 18889Assert.NotEqual(oldNode, newNode); 18915Assert.NotEqual(oldNode, newNode); 18941Assert.NotEqual(oldNode, newNode); 18967Assert.NotEqual(oldNode, newNode); 18993Assert.NotEqual(oldNode, newNode); 19019Assert.NotEqual(oldNode, newNode); 19045Assert.NotEqual(oldNode, newNode); 19071Assert.NotEqual(oldNode, newNode); 19097Assert.NotEqual(oldNode, newNode); 19123Assert.NotEqual(oldNode, newNode); 19149Assert.NotEqual(oldNode, newNode); 19175Assert.NotEqual(oldNode, newNode); 19201Assert.NotEqual(oldNode, newNode); 19227Assert.NotEqual(oldNode, newNode); 19253Assert.NotEqual(oldNode, newNode); 19279Assert.NotEqual(oldNode, newNode); 19305Assert.NotEqual(oldNode, newNode); 19331Assert.NotEqual(oldNode, newNode); 19357Assert.NotEqual(oldNode, newNode); 19383Assert.NotEqual(oldNode, newNode); 19409Assert.NotEqual(oldNode, newNode); 19435Assert.NotEqual(oldNode, newNode); 19461Assert.NotEqual(oldNode, newNode); 19487Assert.NotEqual(oldNode, newNode); 19513Assert.NotEqual(oldNode, newNode); 19539Assert.NotEqual(oldNode, newNode); 19565Assert.NotEqual(oldNode, newNode); 19591Assert.NotEqual(oldNode, newNode); 19617Assert.NotEqual(oldNode, newNode); 19643Assert.NotEqual(oldNode, newNode); 19669Assert.NotEqual(oldNode, newNode); 19695Assert.NotEqual(oldNode, newNode); 19721Assert.NotEqual(oldNode, newNode); 19747Assert.NotEqual(oldNode, newNode); 19773Assert.NotEqual(oldNode, newNode); 19799Assert.NotEqual(oldNode, newNode); 19825Assert.NotEqual(oldNode, newNode); 19851Assert.NotEqual(oldNode, newNode); 19877Assert.NotEqual(oldNode, newNode); 19903Assert.NotEqual(oldNode, newNode); 19929Assert.NotEqual(oldNode, newNode); 19955Assert.NotEqual(oldNode, newNode); 19981Assert.NotEqual(oldNode, newNode); 20007Assert.NotEqual(oldNode, newNode); 20033Assert.NotEqual(oldNode, newNode); 20059Assert.NotEqual(oldNode, newNode); 20085Assert.NotEqual(oldNode, newNode); 20111Assert.NotEqual(oldNode, newNode); 20137Assert.NotEqual(oldNode, newNode); 20163Assert.NotEqual(oldNode, newNode); 20189Assert.NotEqual(oldNode, newNode); 20215Assert.NotEqual(oldNode, newNode); 20241Assert.NotEqual(oldNode, newNode); 20267Assert.NotEqual(oldNode, newNode); 20293Assert.NotEqual(oldNode, newNode); 20319Assert.NotEqual(oldNode, newNode); 20345Assert.NotEqual(oldNode, newNode); 20371Assert.NotEqual(oldNode, newNode); 20397Assert.NotEqual(oldNode, newNode); 20423Assert.NotEqual(oldNode, newNode);
LexicalAndXml\LexicalTests.cs (233)
107Assert.NotEqual(default, token); 115Assert.NotEqual(default, trivia[0]); 126Assert.NotEqual(default, token); 134Assert.NotEqual(default, trivia[0]); 145Assert.NotEqual(default, token); 153Assert.NotEqual(default, trivia[0]); 186Assert.NotEqual(default, token); 193Assert.NotEqual(default, trivia[0]); 208Assert.NotEqual(default, token); 215Assert.NotEqual(default, trivia[0]); 230Assert.NotEqual(default, token); 237Assert.NotEqual(default, trivia[0]); 248Assert.NotEqual(default, token); 255Assert.NotEqual(default, trivia[0]); 268Assert.NotEqual(default, token); 277Assert.NotEqual(default, trivia[0]); 292Assert.NotEqual(default, token); 301Assert.NotEqual(default, trivia[0]); 316Assert.NotEqual(default, token); 325Assert.NotEqual(default, trivia[0]); 336Assert.NotEqual(default, token); 347Assert.NotEqual(default, trivia[0]); 358Assert.NotEqual(default, token); 369Assert.NotEqual(default, trivia[0]); 380Assert.NotEqual(default, token); 391Assert.NotEqual(default, trivia[0]); 402Assert.NotEqual(default, token); 411Assert.NotEqual(default, trivia[0]); 423Assert.NotEqual(default, token); 439Assert.NotEqual(default, trivia[0]); 450Assert.NotEqual(default, token); 473Assert.NotEqual(default, token); 478Assert.NotEqual(default, token); 490Assert.NotEqual(default, token); 511Assert.NotEqual(default, token); 539Assert.NotEqual(default, token); 565Assert.NotEqual(default, token); 595Assert.NotEqual(default, token); 603Assert.NotEqual(default, trivia[0]); 614Assert.NotEqual(default, token); 629Assert.NotEqual(default, token); 644Assert.NotEqual(default, token); 659Assert.NotEqual(default, token); 674Assert.NotEqual(default, token); 689Assert.NotEqual(default, token); 704Assert.NotEqual(default, token); 719Assert.NotEqual(default, token); 736Assert.NotEqual(default, token); 753Assert.NotEqual(default, token); 770Assert.NotEqual(default, token); 787Assert.NotEqual(default, token); 804Assert.NotEqual(default, token); 821Assert.NotEqual(default, token); 843Assert.NotEqual(default, token); 860Assert.NotEqual('\\', text[0]); 863Assert.NotEqual(default, token); 884Assert.NotEqual(default, token); 963Assert.NotEqual(default, token); 978Assert.NotEqual(default, token); 993Assert.NotEqual(default, token); 1008Assert.NotEqual(default, token); 1023Assert.NotEqual(default, token); 1038Assert.NotEqual(default, token); 1040Assert.NotEqual(text, token.Text); 1054Assert.NotEqual(default, token); 1070Assert.NotEqual(default, token); 1087Assert.NotEqual(default, token); 1103Assert.NotEqual(default, token); 1119Assert.NotEqual(default, token); 1135Assert.NotEqual(default, token); 1154Assert.NotEqual(default, token); 1173Assert.NotEqual(default, token); 1191Assert.NotEqual(default, token); 1207Assert.NotEqual(default, token); 1223Assert.NotEqual(default, token); 1239Assert.NotEqual(default, token); 1255Assert.NotEqual(default, token); 1271Assert.NotEqual(default, token); 1287Assert.NotEqual(default, token); 1303Assert.NotEqual(default, token); 1319Assert.NotEqual(default, token); 1335Assert.NotEqual(default, token); 1352Assert.NotEqual(default, token); 1368Assert.NotEqual(default, token); 1384Assert.NotEqual(default, token); 1400Assert.NotEqual(default, token); 1416Assert.NotEqual(default, token); 1432Assert.NotEqual(default, token); 1448Assert.NotEqual(default, token); 1464Assert.NotEqual(default, token); 1480Assert.NotEqual(default, token); 1496Assert.NotEqual(default, token); 1513Assert.NotEqual(default, token); 1530Assert.NotEqual(default, token); 1546Assert.NotEqual(default, token); 1564Assert.NotEqual(default, token); 1584Assert.NotEqual(default, token); 1599Assert.NotEqual(default, token); 1614Assert.NotEqual(default, token); 1629Assert.NotEqual(default, token); 1644Assert.NotEqual(default, token); 1659Assert.NotEqual(default, token); 1675Assert.NotEqual(default, token); 1691Assert.NotEqual(default, token); 1707Assert.NotEqual(default, token); 1723Assert.NotEqual(default, token); 1740Assert.NotEqual(default, token); 1756Assert.NotEqual(default, token); 1772Assert.NotEqual(default, token); 1788Assert.NotEqual(default, token); 1804Assert.NotEqual(default, token); 1819Assert.NotEqual(default, token); 1833Assert.NotEqual(default, token); 1848Assert.NotEqual(default, token); 1863Assert.NotEqual(default, token); 1878Assert.NotEqual(default, token); 1893Assert.NotEqual(default, token); 1908Assert.NotEqual(default, token); 1931Assert.NotEqual(default, token); 1946Assert.NotEqual(default, token); 1961Assert.NotEqual(default, token); 1976Assert.NotEqual(default, token); 1991Assert.NotEqual(default, token); 2007Assert.NotEqual(default, token); 2023Assert.NotEqual(default, token); 2039Assert.NotEqual(default, token); 2055Assert.NotEqual(default, token); 2071Assert.NotEqual(default, token); 2087Assert.NotEqual(default, token); 2103Assert.NotEqual(default, token); 2119Assert.NotEqual(default, token); 2135Assert.NotEqual(default, token); 2151Assert.NotEqual(default, token); 2167Assert.NotEqual(default, token); 2183Assert.NotEqual(default, token); 2199Assert.NotEqual(default, token); 2215Assert.NotEqual(default, token); 2231Assert.NotEqual(default, token); 2247Assert.NotEqual(default, token); 2263Assert.NotEqual(default, token); 2273Assert.NotEqual(default, token); 2289Assert.NotEqual(default, token); 2299Assert.NotEqual(default, token); 2315Assert.NotEqual(default, token); 2325Assert.NotEqual(default, token); 2341Assert.NotEqual(default, token); 2351Assert.NotEqual(default, token); 2367Assert.NotEqual(default, token); 2377Assert.NotEqual(default, token); 2393Assert.NotEqual(default, token); 2403Assert.NotEqual(default, token); 2418Assert.NotEqual(default, token); 2429Assert.NotEqual(default, token); 2444Assert.NotEqual(default, token); 2455Assert.NotEqual(default, token); 2484Assert.NotEqual(default, token); 2494Assert.NotEqual(default, token); 2510Assert.NotEqual(default, token); 2520Assert.NotEqual(default, token); 2535Assert.NotEqual(default, token); 2546Assert.NotEqual(default, token); 2561Assert.NotEqual(default, token); 2572Assert.NotEqual(default, token); 2586Assert.NotEqual(default, token); 2601Assert.NotEqual(default, token); 2617Assert.NotEqual(default, token); 2633Assert.NotEqual(default, token); 2649Assert.NotEqual(default, token); 2664Assert.NotEqual(default, token); 2679Assert.NotEqual(default, token); 2694Assert.NotEqual(default, token); 2709Assert.NotEqual(default, token); 2724Assert.NotEqual(default, token); 2740Assert.NotEqual(default, token); 2756Assert.NotEqual(default, token); 2772Assert.NotEqual(default, token); 2788Assert.NotEqual(default, token); 2804Assert.NotEqual(default, token); 2820Assert.NotEqual(default, token); 2836Assert.NotEqual(default, token); 2852Assert.NotEqual(default, token); 2868Assert.NotEqual(default, token); 2884Assert.NotEqual(default, token); 2900Assert.NotEqual(default, token); 2916Assert.NotEqual(default, token); 2932Assert.NotEqual(default, token); 2948Assert.NotEqual(default, token); 2964Assert.NotEqual(default, token); 2980Assert.NotEqual(default, token); 2996Assert.NotEqual(default, token); 3012Assert.NotEqual(default, token); 3027Assert.NotEqual(default, token); 3043Assert.NotEqual(default, token); 3059Assert.NotEqual(default, token); 3068Assert.NotEqual(default, token); 3077Assert.NotEqual(default, token); 3086Assert.NotEqual(default, token); 3095Assert.NotEqual(default, token); 3104Assert.NotEqual(default, token); 3113Assert.NotEqual(default, token); 3141Assert.NotEqual(default, token); 3150Assert.NotEqual(default, token); 3159Assert.NotEqual(default, token); 3168Assert.NotEqual(default, token); 3224Assert.NotEqual(default, token); 3231Assert.NotEqual(default, token); 3242Assert.NotEqual(default, token); 3257Assert.NotEqual(default, token); 3268Assert.NotEqual(default, token); 3279Assert.NotEqual(default, token); 3290Assert.NotEqual(default, token); 3301Assert.NotEqual(default, token); 3312Assert.NotEqual(default, token); 3323Assert.NotEqual(default, token); 3334Assert.NotEqual(default, token); 3345Assert.NotEqual(default, token); 3356Assert.NotEqual(default, token); 3367Assert.NotEqual(default, token); 3385Assert.NotEqual(default, token); 3401Assert.NotEqual(default, token); 3417Assert.NotEqual(default, token); 3433Assert.NotEqual(default, token); 3454Assert.NotEqual(default, token); 3465Assert.NotEqual(default, token); 3475Assert.NotEqual(default, token); 3556Assert.NotEqual(default, token); 3569Assert.NotEqual(default, token); 3579Assert.NotEqual(default, token); 3589Assert.NotEqual(default, token); 3600Assert.NotEqual(default, token); 3613Assert.NotEqual(default, token); 3631Assert.NotEqual(default, token); 3651Assert.NotEqual(default, token);
LexicalAndXml\PreprocessorTests.cs (1)
251Assert.NotEqual(SyntaxKind.None, ld.File.Kind());
LexicalAndXml\XmlDocCommentTests.cs (11)
116Assert.NotEqual(0, tree.GetCompilationUnitRoot().ErrorsAndWarnings().Length); 734Assert.NotEqual(0, tree.GetCompilationUnitRoot().ErrorsAndWarnings().Length); 741Assert.NotEqual(0, doc.ErrorsAndWarnings().Length); 1297Assert.NotEqual(0, node.ErrorsAndWarnings().Length); 1505Assert.NotEqual(0, tree.GetCompilationUnitRoot().ErrorsAndWarnings().Length); 1516Assert.NotEqual(0, tree.GetCompilationUnitRoot().ErrorsAndWarnings().Length); 1527Assert.NotEqual(0, tree.GetCompilationUnitRoot().ErrorsAndWarnings().Length); 1538Assert.NotEqual(0, tree.GetCompilationUnitRoot().ErrorsAndWarnings().Length); 1549Assert.NotEqual(0, tree.GetCompilationUnitRoot().ErrorsAndWarnings().Length); 1616Assert.NotEqual(0, tree.GetCompilationUnitRoot().ErrorsAndWarnings().Length); 1628Assert.NotEqual(0, element.Attributes[0].ErrorsAndWarnings().Length);
Parsing\CSharpParseOptionsTests.cs (1)
128Assert.NotEqual(options1.GetHashCode(), options2.GetHashCode());
Parsing\DeclarationParsingTests.cs (877)
41Assert.NotEqual(default, ea.ExternKeyword); 43Assert.NotEqual(default, ea.AliasKeyword); 46Assert.NotEqual(default, ea.Identifier); 48Assert.NotEqual(default, ea.SemicolonToken); 64Assert.NotEqual(default, ud.UsingKeyword); 70Assert.NotEqual(default, ud.SemicolonToken); 86Assert.NotEqual(default, ud.UsingKeyword); 92Assert.NotEqual(default, ud.SemicolonToken); 153Assert.NotEqual(default, ud.UsingKeyword); 159Assert.NotEqual(default, ud.SemicolonToken); 175Assert.NotEqual(default, ud.UsingKeyword); 181Assert.NotEqual(default, ud.SemicolonToken); 197Assert.NotEqual(default, ud.UsingKeyword); 203Assert.NotEqual(default, ud.SemicolonToken); 219Assert.NotEqual(default, ud.UsingKeyword); 224Assert.NotEqual(default, ud.Alias.EqualsToken); 227Assert.NotEqual(default, ud.SemicolonToken); 243Assert.NotEqual(default, ud.UsingKeyword); 248Assert.NotEqual(default, ud.Alias.EqualsToken); 251Assert.NotEqual(default, ud.SemicolonToken); 268Assert.NotEqual(default, ad.OpenBracketToken); 270Assert.NotEqual(default, ad.Target.Identifier); 272Assert.NotEqual(default, ad.Target.ColonToken); 277Assert.NotEqual(default, ad.CloseBracketToken); 294Assert.NotEqual(default, ad.OpenBracketToken); 296Assert.NotEqual(default, ad.Target.Identifier); 301Assert.NotEqual(default, ad.Target.ColonToken); 306Assert.NotEqual(default, ad.CloseBracketToken); 323Assert.NotEqual(default, ad.OpenBracketToken); 325Assert.NotEqual(default, ad.Target.Identifier); 330Assert.NotEqual(default, ad.Target.ColonToken); 335Assert.NotEqual(default, ad.CloseBracketToken); 352Assert.NotEqual(default, ad.OpenBracketToken); 354Assert.NotEqual(default, ad.Target.Identifier); 357Assert.NotEqual(default, ad.Target.ColonToken); 362Assert.NotEqual(default, ad.CloseBracketToken); 379Assert.NotEqual(default, ad.OpenBracketToken); 381Assert.NotEqual(default, ad.Target.Identifier); 385Assert.NotEqual(default, ad.Target.ColonToken); 390Assert.NotEqual(default, ad.CloseBracketToken); 407Assert.NotEqual(default, ad.OpenBracketToken); 409Assert.NotEqual(default, ad.Target.Identifier); 412Assert.NotEqual(default, ad.Target.ColonToken); 417Assert.NotEqual(default, ad.Attributes[0].ArgumentList.OpenParenToken); 419Assert.NotEqual(default, ad.Attributes[0].ArgumentList.CloseParenToken); 420Assert.NotEqual(default, ad.CloseBracketToken); 437Assert.NotEqual(default, ad.OpenBracketToken); 439Assert.NotEqual(default, ad.Target.Identifier); 441Assert.NotEqual(default, ad.Target.ColonToken); 446Assert.NotEqual(default, ad.Attributes[0].ArgumentList.OpenParenToken); 450Assert.NotEqual(default, ad.Attributes[0].ArgumentList.CloseParenToken); 451Assert.NotEqual(default, ad.CloseBracketToken); 468Assert.NotEqual(default, ad.OpenBracketToken); 470Assert.NotEqual(default, ad.Target.Identifier); 472Assert.NotEqual(default, ad.Target.ColonToken); 477Assert.NotEqual(default, ad.Attributes[0].ArgumentList.OpenParenToken); 483Assert.NotEqual(default, ad.Attributes[0].ArgumentList.Arguments[0].NameEquals.EqualsToken); 486Assert.NotEqual(default, ad.Attributes[0].ArgumentList.CloseParenToken); 487Assert.NotEqual(default, ad.CloseBracketToken); 504Assert.NotEqual(default, ad.OpenBracketToken); 506Assert.NotEqual(default, ad.Target.Identifier); 508Assert.NotEqual(default, ad.Target.ColonToken); 519Assert.NotEqual(default, ad.CloseBracketToken); 535Assert.NotEqual(default, ad.OpenBracketToken); 537Assert.NotEqual(default, ad.Target.Identifier); 539Assert.NotEqual(default, ad.Target.ColonToken); 544Assert.NotEqual(default, ad.CloseBracketToken); 547Assert.NotEqual(default, ad.OpenBracketToken); 549Assert.NotEqual(default, ad.Target.Identifier); 551Assert.NotEqual(default, ad.Target.ColonToken); 556Assert.NotEqual(default, ad.CloseBracketToken); 572Assert.NotEqual(default, ns.NamespaceKeyword); 575Assert.NotEqual(default, ns.OpenBraceToken); 578Assert.NotEqual(default, ns.CloseBraceToken); 594Assert.NotEqual(default, ns.NamespaceKeyword); 597Assert.NotEqual(default, ns.SemicolonToken); 615Assert.NotEqual(default, ns.NamespaceKeyword); 618Assert.NotEqual(default, ns.OpenBraceToken); 621Assert.NotEqual(default, ns.CloseBraceToken); 637Assert.NotEqual(default, ns.NamespaceKeyword); 640Assert.NotEqual(default, ns.OpenBraceToken); 644Assert.NotEqual(default, ns.CloseBraceToken); 660Assert.NotEqual(default, ns.NamespaceKeyword); 663Assert.NotEqual(default, ns.SemicolonToken); 682Assert.NotEqual(default, ns.NamespaceKeyword); 685Assert.NotEqual(default, ns.OpenBraceToken); 689Assert.NotEqual(default, ns.CloseBraceToken); 705Assert.NotEqual(default, ns.NamespaceKeyword); 708Assert.NotEqual(default, ns.SemicolonToken); 727Assert.NotEqual(default, ns.NamespaceKeyword); 730Assert.NotEqual(default, ns.OpenBraceToken); 735Assert.NotEqual(default, ns.CloseBraceToken); 751Assert.NotEqual(default, ns.NamespaceKeyword); 754Assert.NotEqual(default, ns.OpenBraceToken); 759Assert.NotEqual(default, ns2.NamespaceKeyword); 762Assert.NotEqual(default, ns2.OpenBraceToken); 766Assert.NotEqual(default, ns.CloseBraceToken); 784Assert.NotEqual(default, cs.Keyword); 786Assert.NotEqual(default, cs.Identifier); 790Assert.NotEqual(default, cs.OpenBraceToken); 792Assert.NotEqual(default, cs.CloseBraceToken); 811Assert.NotEqual(default, cs.Keyword); 813Assert.NotEqual(default, cs.Identifier); 817Assert.NotEqual(default, cs.OpenBraceToken); 819Assert.NotEqual(default, cs.CloseBraceToken); 838Assert.NotEqual(default, cs.Keyword); 840Assert.NotEqual(default, cs.Identifier); 844Assert.NotEqual(default, cs.OpenBraceToken); 846Assert.NotEqual(default, cs.CloseBraceToken); 865Assert.NotEqual(default, cs.Keyword); 867Assert.NotEqual(default, cs.Identifier); 871Assert.NotEqual(default, cs.OpenBraceToken); 873Assert.NotEqual(default, cs.CloseBraceToken); 892Assert.NotEqual(default, cs.Keyword); 894Assert.NotEqual(default, cs.Identifier); 898Assert.NotEqual(default, cs.OpenBraceToken); 900Assert.NotEqual(default, cs.CloseBraceToken); 919Assert.NotEqual(default, cs.Keyword); 921Assert.NotEqual(default, cs.Identifier); 925Assert.NotEqual(default, cs.OpenBraceToken); 927Assert.NotEqual(default, cs.CloseBraceToken); 946Assert.NotEqual(default, cs.Keyword); 948Assert.NotEqual(default, cs.Identifier); 952Assert.NotEqual(default, cs.OpenBraceToken); 954Assert.NotEqual(default, cs.CloseBraceToken); 973Assert.NotEqual(default, cs.Keyword); 975Assert.NotEqual(default, cs.Identifier); 979Assert.NotEqual(default, cs.OpenBraceToken); 981Assert.NotEqual(default, cs.CloseBraceToken); 1001Assert.NotEqual(default, cs.Keyword); 1003Assert.NotEqual(default, cs.Identifier); 1007Assert.NotEqual(default, cs.OpenBraceToken); 1009Assert.NotEqual(default, cs.CloseBraceToken); 1028Assert.NotEqual(default, cs.Keyword); 1030Assert.NotEqual(default, cs.Identifier); 1034Assert.NotEqual(default, cs.OpenBraceToken); 1036Assert.NotEqual(default, cs.CloseBraceToken); 1054Assert.NotEqual(default, cs.Keyword); 1056Assert.NotEqual(default, cs.Identifier); 1060Assert.NotEqual(default, cs.BaseList.ColonToken); 1065Assert.NotEqual(default, cs.OpenBraceToken); 1067Assert.NotEqual(default, cs.CloseBraceToken); 1085Assert.NotEqual(default, cs.Keyword); 1087Assert.NotEqual(default, cs.Identifier); 1091Assert.NotEqual(default, cs.BaseList.ColonToken); 1097Assert.NotEqual(default, cs.OpenBraceToken); 1099Assert.NotEqual(default, cs.CloseBraceToken); 1117Assert.NotEqual(default, cs.Keyword); 1119Assert.NotEqual(default, cs.Identifier); 1126Assert.NotEqual(default, cs.ConstraintClauses[0].WhereKeyword); 1129Assert.NotEqual(default, cs.ConstraintClauses[0].ColonToken); 1137Assert.NotEqual(default, cs.OpenBraceToken); 1139Assert.NotEqual(default, cs.CloseBraceToken); 1159Assert.NotEqual(default, cs.Keyword); 1161Assert.NotEqual(default, cs.Identifier); 1167Assert.NotEqual(default, cs.ConstraintClauses[0].WhereKeyword); 1170Assert.NotEqual(default, cs.ConstraintClauses[0].ColonToken); 1178Assert.NotEqual(default, cs.OpenBraceToken); 1180Assert.NotEqual(default, cs.CloseBraceToken); 1220Assert.NotEqual(default, cs.Keyword); 1222Assert.NotEqual(default, cs.Identifier); 1229Assert.NotEqual(default, cs.ConstraintClauses[0].WhereKeyword); 1232Assert.NotEqual(default, cs.ConstraintClauses[0].ColonToken); 1237Assert.NotEqual(default, bound.NewKeyword); 1239Assert.NotEqual(default, bound.OpenParenToken); 1241Assert.NotEqual(default, bound.CloseParenToken); 1244Assert.NotEqual(default, cs.OpenBraceToken); 1246Assert.NotEqual(default, cs.CloseBraceToken); 1264Assert.NotEqual(default, cs.Keyword); 1266Assert.NotEqual(default, cs.Identifier); 1273Assert.NotEqual(default, cs.ConstraintClauses[0].WhereKeyword); 1276Assert.NotEqual(default, cs.ConstraintClauses[0].ColonToken); 1281Assert.NotEqual(default, bound.ClassOrStructKeyword); 1285Assert.NotEqual(default, cs.OpenBraceToken); 1287Assert.NotEqual(default, cs.CloseBraceToken); 1305Assert.NotEqual(default, cs.Keyword); 1307Assert.NotEqual(default, cs.Identifier); 1314Assert.NotEqual(default, cs.ConstraintClauses[0].WhereKeyword); 1317Assert.NotEqual(default, cs.ConstraintClauses[0].ColonToken); 1322Assert.NotEqual(default, bound.ClassOrStructKeyword); 1326Assert.NotEqual(default, cs.OpenBraceToken); 1328Assert.NotEqual(default, cs.CloseBraceToken); 1346Assert.NotEqual(default, cs.Keyword); 1348Assert.NotEqual(default, cs.Identifier); 1355Assert.NotEqual(default, cs.ConstraintClauses[0].WhereKeyword); 1358Assert.NotEqual(default, cs.ConstraintClauses[0].ColonToken); 1364Assert.NotEqual(default, classBound.ClassOrStructKeyword); 1375Assert.NotEqual(default, bound.NewKeyword); 1377Assert.NotEqual(default, bound.OpenParenToken); 1379Assert.NotEqual(default, bound.CloseParenToken); 1382Assert.NotEqual(default, cs.OpenBraceToken); 1384Assert.NotEqual(default, cs.CloseBraceToken); 1402Assert.NotEqual(default, cs.Keyword); 1404Assert.NotEqual(default, cs.Identifier); 1411Assert.NotEqual(default, cs.ConstraintClauses[0].WhereKeyword); 1414Assert.NotEqual(default, cs.ConstraintClauses[0].ColonToken); 1422Assert.NotEqual(default, cs.ConstraintClauses[1].WhereKeyword); 1425Assert.NotEqual(default, cs.ConstraintClauses[1].ColonToken); 1430Assert.NotEqual(default, bound.NewKeyword); 1432Assert.NotEqual(default, bound.OpenParenToken); 1434Assert.NotEqual(default, bound.CloseParenToken); 1437Assert.NotEqual(default, cs.OpenBraceToken); 1439Assert.NotEqual(default, cs.CloseBraceToken); 1457Assert.NotEqual(default, cs.Keyword); 1459Assert.NotEqual(default, cs.Identifier); 1466Assert.NotEqual(default, cs.ConstraintClauses[0].WhereKeyword); 1469Assert.NotEqual(default, cs.ConstraintClauses[0].ColonToken); 1477Assert.NotEqual(default, cs.ConstraintClauses[1].WhereKeyword); 1480Assert.NotEqual(default, cs.ConstraintClauses[1].ColonToken); 1503Assert.NotEqual(default, cs.Keyword); 1505Assert.NotEqual(default, cs.Identifier); 1512Assert.NotEqual(default, cs.ConstraintClauses[0].WhereKeyword); 1515Assert.NotEqual(default, cs.ConstraintClauses[0].ColonToken); 1523Assert.NotEqual(default, cs.ConstraintClauses[1].WhereKeyword); 1547Assert.NotEqual(default, cs.Keyword); 1549Assert.NotEqual(default, cs.Identifier); 1554Assert.NotEqual(default, cs.BaseList.ColonToken); 1560Assert.NotEqual(default, cs.ConstraintClauses[0].WhereKeyword); 1563Assert.NotEqual(default, cs.ConstraintClauses[0].ColonToken); 1569Assert.NotEqual(default, classBound.ClassOrStructKeyword); 1580Assert.NotEqual(default, bound.NewKeyword); 1582Assert.NotEqual(default, bound.OpenParenToken); 1584Assert.NotEqual(default, bound.CloseParenToken); 1587Assert.NotEqual(default, cs.OpenBraceToken); 1589Assert.NotEqual(default, cs.CloseBraceToken); 1607Assert.NotEqual(default, cs.Keyword); 1609Assert.NotEqual(default, cs.Identifier); 1613Assert.NotEqual(default, cs.OpenBraceToken); 1614Assert.NotEqual(default, cs.CloseBraceToken); 1632Assert.NotEqual(default, cs.Keyword); 1634Assert.NotEqual(default, cs.Identifier); 1643Assert.NotEqual(default, cs.OpenBraceToken); 1644Assert.NotEqual(default, cs.CloseBraceToken); 1662Assert.NotEqual(default, cs.Keyword); 1664Assert.NotEqual(default, cs.Identifier); 1671Assert.NotEqual(default, gn.Parameters[0].VarianceKeyword); 1675Assert.NotEqual(default, cs.OpenBraceToken); 1676Assert.NotEqual(default, cs.CloseBraceToken); 1694Assert.NotEqual(default, cs.Keyword); 1696Assert.NotEqual(default, cs.Identifier); 1700Assert.NotEqual(default, cs.OpenBraceToken); 1701Assert.NotEqual(default, cs.CloseBraceToken); 1719Assert.NotEqual(default, cs.Keyword); 1721Assert.NotEqual(default, cs.Identifier); 1725Assert.NotEqual(default, cs.OpenBraceToken); 1726Assert.NotEqual(default, cs.CloseBraceToken); 1734Assert.NotEqual(default, cs.Keyword); 1736Assert.NotEqual(default, cs.Identifier); 1740Assert.NotEqual(default, cs.OpenBraceToken); 1741Assert.NotEqual(default, cs.CloseBraceToken); 1759Assert.NotEqual(default, cs.Keyword); 1761Assert.NotEqual(default, cs.Identifier); 1765Assert.NotEqual(default, cs.OpenBraceToken); 1766Assert.NotEqual(default, cs.CloseBraceToken); 1775Assert.NotEqual(default, cs.Keyword); 1777Assert.NotEqual(default, cs.Identifier); 1781Assert.NotEqual(default, cs.OpenBraceToken); 1782Assert.NotEqual(default, cs.CloseBraceToken); 1800Assert.NotEqual(default, cs.Keyword); 1802Assert.NotEqual(default, cs.Identifier); 1806Assert.NotEqual(default, cs.OpenBraceToken); 1807Assert.NotEqual(default, cs.CloseBraceToken); 1816Assert.NotEqual(default, cs.Keyword); 1818Assert.NotEqual(default, cs.Identifier); 1822Assert.NotEqual(default, cs.OpenBraceToken); 1823Assert.NotEqual(default, cs.CloseBraceToken); 1841Assert.NotEqual(default, cs.Keyword); 1843Assert.NotEqual(default, cs.Identifier); 1847Assert.NotEqual(default, cs.OpenBraceToken); 1848Assert.NotEqual(default, cs.CloseBraceToken); 1858Assert.NotEqual(default, cs.Keyword); 1860Assert.NotEqual(default, cs.Identifier); 1864Assert.NotEqual(default, cs.OpenBraceToken); 1865Assert.NotEqual(default, cs.CloseBraceToken); 1883Assert.NotEqual(default, cs.Keyword); 1885Assert.NotEqual(default, cs.Identifier); 1889Assert.NotEqual(default, cs.OpenBraceToken); 1890Assert.NotEqual(default, cs.CloseBraceToken); 1900Assert.NotEqual(default, cs.Keyword); 1902Assert.NotEqual(default, cs.Identifier); 1906Assert.NotEqual(default, cs.OpenBraceToken); 1907Assert.NotEqual(default, cs.CloseBraceToken); 1925Assert.NotEqual(default, cs.Keyword); 1927Assert.NotEqual(default, cs.Identifier); 1931Assert.NotEqual(default, cs.OpenBraceToken); 1932Assert.NotEqual(default, cs.CloseBraceToken); 1941Assert.NotEqual(default, cs.Keyword); 1943Assert.NotEqual(default, cs.Identifier); 1947Assert.NotEqual(default, cs.OpenBraceToken); 1948Assert.NotEqual(default, cs.CloseBraceToken); 1966Assert.NotEqual(default, cs.Keyword); 1968Assert.NotEqual(default, cs.Identifier); 1972Assert.NotEqual(default, cs.OpenBraceToken); 1973Assert.NotEqual(default, cs.CloseBraceToken); 1982Assert.NotEqual(default, cs.Keyword); 1984Assert.NotEqual(default, cs.Identifier); 1988Assert.NotEqual(default, cs.OpenBraceToken); 1989Assert.NotEqual(default, cs.CloseBraceToken); 2005Assert.NotEqual(default, ds.DelegateKeyword); 2008Assert.NotEqual(default, ds.Identifier); 2010Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2013Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2015Assert.NotEqual(default, ds.SemicolonToken); 2032Assert.NotEqual(default, ds.DelegateKeyword); 2035Assert.NotEqual(default, ds.Identifier); 2037Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2040Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2042Assert.NotEqual(default, ds.SemicolonToken); 2060Assert.NotEqual(default, ds.DelegateKeyword); 2063Assert.NotEqual(default, ds.Identifier); 2065Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2068Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2070Assert.NotEqual(default, ds.SemicolonToken); 2107Assert.NotEqual(default, ds.DelegateKeyword); 2110Assert.NotEqual(default, ds.Identifier); 2112Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2115Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2117Assert.NotEqual(default, ds.SemicolonToken); 2153Assert.NotEqual(default, ds.DelegateKeyword); 2156Assert.NotEqual(default, ds.Identifier); 2158Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2166Assert.NotEqual(default, ds.ParameterList.Parameters[0].Identifier); 2169Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2171Assert.NotEqual(default, ds.SemicolonToken); 2188Assert.NotEqual(default, ds.DelegateKeyword); 2191Assert.NotEqual(default, ds.Identifier); 2193Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2201Assert.NotEqual(default, ds.ParameterList.Parameters[0].Identifier); 2204Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2206Assert.NotEqual(default, ds.SemicolonToken); 2223Assert.NotEqual(default, ds.DelegateKeyword); 2226Assert.NotEqual(default, ds.Identifier); 2228Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2236Assert.NotEqual(default, ds.ParameterList.Parameters[0].Identifier); 2243Assert.NotEqual(default, ds.ParameterList.Parameters[1].Identifier); 2246Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2248Assert.NotEqual(default, ds.SemicolonToken); 2265Assert.NotEqual(default, ds.DelegateKeyword); 2268Assert.NotEqual(default, ds.Identifier); 2270Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2279Assert.NotEqual(default, ds.ParameterList.Parameters[0].Identifier); 2282Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2284Assert.NotEqual(default, ds.SemicolonToken); 2301Assert.NotEqual(default, ds.DelegateKeyword); 2304Assert.NotEqual(default, ds.Identifier); 2306Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2315Assert.NotEqual(default, ds.ParameterList.Parameters[0].Identifier); 2318Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2320Assert.NotEqual(default, ds.SemicolonToken); 2337Assert.NotEqual(default, ds.DelegateKeyword); 2340Assert.NotEqual(default, ds.Identifier); 2342Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2351Assert.NotEqual(default, ds.ParameterList.Parameters[0].Identifier); 2354Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2356Assert.NotEqual(default, ds.SemicolonToken); 2374Assert.NotEqual(default, ds.DelegateKeyword); 2377Assert.NotEqual(default, ds.Identifier); 2379Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2386Assert.NotEqual(default, ds.ParameterList.Parameters[0].Identifier); 2388Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2390Assert.NotEqual(default, ds.SemicolonToken); 2407Assert.NotEqual(default, ds.DelegateKeyword); 2410Assert.NotEqual(default, ds.Identifier); 2412Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2421Assert.NotEqual(default, ds.ParameterList.Parameters[0].Identifier); 2424Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2426Assert.NotEqual(default, ds.SemicolonToken); 2445Assert.NotEqual(default, cs.Keyword); 2447Assert.NotEqual(default, cs.Identifier); 2451Assert.NotEqual(default, cs.OpenBraceToken); 2452Assert.NotEqual(default, cs.CloseBraceToken); 2458Assert.NotEqual(default, ds.DelegateKeyword); 2461Assert.NotEqual(default, ds.Identifier); 2463Assert.NotEqual(default, ds.ParameterList.OpenParenToken); 2466Assert.NotEqual(default, ds.ParameterList.CloseParenToken); 2468Assert.NotEqual(default, ds.SemicolonToken); 2487Assert.NotEqual(default, cs.Keyword); 2489Assert.NotEqual(default, cs.Identifier); 2493Assert.NotEqual(default, cs.OpenBraceToken); 2494Assert.NotEqual(default, cs.CloseBraceToken); 2504Assert.NotEqual(default, ms.Identifier); 2506Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 2509Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 2513Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 2514Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 2533Assert.NotEqual(default, cs.Keyword); 2535Assert.NotEqual(default, cs.Identifier); 2539Assert.NotEqual(default, cs.OpenBraceToken); 2540Assert.NotEqual(default, cs.CloseBraceToken); 2549Assert.NotEqual(default, ms.Identifier); 2551Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 2554Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 2558Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 2559Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 2579Assert.NotEqual(default, cs.Keyword); 2581Assert.NotEqual(default, cs.Identifier); 2585Assert.NotEqual(default, cs.OpenBraceToken); 2586Assert.NotEqual(default, cs.CloseBraceToken); 2595Assert.NotEqual(default, ms.Identifier); 2597Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 2600Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 2604Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 2605Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 2624Assert.NotEqual(default, cs.Keyword); 2626Assert.NotEqual(default, cs.Identifier); 2630Assert.NotEqual(default, cs.OpenBraceToken); 2631Assert.NotEqual(default, cs.CloseBraceToken); 2654Assert.NotEqual(default, cs.Keyword); 2656Assert.NotEqual(default, cs.Identifier); 2660Assert.NotEqual(default, cs.OpenBraceToken); 2661Assert.NotEqual(default, cs.CloseBraceToken); 2682Assert.NotEqual(default, cs.Keyword); 2684Assert.NotEqual(default, cs.Identifier); 2688Assert.NotEqual(default, cs.OpenBraceToken); 2689Assert.NotEqual(default, cs.CloseBraceToken); 2703Assert.NotEqual(default, ms.Identifier); 2705Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 2708Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 2712Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 2713Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 2750Assert.NotEqual(default, cs.Keyword); 2752Assert.NotEqual(default, cs.Identifier); 2756Assert.NotEqual(default, cs.OpenBraceToken); 2757Assert.NotEqual(default, cs.CloseBraceToken); 2768Assert.NotEqual(default, ms.Identifier); 2770Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 2773Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 2777Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 2778Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 2797Assert.NotEqual(default, structDecl.Keyword); 2799Assert.NotEqual(default, structDecl.Identifier); 2803Assert.NotEqual(default, structDecl.OpenBraceToken); 2804Assert.NotEqual(default, structDecl.CloseBraceToken); 2815Assert.NotEqual(default, ms.Identifier); 2817Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 2820Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 2824Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 2825Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 2844Assert.NotEqual(default, structDecl.Keyword); 2846Assert.NotEqual(default, structDecl.Identifier); 2850Assert.NotEqual(default, structDecl.OpenBraceToken); 2851Assert.NotEqual(default, structDecl.CloseBraceToken); 2865Assert.NotEqual(default, ms.Identifier); 2867Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 2870Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 2874Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 2875Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 2894Assert.NotEqual(default, structDecl.Keyword); 2896Assert.NotEqual(default, structDecl.Identifier); 2900Assert.NotEqual(default, structDecl.OpenBraceToken); 2901Assert.NotEqual(default, structDecl.CloseBraceToken); 2912Assert.NotEqual(default, propertySyntax.Identifier); 2915Assert.NotEqual(SyntaxKind.None, propertySyntax.ExpressionBody.ArrowToken.Kind()); 2935Assert.NotEqual(default, structDecl.Keyword); 2937Assert.NotEqual(default, structDecl.Identifier); 2941Assert.NotEqual(default, structDecl.OpenBraceToken); 2942Assert.NotEqual(default, structDecl.CloseBraceToken); 2952Assert.NotEqual(default, propertySyntax.Identifier); 2996Assert.NotEqual(default, cs.Keyword); 2998Assert.NotEqual(default, cs.Identifier); 3002Assert.NotEqual(default, cs.OpenBraceToken); 3003Assert.NotEqual(default, cs.CloseBraceToken); 3013Assert.NotEqual(default, ms.Identifier); 3015Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 3022Assert.NotEqual(default, ms.ParameterList.Parameters[0].Identifier); 3024Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 3028Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 3029Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 3048Assert.NotEqual(default, cs.Keyword); 3050Assert.NotEqual(default, cs.Identifier); 3054Assert.NotEqual(default, cs.OpenBraceToken); 3055Assert.NotEqual(default, cs.CloseBraceToken); 3065Assert.NotEqual(default, ms.Identifier); 3067Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 3076Assert.NotEqual(default, ms.ParameterList.Parameters[0].Identifier); 3083Assert.NotEqual(default, ms.ParameterList.Parameters[1].Identifier); 3086Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 3090Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 3091Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 3109Assert.NotEqual(default, cs.Keyword); 3111Assert.NotEqual(default, cs.Identifier); 3115Assert.NotEqual(default, cs.OpenBraceToken); 3116Assert.NotEqual(default, cs.CloseBraceToken); 3126Assert.NotEqual(default, ms.Identifier); 3128Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 3138Assert.NotEqual(default, ms.ParameterList.Parameters[0].Identifier); 3141Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 3145Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 3146Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 3174Assert.NotEqual(default, cs.Keyword); 3176Assert.NotEqual(default, cs.Identifier); 3180Assert.NotEqual(default, cs.OpenBraceToken); 3181Assert.NotEqual(default, cs.CloseBraceToken); 3191Assert.NotEqual(default, ms.Identifier); 3193Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 3201Assert.NotEqual(default, ms.ParameterList.Parameters[0].Identifier); 3204Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 3208Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 3209Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 3248Assert.NotEqual(default, cs.Keyword); 3250Assert.NotEqual(default, cs.Identifier); 3254Assert.NotEqual(default, cs.OpenBraceToken); 3255Assert.NotEqual(default, cs.CloseBraceToken); 3265Assert.NotEqual(default, ms.Identifier); 3267Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 3270Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 3274Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 3275Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 3313Assert.NotEqual(default, cs.Keyword); 3315Assert.NotEqual(default, cs.Identifier); 3319Assert.NotEqual(default, cs.OpenBraceToken); 3320Assert.NotEqual(default, cs.CloseBraceToken); 3330Assert.NotEqual(default, ms.Identifier); 3332Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 3339Assert.NotEqual(default, ms.ParameterList.Parameters[0].Identifier); 3341Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 3345Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 3346Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 3365Assert.NotEqual(default, cs.Keyword); 3367Assert.NotEqual(default, cs.Identifier); 3371Assert.NotEqual(default, cs.OpenBraceToken); 3372Assert.NotEqual(default, cs.CloseBraceToken); 3382Assert.NotEqual(default, ms.Identifier); 3384Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 3387Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 3391Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 3392Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 3411Assert.NotEqual(default, cs.Keyword); 3413Assert.NotEqual(default, cs.Identifier); 3417Assert.NotEqual(default, cs.OpenBraceToken); 3418Assert.NotEqual(default, cs.CloseBraceToken); 3428Assert.NotEqual(default, ms.Identifier); 3432Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 3435Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 3439Assert.NotEqual(default, ms.ConstraintClauses[0].WhereKeyword); 3442Assert.NotEqual(default, ms.ConstraintClauses[0].ColonToken); 3451Assert.NotEqual(SyntaxKind.None, ms.Body.OpenBraceToken.Kind()); 3452Assert.NotEqual(SyntaxKind.None, ms.Body.CloseBraceToken.Kind()); 3492Assert.NotEqual(default, cs.Keyword); 3494Assert.NotEqual(default, cs.Identifier); 3498Assert.NotEqual(SyntaxKind.None, cs.OpenBraceToken.Kind()); 3499Assert.NotEqual(SyntaxKind.None, cs.CloseBraceToken.Kind()); 3509Assert.NotEqual(default, cn.Body.OpenBraceToken); 3510Assert.NotEqual(default, cn.Body.CloseBraceToken); 3527Assert.NotEqual(default, cs.Keyword); 3529Assert.NotEqual(default, cs.Identifier); 3533Assert.NotEqual(SyntaxKind.None, cs.OpenBraceToken.Kind()); 3534Assert.NotEqual(SyntaxKind.None, cs.CloseBraceToken.Kind()); 3545Assert.NotEqual(default, cn.Body.OpenBraceToken); 3546Assert.NotEqual(default, cn.Body.CloseBraceToken); 3574Assert.NotEqual(default, cs.Keyword); 3576Assert.NotEqual(default, cs.Identifier); 3580Assert.NotEqual(SyntaxKind.None, cs.OpenBraceToken.Kind()); 3581Assert.NotEqual(SyntaxKind.None, cs.CloseBraceToken.Kind()); 3588Assert.NotEqual(default, cn.TildeToken); 3592Assert.NotEqual(default, cn.Body.OpenBraceToken); 3593Assert.NotEqual(default, cn.Body.CloseBraceToken); 3611Assert.NotEqual(default, cs.Keyword); 3613Assert.NotEqual(default, cs.Identifier); 3617Assert.NotEqual(default, cs.OpenBraceToken); 3618Assert.NotEqual(default, cs.CloseBraceToken); 3629Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 3633Assert.NotEqual(default, fs.SemicolonToken); 3671Assert.NotEqual(default, cs.Keyword); 3673Assert.NotEqual(default, cs.Identifier); 3677Assert.NotEqual(default, cs.OpenBraceToken); 3678Assert.NotEqual(default, cs.CloseBraceToken); 3689Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 3693Assert.NotEqual(default, fs.SemicolonToken); 3711Assert.NotEqual(default, cs.Keyword); 3713Assert.NotEqual(default, cs.Identifier); 3717Assert.NotEqual(default, cs.OpenBraceToken); 3718Assert.NotEqual(default, cs.CloseBraceToken); 3730Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 3734Assert.NotEqual(default, fs.SemicolonToken); 3765Assert.NotEqual(default, cs.Keyword); 3767Assert.NotEqual(default, cs.Identifier); 3771Assert.NotEqual(default, cs.OpenBraceToken); 3772Assert.NotEqual(default, cs.CloseBraceToken); 3781Assert.NotEqual(default, fs.EventKeyword); 3785Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 3789Assert.NotEqual(default, fs.SemicolonToken); 3821Assert.NotEqual(default, cs.Keyword); 3823Assert.NotEqual(default, cs.Identifier); 3827Assert.NotEqual(default, cs.OpenBraceToken); 3828Assert.NotEqual(default, cs.CloseBraceToken); 3840Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 3844Assert.NotEqual(default, fs.Declaration.Variables[0].Initializer.EqualsToken); 3847Assert.NotEqual(default, fs.SemicolonToken); 3866Assert.NotEqual(default, cs.Keyword); 3868Assert.NotEqual(default, cs.Identifier); 3872Assert.NotEqual(default, cs.OpenBraceToken); 3873Assert.NotEqual(default, cs.CloseBraceToken); 3884Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 3888Assert.NotEqual(default, fs.Declaration.Variables[0].Initializer.EqualsToken); 3891Assert.NotEqual(default, fs.SemicolonToken); 3910Assert.NotEqual(default, cs.Keyword); 3912Assert.NotEqual(default, cs.Identifier); 3916Assert.NotEqual(default, cs.OpenBraceToken); 3917Assert.NotEqual(default, cs.CloseBraceToken); 3928Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 3932Assert.NotEqual(default, fs.Declaration.Variables[0].Initializer.EqualsToken); 3936Assert.NotEqual(default, fs.SemicolonToken); 3955Assert.NotEqual(default, cs.Keyword); 3957Assert.NotEqual(default, cs.Identifier); 3961Assert.NotEqual(default, cs.OpenBraceToken); 3962Assert.NotEqual(default, cs.CloseBraceToken); 3975Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 3980Assert.NotEqual(default, fs.Declaration.Variables[1].Identifier); 3985Assert.NotEqual(default, fs.Declaration.Variables[2].Identifier); 3990Assert.NotEqual(default, fs.SemicolonToken); 4009Assert.NotEqual(default, cs.Keyword); 4011Assert.NotEqual(default, cs.Identifier); 4015Assert.NotEqual(default, cs.OpenBraceToken); 4016Assert.NotEqual(default, cs.CloseBraceToken); 4029Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 4033Assert.NotEqual(default, fs.Declaration.Variables[0].Initializer.EqualsToken); 4037Assert.NotEqual(default, fs.Declaration.Variables[1].Identifier); 4041Assert.NotEqual(default, fs.Declaration.Variables[1].Initializer.EqualsToken); 4045Assert.NotEqual(default, fs.Declaration.Variables[2].Identifier); 4049Assert.NotEqual(default, fs.Declaration.Variables[2].Initializer.EqualsToken); 4053Assert.NotEqual(default, fs.SemicolonToken); 4072Assert.NotEqual(default, cs.Keyword); 4074Assert.NotEqual(default, cs.Identifier); 4078Assert.NotEqual(default, cs.OpenBraceToken); 4079Assert.NotEqual(default, cs.CloseBraceToken); 4091Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 4094Assert.NotEqual(default, fs.Declaration.Variables[0].ArgumentList.OpenBracketToken); 4095Assert.NotEqual(default, fs.Declaration.Variables[0].ArgumentList.CloseBracketToken); 4099Assert.NotEqual(default, fs.SemicolonToken); 4118Assert.NotEqual(default, cs.Keyword); 4120Assert.NotEqual(default, cs.Identifier); 4124Assert.NotEqual(default, cs.OpenBraceToken); 4125Assert.NotEqual(default, cs.CloseBraceToken); 4135Assert.NotEqual(default, ps.Identifier); 4138Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 4139Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 4144Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 4147Assert.NotEqual(default, ps.AccessorList.Accessors[0].SemicolonToken); 4151Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 4154Assert.NotEqual(default, ps.AccessorList.Accessors[1].SemicolonToken); 4172Assert.NotEqual(default, cs.Keyword); 4174Assert.NotEqual(default, cs.Identifier); 4178Assert.NotEqual(default, cs.OpenBraceToken); 4179Assert.NotEqual(default, cs.CloseBraceToken); 4189Assert.NotEqual(default, ps.Identifier); 4192Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 4193Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 4198Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 4201Assert.NotEqual(default, ps.AccessorList.Accessors[0].SemicolonToken); 4205Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 4208Assert.NotEqual(default, ps.AccessorList.Accessors[1].SemicolonToken); 4227Assert.NotEqual(default, cs.Keyword); 4229Assert.NotEqual(default, cs.Identifier); 4233Assert.NotEqual(default, cs.OpenBraceToken); 4234Assert.NotEqual(default, cs.CloseBraceToken); 4244Assert.NotEqual(default, ps.Identifier); 4247Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 4248Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 4253Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 4256Assert.NotEqual(default, ps.AccessorList.Accessors[0].SemicolonToken); 4260Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 4263Assert.NotEqual(default, ps.AccessorList.Accessors[1].SemicolonToken); 4300Assert.NotEqual(default, cs.Keyword); 4302Assert.NotEqual(default, cs.Identifier); 4306Assert.NotEqual(default, cs.OpenBraceToken); 4307Assert.NotEqual(default, cs.CloseBraceToken); 4317Assert.NotEqual(default, ps.Identifier); 4320Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 4321Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 4326Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 4329Assert.NotEqual(default, ps.AccessorList.Accessors[0].SemicolonToken); 4333Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 4336Assert.NotEqual(default, ps.AccessorList.Accessors[1].SemicolonToken); 4354Assert.NotEqual(default, cs.Keyword); 4356Assert.NotEqual(default, cs.Identifier); 4360Assert.NotEqual(default, cs.OpenBraceToken); 4361Assert.NotEqual(default, cs.CloseBraceToken); 4371Assert.NotEqual(default, ps.Identifier); 4374Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 4375Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 4380Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 4387Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 4408Assert.NotEqual(default, cs.Keyword); 4410Assert.NotEqual(default, cs.Identifier); 4414Assert.NotEqual(default, cs.OpenBraceToken); 4415Assert.NotEqual(default, cs.CloseBraceToken); 4425Assert.NotEqual(default, ps.Identifier); 4428Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 4429Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 4434Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 4440Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 4492Assert.NotEqual(default, cs.Keyword); 4494Assert.NotEqual(default, cs.Identifier); 4498Assert.NotEqual(default, cs.OpenBraceToken); 4499Assert.NotEqual(default, cs.CloseBraceToken); 4509Assert.NotEqual(default, ps.Identifier); 4512Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 4513Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 4519Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 4548Assert.NotEqual(default, cs.Keyword); 4550Assert.NotEqual(default, cs.Identifier); 4554Assert.NotEqual(default, cs.OpenBraceToken); 4555Assert.NotEqual(default, cs.CloseBraceToken); 4565Assert.NotEqual(default, es.Identifier); 4568Assert.NotEqual(default, es.AccessorList.OpenBraceToken); 4569Assert.NotEqual(default, es.AccessorList.CloseBraceToken); 4575Assert.NotEqual(default, es.AccessorList.Accessors[0].Keyword); 4604Assert.NotEqual(default, cs.Keyword); 4606Assert.NotEqual(default, cs.Identifier); 4610Assert.NotEqual(default, cs.OpenBraceToken); 4611Assert.NotEqual(default, cs.CloseBraceToken); 4622Assert.NotEqual(default, ps.Identifier); 4625Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 4626Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 4631Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 4634Assert.NotEqual(default, ps.AccessorList.Accessors[0].SemicolonToken); 4638Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 4641Assert.NotEqual(default, ps.AccessorList.Accessors[1].SemicolonToken); 4688Assert.NotEqual(default, cs.Keyword); 4690Assert.NotEqual(default, cs.Identifier); 4694Assert.NotEqual(default, cs.OpenBraceToken); 4695Assert.NotEqual(default, cs.CloseBraceToken); 4705Assert.NotEqual(default, ps.Identifier); 4710Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 4711Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 4716Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 4719Assert.NotEqual(default, ps.AccessorList.Accessors[0].SemicolonToken); 4723Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 4726Assert.NotEqual(default, ps.AccessorList.Accessors[1].SemicolonToken); 4744Assert.NotEqual(default, cs.Keyword); 4746Assert.NotEqual(default, cs.Identifier); 4750Assert.NotEqual(default, cs.OpenBraceToken); 4751Assert.NotEqual(default, cs.CloseBraceToken); 4759Assert.NotEqual(default, es.EventKeyword); 4762Assert.NotEqual(default, es.Identifier); 4765Assert.NotEqual(default, es.AccessorList.OpenBraceToken); 4766Assert.NotEqual(default, es.AccessorList.CloseBraceToken); 4771Assert.NotEqual(default, es.AccessorList.Accessors[0].Keyword); 4778Assert.NotEqual(default, es.AccessorList.Accessors[1].Keyword); 4798Assert.NotEqual(default, cs.Keyword); 4800Assert.NotEqual(default, cs.Identifier); 4804Assert.NotEqual(default, cs.OpenBraceToken); 4805Assert.NotEqual(default, cs.CloseBraceToken); 4814Assert.NotEqual(default, es.EventKeyword); 4817Assert.NotEqual(default, es.Identifier); 4820Assert.NotEqual(default, es.AccessorList.OpenBraceToken); 4821Assert.NotEqual(default, es.AccessorList.CloseBraceToken); 4826Assert.NotEqual(default, es.AccessorList.Accessors[0].Keyword); 4833Assert.NotEqual(default, es.AccessorList.Accessors[1].Keyword); 4881Assert.NotEqual(default, cs.Keyword); 4883Assert.NotEqual(default, cs.Identifier); 4887Assert.NotEqual(default, cs.OpenBraceToken); 4888Assert.NotEqual(default, cs.CloseBraceToken); 4896Assert.NotEqual(default, es.EventKeyword); 4899Assert.NotEqual(default, es.Identifier); 4904Assert.NotEqual(default, es.AccessorList.OpenBraceToken); 4905Assert.NotEqual(default, es.AccessorList.CloseBraceToken); 4910Assert.NotEqual(default, es.AccessorList.Accessors[0].Keyword); 4917Assert.NotEqual(default, es.AccessorList.Accessors[1].Keyword); 4938Assert.NotEqual(default, cs.Keyword); 4940Assert.NotEqual(default, cs.Identifier); 4944Assert.NotEqual(default, cs.OpenBraceToken); 4945Assert.NotEqual(default, cs.CloseBraceToken); 4955Assert.NotEqual(default, ps.ThisKeyword); 4959Assert.NotEqual(default, ps.ParameterList.OpenBracketToken); 4961Assert.NotEqual(default, ps.ParameterList.CloseBracketToken); 4968Assert.NotEqual(default, ps.ParameterList.Parameters[0].Identifier); 4971Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 4972Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 4977Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 4980Assert.NotEqual(default, ps.AccessorList.Accessors[0].SemicolonToken); 4984Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 4987Assert.NotEqual(default, ps.AccessorList.Accessors[1].SemicolonToken); 5005Assert.NotEqual(default, cs.Keyword); 5007Assert.NotEqual(default, cs.Identifier); 5011Assert.NotEqual(default, cs.OpenBraceToken); 5012Assert.NotEqual(default, cs.CloseBraceToken); 5022Assert.NotEqual(default, ps.ThisKeyword); 5026Assert.NotEqual(default, ps.ParameterList.OpenBracketToken); 5028Assert.NotEqual(default, ps.ParameterList.CloseBracketToken); 5035Assert.NotEqual(default, ps.ParameterList.Parameters[0].Identifier); 5038Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 5039Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 5044Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 5047Assert.NotEqual(default, ps.AccessorList.Accessors[0].SemicolonToken); 5051Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 5054Assert.NotEqual(default, ps.AccessorList.Accessors[1].SemicolonToken); 5073Assert.NotEqual(default, cs.Keyword); 5075Assert.NotEqual(default, cs.Identifier); 5079Assert.NotEqual(default, cs.OpenBraceToken); 5080Assert.NotEqual(default, cs.CloseBraceToken); 5090Assert.NotEqual(default, ps.ThisKeyword); 5094Assert.NotEqual(default, ps.ParameterList.OpenBracketToken); 5096Assert.NotEqual(default, ps.ParameterList.CloseBracketToken); 5103Assert.NotEqual(default, ps.ParameterList.Parameters[0].Identifier); 5106Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 5107Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 5112Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 5115Assert.NotEqual(default, ps.AccessorList.Accessors[0].SemicolonToken); 5119Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 5122Assert.NotEqual(default, ps.AccessorList.Accessors[1].SemicolonToken); 5140Assert.NotEqual(default, cs.Keyword); 5142Assert.NotEqual(default, cs.Identifier); 5146Assert.NotEqual(default, cs.OpenBraceToken); 5147Assert.NotEqual(default, cs.CloseBraceToken); 5157Assert.NotEqual(default, ps.ThisKeyword); 5161Assert.NotEqual(default, ps.ParameterList.OpenBracketToken); 5163Assert.NotEqual(default, ps.ParameterList.CloseBracketToken); 5172Assert.NotEqual(default, ps.ParameterList.Parameters[0].Identifier); 5179Assert.NotEqual(default, ps.ParameterList.Parameters[1].Identifier); 5182Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 5183Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 5188Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 5191Assert.NotEqual(default, ps.AccessorList.Accessors[0].SemicolonToken); 5195Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 5198Assert.NotEqual(default, ps.AccessorList.Accessors[1].SemicolonToken); 5216Assert.NotEqual(default, cs.Keyword); 5218Assert.NotEqual(default, cs.Identifier); 5222Assert.NotEqual(default, cs.OpenBraceToken); 5223Assert.NotEqual(default, cs.CloseBraceToken); 5239Assert.NotEqual(default, ps.ParameterList.OpenBracketToken); 5241Assert.NotEqual(default, ps.ParameterList.CloseBracketToken); 5248Assert.NotEqual(default, ps.ParameterList.Parameters[0].Identifier); 5251Assert.NotEqual(default, ps.AccessorList.OpenBraceToken); 5252Assert.NotEqual(default, ps.AccessorList.CloseBraceToken); 5257Assert.NotEqual(default, ps.AccessorList.Accessors[0].Keyword); 5260Assert.NotEqual(default, ps.AccessorList.Accessors[0].SemicolonToken); 5264Assert.NotEqual(default, ps.AccessorList.Accessors[1].Keyword); 5267Assert.NotEqual(default, ps.AccessorList.Accessors[1].SemicolonToken); 5284Assert.NotEqual(default, cs.Keyword); 5286Assert.NotEqual(default, cs.Identifier); 5290Assert.NotEqual(default, cs.OpenBraceToken); 5291Assert.NotEqual(default, cs.CloseBraceToken); 5301Assert.NotEqual(default, ps.OperatorKeyword); 5303Assert.NotEqual(default, ps.OperatorToken); 5305Assert.NotEqual(default, ps.ParameterList.OpenParenToken); 5306Assert.NotEqual(default, ps.ParameterList.CloseParenToken); 5315Assert.NotEqual(default, ps.ParameterList.Parameters[0].Identifier); 5322Assert.NotEqual(default, ps.ParameterList.Parameters[1].Identifier); 5364Assert.NotEqual(default, cs.Keyword); 5366Assert.NotEqual(default, cs.Identifier); 5370Assert.NotEqual(default, cs.OpenBraceToken); 5371Assert.NotEqual(default, cs.CloseBraceToken); 5381Assert.NotEqual(default, ps.OperatorKeyword); 5383Assert.NotEqual(default, ps.OperatorToken); 5385Assert.NotEqual(default, ps.ParameterList.OpenParenToken); 5386Assert.NotEqual(default, ps.ParameterList.CloseParenToken); 5395Assert.NotEqual(default, ps.ParameterList.Parameters[0].Identifier); 5402Assert.NotEqual(default, ps.ParameterList.Parameters[1].Identifier); 5478Assert.NotEqual(default, cs.Keyword); 5480Assert.NotEqual(default, cs.Identifier); 5484Assert.NotEqual(default, cs.OpenBraceToken); 5485Assert.NotEqual(default, cs.CloseBraceToken); 5495Assert.NotEqual(default, ps.OperatorKeyword); 5497Assert.NotEqual(default, ps.OperatorToken); 5499Assert.NotEqual(default, ps.ParameterList.OpenParenToken); 5500Assert.NotEqual(default, ps.ParameterList.CloseParenToken); 5509Assert.NotEqual(default, ps.ParameterList.Parameters[0].Identifier); 5541Assert.NotEqual(default, cs.Keyword); 5543Assert.NotEqual(default, cs.Identifier); 5547Assert.NotEqual(default, cs.OpenBraceToken); 5548Assert.NotEqual(default, cs.CloseBraceToken); 5556Assert.NotEqual(default, ms.ImplicitOrExplicitKeyword); 5558Assert.NotEqual(default, ms.OperatorKeyword); 5562Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 5563Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 5570Assert.NotEqual(default, ms.ParameterList.Parameters[0].Identifier); 5589Assert.NotEqual(default, cs.Keyword); 5591Assert.NotEqual(default, cs.Identifier); 5595Assert.NotEqual(default, cs.OpenBraceToken); 5596Assert.NotEqual(default, cs.CloseBraceToken); 5604Assert.NotEqual(default, ms.ImplicitOrExplicitKeyword); 5606Assert.NotEqual(default, ms.OperatorKeyword); 5610Assert.NotEqual(default, ms.ParameterList.OpenParenToken); 5611Assert.NotEqual(default, ms.ParameterList.CloseParenToken); 5618Assert.NotEqual(default, ms.ParameterList.Parameters[0].Identifier);
Parsing\ExpressionParsingTests.cs (189)
460Assert.NotEqual(default, us.Token); 487Assert.NotEqual(default, token); 492Assert.NotEqual(default, token); 515Assert.NotEqual(default, us.Token); 530Assert.NotEqual(default, us.Token); 545Assert.NotEqual(default, us.Token); 559Assert.NotEqual(default, us.Token); 574Assert.NotEqual(default, us.OperatorToken); 605Assert.NotEqual(default, us.OperatorToken); 631Assert.NotEqual(default, b.OperatorToken); 677Assert.NotEqual(default, a.OperatorToken); 712Assert.NotEqual(default, e.OperatorToken); 797Assert.NotEqual(default, keyword); 803Assert.NotEqual(default, openParen); 805Assert.NotEqual(default, closeParen); 884Assert.NotEqual(default, fs.Keyword); 886Assert.NotEqual(default, fs.OpenParenToken); 888Assert.NotEqual(default, fs.CloseParenToken); 905Assert.NotEqual(default, ts.QuestionToken); 906Assert.NotEqual(default, ts.ColonToken); 935Assert.NotEqual(default, cs.OpenParenToken); 936Assert.NotEqual(default, cs.CloseParenToken); 956Assert.NotEqual(default, cs.ArgumentList.OpenParenToken); 957Assert.NotEqual(default, cs.ArgumentList.CloseParenToken); 977Assert.NotEqual(default, cs.ArgumentList.OpenParenToken); 978Assert.NotEqual(default, cs.ArgumentList.CloseParenToken); 985Assert.NotEqual(default, cs.ArgumentList.Arguments[0].RefOrOutKeyword); 1002Assert.NotEqual(default, cs.ArgumentList.OpenParenToken); 1003Assert.NotEqual(default, cs.ArgumentList.CloseParenToken); 1010Assert.NotEqual(default, cs.ArgumentList.Arguments[0].RefOrOutKeyword); 1027Assert.NotEqual(default, cs.ArgumentList.OpenParenToken); 1028Assert.NotEqual(default, cs.ArgumentList.CloseParenToken); 1037Assert.NotEqual(default, cs.ArgumentList.Arguments[0].NameColon.ColonToken); 1052Assert.NotEqual(default, ea.ArgumentList.OpenBracketToken); 1053Assert.NotEqual(default, ea.ArgumentList.CloseBracketToken); 1073Assert.NotEqual(default, ea.ArgumentList.OpenBracketToken); 1074Assert.NotEqual(default, ea.ArgumentList.CloseBracketToken); 1081Assert.NotEqual(default, ea.ArgumentList.Arguments[0].RefOrOutKeyword); 1098Assert.NotEqual(default, ea.ArgumentList.OpenBracketToken); 1099Assert.NotEqual(default, ea.ArgumentList.CloseBracketToken); 1106Assert.NotEqual(default, ea.ArgumentList.Arguments[0].RefOrOutKeyword); 1123Assert.NotEqual(default, ea.ArgumentList.OpenBracketToken); 1124Assert.NotEqual(default, ea.ArgumentList.CloseBracketToken); 1145Assert.NotEqual(default, oc.ArgumentList.OpenParenToken); 1146Assert.NotEqual(default, oc.ArgumentList.CloseParenToken); 1167Assert.NotEqual(default, oc.ArgumentList.OpenParenToken); 1168Assert.NotEqual(default, oc.ArgumentList.CloseParenToken); 1190Assert.NotEqual(default, oc.ArgumentList.OpenParenToken); 1191Assert.NotEqual(default, oc.ArgumentList.CloseParenToken); 1213Assert.NotEqual(default, oc.ArgumentList.OpenParenToken); 1214Assert.NotEqual(default, oc.ArgumentList.CloseParenToken); 1222Assert.NotEqual(default, oc.Initializer.OpenBraceToken); 1223Assert.NotEqual(default, oc.Initializer.CloseBraceToken); 1245Assert.NotEqual(default, oc.Initializer.OpenBraceToken); 1246Assert.NotEqual(default, oc.Initializer.CloseBraceToken); 1268Assert.NotEqual(default, oc.Initializer.OpenBraceToken); 1269Assert.NotEqual(default, oc.Initializer.CloseBraceToken); 1292Assert.NotEqual(default, oc.Initializer.OpenBraceToken); 1293Assert.NotEqual(default, oc.Initializer.CloseBraceToken); 1318Assert.NotEqual(default, oc.Initializer.OpenBraceToken); 1319Assert.NotEqual(default, oc.Initializer.CloseBraceToken); 1342Assert.NotEqual(default, oc.Initializer.OpenBraceToken); 1343Assert.NotEqual(default, oc.Initializer.CloseBraceToken); 1846Assert.NotEqual(default, ac.Initializer.OpenBraceToken); 1847Assert.NotEqual(default, ac.Initializer.CloseBraceToken); 1868Assert.NotEqual(default, ac.Initializer.OpenBraceToken); 1869Assert.NotEqual(default, ac.Initializer.CloseBraceToken); 1892Assert.NotEqual(default, ac.Initializer.OpenBraceToken); 1893Assert.NotEqual(default, ac.Initializer.CloseBraceToken); 1912Assert.NotEqual(default, ac.Initializer.OpenBraceToken); 1913Assert.NotEqual(default, ac.Initializer.CloseBraceToken); 1931Assert.NotEqual(default, ac.NewKeyword); 1932Assert.NotEqual(default, ac.OpenBraceToken); 1933Assert.NotEqual(default, ac.CloseBraceToken); 1953Assert.NotEqual(default, am.DelegateKeyword); 1957Assert.NotEqual(default, am.ParameterList.OpenParenToken); 1958Assert.NotEqual(default, am.ParameterList.CloseParenToken); 1965Assert.NotEqual(default, am.Block.OpenBraceToken); 1966Assert.NotEqual(default, am.Block.CloseBraceToken); 1984Assert.NotEqual(default, am.DelegateKeyword); 1988Assert.NotEqual(default, am.ParameterList.OpenParenToken); 1989Assert.NotEqual(default, am.ParameterList.CloseParenToken); 1995Assert.NotEqual(default, am.Block.OpenBraceToken); 1996Assert.NotEqual(default, am.Block.CloseBraceToken); 2014Assert.NotEqual(default, am.DelegateKeyword); 2020Assert.NotEqual(default, am.Block.OpenBraceToken); 2021Assert.NotEqual(default, am.Block.CloseBraceToken); 2038Assert.NotEqual(default, lambda.Parameter.Identifier); 2056Assert.NotEqual(default, lambda.Parameter.Identifier); 2074Assert.NotEqual(default, lambda.Parameter.Identifier); 2094Assert.NotEqual(default, lambda.ParameterList.OpenParenToken); 2095Assert.NotEqual(default, lambda.ParameterList.CloseParenToken); 2114Assert.NotEqual(default, lambda.ParameterList.OpenParenToken); 2115Assert.NotEqual(default, lambda.ParameterList.CloseParenToken); 2134Assert.NotEqual(default, lambda.ParameterList.OpenParenToken); 2135Assert.NotEqual(default, lambda.ParameterList.CloseParenToken); 2156Assert.NotEqual(default, lambda.ParameterList.OpenParenToken); 2157Assert.NotEqual(default, lambda.ParameterList.CloseParenToken); 2180Assert.NotEqual(default, lambda.ParameterList.OpenParenToken); 2181Assert.NotEqual(default, lambda.ParameterList.CloseParenToken); 2207Assert.NotEqual(default, lambda.ParameterList.OpenParenToken); 2208Assert.NotEqual(default, lambda.ParameterList.CloseParenToken); 2232Assert.NotEqual(default, lambda.ParameterList.OpenParenToken); 2233Assert.NotEqual(default, lambda.ParameterList.CloseParenToken); 2259Assert.NotEqual(default, tuple.OpenParenToken); 2260Assert.NotEqual(default, tuple.CloseParenToken); 2279Assert.NotEqual(default, tuple.OpenParenToken); 2280Assert.NotEqual(default, tuple.CloseParenToken); 2304Assert.NotEqual(default, fs.FromKeyword); 2309Assert.NotEqual(default, fs.InKeyword); 2315Assert.NotEqual(default, ss.SelectKeyword); 2338Assert.NotEqual(default, fs.FromKeyword); 2343Assert.NotEqual(default, fs.InKeyword); 2349Assert.NotEqual(default, ss.SelectKeyword); 2372Assert.NotEqual(default, fs.FromKeyword); 2376Assert.NotEqual(default, fs.InKeyword); 2382Assert.NotEqual(default, ss.SelectKeyword); 2388Assert.NotEqual(default, qs.Body.Continuation.IntoKeyword); 2399Assert.NotEqual(default, ss.SelectKeyword); 2422Assert.NotEqual(default, fs.FromKeyword); 2426Assert.NotEqual(default, fs.InKeyword); 2432Assert.NotEqual(default, ws.WhereKeyword); 2440Assert.NotEqual(default, ss.SelectKeyword); 2462Assert.NotEqual(default, fs.FromKeyword); 2466Assert.NotEqual(default, fs.InKeyword); 2473Assert.NotEqual(default, fs.FromKeyword); 2477Assert.NotEqual(default, fs.InKeyword); 2483Assert.NotEqual(default, ss.SelectKeyword); 2505Assert.NotEqual(default, fs.FromKeyword); 2509Assert.NotEqual(default, fs.InKeyword); 2516Assert.NotEqual(default, ls.LetKeyword); 2519Assert.NotEqual(default, ls.Identifier); 2521Assert.NotEqual(default, ls.EqualsToken); 2528Assert.NotEqual(default, ss.SelectKeyword); 2550Assert.NotEqual(default, fs.FromKeyword); 2554Assert.NotEqual(default, fs.InKeyword); 2561Assert.NotEqual(default, obs.OrderByKeyword); 2573Assert.NotEqual(default, ss.SelectKeyword); 2595Assert.NotEqual(default, fs.FromKeyword); 2599Assert.NotEqual(default, fs.InKeyword); 2606Assert.NotEqual(default, obs.OrderByKeyword); 2622Assert.NotEqual(default, ss.SelectKeyword); 2644Assert.NotEqual(default, fs.FromKeyword); 2648Assert.NotEqual(default, fs.InKeyword); 2655Assert.NotEqual(default, obs.OrderByKeyword); 2660Assert.NotEqual(default, os.AscendingOrDescendingKeyword); 2670Assert.NotEqual(default, ss.SelectKeyword); 2692Assert.NotEqual(default, fs.FromKeyword); 2696Assert.NotEqual(default, fs.InKeyword); 2703Assert.NotEqual(default, obs.OrderByKeyword); 2708Assert.NotEqual(default, os.AscendingOrDescendingKeyword); 2718Assert.NotEqual(default, ss.SelectKeyword); 2739Assert.NotEqual(default, fs.FromKeyword); 2743Assert.NotEqual(default, fs.InKeyword); 2749Assert.NotEqual(default, gbs.GroupKeyword); 2754Assert.NotEqual(default, gbs.ByKeyword); 2778Assert.NotEqual(default, fs.FromKeyword); 2782Assert.NotEqual(default, fs.InKeyword); 2788Assert.NotEqual(default, gbs.GroupKeyword); 2792Assert.NotEqual(default, gbs.ByKeyword); 2799Assert.NotEqual(default, qs.Body.Continuation.IntoKeyword); 2809Assert.NotEqual(default, ss.SelectKeyword); 2832Assert.NotEqual(default, fs.FromKeyword); 2836Assert.NotEqual(default, fs.InKeyword); 2842Assert.NotEqual(default, js.JoinKeyword); 2846Assert.NotEqual(default, js.Identifier); 2848Assert.NotEqual(default, js.InKeyword); 2852Assert.NotEqual(default, js.OnKeyword); 2857Assert.NotEqual(default, js.EqualsKeyword); 2866Assert.NotEqual(default, ss.SelectKeyword); 2888Assert.NotEqual(default, fs.FromKeyword); 2893Assert.NotEqual(default, fs.InKeyword); 2899Assert.NotEqual(default, js.JoinKeyword); 2903Assert.NotEqual(default, js.Identifier); 2905Assert.NotEqual(default, js.InKeyword); 2909Assert.NotEqual(default, js.OnKeyword); 2913Assert.NotEqual(default, js.EqualsKeyword); 2921Assert.NotEqual(default, ss.SelectKeyword); 2943Assert.NotEqual(default, fs.FromKeyword); 2947Assert.NotEqual(default, fs.InKeyword); 2953Assert.NotEqual(default, js.JoinKeyword); 2956Assert.NotEqual(default, js.Identifier); 2958Assert.NotEqual(default, js.InKeyword); 2962Assert.NotEqual(default, js.OnKeyword); 2966Assert.NotEqual(default, js.EqualsKeyword); 2971Assert.NotEqual(default, js.Into.IntoKeyword); 2973Assert.NotEqual(default, js.Into.Identifier); 2978Assert.NotEqual(default, ss.SelectKeyword); 3044Assert.NotEqual(0, expr.Errors().Length);
Parsing\NameParsingTests.cs (4)
781Assert.NotEqual(default, tok); 783Assert.NotEqual(text, tok.ValueText); 797Assert.NotEqual(default, tok); 799Assert.NotEqual(text, tok.ValueText);
Parsing\ParsingErrorRecoveryTests.cs (77)
4589Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4614Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.Kind()); 4615Assert.NotEqual(default, ds.Declaration.Variables[0].Initializer.EqualsToken); 4642Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4669Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4697Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4724Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4752Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4781Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4810Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4840Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4869Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4897Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4924Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4951Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 4978Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5006Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5033Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5061Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5087Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5117Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5146Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5176Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5829Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5869Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5898Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5927Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5957Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 5986Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6019Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6046Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6073Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6100Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6128Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6155Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6185Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6216Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6244Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6292Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6326Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6358Assert.NotEqual(SyntaxKind.None, ds.Declaration.Variables[0].Initializer.EqualsToken.Kind()); 6408Assert.NotEqual(default, pd.AccessorList.OpenBraceToken); 6410Assert.NotEqual(default, pd.AccessorList.CloseBraceToken); 6433Assert.NotEqual(default, pd.AccessorList.OpenBraceToken); 6435Assert.NotEqual(default, pd.AccessorList.CloseBraceToken); 6458Assert.NotEqual(default, pd.AccessorList.OpenBraceToken); 6460Assert.NotEqual(default, pd.AccessorList.CloseBraceToken); 6465Assert.NotEqual(default, acc.Keyword); 6469Assert.NotEqual(default, acc.SemicolonToken); 6493Assert.NotEqual(default, pd.AccessorList.OpenBraceToken); 6495Assert.NotEqual(default, pd.AccessorList.CloseBraceToken); 6500Assert.NotEqual(default, acc.Keyword); 6504Assert.NotEqual(default, acc.Body.OpenBraceToken); 6507Assert.NotEqual(default, acc.Body.CloseBraceToken); 6532Assert.NotEqual(default, pd.AccessorList.OpenBraceToken); 6534Assert.NotEqual(default, pd.AccessorList.CloseBraceToken); 6539Assert.NotEqual(default, acc.Keyword); 6543Assert.NotEqual(default, acc.Body.OpenBraceToken); 6546Assert.NotEqual(default, acc.Body.CloseBraceToken); 6634Assert.NotEqual(default, md.Body.OpenBraceToken); 6636Assert.NotEqual(default, md.Body.CloseBraceToken); 6650Assert.NotEqual(default, oc.OrderByKeyword); 6679Assert.NotEqual(default, md.Body.OpenBraceToken); 6681Assert.NotEqual(default, md.Body.CloseBraceToken); 6695Assert.NotEqual(default, oc.OrderByKeyword); 6723Assert.NotEqual(default, md.Body.OpenBraceToken); 6725Assert.NotEqual(default, md.Body.CloseBraceToken); 6739Assert.NotEqual(default, oc.OrderByKeyword); 6773Assert.NotEqual(default, md.Body.OpenBraceToken); 6775Assert.NotEqual(default, md.Body.CloseBraceToken); 6789Assert.NotEqual(default, oc.OrderByKeyword); 6821Assert.NotEqual(default, md.Body.OpenBraceToken); 6823Assert.NotEqual(default, md.Body.CloseBraceToken); 6837Assert.NotEqual(default, oc.OrderByKeyword); 6868Assert.NotEqual(default, md.Body.OpenBraceToken); 6870Assert.NotEqual(default, md.Body.CloseBraceToken); 6884Assert.NotEqual(default, oc.OrderByKeyword);
Parsing\RoundTrippingTests.cs (1)
37Assert.NotEqual(0, tree.GetCompilationUnitRoot().ErrorsAndWarnings().Length);
Parsing\StatementParsingTests.cs (331)
68Assert.NotEqual(default, es.SemicolonToken); 88Assert.NotEqual(default, es.SemicolonToken); 107Assert.NotEqual(default, es.SemicolonToken); 127Assert.NotEqual(default, es.SemicolonToken); 147Assert.NotEqual(default, es.SemicolonToken); 163Assert.NotEqual(default, es.SemicolonToken); 198Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 203Assert.NotEqual(default, ds.SemicolonToken); 228Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 233Assert.NotEqual(default, ds.SemicolonToken); 262Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 267Assert.NotEqual(default, ds.SemicolonToken); 303Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 308Assert.NotEqual(default, ds.SemicolonToken); 333Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 338Assert.NotEqual(default, ds.SemicolonToken); 359Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 364Assert.NotEqual(default, ds.SemicolonToken); 385Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 390Assert.NotEqual(default, ds.SemicolonToken); 411Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 416Assert.NotEqual(default, ds.SemicolonToken); 437Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 442Assert.NotEqual(default, ds.SemicolonToken); 463Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 468Assert.NotEqual(default, ds.SemicolonToken); 489Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 494Assert.NotEqual(default, ds.SemicolonToken); 515Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 520Assert.NotEqual(default, ds.Declaration.Variables[1].Identifier); 525Assert.NotEqual(default, ds.Declaration.Variables[2].Identifier); 529Assert.NotEqual(default, ds.SemicolonToken); 550Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 554Assert.NotEqual(default, ds.Declaration.Variables[0].Initializer.EqualsToken); 559Assert.NotEqual(default, ds.SemicolonToken); 580Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 583Assert.NotEqual(default, ds.Declaration.Variables[0].Initializer.EqualsToken); 588Assert.NotEqual(default, ds.Declaration.Variables[1].Identifier); 591Assert.NotEqual(default, ds.Declaration.Variables[1].Initializer.EqualsToken); 596Assert.NotEqual(default, ds.Declaration.Variables[2].Identifier); 599Assert.NotEqual(default, ds.Declaration.Variables[2].Initializer.EqualsToken); 604Assert.NotEqual(default, ds.SemicolonToken); 625Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 629Assert.NotEqual(default, ds.Declaration.Variables[0].Initializer.EqualsToken); 635Assert.NotEqual(default, ds.SemicolonToken); 657Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 661Assert.NotEqual(default, ds.Declaration.Variables[0].Initializer.EqualsToken); 666Assert.NotEqual(default, ds.SemicolonToken); 689Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 693Assert.NotEqual(default, ds.Declaration.Variables[0].Initializer.EqualsToken); 698Assert.NotEqual(default, ds.SemicolonToken); 721Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 725Assert.NotEqual(default, ds.Declaration.Variables[0].Initializer.EqualsToken); 730Assert.NotEqual(default, ds.SemicolonToken); 753Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 757Assert.NotEqual(default, ds.Declaration.Variables[0].Initializer.EqualsToken); 762Assert.NotEqual(default, ds.SemicolonToken); 783Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 788Assert.NotEqual(default, ds.SemicolonToken); 809Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 814Assert.NotEqual(default, initializer.EqualsToken); 819Assert.NotEqual(default, ds.SemicolonToken); 840Assert.NotEqual(default, ds.Declaration.Variables[0].Identifier); 845Assert.NotEqual(default, initializer.EqualsToken); 850Assert.NotEqual(default, ds.Declaration.Variables[1].Identifier); 855Assert.NotEqual(default, initializer.EqualsToken); 860Assert.NotEqual(default, ds.SemicolonToken); 876Assert.NotEqual(default, fs.FixedKeyword); 878Assert.NotEqual(default, fs.OpenParenToken); 903Assert.NotEqual(default, fs.FixedKeyword); 905Assert.NotEqual(default, fs.OpenParenToken); 933Assert.NotEqual(default, fs.FixedKeyword); 935Assert.NotEqual(default, fs.OpenParenToken); 961Assert.NotEqual(default, es.SemicolonToken); 977Assert.NotEqual(default, ls.Identifier); 979Assert.NotEqual(default, ls.ColonToken); 998Assert.NotEqual(default, b.BreakKeyword); 1001Assert.NotEqual(default, b.SemicolonToken); 1017Assert.NotEqual(default, cs.ContinueKeyword); 1020Assert.NotEqual(default, cs.SemicolonToken); 1036Assert.NotEqual(default, gs.GotoKeyword); 1042Assert.NotEqual(default, gs.SemicolonToken); 1058Assert.NotEqual(default, gs.GotoKeyword); 1061Assert.NotEqual(default, gs.CaseOrDefaultKeyword); 1066Assert.NotEqual(default, gs.SemicolonToken); 1082Assert.NotEqual(default, gs.GotoKeyword); 1085Assert.NotEqual(default, gs.CaseOrDefaultKeyword); 1089Assert.NotEqual(default, gs.SemicolonToken); 1105Assert.NotEqual(default, rs.ReturnKeyword); 1109Assert.NotEqual(default, rs.SemicolonToken); 1125Assert.NotEqual(default, rs.ReturnKeyword); 1130Assert.NotEqual(default, rs.SemicolonToken); 1146Assert.NotEqual(default, ys.YieldKeyword); 1149Assert.NotEqual(default, ys.ReturnOrBreakKeyword); 1154Assert.NotEqual(default, ys.SemicolonToken); 1170Assert.NotEqual(default, ys.YieldKeyword); 1173Assert.NotEqual(default, ys.ReturnOrBreakKeyword); 1177Assert.NotEqual(default, ys.SemicolonToken); 1193Assert.NotEqual(default, ts.ThrowKeyword); 1197Assert.NotEqual(default, ts.SemicolonToken); 1213Assert.NotEqual(default, ts.ThrowKeyword); 1218Assert.NotEqual(default, ts.SemicolonToken); 1234Assert.NotEqual(default, ts.TryKeyword); 1239Assert.NotEqual(default, ts.Catches[0].CatchKeyword); 1241Assert.NotEqual(default, ts.Catches[0].Declaration.OpenParenToken); 1244Assert.NotEqual(default, ts.Catches[0].Declaration.Identifier); 1246Assert.NotEqual(default, ts.Catches[0].Declaration.CloseParenToken); 1264Assert.NotEqual(default, ts.TryKeyword); 1269Assert.NotEqual(default, ts.Catches[0].CatchKeyword); 1271Assert.NotEqual(default, ts.Catches[0].Declaration.OpenParenToken); 1275Assert.NotEqual(default, ts.Catches[0].Declaration.CloseParenToken); 1293Assert.NotEqual(default, ts.TryKeyword); 1298Assert.NotEqual(default, ts.Catches[0].CatchKeyword); 1317Assert.NotEqual(default, ts.TryKeyword); 1323Assert.NotEqual(default, ts.Catches[0].CatchKeyword); 1325Assert.NotEqual(default, ts.Catches[0].Declaration.OpenParenToken); 1328Assert.NotEqual(default, ts.Catches[0].Declaration.Identifier); 1330Assert.NotEqual(default, ts.Catches[0].Declaration.CloseParenToken); 1333Assert.NotEqual(default, ts.Catches[1].CatchKeyword); 1335Assert.NotEqual(default, ts.Catches[1].Declaration.OpenParenToken); 1338Assert.NotEqual(default, ts.Catches[1].Declaration.CloseParenToken); 1341Assert.NotEqual(default, ts.Catches[2].CatchKeyword); 1360Assert.NotEqual(default, ts.TryKeyword); 1367Assert.NotEqual(default, ts.Finally.FinallyKeyword); 1383Assert.NotEqual(default, ts.TryKeyword); 1389Assert.NotEqual(default, ts.Catches[0].CatchKeyword); 1391Assert.NotEqual(default, ts.Catches[0].Declaration.OpenParenToken); 1394Assert.NotEqual(default, ts.Catches[0].Declaration.Identifier); 1396Assert.NotEqual(default, ts.Catches[0].Declaration.CloseParenToken); 1399Assert.NotEqual(default, ts.Catches[1].CatchKeyword); 1401Assert.NotEqual(default, ts.Catches[1].Declaration.OpenParenToken); 1404Assert.NotEqual(default, ts.Catches[1].Declaration.CloseParenToken); 1407Assert.NotEqual(default, ts.Catches[2].CatchKeyword); 1412Assert.NotEqual(default, ts.Finally.FinallyKeyword); 1428Assert.NotEqual(default, cs.Keyword); 1445Assert.NotEqual(default, cs.Keyword); 1462Assert.NotEqual(default, us.UnsafeKeyword); 1479Assert.NotEqual(default, ws.WhileKeyword); 1481Assert.NotEqual(default, ws.OpenParenToken); 1483Assert.NotEqual(default, ws.CloseParenToken); 1501Assert.NotEqual(default, ds.DoKeyword); 1504Assert.NotEqual(default, ds.WhileKeyword); 1507Assert.NotEqual(default, ds.OpenParenToken); 1509Assert.NotEqual(default, ds.CloseParenToken); 1511Assert.NotEqual(default, ds.SemicolonToken); 1526Assert.NotEqual(default, fs.ForKeyword); 1529Assert.NotEqual(default, fs.OpenParenToken); 1532Assert.NotEqual(default, fs.FirstSemicolonToken); 1534Assert.NotEqual(default, fs.SecondSemicolonToken); 1536Assert.NotEqual(default, fs.CloseParenToken); 1552Assert.NotEqual(default, fs.ForKeyword); 1555Assert.NotEqual(default, fs.OpenParenToken); 1561Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 1564Assert.NotEqual(default, fs.Declaration.Variables[0].Initializer.EqualsToken); 1569Assert.NotEqual(default, fs.FirstSemicolonToken); 1571Assert.NotEqual(default, fs.SecondSemicolonToken); 1573Assert.NotEqual(default, fs.CloseParenToken); 1589Assert.NotEqual(default, fs.ForKeyword); 1592Assert.NotEqual(default, fs.OpenParenToken); 1600Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 1603Assert.NotEqual(default, fs.Declaration.Variables[0].Initializer.EqualsToken); 1608Assert.NotEqual(default, fs.FirstSemicolonToken); 1610Assert.NotEqual(default, fs.SecondSemicolonToken); 1612Assert.NotEqual(default, fs.CloseParenToken); 1628Assert.NotEqual(default, fs.ForKeyword); 1631Assert.NotEqual(default, fs.OpenParenToken); 1638Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 1641Assert.NotEqual(default, fs.Declaration.Variables[0].Initializer.EqualsToken); 1645Assert.NotEqual(default, fs.Declaration.Variables[1].Identifier); 1648Assert.NotEqual(default, fs.Declaration.Variables[1].Initializer.EqualsToken); 1653Assert.NotEqual(default, fs.FirstSemicolonToken); 1655Assert.NotEqual(default, fs.SecondSemicolonToken); 1657Assert.NotEqual(default, fs.CloseParenToken); 1737Assert.NotEqual(default, fs.ForKeyword); 1740Assert.NotEqual(default, fs.OpenParenToken); 1746Assert.NotEqual(default, fs.FirstSemicolonToken); 1748Assert.NotEqual(default, fs.SecondSemicolonToken); 1750Assert.NotEqual(default, fs.CloseParenToken); 1766Assert.NotEqual(default, fs.ForKeyword); 1769Assert.NotEqual(default, fs.OpenParenToken); 1776Assert.NotEqual(default, fs.FirstSemicolonToken); 1778Assert.NotEqual(default, fs.SecondSemicolonToken); 1780Assert.NotEqual(default, fs.CloseParenToken); 1796Assert.NotEqual(default, fs.ForKeyword); 1799Assert.NotEqual(default, fs.OpenParenToken); 1803Assert.NotEqual(default, fs.FirstSemicolonToken); 1808Assert.NotEqual(default, fs.SecondSemicolonToken); 1810Assert.NotEqual(default, fs.CloseParenToken); 1826Assert.NotEqual(default, fs.ForKeyword); 1829Assert.NotEqual(default, fs.OpenParenToken); 1833Assert.NotEqual(default, fs.FirstSemicolonToken); 1835Assert.NotEqual(default, fs.SecondSemicolonToken); 1840Assert.NotEqual(default, fs.CloseParenToken); 1856Assert.NotEqual(default, fs.ForKeyword); 1859Assert.NotEqual(default, fs.OpenParenToken); 1863Assert.NotEqual(default, fs.FirstSemicolonToken); 1865Assert.NotEqual(default, fs.SecondSemicolonToken); 1871Assert.NotEqual(default, fs.CloseParenToken); 1887Assert.NotEqual(default, fs.ForKeyword); 1890Assert.NotEqual(default, fs.OpenParenToken); 1896Assert.NotEqual(default, fs.Declaration.Variables[0].Identifier); 1899Assert.NotEqual(default, fs.Declaration.Variables[0].Initializer.EqualsToken); 1905Assert.NotEqual(default, fs.FirstSemicolonToken); 1909Assert.NotEqual(default, fs.SecondSemicolonToken); 1914Assert.NotEqual(default, fs.CloseParenToken); 1930Assert.NotEqual(default, fs.ForEachKeyword); 1933Assert.NotEqual(default, fs.OpenParenToken); 1936Assert.NotEqual(default, fs.Identifier); 1938Assert.NotEqual(default, fs.InKeyword); 1943Assert.NotEqual(default, fs.CloseParenToken); 1959Assert.NotEqual(default, fs.ForEachKeyword); 1966Assert.NotEqual(default, fs.OpenParenToken); 1969Assert.NotEqual(default, fs.Identifier); 1971Assert.NotEqual(default, fs.InKeyword); 1976Assert.NotEqual(default, fs.CloseParenToken); 1992Assert.NotEqual(default, fs.ForEachKeyword); 1995Assert.NotEqual(default, fs.OpenParenToken); 2000Assert.NotEqual(default, fs.Identifier); 2002Assert.NotEqual(default, fs.InKeyword); 2007Assert.NotEqual(default, fs.CloseParenToken); 2023Assert.NotEqual(default, ss.IfKeyword); 2025Assert.NotEqual(default, ss.OpenParenToken); 2028Assert.NotEqual(default, ss.CloseParenToken); 2046Assert.NotEqual(default, ss.IfKeyword); 2048Assert.NotEqual(default, ss.OpenParenToken); 2051Assert.NotEqual(default, ss.CloseParenToken); 2055Assert.NotEqual(default, ss.Else.ElseKeyword); 2072Assert.NotEqual(default, ss.IfKeyword); 2074Assert.NotEqual(default, ss.OpenParenToken); 2077Assert.NotEqual(default, ss.CloseParenToken); 2081Assert.NotEqual(default, ss.Else.ElseKeyword); 2086Assert.NotEqual(default, subIf.IfKeyword); 2090Assert.NotEqual(default, subIf.CloseParenToken); 2106Assert.NotEqual(default, ls.LockKeyword); 2108Assert.NotEqual(default, ls.OpenParenToken); 2111Assert.NotEqual(default, ls.CloseParenToken); 2129Assert.NotEqual(default, ss.SwitchKeyword); 2131Assert.NotEqual(default, ss.OpenParenToken); 2134Assert.NotEqual(default, ss.CloseParenToken); 2135Assert.NotEqual(default, ss.OpenBraceToken); 2137Assert.NotEqual(default, ss.CloseBraceToken); 2152Assert.NotEqual(default, ss.SwitchKeyword); 2154Assert.NotEqual(default, ss.OpenParenToken); 2157Assert.NotEqual(default, ss.CloseParenToken); 2158Assert.NotEqual(default, ss.OpenBraceToken); 2162Assert.NotEqual(default, ss.Sections[0].Labels[0].Keyword); 2168Assert.NotEqual(default, caseLabelSyntax.ColonToken); 2172Assert.NotEqual(default, ss.CloseBraceToken); 2187Assert.NotEqual(default, ss.SwitchKeyword); 2189Assert.NotEqual(default, ss.OpenParenToken); 2192Assert.NotEqual(default, ss.CloseParenToken); 2193Assert.NotEqual(default, ss.OpenBraceToken); 2198Assert.NotEqual(default, ss.Sections[0].Labels[0].Keyword); 2204Assert.NotEqual(default, caseLabelSyntax.ColonToken); 2209Assert.NotEqual(default, ss.Sections[1].Labels[0].Keyword); 2215Assert.NotEqual(default, caseLabelSyntax2.ColonToken); 2219Assert.NotEqual(default, ss.CloseBraceToken); 2234Assert.NotEqual(default, ss.SwitchKeyword); 2236Assert.NotEqual(default, ss.OpenParenToken); 2239Assert.NotEqual(default, ss.CloseParenToken); 2240Assert.NotEqual(default, ss.OpenBraceToken); 2245Assert.NotEqual(default, ss.Sections[0].Labels[0].Keyword); 2248Assert.NotEqual(default, ss.Sections[0].Labels[0].ColonToken); 2252Assert.NotEqual(default, ss.CloseBraceToken); 2267Assert.NotEqual(default, ss.SwitchKeyword); 2269Assert.NotEqual(default, ss.OpenParenToken); 2272Assert.NotEqual(default, ss.CloseParenToken); 2273Assert.NotEqual(default, ss.OpenBraceToken); 2278Assert.NotEqual(default, ss.Sections[0].Labels[0].Keyword); 2284Assert.NotEqual(default, ss.Sections[0].Labels[1].Keyword); 2290Assert.NotEqual(default, ss.Sections[0].Labels[0].ColonToken); 2294Assert.NotEqual(default, ss.CloseBraceToken); 2309Assert.NotEqual(default, ss.SwitchKeyword); 2311Assert.NotEqual(default, ss.OpenParenToken); 2314Assert.NotEqual(default, ss.CloseParenToken); 2315Assert.NotEqual(default, ss.OpenBraceToken); 2320Assert.NotEqual(default, ss.Sections[0].Labels[0].Keyword); 2330Assert.NotEqual(default, ss.CloseBraceToken); 2345Assert.NotEqual(default, us.UsingKeyword); 2347Assert.NotEqual(default, us.OpenParenToken); 2351Assert.NotEqual(default, us.CloseParenToken); 2367Assert.NotEqual(default, us.UsingKeyword); 2369Assert.NotEqual(default, us.OpenParenToken); 2375Assert.NotEqual(default, us.Declaration.Variables[0].Identifier); 2379Assert.NotEqual(default, us.Declaration.Variables[0].Initializer.EqualsToken); 2385Assert.NotEqual(default, us.CloseParenToken); 2401Assert.NotEqual(default, us.UsingKeyword); 2408Assert.NotEqual(default, us.Declaration.Variables[0].Identifier); 2412Assert.NotEqual(default, us.Declaration.Variables[0].Initializer.EqualsToken); 2415Assert.NotEqual(default, us.SemicolonToken); 2460Assert.NotEqual(default, us.UsingKeyword); 2462Assert.NotEqual(default, us.OpenParenToken); 2470Assert.NotEqual(default, us.Declaration.Variables[0].Identifier); 2474Assert.NotEqual(default, us.Declaration.Variables[0].Initializer.EqualsToken); 2480Assert.NotEqual(default, us.CloseParenToken); 2496Assert.NotEqual(default, us.UsingKeyword); 2505Assert.NotEqual(default, us.Declaration.Variables[0].Identifier); 2509Assert.NotEqual(default, us.Declaration.Variables[0].Initializer.EqualsToken); 2628Assert.NotEqual(default, us.AwaitKeyword); 2630Assert.NotEqual(default, us.UsingKeyword); 2639Assert.NotEqual(default, us.Declaration.Variables[0].Identifier); 2643Assert.NotEqual(default, us.Declaration.Variables[0].Initializer.EqualsToken); 2800Assert.NotEqual(default, us.UsingKeyword); 2802Assert.NotEqual(default, us.OpenParenToken); 2810Assert.NotEqual(default, us.Declaration.Variables[0].Identifier); 2814Assert.NotEqual(default, us.Declaration.Variables[0].Initializer.EqualsToken); 2818Assert.NotEqual(default, us.Declaration.Variables[1].Identifier); 2822Assert.NotEqual(default, us.Declaration.Variables[1].Initializer.EqualsToken); 2828Assert.NotEqual(default, us.CloseParenToken); 2844Assert.NotEqual(default, us.UsingKeyword); 2853Assert.NotEqual(default, us.Declaration.Variables[0].Identifier); 2857Assert.NotEqual(default, us.Declaration.Variables[0].Initializer.EqualsToken); 2861Assert.NotEqual(default, us.Declaration.Variables[1].Identifier); 2865Assert.NotEqual(default, us.Declaration.Variables[1].Initializer.EqualsToken); 2925Assert.NotEqual(default, us.UsingKeyword); 2927Assert.NotEqual(default, us.OpenParenToken); 2931Assert.NotEqual(default, us.CloseParenToken); 2947Assert.NotEqual(default, us.UsingKeyword); 3008Assert.NotEqual(default, us.UsingKeyword); 3010Assert.NotEqual(default, us.OpenParenToken); 3014Assert.NotEqual(default, us.CloseParenToken); 3030Assert.NotEqual(default, us.UsingKeyword); 3080Assert.NotEqual(default, us.UsingKeyword); 3082Assert.NotEqual(default, us.OpenParenToken); 3086Assert.NotEqual(default, us.CloseParenToken); 3102Assert.NotEqual(default, us.UsingKeyword); 3378Assert.NotEqual(default, fs.ForEachKeyword); 3381Assert.NotEqual(default, fs.OpenParenToken); 3384Assert.NotEqual(default, fs.Identifier); 3386Assert.NotEqual(default, fs.InKeyword); 3391Assert.NotEqual(default, fs.CloseParenToken);
Syntax\StructuredTriviaTests.cs (1)
66Assert.NotEqual(default(SyntaxTrivia), sTrivia);
Syntax\SyntaxNodeTests.cs (23)
819Assert.NotEqual(tree1.GetCompilationUnitRoot(), tree2.GetCompilationUnitRoot()); 828Assert.NotEqual(tree1.GetCompilationUnitRoot(), tree2.GetCompilationUnitRoot()); 837Assert.NotEqual(tree1.GetCompilationUnitRoot(), tree2.GetCompilationUnitRoot()); 850Assert.NotEqual(m1, m2); 1370Assert.NotEqual(SyntaxKind.None, parentTrivia.Kind()); 1384Assert.NotEqual(def, structure); // these should not be identity equals 1922Assert.NotEqual(sizes[0], sizes[1]); 1923Assert.NotEqual(sizes[0], sizes[2]); 1924Assert.NotEqual(sizes[0], sizes[3]); 1925Assert.NotEqual(sizes[1], sizes[2]); 1926Assert.NotEqual(sizes[1], sizes[3]); 1927Assert.NotEqual(sizes[2], sizes[3]); 1929Assert.NotEqual(sizes.GetSeparator(0), sizes.GetSeparator(1)); 1930Assert.NotEqual(sizes.GetSeparator(0), sizes.GetSeparator(2)); 1931Assert.NotEqual(sizes.GetSeparator(1), sizes.GetSeparator(2)); 1966Assert.NotEqual(str0, str1); 2003Assert.NotEqual(str0, str1); 3448Assert.NotEqual(0, paramList.Width); 3449Assert.NotEqual(0, paramList.FullWidth); 3566Assert.NotEqual(emptyTokenList[0].TrailingTrivia[0], emptyTokenList[1].TrailingTrivia[0]); 3569Assert.NotEqual(emptyTokenList[0].TrailingTrivia, emptyTokenList[1].TrailingTrivia); 3576Assert.NotEqual(emptyToken.LeadingTrivia[0], emptyToken.TrailingTrivia[0]); 3579Assert.NotEqual(emptyToken.LeadingTrivia, emptyToken.TrailingTrivia);
Syntax\SyntaxRewriterTests.cs (4)
575Assert.NotEqual(expr1, expr2); 582Assert.NotEqual(token1, token2); 621Assert.NotEqual(expr1, expr2); 628Assert.NotEqual(token1, token2);
Syntax\SyntaxTreeTests.cs (1)
236Assert.NotEqual(tree, newTree);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CompilationTestUtils.cs (1)
474Assert.NotEqual(CodeAnalysis.NullableFlowState.None, typeInfo.Nullability.FlowState);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (11)
Emit\CompilationOutputsTests.cs (1)
97Assert.NotEqual(0, currentPEStream!.Length);
SymbolFinder\DependentTypeFinderTests.cs (9)
82Assert.NotEqual(baseClassSymbol, derivedClassSymbol.BaseType); 123Assert.NotEqual(baseClassSymbol, derivedClassSymbol.Interfaces[0]); 174Assert.NotEqual(baseClassSymbol, derivedClassSymbol.BaseType); 215Assert.NotEqual(baseClassSymbol, derivedClassSymbol.BaseType); 257Assert.NotEqual(baseClassSymbol, derivedClassSymbol.BaseType); 299Assert.NotEqual(baseClassSymbol, derivedClassSymbol.BaseType); 340Assert.NotEqual(baseInterfaceSymbol, Assert.Single(implementingClassSymbol.Interfaces)); 381Assert.NotEqual(baseInterfaceSymbol, Assert.Single(implementingClassSymbol.Interfaces)); 421Assert.NotEqual(baseInterfaceSymbol, Assert.Single(implementingClassSymbol.Interfaces));
Utilities\SymbolEquivalenceComparerTests.cs (1)
1726Assert.NotEqual(SymbolEquivalenceComparer.Instance.GetHashCode(namespace1),
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
VisualBasicParsingTests.cs (1)
31Assert.NotEqual(SyntaxKind.None, kind);
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
ResultProviderTestBase.cs (1)
498Assert.NotEqual(UnspecifiedValue, actualSuccess.Value);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
DocumentChanges\DocumentChangesTests.cs (1)
244Assert.NotEqual(expected, documentTextFromWorkspace);
References\FindAllReferencesHandlerTests.cs (1)
377Assert.NotEqual(definitionId, referenceItems[i].Id);
UriTests.cs (1)
119Assert.NotEqual(expectedDocumentUri.AbsolutePath, lowercaseUri.AbsolutePath);
Workspaces\LspWorkspaceManagerTests.cs (1)
562Assert.NotEqual(
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
DeterministicKeyBuilderTests.cs (1)
359Assert.NotEqual(key, compilation.GetDeterministicKey());
RoundTripUtil.cs (1)
174Assert.NotEqual(originalMdv, rebuildMdv);
Microsoft.CodeAnalysis.Remote.ServiceHub.UnitTests (1)
RemoteAnalyzerAssemblyLoaderTests.cs (1)
36Assert.NotEqual(alc1, alc2);
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (2)
MetadataShadowCopyProviderTests.cs (2)
92Assert.NotEqual(dll.Path, sc1.PrimaryModule.FullPath); 128Assert.NotEqual(dll.Path, sc1.PrimaryModule.FullPath);
Microsoft.CodeAnalysis.Test.Utilities (20)
Assert\AssertEx.cs (1)
1057Assert.NotEqual<T>(expected, actual);
Compilation\ControlFlowGraphVerifier.cs (8)
131Assert.NotEqual(0, i); 132Assert.NotEqual(blocks.Length - 1, i); 202Assert.NotEqual(ControlFlowConditionKind.None, predecessor.ConditionKind); 254Assert.NotEqual(ControlFlowBranchSemantics.Return, conditionalBranch.Semantics); 255Assert.NotEqual(ControlFlowBranchSemantics.Throw, conditionalBranch.Semantics); 256Assert.NotEqual(ControlFlowBranchSemantics.StructuredExceptionHandling, conditionalBranch.Semantics); 311Assert.NotEqual(ControlFlowBranchSemantics.Return, nextBranch.Semantics); 312Assert.NotEqual(ControlFlowBranchSemantics.Throw, nextBranch.Semantics);
Compilation\OperationTreeVerifier.cs (2)
760Assert.NotEqual(OperationKind.VariableDeclaration, operation.Resources.Kind); 761Assert.NotEqual(OperationKind.VariableDeclarator, operation.Resources.Kind);
Compilation\TestOperationVisitor.cs (3)
410Assert.NotEqual(OperationKind.YieldReturn, operation.Kind); 465Assert.NotEqual(OperationKind.VariableDeclaration, operation.Resources.Kind); 466Assert.NotEqual(OperationKind.VariableDeclarator, operation.Resources.Kind);
Metadata\EncValidation.cs (1)
41Assert.NotEqual(default(Guid), currentReader.GetGuid(currentModule.GenerationId));
Metadata\MetadataValidation.cs (3)
72Assert.NotEqual("MarshalAsAttribute", GetAttributeName(metadataReader, ca)); 91Assert.NotEqual(0, (int)(field.Attributes & FieldAttributes.HasFieldMarshal)); 118Assert.NotEqual(0, (int)(paramRow.Attributes & ParameterAttributes.HasFieldMarshal));
PDB\DeterministicBuildCompilationTestHelpers.cs (2)
116Assert.NotEqual(-1, terminatorIndex); 124Assert.NotEqual(-1, terminatorIndex);
Microsoft.CodeAnalysis.UnitTests (37)
AnalyzerAssemblyLoaderTests.cs (1)
1478Assert.NotEqual(INVALID_FILE_ATTRIBUTES, result);
Analyzers\AnalyzerConfigTests.cs (2)
1241Assert.NotEqual(default, options[i]); 1262Assert.NotEqual(default, options[i]);
Collections\List\IList.Generic.Tests.cs (2)
210Assert.NotEqual(default(T), list[0]); 245Assert.NotEqual(default(T), list[lastIndex]);
CorLibTypesTests.cs (2)
86Assert.NotEqual(SymbolKind.ErrorType, symbol.Kind); 231Assert.NotEqual(cv1.GetHashCode(), cv2.GetHashCode());
Emit\EmitOptionsTests.cs (1)
30Assert.NotEqual(validNonDefaultValue, validDefaultValue);
FileLinePositionSpanTests.cs (5)
71Assert.NotEqual(hash1, hash2); 72Assert.NotEqual(hash1, hash3); 73Assert.NotEqual(hash3, hash4); 74Assert.NotEqual(hash4, hash5); 75Assert.NotEqual(hash5, hash6);
InternalUtilities\AdditionalTextComparerTests.cs (4)
19Assert.NotEqual(text1, text2); 31Assert.NotEqual(hash1, hash2); 48Assert.NotEqual(comparerHash1, comparerHash2); 61Assert.NotEqual(comparerHash1, comparerHash2);
LinePositionTests.cs (6)
65Assert.NotEqual(hash1, hash2); 66Assert.NotEqual(hash1, hash3); 67Assert.NotEqual(hash1, hash4); 68Assert.NotEqual(hash2, hash3); 69Assert.NotEqual(hash2, hash4); 70Assert.NotEqual(hash3, hash4);
MetadataReferences\AssemblyPortabilityPolicyTests.cs (2)
390Assert.NotEqual(IntPtr.Zero, policy.ConfigCookie); 428Assert.NotEqual(policy1, policy2);
MetadataReferences\MetadataNameLimitTests.cs (1)
52Assert.NotEqual(withinLimit, MetadataWriter.IsTooLongInternal(fullName, maxLength));
StringTableTests.cs (1)
36Assert.NotEqual((object)s1, (object)s2);
Symbols\NullabilityInfoTests.cs (2)
40Assert.NotEqual(n1, n2); 41Assert.NotEqual(n1.GetHashCode(), n2.GetHashCode());
Text\LargeTextTests.cs (1)
147Assert.NotEqual(first, second);
Text\SourceTextTests.cs (1)
194Assert.NotEqual(text, changed);
Text\StringTextTest.cs (1)
100Assert.NotEqual(first, second);
Text\TextSpanTest.cs (5)
69Assert.NotEqual(s1, s2); 83Assert.NotEqual(s1, s2); 205Assert.NotEqual(default, span1); 210Assert.NotEqual(default, span2); 230Assert.NotEqual<object>(new string('a', 3), span1);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (5)
CommandLineTests.vb (2)
7392Assert.NotEqual(0, exitCode) 9064Assert.NotEqual(0, exitCode)
SarifErrorLoggerTests.vb (3)
101Assert.NotEqual(0, exitCode) 143Assert.NotEqual(0, exitCode) 185Assert.NotEqual(0, exitCode)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\CodeGenTuples.vb (1)
23212Assert.NotEqual(type, underlyingType)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\QueryExpressions_FlowAnalysis.vb (1)
367Assert.NotEqual(ss(0), ss(1))
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
ParserTestUtilities.vb (1)
344Assert.NotEqual(node.Kind(), SyntaxKind.None)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (4)
VisualStudioMSBuildWorkspaceTests.cs (4)
401Assert.NotEqual(dversion, dversion1); // new document version 406Assert.NotEqual(latestDV, latestDV1); 415Assert.NotEqual(document1.Project.Version, document2.Project.Version); // project did change, so project versions should be different 422Assert.NotEqual(solution2.Version, solution3.Version); // solution changed, added project.
Microsoft.CodeAnalysis.Workspaces.UnitTests (41)
FindReferencesTests.cs (2)
555Assert.NotEqual(typeResult.Locations.Single().Location.SourceSpan, constructorResult.Locations.Single().Location.SourceSpan); 588Assert.NotEqual(typeResult.Locations.Single().Location.SourceSpan, constructorResult.Locations.Single().Location.SourceSpan);
Remote\ServiceDescriptorTests.cs (1)
191Assert.NotEqual(original, deserialized);
SolutionTests\ProjectSemanticVersionTests.cs (1)
263Assert.NotEqual(await project1.GetSemanticVersionAsync(), await project2.GetSemanticVersionAsync());
SolutionTests\SolutionTestHelpers.cs (1)
27Assert.NotEqual(getter(instance), validNonDefaultValue);
SolutionTests\SolutionTests.cs (19)
467Assert.NotEqual(text1.ToString(), text2.ToString()); 555Assert.NotEqual(text1.ToString(), text2.ToString()); 638Assert.NotEqual(text1.ToString(), text2.ToString()); 721Assert.NotEqual(text1.ToString(), text2.ToString()); 797Assert.NotEqual(text1.ToString(), text2.ToString()); 884Assert.NotEqual(text1.ToString(), text2.ToString()); 3049Assert.NotEqual(oldParseOptions, newUpdatedParseOptions); 3167Assert.NotEqual(solution1, solution2); 4085Assert.NotEqual( 4089Assert.NotEqual( 4110Assert.NotEqual( 4114Assert.NotEqual( 4196Assert.NotEqual( 4204Assert.NotEqual( 4602Assert.NotEqual(oldVersion, newVersion); 4696Assert.NotEqual(originalCompilation.Options, newCompilation.Options); 4863Assert.NotEqual(originalCompilation.Options, newCompilation.Options); 5719Assert.NotEqual(syntaxTree1, forkedSyntaxTree1); 5722Assert.NotEqual(compilation1, forkedCompilation1);
SolutionTests\SolutionWithSourceGeneratorTests.cs (7)
509Assert.NotEqual(DocumentationMode.Diagnose, project.ParseOptions!.DocumentationMode); 955Assert.NotEqual(project0, project1); 961Assert.NotEqual(project0, project2); 962Assert.NotEqual(project1, project2); 971Assert.NotEqual(project0, project3); 972Assert.NotEqual(project1, project3); 973Assert.NotEqual(project2, project3);
SolutionTests\SourceGeneratorExecutionVersionMapTests.cs (1)
21Assert.NotEqual(projectId1, projectId2);
SymbolKeyTests.cs (1)
1316Assert.NotEqual(symbolKey1.ToString(), symbolKey2.ToString());
SyntaxNodeTests.cs (3)
111Assert.NotEqual(latestMethod, methodDecl); 120Assert.NotEqual(trackedRoot, root2); 129Assert.NotEqual(finalMethodDecl, methodDecl);
UtilityTest\BKTreeTests.cs (3)
63Assert.NotEqual(testValues.Length, items.Length); 76Assert.NotEqual(testValues.Length, items.Length); 90Assert.NotEqual(testValues.Length, items.Length);
WorkspaceTests\WorkspaceReferenceTests.cs (2)
167Assert.NotEqual(references1, references2); 197Assert.NotEqual(references1, references2);
Microsoft.DotNet.Build.Tasks.Workloads.Tests (1)
MsiTests.cs (1)
58Assert.NotEqual(MsiUtils.GetProperty(msiPath603, MsiProperty.UpgradeCode), MsiUtils.GetProperty(msiPath604, MsiProperty.UpgradeCode));
Microsoft.DotNet.XUnitAssert.Tests (159)
CollectionAssertsTests.cs (20)
1691 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 1707 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 1729 Assert.NotEqual(new object[] { 1, 2, 3 }, new object[] { 1, 2, 3L }); 1843 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 1860 Assert.NotEqual(expected, actual); 1932 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 1949 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 1966 Assert.NotEqual(expected, actual); 1975 Assert.NotEqual(expected, actual); 2000 Assert.NotEqual(expected, actual); 2018 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2044 Assert.NotEqual(expected, actual); 2057 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2074 Assert.NotEqual(expected, actual); 2115 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2156 Assert.NotEqual(expected, actual); 2168 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2190 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2228 Assert.NotEqual(expected, actual); 2238 Assert.NotEqual(expected, actual);
EqualityAssertsTests.cs (138)
2327 var ex = Record.Exception(() => Assert.NotEqual(42, 42)); 2341 Assert.NotEqual(42, 2112); 2545 var ex = Record.Exception(() => Assert.NotEqual(obj1, obj2)); 2562 Assert.NotEqual(obj1, obj2); 2585 assertFailure(() => Assert.NotEqual(expected, actual)); 2586 assertFailure(() => Assert.NotEqual(expected, (IComparable)actual)); 2587 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 2596 Assert.NotEqual(expected, actual); 2597 Assert.NotEqual(expected, (IComparable)actual); 2598 Assert.NotEqual(expected, (object)actual); 2620 assertFailure(() => Assert.NotEqual(expected, (IComparable)actual)); 2621 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 2630 Assert.NotEqual(expected, (IComparable)actual); 2631 Assert.NotEqual(expected, (object)actual); 2640 var ex = Record.Exception(() => Assert.NotEqual(obj1, obj2)); 2657 Assert.NotEqual(obj1, obj2); 2667 var ex = Record.Exception(() => Assert.NotEqual<ComparableBaseClass>(expected, actual)); 2684 Assert.NotEqual<ComparableBaseClass>(expected, actual); 2693 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2710 Assert.NotEqual(expected, actual); 2719 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2736 Assert.NotEqual(expected, actual); 2758 assertFailure(() => Assert.NotEqual(expected, actual)); 2759 assertFailure(() => Assert.NotEqual(expected, (IComparable<ComparableThrower>)actual)); 2760 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 2769 Assert.NotEqual(expected, actual); 2770 Assert.NotEqual(expected, (IComparable<ComparableThrower>)actual); 2771 Assert.NotEqual(expected, (object)actual); 2784 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2801 Assert.NotEqual(expected, actual); 2814 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2831 Assert.NotEqual(expected, actual); 2840 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2857 Assert.NotEqual(expected, actual); 2869 var ex = Record.Exception(() => Assert.NotEqual(nco1, nco2)); 2886 Assert.NotEqual(nco1, nco2); 2898 var ex = Record.Exception(() => Assert.NotEqual(obj1, obj2)); 2915 Assert.NotEqual(obj1, obj2); 2927 var ex = Record.Exception(() => Assert.NotEqual<EquatableBaseClass>(expected, actual)); 2944 Assert.NotEqual<EquatableBaseClass>(expected, actual); 2953 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2970 Assert.NotEqual(expected, actual); 2979 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 2996 Assert.NotEqual(expected, actual); 3009 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3026 Assert.NotEqual(expected, actual); 3039 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3056 Assert.NotEqual(expected, actual); 3085 assertFailure(() => Assert.NotEqual(expected, actual)); 3086 assertFailure(() => Assert.NotEqual(expected, (IStructuralEquatable)actual)); 3087 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 3096 Assert.NotEqual(expected, actual); 3097 Assert.NotEqual(expected, (IStructuralEquatable)actual); 3098 Assert.NotEqual(expected, (object)actual); 3120 assertFailure(() => Assert.NotEqual(expected, actual)); 3121 assertFailure(() => Assert.NotEqual(expected, (IStructuralEquatable)actual)); 3122 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 3131 Assert.NotEqual(expected, actual); 3132 Assert.NotEqual(expected, (IStructuralEquatable)actual); 3133 Assert.NotEqual(expected, (object)actual); 3142 Assert.NotEqual(expected, actual); 3143 Assert.NotEqual(expected, (IStructuralEquatable)actual); 3144 Assert.NotEqual(expected, (object)actual); 3169 assertFailure(() => Assert.NotEqual(expected, (IReadOnlyCollection<string>)actual)); 3170 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 3179 Assert.NotEqual(expected, (IReadOnlyCollection<string>)actual); 3180 Assert.NotEqual(expected, (object)actual); 3189 var ex = Record.Exception(() => Assert.NotEqual(x, y)); 3206 Assert.NotEqual(x, y); 3228 assertFailure(() => Assert.NotEqual(expected, actual)); 3229 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 3238 Assert.NotEqual(expected, actual); 3239 Assert.NotEqual(expected, (object)actual); 3248 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3267 Assert.NotEqual(expected, actual); 3278 var ex = Record.Exception(() => Assert.NotEqual(expected, (object)actual)); 3298 Assert.NotEqual(expected, actual); 3307 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3324 Assert.NotEqual(expected, actual); 3369 assertFailure(() => Assert.NotEqual(expected, actual)); 3370 assertFailure(() => Assert.NotEqual(expected, (IDictionary)actual)); 3371 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 3380 Assert.NotEqual(expected, actual); 3381 Assert.NotEqual(expected, (IDictionary)actual); 3382 Assert.NotEqual(expected, (object)actual); 3404 assertFailure(() => Assert.NotEqual(expected, (IDictionary)actual)); 3405 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 3414 Assert.NotEqual(expected, (IDictionary)actual); 3415 Assert.NotEqual(expected, (object)actual); 3424 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3441 Assert.NotEqual(expected, actual); 3453 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3470 Assert.NotEqual(expected, actual); 3479 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3496 Assert.NotEqual(expected, actual); 3518 assertFailure(() => Assert.NotEqual(expected, (ISet<string>)actual)); 3520 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 3530 Assert.NotEqual(expected, actual); 3576 assertFailure(() => Assert.NotEqual(expected, actual)); 3577 assertFailure(() => Assert.NotEqual(expected, (ISet<string>)actual)); 3579 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 3589 Assert.NotEqual(expected, actual); 3590 Assert.NotEqual(expected, (ISet<string>)actual); 3592 Assert.NotEqual(expected, (object)actual); 3615 assertFailure(() => Assert.NotEqual(expected, actual)); 3616 assertFailure(() => Assert.NotEqual(expected, (ISet<string>)actual)); 3618 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 3628 Assert.NotEqual(expected, actual); 3629 Assert.NotEqual(expected, (ISet<string>)actual); 3631 Assert.NotEqual(expected, (object)actual); 3641 Assert.NotEqual(expected, actual); 3642 Assert.NotEqual(expected, (ISet<string>)actual); 3644 Assert.NotEqual(expected, (object)actual); 3667 assertFailure(() => Assert.NotEqual(expected, actual)); 3668 assertFailure(() => Assert.NotEqual(expected, (ISet<string>)actual)); 3670 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 3680 Assert.NotEqual(expected, actual); 3681 Assert.NotEqual(expected, (ISet<string>)actual); 3683 Assert.NotEqual(expected, (object)actual); 3706 assertFailure(() => Assert.NotEqual(expected, actual)); 3707 assertFailure(() => Assert.NotEqual(expected, (ISet<string>)actual)); 3709 assertFailure(() => Assert.NotEqual(expected, (object)actual)); 3719 Assert.NotEqual(expected, actual); 3720 Assert.NotEqual(expected, (ISet<string>)actual); 3722 Assert.NotEqual(expected, (object)actual); 3753 var ex = Record.Exception(() => Assert.NotEqual("actual", "actual")); 3767 Assert.NotEqual("foo", "bar"); 3774 () => Assert.NotEqual( 3799 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3817 Assert.NotEqual(expected, actual); 3827 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3845 Assert.NotEqual(expected, actual); 3858 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3875 Assert.NotEqual(expected, actual); 3888 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3905 Assert.NotEqual(expected, actual); 3925 var ex = Record.Exception(() => Assert.NotEqual(expected, actual)); 3942 Assert.NotEqual(expected, actual);
EquivalenceAssertsTests.cs (1)
1547 Assert.NotEqual(assemblyPath, assemblyParentPath);
Microsoft.Extensions.Caching.Hybrid.Tests (5)
DistributedCacheTests.cs (2)
345Assert.NotEqual(0, segment.Offset); 348Assert.NotEqual(size, segment.Array.Length);
SizeTests.cs (2)
52Assert.NotEqual(expected, actual); 87Assert.NotEqual(expected, actual.Value);
StampedeTests.cs (1)
139Assert.NotEqual(first, second);
Microsoft.Extensions.Compliance.Abstractions.Tests (4)
Classification\DataClassificationSetTests.cs (2)
27Assert.NotEqual(dc1, dc6); 49Assert.NotEqual(dc1, dc6);
Classification\DataClassificationTests.cs (2)
33Assert.NotEqual(dc.GetHashCode(), new DataClassification(TaxonomyName + "X", Value).GetHashCode()); 34Assert.NotEqual(dc.GetHashCode(), new DataClassification(TaxonomyName, Value + 1).GetHashCode());
Microsoft.Extensions.Compliance.Redaction.Tests (2)
ErasingRedactorTests.cs (1)
48Assert.NotEqual(input, bufferString);
HmacRedactorTest.cs (1)
45Assert.NotEqual(0, length);
Microsoft.Extensions.Compliance.Testing.Tests (2)
RedactionFakesEventCollectorTests.cs (2)
48Assert.NotEqual(first.GetHashCode(), third.GetHashCode()); 68Assert.NotEqual(first.GetHashCode(), third.GetHashCode());
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (3)
ByteArrayEqualityComparerTests.cs (1)
63Assert.NotEqual(_comparer.GetHashCode(x), _comparer.GetHashCode(y));
Linux\AcceptanceTest.cs (2)
36Assert.NotEqual(default, provider.Resources); 37Assert.NotEqual(default, provider.GetSnapshot());
Microsoft.Extensions.FileProviders.Embedded.Tests (4)
EmbeddedFileProviderTests.cs (4)
51Assert.NotEqual(default(DateTimeOffset), fileInfo.LastModified); 117Assert.NotEqual(default(DateTimeOffset), fileInfo.LastModified); 155Assert.NotEqual(default(DateTimeOffset), fileInfo.LastModified); 193Assert.NotEqual(default(DateTimeOffset), fileInfo.LastModified);
Microsoft.Extensions.Telemetry.Tests (2)
Logging\LoggerEnrichmentOptionsTests.cs (2)
42Assert.NotEqual(ValidateOptionsResult.Success, v.Validate(null, o)); 45Assert.NotEqual(ValidateOptionsResult.Success, v.Validate(null, o));
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
SyntaxContextReceiverTests.cs (1)
76Assert.NotEqual(declaration.Value[0], declaration.Value[1]);
Microsoft.Gen.Logging.Generated.Tests (19)
LogMethodTests.cs (10)
234Assert.NotEqual(0, collector.LatestRecord.Id.Id); 242Assert.NotEqual(0, collector.LatestRecord.Id.Id); 250Assert.NotEqual(0, collector.LatestRecord.Id.Id); 258Assert.NotEqual(0, collector.LatestRecord.Id.Id); 266Assert.NotEqual(0, collector.LatestRecord.Id.Id); 274Assert.NotEqual(0, collector.LatestRecord.Id.Id); 285Assert.NotEqual(0, logRecord.Id.Id); 339Assert.NotEqual(0, collector.LatestRecord.Id.Id); 347Assert.NotEqual(0, collector.LatestRecord.Id.Id); 578Assert.NotEqual(0, logRecord.Id.Id);
LogPropertiesTests.cs (4)
473Assert.NotEqual(0, latestRecord.Id.Id); 524Assert.NotEqual(0, latestRecord.Id.Id); 549Assert.NotEqual(0, latestRecord.Id.Id); 575Assert.NotEqual(0, latestRecord.Id.Id);
TagProviderTests.cs (5)
83Assert.NotEqual(0, latestRecord.Id.Id); 106Assert.NotEqual(0, latestRecord.Id.Id); 127Assert.NotEqual(0, latestRecord.Id.Id); 138Assert.NotEqual(0, latestRecord.Id.Id); 188Assert.NotEqual(0, latestRecord.Id.Id);
Microsoft.JSInterop.Tests (1)
JSRuntimeTest.cs (1)
35Assert.NotEqual(runtime.BeginInvokeCalls[0].AsyncHandle, call.AsyncHandle);
Microsoft.ML.AutoML.Tests (5)
AutoFitTests.cs (1)
557Assert.NotEqual(0, metrices.MeanSquaredError);
InferredPipelineTests.cs (3)
40Assert.NotEqual(inferredPipeline1.GetHashCode(), inferredPipeline2.GetHashCode()); 49Assert.NotEqual(inferredPipeline1.GetHashCode(), inferredPipeline2.GetHashCode()); 67Assert.NotEqual(inferredPipeline1.GetHashCode(), inferredPipeline2.GetHashCode());
SweeperTests.cs (1)
258Assert.NotEqual(parameterSet.GetHashCode(), parameterSetNewHash.GetHashCode());
Microsoft.ML.Core.Tests (2)
UnitTests\TestCustomTypeRegister.cs (1)
312Assert.NotEqual(a, DataViewTypeManager.GetDataViewType(typeof(AlienBody), new[] { f }));
UnitTests\TestEntryPoints.cs (1)
4552Assert.NotEqual(0, feat.GetValues()[0]);
Microsoft.ML.IntegrationTests (2)
Debugging.cs (1)
154Assert.NotEqual(0, rowSum);
Training.cs (1)
162Assert.NotEqual(firstModelWeights, secondModelWeights);
Microsoft.ML.Predictor.Tests (1)
TestTransposer.cs (1)
31Assert.NotEqual(0, vecType?.Size);
Microsoft.ML.Tests (16)
ImagesTests.cs (2)
1191Assert.NotEqual(100, dataObjects[0].LoadedImage.Height); 1200Assert.NotEqual(100, prediction.LoadedImage.Height);
Scenarios\Api\TestApi.cs (2)
372Assert.NotEqual(simpleTestWorkClass, simpleWithSeedTestWorkClass); 400Assert.NotEqual(uniqueTest, uniqueSeedTest);
TextLoaderTests.cs (3)
1100Assert.NotEqual(Single.NaN, featuresPeriodArray[i]); 1113Assert.NotEqual(Single.NaN, featuresCommaArray[i]); 1118Assert.NotEqual(Single.NaN, featuresPeriodArray[i]);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (2)
704Assert.NotEqual(metrics.MeanAbsoluteError, secondMetrics.MeanAbsoluteError); 705Assert.NotEqual(metrics.MeanSquaredError, secondMetrics.MeanSquaredError);
Transformers\CountTargetEncodingTests.cs (1)
110Assert.NotEqual(weights, weightsNoNoise);
Transformers\NormalizerTests.cs (6)
923Assert.NotEqual(0f, transformParams.Mean); 924Assert.NotEqual(0f, transformParams.StandardDeviation); 928Assert.NotEqual(0f, noCdfParams.Scale); 966Assert.NotEqual(0f, transformParams.Mean[i]); 967Assert.NotEqual(0f, transformParams.StandardDeviation[i]); 971Assert.NotEqual(0f, noCdfParams.Scale[i]);
Microsoft.ML.Tokenizers.Tests (16)
CodeGenTests.cs (16)
618Assert.NotEqual(codeGenTokenizer.BeginningOfSentenceId.Value, ids[0]); 620Assert.NotEqual(codeGenTokenizer.BeginningOfSentenceId.Value, ids[0]); 725Assert.NotEqual(new Range(text.Length, text.Length), encoding[encoding.Count - 1].Offset); 730Assert.NotEqual(new Range(text.Length, text.Length), encoding[encoding.Count - 1].Offset); 735Assert.NotEqual(new Range(text.Length, text.Length), encoding[encoding.Count - 1].Offset); 740Assert.NotEqual(new Range(text.Length, text.Length), encoding[encoding.Count - 1].Offset); 751Assert.NotEqual(codeGenTokenizer.EndOfSentenceId.Value, ids[ids.Count - 1]); 753Assert.NotEqual(codeGenTokenizer.EndOfSentenceId.Value, ids[ids.Count - 1]); 869Assert.NotEqual(new Range(text.Length, text.Length), encoding[encoding.Count - 1].Offset); 875Assert.NotEqual(new Range(text.Length, text.Length), encoding[encoding.Count - 1].Offset); 881Assert.NotEqual(new Range(text.Length, text.Length), encoding[encoding.Count - 1].Offset); 887Assert.NotEqual(new Range(text.Length, text.Length), encoding[encoding.Count - 1].Offset); 902Assert.NotEqual(codeGenTokenizer.BeginningOfSentenceId.Value, ids[0]); 903Assert.NotEqual(codeGenTokenizer.EndOfSentenceId.Value, ids[ids.Count - 1]); 905Assert.NotEqual(codeGenTokenizer.BeginningOfSentenceId.Value, ids[0]); 906Assert.NotEqual(codeGenTokenizer.EndOfSentenceId.Value, ids[ids.Count - 1]);
Microsoft.Net.Http.Headers.Tests (33)
CacheControlHeaderValueTest.cs (1)
557Assert.NotEqual(x.GetHashCode(), y.GetHashCode());
ContentDispositionHeaderValueTest.cs (3)
441Assert.NotEqual(contentDisposition1.GetHashCode(), contentDisposition2.GetHashCode()); 442Assert.NotEqual(contentDisposition1.GetHashCode(), contentDisposition3.GetHashCode()); 443Assert.NotEqual(contentDisposition2.GetHashCode(), contentDisposition3.GetHashCode());
ContentRangeHeaderValueTest.cs (4)
111Assert.NotEqual(range1.GetHashCode(), range2.GetHashCode()); 112Assert.NotEqual(range1.GetHashCode(), range3.GetHashCode()); 113Assert.NotEqual(range2.GetHashCode(), range3.GetHashCode()); 115Assert.NotEqual(range1.GetHashCode(), range5.GetHashCode());
EntityTagHeaderValueTest.cs (4)
70Assert.NotEqual(etag1.GetHashCode(), etag2.GetHashCode()); 71Assert.NotEqual(etag1.GetHashCode(), etag3.GetHashCode()); 72Assert.NotEqual(etag1.GetHashCode(), etag4.GetHashCode()); 73Assert.NotEqual(etag1.GetHashCode(), etag6.GetHashCode());
MediaTypeHeaderValueTest.cs (3)
354Assert.NotEqual(mediaType1.GetHashCode(), mediaType2.GetHashCode()); 355Assert.NotEqual(mediaType1.GetHashCode(), mediaType3.GetHashCode()); 356Assert.NotEqual(mediaType2.GetHashCode(), mediaType3.GetHashCode());
NameValueHeaderValueTest.cs (4)
177Assert.NotEqual(nameValue1.GetHashCode(), nameValue2.GetHashCode()); 181Assert.NotEqual(nameValue1.GetHashCode(), nameValue2.GetHashCode()); 197Assert.NotEqual(nameValue1.GetHashCode(), nameValue2.GetHashCode()); 645Assert.NotEqual(input, actual);
RangeConditionHeaderValueTest.cs (3)
63Assert.NotEqual(rangeCondition1.GetHashCode(), rangeCondition3.GetHashCode()); 64Assert.NotEqual(rangeCondition3.GetHashCode(), rangeCondition4.GetHashCode()); 66Assert.NotEqual(rangeCondition1.GetHashCode(), rangeCondition6.GetHashCode());
RangeHeaderValueTest.cs (3)
57Assert.NotEqual(range1.GetHashCode(), range3.GetHashCode()); 58Assert.NotEqual(range1.GetHashCode(), range4.GetHashCode()); 59Assert.NotEqual(range1.GetHashCode(), range5.GetHashCode());
RangeItemHeaderValueTest.cs (3)
63Assert.NotEqual(rangeItem1.GetHashCode(), rangeItem2.GetHashCode()); 64Assert.NotEqual(rangeItem1.GetHashCode(), rangeItem3.GetHashCode()); 65Assert.NotEqual(rangeItem1.GetHashCode(), rangeItem4.GetHashCode());
StringWithQualityHeaderValueTest.cs (5)
70Assert.NotEqual(value1.GetHashCode(), value4.GetHashCode()); 71Assert.NotEqual(value1.GetHashCode(), value5.GetHashCode()); 72Assert.NotEqual(value1.GetHashCode(), value6.GetHashCode()); 73Assert.NotEqual(value1.GetHashCode(), value7.GetHashCode()); 75Assert.NotEqual(value4.GetHashCode(), value9.GetHashCode());
Microsoft.VisualBasic.IntegrationTests (2)
InteractionTests.cs (1)
53Assert.NotEqual(2, process.ExitCode);
Microsoft\VisualBasic\MyServices\Internal\ProgressDialogTests.cs (1)
18Assert.NotEqual(2, process.ExitCode);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
Options\OptionViewModelTests.cs (1)
65Assert.NotEqual(modifiedPreview, originalPreview);
ProjectSystemShim\CPS\SourceFileHandlingTests.cs (1)
101Assert.NotEqual(oldVersion, newVersion);
Roslyn.Test.PdbUtilities (3)
Reader\PdbValidation.cs (3)
133Assert.NotEqual(default(DebugInformationFormat), format); 134Assert.NotEqual(DebugInformationFormat.Embedded, format); 238Assert.NotEqual(DebugInformationFormat.Embedded, format);
Shared.Tests (4)
Data.Validation\LengthAttributeTests.cs (1)
375Assert.NotEqual(ValidationResult.Success, result);
Data.Validation\TimeSpanAttributeTests.cs (1)
252Assert.NotEqual(ValidationResult.Success, result);
Memoization\MemoizeTests.cs (2)
168Assert.NotEqual(Args(0).GetHashCode(), Args(1).GetHashCode()); 226Assert.NotEqual(Args(0, 0).GetHashCode(), Args(0, 1).GetHashCode());
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (1)
1129Assert.NotEqual(0, received);
System.Drawing.Common.Tests (34)
System\Drawing\BitmapTests.cs (2)
601Assert.NotEqual(IntPtr.Zero, handle); 698Assert.NotEqual(IntPtr.Zero, handle);
System\Drawing\Drawing2D\GraphicsPathTests.cs (1)
1047Assert.NotEqual(gp1.PointCount, gp3.PointCount);
System\Drawing\Drawing2D\HatchBrushTests.cs (3)
21Assert.NotEqual(foreColor, brush.ForegroundColor); 40Assert.NotEqual(foreColor, brush.ForegroundColor); 43Assert.NotEqual(backColor, brush.BackgroundColor);
System\Drawing\Drawing2D\PathGradientBrushTests.cs (2)
181Assert.NotEqual(Color.FromArgb(255, 0, 0, 255), brush.SurroundColors[0]); 554Assert.NotEqual(Color.Pink, brush.InterpolationColors.Colors[0]);
System\Drawing\FontConverterTests.cs (1)
229Assert.NotEqual(GraphicsUnit.Display, item);
System\Drawing\FontTests.cs (6)
816Assert.NotEqual(IntPtr.Zero, hfont); 817Assert.NotEqual(hfont, font.ToHfont()); 829Assert.NotEqual(IntPtr.Zero, hfont); 830Assert.NotEqual(hfont, font.ToHfont()); 833Assert.NotEqual(font.Name, newFont.Name); 888Assert.NotEqual(font1.GetHashCode(), font2.GetHashCode());
System\Drawing\GraphicsTests.cs (3)
26Assert.NotEqual(IntPtr.Zero, hdc); 176Assert.NotEqual(hdc1, hdc2); 1574Assert.NotEqual(color, imageColor);
System\Drawing\IconTests.cs (5)
227Assert.NotEqual(sourceIcon.Handle, icon.Handle); 239Assert.NotEqual(sourceIcon.Handle, icon.Handle); 284Assert.NotEqual(icon.Handle, clone.Handle); 296Assert.NotEqual(icon.Handle, clone.Handle); 325Assert.NotEqual(IntPtr.Zero, handle);
System\Drawing\Imaging\MetafileTests.cs (1)
908Assert.NotEqual(IntPtr.Zero, metafile.GetHenhmetafile());
System\Drawing\Printing\PrinterSettingsTests.cs (3)
514Assert.NotEqual(IntPtr.Zero, handle); 525Assert.NotEqual(IntPtr.Zero, handle); 542Assert.NotEqual(IntPtr.Zero, handle);
System\Drawing\RegionTests.cs (5)
914Assert.NotEqual(IntPtr.Zero, handle1); 915Assert.NotEqual(handle1, handle2); 919Assert.NotEqual(handle3, handle1); 938Assert.NotEqual(IntPtr.Zero, handle); 953Assert.NotEqual(IntPtr.Zero, handle);
System\Drawing\SolidBrushTests.cs (2)
32Assert.NotEqual(Color.PeachPuff, clone.Color); 36Assert.NotEqual(Color.PapayaWhip, clone.Color);
System.ServiceModel.Primitives.Tests (9)
ServiceModel\ClientBaseTest.cs (7)
40Assert.NotEqual(client1.ChannelFactory, client2.ChannelFactory); 61Assert.NotEqual(client1.ChannelFactory, client2.ChannelFactory); 88Assert.NotEqual(client1.ChannelFactory, client4.ChannelFactory); 118Assert.NotEqual(client1.ChannelFactory, client3.ChannelFactory); 128Assert.NotEqual(existingChannelFactory, client4.ChannelFactory); 146Assert.NotEqual(client1.ChannelFactory, client2.ChannelFactory); 167Assert.NotEqual(client1.ChannelFactory, client2.ChannelFactory);
ServiceModel\FaultExceptionTest.cs (2)
121Assert.NotEqual(string.Empty, exception.Reason.ToString()); 171Assert.NotEqual(string.Empty, exception.Reason.ToString());
System.Windows.Forms.Design.Tests (12)
System\ComponentModel\Design\ByteViewerTests.cs (9)
232Assert.NotEqual(IntPtr.Zero, control.Handle); 285Assert.NotEqual(IntPtr.Zero, control.Handle); 357Assert.NotEqual(IntPtr.Zero, control.Handle); 473Assert.NotEqual(IntPtr.Zero, control.Handle); 548Assert.NotEqual(IntPtr.Zero, control.Handle); 651Assert.NotEqual(IntPtr.Zero, control.Handle); 764Assert.NotEqual(IntPtr.Zero, control.Handle); 948Assert.NotEqual(IntPtr.Zero, control.Handle); 976Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Drawing\Design\ToolboxItemTests.cs (2)
1355Assert.NotEqual(bitmap, item.Bitmap); 1398Assert.NotEqual(bitmap, item.Bitmap);
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (1)
103Assert.NotEqual(snapLine.IsHorizontal, snapLine.IsVertical);
System.Windows.Forms.Primitives.Tests (7)
Interop\Oleaut32\ITypeInfoTests.cs (4)
55Assert.NotEqual(0u, index); 113Assert.NotEqual(IntPtr.Zero, (IntPtr)pFuncDesc->lprgelemdescParam); 217Assert.NotEqual(0u, refType); 234Assert.NotEqual(0u, refType);
Interop\Shell32\ShellItemTests.cs (1)
20Assert.NotEqual(0, (nint)ppidl);
Windows\Win32\AgileComPointerTests.cs (2)
40Assert.NotEqual(originalPtr, (nint)proxyStreamPtr.Value); 47Assert.NotEqual((nint)originalUnknownPtr.Value, proxyUnknownPtr);
System.Windows.Forms.Tests (2264)
CheckedListBoxTests.cs (4)
190Assert.NotEqual(IntPtr.Zero, control.Handle); 298Assert.NotEqual(IntPtr.Zero, control.Handle); 328Assert.NotEqual(IntPtr.Zero, control.Handle); 433Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (4)
1198Assert.NotEqual(0, iAccessible.accNavigate(navDir, varChild)); 2641Assert.NotEqual(0, ((int)accessible.accState & 0x100000)); // STATE_SYSTEM_FOCUSABLE 2672Assert.NotEqual(0, ((int)accessible.accState & 0x100000)); // STATE_SYSTEM_FOCUSABLE 2729Assert.NotEqual(expectedIdChild, idChild);
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (6)
42Assert.NotEqual(AccessibleStates.Collapsed, accessibleObject.State & AccessibleStates.Collapsed); 47Assert.NotEqual(AccessibleStates.Expanded, accessibleObject.State & AccessibleStates.Expanded); 67Assert.NotEqual(AccessibleStates.Collapsed, accessibleObject.State & AccessibleStates.Collapsed); 68Assert.NotEqual(AccessibleStates.Expanded, accessibleObject.State & AccessibleStates.Expanded); 72Assert.NotEqual(AccessibleStates.Collapsed, accessibleObject.State & AccessibleStates.Collapsed); 73Assert.NotEqual(AccessibleStates.Expanded, accessibleObject.State & AccessibleStates.Expanded);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (4)
75Assert.NotEqual(IntPtr.Zero, ownerControl.Handle); 180Assert.NotEqual(IntPtr.Zero, controlAccessibleObject.Handle); 1064Assert.NotEqual(IntPtr.Zero, ownerControl.Handle); 1083Assert.NotEqual(IntPtr.Zero, ownerControl.Handle);
System\Windows\Forms\AccessibleObjects\DataGridViewColumnHeaderCellAccessibleObjectTests.cs (1)
79Assert.NotEqual(Rectangle.Empty, accessibleObject.Bounds);
System\Windows\Forms\AccessibleObjects\DataGridViewRowHeaderCellAccessibleObjectTests.cs (1)
130Assert.NotEqual(Rectangle.Empty, accessibleObject.Bounds);
System\Windows\Forms\AccessibleObjects\DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs (1)
56Assert.NotEqual(Rectangle.Empty, cell.AccessibilityObject.Bounds);
System\Windows\Forms\AccessibleObjects\ErrorProvider.ControlItem.ControlItemAccessibleObjectTests.cs (1)
56Assert.NotEqual(Rectangle.Empty, accessibleObject.Bounds);
System\Windows\Forms\AccessibleObjects\ErrorProviderAccessibleObjectTests.cs (3)
156Assert.NotEqual(errorWindowControlType, actualWindowAccessibleName); 160Assert.NotEqual(controlItemControlType, actualItemAccessibleName); 162Assert.NotEqual(actualWindowAccessibleName, actualItemAccessibleName);
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (3)
102Assert.NotEqual(firstChild, lastChild); 132Assert.NotEqual(firstChild, lastChild); 173Assert.NotEqual(firstChild, lastChild);
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (11)
155Assert.NotEqual(IntPtr.Zero, listView.Handle); 224Assert.NotEqual(IntPtr.Zero, listView.Handle); 393Assert.NotEqual(IntPtr.Zero, listView.Handle); 485Assert.NotEqual(IntPtr.Zero, listView.Handle); 519Assert.NotEqual(IntPtr.Zero, listView.Handle); 602Assert.NotEqual(IntPtr.Zero, listView.Handle); 688Assert.NotEqual(IntPtr.Zero, listView.Handle); 726Assert.NotEqual(IntPtr.Zero, listView.Handle); 758Assert.NotEqual(IntPtr.Zero, listView.Handle); 1276Assert.NotEqual(IntPtr.Zero, listView.Handle); 1464Assert.NotEqual(IntPtr.Zero, listView.Handle);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (7)
72Assert.NotEqual(IntPtr.Zero, listView.Handle); 652Assert.NotEqual(IntPtr.Zero, listView.Handle); 714Assert.NotEqual(IntPtr.Zero, listView.Handle); 848Assert.NotEqual(IntPtr.Zero, listView.Handle); 896Assert.NotEqual(IntPtr.Zero, listView.Handle); 931Assert.NotEqual(IntPtr.Zero, listView.Handle); 1789Assert.NotEqual(2, accessibleObject.GetChildCount());
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemWithImageAccessibleObjectTests.cs (1)
42Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (7)
228Assert.NotEqual(Rectangle.Empty, subItemAccObj1.Bounds); 229Assert.NotEqual(Rectangle.Empty, subItemAccObj2.Bounds); 230Assert.NotEqual(Rectangle.Empty, subItemAccObj3.Bounds); 232Assert.NotEqual(Rectangle.Empty, subItemAccObjInGroup1.Bounds); 233Assert.NotEqual(Rectangle.Empty, subItemAccObjInGroup2.Bounds); 234Assert.NotEqual(Rectangle.Empty, subItemAccObjInGroup3.Bounds); 906Assert.NotEqual(itemAccessibleObject.Bounds, subItemAccessibleObject.Bounds);
System\Windows\Forms\AccessibleObjects\ScrollBar.ScrollBarChildAccessibleObjectTests.cs (1)
48Assert.NotEqual(Rectangle.Empty, accessibleObject.Bounds);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (1)
19Assert.NotEqual(Rectangle.Empty, accessibleObject.Bounds);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (1)
19Assert.NotEqual(Rectangle.Empty, accessibleObject.Bounds);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarThumbAccessibleObjectTests.cs (1)
30Assert.NotEqual(Rectangle.Empty, accessibleObject.Bounds);
System\Windows\Forms\Application.ComponentManagerTests.cs (3)
76Assert.NotEqual(UIntPtr.Zero, id); 80Assert.NotEqual(UIntPtr.Zero, newId); 82Assert.NotEqual(id, newId);
System\Windows\Forms\ApplicationContextTests.cs (4)
79Assert.NotEqual(IntPtr.Zero, mainForm.Handle); 108Assert.NotEqual(IntPtr.Zero, mainForm.Handle); 111Assert.NotEqual(IntPtr.Zero, newMainForm.Handle); 142Assert.NotEqual(IntPtr.Zero, mainForm.Handle);
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (20)
156Assert.NotEqual(IntPtr.Zero, control.Handle); 404Assert.NotEqual(IntPtr.Zero, control.Handle); 427Assert.NotEqual(IntPtr.Zero, control.Handle); 453Assert.NotEqual(IntPtr.Zero, control.Handle); 556Assert.NotEqual(IntPtr.Zero, control.Handle); 592Assert.NotEqual(IntPtr.Zero, control.Handle); 623Assert.NotEqual(IntPtr.Zero, control.Handle); 671Assert.NotEqual(IntPtr.Zero, control.Handle); 719Assert.NotEqual(IntPtr.Zero, control.Handle); 837Assert.NotEqual(IntPtr.Zero, control.Handle); 868Assert.NotEqual(IntPtr.Zero, control.Handle); 897Assert.NotEqual(IntPtr.Zero, control.Handle); 929Assert.NotEqual(IntPtr.Zero, control.Handle); 958Assert.NotEqual(IntPtr.Zero, control.Handle); 1001Assert.NotEqual(IntPtr.Zero, control.Handle); 1045Assert.NotEqual(IntPtr.Zero, control.Handle); 1097Assert.NotEqual(IntPtr.Zero, control.Handle); 1145Assert.NotEqual(IntPtr.Zero, control.Handle); 1193Assert.NotEqual(IntPtr.Zero, control.Handle); 1247Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\AxHost.PropertyBagStreamTests.cs (2)
27Assert.NotEqual(0, stream.Length); 78Assert.NotEqual(0, stream.Length);
System\Windows\Forms\AxHostTests.cs (31)
452Assert.NotEqual(IntPtr.Zero, control.Handle); 808Assert.NotEqual(IntPtr.Zero, control.Handle); 902Assert.NotEqual(IntPtr.Zero, control.Handle); 1295Assert.NotEqual(IntPtr.Zero, control.Handle); 1310Assert.NotEqual(IntPtr.Zero, control.Handle); 1323Assert.NotEqual(IntPtr.Zero, control.Handle); 1373Assert.NotEqual(IntPtr.Zero, control.Handle); 1415Assert.NotEqual(IntPtr.Zero, control.Handle); 1457Assert.NotEqual(IntPtr.Zero, iFont.hFont); 1486Assert.NotEqual(IntPtr.Zero, iFont.hFont); 1532Assert.NotEqual(IntPtr.Zero, iFont.hFont); 1553Assert.NotEqual(IntPtr.Zero, iFont.hFont); 2090Assert.NotEqual(IntPtr.Zero, control.Handle); 2156Assert.NotEqual(IntPtr.Zero, control.Handle); 2226Assert.NotEqual(IntPtr.Zero, control.Handle); 2345Assert.NotEqual(IntPtr.Zero, control.Handle); 2387Assert.NotEqual(IntPtr.Zero, control.Handle); 2427Assert.NotEqual(IntPtr.Zero, control.Handle); 2467Assert.NotEqual(IntPtr.Zero, control.Handle); 2509Assert.NotEqual(IntPtr.Zero, control.Handle); 2553Assert.NotEqual(IntPtr.Zero, control.Handle); 2603Assert.NotEqual(IntPtr.Zero, control.Handle); 2647Assert.NotEqual(IntPtr.Zero, control.Handle); 2704Assert.NotEqual(IntPtr.Zero, control.Handle); 2752Assert.NotEqual(IntPtr.Zero, control.Handle); 2800Assert.NotEqual(IntPtr.Zero, control.Handle); 2846Assert.NotEqual(IntPtr.Zero, control.Handle); 2903Assert.NotEqual(IntPtr.Zero, control.Handle); 2951Assert.NotEqual(IntPtr.Zero, control.Handle); 2999Assert.NotEqual(IntPtr.Zero, control.Handle); 3053Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ButtonBaseTests.cs (99)
276Assert.NotEqual(IntPtr.Zero, control.Handle); 374Assert.NotEqual(IntPtr.Zero, control.Handle); 423Assert.NotEqual(IntPtr.Zero, control.Handle); 703Assert.NotEqual(IntPtr.Zero, control.Handle); 906Assert.NotEqual(IntPtr.Zero, control.Handle); 961Assert.NotEqual(IntPtr.Zero, control.Handle); 1202Assert.NotEqual(IntPtr.Zero, control.Handle); 1263Assert.NotEqual(IntPtr.Zero, control.Handle); 1326Assert.NotEqual(IntPtr.Zero, parent.Handle); 1327Assert.NotEqual(IntPtr.Zero, control.Handle); 1617Assert.NotEqual(IntPtr.Zero, control.Handle); 1669Assert.NotEqual(IntPtr.Zero, control.Handle); 1723Assert.NotEqual(IntPtr.Zero, parent.Handle); 1724Assert.NotEqual(IntPtr.Zero, control.Handle); 1804Assert.NotEqual(IntPtr.Zero, control.Handle); 1947Assert.NotEqual(IntPtr.Zero, control.Handle); 1995Assert.NotEqual(IntPtr.Zero, parent.Handle); 1996Assert.NotEqual(IntPtr.Zero, control.Handle); 2180Assert.NotEqual(IntPtr.Zero, control.Handle); 2331Assert.NotEqual(IntPtr.Zero, control.Handle); 2438Assert.NotEqual(IntPtr.Zero, control.Handle); 2479Assert.NotEqual(IntPtr.Zero, control.Handle); 2543Assert.NotEqual(IntPtr.Zero, control.Handle); 2588Assert.NotEqual(IntPtr.Zero, imageList1.Handle); 2611Assert.NotEqual(IntPtr.Zero, control.Handle); 2618Assert.NotEqual(IntPtr.Zero, imageList1.Handle); 2760Assert.NotEqual(IntPtr.Zero, control.Handle); 2915Assert.NotEqual(IntPtr.Zero, control.Handle); 2963Assert.NotEqual(IntPtr.Zero, control.Handle); 3135Assert.NotEqual(IntPtr.Zero, control.Handle); 3176Assert.NotEqual(IntPtr.Zero, parent.Handle); 3177Assert.NotEqual(IntPtr.Zero, control.Handle); 3382Assert.NotEqual(IntPtr.Zero, control.Handle); 3438Assert.NotEqual(IntPtr.Zero, parent.Handle); 3439Assert.NotEqual(IntPtr.Zero, control.Handle); 3611Assert.NotEqual(IntPtr.Zero, control.Handle); 3664Assert.NotEqual(IntPtr.Zero, parent.Handle); 3665Assert.NotEqual(IntPtr.Zero, control.Handle); 3817Assert.NotEqual(IntPtr.Zero, control.Handle); 3862Assert.NotEqual(IntPtr.Zero, control.Handle); 4036Assert.NotEqual(IntPtr.Zero, control.Handle); 4091Assert.NotEqual(IntPtr.Zero, parent.Handle); 4092Assert.NotEqual(IntPtr.Zero, control.Handle); 4204Assert.NotEqual(IntPtr.Zero, control.Handle); 4245Assert.NotEqual(IntPtr.Zero, control.Handle); 4306Assert.NotEqual(IntPtr.Zero, control.Handle); 4433Assert.NotEqual(IntPtr.Zero, control.Handle); 4488Assert.NotEqual(IntPtr.Zero, control.Handle); 5037Assert.NotEqual(IntPtr.Zero, control.Handle); 5213Assert.NotEqual(IntPtr.Zero, control.Handle); 5271Assert.NotEqual(IntPtr.Zero, control.Handle); 5336Assert.NotEqual(IntPtr.Zero, control.Handle); 5401Assert.NotEqual(IntPtr.Zero, control.Handle); 5454Assert.NotEqual(IntPtr.Zero, control.Handle); 5590Assert.NotEqual(IntPtr.Zero, control.Handle); 5649Assert.NotEqual(IntPtr.Zero, control.Handle); 5704Assert.NotEqual(IntPtr.Zero, control.Handle); 5728Assert.NotEqual(IntPtr.Zero, control.Handle); 5855Assert.NotEqual(IntPtr.Zero, control.Handle); 5919Assert.NotEqual(IntPtr.Zero, control.Handle); 5983Assert.NotEqual(IntPtr.Zero, control.Handle); 6007Assert.NotEqual(IntPtr.Zero, control.Handle); 6054Assert.NotEqual(IntPtr.Zero, control.Handle); 6167Assert.NotEqual(IntPtr.Zero, control.Handle); 6315Assert.NotEqual(IntPtr.Zero, control.Handle); 6374Assert.NotEqual(IntPtr.Zero, control.Handle); 6469Assert.NotEqual(IntPtr.Zero, control.Handle); 6647Assert.NotEqual(IntPtr.Zero, control.Handle); 6714Assert.NotEqual(IntPtr.Zero, control.Handle); 6782Assert.NotEqual(IntPtr.Zero, control.Handle); 6884Assert.NotEqual(IntPtr.Zero, control.Handle); 7042Assert.NotEqual(IntPtr.Zero, control.Handle); 7100Assert.NotEqual(IntPtr.Zero, control.Handle); 7248Assert.NotEqual(IntPtr.Zero, control.Handle); 7296Assert.NotEqual(IntPtr.Zero, parent.Handle); 7297Assert.NotEqual(IntPtr.Zero, control.Handle); 7472Assert.NotEqual(IntPtr.Zero, control.Handle); 7530Assert.NotEqual(IntPtr.Zero, control.Handle); 7580Assert.NotEqual(IntPtr.Zero, control.Handle); 7747Assert.NotEqual(IntPtr.Zero, control.Handle); 7792Assert.NotEqual(IntPtr.Zero, control.Handle); 7835Assert.NotEqual(IntPtr.Zero, control.Handle); 7877Assert.NotEqual(IntPtr.Zero, control.Handle); 8087Assert.NotEqual(IntPtr.Zero, control.Handle); 8137Assert.NotEqual(IntPtr.Zero, control.Handle); 8185Assert.NotEqual(IntPtr.Zero, control.Handle); 8232Assert.NotEqual(IntPtr.Zero, control.Handle); 8353Assert.NotEqual(IntPtr.Zero, control.Handle); 8393Assert.NotEqual(IntPtr.Zero, control.Handle); 8592Assert.NotEqual(IntPtr.Zero, control.Handle); 8642Assert.NotEqual(IntPtr.Zero, control.Handle); 8690Assert.NotEqual(IntPtr.Zero, control.Handle); 8737Assert.NotEqual(IntPtr.Zero, control.Handle); 8795Assert.NotEqual(IntPtr.Zero, control.Handle); 8975Assert.NotEqual(IntPtr.Zero, control.Handle); 9019Assert.NotEqual(IntPtr.Zero, control.Handle); 9067Assert.NotEqual(IntPtr.Zero, control.Handle); 9155Assert.NotEqual(IntPtr.Zero, control.Handle); 9225Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ButtonTests.cs (27)
414Assert.NotEqual(IntPtr.Zero, control.Handle); 462Assert.NotEqual(IntPtr.Zero, parent.Handle); 535Assert.NotEqual(IntPtr.Zero, parent.Handle); 634Assert.NotEqual(IntPtr.Zero, control.Handle); 851Assert.NotEqual(IntPtr.Zero, control.Handle); 892Assert.NotEqual(IntPtr.Zero, parent.Handle); 893Assert.NotEqual(IntPtr.Zero, control.Handle); 1857Assert.NotEqual(IntPtr.Zero, control.Handle); 1978Assert.NotEqual(IntPtr.Zero, control.Handle); 2026Assert.NotEqual(IntPtr.Zero, control.Handle); 2147Assert.NotEqual(IntPtr.Zero, control.Handle); 2200Assert.NotEqual(IntPtr.Zero, control.Handle); 2315Assert.NotEqual(IntPtr.Zero, control.Handle); 2457Assert.NotEqual(IntPtr.Zero, control.Handle); 2515Assert.NotEqual(IntPtr.Zero, control.Handle); 2605Assert.NotEqual(IntPtr.Zero, control.Handle); 2752Assert.NotEqual(IntPtr.Zero, control.Handle); 2819Assert.NotEqual(IntPtr.Zero, control.Handle); 2982Assert.NotEqual(IntPtr.Zero, control.Handle); 3030Assert.NotEqual(IntPtr.Zero, parent.Handle); 3031Assert.NotEqual(IntPtr.Zero, control.Handle); 3159Assert.NotEqual(IntPtr.Zero, control.Handle); 3206Assert.NotEqual(IntPtr.Zero, control.Handle); 3454Assert.NotEqual(IntPtr.Zero, control.Handle); 3486Assert.NotEqual(IntPtr.Zero, control.Handle); 3529Assert.NotEqual(IntPtr.Zero, control.Handle); 3633Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ColorDialogTests.cs (3)
25Assert.NotEqual(IntPtr.Zero, dialog.Instance); 50Assert.NotEqual(IntPtr.Zero, dialog.Instance); 347Assert.NotEqual(IntPtr.Zero, dialog.Instance);
System\Windows\Forms\ColumnHeaderCollectionTests.cs (4)
458Assert.NotEqual(IntPtr.Zero, listView.Handle); 509Assert.NotEqual(IntPtr.Zero, listView.Handle); 975Assert.NotEqual(IntPtr.Zero, listView.Handle); 1014Assert.NotEqual(IntPtr.Zero, listView.Handle);
System\Windows\Forms\ColumnHeaderTests.cs (21)
163Assert.NotEqual(IntPtr.Zero, listView.Handle); 218Assert.NotEqual(IntPtr.Zero, listView.Handle); 405Assert.NotEqual(IntPtr.Zero, listView.Handle); 441Assert.NotEqual(IntPtr.Zero, listView.Handle); 470Assert.NotEqual(IntPtr.Zero, listView.Handle); 495Assert.NotEqual(IntPtr.Zero, listView.Handle); 622Assert.NotEqual(IntPtr.Zero, listView.Handle); 661Assert.NotEqual(IntPtr.Zero, listView.Handle); 692Assert.NotEqual(IntPtr.Zero, listView.Handle); 709Assert.NotEqual(IntPtr.Zero, listView.Handle); 813Assert.NotEqual(IntPtr.Zero, listView.Handle); 988Assert.NotEqual(IntPtr.Zero, listView.Handle); 1006Assert.NotEqual(IntPtr.Zero, listView.Handle); 1159Assert.NotEqual(IntPtr.Zero, listView.Handle); 1198Assert.NotEqual(IntPtr.Zero, listView.Handle); 1232Assert.NotEqual(IntPtr.Zero, listView.Handle); 1256Assert.NotEqual(IntPtr.Zero, listView.Handle); 1322Assert.NotEqual(IntPtr.Zero, listView.Handle); 1360Assert.NotEqual(IntPtr.Zero, listView.Handle); 1378Assert.NotEqual(IntPtr.Zero, listView.Handle); 1421Assert.NotEqual(IntPtr.Zero, listView.Handle);
System\Windows\Forms\ColumnStyleTests.cs (1)
101Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ComboBoxTests.cs (12)
197Assert.NotEqual(IntPtr.Zero, control.Handle); 917Assert.NotEqual(IntPtr.Zero, control.Handle); 1085Assert.NotEqual(IntPtr.Zero, control.Handle); 1198Assert.NotEqual(IntPtr.Zero, control.Handle); 1382Assert.NotEqual(IntPtr.Zero, control.Handle); 1408Assert.NotEqual(IntPtr.Zero, control.Handle); 1435Assert.NotEqual(IntPtr.Zero, control.Handle); 1881Assert.NotEqual(IntPtr.Zero, control.Handle); 1915Assert.NotEqual(IntPtr.Zero, control.Handle); 2076Assert.NotEqual(IntPtr.Zero, control.Handle); 2121Assert.NotEqual(IntPtr.Zero, control.Handle); 2685Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\CommonDialogTests.cs (2)
189Assert.NotEqual(IntPtr.Zero, owner.Handle); 211Assert.NotEqual(IntPtr.Zero, owner.Handle);
System\Windows\Forms\ComponentModel\Com2Interop\COM2FontConverterTests.cs (1)
46Assert.NotEqual(font, Control.DefaultFont);
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (1)
60Assert.NotEqual(0, handleProperty.GetValue(iPictureDisp));
System\Windows\Forms\ContainerControlTests.cs (3)
1222Assert.NotEqual(IntPtr.Zero, control.Handle); 1259Assert.NotEqual(IntPtr.Zero, control.Handle); 1290Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\Control.ActiveXFontMarshallerTests.cs (1)
24Assert.NotEqual(0, native);
System\Windows\Forms\ControlTests.ControlCollection.cs (19)
335Assert.NotEqual(IntPtr.Zero, owner.Handle); 364Assert.NotEqual(IntPtr.Zero, control.Handle); 393Assert.NotEqual(IntPtr.Zero, owner.Handle); 400Assert.NotEqual(IntPtr.Zero, control.Handle); 432Assert.NotEqual(IntPtr.Zero, owner.Handle); 439Assert.NotEqual(IntPtr.Zero, control.Handle); 589Assert.NotEqual(IntPtr.Zero, control.Handle); 811Assert.NotEqual(IntPtr.Zero, control.Handle); 1037Assert.NotEqual(IntPtr.Zero, control.Handle); 1127Assert.NotEqual(IntPtr.Zero, owner.Handle); 1151Assert.NotEqual(IntPtr.Zero, control.Handle); 2061Assert.NotEqual(IntPtr.Zero, child1.Handle); 2137Assert.NotEqual(IntPtr.Zero, owner.Handle); 2289Assert.NotEqual(IntPtr.Zero, control.Handle); 2508Assert.NotEqual(IntPtr.Zero, control.Handle); 2704Assert.NotEqual(IntPtr.Zero, control.Handle); 3179Assert.NotEqual(IntPtr.Zero, child1.Handle); 3258Assert.NotEqual(IntPtr.Zero, owner.Handle); 3352Assert.NotEqual(IntPtr.Zero, owner.Handle);
System\Windows\Forms\ControlTests.cs (1)
597Assert.NotEqual(IntPtr.Zero, parent.Handle);
System\Windows\Forms\ControlTests.Handlers.cs (45)
68Assert.NotEqual(IntPtr.Zero, control.Handle); 107Assert.NotEqual(IntPtr.Zero, control.Handle); 258Assert.NotEqual(IntPtr.Zero, control.Handle); 302Assert.NotEqual(IntPtr.Zero, control.Handle); 461Assert.NotEqual(IntPtr.Zero, control.Handle); 607Assert.NotEqual(IntPtr.Zero, control.Handle); 875Assert.NotEqual(IntPtr.Zero, control.Handle); 933Assert.NotEqual(IntPtr.Zero, control.Handle); 1436Assert.NotEqual(IntPtr.Zero, control.Handle); 1470Assert.NotEqual(IntPtr.Zero, control.Handle); 1696Assert.NotEqual(IntPtr.Zero, control.Handle); 1839Assert.NotEqual(IntPtr.Zero, control.Handle); 1890Assert.NotEqual(IntPtr.Zero, control.Handle); 1934Assert.NotEqual(IntPtr.Zero, control.Handle); 2153Assert.NotEqual(IntPtr.Zero, control.Handle); 2195Assert.NotEqual(IntPtr.Zero, control.Handle); 2240Assert.NotEqual(IntPtr.Zero, control.Handle); 2275Assert.NotEqual(IntPtr.Zero, control.Handle); 2453Assert.NotEqual(IntPtr.Zero, control.Handle); 2486Assert.NotEqual(IntPtr.Zero, control.Handle); 2521Assert.NotEqual(IntPtr.Zero, control.Handle); 2556Assert.NotEqual(IntPtr.Zero, control.Handle); 2848Assert.NotEqual(IntPtr.Zero, control.Handle); 2918Assert.NotEqual(IntPtr.Zero, control.Handle); 2985Assert.NotEqual(IntPtr.Zero, control.Handle); 3097Assert.NotEqual(IntPtr.Zero, control.Handle); 3223Assert.NotEqual(IntPtr.Zero, control.Handle); 3278Assert.NotEqual(IntPtr.Zero, control.Handle); 3674Assert.NotEqual(IntPtr.Zero, control.Handle); 3709Assert.NotEqual(IntPtr.Zero, control.Handle); 3783Assert.NotEqual(IntPtr.Zero, control.Handle); 4042Assert.NotEqual(IntPtr.Zero, control.Handle); 4135Assert.NotEqual(IntPtr.Zero, parent.Handle); 4684Assert.NotEqual(IntPtr.Zero, control.Handle); 4715Assert.NotEqual(IntPtr.Zero, control.Handle); 4756Assert.NotEqual(IntPtr.Zero, control.Handle); 4809Assert.NotEqual(IntPtr.Zero, control.Handle); 4898Assert.NotEqual(IntPtr.Zero, control.Handle); 4962Assert.NotEqual(IntPtr.Zero, control.Handle); 5005Assert.NotEqual(IntPtr.Zero, control.Handle); 5159Assert.NotEqual(IntPtr.Zero, control.Handle); 5216Assert.NotEqual(IntPtr.Zero, control.Handle); 5322Assert.NotEqual(IntPtr.Zero, control.Handle); 5626Assert.NotEqual(IntPtr.Zero, control.Handle); 5672Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ControlTests.Internals.cs (1)
92Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ControlTests.Methods.cs (142)
54Assert.NotEqual(IntPtr.Zero, control.Handle); 101Assert.NotEqual(IntPtr.Zero, control.Handle); 195Assert.NotEqual(IntPtr.Zero, child1.Handle); 250Assert.NotEqual(IntPtr.Zero, parent.Handle); 317Assert.NotEqual(IntPtr.Zero, parent.Handle); 367Assert.NotEqual(IntPtr.Zero, control.Handle); 424Assert.NotEqual(IntPtr.Zero, handle1); 431Assert.NotEqual(IntPtr.Zero, handle2); 445Assert.NotEqual(IntPtr.Zero, control.Handle); 466Assert.NotEqual(IntPtr.Zero, control.Handle); 482Assert.NotEqual(IntPtr.Zero, control.Handle); 497Assert.NotEqual(IntPtr.Zero, control.Handle); 514Assert.NotEqual(IntPtr.Zero, control.Handle); 529Assert.NotEqual(IntPtr.Zero, handle1); 540Assert.NotEqual(IntPtr.Zero, handle2); 541Assert.NotEqual(handle2, handle1); 558Assert.NotEqual(IntPtr.Zero, parent.Handle); 559Assert.NotEqual(IntPtr.Zero, control.Handle); 590Assert.NotEqual(IntPtr.Zero, control.Handle); 631Assert.NotEqual(IntPtr.Zero, control.Handle); 653Assert.NotEqual(IntPtr.Zero, control.Handle); 669Assert.NotEqual(IntPtr.Zero, control.Handle); 684Assert.NotEqual(IntPtr.Zero, control.Handle); 701Assert.NotEqual(IntPtr.Zero, control.Handle); 717Assert.NotEqual(IntPtr.Zero, parent.Handle); 718Assert.NotEqual(IntPtr.Zero, control.Handle); 730Assert.NotEqual(IntPtr.Zero, control.Handle); 750Assert.NotEqual(IntPtr.Zero, control.Handle); 828Assert.NotEqual(IntPtr.Zero, handle1); 837Assert.NotEqual(IntPtr.Zero, handle2); 838Assert.NotEqual(handle2, handle1); 849Assert.NotEqual(IntPtr.Zero, parent.Handle); 875Assert.NotEqual(IntPtr.Zero, handle1); 886Assert.NotEqual(IntPtr.Zero, handle2); 887Assert.NotEqual(handle2, handle1); 902Assert.NotEqual(IntPtr.Zero, handle1); 913Assert.NotEqual(IntPtr.Zero, handle2); 914Assert.NotEqual(handle2, handle1); 946Assert.NotEqual(IntPtr.Zero, handle); 962Assert.NotEqual(IntPtr.Zero, handle); 1198Assert.NotEqual(IntPtr.Zero, control.Handle); 1684Assert.NotEqual(IntPtr.Zero, control.Handle); 1747Assert.NotEqual(IntPtr.Zero, control.Handle); 1840Assert.NotEqual(IntPtr.Zero, control.Handle); 1894Assert.NotEqual(IntPtr.Zero, control.Handle); 1984Assert.NotEqual(IntPtr.Zero, handle); 1998Assert.NotEqual(IntPtr.Zero, handle); 2015Assert.NotEqual(IntPtr.Zero, parentHandle); 2039Assert.NotEqual(IntPtr.Zero, handle); 2053Assert.NotEqual(IntPtr.Zero, handle); 2070Assert.NotEqual(IntPtr.Zero, parentHandle); 3028Assert.NotEqual(IntPtr.Zero, control.Handle); 3069Assert.NotEqual(IntPtr.Zero, control.Handle); 3143Assert.NotEqual(IntPtr.Zero, control.Handle); 3187Assert.NotEqual(IntPtr.Zero, control.Handle); 3281Assert.NotEqual(IntPtr.Zero, control.Handle); 3322Assert.NotEqual(IntPtr.Zero, control.Handle); 3422Assert.NotEqual(IntPtr.Zero, control.Handle); 3463Assert.NotEqual(IntPtr.Zero, control.Handle); 3559Assert.NotEqual(IntPtr.Zero, control.Handle); 3600Assert.NotEqual(IntPtr.Zero, control.Handle); 3702Assert.NotEqual(IntPtr.Zero, control.Handle); 3743Assert.NotEqual(IntPtr.Zero, control.Handle); 3788Assert.NotEqual(IntPtr.Zero, control.Handle); 3813Assert.NotEqual(IntPtr.Zero, control.Handle); 3839Assert.NotEqual(IntPtr.Zero, control.Handle); 4004Assert.NotEqual(IntPtr.Zero, control.Handle); 4030Assert.NotEqual(IntPtr.Zero, control.Handle); 4092Assert.NotEqual(IntPtr.Zero, control.Handle); 4173Assert.NotEqual(IntPtr.Zero, control.Handle); 4379Assert.NotEqual(IntPtr.Zero, control.Handle); 4491Assert.NotEqual(IntPtr.Zero, control.Handle); 4639Assert.NotEqual(IntPtr.Zero, control.Handle); 4709Assert.NotEqual(IntPtr.Zero, control.Handle); 4980Assert.NotEqual(IntPtr.Zero, control.Handle); 5254Assert.NotEqual(IntPtr.Zero, control.Handle); 6294Assert.NotEqual(IntPtr.Zero, handle1); 6299Assert.NotEqual(IntPtr.Zero, handle2); 6300Assert.NotEqual(handle1, handle2); 6306Assert.NotEqual(IntPtr.Zero, handle3); 6307Assert.NotEqual(handle2, handle3); 6339Assert.NotEqual(IntPtr.Zero, control.Handle); 6508Assert.NotEqual(IntPtr.Zero, control.Handle); 6821Assert.NotEqual(IntPtr.Zero, control.Handle); 7081Assert.NotEqual(IntPtr.Zero, child1.Handle); 7136Assert.NotEqual(IntPtr.Zero, parent.Handle); 7203Assert.NotEqual(IntPtr.Zero, parent.Handle); 7253Assert.NotEqual(IntPtr.Zero, control.Handle); 7331Assert.NotEqual(IntPtr.Zero, control.Handle); 7857Assert.NotEqual(IntPtr.Zero, control.Handle); 7997Assert.NotEqual(IntPtr.Zero, parent.Handle); 8714Assert.NotEqual(IntPtr.Zero, control.Handle); 8854Assert.NotEqual(IntPtr.Zero, parent.Handle); 9505Assert.NotEqual(IntPtr.Zero, control.Handle); 9637Assert.NotEqual(IntPtr.Zero, parent.Handle); 9888Assert.NotEqual(IntPtr.Zero, control.Handle); 10008Assert.NotEqual(IntPtr.Zero, control.Handle); 10082Assert.NotEqual(IntPtr.Zero, control.Handle); 10194Assert.NotEqual(IntPtr.Zero, control.Handle); 10242Assert.NotEqual(IntPtr.Zero, control.Handle); 10289Assert.NotEqual(IntPtr.Zero, control.Handle); 10336Assert.NotEqual(IntPtr.Zero, control.Handle); 10720Assert.NotEqual(IntPtr.Zero, control.Handle); 10787Assert.NotEqual(IntPtr.Zero, control.Handle); 10859Assert.NotEqual(IntPtr.Zero, parent.Handle); 11418Assert.NotEqual(IntPtr.Zero, control.Handle); 11539Assert.NotEqual(IntPtr.Zero, parent.Handle); 11916Assert.NotEqual(IntPtr.Zero, control.Handle); 12037Assert.NotEqual(IntPtr.Zero, parent.Handle); 12142Assert.NotEqual(IntPtr.Zero, handle); 12205Assert.NotEqual(IntPtr.Zero, control.Handle); 12237Assert.NotEqual(IntPtr.Zero, parent.Handle); 12270Assert.NotEqual(IntPtr.Zero, parent.Handle); 12315Assert.NotEqual(IntPtr.Zero, parent.Handle); 12362Assert.NotEqual(IntPtr.Zero, parent.Handle); 12430Assert.NotEqual(IntPtr.Zero, control.Handle); 12484Assert.NotEqual(IntPtr.Zero, control.Handle); 12595Assert.NotEqual(IntPtr.Zero, control.Handle); 12645Assert.NotEqual(IntPtr.Zero, control.Handle); 12935Assert.NotEqual(IntPtr.Zero, control.Handle); 12978Assert.NotEqual(IntPtr.Zero, control.Handle); 13034Assert.NotEqual(IntPtr.Zero, control.Handle); 13079Assert.NotEqual(IntPtr.Zero, control.Handle); 13132Assert.NotEqual(IntPtr.Zero, control.Handle); 13274Assert.NotEqual(IntPtr.Zero, control.Handle); 13304Assert.NotEqual(IntPtr.Zero, control.Handle); 13344Assert.NotEqual(IntPtr.Zero, control.Handle); 13574Assert.NotEqual(IntPtr.Zero, control.Handle); 13618Assert.NotEqual(IntPtr.Zero, control.Handle); 13670Assert.NotEqual(IntPtr.Zero, control.Handle); 13725Assert.NotEqual(IntPtr.Zero, control.Handle); 13905Assert.NotEqual(IntPtr.Zero, control.Handle); 13949Assert.NotEqual(IntPtr.Zero, control.Handle); 13997Assert.NotEqual(IntPtr.Zero, control.Handle); 14052Assert.NotEqual(IntPtr.Zero, control.Handle); 14090Assert.NotEqual(IntPtr.Zero, control.Handle); 14139Assert.NotEqual(IntPtr.Zero, control.Handle); 14206Assert.NotEqual(IntPtr.Zero, control.Handle); 14250Assert.NotEqual(IntPtr.Zero, control.Handle); 14294Assert.NotEqual(IntPtr.Zero, control.Handle); 14338Assert.NotEqual(IntPtr.Zero, control.Handle); 14389Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ControlTests.Properties.cs (84)
38Assert.NotEqual(IntPtr.Zero, control.Handle); 206Assert.NotEqual(IntPtr.Zero, control.Handle); 243Assert.NotEqual(IntPtr.Zero, control.Handle); 283Assert.NotEqual(IntPtr.Zero, control.Handle); 870Assert.NotEqual(IntPtr.Zero, control.Handle); 1065Assert.NotEqual(IntPtr.Zero, control.Handle); 1112Assert.NotEqual(IntPtr.Zero, parent.Handle); 1350Assert.NotEqual(IntPtr.Zero, control.Handle); 1413Assert.NotEqual(IntPtr.Zero, control.Handle); 1661Assert.NotEqual(IntPtr.Zero, control.Handle); 1783Assert.NotEqual(IntPtr.Zero, control.Handle); 2011Assert.NotEqual(IntPtr.Zero, control.Handle); 2109Assert.NotEqual(IntPtr.Zero, control.Handle); 2848Assert.NotEqual(IntPtr.Zero, control.Handle); 2965Assert.NotEqual(IntPtr.Zero, parent.Handle); 3052Assert.NotEqual(IntPtr.Zero, control.Handle); 3102Assert.NotEqual(IntPtr.Zero, control.Handle); 3122Assert.NotEqual(IntPtr.Zero, parent.Handle); 3153Assert.NotEqual(IntPtr.Zero, control.Handle); 3212Assert.NotEqual(IntPtr.Zero, control.Handle); 3435Assert.NotEqual(IntPtr.Zero, control.Handle); 3826Assert.NotEqual(IntPtr.Zero, control.Handle); 4350Assert.NotEqual(IntPtr.Zero, control.Handle); 4465Assert.NotEqual(IntPtr.Zero, control.Handle); 4531Assert.NotEqual(IntPtr.Zero, control.Handle); 4945Assert.NotEqual(IntPtr.Zero, control.Handle); 4991Assert.NotEqual(IntPtr.Zero, control.Handle); 5391Assert.NotEqual(IntPtr.Zero, control.Handle); 5454Assert.NotEqual(IntPtr.Zero, control.Handle); 5674Assert.NotEqual(IntPtr.Zero, intptr); 6137Assert.NotEqual(IntPtr.Zero, control.Handle); 6266Assert.NotEqual(IntPtr.Zero, parent.Handle); 6381Assert.NotEqual(IntPtr.Zero, control.Handle); 6488Assert.NotEqual(IntPtr.Zero, control.Handle); 6559Assert.NotEqual(IntPtr.Zero, control.Handle); 6572Assert.NotEqual(IntPtr.Zero, control.Handle); 6627Assert.NotEqual(IntPtr.Zero, control.Handle); 6638Assert.NotEqual(IntPtr.Zero, control.Handle); 6847Assert.NotEqual(IntPtr.Zero, control.Handle); 6940Assert.NotEqual(IntPtr.Zero, parent.Handle); 7064Assert.NotEqual(IntPtr.Zero, control.Handle); 7330Assert.NotEqual(IntPtr.Zero, control.Handle); 7423Assert.NotEqual(IntPtr.Zero, parent.Handle); 7549Assert.NotEqual(IntPtr.Zero, control.Handle); 7766Assert.NotEqual(IntPtr.Zero, control.Handle); 7805Assert.NotEqual(IntPtr.Zero, parent.Handle); 8201Assert.NotEqual(IntPtr.Zero, control.Handle); 8239Assert.NotEqual(IntPtr.Zero, control.Handle); 8277Assert.NotEqual(IntPtr.Zero, control.Handle); 8326Assert.NotEqual(IntPtr.Zero, parent.Handle); 8394Assert.NotEqual(IntPtr.Zero, parent.Handle); 8879Assert.NotEqual(IntPtr.Zero, control.Handle); 8939Assert.NotEqual(IntPtr.Zero, control.Handle); 9005Assert.NotEqual(IntPtr.Zero, control.Handle); 9075Assert.NotEqual(IntPtr.Zero, parent.Handle); 9164Assert.NotEqual(IntPtr.Zero, parent.Handle); 9507Assert.NotEqual(IntPtr.Zero, control.Handle); 9561Assert.NotEqual(IntPtr.Zero, parent.Handle); 9744Assert.NotEqual(IntPtr.Zero, control.Handle); 9919Assert.NotEqual(IntPtr.Zero, control.Handle); 9953Assert.NotEqual(IntPtr.Zero, control.Handle); 10150Assert.NotEqual(IntPtr.Zero, control.Handle); 10184Assert.NotEqual(IntPtr.Zero, control.Handle); 10247Assert.NotEqual(IntPtr.Zero, control.Handle); 10499Assert.NotEqual(IntPtr.Zero, control.Handle); 10527Assert.NotEqual(IntPtr.Zero, control.Handle); 10550Assert.NotEqual(IntPtr.Zero, control.Handle); 10558Assert.NotEqual(IntPtr.Zero, control.Handle); 10586Assert.NotEqual(IntPtr.Zero, control.Handle); 10609Assert.NotEqual(IntPtr.Zero, control.Handle); 10667Assert.NotEqual(IntPtr.Zero, control.Handle); 11541Assert.NotEqual(IntPtr.Zero, control.Handle); 11675Assert.NotEqual(IntPtr.Zero, parent.Handle); 11889Assert.NotEqual(IntPtr.Zero, control.Handle); 11981Assert.NotEqual(IntPtr.Zero, control.Handle); 12281Assert.NotEqual(IntPtr.Zero, control.Handle); 12372Assert.NotEqual(IntPtr.Zero, parent.Handle); 12496Assert.NotEqual(IntPtr.Zero, control.Handle); 12657Assert.NotEqual(IntPtr.Zero, control.Handle); 12775Assert.NotEqual(IntPtr.Zero, control.Handle); 12816Assert.NotEqual(IntPtr.Zero, parent.Handle); 13556Assert.NotEqual(IntPtr.Zero, control.Handle); 13685Assert.NotEqual(IntPtr.Zero, parent.Handle); 13791Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\CursorConverterTests.cs (1)
39Assert.NotEqual(IntPtr.Zero, cursor.Handle);
System\Windows\Forms\CursorsTests.cs (2)
52Assert.NotEqual(IntPtr.Zero, cursor.Handle); 79Assert.NotEqual("[Cursor: System.Windows.Forms.Cursor]", cursor.ToString());
System\Windows\Forms\CursorTests.cs (7)
68Assert.NotEqual(IntPtr.Zero, cursor.Handle); 119Assert.NotEqual(IntPtr.Zero, cursor.Handle); 156Assert.NotEqual(IntPtr.Zero, cursor.Handle); 230Assert.NotEqual(IntPtr.Zero, cursor.Handle); 329Assert.NotEqual(IntPtr.Zero, handle); 330Assert.NotEqual(sourceCursor.Handle, handle); 359Assert.NotEqual(IntPtr.Zero, cursor.Handle);
System\Windows\Forms\DataGridViewCellTests.cs (11)
509Assert.NotEqual(IntPtr.Zero, control.Handle); 568Assert.NotEqual(IntPtr.Zero, control.Handle); 1125Assert.NotEqual(IntPtr.Zero, control.Handle); 1169Assert.NotEqual(IntPtr.Zero, control.Handle); 4522Assert.NotEqual(IntPtr.Zero, control.Handle); 4582Assert.NotEqual(IntPtr.Zero, control.Handle); 5270Assert.NotEqual(0, height); 5273Assert.NotEqual(0, height); 5342Assert.NotEqual(Size.Empty, DataGridViewCell.MeasureTextPreferredSize(graphics, text, SystemFonts.DefaultFont, 0.2f, flags)); 5398Assert.NotEqual(Size.Empty, DataGridViewCell.MeasureTextSize(graphics, text, SystemFonts.DefaultFont, flags)); 5444Assert.NotEqual(0, DataGridViewCell.MeasureTextWidth(graphics, text, SystemFonts.DefaultFont, 10, flags));
System\Windows\Forms\DataGridViewHeaderCellTests.cs (11)
284Assert.NotEqual(IntPtr.Zero, control.Handle); 319Assert.NotEqual(IntPtr.Zero, control.Handle); 356Assert.NotEqual(IntPtr.Zero, control.Handle); 381Assert.NotEqual(IntPtr.Zero, control.Handle); 418Assert.NotEqual(IntPtr.Zero, control.Handle); 2722Assert.NotEqual(IntPtr.Zero, control.Handle); 2782Assert.NotEqual(IntPtr.Zero, control.Handle); 2811Assert.NotEqual(IntPtr.Zero, control.Handle); 2847Assert.NotEqual(IntPtr.Zero, control.Handle); 2874Assert.NotEqual(IntPtr.Zero, control.Handle); 2935Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\DataGridViewRowTests.cs (2)
1226Assert.NotEqual(IntPtr.Zero, control.Handle); 2029Assert.NotEqual(oldApplicationDefaultFont, Application.DefaultFont);
System\Windows\Forms\DataGridViewTests.cs (15)
196Assert.NotEqual(IntPtr.Zero, control.Handle); 263Assert.NotEqual(IntPtr.Zero, control.Handle); 548Assert.NotEqual(IntPtr.Zero, control.Handle); 582Assert.NotEqual(IntPtr.Zero, control.Handle); 886Assert.NotEqual(IntPtr.Zero, control.Handle); 1116Assert.NotEqual(IntPtr.Zero, control.Handle); 1187Assert.NotEqual(IntPtr.Zero, control.Handle); 1477Assert.NotEqual(IntPtr.Zero, control.Handle); 1515Assert.NotEqual(IntPtr.Zero, control.Handle); 1799Assert.NotEqual(IntPtr.Zero, control.Handle); 1890Assert.NotEqual(IntPtr.Zero, control.Handle); 1966Assert.NotEqual(IntPtr.Zero, control.Handle); 2158Assert.NotEqual(IntPtr.Zero, control.Handle); 2440Assert.NotEqual(IntPtr.Zero, control.Handle); 2639Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
165Assert.NotEqual(IntPtr.Zero, dataGridView.Handle);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (4)
420Assert.NotEqual(IntPtr.Zero, control.Handle); 489Assert.NotEqual(IntPtr.Zero, control.Handle); 1167Assert.NotEqual(IntPtr.Zero, control.Handle); 1276Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (2)
287Assert.NotEqual(IntPtr.Zero, control.Handle); 342Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
400Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\DockPaddingEdgesTests.cs (2)
307Assert.NotEqual(0, padding.GetHashCode()); 320Assert.NotEqual(0, padding.GetHashCode());
System\Windows\Forms\DragDropFormatTests.cs (1)
110Assert.NotEqual(medium.unionmember, data.hGlobal);
System\Windows\Forms\ErrorProviderTests.cs (1)
1181Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\FileDialogTests.cs (3)
34Assert.NotEqual(IntPtr.Zero, dialog.Instance); 72Assert.NotEqual(IntPtr.Zero, dialog.Instance); 628Assert.NotEqual(IntPtr.Zero, dialog.Instance);
System\Windows\Forms\FormTests.cs (32)
405Assert.NotEqual(IntPtr.Zero, control.Handle); 458Assert.NotEqual(IntPtr.Zero, control.Handle); 505Assert.NotEqual(IntPtr.Zero, control.Handle); 713Assert.NotEqual(IntPtr.Zero, control.Handle); 752Assert.NotEqual(IntPtr.Zero, control.Handle); 795Assert.NotEqual(IntPtr.Zero, control.Handle); 840Assert.NotEqual(IntPtr.Zero, control.Handle); 894Assert.NotEqual(IntPtr.Zero, control.Handle); 994Assert.NotEqual(new Point(20, 21), form.Location); 995Assert.NotEqual(new Size(300, 310), form.Size); 1023Assert.NotEqual(new Point(20, 21), form.Location); 1024Assert.NotEqual(new Size(300, 310), form.Size); 1124Assert.NotEqual(IntPtr.Zero, control.Handle); 1422Assert.NotEqual(IntPtr.Zero, control.Handle); 1461Assert.NotEqual(IntPtr.Zero, control.Handle); 1496Assert.NotEqual(IntPtr.Zero, control.Handle); 1538Assert.NotEqual(IntPtr.Zero, control.Handle); 1570Assert.NotEqual(IntPtr.Zero, control.Handle); 1604Assert.NotEqual(IntPtr.Zero, control.Handle); 1640Assert.NotEqual(IntPtr.Zero, control.Handle); 1676Assert.NotEqual(IntPtr.Zero, control.Handle); 1708Assert.NotEqual(IntPtr.Zero, control.Handle); 1742Assert.NotEqual(IntPtr.Zero, control.Handle); 1791Assert.NotEqual(IntPtr.Zero, control.Handle); 1837Assert.NotEqual(formHandle, form.Handle); 1939Assert.NotEqual(IntPtr.Zero, control.Handle); 1993Assert.NotEqual(IntPtr.Zero, control.Handle); 2045Assert.NotEqual(IntPtr.Zero, control.Handle); 2294Assert.NotEqual(IntPtr.Zero, control.Handle); 2352Assert.NotEqual(IntPtr.Zero, control.Handle); 2496Assert.NotEqual(IntPtr.Zero, control.Handle); 2549Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\GroupBoxTests.cs (18)
384Assert.NotEqual(IntPtr.Zero, control.Handle); 432Assert.NotEqual(IntPtr.Zero, parent.Handle); 505Assert.NotEqual(IntPtr.Zero, parent.Handle); 705Assert.NotEqual(IntPtr.Zero, control.Handle); 759Assert.NotEqual(IntPtr.Zero, control.Handle); 822Assert.NotEqual(IntPtr.Zero, control.Handle); 885Assert.NotEqual(IntPtr.Zero, control.Handle); 984Assert.NotEqual(IntPtr.Zero, control.Handle); 1094Assert.NotEqual(IntPtr.Zero, control.Handle); 1126Assert.NotEqual(IntPtr.Zero, control.Handle); 1276Assert.NotEqual(IntPtr.Zero, control.Handle); 1321Assert.NotEqual(IntPtr.Zero, control.Handle); 1542Assert.NotEqual(IntPtr.Zero, control.Handle); 1900Assert.NotEqual(IntPtr.Zero, control.Handle); 2117Assert.NotEqual(IntPtr.Zero, control.Handle); 2178Assert.NotEqual(IntPtr.Zero, control.Handle); 2223Assert.NotEqual(IntPtr.Zero, control.Handle); 2266Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\HtmlDocumentTests.cs (2)
1828Assert.NotEqual(0, document.GetHashCode()); 1830Assert.NotEqual(document.GetHashCode(), newDocument.GetHashCode());
System\Windows\Forms\HtmlElementTests.cs (4)
806Assert.NotEqual(Rectangle.Empty, result); 1155Assert.NotEqual(Rectangle.Empty, result); 1977Assert.NotEqual(0, element1.GetHashCode()); 1980Assert.NotEqual(element1.GetHashCode(), element3.GetHashCode());
System\Windows\Forms\ImageList.ImageCollectionTests.cs (20)
18Assert.NotEqual(IntPtr.Zero, list.Handle); 28Assert.NotEqual(IntPtr.Zero, list.Handle); 110Assert.NotEqual(IntPtr.Zero, list.Handle); 286Assert.NotEqual(IntPtr.Zero, list.Handle); 488Assert.NotEqual(IntPtr.Zero, list.Handle); 557Assert.NotEqual(IntPtr.Zero, list.Handle); 626Assert.NotEqual(IntPtr.Zero, list.Handle); 703Assert.NotEqual(IntPtr.Zero, list.Handle); 772Assert.NotEqual(IntPtr.Zero, list.Handle); 845Assert.NotEqual(IntPtr.Zero, list.Handle); 927Assert.NotEqual(IntPtr.Zero, list.Handle); 1015Assert.NotEqual(IntPtr.Zero, list.Handle); 1038Assert.NotEqual(IntPtr.Zero, list.Handle); 1136Assert.NotEqual(IntPtr.Zero, list.Handle); 1199Assert.NotEqual(IntPtr.Zero, list.Handle); 1351Assert.NotEqual(IntPtr.Zero, list.Handle); 1455Assert.NotEqual(IntPtr.Zero, list.Handle); 1507Assert.NotEqual(IntPtr.Zero, list.Handle); 1569Assert.NotEqual(IntPtr.Zero, list.Handle); 1659Assert.NotEqual(IntPtr.Zero, list.Handle);
System\Windows\Forms\ImageListTests.cs (28)
109Assert.NotEqual(IntPtr.Zero, list.Handle); 125Assert.NotEqual(IntPtr.Zero, list.Handle); 140Assert.NotEqual(IntPtr.Zero, list.Handle); 147Assert.NotEqual(IntPtr.Zero, list.Handle); 155Assert.NotEqual(IntPtr.Zero, list.Handle); 163Assert.NotEqual(IntPtr.Zero, list.Handle); 214Assert.NotEqual(IntPtr.Zero, handle); 290Assert.NotEqual(IntPtr.Zero, list.Handle); 306Assert.NotEqual(IntPtr.Zero, list.Handle); 321Assert.NotEqual(IntPtr.Zero, list.Handle); 328Assert.NotEqual(IntPtr.Zero, list.Handle); 335Assert.NotEqual(IntPtr.Zero, list.Handle); 342Assert.NotEqual(IntPtr.Zero, list.Handle); 349Assert.NotEqual(IntPtr.Zero, list.Handle); 357Assert.NotEqual(IntPtr.Zero, list.Handle); 527Assert.NotEqual(IntPtr.Zero, sourceList.Handle); 552Assert.NotEqual(IntPtr.Zero, sourceList.Handle); 556Assert.NotEqual(IntPtr.Zero, list.Handle); 604Assert.NotEqual(IntPtr.Zero, list.Handle); 635Assert.NotEqual(IntPtr.Zero, list.Handle); 643Assert.NotEqual(IntPtr.Zero, list.Handle); 730Assert.NotEqual(IntPtr.Zero, list.Handle); 746Assert.NotEqual(IntPtr.Zero, list.Handle); 872Assert.NotEqual(IntPtr.Zero, list.Handle); 891Assert.NotEqual(IntPtr.Zero, list.Handle); 943Assert.NotEqual(IntPtr.Zero, list.Handle); 972Assert.NotEqual(IntPtr.Zero, list.Handle); 1010Assert.NotEqual(IntPtr.Zero, list.Handle);
System\Windows\Forms\InputLanguageTests.cs (2)
186Assert.NotEqual(IntPtr.Zero, language.Handle); 194Assert.NotEqual(IntPtr.Zero, language.Handle);
System\Windows\Forms\LabelTests.cs (4)
187Assert.NotEqual(IntPtr.Zero, control.Handle); 204Assert.NotEqual(IntPtr.Zero, control.Handle); 233Assert.NotEqual(IntPtr.Zero, toolTip.Handle); // A workaround to create the toolTip native window Handle 876Assert.NotEqual(defaultSize, label.PreferredSize);
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (28)
142Assert.NotEqual(IntPtr.Zero, owner.Handle); 184Assert.NotEqual(IntPtr.Zero, owner.Handle); 344Assert.NotEqual(IntPtr.Zero, owner.Handle); 406Assert.NotEqual(IntPtr.Zero, owner.Handle); 524Assert.NotEqual(IntPtr.Zero, owner.Handle); 565Assert.NotEqual(IntPtr.Zero, owner.Handle); 668Assert.NotEqual(IntPtr.Zero, owner.Handle); 712Assert.NotEqual(IntPtr.Zero, owner.Handle); 879Assert.NotEqual(IntPtr.Zero, owner.Handle); 914Assert.NotEqual(IntPtr.Zero, owner.Handle); 949Assert.NotEqual(IntPtr.Zero, owner.Handle); 985Assert.NotEqual(IntPtr.Zero, owner.Handle); 1193Assert.NotEqual(IntPtr.Zero, owner.Handle); 1256Assert.NotEqual(IntPtr.Zero, owner.Handle); 1393Assert.NotEqual(IntPtr.Zero, owner.Handle); 1446Assert.NotEqual(IntPtr.Zero, owner.Handle); 1623Assert.NotEqual(IntPtr.Zero, owner.Handle); 1668Assert.NotEqual(IntPtr.Zero, owner.Handle); 1842Assert.NotEqual(IntPtr.Zero, owner.Handle); 1904Assert.NotEqual(IntPtr.Zero, owner.Handle); 2096Assert.NotEqual(IntPtr.Zero, owner.Handle); 2131Assert.NotEqual(IntPtr.Zero, owner.Handle); 2166Assert.NotEqual(IntPtr.Zero, owner.Handle); 2202Assert.NotEqual(IntPtr.Zero, owner.Handle); 2438Assert.NotEqual(IntPtr.Zero, owner.Handle); 2504Assert.NotEqual(IntPtr.Zero, owner.Handle); 2664Assert.NotEqual(IntPtr.Zero, owner.Handle); 2720Assert.NotEqual(IntPtr.Zero, owner.Handle);
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (105)
499Assert.NotEqual(IntPtr.Zero, owner.Handle); 588Assert.NotEqual(IntPtr.Zero, owner.Handle); 912Assert.NotEqual(IntPtr.Zero, owner.Handle); 985Assert.NotEqual(IntPtr.Zero, owner.Handle); 1062Assert.NotEqual(IntPtr.Zero, owner.Handle); 1162Assert.NotEqual(IntPtr.Zero, owner.Handle); 1471Assert.NotEqual(IntPtr.Zero, owner.Handle); 1550Assert.NotEqual(IntPtr.Zero, owner.Handle); 1632Assert.NotEqual(IntPtr.Zero, owner.Handle); 1714Assert.NotEqual(IntPtr.Zero, owner.Handle); 1945Assert.NotEqual(IntPtr.Zero, owner.Handle); 1990Assert.NotEqual(IntPtr.Zero, owner.Handle); 2039Assert.NotEqual(IntPtr.Zero, owner.Handle); 2099Assert.NotEqual(IntPtr.Zero, owner.Handle); 2211Assert.NotEqual(IntPtr.Zero, owner.Handle); 2322Assert.NotEqual(IntPtr.Zero, owner.Handle); 2374Assert.NotEqual(IntPtr.Zero, owner.Handle); 2429Assert.NotEqual(IntPtr.Zero, owner.Handle); 2484Assert.NotEqual(IntPtr.Zero, owner.Handle); 2669Assert.NotEqual(IntPtr.Zero, owner.Handle); 2713Assert.NotEqual(IntPtr.Zero, owner.Handle); 2761Assert.NotEqual(IntPtr.Zero, owner.Handle); 2809Assert.NotEqual(IntPtr.Zero, owner.Handle); 2996Assert.NotEqual(IntPtr.Zero, owner.Handle); 3053Assert.NotEqual(IntPtr.Zero, owner.Handle); 3113Assert.NotEqual(IntPtr.Zero, owner.Handle); 3173Assert.NotEqual(IntPtr.Zero, owner.Handle); 3383Assert.NotEqual(IntPtr.Zero, owner.Handle); 3432Assert.NotEqual(IntPtr.Zero, owner.Handle); 3485Assert.NotEqual(IntPtr.Zero, owner.Handle); 3538Assert.NotEqual(IntPtr.Zero, owner.Handle); 3687Assert.NotEqual(IntPtr.Zero, owner.Handle); 3793Assert.NotEqual(IntPtr.Zero, owner.Handle); 3830Assert.NotEqual(IntPtr.Zero, owner.Handle); 3867Assert.NotEqual(IntPtr.Zero, owner.Handle); 3905Assert.NotEqual(IntPtr.Zero, owner.Handle); 4294Assert.NotEqual(IntPtr.Zero, owner.Handle); 4373Assert.NotEqual(IntPtr.Zero, owner.Handle); 4455Assert.NotEqual(IntPtr.Zero, owner.Handle); 4537Assert.NotEqual(IntPtr.Zero, owner.Handle); 4760Assert.NotEqual(IntPtr.Zero, owner.Handle); 4805Assert.NotEqual(IntPtr.Zero, owner.Handle); 4854Assert.NotEqual(IntPtr.Zero, owner.Handle); 4914Assert.NotEqual(IntPtr.Zero, owner.Handle); 5049Assert.NotEqual(IntPtr.Zero, owner.Handle); 5238Assert.NotEqual(IntPtr.Zero, owner.Handle); 5310Assert.NotEqual(IntPtr.Zero, owner.Handle); 5390Assert.NotEqual(IntPtr.Zero, owner.Handle); 5465Assert.NotEqual(IntPtr.Zero, owner.Handle); 5730Assert.NotEqual(IntPtr.Zero, owner.Handle); 5792Assert.NotEqual(IntPtr.Zero, owner.Handle); 5858Assert.NotEqual(IntPtr.Zero, owner.Handle); 5926Assert.NotEqual(IntPtr.Zero, owner.Handle); 6155Assert.NotEqual(IntPtr.Zero, owner.Handle); 6212Assert.NotEqual(IntPtr.Zero, owner.Handle); 6276Assert.NotEqual(IntPtr.Zero, owner.Handle); 6336Assert.NotEqual(IntPtr.Zero, owner.Handle); 6585Assert.NotEqual(IntPtr.Zero, owner.Handle); 6647Assert.NotEqual(IntPtr.Zero, owner.Handle); 6713Assert.NotEqual(IntPtr.Zero, owner.Handle); 6781Assert.NotEqual(IntPtr.Zero, owner.Handle); 7302Assert.NotEqual(IntPtr.Zero, owner.Handle); 7393Assert.NotEqual(IntPtr.Zero, owner.Handle); 7717Assert.NotEqual(IntPtr.Zero, owner.Handle); 7790Assert.NotEqual(IntPtr.Zero, owner.Handle); 7867Assert.NotEqual(IntPtr.Zero, owner.Handle); 7967Assert.NotEqual(IntPtr.Zero, owner.Handle); 8276Assert.NotEqual(IntPtr.Zero, owner.Handle); 8355Assert.NotEqual(IntPtr.Zero, owner.Handle); 8437Assert.NotEqual(IntPtr.Zero, owner.Handle); 8519Assert.NotEqual(IntPtr.Zero, owner.Handle); 8750Assert.NotEqual(IntPtr.Zero, owner.Handle); 8795Assert.NotEqual(IntPtr.Zero, owner.Handle); 8844Assert.NotEqual(IntPtr.Zero, owner.Handle); 8904Assert.NotEqual(IntPtr.Zero, owner.Handle); 9016Assert.NotEqual(IntPtr.Zero, owner.Handle); 9115Assert.NotEqual(IntPtr.Zero, owner.Handle); 9152Assert.NotEqual(IntPtr.Zero, owner.Handle); 9189Assert.NotEqual(IntPtr.Zero, owner.Handle); 9227Assert.NotEqual(IntPtr.Zero, owner.Handle); 9616Assert.NotEqual(IntPtr.Zero, owner.Handle); 9695Assert.NotEqual(IntPtr.Zero, owner.Handle); 9777Assert.NotEqual(IntPtr.Zero, owner.Handle); 9859Assert.NotEqual(IntPtr.Zero, owner.Handle); 10082Assert.NotEqual(IntPtr.Zero, owner.Handle); 10127Assert.NotEqual(IntPtr.Zero, owner.Handle); 10176Assert.NotEqual(IntPtr.Zero, owner.Handle); 10236Assert.NotEqual(IntPtr.Zero, owner.Handle); 10371Assert.NotEqual(IntPtr.Zero, owner.Handle); 10560Assert.NotEqual(IntPtr.Zero, owner.Handle); 10632Assert.NotEqual(IntPtr.Zero, owner.Handle); 10712Assert.NotEqual(IntPtr.Zero, owner.Handle); 10787Assert.NotEqual(IntPtr.Zero, owner.Handle); 11052Assert.NotEqual(IntPtr.Zero, owner.Handle); 11114Assert.NotEqual(IntPtr.Zero, owner.Handle); 11180Assert.NotEqual(IntPtr.Zero, owner.Handle); 11248Assert.NotEqual(IntPtr.Zero, owner.Handle); 11477Assert.NotEqual(IntPtr.Zero, owner.Handle); 11534Assert.NotEqual(IntPtr.Zero, owner.Handle); 11598Assert.NotEqual(IntPtr.Zero, owner.Handle); 11658Assert.NotEqual(IntPtr.Zero, owner.Handle); 11907Assert.NotEqual(IntPtr.Zero, owner.Handle); 11969Assert.NotEqual(IntPtr.Zero, owner.Handle); 12035Assert.NotEqual(IntPtr.Zero, owner.Handle); 12103Assert.NotEqual(IntPtr.Zero, owner.Handle);
System\Windows\Forms\ListBoxTests.cs (67)
381Assert.NotEqual(IntPtr.Zero, control.Handle); 617Assert.NotEqual(IntPtr.Zero, control.Handle); 699Assert.NotEqual(IntPtr.Zero, control.Handle); 733Assert.NotEqual(IntPtr.Zero, control.Handle); 765Assert.NotEqual(IntPtr.Zero, control.Handle); 994Assert.NotEqual(IntPtr.Zero, control.Handle); 1117Assert.NotEqual(IntPtr.Zero, control.Handle); 1166Assert.NotEqual(IntPtr.Zero, control.Handle); 1278Assert.NotEqual(IntPtr.Zero, control.Handle); 1423Assert.NotEqual(IntPtr.Zero, control.Handle); 1460Assert.NotEqual(IntPtr.Zero, control.Handle); 1548Assert.NotEqual(IntPtr.Zero, control.Handle); 1602Assert.NotEqual(IntPtr.Zero, control.Handle); 1668Assert.NotEqual(IntPtr.Zero, control.Handle); 1762Assert.NotEqual(IntPtr.Zero, control.Handle); 1800Assert.NotEqual(IntPtr.Zero, control.Handle); 1919Assert.NotEqual(IntPtr.Zero, control.Handle); 1987Assert.NotEqual(IntPtr.Zero, control.Handle); 2132Assert.NotEqual(IntPtr.Zero, control.Handle); 2158Assert.NotEqual(IntPtr.Zero, control.Handle); 2261Assert.NotEqual(IntPtr.Zero, control.Handle); 2301Assert.NotEqual(IntPtr.Zero, control.Handle); 2315Assert.NotEqual(IntPtr.Zero, control.Handle); 2499Assert.NotEqual(IntPtr.Zero, control.Handle); 2563Assert.NotEqual(IntPtr.Zero, control.Handle); 2628Assert.NotEqual(IntPtr.Zero, control.Handle); 2655Assert.NotEqual(IntPtr.Zero, control.Handle); 2764Assert.NotEqual(IntPtr.Zero, control.Handle); 2778Assert.NotEqual(IntPtr.Zero, control.Handle); 2990Assert.NotEqual(IntPtr.Zero, control.Handle); 3065Assert.NotEqual(IntPtr.Zero, control.Handle); 3141Assert.NotEqual(IntPtr.Zero, control.Handle); 3172Assert.NotEqual(IntPtr.Zero, control.Handle); 3299Assert.NotEqual(IntPtr.Zero, control.Handle); 3584Assert.NotEqual(IntPtr.Zero, control.Handle); 3646Assert.NotEqual(IntPtr.Zero, control.Handle); 3688Assert.NotEqual(IntPtr.Zero, control.Handle); 3740Assert.NotEqual(IntPtr.Zero, control.Handle); 3798Assert.NotEqual(IntPtr.Zero, control.Handle); 3856Assert.NotEqual(IntPtr.Zero, control.Handle); 3995Assert.NotEqual(IntPtr.Zero, control.Handle); 4035Assert.NotEqual(IntPtr.Zero, control.Handle); 4078Assert.NotEqual(IntPtr.Zero, control.Handle); 4237Assert.NotEqual(IntPtr.Zero, control.Handle); 4302Assert.NotEqual(IntPtr.Zero, control.Handle); 4360Assert.NotEqual(IntPtr.Zero, control.Handle); 4397Assert.NotEqual(IntPtr.Zero, control.Handle); 4429Assert.NotEqual(IntPtr.Zero, control.Handle); 4462Assert.NotEqual(IntPtr.Zero, control.Handle); 4522Assert.NotEqual(IntPtr.Zero, control.Handle); 4584Assert.NotEqual(IntPtr.Zero, control.Handle); 4649Assert.NotEqual(IntPtr.Zero, control.Handle); 4711Assert.NotEqual(IntPtr.Zero, control.Handle); 4839Assert.NotEqual(IntPtr.Zero, control.Handle); 4872Assert.NotEqual(IntPtr.Zero, control.Handle); 5186Assert.NotEqual(IntPtr.Zero, control.Handle); 5211Assert.NotEqual(IntPtr.Zero, control.Handle); 5251Assert.NotEqual(IntPtr.Zero, control.Handle); 5281Assert.NotEqual(IntPtr.Zero, control.Handle); 5352Assert.NotEqual(IntPtr.Zero, control.Handle); 5397Assert.NotEqual(IntPtr.Zero, control.Handle); 5483Assert.NotEqual(IntPtr.Zero, control.Handle); 5604Assert.NotEqual(IntPtr.Zero, control.Handle); 5758Assert.NotEqual(IntPtr.Zero, control.Handle); 5917Assert.NotEqual(IntPtr.Zero, control.Handle); 5947Assert.NotEqual(IntPtr.Zero, control.Handle); 6035Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ListViewGroupCollectionTests.cs (8)
61Assert.NotEqual(IntPtr.Zero, listView.Handle); 95Assert.NotEqual(IntPtr.Zero, listView.Handle); 388Assert.NotEqual(IntPtr.Zero, listView.Handle); 424Assert.NotEqual(IntPtr.Zero, listView.Handle); 614Assert.NotEqual(IntPtr.Zero, listView.Handle); 753Assert.NotEqual(IntPtr.Zero, listView.Handle); 785Assert.NotEqual(IntPtr.Zero, listView.Handle); 938Assert.NotEqual(IntPtr.Zero, listView.Handle);
System\Windows\Forms\ListViewGroupTests.cs (18)
177Assert.NotEqual(IntPtr.Zero, listView.Handle); 225Assert.NotEqual(IntPtr.Zero, listView.Handle); 318Assert.NotEqual(IntPtr.Zero, listView.Handle); 365Assert.NotEqual(IntPtr.Zero, listView.Handle); 450Assert.NotEqual(IntPtr.Zero, listView.Handle); 502Assert.NotEqual(IntPtr.Zero, listView.Handle); 572Assert.NotEqual(IntPtr.Zero, listView.Handle); 615Assert.NotEqual(IntPtr.Zero, listView.Handle); 702Assert.NotEqual(IntPtr.Zero, listView.Handle); 758Assert.NotEqual(IntPtr.Zero, listView.Handle); 833Assert.NotEqual(IntPtr.Zero, listView.Handle); 876Assert.NotEqual(IntPtr.Zero, listView.Handle); 954Assert.NotEqual(IntPtr.Zero, listView.Handle); 1010Assert.NotEqual(IntPtr.Zero, listView.Handle); 1095Assert.NotEqual(IntPtr.Zero, listView.Handle); 1132Assert.NotEqual(IntPtr.Zero, listView.Handle); 1237Assert.NotEqual(IntPtr.Zero, listView.Handle); 1281Assert.NotEqual(IntPtr.Zero, listView.Handle);
System\Windows\Forms\ListViewInsertionMarkTests.cs (17)
49Assert.NotEqual(IntPtr.Zero, control.Handle); 93Assert.NotEqual(IntPtr.Zero, control.Handle); 144Assert.NotEqual(IntPtr.Zero, control.Handle); 197Assert.NotEqual(IntPtr.Zero, control.Handle); 228Assert.NotEqual(IntPtr.Zero, control.Handle); 255Assert.NotEqual(IntPtr.Zero, control.Handle); 284Assert.NotEqual(Color.Empty, insertionMark.Color); 294Assert.NotEqual(IntPtr.Zero, control.Handle); 302Assert.NotEqual(Color.Empty, insertionMark.Color); 332Assert.NotEqual(IntPtr.Zero, control.Handle); 367Assert.NotEqual(IntPtr.Zero, control.Handle); 426Assert.NotEqual(IntPtr.Zero, control.Handle); 466Assert.NotEqual(IntPtr.Zero, control.Handle); 479Assert.NotEqual(IntPtr.Zero, control.Handle); 521Assert.NotEqual(IntPtr.Zero, control.Handle); 534Assert.NotEqual(IntPtr.Zero, control.Handle); 574Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ListViewSubItemTests.cs (1)
209Assert.NotEqual(IntPtr.Zero, listView.Handle);
System\Windows\Forms\ListViewTests.cs (58)
200Assert.NotEqual(IntPtr.Zero, listView.Handle); 298Assert.NotEqual(IntPtr.Zero, listView.Handle); 358Assert.NotEqual(IntPtr.Zero, listView.Handle); 418Assert.NotEqual(IntPtr.Zero, listView.Handle); 484Assert.NotEqual(IntPtr.Zero, control.Handle); 513Assert.NotEqual(IntPtr.Zero, control.Handle); 665Assert.NotEqual(IntPtr.Zero, listView.Handle); 705Assert.NotEqual(IntPtr.Zero, listView.Handle); 761Assert.NotEqual(IntPtr.Zero, listView.Handle); 963Assert.NotEqual(IntPtr.Zero, listView.Handle); 1007Assert.NotEqual(IntPtr.Zero, listView.Handle); 1052Assert.NotEqual(IntPtr.Zero, listView.Handle); 1181Assert.NotEqual(IntPtr.Zero, control.Handle); 1271Assert.NotEqual(IntPtr.Zero, control.Handle); 1289Assert.NotEqual(IntPtr.Zero, control.Handle); 1346Assert.NotEqual(IntPtr.Zero, control.Handle); 1375Assert.NotEqual(IntPtr.Zero, control.Handle); 1443Assert.NotEqual(IntPtr.Zero, listView.Handle); 1503Assert.NotEqual(IntPtr.Zero, listView.Handle); 1661Assert.NotEqual(IntPtr.Zero, listView.Handle); 1747Assert.NotEqual(IntPtr.Zero, listView.Handle); 1807Assert.NotEqual(IntPtr.Zero, listView.Handle); 1846Assert.NotEqual(IntPtr.Zero, control.Handle); 1857Assert.NotEqual(IntPtr.Zero, control.Handle); 1974Assert.NotEqual(IntPtr.Zero, control.Handle); 1984Assert.NotEqual(IntPtr.Zero, control.Handle); 2005Assert.NotEqual(IntPtr.Zero, control.Handle); 2059Assert.NotEqual(IntPtr.Zero, listView.Handle); 2093Assert.NotEqual(IntPtr.Zero, listView.Handle); 2153Assert.NotEqual(IntPtr.Zero, listView.Handle); 2213Assert.NotEqual(IntPtr.Zero, listView.Handle); 2300Assert.NotEqual(IntPtr.Zero, listView.Handle); 2388Assert.NotEqual(IntPtr.Zero, listView.Handle); 2448Assert.NotEqual(IntPtr.Zero, listView.Handle); 2604Assert.NotEqual(IntPtr.Zero, listView.Handle); 2691Assert.NotEqual(IntPtr.Zero, listView.Handle); 2749Assert.NotEqual(IntPtr.Zero, listView.Handle); 2809Assert.NotEqual(IntPtr.Zero, listView.Handle); 2869Assert.NotEqual(IntPtr.Zero, listView.Handle); 2929Assert.NotEqual(IntPtr.Zero, listView.Handle); 3011Assert.NotEqual(IntPtr.Zero, listView.Handle); 3052Assert.NotEqual(IntPtr.Zero, listView.Handle); 3112Assert.NotEqual(IntPtr.Zero, listView.Handle); 3294Assert.NotEqual(IntPtr.Zero, listView.Handle); 3407Assert.NotEqual(IntPtr.Zero, listView.Handle); 3465Assert.NotEqual(IntPtr.Zero, listView.Handle); 3735Assert.NotEqual(IntPtr.Zero, listView.Handle); 3925Assert.NotEqual(IntPtr.Zero, listView.Handle); 3990Assert.NotEqual(IntPtr.Zero, listView.Handle); 4049Assert.NotEqual(IntPtr.Zero, listView.Handle); 4112Assert.NotEqual(IntPtr.Zero, control.Handle); 4157Assert.NotEqual(IntPtr.Zero, control.Handle); 4186Assert.NotEqual(IntPtr.Zero, control.Handle); 4246Assert.NotEqual(IntPtr.Zero, control.Handle); 4739Assert.NotEqual(IntPtr.Zero, listView.Handle); 4816Assert.NotEqual(IntPtr.Zero, listView.Handle); 5124Assert.NotEqual(IntPtr.Zero, toolTip.Handle); // A workaround to create the toolTip native window Handle 5464Assert.NotEqual(0, editControlHandle);
System\Windows\Forms\MdiClientTests.cs (9)
333Assert.NotEqual(IntPtr.Zero, control.Handle); 358Assert.NotEqual(IntPtr.Zero, control.Handle); 383Assert.NotEqual(IntPtr.Zero, control.Handle); 428Assert.NotEqual(IntPtr.Zero, control.Handle); 630Assert.NotEqual(IntPtr.Zero, control.Handle); 756Assert.NotEqual(IntPtr.Zero, parent.Handle); 908Assert.NotEqual(IntPtr.Zero, parent.Handle); 1070Assert.NotEqual(IntPtr.Zero, parent.Handle); 1209Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\MenuStripTests.cs (7)
184Assert.NotEqual(IntPtr.Zero, control.Handle); 270Assert.NotEqual(IntPtr.Zero, control.Handle); 377Assert.NotEqual(IntPtr.Zero, control.Handle); 578Assert.NotEqual(IntPtr.Zero, control.Handle); 644Assert.NotEqual(IntPtr.Zero, control.Handle); 769Assert.NotEqual(IntPtr.Zero, control.Handle); 794Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\MessageTests.cs (1)
178Assert.NotEqual(0, message.GetHashCode());
System\Windows\Forms\MonthCalendarTests.cs (63)
235Assert.NotEqual(IntPtr.Zero, calendar.Handle); 313Assert.NotEqual(IntPtr.Zero, control.Handle); 563Assert.NotEqual(IntPtr.Zero, calendar.Handle); 665Assert.NotEqual(IntPtr.Zero, calendar.Handle); 696Assert.NotEqual(IntPtr.Zero, calendar.Handle); 772Assert.NotEqual(IntPtr.Zero, control.Handle); 848Assert.NotEqual(IntPtr.Zero, calendar.Handle); 887Assert.NotEqual(IntPtr.Zero, calendar.Handle); 959Assert.NotEqual(IntPtr.Zero, control.Handle); 1027Assert.NotEqual(IntPtr.Zero, control.Handle); 1055Assert.NotEqual(IntPtr.Zero, control.Handle); 1066Assert.NotEqual(IntPtr.Zero, control.Handle); 1086Assert.NotEqual(IntPtr.Zero, control.Handle); 1097Assert.NotEqual(IntPtr.Zero, control.Handle); 1108Assert.NotEqual(IntPtr.Zero, control.Handle); 1119Assert.NotEqual(IntPtr.Zero, control.Handle); 1130Assert.NotEqual(IntPtr.Zero, control.Handle); 1141Assert.NotEqual(IntPtr.Zero, control.Handle); 1158Assert.NotEqual(IntPtr.Zero, control.Handle); 1170Assert.NotEqual(IntPtr.Zero, control.Handle); 1198Assert.NotEqual(IntPtr.Zero, control.Handle); 1242Assert.NotEqual(IntPtr.Zero, control.Handle); 1344Assert.NotEqual(IntPtr.Zero, calendar.Handle); 1410Assert.NotEqual(IntPtr.Zero, calendar.Handle); 1477Assert.NotEqual(IntPtr.Zero, calendar.Handle); 1589Assert.NotEqual(IntPtr.Zero, calendar.Handle); 1655Assert.NotEqual(IntPtr.Zero, control.Handle); 1769Assert.NotEqual(IntPtr.Zero, control.Handle); 1857Assert.NotEqual(IntPtr.Zero, control.Handle); 1908Assert.NotEqual(IntPtr.Zero, calendar.Handle); 1977Assert.NotEqual(IntPtr.Zero, calendar.Handle); 2059Assert.NotEqual(IntPtr.Zero, calendar.Handle); 2162Assert.NotEqual(IntPtr.Zero, calendar.Handle); 2256Assert.NotEqual(IntPtr.Zero, control.Handle); 2328Assert.NotEqual(IntPtr.Zero, control.Handle); 2388Assert.NotEqual(IntPtr.Zero, control.Handle); 2424Assert.NotEqual(IntPtr.Zero, control.Handle); 2460Assert.NotEqual(IntPtr.Zero, control.Handle); 2487Assert.NotEqual(IntPtr.Zero, control.Handle); 2548Assert.NotEqual(IntPtr.Zero, control.Handle); 2653Assert.NotEqual(IntPtr.Zero, control.Handle); 2740Assert.NotEqual(IntPtr.Zero, calendar.Handle); 2799Assert.NotEqual(IntPtr.Zero, calendar.Handle); 2834Assert.NotEqual(IntPtr.Zero, control.Handle); 2877Assert.NotEqual(IntPtr.Zero, calendar.Handle); 2953Assert.NotEqual(IntPtr.Zero, calendar.Handle); 3027Assert.NotEqual(IntPtr.Zero, calendar.Handle); 3134Assert.NotEqual(IntPtr.Zero, calendar.Handle); 3241Assert.NotEqual(IntPtr.Zero, calendar.Handle); 3312Assert.NotEqual(IntPtr.Zero, control.Handle); 3390Assert.NotEqual(IntPtr.Zero, control.Handle); 3563Assert.NotEqual(IntPtr.Zero, control.Handle); 3634Assert.NotEqual(IntPtr.Zero, control.Handle); 3687Assert.NotEqual(IntPtr.Zero, control.Handle); 3838Assert.NotEqual(IntPtr.Zero, control.Handle); 3879Assert.NotEqual(IntPtr.Zero, control.Handle); 3904Assert.NotEqual(IntPtr.Zero, handle1); 3909Assert.NotEqual(IntPtr.Zero, handle2); 3910Assert.NotEqual(handle1, handle2); 3916Assert.NotEqual(IntPtr.Zero, handle3); 3917Assert.NotEqual(handle2, handle3); 3988Assert.NotEqual(IntPtr.Zero, calendar.Handle); 4095Assert.NotEqual(IntPtr.Zero, calendar.Handle);
System\Windows\Forms\NativeWindowTests.cs (6)
109Assert.NotEqual(IntPtr.Zero, window1.Handle); 117Assert.NotEqual(IntPtr.Zero, window2.Handle); 118Assert.NotEqual(window1.Handle, window2.Handle); 152Assert.NotEqual(IntPtr.Zero, window.Handle); 207Assert.NotEqual(IntPtr.Zero, window1.Handle); 280Assert.NotEqual(IntPtr.Zero, window.Handle);
System\Windows\Forms\PanelTests.cs (8)
372Assert.NotEqual(IntPtr.Zero, control.Handle); 420Assert.NotEqual(IntPtr.Zero, parent.Handle); 493Assert.NotEqual(IntPtr.Zero, parent.Handle); 576Assert.NotEqual(IntPtr.Zero, control.Handle); 678Assert.NotEqual(IntPtr.Zero, control.Handle); 770Assert.NotEqual(IntPtr.Zero, control.Handle); 1025Assert.NotEqual(IntPtr.Zero, control.Handle); 1091Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\PictureBoxTests.cs (21)
159Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 258Assert.NotEqual(IntPtr.Zero, control.Handle); 351Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 371Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 565Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 583Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 670Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 691Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 940Assert.NotEqual(IntPtr.Zero, control.Handle); 1048Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 1068Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 1310Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 1333Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 1483Assert.NotEqual(IntPtr.Zero, control.Handle); 1573Assert.NotEqual(IntPtr.Zero, control.Handle); 1656Assert.NotEqual(IntPtr.Zero, control.Handle); 1948Assert.NotEqual(IntPtr.Zero, pictureBox.Handle); 2217Assert.NotEqual(IntPtr.Zero, control.Handle); 2276Assert.NotEqual(IntPtr.Zero, control.Handle); 2698Assert.NotEqual(IntPtr.Zero, control.Handle); 2754Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ProfessionalColorsTests.cs (1)
100Assert.NotEqual(ProfessionalColors.ImageMarginGradientEnd, ProfessionalColors.ImageMarginGradientEnd);
System\Windows\Forms\ProfessionalColorTableTests.cs (1)
129Assert.NotEqual(table.ImageMarginGradientEnd, table.ImageMarginGradientEnd);
System\Windows\Forms\ProgressBarTests.cs (25)
437Assert.NotEqual(IntPtr.Zero, control.Handle); 562Assert.NotEqual(IntPtr.Zero, control.Handle); 693Assert.NotEqual(IntPtr.Zero, control.Handle); 826Assert.NotEqual(IntPtr.Zero, control.Handle); 869Assert.NotEqual(IntPtr.Zero, control.Handle); 964Assert.NotEqual(IntPtr.Zero, control.Handle); 1063Assert.NotEqual(IntPtr.Zero, control.Handle); 1120Assert.NotEqual(IntPtr.Zero, control.Handle); 1234Assert.NotEqual(IntPtr.Zero, control.Handle); 1322Assert.NotEqual(IntPtr.Zero, control.Handle); 1376Assert.NotEqual(IntPtr.Zero, control.Handle); 1442Assert.NotEqual(IntPtr.Zero, control.Handle); 1476Assert.NotEqual(IntPtr.Zero, control.Handle); 1535Assert.NotEqual(IntPtr.Zero, control.Handle); 1627Assert.NotEqual(IntPtr.Zero, control.Handle); 1721Assert.NotEqual(IntPtr.Zero, control.Handle); 1786Assert.NotEqual(IntPtr.Zero, control.Handle); 1871Assert.NotEqual(IntPtr.Zero, control.Handle); 1931Assert.NotEqual(IntPtr.Zero, control.Handle); 2050Assert.NotEqual(IntPtr.Zero, control.Handle); 2140Assert.NotEqual(IntPtr.Zero, control.Handle); 2199Assert.NotEqual(IntPtr.Zero, control.Handle); 2425Assert.NotEqual(IntPtr.Zero, control.Handle); 2466Assert.NotEqual(IntPtr.Zero, control.Handle); 2526Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (1)
20Assert.NotEqual(tab.TabName, tab.HelpKeyword);
System\Windows\Forms\PropertyGridTests.cs (41)
71Assert.NotEqual(Point.Empty, control.ContextMenuDefaultLocation); 129Assert.NotEqual(Size.Empty, control.PreferredSize); 236Assert.NotEqual(IntPtr.Zero, control.Handle); 312Assert.NotEqual(IntPtr.Zero, control.Handle); 609Assert.NotEqual(IntPtr.Zero, control.Handle); 664Assert.NotEqual(IntPtr.Zero, control.Handle); 725Assert.NotEqual(IntPtr.Zero, control.Handle); 803Assert.NotEqual(IntPtr.Zero, control.Handle); 888Assert.NotEqual(IntPtr.Zero, control.Handle); 966Assert.NotEqual(IntPtr.Zero, control.Handle); 1051Assert.NotEqual(IntPtr.Zero, control.Handle); 1136Assert.NotEqual(IntPtr.Zero, control.Handle); 1214Assert.NotEqual(IntPtr.Zero, control.Handle); 1299Assert.NotEqual(IntPtr.Zero, control.Handle); 1403Assert.NotEqual(IntPtr.Zero, control.Handle); 1463Assert.NotEqual(IntPtr.Zero, control.Handle); 1579Assert.NotEqual(IntPtr.Zero, control.Handle); 1640Assert.NotEqual(IntPtr.Zero, control.Handle); 1754Assert.NotEqual(IntPtr.Zero, control.Handle); 1839Assert.NotEqual(IntPtr.Zero, control.Handle); 1917Assert.NotEqual(IntPtr.Zero, control.Handle); 2027Assert.NotEqual(IntPtr.Zero, control.Handle); 2113Assert.NotEqual(IntPtr.Zero, control.Handle); 2173Assert.NotEqual(IntPtr.Zero, control.Handle); 2251Assert.NotEqual(IntPtr.Zero, control.Handle); 2337Assert.NotEqual(IntPtr.Zero, control.Handle); 2420Assert.NotEqual(IntPtr.Zero, control.Handle); 2498Assert.NotEqual(IntPtr.Zero, control.Handle); 2584Assert.NotEqual(IntPtr.Zero, control.Handle); 2674Assert.NotEqual(IntPtr.Zero, control.Handle); 2754Assert.NotEqual(savedTabIndex, selectedTabIndex); 2773Assert.NotEqual(previousActiveDesigner, propertyGrid.ActiveDesigner); 2884Assert.NotEqual(IntPtr.Zero, control.Handle); 3022Assert.NotEqual(IntPtr.Zero, control.Handle); 3136Assert.NotEqual(IntPtr.Zero, control.Handle); 3224Assert.NotEqual(IntPtr.Zero, control.Handle); 3309Assert.NotEqual(IntPtr.Zero, control.Handle); 3394Assert.NotEqual(IntPtr.Zero, control.Handle); 3541Assert.NotEqual(IntPtr.Zero, control.Handle); 3595Assert.NotEqual(IntPtr.Zero, control.Handle); 3919Assert.NotEqual(0, (int)entry.EntryFlags);
System\Windows\Forms\RadioButtonTests.cs (16)
228Assert.NotEqual(IntPtr.Zero, control.Handle); 360Assert.NotEqual(IntPtr.Zero, control.Handle); 689Assert.NotEqual(IntPtr.Zero, control.Handle); 708Assert.NotEqual(IntPtr.Zero, control.Handle); 718Assert.NotEqual(IntPtr.Zero, control.Handle); 782Assert.NotEqual(IntPtr.Zero, control.Handle); 876Assert.NotEqual(IntPtr.Zero, control.Handle); 895Assert.NotEqual(IntPtr.Zero, control.Handle); 905Assert.NotEqual(IntPtr.Zero, control.Handle); 943Assert.NotEqual(IntPtr.Zero, control.Handle); 996Assert.NotEqual(IntPtr.Zero, control.Handle); 1158Assert.NotEqual(IntPtr.Zero, control.Handle); 1224Assert.NotEqual(IntPtr.Zero, control.Handle); 1302Assert.NotEqual(IntPtr.Zero, control.Handle); 1417Assert.NotEqual(IntPtr.Zero, control.Handle); 1458Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\RichTextBoxTests.cs (190)
267Assert.NotEqual(IntPtr.Zero, control.Handle); 304Assert.NotEqual(IntPtr.Zero, control.Handle); 345Assert.NotEqual(IntPtr.Zero, control.Handle); 550Assert.NotEqual(IntPtr.Zero, control.Handle); 600Assert.NotEqual(IntPtr.Zero, control.Handle); 639Assert.NotEqual(IntPtr.Zero, control.Handle); 678Assert.NotEqual(IntPtr.Zero, control.Handle); 881Assert.NotEqual(IntPtr.Zero, control.Handle); 918Assert.NotEqual(IntPtr.Zero, control.Handle); 959Assert.NotEqual(IntPtr.Zero, control.Handle); 988Assert.NotEqual(IntPtr.Zero, control.Handle); 1028Assert.NotEqual(IntPtr.Zero, control.Handle); 1057Assert.NotEqual(IntPtr.Zero, control.Handle); 1097Assert.NotEqual(IntPtr.Zero, control.Handle); 1148Assert.NotEqual(IntPtr.Zero, control.Handle); 1187Assert.NotEqual(IntPtr.Zero, control.Handle); 1219Assert.NotEqual(IntPtr.Zero, control.Handle); 1256Assert.NotEqual(IntPtr.Zero, control.Handle); 1297Assert.NotEqual(IntPtr.Zero, control.Handle); 1428Assert.NotEqual(IntPtr.Zero, control.Handle); 1465Assert.NotEqual(IntPtr.Zero, control.Handle); 1512Assert.NotEqual(IntPtr.Zero, control.Handle); 1551Assert.NotEqual(IntPtr.Zero, control.Handle); 1594Assert.NotEqual(IntPtr.Zero, control.Handle); 1608Assert.NotEqual(0, result); 1625Assert.NotEqual(0, result); 1715Assert.NotEqual(IntPtr.Zero, control.Handle); 1744Assert.NotEqual(IntPtr.Zero, control.Handle); 1750Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.SCF_ALL, ref format)); 1759Assert.NotEqual(IntPtr.Zero, control.Handle); 1765Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.SCF_ALL, ref format)); 1774Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.SCF_ALL, ref format)); 1832Assert.NotEqual(IntPtr.Zero, control.Handle); 1876Assert.NotEqual(IntPtr.Zero, control.Handle); 1906Assert.NotEqual(IntPtr.Zero, control.Handle); 1915Assert.NotEqual(IntPtr.Zero, control.Handle); 1989Assert.NotEqual(IntPtr.Zero, control.Handle); 2017Assert.NotEqual(IntPtr.Zero, control.Handle); 2045Assert.NotEqual(IntPtr.Zero, control.Handle); 2247Assert.NotEqual(IntPtr.Zero, control.Handle); 2321Assert.NotEqual(IntPtr.Zero, control.Handle); 2358Assert.NotEqual(IntPtr.Zero, control.Handle); 2427Assert.NotEqual(IntPtr.Zero, control.Handle); 2463Assert.NotEqual(IntPtr.Zero, control.Handle); 2531Assert.NotEqual(IntPtr.Zero, control.Handle); 2567Assert.NotEqual(IntPtr.Zero, control.Handle); 2602Assert.NotEqual(IntPtr.Zero, control.Handle); 2650Assert.NotEqual(IntPtr.Zero, control.Handle); 2745Assert.NotEqual(IntPtr.Zero, control.Handle); 2812Assert.NotEqual(IntPtr.Zero, control.Handle); 3026Assert.NotEqual(IntPtr.Zero, control.Handle); 3091Assert.NotEqual(IntPtr.Zero, control.Handle); 3173Assert.NotEqual(IntPtr.Zero, control.Handle); 3223Assert.NotEqual(IntPtr.Zero, control.Handle); 3290Assert.NotEqual(IntPtr.Zero, control.Handle); 3347Assert.NotEqual(IntPtr.Zero, control.Handle); 3428Assert.NotEqual(IntPtr.Zero, control.Handle); 3478Assert.NotEqual(IntPtr.Zero, control.Handle); 3532Assert.NotEqual(IntPtr.Zero, control.Handle); 3600Assert.NotEqual(IntPtr.Zero, control.Handle); 3649Assert.NotEqual(IntPtr.Zero, control.Handle); 3696Assert.NotEqual(IntPtr.Zero, control.Handle); 3739Assert.NotEqual(IntPtr.Zero, control.Handle); 3775Assert.NotEqual(IntPtr.Zero, control.Handle); 3781Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 3821Assert.NotEqual(IntPtr.Zero, control.Handle); 3863Assert.NotEqual(IntPtr.Zero, control.Handle); 3883Assert.NotEqual(IntPtr.Zero, control.Handle); 3941Assert.NotEqual(IntPtr.Zero, control.Handle); 3970Assert.NotEqual(IntPtr.Zero, control.Handle); 3976Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 4035Assert.NotEqual(IntPtr.Zero, control.Handle); 4085Assert.NotEqual(IntPtr.Zero, control.Handle); 4139Assert.NotEqual(IntPtr.Zero, control.Handle); 4182Assert.NotEqual(IntPtr.Zero, control.Handle); 4232Assert.NotEqual(IntPtr.Zero, control.Handle); 4238Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 4288Assert.NotEqual(IntPtr.Zero, control.Handle); 4346Assert.NotEqual(IntPtr.Zero, control.Handle); 4397Assert.NotEqual(IntPtr.Zero, control.Handle); 4426Assert.NotEqual(IntPtr.Zero, control.Handle); 4432Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 4489Assert.NotEqual(IntPtr.Zero, control.Handle); 4536Assert.NotEqual(IntPtr.Zero, control.Handle); 4586Assert.NotEqual(IntPtr.Zero, control.Handle); 4615Assert.NotEqual(IntPtr.Zero, control.Handle); 4621Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 4675Assert.NotEqual(IntPtr.Zero, control.Handle); 4752Assert.NotEqual(IntPtr.Zero, control.Handle); 4791Assert.NotEqual(IntPtr.Zero, control.Handle); 4851Assert.NotEqual(IntPtr.Zero, control.Handle); 4929Assert.NotEqual(IntPtr.Zero, control.Handle); 4936Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 4966Assert.NotEqual(IntPtr.Zero, control.Handle); 5011Assert.NotEqual(IntPtr.Zero, control.Handle); 5070Assert.NotEqual(IntPtr.Zero, control.Handle); 5109Assert.NotEqual(IntPtr.Zero, control.Handle); 5150Assert.NotEqual(IntPtr.Zero, control.Handle); 5156Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 5204Assert.NotEqual(IntPtr.Zero, control.Handle); 5250Assert.NotEqual(IntPtr.Zero, control.Handle); 5305Assert.NotEqual(IntPtr.Zero, control.Handle); 5341Assert.NotEqual(IntPtr.Zero, control.Handle); 5347Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 5395Assert.NotEqual(IntPtr.Zero, control.Handle); 5503Assert.NotEqual(IntPtr.Zero, control.Handle); 5545Assert.NotEqual(IntPtr.Zero, control.Handle); 5605Assert.NotEqual(IntPtr.Zero, control.Handle); 5652Assert.NotEqual(IntPtr.Zero, control.Handle); 5700Assert.NotEqual(IntPtr.Zero, control.Handle); 5738Assert.NotEqual(IntPtr.Zero, control.Handle); 5745Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 5794Assert.NotEqual(IntPtr.Zero, control.Handle); 5840Assert.NotEqual(IntPtr.Zero, control.Handle); 5891Assert.NotEqual(IntPtr.Zero, control.Handle); 5925Assert.NotEqual(IntPtr.Zero, control.Handle); 5931Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 5984Assert.NotEqual(IntPtr.Zero, control.Handle); 6093Assert.NotEqual(IntPtr.Zero, control.Handle); 6135Assert.NotEqual(IntPtr.Zero, control.Handle); 6188Assert.NotEqual(IntPtr.Zero, control.Handle); 6238Assert.NotEqual(IntPtr.Zero, control.Handle); 6294Assert.NotEqual(IntPtr.Zero, control.Handle); 6339Assert.NotEqual(IntPtr.Zero, control.Handle); 6372Assert.NotEqual(IntPtr.Zero, control.Handle); 6378Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 6386Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.SCF_SELECTION, ref format)); 6444Assert.NotEqual(IntPtr.Zero, control.Handle); 6476Assert.NotEqual(IntPtr.Zero, control.Handle); 6522Assert.NotEqual(IntPtr.Zero, control.Handle); 6564Assert.NotEqual(IntPtr.Zero, control.Handle); 6614Assert.NotEqual(IntPtr.Zero, control.Handle); 6653Assert.NotEqual(IntPtr.Zero, control.Handle); 6674Assert.NotEqual(IntPtr.Zero, control.Handle); 6719Assert.NotEqual(IntPtr.Zero, control.Handle); 7238Assert.NotEqual(IntPtr.Zero, control.Handle); 7284Assert.NotEqual(IntPtr.Zero, control.Handle); 7334Assert.NotEqual(IntPtr.Zero, control.Handle); 7395Assert.NotEqual(IntPtr.Zero, control.Handle); 7460Assert.NotEqual(IntPtr.Zero, control.Handle); 7535Assert.NotEqual(IntPtr.Zero, control.Handle); 7626Assert.NotEqual(IntPtr.Zero, control.Handle); 7663Assert.NotEqual(IntPtr.Zero, control.Handle); 7709Assert.NotEqual(IntPtr.Zero, control.Handle); 7747Assert.NotEqual(IntPtr.Zero, control.Handle); 7802Assert.NotEqual(IntPtr.Zero, control.Handle); 7859Assert.NotEqual(IntPtr.Zero, control.Handle); 7888Assert.NotEqual(IntPtr.Zero, control.Handle); 8146Assert.NotEqual(IntPtr.Zero, control.Handle); 8169Assert.NotEqual(IntPtr.Zero, control.Handle); 8192Assert.NotEqual(IntPtr.Zero, control.Handle); 8215Assert.NotEqual(IntPtr.Zero, control.Handle); 8366Assert.NotEqual(IntPtr.Zero, control.Handle); 8389Assert.NotEqual(IntPtr.Zero, control.Handle); 8412Assert.NotEqual(IntPtr.Zero, control.Handle); 8578Assert.NotEqual(IntPtr.Zero, control.Handle); 8599Assert.NotEqual(IntPtr.Zero, control.Handle); 8665Assert.NotEqual(IntPtr.Zero, control.Handle); 8686Assert.NotEqual(IntPtr.Zero, control.Handle); 8847Assert.NotEqual(IntPtr.Zero, control.Handle); 8874Assert.NotEqual(IntPtr.Zero, control.Handle); 8907Assert.NotEqual(IntPtr.Zero, control.Handle); 8947Assert.NotEqual(IntPtr.Zero, control.Handle); 9037Assert.NotEqual(IntPtr.Zero, control.Handle); 9309Assert.NotEqual(IntPtr.Zero, control.Handle); 9359Assert.NotEqual(IntPtr.Zero, control.Handle); 9383Assert.NotEqual(IntPtr.Zero, control.Handle); 9428Assert.NotEqual(IntPtr.Zero, control.Handle); 9452Assert.NotEqual(IntPtr.Zero, control.Handle); 9498Assert.NotEqual(IntPtr.Zero, control.Handle); 9523Assert.NotEqual(IntPtr.Zero, control.Handle); 9570Assert.NotEqual(IntPtr.Zero, control.Handle); 9594Assert.NotEqual(IntPtr.Zero, control.Handle); 9629Assert.NotEqual(IntPtr.Zero, control.Handle); 9654Assert.NotEqual(IntPtr.Zero, control.Handle); 9696Assert.NotEqual(IntPtr.Zero, control.Handle); 9715Assert.NotEqual(IntPtr.Zero, control.Handle); 9800Assert.NotEqual(IntPtr.Zero, control.Handle); 9853Assert.NotEqual(IntPtr.Zero, control.Handle); 9889Assert.NotEqual(IntPtr.Zero, control.Handle); 9972Assert.NotEqual(IntPtr.Zero, control.Handle); 10028Assert.NotEqual(IntPtr.Zero, control.Handle); 10252Assert.NotEqual(IntPtr.Zero, control.Handle); 10289Assert.NotEqual(IntPtr.Zero, control.Handle); 10339Assert.NotEqual(IntPtr.Zero, control.Handle); 10389Assert.NotEqual(IntPtr.Zero, control.Handle); 10440Assert.NotEqual(IntPtr.Zero, control.Handle); 10523Assert.NotEqual(IntPtr.Zero, control.Handle); 10884Assert.NotEqual(IntPtr.Zero, m.LParam); 10905Assert.NotEqual(IntPtr.Zero, m.LParam);
System\Windows\Forms\RowStyleTests.cs (1)
101Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ScreenTests.cs (3)
69Assert.NotEqual(IntPtr.Zero, createdControl.Handle); 209Assert.NotEqual(0, screen.Bounds.Width); 210Assert.NotEqual(0, screen.Bounds.Height);
System\Windows\Forms\ScrollableControlTests.cs (18)
224Assert.NotEqual(IntPtr.Zero, control.Handle); 280Assert.NotEqual(IntPtr.Zero, control.Handle); 377Assert.NotEqual(IntPtr.Zero, control.Handle); 493Assert.NotEqual(IntPtr.Zero, control.Handle); 620Assert.NotEqual(IntPtr.Zero, control.Handle); 753Assert.NotEqual(IntPtr.Zero, control.Handle); 915Assert.NotEqual(IntPtr.Zero, control.Handle); 1192Assert.NotEqual(IntPtr.Zero, control.Handle); 1227Assert.NotEqual(IntPtr.Zero, control.Handle); 1304Assert.NotEqual(IntPtr.Zero, control.Handle); 1477Assert.NotEqual(IntPtr.Zero, control.Handle); 1749Assert.NotEqual(IntPtr.Zero, control.Handle); 1851Assert.NotEqual(IntPtr.Zero, parent.Handle); 1930Assert.NotEqual(IntPtr.Zero, control.Handle); 2023Assert.NotEqual(IntPtr.Zero, control.Handle); 2263Assert.NotEqual(IntPtr.Zero, control.Handle); 2393Assert.NotEqual(IntPtr.Zero, control.Handle); 2454Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ScrollBarTests.cs (21)
390Assert.NotEqual(IntPtr.Zero, control.Handle); 436Assert.NotEqual(IntPtr.Zero, control.Handle); 609Assert.NotEqual(IntPtr.Zero, control.Handle); 730Assert.NotEqual(IntPtr.Zero, control.Handle); 780Assert.NotEqual(IntPtr.Zero, control.Handle); 862Assert.NotEqual(IntPtr.Zero, control.Handle); 925Assert.NotEqual(IntPtr.Zero, control.Handle); 1048Assert.NotEqual(IntPtr.Zero, control.Handle); 1111Assert.NotEqual(IntPtr.Zero, control.Handle); 1309Assert.NotEqual(IntPtr.Zero, control.Handle); 1345Assert.NotEqual(IntPtr.Zero, control.Handle); 1404Assert.NotEqual(IntPtr.Zero, control.Handle); 1496Assert.NotEqual(IntPtr.Zero, control.Handle); 1593Assert.NotEqual(IntPtr.Zero, control.Handle); 1657Assert.NotEqual(IntPtr.Zero, control.Handle); 1976Assert.NotEqual(IntPtr.Zero, control.Handle); 2041Assert.NotEqual(IntPtr.Zero, control.Handle); 2624Assert.NotEqual(IntPtr.Zero, control.Handle); 2648Assert.NotEqual(IntPtr.Zero, control.Handle); 2875Assert.NotEqual(IntPtr.Zero, control.Handle); 2900Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\SplitterPanelTests.cs (5)
246Assert.NotEqual(IntPtr.Zero, control.Handle); 280Assert.NotEqual(IntPtr.Zero, parent.Handle); 350Assert.NotEqual(IntPtr.Zero, control.Handle); 956Assert.NotEqual(IntPtr.Zero, control.Handle); 1048Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\SplitterTests.cs (15)
338Assert.NotEqual(IntPtr.Zero, control.Handle); 650Assert.NotEqual(IntPtr.Zero, control.Handle); 822Assert.NotEqual(IntPtr.Zero, control.Handle); 921Assert.NotEqual(IntPtr.Zero, control.Handle); 1016Assert.NotEqual(IntPtr.Zero, control.Handle); 1068Assert.NotEqual(IntPtr.Zero, control.Handle); 1282Assert.NotEqual(IntPtr.Zero, control.Handle); 1322Assert.NotEqual(IntPtr.Zero, control.Handle); 1376Assert.NotEqual(IntPtr.Zero, parent.Handle); 1481Assert.NotEqual(IntPtr.Zero, control.Handle); 1573Assert.NotEqual(IntPtr.Zero, control.Handle); 1731Assert.NotEqual(IntPtr.Zero, control.Handle); 1784Assert.NotEqual(IntPtr.Zero, control.Handle); 2062Assert.NotEqual(IntPtr.Zero, control.Handle); 2124Assert.NotEqual(IntPtr.Zero, parent.Handle);
System\Windows\Forms\StatusStripTests.cs (1)
800Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\StatusStripTests.Rendering.cs (2)
25Assert.NotEqual(IntPtr.Zero, form.Handle); 26Assert.NotEqual(IntPtr.Zero, statusStrip.Handle);
System\Windows\Forms\SystemInformationTests.cs (2)
792Assert.NotEqual(0, screen.Width); 793Assert.NotEqual(0, screen.Height);
System\Windows\Forms\TabControl.ControlCollectionTests.cs (16)
186Assert.NotEqual(IntPtr.Zero, owner.Handle); 346Assert.NotEqual(IntPtr.Zero, value1.Handle); 353Assert.NotEqual(IntPtr.Zero, value2.Handle); 487Assert.NotEqual(IntPtr.Zero, value1.Handle); 494Assert.NotEqual(IntPtr.Zero, value2.Handle); 501Assert.NotEqual(IntPtr.Zero, owner.Handle); 755Assert.NotEqual(IntPtr.Zero, owner.Handle); 823Assert.NotEqual(IntPtr.Zero, owner.Handle); 1014Assert.NotEqual(IntPtr.Zero, value1.Handle); 1021Assert.NotEqual(IntPtr.Zero, value2.Handle); 1139Assert.NotEqual(IntPtr.Zero, owner.Handle); 1251Assert.NotEqual(IntPtr.Zero, value1.Handle); 1258Assert.NotEqual(IntPtr.Zero, value2.Handle); 1401Assert.NotEqual(IntPtr.Zero, owner.Handle); 1478Assert.NotEqual(IntPtr.Zero, owner.Handle); 1536Assert.NotEqual(IntPtr.Zero, owner.Handle);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (45)
174Assert.NotEqual(IntPtr.Zero, owner.Handle); 337Assert.NotEqual(IntPtr.Zero, value1.Handle); 344Assert.NotEqual(IntPtr.Zero, value2.Handle); 481Assert.NotEqual(IntPtr.Zero, value1.Handle); 488Assert.NotEqual(IntPtr.Zero, value2.Handle); 495Assert.NotEqual(IntPtr.Zero, owner.Handle); 759Assert.NotEqual(IntPtr.Zero, owner.Handle); 829Assert.NotEqual(IntPtr.Zero, owner.Handle); 1403Assert.NotEqual(IntPtr.Zero, owner.Handle); 1461Assert.NotEqual(IntPtr.Zero, owner.Handle); 1536Assert.NotEqual(IntPtr.Zero, owner.Handle); 2111Assert.NotEqual(IntPtr.Zero, owner.Handle); 2280Assert.NotEqual(IntPtr.Zero, value1.Handle); 2287Assert.NotEqual(IntPtr.Zero, value2.Handle); 2430Assert.NotEqual(IntPtr.Zero, value1.Handle); 2437Assert.NotEqual(IntPtr.Zero, value2.Handle); 2444Assert.NotEqual(IntPtr.Zero, owner.Handle); 2686Assert.NotEqual(IntPtr.Zero, owner.Handle); 2707Assert.NotEqual(IntPtr.Zero, owner.Handle); 2727Assert.NotEqual(IntPtr.Zero, owner.Handle); 2747Assert.NotEqual(IntPtr.Zero, owner.Handle); 2767Assert.NotEqual(IntPtr.Zero, owner.Handle); 2787Assert.NotEqual(IntPtr.Zero, owner.Handle); 2855Assert.NotEqual(IntPtr.Zero, owner.Handle); 2929Assert.NotEqual(IntPtr.Zero, owner.Handle); 2958Assert.NotEqual(IntPtr.Zero, owner.Handle); 2997Assert.NotEqual(IntPtr.Zero, owner.Handle); 3163Assert.NotEqual(IntPtr.Zero, owner.Handle); 3190Assert.NotEqual(IntPtr.Zero, owner.Handle); 3223Assert.NotEqual(IntPtr.Zero, owner.Handle); 3448Assert.NotEqual(IntPtr.Zero, owner.Handle); 3504Assert.NotEqual(IntPtr.Zero, owner.Handle); 3547Assert.NotEqual(IntPtr.Zero, owner.Handle); 3619Assert.NotEqual(IntPtr.Zero, owner.Handle); 3680Assert.NotEqual(IntPtr.Zero, owner.Handle); 3845Assert.NotEqual(IntPtr.Zero, owner.Handle); 3900Assert.NotEqual(IntPtr.Zero, owner.Handle); 4103Assert.NotEqual(IntPtr.Zero, value1.Handle); 4110Assert.NotEqual(IntPtr.Zero, value2.Handle); 4233Assert.NotEqual(IntPtr.Zero, owner.Handle); 4350Assert.NotEqual(IntPtr.Zero, value1.Handle); 4357Assert.NotEqual(IntPtr.Zero, value2.Handle); 4507Assert.NotEqual(IntPtr.Zero, owner.Handle); 4598Assert.NotEqual(IntPtr.Zero, owner.Handle); 4658Assert.NotEqual(IntPtr.Zero, owner.Handle);
System\Windows\Forms\TabControlTests.cs (73)
415Assert.NotEqual(IntPtr.Zero, control.Handle); 494Assert.NotEqual(IntPtr.Zero, control.Handle); 555Assert.NotEqual(IntPtr.Zero, control.Handle); 755Assert.NotEqual(IntPtr.Zero, control.Handle); 779Assert.NotEqual(IntPtr.Zero, control.Handle); 830Assert.NotEqual(IntPtr.Zero, control.Handle); 888Assert.NotEqual(IntPtr.Zero, control.Handle); 949Assert.NotEqual(IntPtr.Zero, control.Handle); 1013Assert.NotEqual(IntPtr.Zero, control.Handle); 1025Assert.NotEqual(IntPtr.Zero, control.Handle); 1033Assert.NotEqual(IntPtr.Zero, control.Handle); 1055Assert.NotEqual(IntPtr.Zero, control.Handle); 1118Assert.NotEqual(IntPtr.Zero, control.Handle); 1198Assert.NotEqual(IntPtr.Zero, control.Handle); 1231Assert.NotEqual(IntPtr.Zero, control.Handle); 1295Assert.NotEqual(IntPtr.Zero, control.Handle); 1336Assert.NotEqual(IntPtr.Zero, control.Handle); 1403Assert.NotEqual(IntPtr.Zero, control.Handle); 1444Assert.NotEqual(IntPtr.Zero, control.Handle); 1459Assert.NotEqual(IntPtr.Zero, control.Handle); 1504Assert.NotEqual(IntPtr.Zero, control.Handle); 1535Assert.NotEqual(IntPtr.Zero, control.Handle); 1674Assert.NotEqual(IntPtr.Zero, control.Handle); 1739Assert.NotEqual(IntPtr.Zero, control.Handle); 1878Assert.NotEqual(IntPtr.Zero, control.Handle); 1966Assert.NotEqual(IntPtr.Zero, control.Handle); 1999Assert.NotEqual(IntPtr.Zero, control.Handle); 2008Assert.NotEqual(IntPtr.Zero, control.Handle); 2020Assert.NotEqual(IntPtr.Zero, control.Handle); 2084Assert.NotEqual(IntPtr.Zero, control.Handle); 2122Assert.NotEqual(IntPtr.Zero, control.Handle); 2216Assert.NotEqual(IntPtr.Zero, control.Handle); 2329Assert.NotEqual(IntPtr.Zero, control.Handle); 2407Assert.NotEqual(IntPtr.Zero, control.Handle); 2514Assert.NotEqual(IntPtr.Zero, control.Handle); 2526Assert.NotEqual(IntPtr.Zero, control.Handle); 2639Assert.NotEqual(IntPtr.Zero, control.Handle); 2674Assert.NotEqual(IntPtr.Zero, control.Handle); 2816Assert.NotEqual(IntPtr.Zero, control.Handle); 2876Assert.NotEqual(IntPtr.Zero, control.Handle); 2930Assert.NotEqual(IntPtr.Zero, control.Handle); 3008Assert.NotEqual(IntPtr.Zero, control.Handle); 3070Assert.NotEqual(IntPtr.Zero, control.Handle); 3261Assert.NotEqual(IntPtr.Zero, control.Handle); 3449Assert.NotEqual(IntPtr.Zero, control.Handle); 3683Assert.NotEqual(IntPtr.Zero, control.Handle); 3726Assert.NotEqual(IntPtr.Zero, control.Handle); 3755Assert.NotEqual(IntPtr.Zero, control.Handle); 3815Assert.NotEqual(IntPtr.Zero, control.Handle); 4102Assert.NotEqual(IntPtr.Zero, control.Handle); 4349Assert.NotEqual(IntPtr.Zero, control.Handle); 4402Assert.NotEqual(IntPtr.Zero, control.Handle); 4550Assert.NotEqual(IntPtr.Zero, control.Handle); 4591Assert.NotEqual(IntPtr.Zero, control.Handle); 4725Assert.NotEqual(IntPtr.Zero, control.Handle); 4776Assert.NotEqual(IntPtr.Zero, control.Handle); 4855Assert.NotEqual(IntPtr.Zero, handle1); 4862Assert.NotEqual(IntPtr.Zero, handle2); 4863Assert.NotEqual(handle1, handle2); 4871Assert.NotEqual(IntPtr.Zero, handle3); 4872Assert.NotEqual(handle2, handle3); 4888Assert.NotEqual(IntPtr.Zero, handle1); 4895Assert.NotEqual(IntPtr.Zero, handle2); 4896Assert.NotEqual(handle1, handle2); 4904Assert.NotEqual(IntPtr.Zero, handle3); 4905Assert.NotEqual(handle2, handle3); 5063Assert.NotEqual(IntPtr.Zero, control.Handle); 5116Assert.NotEqual(IntPtr.Zero, control.Handle); 5186Assert.NotEqual(IntPtr.Zero, control.Handle); 5239Assert.NotEqual(IntPtr.Zero, control.Handle); 5406Assert.NotEqual(IntPtr.Zero, control.Handle); 5564Assert.NotEqual(IntPtr.Zero, control.Handle); 5697Assert.NotEqual(IntPtr.Zero, toolTip.Handle); // A workaround to create the toolTip native window Handle
System\Windows\Forms\TableLayoutPanelTests.cs (5)
174Assert.NotEqual(IntPtr.Zero, control.Handle); 255Assert.NotEqual(IntPtr.Zero, control.Handle); 1242Assert.NotEqual(IntPtr.Zero, control.Handle); 1295Assert.NotEqual(IntPtr.Zero, control.Handle); 1367Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\TableLayoutStyleTests.cs (1)
78Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\TabPageTests.cs (38)
442Assert.NotEqual(IntPtr.Zero, control.Handle); 478Assert.NotEqual(IntPtr.Zero, parent.Handle); 835Assert.NotEqual(IntPtr.Zero, control.Handle); 1026Assert.NotEqual(IntPtr.Zero, control.Handle); 1218Assert.NotEqual(IntPtr.Zero, control.Handle); 1257Assert.NotEqual(IntPtr.Zero, parent.Handle); 1323Assert.NotEqual(IntPtr.Zero, parent.Handle); 1382Assert.NotEqual(IntPtr.Zero, owner.Handle); 1449Assert.NotEqual(IntPtr.Zero, owner.Handle); 1600Assert.NotEqual(IntPtr.Zero, control.Handle); 1637Assert.NotEqual(IntPtr.Zero, parent.Handle); 1701Assert.NotEqual(IntPtr.Zero, parent.Handle); 1757Assert.NotEqual(IntPtr.Zero, owner.Handle); 1821Assert.NotEqual(IntPtr.Zero, owner.Handle); 2080Assert.NotEqual(IntPtr.Zero, control.Handle); 2160Assert.NotEqual(IntPtr.Zero, parent.Handle); 2287Assert.NotEqual(IntPtr.Zero, control.Handle); 2542Assert.NotEqual(IntPtr.Zero, control.Handle); 2710Assert.NotEqual(IntPtr.Zero, control.Handle); 2861Assert.NotEqual(IntPtr.Zero, control.Handle); 2894Assert.NotEqual(IntPtr.Zero, parent.Handle); 2956Assert.NotEqual(IntPtr.Zero, parent.Handle); 3013Assert.NotEqual(IntPtr.Zero, owner.Handle); 3080Assert.NotEqual(IntPtr.Zero, owner.Handle); 3233Assert.NotEqual(IntPtr.Zero, control.Handle); 3268Assert.NotEqual(IntPtr.Zero, parent.Handle); 3332Assert.NotEqual(IntPtr.Zero, parent.Handle); 3386Assert.NotEqual(IntPtr.Zero, owner.Handle); 3450Assert.NotEqual(IntPtr.Zero, owner.Handle); 3515Assert.NotEqual(IntPtr.Zero, control.Handle); 3611Assert.NotEqual(IntPtr.Zero, control.Handle); 3652Assert.NotEqual(IntPtr.Zero, parent.Handle); 4118Assert.NotEqual(IntPtr.Zero, control.Handle); 4219Assert.NotEqual(IntPtr.Zero, parent.Handle); 4562Assert.NotEqual(IntPtr.Zero, control.Handle); 4713Assert.NotEqual(IntPtr.Zero, parent.Handle); 4920Assert.NotEqual(IntPtr.Zero, toolTip.Handle); // A workaround to create the tooltip native window Handle 5018Assert.NotEqual(IntPtr.Zero, toolTip.Handle); // A workaround to create the tooltip native window Handle
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (1)
922Assert.NotEqual(IntPtr.Zero, textBoxBase.Handle);
System\Windows\Forms\ToolStripButtonTests.cs (3)
696Assert.NotEqual(IntPtr.Zero, owner.Handle); 769Assert.NotEqual(IntPtr.Zero, parent.Handle); 908Assert.NotEqual(IntPtr.Zero, owner.Handle);
System\Windows\Forms\ToolStripContentPanelTests.cs (10)
185Assert.NotEqual(IntPtr.Zero, control.Handle); 282Assert.NotEqual(IntPtr.Zero, control.Handle); 370Assert.NotEqual(IntPtr.Zero, control.Handle); 526Assert.NotEqual(IntPtr.Zero, control.Handle); 560Assert.NotEqual(IntPtr.Zero, parent.Handle); 744Assert.NotEqual(IntPtr.Zero, control.Handle); 1182Assert.NotEqual(IntPtr.Zero, control.Handle); 1369Assert.NotEqual(IntPtr.Zero, control.Handle); 1579Assert.NotEqual(IntPtr.Zero, control.Handle); 1945Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ToolStripDropDownTests.cs (27)
273Assert.NotEqual(IntPtr.Zero, control.Handle); 302Assert.NotEqual(IntPtr.Zero, control.Handle); 437Assert.NotEqual(IntPtr.Zero, control.Handle); 486Assert.NotEqual(IntPtr.Zero, control.Handle); 530Assert.NotEqual(IntPtr.Zero, control.Handle); 1002Assert.NotEqual(IntPtr.Zero, control.Handle); 1404Assert.NotEqual(IntPtr.Zero, control.Handle); 1849Assert.NotEqual(IntPtr.Zero, control.Handle); 2074Assert.NotEqual(IntPtr.Zero, control.Handle); 2111Assert.NotEqual(IntPtr.Zero, control.Handle); 2152Assert.NotEqual(IntPtr.Zero, control.Handle); 2202Assert.NotEqual(IntPtr.Zero, control.Handle); 2257Assert.NotEqual(IntPtr.Zero, control.Handle); 2473Assert.NotEqual(IntPtr.Zero, control.Handle); 2596Assert.NotEqual(IntPtr.Zero, control.Handle); 2688Assert.NotEqual(IntPtr.Zero, control.Handle); 2784Assert.NotEqual(IntPtr.Zero, control.Handle); 2872Assert.NotEqual(IntPtr.Zero, control.Handle); 3769Assert.NotEqual(IntPtr.Zero, control.Handle); 3946Assert.NotEqual(IntPtr.Zero, control.Handle); 4008Assert.NotEqual(IntPtr.Zero, control.Handle); 4344Assert.NotEqual(IntPtr.Zero, control.Handle); 4395Assert.NotEqual(IntPtr.Zero, control.Handle); 4447Assert.NotEqual(IntPtr.Zero, control.Handle); 4513Assert.NotEqual(IntPtr.Zero, control.Handle); 4654Assert.NotEqual(IntPtr.Zero, control.Handle); 4851Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ToolStripItemTests.cs (93)
434Assert.NotEqual(IntPtr.Zero, parent.Handle); 518Assert.NotEqual(IntPtr.Zero, owner.Handle); 617Assert.NotEqual(IntPtr.Zero, owner.Handle); 688Assert.NotEqual(IntPtr.Zero, parent.Handle); 755Assert.NotEqual(IntPtr.Zero, parent.Handle); 943Assert.NotEqual(IntPtr.Zero, owner.Handle); 1042Assert.NotEqual(IntPtr.Zero, parent.Handle); 1309Assert.NotEqual(IntPtr.Zero, owner.Handle); 1435Assert.NotEqual(IntPtr.Zero, parent.Handle); 1615Assert.NotEqual(IntPtr.Zero, owner.Handle); 1674Assert.NotEqual(IntPtr.Zero, parent.Handle); 1817Assert.NotEqual(IntPtr.Zero, owner.Handle); 1878Assert.NotEqual(IntPtr.Zero, parent.Handle); 1946Assert.NotEqual(IntPtr.Zero, owner.Handle); 2003Assert.NotEqual(IntPtr.Zero, parent.Handle); 2179Assert.NotEqual(IntPtr.Zero, owner.Handle); 2255Assert.NotEqual(IntPtr.Zero, parent.Handle); 2716Assert.NotEqual(IntPtr.Zero, owner.Handle); 2863Assert.NotEqual(IntPtr.Zero, parent.Handle); 3052Assert.NotEqual(IntPtr.Zero, owner.Handle); 3139Assert.NotEqual(IntPtr.Zero, parent.Handle); 3305Assert.NotEqual(IntPtr.Zero, owner.Handle); 3367Assert.NotEqual(IntPtr.Zero, parent.Handle); 3521Assert.NotEqual(IntPtr.Zero, owner.Handle); 3619Assert.NotEqual(IntPtr.Zero, parent.Handle); 3949Assert.NotEqual(IntPtr.Zero, owner.Handle); 4042Assert.NotEqual(IntPtr.Zero, parent.Handle); 4249Assert.NotEqual(IntPtr.Zero, owner.Handle); 4333Assert.NotEqual(IntPtr.Zero, parent.Handle); 4554Assert.NotEqual(IntPtr.Zero, owner.Handle); 4688Assert.NotEqual(IntPtr.Zero, parent.Handle); 5054Assert.NotEqual(IntPtr.Zero, owner.Handle); 5182Assert.NotEqual(IntPtr.Zero, parent.Handle); 5469Assert.NotEqual(IntPtr.Zero, owner.Handle); 5553Assert.NotEqual(IntPtr.Zero, parent.Handle); 5686Assert.NotEqual(IntPtr.Zero, owner.Handle); 5753Assert.NotEqual(IntPtr.Zero, parent.Handle); 5960Assert.NotEqual(IntPtr.Zero, owner.Handle); 6051Assert.NotEqual(IntPtr.Zero, parent.Handle); 6298Assert.NotEqual(IntPtr.Zero, owner.Handle); 6390Assert.NotEqual(IntPtr.Zero, parent.Handle); 6789Assert.NotEqual(IntPtr.Zero, owner.Handle); 6873Assert.NotEqual(IntPtr.Zero, parent.Handle); 7229Assert.NotEqual(IntPtr.Zero, owner.Handle); 7332Assert.NotEqual(IntPtr.Zero, parent.Handle); 7533Assert.NotEqual(IntPtr.Zero, owner.Handle); 7633Assert.NotEqual(IntPtr.Zero, parent.Handle); 7898Assert.NotEqual(IntPtr.Zero, owner.Handle); 8000Assert.NotEqual(IntPtr.Zero, parent.Handle); 8130Assert.NotEqual(IntPtr.Zero, owner.Handle); 8215Assert.NotEqual(IntPtr.Zero, parent.Handle); 8365Assert.NotEqual(IntPtr.Zero, owner.Handle); 8449Assert.NotEqual(IntPtr.Zero, parent.Handle); 8635Assert.NotEqual(IntPtr.Zero, owner.Handle); 8725Assert.NotEqual(IntPtr.Zero, parent.Handle); 8888Assert.NotEqual(IntPtr.Zero, owner.Handle); 8972Assert.NotEqual(IntPtr.Zero, parent.Handle); 9359Assert.NotEqual(IntPtr.Zero, owner.Handle); 9485Assert.NotEqual(IntPtr.Zero, parent.Handle); 9688Assert.NotEqual(IntPtr.Zero, owner.Handle); 9786Assert.NotEqual(IntPtr.Zero, parent.Handle); 10401Assert.NotEqual(IntPtr.Zero, owner.Handle); 10447Assert.NotEqual(IntPtr.Zero, parent.Handle); 10512Assert.NotEqual(IntPtr.Zero, owner.Handle); 10560Assert.NotEqual(IntPtr.Zero, parent.Handle); 10669Assert.NotEqual(IntPtr.Zero, owner.Handle); 10743Assert.NotEqual(IntPtr.Zero, parent.Handle); 10817Assert.NotEqual(IntPtr.Zero, owner.Handle); 10882Assert.NotEqual(IntPtr.Zero, parent.Handle); 11208Assert.NotEqual(IntPtr.Zero, owner.Handle); 11287Assert.NotEqual(IntPtr.Zero, parent.Handle); 11405Assert.NotEqual(IntPtr.Zero, owner.Handle); 11487Assert.NotEqual(IntPtr.Zero, parent.Handle); 11584Assert.NotEqual(IntPtr.Zero, owner.Handle); 11658Assert.NotEqual(IntPtr.Zero, parent.Handle); 12323Assert.NotEqual(IntPtr.Zero, owner.Handle); 12425Assert.NotEqual(IntPtr.Zero, parent.Handle); 12794Assert.NotEqual(IntPtr.Zero, owner.Handle); 12900Assert.NotEqual(IntPtr.Zero, parent.Handle); 13030Assert.NotEqual(IntPtr.Zero, owner.Handle); 13136Assert.NotEqual(IntPtr.Zero, parent.Handle); 13312Assert.NotEqual(IntPtr.Zero, owner.Handle); 13378Assert.NotEqual(IntPtr.Zero, owner.Handle); 13444Assert.NotEqual(IntPtr.Zero, owner.Handle); 13548Assert.NotEqual(IntPtr.Zero, parent.Handle); 13797Assert.NotEqual(IntPtr.Zero, owner.Handle); 13902Assert.NotEqual(IntPtr.Zero, parent.Handle); 14380Assert.NotEqual(IntPtr.Zero, owner.Handle); 14469Assert.NotEqual(IntPtr.Zero, parent.Handle); 14630Assert.NotEqual(IntPtr.Zero, owner.Handle); 14758Assert.NotEqual(IntPtr.Zero, parent.Handle); 15021Assert.NotEqual(IntPtr.Zero, owner.Handle); 15147Assert.NotEqual(IntPtr.Zero, parent.Handle);
System\Windows\Forms\ToolStripSeparatorTests.cs (2)
978Assert.NotEqual(IntPtr.Zero, owner.Handle); 1053Assert.NotEqual(IntPtr.Zero, parent.Handle);
System\Windows\Forms\ToolStripTests.cs (33)
414Assert.NotEqual(IntPtr.Zero, control.Handle); 451Assert.NotEqual(IntPtr.Zero, control.Handle); 498Assert.NotEqual(IntPtr.Zero, control.Handle); 535Assert.NotEqual(IntPtr.Zero, control.Handle); 610Assert.NotEqual(IntPtr.Zero, control.Handle); 639Assert.NotEqual(IntPtr.Zero, control.Handle); 712Assert.NotEqual(IntPtr.Zero, control.Handle); 1226Assert.NotEqual(IntPtr.Zero, control.Handle); 2177Assert.NotEqual(IntPtr.Zero, control.Handle); 2825Assert.NotEqual(IntPtr.Zero, control.Handle); 3152Assert.NotEqual(IntPtr.Zero, control.Handle); 3679Assert.NotEqual(IntPtr.Zero, control.Handle); 3741Assert.NotEqual(IntPtr.Zero, control.Handle); 3851Assert.NotEqual(IntPtr.Zero, control.Handle); 3977Assert.NotEqual(IntPtr.Zero, control.Handle); 4042Assert.NotEqual(IntPtr.Zero, control.Handle); 4134Assert.NotEqual(IntPtr.Zero, control.Handle); 4990Assert.NotEqual(IntPtr.Zero, control.Handle); 5168Assert.NotEqual(IntPtr.Zero, control.Handle); 5211Assert.NotEqual(IntPtr.Zero, control.Handle); 5508Assert.NotEqual(IntPtr.Zero, control.Handle); 5557Assert.NotEqual(IntPtr.Zero, control.Handle); 5606Assert.NotEqual(IntPtr.Zero, control.Handle); 5658Assert.NotEqual(IntPtr.Zero, control.Handle); 6089Assert.NotEqual(IntPtr.Zero, control.Handle); 6190Assert.NotEqual(IntPtr.Zero, parent.Handle); 6265Assert.NotEqual(IntPtr.Zero, control.Handle); 6348Assert.NotEqual(IntPtr.Zero, control.Handle); 6628Assert.NotEqual(IntPtr.Zero, control.Handle); 6744Assert.NotEqual(IntPtr.Zero, control.Handle); 7047Assert.NotEqual(IntPtr.Zero, control.Handle); 7167Assert.NotEqual(IntPtr.Zero, control.Handle); 7195Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\ToolStripTests.Rendering.cs (2)
23Assert.NotEqual(IntPtr.Zero, form.Handle); 24Assert.NotEqual(IntPtr.Zero, toolStrip.Handle);
System\Windows\Forms\ToolTipBufferTests.cs (3)
26Assert.NotEqual(memory1, memory2); 41Assert.NotEqual(memory1, memory2); 58Assert.NotEqual(IntPtr.Zero, memory2);
System\Windows\Forms\ToolTipTests.cs (3)
792Assert.NotEqual(IntPtr.Zero, toolTip.Handle); // A workaround to create the toolTip native window Handle 846Assert.NotEqual(IntPtr.Zero, tabControl.InternalHandle); 889Assert.NotEqual(IntPtr.Zero, tabControl.InternalHandle);
System\Windows\Forms\TreeNodeTests.cs (94)
307Assert.NotEqual(IntPtr.Zero, control.Handle); 393Assert.NotEqual(IntPtr.Zero, control.Handle); 470Assert.NotEqual(IntPtr.Zero, control.Handle); 522Assert.NotEqual(IntPtr.Zero, control.Handle); 533Assert.NotEqual(IntPtr.Zero, control.Handle); 545Assert.NotEqual(IntPtr.Zero, control.Handle); 613Assert.NotEqual(IntPtr.Zero, control.Handle); 658Assert.NotEqual(IntPtr.Zero, control.Handle); 684Assert.NotEqual(IntPtr.Zero, control.Handle); 748Assert.NotEqual(IntPtr.Zero, control.Handle); 834Assert.NotEqual(IntPtr.Zero, control.Handle); 906Assert.NotEqual(IntPtr.Zero, handle); 927Assert.NotEqual(IntPtr.Zero, control.Handle); 951Assert.NotEqual(IntPtr.Zero, control.Handle); 954Assert.NotEqual(IntPtr.Zero, handle); 1150Assert.NotEqual(IntPtr.Zero, control.Handle); 1207Assert.NotEqual(IntPtr.Zero, control.Handle); 1234Assert.NotEqual(IntPtr.Zero, control.Handle); 1265Assert.NotEqual(IntPtr.Zero, control.Handle); 1286Assert.NotEqual(IntPtr.Zero, control.Handle); 1313Assert.NotEqual(IntPtr.Zero, control.Handle); 1441Assert.NotEqual(IntPtr.Zero, control.Handle); 1480Assert.NotEqual(IntPtr.Zero, control.Handle); 1510Assert.NotEqual(IntPtr.Zero, control.Handle); 1542Assert.NotEqual(IntPtr.Zero, control.Handle); 1560Assert.NotEqual(IntPtr.Zero, control.Handle); 1579Assert.NotEqual(IntPtr.Zero, control.Handle); 1603Assert.NotEqual(IntPtr.Zero, control.Handle); 1672Assert.NotEqual(IntPtr.Zero, control.Handle); 1707Assert.NotEqual(IntPtr.Zero, control.Handle); 1728Assert.NotEqual(IntPtr.Zero, control.Handle); 1752Assert.NotEqual(IntPtr.Zero, control.Handle); 1781Assert.NotEqual(IntPtr.Zero, control.Handle); 1800Assert.NotEqual(IntPtr.Zero, control.Handle); 1812Assert.NotEqual(IntPtr.Zero, control.Handle); 1836Assert.NotEqual(IntPtr.Zero, control.Handle); 1864Assert.NotEqual(IntPtr.Zero, control.Handle); 1882Assert.NotEqual(IntPtr.Zero, control.Handle); 1894Assert.NotEqual(IntPtr.Zero, control.Handle); 1918Assert.NotEqual(IntPtr.Zero, control.Handle); 1966Assert.NotEqual(IntPtr.Zero, control.Handle); 1977Assert.NotEqual(IntPtr.Zero, control.Handle); 1989Assert.NotEqual(IntPtr.Zero, control.Handle); 2013Assert.NotEqual(IntPtr.Zero, control.Handle); 2082Assert.NotEqual(IntPtr.Zero, control.Handle); 2132Assert.NotEqual(IntPtr.Zero, control.Handle); 2201Assert.NotEqual(IntPtr.Zero, control.Handle); 2236Assert.NotEqual(IntPtr.Zero, control.Handle); 2257Assert.NotEqual(IntPtr.Zero, control.Handle); 2318Assert.NotEqual(IntPtr.Zero, control.Handle); 2342Assert.NotEqual(IntPtr.Zero, control.Handle); 2372Assert.NotEqual(IntPtr.Zero, control.Handle); 2395Assert.NotEqual(IntPtr.Zero, m.LParam); 2421Assert.NotEqual(IntPtr.Zero, control.Handle); 2490Assert.NotEqual(IntPtr.Zero, control.Handle); 2525Assert.NotEqual(IntPtr.Zero, control.Handle); 2594Assert.NotEqual(IntPtr.Zero, control.Handle); 2629Assert.NotEqual(IntPtr.Zero, control.Handle); 2650Assert.NotEqual(IntPtr.Zero, control.Handle); 2711Assert.NotEqual(IntPtr.Zero, control.Handle); 2735Assert.NotEqual(IntPtr.Zero, control.Handle); 2765Assert.NotEqual(IntPtr.Zero, control.Handle); 2788Assert.NotEqual(IntPtr.Zero, m.LParam); 2843Assert.NotEqual(IntPtr.Zero, control.Handle); 2924Assert.NotEqual(IntPtr.Zero, control.Handle); 3132Assert.NotEqual(IntPtr.Zero, control.Handle); 3189Assert.NotEqual(IntPtr.Zero, control.Handle); 3218Assert.NotEqual(IntPtr.Zero, control.Handle); 3249Assert.NotEqual(IntPtr.Zero, control.Handle); 3270Assert.NotEqual(IntPtr.Zero, control.Handle); 3297Assert.NotEqual(IntPtr.Zero, control.Handle); 3425Assert.NotEqual(IntPtr.Zero, control.Handle); 3464Assert.NotEqual(IntPtr.Zero, control.Handle); 3494Assert.NotEqual(IntPtr.Zero, control.Handle); 3526Assert.NotEqual(IntPtr.Zero, control.Handle); 3544Assert.NotEqual(IntPtr.Zero, control.Handle); 3563Assert.NotEqual(IntPtr.Zero, control.Handle); 3799Assert.NotEqual(IntPtr.Zero, control.Handle); 3853Assert.NotEqual(IntPtr.Zero, control.Handle); 3883Assert.NotEqual(IntPtr.Zero, control.Handle); 3915Assert.NotEqual(IntPtr.Zero, control.Handle); 3944Assert.NotEqual(IntPtr.Zero, control.Handle); 3988Assert.NotEqual(IntPtr.Zero, control.Handle); 4177Assert.NotEqual(IntPtr.Zero, control.Handle); 4216Assert.NotEqual(IntPtr.Zero, control.Handle); 4254Assert.NotEqual(IntPtr.Zero, control.Handle); 4294Assert.NotEqual(IntPtr.Zero, control.Handle); 4316Assert.NotEqual(IntPtr.Zero, control.Handle); 4335Assert.NotEqual(IntPtr.Zero, control.Handle); 4413Assert.NotEqual(IntPtr.Zero, control.Handle); 4451Assert.NotEqual(IntPtr.Zero, control.Handle); 4474Assert.NotEqual(IntPtr.Zero, control.Handle); 4519Assert.NotEqual(IntPtr.Zero, control.Handle); 4588Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\TreeViewTests.cs (99)
157Assert.NotEqual(IntPtr.Zero, control.Handle); 454Assert.NotEqual(IntPtr.Zero, control.Handle); 487Assert.NotEqual(IntPtr.Zero, control.Handle); 579Assert.NotEqual(IntPtr.Zero, control.Handle); 640Assert.NotEqual(IntPtr.Zero, control.Handle); 730Assert.NotEqual(IntPtr.Zero, control.Handle); 997Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1058Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1146Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1199Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1287Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1336Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1420Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1486Assert.NotEqual(IntPtr.Zero, control.Handle); 1555Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1643Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1677Assert.NotEqual(IntPtr.Zero, control.Handle); 1698Assert.NotEqual(IntPtr.Zero, control.Handle); 1752Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1840Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1893Assert.NotEqual(IntPtr.Zero, treeView.Handle); 1981Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2150Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2174Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2200Assert.NotEqual(IntPtr.Zero, imageList.Handle); 2359Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2380Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2403Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2495Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2513Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2532Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2550Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2589Assert.NotEqual(IntPtr.Zero, imageList.Handle); 2601Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2602Assert.NotEqual(IntPtr.Zero, imageList.Handle); 2614Assert.NotEqual(IntPtr.Zero, imageList.Handle); 2617Assert.NotEqual(IntPtr.Zero, imageList.Handle); 2629Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2630Assert.NotEqual(IntPtr.Zero, imageList.Handle); 2633Assert.NotEqual(IntPtr.Zero, imageList.Handle); 2668Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2765Assert.NotEqual(IntPtr.Zero, control.Handle); 2837Assert.NotEqual(IntPtr.Zero, treeView.Handle); 2925Assert.NotEqual(IntPtr.Zero, treeView.Handle); 3006Assert.NotEqual(IntPtr.Zero, control.Handle); 3120Assert.NotEqual(IntPtr.Zero, control.Handle); 3208Assert.NotEqual(IntPtr.Zero, control.Handle); 3253Assert.NotEqual(IntPtr.Zero, treeView.Handle); 3341Assert.NotEqual(IntPtr.Zero, treeView.Handle); 3510Assert.NotEqual(IntPtr.Zero, treeView.Handle); 3534Assert.NotEqual(IntPtr.Zero, treeView.Handle); 3560Assert.NotEqual(IntPtr.Zero, imageList.Handle); 3709Assert.NotEqual(IntPtr.Zero, treeView.Handle); 3730Assert.NotEqual(IntPtr.Zero, treeView.Handle); 3753Assert.NotEqual(IntPtr.Zero, treeView.Handle); 3789Assert.NotEqual(IntPtr.Zero, treeView.Handle); 3877Assert.NotEqual(IntPtr.Zero, treeView.Handle); 3930Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4018Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4071Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4159Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4212Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4300Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4353Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4441Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4508Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4527Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4566Assert.NotEqual(IntPtr.Zero, imageList.Handle); 4578Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4579Assert.NotEqual(IntPtr.Zero, imageList.Handle); 4591Assert.NotEqual(IntPtr.Zero, imageList.Handle); 4594Assert.NotEqual(IntPtr.Zero, imageList.Handle); 4606Assert.NotEqual(IntPtr.Zero, treeView.Handle); 4607Assert.NotEqual(IntPtr.Zero, imageList.Handle); 4610Assert.NotEqual(IntPtr.Zero, imageList.Handle); 4635Assert.NotEqual(IntPtr.Zero, control.Handle); 4835Assert.NotEqual(IntPtr.Zero, control.Handle); 4864Assert.NotEqual(IntPtr.Zero, control.Handle); 4893Assert.NotEqual(IntPtr.Zero, control.Handle); 4963Assert.NotEqual(IntPtr.Zero, control.Handle); 4992Assert.NotEqual(IntPtr.Zero, control.Handle); 5021Assert.NotEqual(IntPtr.Zero, control.Handle); 5171Assert.NotEqual(IntPtr.Zero, control.Handle); 5204Assert.NotEqual(IntPtr.Zero, control.Handle); 5237Assert.NotEqual(IntPtr.Zero, control.Handle); 5323Assert.NotEqual(IntPtr.Zero, control.Handle); 5356Assert.NotEqual(IntPtr.Zero, control.Handle); 5389Assert.NotEqual(IntPtr.Zero, control.Handle); 5975Assert.NotEqual(IntPtr.Zero, control.Handle); 6031Assert.NotEqual(IntPtr.Zero, control.Handle); 6112Assert.NotEqual(IntPtr.Zero, control.Handle); 6193Assert.NotEqual(IntPtr.Zero, control.Handle); 6225Assert.NotEqual(IntPtr.Zero, control.Handle); 6258Assert.NotEqual(IntPtr.Zero, imageList.Handle); 6264Assert.NotEqual(IntPtr.Zero, control.Handle); 6348Assert.NotEqual(IntPtr.Zero, control.Handle); 6557Assert.NotEqual(IntPtr.Zero, control.Handle); 6598Assert.NotEqual(IntPtr.Zero, control.Handle); 6819Assert.NotEqual(IntPtr.Zero, toolTip.Handle); // A workaround to create the toolTip native window Handle
System\Windows\Forms\UpDownBaseTests.cs (24)
233Assert.NotEqual(IntPtr.Zero, control.Handle); 324Assert.NotEqual(IntPtr.Zero, control.Handle); 409Assert.NotEqual(IntPtr.Zero, control.Handle); 541Assert.NotEqual(IntPtr.Zero, control.Handle); 773Assert.NotEqual(IntPtr.Zero, control.Handle); 836Assert.NotEqual(IntPtr.Zero, control.Handle); 964Assert.NotEqual(IntPtr.Zero, control.Handle); 1050Assert.NotEqual(IntPtr.Zero, control.Handle); 1197Assert.NotEqual(IntPtr.Zero, control.Handle); 1305Assert.NotEqual(IntPtr.Zero, control.Handle); 1395Assert.NotEqual(IntPtr.Zero, control.Handle); 1479Assert.NotEqual(IntPtr.Zero, control.Handle); 1538Assert.NotEqual(IntPtr.Zero, control.Handle); 1741Assert.NotEqual(IntPtr.Zero, control.Handle); 1871Assert.NotEqual(IntPtr.Zero, control.Handle); 1929Assert.NotEqual(IntPtr.Zero, control.Handle); 1990Assert.NotEqual(0, callCount); 1996Assert.NotEqual(0, callCount); 2292Assert.NotEqual(IntPtr.Zero, control.Handle); 2641Assert.NotEqual(IntPtr.Zero, control.Handle); 2831Assert.NotEqual(IntPtr.Zero, control.Handle); 2877Assert.NotEqual(IntPtr.Zero, control.Handle); 2930Assert.NotEqual(IntPtr.Zero, control.Handle); 2985Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\UserControlTests.cs (11)
487Assert.NotEqual(IntPtr.Zero, control.Handle); 535Assert.NotEqual(IntPtr.Zero, parent.Handle); 608Assert.NotEqual(IntPtr.Zero, parent.Handle); 759Assert.NotEqual(IntPtr.Zero, control.Handle); 813Assert.NotEqual(IntPtr.Zero, control.Handle); 1020Assert.NotEqual(IntPtr.Zero, control.Handle); 1159Assert.NotEqual(IntPtr.Zero, control.Handle); 1213Assert.NotEqual(IntPtr.Zero, control.Handle); 1688Assert.NotEqual(IntPtr.Zero, control.Handle); 1725Assert.NotEqual(IntPtr.Zero, control.Handle); 1756Assert.NotEqual(IntPtr.Zero, control.Handle);
System\Windows\Forms\VisualStyles\VisualStyleInformationTests.cs (8)
35Assert.NotEqual(scheme, VisualStyleInformation.Size); 36Assert.NotEqual(scheme, VisualStyleInformation.Version); 55Assert.NotEqual(Color.Empty, color); 124Assert.NotEqual(size, VisualStyleInformation.ColorScheme); 125Assert.NotEqual(size, VisualStyleInformation.Version); 142Assert.NotEqual(Color.Empty, color); 170Assert.NotEqual(version, VisualStyleInformation.ColorScheme); 171Assert.NotEqual(version, VisualStyleInformation.Size);
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (5)
33Assert.NotEqual(IntPtr.Zero, renderer.Handle); 67Assert.NotEqual(IntPtr.Zero, renderer.Handle); 382Assert.NotEqual(IntPtr.Zero, childControl.Handle); 521Assert.NotEqual(IntPtr.Zero, renderer.Handle); 542Assert.NotEqual(IntPtr.Zero, renderer.Handle);
System\Windows\Forms\WebBrowserTests.cs (11)
126Assert.NotEqual(IntPtr.Zero, control.Handle); 1079Assert.NotEqual(IntPtr.Zero, control.Handle); 1336Assert.NotEqual(IntPtr.Zero, control.Handle); 1480Assert.NotEqual(IntPtr.Zero, control.Handle); 1502Assert.NotEqual(IntPtr.Zero, control.Handle); 1520Assert.NotEqual(IntPtr.Zero, parent.Handle); 2177Assert.NotEqual(IntPtr.Zero, control.Handle); 2195Assert.NotEqual(IntPtr.Zero, control.Handle); 4457Assert.NotEqual(IntPtr.Zero, control.Handle); 4573Assert.NotEqual(IntPtr.Zero, control.Handle); 4623Assert.NotEqual(IntPtr.Zero, control.Handle);
TextBoxBaseTests.cs (92)
624Assert.NotEqual(IntPtr.Zero, control.Handle); 695Assert.NotEqual(IntPtr.Zero, control.Handle); 724Assert.NotEqual(IntPtr.Zero, control.Handle); 832Assert.NotEqual(IntPtr.Zero, control.Handle); 966Assert.NotEqual(IntPtr.Zero, control.Handle); 1003Assert.NotEqual(IntPtr.Zero, control.Handle); 1050Assert.NotEqual(IntPtr.Zero, control.Handle); 1089Assert.NotEqual(IntPtr.Zero, control.Handle); 1199Assert.NotEqual(IntPtr.Zero, control.Handle); 1285Assert.NotEqual(IntPtr.Zero, control.Handle); 1301Assert.NotEqual(IntPtr.Zero, control.Handle); 1333Assert.NotEqual(IntPtr.Zero, control.Handle); 1524Assert.NotEqual(IntPtr.Zero, control.Handle); 1657Assert.NotEqual(IntPtr.Zero, control.Handle); 1723Assert.NotEqual(IntPtr.Zero, control.Handle); 1751Assert.NotEqual(IntPtr.Zero, control.Handle); 1779Assert.NotEqual(IntPtr.Zero, control.Handle); 1795Assert.NotEqual(IntPtr.Zero, control.Handle); 1856Assert.NotEqual(IntPtr.Zero, control.Handle); 1895Assert.NotEqual(IntPtr.Zero, control.Handle); 2118Assert.NotEqual(IntPtr.Zero, control.Handle); 2212Assert.NotEqual(IntPtr.Zero, control.Handle); 2297Assert.NotEqual(IntPtr.Zero, control.Handle); 2363Assert.NotEqual(IntPtr.Zero, control.Handle); 2401Assert.NotEqual(IntPtr.Zero, control.Handle); 2540Assert.NotEqual(IntPtr.Zero, control.Handle); 2710Assert.NotEqual(IntPtr.Zero, control.Handle); 2760Assert.NotEqual(IntPtr.Zero, control.Handle); 2868Assert.NotEqual(IntPtr.Zero, control.Handle); 2910Assert.NotEqual(IntPtr.Zero, control.Handle); 2936Assert.NotEqual(IntPtr.Zero, control.Handle); 3045Assert.NotEqual(IntPtr.Zero, control.Handle); 3087Assert.NotEqual(IntPtr.Zero, control.Handle); 3174Assert.NotEqual(IntPtr.Zero, control.Handle); 3330Assert.NotEqual(IntPtr.Zero, control.Handle); 3374Assert.NotEqual(IntPtr.Zero, control.Handle); 3439Assert.NotEqual(IntPtr.Zero, control.Handle); 3514Assert.NotEqual(IntPtr.Zero, control.Handle); 3617Assert.NotEqual(IntPtr.Zero, control.Handle); 3662Assert.NotEqual(IntPtr.Zero, control.Handle); 3824Assert.NotEqual(IntPtr.Zero, control.Handle); 3959Assert.NotEqual(IntPtr.Zero, control.Handle); 3988Assert.NotEqual(IntPtr.Zero, control.Handle); 4041Assert.NotEqual(IntPtr.Zero, control.Handle); 4071Assert.NotEqual(IntPtr.Zero, control.Handle); 4111Assert.NotEqual(IntPtr.Zero, control.Handle); 4141Assert.NotEqual(IntPtr.Zero, control.Handle); 4186Assert.NotEqual(IntPtr.Zero, control.Handle); 4268Assert.NotEqual('\0', control.GetCharFromPosition(new Point(10, 2))); 4297Assert.NotEqual(IntPtr.Zero, control.Handle); 4319Assert.NotEqual(IntPtr.Zero, control.Handle); 4327Assert.NotEqual('\0', control.GetCharFromPosition(new Point(10, 2))); 4342Assert.NotEqual(IntPtr.Zero, control.Handle); 4411Assert.NotEqual(IntPtr.Zero, control.Handle); 4433Assert.NotEqual(IntPtr.Zero, control.Handle); 4457Assert.NotEqual(IntPtr.Zero, control.Handle); 4499Assert.NotEqual(IntPtr.Zero, control.Handle); 4548Assert.NotEqual(IntPtr.Zero, control.Handle); 4569Assert.NotEqual(IntPtr.Zero, control.Handle); 4603Assert.NotEqual(IntPtr.Zero, control.Handle); 4637Assert.NotEqual(IntPtr.Zero, control.Handle); 4659Assert.NotEqual(IntPtr.Zero, control.Handle); 4693Assert.NotEqual(IntPtr.Zero, control.Handle); 4811Assert.NotEqual(IntPtr.Zero, control.Handle); 4882Assert.NotEqual(IntPtr.Zero, control.Handle); 4908Assert.NotEqual(IntPtr.Zero, control.Handle); 4935Assert.NotEqual(IntPtr.Zero, control.Handle); 4968Assert.NotEqual(IntPtr.Zero, control.Handle); 5262Assert.NotEqual(IntPtr.Zero, control.Handle); 5398Assert.NotEqual(IntPtr.Zero, control.Handle); 5468Assert.NotEqual(IntPtr.Zero, control.Handle); 5635Assert.NotEqual(IntPtr.Zero, control.Handle); 6101Assert.NotEqual(IntPtr.Zero, control.Handle); 6123Assert.NotEqual(IntPtr.Zero, control.Handle); 6154Assert.NotEqual(IntPtr.Zero, control.Handle); 6180Assert.NotEqual(IntPtr.Zero, control.Handle); 6253Assert.NotEqual(IntPtr.Zero, control.Handle); 6295Assert.NotEqual(IntPtr.Zero, control.Handle); 6360Assert.NotEqual(IntPtr.Zero, control.Handle); 6395Assert.NotEqual(IntPtr.Zero, control.Handle); 6431Assert.NotEqual(IntPtr.Zero, control.Handle); 6885Assert.NotEqual(IntPtr.Zero, control.Handle); 6912Assert.NotEqual(IntPtr.Zero, control.Handle); 7029Assert.NotEqual(IntPtr.Zero, control.Handle); 7085Assert.NotEqual(IntPtr.Zero, control.Handle); 7144Assert.NotEqual(IntPtr.Zero, control.Handle); 7362Assert.NotEqual(IntPtr.Zero, control.Handle); 7406Assert.NotEqual(IntPtr.Zero, control.Handle); 7458Assert.NotEqual(IntPtr.Zero, control.Handle); 7488Assert.NotEqual(IntPtr.Zero, control.Handle); 7565Assert.NotEqual(IntPtr.Zero, control.Handle); 7640Assert.NotEqual(IntPtr.Zero, control.Handle);
TextBoxTests.cs (6)
162Assert.NotEqual(IntPtr.Zero, control.Handle); 200Assert.NotEqual(IntPtr.Zero, control.Handle); 238Assert.NotEqual(IntPtr.Zero, control.Handle); 311Assert.NotEqual(IntPtr.Zero, control.Handle); 563Assert.NotEqual(IntPtr.Zero, control.Handle); 633Assert.NotEqual(IntPtr.Zero, control.Handle);
TextBoxTests.Rendering.cs (2)
26Assert.NotEqual(IntPtr.Zero, form.Handle); 27Assert.NotEqual(IntPtr.Zero, textBox.Handle);
TrackBarTests.cs (36)
296Assert.NotEqual(IntPtr.Zero, control.Handle); 350Assert.NotEqual(IntPtr.Zero, control.Handle); 586Assert.NotEqual(IntPtr.Zero, control.Handle); 713Assert.NotEqual(IntPtr.Zero, control.Handle); 779Assert.NotEqual(IntPtr.Zero, control.Handle); 790Assert.NotEqual(IntPtr.Zero, control.Handle); 809Assert.NotEqual(IntPtr.Zero, control.Handle); 821Assert.NotEqual(IntPtr.Zero, control.Handle); 832Assert.NotEqual(IntPtr.Zero, control.Handle); 843Assert.NotEqual(IntPtr.Zero, control.Handle); 864Assert.NotEqual(IntPtr.Zero, control.Handle); 908Assert.NotEqual(IntPtr.Zero, control.Handle); 1003Assert.NotEqual(IntPtr.Zero, control.Handle); 1073Assert.NotEqual(IntPtr.Zero, control.Handle); 1136Assert.NotEqual(IntPtr.Zero, control.Handle); 1212Assert.NotEqual(IntPtr.Zero, control.Handle); 1274Assert.NotEqual(IntPtr.Zero, control.Handle); 1379Assert.NotEqual(IntPtr.Zero, control.Handle); 1426Assert.NotEqual(IntPtr.Zero, control.Handle); 1486Assert.NotEqual(IntPtr.Zero, control.Handle); 1600Assert.NotEqual(IntPtr.Zero, control.Handle); 1688Assert.NotEqual(IntPtr.Zero, control.Handle); 1737Assert.NotEqual(IntPtr.Zero, control.Handle); 1793Assert.NotEqual(IntPtr.Zero, control.Handle); 1882Assert.NotEqual(IntPtr.Zero, control.Handle); 1931Assert.NotEqual(IntPtr.Zero, control.Handle); 2118Assert.NotEqual(IntPtr.Zero, control.Handle); 2214Assert.NotEqual(IntPtr.Zero, control.Handle); 2354Assert.NotEqual(IntPtr.Zero, control.Handle); 2468Assert.NotEqual(IntPtr.Zero, control.Handle); 2660Assert.NotEqual(IntPtr.Zero, control.Handle); 2701Assert.NotEqual(IntPtr.Zero, control.Handle); 2776Assert.NotEqual(IntPtr.Zero, control.Handle); 3087Assert.NotEqual(IntPtr.Zero, control.Handle); 3119Assert.NotEqual(IntPtr.Zero, control.Handle); 3185Assert.NotEqual(IntPtr.Zero, control.Handle);
WebBrowserBaseTests.cs (2)
182Assert.NotEqual(IntPtr.Zero, control.Handle); 686Assert.NotEqual(IntPtr.Zero, control.Handle);
System.Windows.Forms.UI.IntegrationTests (14)
AnchorLayoutTests.cs (2)
227Assert.NotEqual(bounds, button.Bounds); // Bounds Specified is None. 231Assert.NotEqual(bounds, button.Bounds);
Dpi\FormDpiTests.cs (6)
41Assert.NotEqual(initialBounds.Width, form.Bounds.Width); 42Assert.NotEqual(initialBounds.Height, form.Bounds.Height); 43Assert.NotEqual(initialFontSize, form.Font.Size); 112Assert.NotEqual(form.MinimumSize, minSize); 113Assert.NotEqual(form.MaximumSize, maxSize); 149Assert.NotEqual(form.Size, nonLinearSize);
Dpi\SplitContainerTests.cs (2)
65Assert.NotEqual(90, splitContainer.SplitterDistance); 66Assert.NotEqual(2, splitContainer.SplitterWidth);
MonthCalendarTests.cs (4)
97Assert.NotEqual(0, callDateSelectedCount); 98Assert.NotEqual(0, callDateChangedCount); 119Assert.NotEqual(0, callDateSelectedCount); 120Assert.NotEqual(0, callDateChangedCount);
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\E2ETesting\WaitAssert.cs (1)
30=> WaitAssertCore(driver, () => Assert.NotEqual(expected, actual()));
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\E2ETesting\WaitAssert.cs (1)
30=> WaitAssertCore(driver, () => Assert.NotEqual(expected, actual()));
Templates.Mvc.Tests (1)
src\Shared\E2ETesting\WaitAssert.cs (1)
30=> WaitAssertCore(driver, () => Assert.NotEqual(expected, actual()));
Templates.Tests (1)
src\Shared\E2ETesting\WaitAssert.cs (1)
30=> WaitAssertCore(driver, () => Assert.NotEqual(expected, actual()));
VBCSCompiler.UnitTests (1)
CompilerServerTests.cs (1)
454Assert.NotEqual(ProcessorArchitecture.X86,
xunit.assert (2)
EqualityAsserts.cs (2)
588 NotEqual<object>(expected, actual); 592 NotEqual<object>(expected, actual);