22052 references to False
Aspire.Azure.Security.KeyVault.Tests (2)
ConfigurationTests.cs (2)
16=> Assert.False(new AzureSecurityKeyVaultSettings().DisableHealthChecks); 20=> Assert.False(new AzureSecurityKeyVaultSettings().DisableTracing);
Aspire.Dashboard.Components.Tests (13)
Controls\ResourceDetailsTests.cs (10)
61Assert.False(e.IsValueMasked); 66Assert.False(e.IsValueMasked); 87Assert.False(e.IsValueMasked); 92Assert.False(e.IsValueMasked); 97Assert.False(e.IsValueMasked); 144Assert.False(e.IsValueMasked); 149Assert.False(e.IsValueMasked); 227Assert.False(e.IsValueMasked); 253Assert.False(e.IsValueMasked); 310Assert.False(e.IsValueMasked);
GridColumnManagerTests.cs (3)
67Assert.False(manager.IsColumnVisible("NoDesktop")); 70Assert.False(manager.IsColumnVisible("NoMobile")); 74Assert.False(manager.IsColumnVisible("NoDesktopWithIsVisibleFalse"));
Aspire.Dashboard.Tests (59)
BrowserLinkOutgoingPeerResolverTests.cs (9)
18Assert.False(TryResolvePeerName(resolver, [], out _)); 28Assert.False(TryResolvePeerName(resolver, [KeyValuePair.Create("http.url", "")], out _)); 38Assert.False(TryResolvePeerName(resolver, [KeyValuePair.Create<string, string>("http.url", null!)], out _)); 50Assert.False(TryResolvePeerName(resolver, [KeyValuePair.Create("http.url", "/6eed7c2dedc14419901b813e8fe87a86/getScriptTag")], out _)); 60Assert.False(TryResolvePeerName(resolver, [KeyValuePair.Create("http.url", "http://dummy:59267/6eed7c2dedc14419901b813e8fe87a86/getScriptTag")], out _)); 70Assert.False(TryResolvePeerName(resolver, [KeyValuePair.Create("http.url", "http://localhost:59267/getScriptTag")], out _)); 80Assert.False(TryResolvePeerName(resolver, [KeyValuePair.Create("http.url", "ht$tp://localhost:59267/6eed7c2dedc14419901b813e8fe87a86/getScriptTag")], out _)); 90Assert.False(TryResolvePeerName(resolver, [KeyValuePair.Create("http.url", "http://localhost:59267/")], out _)); 100Assert.False(TryResolvePeerName(resolver, [KeyValuePair.Create("http.url", "http://localhost:59267/not-a-guid/getScriptTag")], out _));
ConsoleLogsTests\TimestampParserTests.cs (1)
20Assert.False(result);
ConsoleLogsTests\UrlParserTests.cs (2)
21Assert.False(result); 60Assert.False(result);
DashboardOptionsTests.cs (17)
49Assert.False(result.Succeeded); 61Assert.False(result.Succeeded); 73Assert.False(result.Succeeded); 87Assert.False(result.Succeeded); 103Assert.False(result.Succeeded); 117Assert.False(result.Succeeded); 132Assert.False(result.Succeeded); 147Assert.False(result.Succeeded); 161Assert.False(result.Succeeded); 175Assert.False(result.Succeeded); 188Assert.False(result.Succeeded); 201Assert.False(result.Succeeded); 218Assert.False(result.Succeeded); 232Assert.False(result.Succeeded); 244Assert.False(result.Succeeded); 261Assert.False(result.Succeeded); 274Assert.False(result.Succeeded);
Integration\OtlpCorsHttpServiceTests.cs (3)
105Assert.False(responseMessage.Headers.Contains("Access-Control-Allow-Origin")); 106Assert.False(responseMessage.Headers.Contains("Access-Control-Allow-Methods")); 107Assert.False(responseMessage.Headers.Contains("Access-Control-Allow-Headers"));
Integration\OtlpHttpServiceTests.cs (5)
54Assert.False(responseMessage.Headers.Contains("content-security-policy")); 180Assert.False(responseMessage.Headers.Contains("content-security-policy")); 295Assert.False(responseMessage.Headers.Contains("content-security-policy")); 324Assert.False(responseMessage.Headers.Contains("content-security-policy")); 353Assert.False(responseMessage.Headers.Contains("content-security-policy"));
Integration\StartupTests.cs (3)
51Assert.False(a().IsHttps); 84Assert.False(a().IsHttps); 413Assert.False(responseMessage.Headers.Contains("content-security-policy"));
LocalBrowserStorageTests.cs (2)
90Assert.False(result.Success); 115Assert.False(result.Success);
Model\DashboardClientTests.cs (1)
139Assert.False(subscribeTask.IsCompleted);
Model\ResourceViewModelTests.cs (2)
110Assert.False(p.Value.IsValueMasked); 111Assert.False(p.Value.IsValueSensitive);
Model\TargetLocationInterceptorTests.cs (3)
42Assert.False(TargetLocationInterceptor.InterceptTargetLocation("http://localhost", TargetLocationInterceptor.StructuredLogsPath, out _)); 48Assert.False(TargetLocationInterceptor.InterceptTargetLocation("http://localhost", "http://localhost:8888/", out _)); 54Assert.False(TargetLocationInterceptor.InterceptTargetLocation("http://localhost/", "http://localhost:8888/", out _));
ResourceOutgoingPeerResolverTests.cs (4)
33Assert.False(TryResolvePeerName(resources, [], out _)); 46Assert.False(TryResolvePeerName(resources, [KeyValuePair.Create("peer.service", "")], out _)); 59Assert.False(TryResolvePeerName(resources, [KeyValuePair.Create<string, string>("peer.service", null!)], out _)); 134Assert.False(resultChannel.Reader.TryRead(out readValue));
TelemetryRepositoryTests\ApplicationKeyTests.cs (1)
43Assert.False(result);
TelemetryRepositoryTests\LogTests.cs (6)
259Assert.False(unviewedCounts2.TryGetValue(new ApplicationKey("TestService", "1"), out _)); 268Assert.False(unviewedCounts3.TryGetValue(new ApplicationKey("TestService", "1"), out _)); 269Assert.False(unviewedCounts3.TryGetValue(new ApplicationKey("TestService", "2"), out _)); 320Assert.False(unviewedCounts.TryGetValue(new ApplicationKey("TestService", "1"), out _)); 321Assert.False(unviewedCounts.TryGetValue(new ApplicationKey("TestService", "2"), out _)); 372Assert.False(unviewedCounts.TryGetValue(new ApplicationKey("TestService", "1"), out _));
Aspire.Elastic.Clients.Elasticsearch.Tests (2)
ConfigurationTests.cs (2)
16Assert.False(new ElasticClientsElasticsearchSettings().DisableHealthChecks); 20Assert.False(new ElasticClientsElasticsearchSettings().DisableTracing);
Aspire.Hosting.Azure.Tests (6)
AzureEventHubsExtensionsTests.cs (4)
113Assert.False(volumeAnnotation.IsReadOnly); 130Assert.False(volumeAnnotation.IsReadOnly); 147Assert.False(volumeAnnotation.IsReadOnly); 164Assert.False(volumeAnnotation.IsReadOnly);
AzureFunctionsTests.cs (2)
39Assert.False(endpointAnnotation.IsProxied); 68Assert.False(endpointAnnotation.IsProxied);
Aspire.Hosting.Elasticsearch.Tests (5)
AddElasticsearchTests.cs (5)
34Assert.False(primaryEndpoint.IsExternal); 43Assert.False(internalEndpoint.IsExternal); 71Assert.False(string.IsNullOrEmpty(env.Value)); 96Assert.False(primaryEndpoint.IsExternal); 105Assert.False(internalEndpoint.IsExternal);
Aspire.Hosting.Garnet.Tests (2)
AddGarnetTests.cs (2)
29Assert.False(endpoint.IsExternal); 57Assert.False(endpoint.IsExternal);
Aspire.Hosting.Kafka.Tests (2)
AddKafkaTests.cs (2)
33Assert.False(primaryEndpoint.IsExternal); 42Assert.False(internalEndpoint.IsExternal);
Aspire.Hosting.Keycloak.Tests (3)
KeycloakResourceBuilderTests.cs (3)
31Assert.False(endpoint.IsExternal); 58Assert.False(volumeAnnotation.IsReadOnly); 73Assert.False(volumeAnnotation.IsReadOnly);
Aspire.Hosting.Milvus.Tests (3)
AddMilvusTests.cs (3)
41Assert.False(endpoint.IsExternal); 72Assert.False(endpoint.IsExternal); 200Assert.False(grpcEndpoint.IsExternal);
Aspire.Hosting.MongoDB.Tests (2)
AddMongoDBTests.cs (2)
31Assert.False(endpoint.IsExternal); 59Assert.False(endpoint.IsExternal);
Aspire.Hosting.MySql.Tests (4)
AddMySqlTests.cs (3)
56Assert.False(endpoint.IsExternal); 69Assert.False(string.IsNullOrEmpty(env.Value)); 96Assert.False(endpoint.IsExternal);
MySqlFunctionalTests.cs (1)
370Assert.False(await results.ReadAsync(token));
Aspire.Hosting.Nats.Tests (4)
AddNatsTests.cs (4)
43Assert.False(string.IsNullOrEmpty(nats.Resource.PasswordParameter!.Value)); 101Assert.False(endpoint.IsExternal); 119arg => Assert.False(string.IsNullOrEmpty(arg)) 147Assert.False(endpoint.IsExternal);
Aspire.Hosting.Oracle.Tests (4)
AddOracleTests.cs (4)
55Assert.False(endpoint.IsExternal); 68Assert.False(string.IsNullOrEmpty(env.Value)); 95Assert.False(endpoint.IsExternal); 178Assert.False(endpoint.IsExternal);
Aspire.Hosting.PostgreSQL.Tests (6)
AddPostgresTests.cs (4)
65Assert.False(endpoint.IsExternal); 93Assert.False(string.IsNullOrEmpty(env.Value)); 120Assert.False(endpoint.IsExternal); 212Assert.False(endpoint.IsExternal);
PostgresFunctionalTests.cs (2)
320Assert.False(await results.ReadAsync(token)); 420Assert.False(await results.ReadAsync(token));
Aspire.Hosting.Qdrant.Tests (6)
AddQdrantTests.cs (6)
60Assert.False(endpoint.IsExternal); 73Assert.False(string.IsNullOrEmpty(env.Value)); 100Assert.False(endpoint.IsExternal); 133Assert.False(endpoint.IsExternal); 296Assert.False(grpcEndpoint.IsExternal); 304Assert.False(httpEndpoint.IsExternal);
Aspire.Hosting.RabbitMQ.Tests (2)
AddRabbitMQTests.cs (2)
58Assert.False(primaryEndpoint.IsExternal); 69Assert.False(primaryEndpoint.IsExternal);
Aspire.Hosting.Redis.Tests (5)
AddRedisTests.cs (2)
38Assert.False(endpoint.IsExternal); 66Assert.False(endpoint.IsExternal);
RedisFunctionalTests.cs (3)
675Assert.False(agreements["analytics"]!.GetValue<bool>()); 676Assert.False(agreements["notifications"]!.GetValue<bool>()); 677Assert.False(agreements["encryption"]!.GetValue<bool>());
Aspire.Hosting.SqlServer.Tests (2)
AddSqlServerTests.cs (1)
51Assert.False(endpoint.IsExternal);
SqlServerFunctionalTests.cs (1)
293Assert.False(await results.ReadAsync(cts.Token));
Aspire.Hosting.Tests (54)
AsHttp2ServiceTests.cs (1)
30Assert.False(endpointsForAllServices.Any());
Codespaces\CodespacesUrlRewriterTests.cs (1)
98Assert.False(u.IsInternal);
Dashboard\ResourcePublisherTests.cs (1)
168Assert.False(called);
Dcp\ApplicationExecutorTests.cs (16)
130Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 162Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 194Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 227Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 283Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 317Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 351Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 490Assert.False(logLine.IsErrorMessage); 516Assert.False(watchSubscribersEnumerator.Current.AnySubscribers); 682Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 727Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 762Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 797Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 877Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 913Assert.False(string.IsNullOrWhiteSpace(envVarVal)); 950Assert.False(string.IsNullOrWhiteSpace(envVarVal));
DistributedApplicationBuilderTests.cs (1)
112Assert.False(string.IsNullOrEmpty(config["AppHost:ResourceService:ApiKey"]));
DistributedApplicationTests.cs (2)
379Assert.False(string.IsNullOrEmpty(serviceAPortValue)); 384Assert.False(string.IsNullOrEmpty(nodeAppPortValue));
KestrelConfigTests.cs (2)
44Assert.False(config.ContainsKey("ASPNETCORE_URLS")); 85Assert.False(config.ContainsKey("Kestrel__Endpoints__http__Url"));
ProjectResourceTests.cs (5)
320Assert.False(config.ContainsKey("ASPNETCORE_URLS")); 321Assert.False(config.ContainsKey("ASPNETCORE_HTTPS_PORT")); 385Assert.False(config.ContainsKey("ASPNETCORE_URLS")); 386Assert.False(config.ContainsKey("ASPNETCORE_HTTPS_PORT")); 411Assert.False(config.ContainsKey("ASPNETCORE_HTTPS_PORT"));
ResourceExtensionsTests.cs (11)
18Assert.False(parent.Resource.HasAnnotationOfType<DummyAnnotation>()); 19Assert.False(parent.Resource.TryGetAnnotationsOfType<DummyAnnotation>(out var annotations)); 30Assert.False(parent.Resource.HasAnnotationOfType<DummyAnnotation>()); 31Assert.False(parent.Resource.TryGetAnnotationsOfType<DummyAnnotation>(out var annotations)); 65Assert.False(parent.Resource.HasAnnotationIncludingAncestorsOfType<DummyAnnotation>()); 66Assert.False(parent.Resource.TryGetAnnotationsIncludingAncestorsOfType<DummyAnnotation>(out var annotations)); 77Assert.False(parent.Resource.HasAnnotationIncludingAncestorsOfType<DummyAnnotation>()); 78Assert.False(parent.Resource.TryGetAnnotationsIncludingAncestorsOfType<DummyAnnotation>(out var annotations)); 92Assert.False(parent.Resource.HasAnnotationIncludingAncestorsOfType<DummyAnnotation>()); 93Assert.False(child.Resource.TryGetAnnotationsIncludingAncestorsOfType<DummyAnnotation>(out var annotations)); 258Assert.False(string.IsNullOrEmpty(env.Value));
ResourceLoggerServiceTests.cs (5)
36Assert.False(allLogs[0].IsErrorMessage); 117Assert.False(allLogs[0].IsErrorMessage); 169Assert.False(allLogs[0].IsErrorMessage); 178Assert.False(allLogs[0].IsErrorMessage); 249Assert.False(await logsEnumerator.MoveNextAsync().DefaultTimeout());
Schema\SchemaTests.cs (7)
233Assert.False(schema.Evaluate(manifestJson).IsValid); 267Assert.False(schema.Evaluate(manifestJson).IsValid); 287Assert.False(schema.Evaluate(manifestJson).IsValid); 306Assert.False(schema.Evaluate(manifestJson).IsValid); 346Assert.False(schema.Evaluate(manifestJson).IsValid); 369Assert.False(schema.Evaluate(manifestJson).IsValid); 762Assert.False(results.IsValid);
WithEndpointTests.cs (2)
118Assert.False(executed); 119Assert.False(projectA.Resource.TryGetAnnotationsOfType<EndpointAnnotation>(out var annotations));
Aspire.Hosting.Valkey.Tests (2)
AddValkeyTests.cs (2)
29Assert.False(endpoint.IsExternal); 57Assert.False(endpoint.IsExternal);
Aspire.Microsoft.Azure.Cosmos.Tests (1)
ConfigurationTests.cs (1)
16=> Assert.False(new MicrosoftAzureCosmosSettings().DisableTracing);
Aspire.Microsoft.Data.SqlClient.Tests (2)
ConfigurationTests.cs (2)
16=> Assert.False(new MicrosoftDataSqlClientSettings().DisableHealthChecks); 20=> Assert.False(new MicrosoftDataSqlClientSettings().DisableTracing);
Aspire.MySqlConnector.Tests (3)
ConfigurationTests.cs (3)
16=> Assert.False(new MySqlConnectorSettings().DisableHealthChecks); 20=> Assert.False(new MySqlConnectorSettings().DisableTracing); 24=> Assert.False(new MySqlConnectorSettings().DisableMetrics);
Aspire.NATS.Net.Tests (2)
ConfigurationTests.cs (2)
16=> Assert.False(new NatsClientSettings().DisableHealthChecks); 20=> Assert.False(new NatsClientSettings().DisableTracing);
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (4)
ConfigurationTests.cs (4)
16=> Assert.False(new NpgsqlEntityFrameworkCorePostgreSQLSettings().DisableHealthChecks); 20=> Assert.False(new NpgsqlEntityFrameworkCorePostgreSQLSettings().DisableTracing); 24=> Assert.False(new NpgsqlEntityFrameworkCorePostgreSQLSettings().DisableMetrics); 28=> Assert.False(new NpgsqlEntityFrameworkCorePostgreSQLSettings().DisableRetry);
Aspire.Npgsql.Tests (3)
ConfigurationTests.cs (3)
16=> Assert.False(new NpgsqlSettings().DisableHealthChecks); 20=> Assert.False(new NpgsqlSettings().DisableTracing); 24=> Assert.False(new NpgsqlSettings().DisableMetrics);
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (4)
ConfigurationTests.cs (4)
16=> Assert.False(new PomeloEntityFrameworkCoreMySqlSettings().DisableHealthChecks); 20=> Assert.False(new PomeloEntityFrameworkCoreMySqlSettings().DisableTracing); 24=> Assert.False(new PomeloEntityFrameworkCoreMySqlSettings().DisableMetrics); 28=> Assert.False(new PomeloEntityFrameworkCoreMySqlSettings().DisableRetry);
Aspire.Qdrant.Client.Tests (1)
ConfigurationTests.cs (1)
15Assert.False(new QdrantClientSettings().DisableHealthChecks);
Aspire.RabbitMQ.Client.Tests (1)
AspireRabbitMQExtensionsTests.cs (1)
152Assert.False(connectionFactory.AutomaticRecoveryEnabled);
Aspire.Workload.Tests (1)
BuildAndRunTemplateTests.cs (1)
79Assert.False(string.IsNullOrEmpty(projectName));
ConfigurationSchemaGenerator.Tests (1)
GeneratorTests.cs (1)
1637Assert.False(TimeSpan.TryParse(invalidTimeSpanString, CultureInfo.InvariantCulture, out _));
Contract.Message.IntegrationTests (2)
MessageTests.4.0.0.cs (2)
41Assert.False(replyMessage.IsFault); 42Assert.False(replyMessage.IsEmpty);
Diagnostics.EFCore.FunctionalTests (1)
MigrationsEndPointMiddlewareTest.cs (1)
118Assert.False(databaseCreator.Exists());
dotnet-svcutil.xmlserializer.IntegrationTests (1)
SvcutilTests.cs (1)
22Assert.False(File.Exists(outputFile));
IIS.FunctionalTests (13)
Http2TrailersResetTests.cs (1)
265Assert.False(decodedHeaders.ContainsKey(HeaderNames.Connection));
src\Servers\IIS\IIS\test\Common.FunctionalTests\GlobalVersionTests.cs (1)
100Assert.False(response.IsSuccessStatusCode);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (3)
183Assert.False(dataFrame.DataEndStream); 252Assert.False(dataFrame.DataEndStream); 297Assert.False(dataFrame.DataEndStream);
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (1)
213Assert.False(response.IsSuccessStatusCode);
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (2)
519Assert.False(response.Headers.TryGetValues("EmptyHeader", out var headerValues)); 806Assert.False(bytes0.IsEmpty);
src\Servers\IIS\IIS\test\IIS.Shared.FunctionalTests\StdOutRedirectionTests.cs (5)
46Assert.False(response.IsSuccessStatusCode); 70Assert.False(response.IsSuccessStatusCode); 100Assert.False(response.IsSuccessStatusCode); 127Assert.False(response.IsSuccessStatusCode); 153Assert.False(response.IsSuccessStatusCode);
IIS.LongTests (9)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
179Assert.False(response.IsSuccessStatusCode); 215Assert.False(File.Exists(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"))); 748Assert.False(request.IsCompleted); 773Assert.False(result.IsSuccessStatusCode); 797Assert.False(result.IsSuccessStatusCode); 820Assert.False(result.IsSuccessStatusCode); 845Assert.False(result.IsSuccessStatusCode); 867Assert.False(result.IsSuccessStatusCode); 1061Assert.False(response.IsSuccessStatusCode);
IIS.NewHandler.FunctionalTests (9)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
179Assert.False(response.IsSuccessStatusCode); 215Assert.False(File.Exists(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"))); 748Assert.False(request.IsCompleted); 773Assert.False(result.IsSuccessStatusCode); 797Assert.False(result.IsSuccessStatusCode); 820Assert.False(result.IsSuccessStatusCode); 845Assert.False(result.IsSuccessStatusCode); 867Assert.False(result.IsSuccessStatusCode); 1061Assert.False(response.IsSuccessStatusCode);
IIS.NewShim.FunctionalTests (9)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
179Assert.False(response.IsSuccessStatusCode); 215Assert.False(File.Exists(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"))); 748Assert.False(request.IsCompleted); 773Assert.False(result.IsSuccessStatusCode); 797Assert.False(result.IsSuccessStatusCode); 820Assert.False(result.IsSuccessStatusCode); 845Assert.False(result.IsSuccessStatusCode); 867Assert.False(result.IsSuccessStatusCode); 1061Assert.False(response.IsSuccessStatusCode);
IIS.ShadowCopy.Tests (2)
ShadowCopyTests.cs (2)
307Assert.False(Directory.Exists(Path.Combine(deploymentResult.ContentRoot, "ShadowCopy", "0", "ShadowCopy"))); 337Assert.False(Directory.Exists(Path.Combine(deploymentResult.ContentRoot, "ShadowCopy", "0", "ShadowCopy")));
IIS.Tests (1)
HttpBodyControlFeatureTests.cs (1)
26Assert.False(bodyControl.AllowSynchronousIO);
IISExpress.FunctionalTests (16)
src\Servers\IIS\IIS\test\Common.FunctionalTests\GlobalVersionTests.cs (1)
100Assert.False(response.IsSuccessStatusCode);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (3)
183Assert.False(dataFrame.DataEndStream); 252Assert.False(dataFrame.DataEndStream); 297Assert.False(dataFrame.DataEndStream);
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (1)
213Assert.False(response.IsSuccessStatusCode);
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (2)
519Assert.False(response.Headers.TryGetValues("EmptyHeader", out var headerValues)); 806Assert.False(bytes0.IsEmpty);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
179Assert.False(response.IsSuccessStatusCode); 215Assert.False(File.Exists(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"))); 748Assert.False(request.IsCompleted); 773Assert.False(result.IsSuccessStatusCode); 797Assert.False(result.IsSuccessStatusCode); 820Assert.False(result.IsSuccessStatusCode); 845Assert.False(result.IsSuccessStatusCode); 867Assert.False(result.IsSuccessStatusCode); 1061Assert.False(response.IsSuccessStatusCode);
InMemory.FunctionalTests (97)
BadHttpRequestTests.cs (3)
434Assert.False(badRequestEventListener.EventFired); 503Assert.False(badRequestEventListener.EventFired); 561Assert.False(badRequestEventListener.EventFired);
CertificateLoaderTests.cs (1)
54Assert.False(CertificateLoader.IsCertificateAllowedForServerAuth(cert));
ChunkedRequestTests.cs (2)
266Assert.False(request.Headers.ContainsKey("X-Trailer-Header")); 397Assert.False(request.Headers.ContainsKey("X-Trailer-Header"));
Http2\Http2ConnectionTests.cs (15)
2233Assert.False(_receivedHeaders.ContainsKey(header.Key)); 3257Assert.False(writeTasks[1].IsCompleted); 3289Assert.False(writeTasks[3].IsCompleted); 3360Assert.False(writeTasks[streamId].IsCompleted); 3369Assert.False(writeTasks[3].IsCompleted); 3370Assert.False(writeTasks[5].IsCompleted); 3374Assert.False(writeTasks[5].IsCompleted); 4028Assert.False(integerDecoder.BeginTryDecode((byte)(headerFrame.Payload.Span[0] & ~DynamicTableSizeUpdateMask), prefixLength: 5, out _)); 4029Assert.False(integerDecoder.TryDecode(headerFrame.Payload.Span[1], out _)); 4030Assert.False(integerDecoder.TryDecode(headerFrame.Payload.Span[2], out _)); 4279Assert.False(writeTasks[1].IsCompleted); 4367Assert.False(writeTasks[streamId].IsCompleted); 4595Assert.False(lastWriteTask.IsCompleted); 4864Assert.False(_receivedHeaders.ContainsKey("trailer-1")); 4865Assert.False(_receivedHeaders.ContainsKey("trailer-2"));
Http2\Http2StreamTests.cs (21)
188Assert.False(context.Request.Headers.ContainsKey(HeaderNames.TransferEncoding)); 239Assert.False(context.Request.Headers.ContainsKey(HeaderNames.TransferEncoding)); 480Assert.False(context.Request.Headers.ContainsKey(InternalHeaderNames.Scheme)); 1108Assert.False(requestDelegateCalled); 2051Assert.False(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly); 2111Assert.False(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly); 2311Assert.False(trailers.IsReadOnly); 3012Assert.False(dataTask.IsCompletedSuccessfully); 3456Assert.False(thrownExTask.IsCompleted); 3797Assert.False(context.Response.HasStarted); 4338Assert.False(goodResult.IsCanceled); 4871Assert.False(context.Response.Headers.IsReadOnly); 4872Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5159Assert.False(startingTcs.Task.IsCompletedSuccessfully); // OnStarting did not get called. 5160Assert.False(context.Response.Headers.IsReadOnly); 5318Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5389Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5460Assert.False(context.RequestAborted.CanBeCanceled); 5542Assert.False(context.RequestAborted.CanBeCanceled); 5624Assert.False(context.RequestAborted.CanBeCanceled); 5708Assert.False(context.RequestAborted.CanBeCanceled);
Http2\Http2TestBase.cs (3)
355Assert.False(context.Request.Headers.ContainsKey(InternalHeaderNames.Method)); 363Assert.False(context.Request.Headers.ContainsKey(InternalHeaderNames.Authority)); 371Assert.False(context.Request.Headers.ContainsKey(InternalHeaderNames.Path));
Http2\Http2WebSocketTests.cs (4)
26Assert.False(context.Request.Headers.TryGetValue(":protocol", out var _)); 82Assert.False(requestBodyDetectionFeature.CanHaveBody); 88Assert.False(context.Request.Headers.TryGetValue(":protocol", out var _)); 164Assert.False(context.Request.Headers.TryGetValue(":protocol", out var _));
Http3\Http3ConnectionTests.cs (1)
328Assert.False(lifetime.ConnectionClosedRequested.IsCancellationRequested);
Http3\Http3StreamTests.cs (14)
703Assert.False(requestDelegateCalled); 804Assert.False(goodResult.IsCanceled); 1246Assert.False(context.Response.Headers.IsReadOnly); 1247Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1486Assert.False(startingTcs.Task.IsCompletedSuccessfully); // OnStarting did not get called. 1487Assert.False(context.Response.Headers.IsReadOnly); 1607Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1665Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1723Assert.False(context.RequestAborted.CanBeCanceled); 1784Assert.False(context.RequestAborted.CanBeCanceled); 1846Assert.False(context.RequestAborted.CanBeCanceled); 1911Assert.False(context.RequestAborted.CanBeCanceled); 2664Assert.False(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly); 2716Assert.False(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly);
Http3\WebTransport\WebTransportSessionTests.cs (2)
27Assert.False(streamDirectionFeature.CanRead); 58Assert.False(streamDirectionFeature2.CanWrite);
Http3\WebTransport\WebTransportStreamTests.cs (2)
30Assert.False(streamDirectionFeature.CanRead); 31Assert.False(streamDirectionFeature.CanWrite);
HttpsConnectionMiddlewareTests.cs (1)
1365Assert.False(CertificateLoader.DoesCertificateHaveASubjectAlternativeName(cert));
HttpsTests.cs (8)
58Assert.False(serverOptions.IsDevelopmentCertificateLoaded); 72Assert.False(serverOptions.IsDevelopmentCertificateLoaded); 131Assert.False(serverOptions.IsDevelopmentCertificateLoaded); 164Assert.False(serverOptions.IsDevelopmentCertificateLoaded); 268Assert.False(loggerProvider.ErrorLogger.ObjectDisposedExceptionLogged); 338Assert.False(loggerProvider.ErrorLogger.ObjectDisposedExceptionLogged); 542Assert.False(bindCalled); 577Assert.False(bindCalled);
KestrelMetricsTests.cs (1)
386Assert.False(m.Tags.ContainsKey("test"));
RequestTests.cs (7)
51Assert.False(requestBodyPersisted); 52Assert.False(responseBodyPersisted); 75Assert.False(responseBodyPersisted); 271Assert.False((await queryTcs.Task).ContainsKey("q")); 1689Assert.False(bodyControlFeature.AllowSynchronousIO); 1740Assert.False(bodyControlFeature.AllowSynchronousIO); 1788Assert.False(bodyControlFeature.AllowSynchronousIO);
ResponseTests.cs (9)
69Assert.False(onStartingCalled); 255Assert.False(goodResult.IsCanceled); 2463Assert.False(onStartingCalled); 2522Assert.False(callback1Called); 3147Assert.False(res); 3259Assert.False(httpContext.Response.HasStarted); 3419Assert.False(bodyControlFeature.AllowSynchronousIO); 3449Assert.False(bodyControlFeature.AllowSynchronousIO); 3515Assert.False(bodyControlFeature.AllowSynchronousIO);
UpgradeTests.cs (3)
167Assert.False(feature.IsUpgradableRequest); 238Assert.False(feature.IsUpgradableRequest); 274Assert.False(feature.IsUpgradableRequest);
InProcessWebSite (2)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (1)
1186Assert.False(ctx.Request.Headers.ContainsKey("Content-Length"));
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.WebSockets.cs (1)
30Assert.False(upgradeFeature.IsUpgradableRequest);
InteractiveHost.UnitTests (3)
InteractiveHostDesktopTests.cs (3)
303Assert.False(await Execute("new System.Data.DataSet()")); 311Assert.False(await Execute("new System.Data.DataSet()")); 331Assert.False(await Execute("new System.Data.DataSet()"));
Interop.FunctionalTests (4)
Http3\Http3RequestTests.cs (1)
921Assert.False(request1Headers.ContainsKey("alt-used"));
Http3\Http3TlsTests.cs (2)
464Assert.False(ranConfigureKestrelAction); 465Assert.False(ranUseHttpsAction);
HttpClientHttp2InteropTests.cs (1)
571Assert.False(response.TrailingHeaders.TryGetValues("TestTrailer", out var none));
Microsoft.Analyzers.Local.Tests (35)
Json\JsonArrayTest.cs (2)
108Assert.False(obj.Contains("b")); 110Assert.False(obj.Contains(JsonValue.Null));
Json\JsonObjectTest.cs (4)
33Assert.False(obj.Remove("x")); 48Assert.False(obj.ContainsKey("x")); 91Assert.False(obj.ContainsKey("z")); 94Assert.False(obj.ContainsKey("x"));
Json\JsonParseExceptionTest.cs (1)
18Assert.False(string.IsNullOrEmpty(ex.Message));
Json\JsonValueTest.cs (28)
21Assert.False(new JsonValue(false).AsBoolean); 23Assert.False(new JsonValue(default(bool?)).IsBoolean); 24Assert.False(new JsonValue(default(bool?)).AsBoolean); 30Assert.False(new JsonValue(default(double?)).IsNumber); 38Assert.False(new JsonValue(default(string)).IsString); 45Assert.False(new JsonValue(default(JsonObject)).IsJsonObject); 52Assert.False(new JsonValue(default(JsonArray)).IsJsonArray); 62Assert.False(new JsonValue(false).IsInteger); 64Assert.False(new JsonValue(1.1).IsInteger); 65Assert.False(new JsonValue(double.PositiveInfinity).IsInteger); 71Assert.False(new JsonValue(false).IsDateTime); 72Assert.False(new JsonValue("Some text").IsDateTime); 79Assert.False(new JsonValue(false).AsBoolean); 80Assert.False(new JsonValue(0.0).AsBoolean); 81Assert.False(new JsonValue(string.Empty).AsBoolean); 82Assert.False(new JsonValue(default(JsonObject)).AsBoolean); 231Assert.False((bool)new JsonValue(false)); 232Assert.False((bool)new JsonValue(0.0)); 233Assert.False((bool)new JsonValue(string.Empty)); 234Assert.False((bool)new JsonValue(default(JsonObject))); 237Assert.False((bool)new JsonValue(1.0)); 238Assert.False((bool)new JsonValue("text")); 239Assert.False((bool)new JsonValue(new JsonObject())); 240Assert.False((bool)new JsonValue(new JsonArray())); 311Assert.False(JsonValue.Null != default); 323Assert.False(new JsonValue(true).Equals(new JsonValue(false))); 325Assert.False(JsonValue.Null.Equals(1)); 326Assert.False(JsonValue.Null.Equals(new InvalidOperationException()));
Microsoft.AspNetCore.Analyzers.Test (11)
MinimalStartupTest.cs (5)
180Assert.False(OptionsFacts.IsEndpointRoutingExplicitlyDisabled(optionsAnalysis)); 215Assert.False(OptionsFacts.IsEndpointRoutingExplicitlyDisabled(optionsAnalysis)); 269Assert.False(OptionsFacts.IsEndpointRoutingExplicitlyDisabled(optionsAnalysis)); 544Assert.False(OptionsFacts.IsEndpointRoutingExplicitlyDisabled(optionsAnalysis)); 600Assert.False(OptionsFacts.IsEndpointRoutingExplicitlyDisabled(optionsAnalysis));
StartupAnalyzerTest.cs (3)
292Assert.False(OptionsFacts.IsEndpointRoutingExplicitlyDisabled(optionsAnalysis)); 340Assert.False(OptionsFacts.IsEndpointRoutingExplicitlyDisabled(optionsAnalysis)); 409Assert.False(OptionsFacts.IsEndpointRoutingExplicitlyDisabled(optionsAnalysis));
StartupFactsTest.cs (3)
152Assert.False(result); 197Assert.False(result); 233Assert.False(result);
Microsoft.AspNetCore.Antiforgery.Test (23)
AntiforgeryApplicationBuilderExtensionsTest.cs (3)
21Assert.False(builder.Properties.ContainsKey("__AntiforgeryMiddlewareSet")); 40Assert.False(builder.Properties.ContainsKey("__AntiforgeryMiddlewareSet")); 42Assert.False(builder.Properties.ContainsKey("__AntiforgeryMiddlewareSet"));
AntiforgeryTokenTest.cs (2)
52Assert.False(token.IsCookieToken); 60Assert.False(token.IsCookieToken);
DefaultAntiforgeryTest.cs (4)
387Assert.False(hasWarningMessage); 441Assert.False(hasWarningMessage); 1303Assert.False(hasWarningMessage); 1376Assert.False(hasWarningMessage);
DefaultAntiforgeryTokenGeneratorTest.cs (14)
37Assert.False(httpContext.User.Identity.IsAuthenticated); 57Assert.False(httpContext.User.Identity.IsAuthenticated); 69Assert.False(fieldToken.IsCookieToken); 134Assert.False(fieldToken.IsCookieToken); 169Assert.False(fieldToken.IsCookieToken); 202Assert.False(fieldToken.IsCookieToken); 225Assert.False(isValid); 241Assert.False(isValid); 329Assert.False(result); 356Assert.False(result); 381Assert.False(result); 421Assert.False(result); 459Assert.False(result); 496Assert.False(result);
Microsoft.AspNetCore.App.Analyzers.Test (2)
Infrastructure\AmbiguousRoutePatternComparerTests.cs (1)
74Assert.False(result);
RouteEmbeddedLanguage\RoutePatternCompletionProviderTests.cs (1)
38Assert.False(result.ShouldTriggerCompletion);
Microsoft.AspNetCore.AsyncState.Tests (1)
AsyncContextHttpContextOfTTests.cs (1)
61Assert.False(_context.TryGet(out Thing? stored));
Microsoft.AspNetCore.Authentication.Core.Test (12)
AuthenticationPropertiesTests.cs (6)
106Assert.False(props.Items.ContainsKey("doesntexist")); 169Assert.False(props.IsPersistent); 176Assert.False(props.IsPersistent); 248Assert.False(props.Items.ContainsKey("foo")); 251Assert.False(props.Items.ContainsKey("doesnotexist")); 283Assert.False(props.Items.ContainsKey("foo"));
AuthenticationSchemeProviderTests.cs (3)
168Assert.False(o.TryAddScheme(new AuthenticationScheme("signin", "whatever", typeof(Handler)))); 170Assert.False(o.TryAddScheme(new AuthenticationScheme("signin2", "whatever", typeof(Handler)))); 215Assert.False(provider.TryAddScheme(scheme1));
AuthenticationTicketTests.cs (1)
42Assert.False(copy.Principal.HasClaim("name", "value"));
TokenExtensionTests.cs (2)
114Assert.False(props.UpdateTokenValue("ONE", ".11")); 115Assert.False(props.UpdateTokenValue("Jigglypuff", ".11"));
Microsoft.AspNetCore.Authentication.Negotiate.Test (5)
EventTests.cs (2)
33Assert.False(context.Response.Headers.ContainsKey(HeaderNames.WWWAuthenticate)); 294Assert.False(result.Response.Headers.ContainsKey(HeaderNames.WWWAuthenticate));
NegotiateHandlerTests.cs (2)
165Assert.False(result.Response.Headers.ContainsKey(HeaderNames.WWWAuthenticate)); 290Assert.False(result.Response.Headers.ContainsKey(HeaderNames.WWWAuthenticate));
ServerDeferralTests.cs (1)
21Assert.False(options.DeferToServer);
Microsoft.AspNetCore.Authentication.Test (35)
FacebookTests.cs (2)
401Assert.False(string.IsNullOrEmpty(entries["code_verifier"])); 439Assert.False(string.IsNullOrEmpty(queryParams["code_challenge"]));
GoogleTests.cs (7)
69Assert.False(queryParams.ContainsKey("access_type")); 70Assert.False(queryParams.ContainsKey("prompt")); 71Assert.False(queryParams.ContainsKey("approval_prompt")); 72Assert.False(queryParams.ContainsKey("login_hint")); 73Assert.False(queryParams.ContainsKey("include_granted_scopes")); 1040Assert.False(string.IsNullOrEmpty(entries["code_verifier"])); 1072Assert.False(string.IsNullOrEmpty(queryParams["code_challenge"]));
JwtBearerTests.cs (4)
140Assert.False(jwtHandler.MapInboundClaims); 141Assert.False(tokenHandler.MapInboundClaims); 149Assert.False(options.MapInboundClaims); 154Assert.False(jwtHandler.MapInboundClaims);
JwtBearerTests_Handler.cs (7)
130Assert.False(jwtHandler.MapInboundClaims); 131Assert.False(tokenHandler.MapInboundClaims); 139Assert.False(options.MapInboundClaims); 144Assert.False(jwtHandler.MapInboundClaims); 986Assert.False(jwtBearerOptions.RequireHttpsMetadata); 1092Assert.False(jwtBearerOptions.TokenValidationParameters.ValidateIssuer); 1093Assert.False(jwtBearerOptions.TokenValidationParameters.ValidateAudience);
MicrosoftAccountTests.cs (2)
307Assert.False(string.IsNullOrEmpty(entries["code_verifier"])); 339Assert.False(string.IsNullOrEmpty(queryParams["code_challenge"]));
OpenIdConnect\OpenIdConnectChallengeTests.cs (2)
245Assert.False(actualProperties.Items.ContainsKey(OpenIdConnectDefaults.UserstatePropertiesKey)); 453Assert.False(StringSegment.IsNullOrEmpty(correlationCookie.Value));
OpenIdConnect\OpenIdConnectEventTests.cs (2)
1041Assert.False(response.Headers.TryGetValues(HeaderNames.SetCookie, out var values)); 1067Assert.False(response.Headers.TryGetValues(HeaderNames.SetCookie, out var values));
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (2)
1041Assert.False(response.Headers.TryGetValues(HeaderNames.SetCookie, out var values)); 1067Assert.False(response.Headers.TryGetValues(HeaderNames.SetCookie, out var values));
OpenIdConnect\OpenIdConnectTests.cs (5)
389Assert.False(options.MapInboundClaims); 394Assert.False(jwtHandler.MapInboundClaims); 446Assert.False(options.RequireHttpsMetadata); 447Assert.False(options.GetClaimsFromUserInfoEndpoint); // Assert default values are respected 478Assert.False(options.CorrelationCookie.IsEssential);
TokenExtensionTests.cs (2)
110Assert.False(props.UpdateTokenValue("ONE", ".11")); 111Assert.False(props.UpdateTokenValue("Jigglypuff", ".11"));
Microsoft.AspNetCore.Authorization.Test (50)
AuthorizationMiddlewareTests.cs (13)
59Assert.False(next.Called); 99Assert.False(next.Called); 142Assert.False(next.Called); 164Assert.False(next.Called); 186Assert.False(next.Called); 580Assert.False(authenticationService.ChallengeCalled); 601Assert.False(authenticationService.ChallengeCalled); 622Assert.False(next.Called); 718Assert.False(next.Called); 719Assert.False(authenticationService.ChallengeCalled); 740Assert.False(next.Called); 763Assert.False(next.Called); 764Assert.False(authenticationService.ChallengeCalled);
DefaultAuthorizationServiceTests.cs (26)
110Assert.False(allowed.Succeeded); 137Assert.False(allowed.Succeeded); 188Assert.False(allowed.Succeeded); 217Assert.False(allowed.Succeeded); 239Assert.False(allowed.Succeeded); 260Assert.False(allowed.Succeeded); 279Assert.False(allowed.Succeeded); 293Assert.False(allowed.Succeeded); 308Assert.False(allowed.Succeeded); 456Assert.False(allowed.Succeeded); 476Assert.False(allowed.Succeeded); 504Assert.False(allowed.Succeeded); 619Assert.False(allowed.Succeeded); 652Assert.False(allowed.Succeeded); 769Assert.False(allowed.Succeeded); 796Assert.False(allowed.Succeeded); 900Assert.False((await authorizationService.AuthorizeAsync(user, 1, Operations.Edit)).Succeeded); 922Assert.False((await authorizationService.AuthorizeAsync(user, 1, Operations.Edit)).Succeeded); 938Assert.False((await authorizationService.AuthorizeAsync(user, new ExpenseReport(), Operations.Delete)).Succeeded); 939Assert.False((await authorizationService.AuthorizeAsync(user, new ExpenseReport(), Operations.Create)).Succeeded); 954Assert.False((await authorizationService.AuthorizeAsync(user, null, Operations.Edit)).Succeeded); 1031Assert.False(allowed.Succeeded); 1068Assert.False((await authorizationService.AuthorizeAsync(user, "0")).Succeeded); 1071Assert.False((await authorizationService.AuthorizeAsync(user, "3")).Succeeded); 1128Assert.False((await authorizationService.AuthorizeAsync(null, "Success")).Succeeded); 1147Assert.False((await authorizationService.AuthorizeAsync(null, "Success")).Succeeded);
PassThroughAuthorizationHandlerTests.cs (1)
44Assert.False(allowed.Succeeded);
PolicyEvaluatorTests.cs (10)
27Assert.False(result.Succeeded); 81Assert.False(result.Challenged); 82Assert.False(result.Forbidden); 99Assert.False(result.Succeeded); 115Assert.False(result.Succeeded); 117Assert.False(result.Forbidden); 132Assert.False(result.Succeeded); 133Assert.False(result.Challenged); 152Assert.False(result.Succeeded); 153Assert.False(result.Challenged);
Microsoft.AspNetCore.Components.Authorization.Tests (2)
AuthorizeRouteViewTest.cs (2)
220Assert.False(firstRenderTask.IsCompleted); 264Assert.False(firstRenderTask.IsCompleted);
Microsoft.AspNetCore.Components.Endpoints.Tests (15)
Buffering\BufferedTextWriterTest.cs (4)
42Assert.False(flushAsyncTask1.IsCompleted); 49Assert.False(flushAsyncTask2.IsCompleted); 56Assert.False(flushAsyncTask3.IsCompleted); 63Assert.False(flushAsyncTask2.IsCompleted);
Buffering\TextChunkPageTest.cs (1)
25Assert.False(page.TryAdd(new TextChunk("Item4")));
EndpointHtmlRendererTest.cs (5)
655Assert.False(state.OnAfterRenderRan); 875Assert.False(isBadRequest); 958Assert.False(isBadRequest); 993Assert.False(isBadRequest); 1035Assert.False(isBadRequest);
HotReloadServiceTests.cs (1)
35Assert.False(invoked);
RazorComponentResultTest.cs (4)
112Assert.False(completionTask.IsCompleted); 198Assert.False(completionTask.IsCompleted); 346Assert.False(initialOutputTask.IsCompleted); 379Assert.False(initialOutputTask.IsCompleted);
Microsoft.AspNetCore.Components.Forms.Tests (22)
EditContextDataAnnotationsExtensionsTest.cs (4)
43Assert.False(isValid); 70Assert.False(editContext.Validate()); 89Assert.False(editContext.Validate()); 174Assert.False(editContext.Validate());
EditContextTest.cs (15)
40Assert.False(editContext.IsModified()); 59Assert.False(editContext.IsModified(fieldOnThisModel2)); 80Assert.False(editContext.IsModified(fieldThatWasModified)); 82Assert.False(editContext.IsModified(fieldThatWasNeverModified)); 99Assert.False(editContext.IsModified()); 100Assert.False(editContext.IsModified(field1)); 101Assert.False(editContext.IsModified(field2)); 210Assert.False(isValid); 232Assert.False(isValid); 249Assert.False(editContext.Validate()); 250Assert.False(editContext.IsValid(fieldOnThisModel1)); 305Assert.False(editContext.Properties.TryGetValue(key1, out _)); 316Assert.False(editContext.Properties.TryGetValue(key3, out _)); 334Assert.False(resultForNonExistingKey); 335Assert.False(editContext.Properties.TryGetValue(key, out _));
FieldIdentifierTest.cs (3)
62Assert.False(fieldIdentifier1.Equals(fieldIdentifier2)); 75Assert.False(fieldIdentifier1.Equals(fieldIdentifier2)); 130Assert.False(fieldIdentifierLower.Equals(fieldIdentifierPascal));
Microsoft.AspNetCore.Components.Server.Tests (26)
Circuits\CircuitHostTest.cs (3)
286Assert.False(reportedErrors.Single().IsTerminating); 389Assert.False(asyncLocal1.Value); 390Assert.False(asyncLocal3.Value);
Circuits\CircuitRegistryTest.cs (5)
78Assert.False(registry.DisconnectedCircuits.TryGetValue(circuitHost.CircuitId, out _)); 263Assert.False(registry.DisconnectedCircuits.TryGetValue(circuitHost.CircuitId.Secret, out _)); 293Assert.False(registry.DisconnectedCircuits.TryGetValue(circuitHost.CircuitId.Secret, out _)); 320Assert.False(registry.DisconnectedCircuits.TryGetValue(circuitHost.CircuitId.Secret, out var _)); 351Assert.False(registry.DisconnectedCircuits.TryGetValue(circuitHost.CircuitId.Secret, out var _));
Circuits\RevalidatingServerAuthenticationStateProviderTest.cs (5)
50Assert.False(didNotifyAuthenticationStateChanged); 71Assert.False(newAuthState.User.Identity.IsAuthenticated); 95Assert.False(newAuthState.User.Identity.IsAuthenticated); 159Assert.False(firstRevalidationCall.CancellationToken.IsCancellationRequested); 212Assert.False(newAuthState.User.Identity.IsAuthenticated);
Circuits\ServerComponentDeserializerTest.cs (12)
163Assert.False(serverComponentDeserializer.TryDeserializeComponentDescriptorCollection(markers, out var descriptors)); 177Assert.False(serverComponentDeserializer.TryDeserializeComponentDescriptorCollection(markers, out var descriptors)); 189Assert.False(serverComponentDeserializer.TryDeserializeComponentDescriptorCollection(markers, out var descriptors)); 205Assert.False(serverComponentDeserializer.TryDeserializeComponentDescriptorCollection(markers, out var descriptors)); 220Assert.False(serverComponentDeserializer.TryDeserializeComponentDescriptorCollection(markers, out var descriptors)); 235Assert.False(serverComponentDeserializer.TryDeserializeComponentDescriptorCollection(markers, out var descriptors)); 270Assert.False(serverComponentDeserializer.TryDeserializeComponentDescriptorCollection(markers, out var descriptors)); 287Assert.False(serverComponentDeserializer.TryDeserializeComponentDescriptorCollection(markers, out var descriptors)); 302Assert.False(serverComponentDeserializer.TryDeserializeComponentDescriptorCollection(markers, out var descriptors)); 376Assert.False(serverComponentDeserializer.TryDeserializeWebRootComponentDescriptor(markers[0], out _)); 391Assert.False(serverComponentDeserializer.TryDeserializeWebRootComponentDescriptor(firstInvocationMarkers[0], out _)); 422Assert.False(result);
ProtectedBrowserStorageTest.cs (1)
160Assert.False(result.Success);
Microsoft.AspNetCore.Components.Tests (86)
BindConverterTest.cs (2)
326Assert.False(successfullyConverted); 368Assert.False(successfullyConverted);
CascadingParameterStateTest.cs (1)
374Assert.False(hasSingleDeliveryParameters);
ComponentBaseTest.cs (3)
245Assert.False(renderTask.IsCompleted); 289Assert.False(firstRender); 336Assert.False(firstRender);
ComponentFactoryTest.cs (1)
133Assert.False(renderer.ResolverWasCalled);
EventCallbackFactoryTest.cs (18)
24Assert.False(callback.RequiresExplicitReceiver); 40Assert.False(callback.RequiresExplicitReceiver); 58Assert.False(callback.RequiresExplicitReceiver); 107Assert.False(callback.RequiresExplicitReceiver); 125Assert.False(callback.RequiresExplicitReceiver); 174Assert.False(callback.RequiresExplicitReceiver); 192Assert.False(callback.RequiresExplicitReceiver); 226Assert.False(callback.RequiresExplicitReceiver); 259Assert.False(callback.RequiresExplicitReceiver); 311Assert.False(callback.RequiresExplicitReceiver); 327Assert.False(callback.RequiresExplicitReceiver); 345Assert.False(callback.RequiresExplicitReceiver); 394Assert.False(callback.RequiresExplicitReceiver); 412Assert.False(callback.RequiresExplicitReceiver); 461Assert.False(callback.RequiresExplicitReceiver); 479Assert.False(callback.RequiresExplicitReceiver); 528Assert.False(callback.RequiresExplicitReceiver); 546Assert.False(callback.RequiresExplicitReceiver);
Lifetime\ComponentApplicationStateTest.cs (3)
60Assert.False(applicationState.TryTakeFromJson<byte[]>("MyState", out var gone)); 152Assert.False(applicationState.TryTakeFromJson<byte[]>("MyState", out _)); 170Assert.False(applicationState.TryTakeFromJson<byte[]>("MyState", out _));
NavigationManagerTest.cs (17)
280Assert.False(navigation1.IsCompleted); 338Assert.False(navigation1.Result); 369Assert.False(navigation1.Result); 405Assert.False(navigation1.Result); 409Assert.False(isHandlerCompleted); 444Assert.False(navigation1.Result); 448Assert.False(isFirstHandlerCompleted); 449Assert.False(isSecondHandlerCompleted); 454Assert.False(isSecondHandlerCompleted); 486Assert.False(navigation1Result); 521Assert.False(navigation1.Result); 577Assert.False(navigation1.Result); 638Assert.False(navigation1.Result); 641Assert.False(navigation2.Result); 696Assert.False(navigation1Result); 846Assert.False(currentContext.CancellationToken.IsCancellationRequested); 855Assert.False(navigation1Result);
ParameterViewTest.cs (4)
123Assert.False(didFind); 422Assert.False(hasRemovedDirectParameters); 443Assert.False(hasRemovedDirectParameters); 568Assert.False(hasRemovedDirectParameters);
RendererTest.cs (25)
188Assert.False(renderTask.IsCompleted); 325Assert.False(renderTask1.IsCompleted); 334Assert.False(renderTask1.IsCompleted); 335Assert.False(renderTask2.IsCompleted); 343Assert.False(renderTask1.IsCompleted); 344Assert.False(renderTask2.IsCompleted); 382Assert.False(renderTask.IsCompleted); 2066Assert.False(batch.DiffsByComponentId.ContainsKey(nestedComponentFrame.ComponentId)); 2211Assert.False(renderer.Batches[1].DiffsByComponentId.ContainsKey(childComponentId)); 2300Assert.False(component.Disposed); 2336Assert.False(component.Disposed); 2370Assert.False(component.Disposed); 2410Assert.False(component.Disposed); 2415Assert.False(semaphore.WaitOne(10)); 2454Assert.False(component.Disposed); 2494Assert.False(component.Disposed); 2532Assert.False(component.Disposed); 2602Assert.False(component.Disposed); 3675Assert.False(renderTask.IsCompleted); 3787Assert.False(renderTask.IsCompleted); 4310Assert.False(disposed); 4311Assert.False(disposal.IsCompleted); 4888Assert.False(nestedComponent.Disposed); 5000Assert.False(hotReloadManager.IsSubscribedTo); 5027Assert.False(hotReloadManager.IsSubscribedTo);
Rendering\RendererSynchronizationContextTest.cs (7)
95Assert.False(e2.IsSet); 149Assert.False(e2.IsSet); 191Assert.False(e2.IsSet); 450Assert.False(e2.IsSet); 539Assert.False(e2.IsSet); 632Assert.False(e2.IsSet); 721Assert.False(e2.IsSet);
Rendering\RenderTreeBuilderTest.cs (1)
2161Assert.False(frame.ComponentFrameFlags.HasFlag(ComponentFrameFlags.HasCallerSpecifiedRenderMode));
Routing\RouteKeyTest.cs (4)
41Assert.False(key1.Equals(key2)); 53Assert.False(key1.Equals(key2)); 89Assert.False(key1.Equals(key2)); 101Assert.False(key1.Equals(key2));
Microsoft.AspNetCore.Components.Web.Tests (2)
Forms\InputBaseTest.cs (1)
190Assert.False(rootComponent.EditContext.IsModified(() => model.StringProperty));
HtmlRendering\HtmlRendererTest.cs (1)
874Assert.False(quiescenceTask.IsCompleted);
Microsoft.AspNetCore.Components.WebAssembly.Server.Tests (4)
ContentEncodingNegotiatorTests.cs (4)
51Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding)); 52Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader)); 186Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding)); 187Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (20)
MiddlewareTests.cs (4)
72Assert.False(task1.IsCompleted); 76Assert.False(task2.IsCompleted); 94Assert.False(task1.IsCompleted); 222Assert.False(_getResultCalled);
PolicyTests\QueuePolicyTests.cs (4)
22Assert.False(t3.IsCompleted); 32Assert.False(waitingTask.IsCompleted); 53Assert.False(t3.IsCompleted); 57Assert.False(t4.Result);
PolicyTests\StackPolicyTests.cs (12)
26Assert.False(task2.IsCompleted); 48Assert.False(task2.IsCompleted); 50Assert.False(task3.IsCompleted); 52Assert.False(task4.IsCompleted); 55Assert.False(task5.IsCompleted); 58Assert.False(await task2); 60Assert.False(task3.IsCompleted); 61Assert.False(task4.IsCompleted); 80Assert.False(task3.IsCompleted); 96Assert.False(task2.IsCompleted); 120Assert.False(task1.IsCompleted); 126Assert.False(task2.IsCompleted);
Microsoft.AspNetCore.CookiePolicy.Test (41)
CookieConsentTests.cs (41)
24Assert.False(feature.IsConsentNeeded); 25Assert.False(feature.HasConsent); 44Assert.False(feature.HasConsent); 45Assert.False(feature.CanTrack); 63Assert.False(feature.HasConsent); 64Assert.False(feature.CanTrack); 80Assert.False(context.HasConsent); 81Assert.False(context.IssueCookie); 89Assert.False(feature.HasConsent); 90Assert.False(feature.CanTrack); 108Assert.False(feature.HasConsent); 109Assert.False(feature.CanTrack); 184Assert.False(feature.HasConsent); 185Assert.False(feature.CanTrack); 204Assert.False(feature.HasConsent); 205Assert.False(feature.CanTrack); 255Assert.False(feature.HasConsent); 256Assert.False(feature.CanTrack); 320Assert.False(feature.HasConsent); 321Assert.False(feature.CanTrack); 353Assert.False(feature.HasConsent); 354Assert.False(feature.CanTrack); 359Assert.False(feature.HasConsent); 360Assert.False(feature.CanTrack); 391Assert.False(feature.HasConsent); 392Assert.False(feature.CanTrack); 439Assert.False(feature.HasConsent); 440Assert.False(feature.CanTrack); 478Assert.False(feature.HasConsent); 479Assert.False(feature.CanTrack); 504Assert.False(feature.HasConsent); 505Assert.False(feature.CanTrack); 528Assert.False(context.HasConsent); 538Assert.False(feature.HasConsent); 539Assert.False(feature.CanTrack); 559Assert.False(feature.HasConsent); 560Assert.False(feature.CanTrack); 612Assert.False(feature.HasConsent); 613Assert.False(feature.CanTrack); 657Assert.False(feature.HasConsent); 658Assert.False(feature.CanTrack);
Microsoft.AspNetCore.Cors.Test (34)
CorsPolicyBuilderTests.cs (19)
28Assert.False(corsPolicy.AllowAnyHeader); 29Assert.False(corsPolicy.AllowAnyMethod); 30Assert.False(corsPolicy.AllowAnyOrigin); 58Assert.False(corsPolicy.AllowAnyHeader); 59Assert.False(corsPolicy.AllowAnyMethod); 60Assert.False(corsPolicy.AllowAnyOrigin); 76Assert.False(corsPolicy.AllowAnyHeader); 77Assert.False(corsPolicy.AllowAnyMethod); 78Assert.False(corsPolicy.AllowAnyOrigin); 79Assert.False(corsPolicy.SupportsCredentials); 100Assert.False(corsPolicy.AllowAnyHeader); 101Assert.False(corsPolicy.AllowAnyMethod); 102Assert.False(corsPolicy.AllowAnyOrigin); 103Assert.False(corsPolicy.SupportsCredentials); 122Assert.False(corsPolicy.AllowAnyOrigin); 214Assert.False(corsPolicy.IsOriginAllowed("http://example.com")); 228Assert.False(corsPolicy.AllowAnyOrigin); 258Assert.False(corsPolicy.AllowAnyHeader); 330Assert.False(corsPolicy.SupportsCredentials);
CorsPolicyTests.cs (5)
15Assert.False(corsPolicy.AllowAnyHeader); 16Assert.False(corsPolicy.AllowAnyMethod); 17Assert.False(corsPolicy.AllowAnyOrigin); 18Assert.False(corsPolicy.SupportsCredentials); 38Assert.False(policy.IsDefaultIsOriginAllowed);
CorsResultTests.cs (1)
18Assert.False(result.SupportsCredentials);
CorsServiceTests.cs (8)
44Assert.False(result.VaryByOrigin); 60Assert.False(result.IsOriginAllowed); 75Assert.False(result.IsOriginAllowed); 94Assert.False(result.IsOriginAllowed); 150Assert.False(result.SupportsCredentials); 186Assert.False(result.VaryByOrigin); 203Assert.False(result.VaryByOrigin); 934Assert.False(result.IsOriginAllowed);
UriHelpersTests.cs (1)
27Assert.False(isSubdomain);
Microsoft.AspNetCore.Cryptography.Internal.Tests (5)
CryptoUtilTests.cs (2)
28Assert.False(CryptoUtil.TimeConstantBuffersAreEqual(a, 1, 3, b, 2, 3)); 50Assert.False(CryptoUtil.TimeConstantBuffersAreEqual((byte*)&a, (byte*)&b, sizeof(uint)));
WeakReferenceHelpersTests.cs (3)
28Assert.False(newInstance.HasBeenDisposed); 46Assert.False(newInstance.HasBeenDisposed); 70Assert.False(instanceThatWillBeCreatedFirst.HasBeenDisposed);
Microsoft.AspNetCore.DataProtection.Tests (48)
ActivatorTests.cs (1)
31Assert.False(retVal3.ParameterlessCtorCalled);
ContainerUtilsTests.cs (1)
38Assert.False(ContainerUtils.IsDirectoryMounted(new DirectoryInfo(directory), fstab));
Internal\KeyManagementOptionsPostSetupTest.cs (1)
159Assert.False(options.AutoGenerateKeys);
KeyManagement\CacheableKeyRingTests.cs (3)
14Assert.False(CacheableKeyRing.IsValid(null, DateTime.UtcNow)); 29Assert.False(CacheableKeyRing.IsValid(cacheableKeyRing, now.UtcDateTime)); 43Assert.False(CacheableKeyRing.IsValid(cacheableKeyRing, now.AddHours(1).UtcDateTime));
KeyManagement\DefaultKeyResolverTests.cs (8)
43Assert.False(resolution.ShouldGenerateNewKey); 59Assert.False(resolution.ShouldGenerateNewKey); 74Assert.False(resolution.ShouldGenerateNewKey); 89Assert.False(resolution.ShouldGenerateNewKey); // Does not reflect pending expiration 106Assert.False(resolution.ShouldGenerateNewKey); // Does not reflect pending expiration 153Assert.False(resolution.ShouldGenerateNewKey); 185Assert.False(resolution.ShouldGenerateNewKey); 274Assert.False(resolution.ShouldGenerateNewKey);
KeyManagement\DeferredKeyTests.cs (1)
53Assert.False(key.IsRevoked);
KeyManagement\KeyRingBasedDataProtectorTests.cs (3)
502Assert.False(requiresMigration); 503Assert.False(wasRevoked); 553Assert.False(wasRevoked);
KeyManagement\KeyRingProviderTests.cs (7)
51Assert.False(CacheableKeyRing.IsValid(cacheableKeyRing, now)); 94Assert.False(CacheableKeyRing.IsValid(cacheableKeyRing, now)); 144Assert.False(CacheableKeyRing.IsValid(cacheableKeyRing, now)); 233Assert.False(CacheableKeyRing.IsValid(cacheableKeyRing, now)); 317Assert.False(CacheableKeyRing.IsValid(cacheableKeyRing, now)); 355Assert.False(CacheableKeyRing.IsValid(cacheableKeyRing, now)); 393Assert.False(CacheableKeyRing.IsValid(cacheableKeyRing, now));
KeyManagement\KeyRingTests.cs (2)
85Assert.False(isRevoked); 88Assert.False(isRevoked);
KeyManagement\KeyTests.cs (1)
43Assert.False(key.IsRevoked);
KeyManagement\XmlKeyManagerTests.cs (16)
115Assert.False(firstCancellationToken.IsCancellationRequested); 126Assert.False(secondCancellationToken.IsCancellationRequested); 134Assert.False(newKey.IsRevoked); 213Assert.False(firstCancellationToken.IsCancellationRequested); 224Assert.False(secondCancellationToken.IsCancellationRequested); 232Assert.False(newKey.IsRevoked); 376Assert.False(keys[0].IsRevoked); 382Assert.False(keys[1].IsRevoked); 454Assert.False(keys[2].IsRevoked); 641Assert.False(firstCancellationToken.IsCancellationRequested); 648Assert.False(secondCancellationToken.IsCancellationRequested); 691Assert.False(firstCancellationToken.IsCancellationRequested); 701Assert.False(secondCancellationToken.IsCancellationRequested); 968Assert.False(keyDictWithRevocations[key4.KeyId].IsRevoked); 979Assert.False(keyDictWithRevocations[key4.KeyId].IsRevoked); 997Assert.False(withoutDeletion.CanDeleteKeys);
Repositories\FileSystemXmlRepositoryTests.cs (3)
217Assert.False(repository.DeleteElements(deletableElements => 242Assert.False(File.Exists(filePath3)); // Deleted before error 273Assert.False(File.Exists(filePath));
ServiceCollectionTests.cs (1)
91Assert.False(options.AutoGenerateKeys);
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (2)
CertificateManagerTests.cs (2)
54Assert.False(exportedCertificate.HasPrivateKey); 220Assert.False(exportedCertificate.HasPrivateKey);
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (1)
HealthCheckMiddlewareTests.cs (1)
469Assert.False(response.Content.Headers.Contains(HeaderNames.Expires));
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (13)
Latency\RequestLatencyTelemetryMiddlewareTests.cs (2)
74Assert.False(httpContextMock.Response.Headers.TryGetValue(TelemetryConstants.ServerApplicationNameHeader, out var val)); 133Assert.False(httpContextMock.Response.Headers.TryGetValue(TelemetryConstants.ServerApplicationNameHeader, out var val));
Logging\AcceptanceTests.Mvc.cs (1)
232Assert.False(response.IsSuccessStatusCode);
Logging\IncomingHttpRouteUtilityTests.cs (7)
142Assert.False(sensitiveParameters.ContainsKey("chatId")); 229Assert.False(sensitiveParameters.ContainsKey("userId")); 230Assert.False(sensitiveParameters.ContainsKey("teamId")); 231Assert.False(sensitiveParameters.ContainsKey("chatId")); 270Assert.False(sensitiveParameters.ContainsKey("userId")); 271Assert.False(sensitiveParameters.ContainsKey("teamId")); 272Assert.False(sensitiveParameters.ContainsKey("chatId"));
Logging\RequestHeadersEnricherTests.cs (3)
136Assert.False(enrichedState.ContainsKey(NormalizedHeaderKey2)); 162Assert.False(enrichedState.ContainsKey(NormalizedHeaderKey3)); 188Assert.False(enrichedState.ContainsKey(HttpLoggingTagNames.RequestHeaderPrefix + headerKey2));
Microsoft.AspNetCore.Diagnostics.Tests (7)
DeveloperExceptionPageMiddlewareTest.cs (1)
631Assert.False(measurement.Tags.ContainsKey("aspnetcore.diagnostics.handler.type"));
ExceptionHandlerMiddlewareTest.cs (2)
172Assert.False(httpContext.Items.ContainsKey("3")); 455Assert.False(measurement.Tags.ContainsKey("aspnetcore.diagnostics.handler.type"));
ExceptionHandlerTest.cs (4)
194Assert.False(response.Headers.TryGetValues("ETag", out values)); 250Assert.False(response.Headers.TryGetValues("ETag", out values)); 374Assert.False(response.Headers.TryGetValues("Expires", out _)); 375Assert.False(response.Headers.TryGetValues("ETag", out _));
Microsoft.AspNetCore.FunctionalTests (1)
WebApplicationFunctionalTests.cs (1)
130Assert.False(logger.IsEnabled(LogLevel.Warning));
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (8)
HttpRoutePatternParserTests.cs (8)
34Assert.False(v.HasCatchAllPath); 41Assert.False(v.HasCatchAllPath); 64Assert.False(v.HasCatchAllPath); 156Assert.False(v.HasCatchAllPath); 175Assert.False(v.HasCatchAllPath); 214Assert.False(v.HasCatchAllPath); 235Assert.False(v.HasCatchAllPath); 298Assert.False(v.HasCatchAllPath);
Microsoft.AspNetCore.Grpc.Swagger.Tests (1)
Binding\ResponseBodyTests.cs (1)
90Assert.False(enumSchema.AdditionalPropertiesAllowed);
Microsoft.AspNetCore.HeaderParsing.Tests (59)
HeaderKeyTests.cs (2)
41Assert.False(referenceTimeDefault.HasDefaultValue); 44Assert.False(valueTypeDefault.HasDefaultValue);
HeaderParsingFeatureTests.cs (4)
109Assert.False(feature.TryGetHeaderValue(key, out var value, out var _)); 144Assert.False(feature.TryGetHeaderValue(key, out var value, out var result)); 172Assert.False(helper.Feature.TryGetHeaderValue(firstHeaderKey, out _)); 173Assert.False(helper.Feature.TryGetHeaderValue(thirdHeaderKey, out _));
HeaderRegistryTests.cs (1)
34Assert.False(key.HasDefaultValue);
HostHeaderValueTests.cs (7)
33Assert.False(differentHost.Equals((object)host1)); 34Assert.False(differentPort.Equals((object)host1)); 35Assert.False(differentPort.Equals(new object())); 50Assert.False(host1 == differentHost); 51Assert.False(host1 == differentPort); 53Assert.False(host1 != sameAsHost1); 84Assert.False(HostHeaderValue.TryParse(string.Empty, out var _));
ParserTests.cs (45)
31Assert.False(HostHeaderValueParser.Instance.TryParse(sv, out var result, out var error)); 32Assert.False(string.IsNullOrEmpty(error)); 54Assert.False(DateTimeOffsetParser.Instance.TryParse(sv, out var result, out var error)); 55Assert.False(string.IsNullOrEmpty(error)); 62Assert.False(DateTimeOffsetParser.Instance.TryParse(sv, out var result, out var error)); 63Assert.False(string.IsNullOrEmpty(error)); 70Assert.False(DateTimeOffsetParser.Instance.TryParse(sv, out var result, out var error)); 71Assert.False(string.IsNullOrEmpty(error)); 102Assert.False(CookieHeaderValueListParser.Instance.TryParse(sv, out var result, out var error)); 104Assert.False(string.IsNullOrEmpty(error)); 111Assert.False(CookieHeaderValueListParser.Instance.TryParse(sv, out var result, out var error)); 113Assert.False(string.IsNullOrEmpty(error)); 130Assert.False(CacheControlHeaderValueParser.Instance.TryParse(sv, out var result, out var error)); 132Assert.False(string.IsNullOrEmpty(error)); 139Assert.False(CacheControlHeaderValueParser.Instance.TryParse(sv, out var result, out var error)); 141Assert.False(string.IsNullOrEmpty(error)); 158Assert.False(ContentDispositionHeaderValueParser.Instance.TryParse(sv, out var result, out var error)); 160Assert.False(string.IsNullOrEmpty(error)); 167Assert.False(ContentDispositionHeaderValueParser.Instance.TryParse(sv, out var result, out var error)); 169Assert.False(string.IsNullOrEmpty(error)); 186Assert.False(MediaTypeHeaderValueParser.Instance.TryParse(sv, out var result, out var error)); 188Assert.False(string.IsNullOrEmpty(error)); 195Assert.False(MediaTypeHeaderValueParser.Instance.TryParse(sv, out var result, out var error)); 197Assert.False(string.IsNullOrEmpty(error)); 215Assert.False(MediaTypeHeaderValueListParser.Instance.TryParse(sv, out var result, out var error)); 217Assert.False(string.IsNullOrEmpty(error)); 234Assert.False(EntityTagHeaderValueListParser.Instance.TryParse(sv, out var result, out var error)); 236Assert.False(string.IsNullOrEmpty(error)); 265Assert.False(StringWithQualityHeaderValueListParser.Instance.TryParse(sv, out var result, out var error)); 267Assert.False(string.IsNullOrEmpty(error)); 284Assert.False(UriParser.Instance.TryParse(sv, out var result, out var error)); 286Assert.False(string.IsNullOrEmpty(error)); 293Assert.False(UriParser.Instance.TryParse(sv, out var result, out var error)); 295Assert.False(string.IsNullOrEmpty(error)); 314Assert.False(RangeHeaderValueParser.Instance.TryParse(sv, out var result, out var error)); 316Assert.False(string.IsNullOrEmpty(error)); 323Assert.False(RangeHeaderValueParser.Instance.TryParse(sv, out var result, out var error)); 325Assert.False(string.IsNullOrEmpty(error)); 352Assert.False(RangeConditionHeaderValueParser.Instance.TryParse(sv, out var result, out var error)); 354Assert.False(string.IsNullOrEmpty(error)); 361Assert.False(RangeConditionHeaderValueParser.Instance.TryParse(sv, out var result, out var error)); 363Assert.False(string.IsNullOrEmpty(error)); 417Assert.False(IPAddressListParser.Instance.TryParse(sv, out var result, out var error)); 419Assert.False(string.IsNullOrEmpty(error)); 426Assert.False(IPAddressListParser.Instance.TryParse(sv, out var result, out var error));
Microsoft.AspNetCore.HeaderPropagation.Tests (1)
HeaderPropagationMessageHandlerTest.cs (1)
183Assert.False(Handler.Headers.Contains("inout"));
Microsoft.AspNetCore.HostFiltering.Tests (2)
HostFilteringMiddlewareTests.cs (1)
65Assert.False(c.Request.Headers.TryGetValue(HeaderNames.Host, out var host));
MiddlewareConfigurationManagerTests.cs (1)
67Assert.False(ReferenceEquals(configurationBeforeChange, configurationAfterChange));
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
LinkedApplicationTests.cs (1)
44Assert.False(deployer.HostProcess.HasExited);
Microsoft.AspNetCore.Hosting.Tests (44)
HostingApplicationDiagnosticsTests.cs (7)
165Assert.False(context.MetricsEnabled); 230Assert.False(context.EventLogEnabled); 525Assert.False(startFired); 526Assert.False(stopFired); 560Assert.False(isEnabledStartFired); 561Assert.False(eventsFired); 598Assert.False(eventsFired);
HostingMetricsTests.cs (2)
99Assert.False(measurement.Tags.ContainsKey("error.type")); 111Assert.False(measurement.Tags.ContainsKey("aspnetcore.request.is_unhandled"));
Http\DefaultHttpContextFactoryTests.cs (2)
98Assert.False(context._active); 117Assert.False(context._active);
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (8)
304Assert.False(file.Exists); 305Assert.False(file.IsDirectory); 322Assert.False(file.IsDirectory); 341Assert.False(file.IsDirectory); 408Assert.False(file.Exists); 423Assert.False(file.IsDirectory); 424Assert.False(file.Exists); 454Assert.False(contents.Exists);
WebHostBuilderTests.cs (2)
1309Assert.False(filter.Executed); 1390Assert.False(service.StartCalled);
WebHostTests.AsyncDisposable.cs (3)
30Assert.False(provider.DisposeCalled); 31Assert.False(provider.DisposeAsyncCalled); 38Assert.False(provider.DisposeCalled);
WebHostTests.cs (20)
44Assert.False(serverAddressesFeature.Addresses.Any()); 45Assert.False(serverAddressesFeature.PreferHostingUrls); 64Assert.False(serverAddressFeature.PreferHostingUrls); 83Assert.False(serverAddressFeature.PreferHostingUrls); 103Assert.False(serverAddressFeature.PreferHostingUrls); 115Assert.False(serverAddressesFeature.PreferHostingUrls); 387Assert.False(singleton.Disposed); 388Assert.False(transient.Disposed); 392Assert.False(singleton.Disposed); 393Assert.False(transient.Disposed); 414Assert.False(applicationLifetime.ApplicationStarted.IsCancellationRequested); 415Assert.False(applicationLifetime2.ApplicationStarted.IsCancellationRequested); 473Assert.False(hostedServiceCalls2[0]); 559Assert.False(svc.StartCalled); 561Assert.False(svc.StopCalled); 563Assert.False(svc.StopCalled); 693Assert.False(hostedServiceCalls2[0]); 694Assert.False(started.All(s => s)); // Server doesn't start if hosted services throw 695Assert.False(started2.All(s => s)); 880Assert.False(string.IsNullOrWhiteSpace(httpContext.TraceIdentifier));
Microsoft.AspNetCore.Http.Abstractions.Tests (43)
EndpointFilterInvocationContextOfTTests.cs (1)
65Assert.False(context.Contains("This does not exist"));
HostStringTest.cs (1)
165Assert.False(HostString.MatchesAny(host, new StringSegment[] { pattern }));
PathStringTests.cs (5)
70Assert.False(result.HasValue); 297Assert.False(converter.CanConvertFrom(typeof(int))); 298Assert.False(converter.CanConvertFrom(typeof(bool))); 300Assert.False(converter.CanConvertTo(typeof(int))); 301Assert.False(converter.CanConvertTo(typeof(bool)));
QueryStringTests.cs (3)
22Assert.False(query.HasValue); 26Assert.False(query.HasValue); 30Assert.False(query.HasValue);
RouteValueDictionaryTests.cs (32)
225Assert.False(value); 298Assert.False(value); 435Assert.False(result); 1065Assert.False(result); 1085Assert.False(result); 1141Assert.False(result); 1162Assert.False(result); 1180Assert.False(result); 1193Assert.False(result); 1206Assert.False(result); 1254Assert.False(result); 1372Assert.False(result); 1393Assert.False(result); 1408Assert.False(result); 1421Assert.False(result); 1434Assert.False(result); 1449Assert.False(result); 1497Assert.False(result); 1548Assert.False(result); 1562Assert.False(result); 1576Assert.False(result); 1592Assert.False(result); 1645Assert.False(result); 1710Assert.False(dict.ContainsKey("key")); 1735Assert.False(dict.ContainsKey("key")); 1760Assert.False(dict.ContainsKey("key")); 1809Assert.False(result); 1900Assert.False(result); 1919Assert.False(result); 1933Assert.False(result); 1947Assert.False(result); 1995Assert.False(result);
UsePathBaseExtensionsTests.cs (1)
27Assert.False(useCalled);
Microsoft.AspNetCore.Http.Connections.Tests (44)
HttpConnectionDispatcherTests.cs (33)
132Assert.False(writeTask.IsCompleted); 240Assert.False(executeTask.IsCompleted); 1020Assert.False(exists); 1052Assert.False(exists); 1084Assert.False(exists); 1120Assert.False(exists); 1159Assert.False(exists); 1311Assert.False(manager.TryGetConnection(connection.ConnectionId, out var _)); 1350Assert.False(manager.TryGetConnection(connection.ConnectionId, out var _)); 1394Assert.False(manager.TryGetConnection(connection.ConnectionId, out var _)); 1455Assert.False(request1.IsCompleted); 1531Assert.False(request2.IsCompleted); 1572Assert.False(request1.IsCompleted); 1573Assert.False(request2.IsCompleted); 1582Assert.False(request2.IsCompleted); 1588Assert.False(request1.IsCompleted); 1699Assert.False(exists); 1741Assert.False(exists); 1966Assert.False(windowsIdentity.AccessToken.IsClosed); 2081Assert.False(pollTask.IsCompleted); 2098Assert.False(manager.TryGetConnection(connection.ConnectionToken, out _)); 2146Assert.False(manager.TryGetConnection(connection.ConnectionToken, out _)); 2186Assert.False(pollTask.IsCompleted); 2303Assert.False(negotiateResponse.TryGetValue("useStatefulReconnect", out _)); 2332Assert.False(negotiateResponse.TryGetValue("useStatefulReconnect", out _)); 2429Assert.False(newWebSocketTask.IsCompleted); 2505Assert.False(called); 2701Assert.False(sendTask.IsCompleted); 2751Assert.False(manager.TryGetConnection(connection.ConnectionToken, out var _)); 2792Assert.False(pollTask.IsCompleted); 3557Assert.False(feature.Enabled); 3584Assert.False(((HttpRequestTimeoutFeature)context.Features.Get<IHttpRequestTimeoutFeature>()).Enabled); 3590Assert.False(((HttpRequestTimeoutFeature)context.Features.Get<IHttpRequestTimeoutFeature>()).Enabled);
HttpConnectionManagerTests.cs (9)
31Assert.False(options.CloseOnAuthenticationExpiration); 194Assert.False(connectionManager.TryGetConnection(connection.ConnectionToken, out newConnection)); 233Assert.False(connectionManager.TryGetConnection(connection.ConnectionId, out var _)); 297Assert.False(firstTask.IsCompleted); 298Assert.False(secondTask.IsCompleted); 320Assert.False(firstTask.IsCompleted); 321Assert.False(secondTask.IsCompleted); 347Assert.False(firstTask.IsCompleted); 348Assert.False(secondTask.IsCompleted);
WebSocketsTests.cs (2)
405Assert.False(sequence.IsSingleSegment); 420Assert.False(messages.Received[0].EndOfMessage);
Microsoft.AspNetCore.Http.Extensions.Tests (64)
HttpRequestJsonExtensionsTests.cs (1)
145Assert.False(readTask.IsCompleted);
HttpResponseJsonExtensionsTests.cs (5)
133Assert.False(writeTask.IsCompleted); 329Assert.False(iterated); 363Assert.False(iterated); 397Assert.False(iterated); 431Assert.False(iterated);
ProblemDetailsDefaultWriterTest.cs (1)
670Assert.False(result);
PropertyAsParameterInfoTests.cs (2)
145Assert.False(parameterInfo.HasDefaultValue); 173Assert.False(parameterInfo.HasDefaultValue);
RequestDelegateFactoryTests.cs (18)
670Assert.False(headerValues.HasValue); 671Assert.False(queryValues.HasValue); 672Assert.False(formValues.HasValue); 763Assert.False(invoked); 766Assert.False(httpContext.RequestAborted.IsCancellationRequested); 768Assert.False(httpContext.Response.HasStarted); 1590Assert.False(httpContext.RequestAborted.IsCancellationRequested); 1675Assert.False(httpContext.RequestAborted.IsCancellationRequested); 1759Assert.False(httpContext.RequestAborted.IsCancellationRequested); 1789Assert.False(httpContext.RequestAborted.IsCancellationRequested); 1819Assert.False(httpContext.RequestAborted.IsCancellationRequested); 1849Assert.False(httpContext.RequestAborted.IsCancellationRequested); 1876Assert.False(httpContext.RequestAborted.IsCancellationRequested); 1916Assert.False(httpContext.RequestAborted.IsCancellationRequested); 1944Assert.False(invoked); 1945Assert.False(httpContext.RequestAborted.IsCancellationRequested); 1977Assert.False(invoked); 1978Assert.False(httpContext.RequestAborted.IsCancellationRequested);
RequestDelegateFactoryTests.FormMapping.cs (1)
204Assert.False(capturedTodo.IsCompleted);
RequestDelegateGenerator\RequestDelegateCreationTests.cs (2)
284Assert.False(httpContext.RequestAborted.IsCancellationRequested); 315Assert.False(httpContext.RequestAborted.IsCancellationRequested);
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (7)
375Assert.False((bool)httpContext.Items["invoked"]); 879Assert.False((bool)httpContext.Items["invoked"]); 938Assert.False(httpContext.RequestAborted.IsCancellationRequested); 970Assert.False(httpContext.RequestAborted.IsCancellationRequested); 972Assert.False(httpContext.Response.HasStarted); 1009Assert.False(httpContext.RequestAborted.IsCancellationRequested); 1011Assert.False(httpContext.Response.HasStarted);
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBody.cs (1)
482Assert.False(httpContext.RequestAborted.IsCancellationRequested);
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (23)
41Assert.False(httpContext.RequestAborted.IsCancellationRequested); 43Assert.False(httpContext.Response.HasStarted); 104Assert.False(httpContext.RequestAborted.IsCancellationRequested); 106Assert.False(httpContext.Response.HasStarted); 157Assert.False(httpContext.RequestAborted.IsCancellationRequested); 159Assert.False(httpContext.Response.HasStarted); 194Assert.False(httpContext.RequestAborted.IsCancellationRequested); 196Assert.False(httpContext.Response.HasStarted); 225Assert.False(httpContext.RequestAborted.IsCancellationRequested); 274Assert.False(httpContext.RequestAborted.IsCancellationRequested); 276Assert.False(httpContext.Response.HasStarted); 305Assert.False(httpContext.RequestAborted.IsCancellationRequested); 353Assert.False(httpContext.RequestAborted.IsCancellationRequested); 355Assert.False(httpContext.Response.HasStarted); 489Assert.False(httpContext.RequestAborted.IsCancellationRequested); 525Assert.False(httpContext.RequestAborted.IsCancellationRequested); 527Assert.False(httpContext.Response.HasStarted); 567Assert.False(httpContext.RequestAborted.IsCancellationRequested); 569Assert.False(httpContext.Response.HasStarted); 605Assert.False(httpContext.RequestAborted.IsCancellationRequested); 607Assert.False(httpContext.Response.HasStarted); 646Assert.False(httpContext.RequestAborted.IsCancellationRequested); 648Assert.False(httpContext.Response.HasStarted);
RequestDelegateGenerator\RequestDelegateCreationTests.QueryParameters.cs (1)
77Assert.False(httpContext.RequestAborted.IsCancellationRequested);
RequestDelegateGenerator\RuntimeCreationTests.ComplexFormBinding.cs (2)
110Assert.False(elements["bar"]); 147Assert.False(elements["bar"]);
Microsoft.AspNetCore.Http.Results.Tests (44)
HttpResultsHelperTests.cs (1)
211Assert.False(two.IsComplete);
LocalRedirectResultTests.cs (3)
22Assert.False(result.PreserveMethod); 23Assert.False(result.Permanent); 37Assert.False(result.PreserveMethod);
RedirectResultTests.cs (2)
69Assert.False(actual); 83Assert.False(actual);
ResultsTests.cs (11)
323Assert.False(pushStreamResult.EnableRangeProcessing); 1098Assert.False(result.Permanent); 1099Assert.False(result.PreserveMethod); 1116Assert.False(result.PreserveMethod); 1480Assert.False(result.PreserveMethod); 1481Assert.False(result.Permanent); 1482Assert.False(result.AcceptLocalUrlOnly); 1496Assert.False(result.PreserveMethod); 1498Assert.False(result.AcceptLocalUrlOnly); 1513Assert.False(result.Permanent); 1514Assert.False(result.AcceptLocalUrlOnly);
src\Shared\ResultsTests\FileContentResultTestBase.cs (1)
327Assert.False(httpResponse.Headers.ContainsKey(HeaderNames.ContentType));
src\Shared\ResultsTests\FileStreamResultTestBase.cs (13)
67Assert.False(readStream.CanSeek); 108Assert.False(readStream.CanSeek); 145Assert.False(readStream.CanSeek); 182Assert.False(readStream.CanSeek); 216Assert.False(readStream.CanSeek); 252Assert.False(readStream.CanSeek); 288Assert.False(readStream.CanSeek); 322Assert.False(httpResponse.Headers.ContainsKey(HeaderNames.ContentType)); 325Assert.False(readStream.CanSeek); 368Assert.False(readStream.CanSeek); 392Assert.False(originalStream.CanSeek); 418Assert.False(originalStream.CanSeek); 436Assert.False(readStream.CanSeek);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (1)
262Assert.False(httpResponse.Headers.ContainsKey(HeaderNames.ContentType));
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
312Assert.False(httpResponse.Headers.ContainsKey(HeaderNames.ContentType));
TypedResultsTests.cs (11)
407Assert.False(pushStreamResult.EnableRangeProcessing); 942Assert.False(result.Permanent); 943Assert.False(result.PreserveMethod); 960Assert.False(result.PreserveMethod); 1262Assert.False(result.PreserveMethod); 1263Assert.False(result.Permanent); 1264Assert.False(result.AcceptLocalUrlOnly); 1278Assert.False(result.PreserveMethod); 1280Assert.False(result.AcceptLocalUrlOnly); 1295Assert.False(result.Permanent); 1296Assert.False(result.AcceptLocalUrlOnly);
Microsoft.AspNetCore.Http.Tests (16)
ApplicationBuilderTests.cs (2)
76Assert.False(endpointCalled); 153Assert.False(endpointCalled);
DefaultHttpContextTests.cs (5)
86Assert.False(context.User.Identity.IsAuthenticated); 93Assert.False(context.User.Identity.IsAuthenticated); 257Assert.False(scope.DisposeCalled); 265Assert.False(context._active); 273Assert.False(context._active);
HeaderDictionaryTests.cs (2)
32Assert.False(headers.ContainsKey("header2")); 82Assert.False(headers.ContainsKey("header2"));
Internal\DefaultHttpRequestTests.cs (3)
123Assert.False(request.IsHttps); 129Assert.False(request.IsHttps); 172Assert.False(cookies0.ContainsKey("key0"));
Internal\DefaultHttpResponseTests.cs (1)
188Assert.False(instance.DisposeCalled);
Internal\ReferenceReadStreamTests.cs (2)
21Assert.False(stream.CanSeek); 28Assert.False(stream.CanWrite);
Timeouts\RequestTimeoutsMiddlewareTests.cs (1)
252Assert.False(context.Items.ContainsKey("SetFrom"));
Microsoft.AspNetCore.HttpLogging.Tests (6)
FileLoggerProcessorTests.cs (2)
466Assert.False(File.Exists(filePath1)); 467Assert.False(File.Exists(filePath2));
HttpLoggingMiddlewareTests.cs (2)
1295Assert.False(TestSink.Writes.TryTake(out var _)); 1491Assert.False(httpContext.Features.Get<IHttpUpgradeFeature>() is UpgradeFeatureLoggingDecorator);
W3CLoggerOptionsTests.cs (2)
13Assert.False(options.LoggingFields.HasFlag(W3CLoggingFields.UserName)); 14Assert.False(options.LoggingFields.HasFlag(W3CLoggingFields.Cookie));
Microsoft.AspNetCore.HttpOverrides.Tests (14)
ForwardedHeadersMiddlewareTest.cs (12)
46Assert.False(context.Request.Headers.ContainsKey("X-Original-For")); 48Assert.False(context.Request.Headers.ContainsKey("X-Forwarded-For")); 83Assert.False(context.Request.Headers.ContainsKey("X-Original-For")); 189Assert.False(context.Request.Headers.ContainsKey("X-Original-For")); 1162Assert.False(context.Request.Headers.ContainsKey("X-Original-Prefix")); 1164Assert.False(context.Request.Headers.ContainsKey("X-Forwarded-Prefix")); 1206Assert.False(context.Request.Headers.ContainsKey("X-Forwarded-Prefix")); 1239Assert.False(context.Request.Headers.ContainsKey("X-Original-Prefix")); 1286Assert.False(context.Request.Headers.ContainsKey("X-Original-For")); 1287Assert.False(context.Request.Headers.ContainsKey("X-Original-Host")); 1288Assert.False(context.Request.Headers.ContainsKey("X-Original-Proto")); 1289Assert.False(context.Request.Headers.ContainsKey("X-Original-Prefix"));
IPNetworkTest.cs (2)
40Assert.False(network.Contains(IPAddress.Parse(addressText))); 133Assert.False(result);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (15)
SqlStoreOnlyUsersTestBase.cs (2)
88Assert.False(DbUtil.VerifyColumns(db, "AspNetRoles", "Id", "Name", "NormalizedName", "ConcurrencyStamp")); 89Assert.False(DbUtil.VerifyColumns(db, "AspNetUserRoles", "UserId", "RoleId"));
SqlStoreTestBase.cs (3)
163Assert.False(await roleMgr.RoleExistsAsync(roleName)); 172Assert.False(await roleMgr.RoleExistsAsync(roleName)); 187Assert.False(await roleMgr.RoleExistsAsync(roleName));
UserStoreEncryptPersonalDataTest.cs (10)
231Assert.False(FindInk(connection, "PhoneNumber", guid)); 232Assert.False(FindInk(connection, "Email", guid)); 233Assert.False(FindInk(connection, "UserName", guid)); 234Assert.False(FindInk(connection, "PersonalData1", guid)); 235Assert.False(FindInk(connection, "PersonalData2", guid)); 236Assert.False(FindAuthenticatorKeyInk(connection, guid)); 237Assert.False(FindTokenInk(connection, guid, "loginProvider", "token")); 240Assert.False(FindInk(connection, "NonPersonalData1", guid)); 241Assert.False(FindInk(connection, "NonPersonalData2", guid)); 242Assert.False(FindInk(connection, "SafePersonalData", guid));
Microsoft.AspNetCore.Identity.FunctionalTests (20)
ManagementTests.cs (2)
307Assert.False((bool)jsonData["EmailConfirmed"]); 311Assert.False((bool)jsonData["PhoneNumberConfirmed"]);
MapIdentityApiTests.cs (14)
113Assert.False(loginResponse.Headers.Contains(HeaderNames.SetCookie)); 692Assert.False(twoFactorKeyContent.GetProperty("isTwoFactorEnabled").GetBoolean()); 693Assert.False(twoFactorKeyContent.GetProperty("isMachineRemembered").GetBoolean()); 705Assert.False(enable2faContent.GetProperty("isMachineRemembered").GetBoolean()); 765Assert.False(disable2faContent.GetProperty("isTwoFactorEnabled").GetBoolean()); 804Assert.False(resetKeyContent.GetProperty("isTwoFactorEnabled").GetBoolean()); 901Assert.False(twoFactorKeyContent.GetProperty("isTwoFactorEnabled").GetBoolean()); 902Assert.False(twoFactorKeyContent.GetProperty("isMachineRemembered").GetBoolean()); 914Assert.False(enable2faContent.GetProperty("isMachineRemembered").GetBoolean()); 926Assert.False(session2faContent.GetProperty("isMachineRemembered").GetBoolean()); 935Assert.False(session2faContent2.GetProperty("isMachineRemembered").GetBoolean()); 1148Assert.False(infoPostResponse.Headers.Contains(HeaderNames.SetCookie)); 1169Assert.False(emailConfirmationResponse.Headers.Contains(HeaderNames.SetCookie)); 1252Assert.False(infoPostContent.GetProperty("isEmailConfirmed").GetBoolean());
Pages\Account\Manage\Email.cs (1)
36Assert.False(Context.EmailConfirmed);
Pages\Account\Manage\TwoFactorAuthentication.cs (1)
36Assert.False(Context.TwoFactorEnabled);
Pages\Index.cs (2)
44Assert.False(Context.UserAuthenticated); 54Assert.False(Context.UserAuthenticated);
Microsoft.AspNetCore.Identity.Specification.Tests (72)
IdentityResultAssert.cs (3)
31Assert.False(result.Succeeded); 40Assert.False(result.Succeeded); 50Assert.False(result.Succeeded);
IdentitySpecificationTestBase.cs (10)
133Assert.False(await manager.RoleExistsAsync(roleName)); 220Assert.False(await manager.RoleExistsAsync(roleName)); 224Assert.False(await manager.RoleExistsAsync(roleName)); 291Assert.False(await manager.RoleExistsAsync(roleName)); 306Assert.False(await manager.RoleExistsAsync(roleName)); 311Assert.False(await manager.RoleExistsAsync("update")); 348Assert.False(await manager.RoleExistsAsync(roleName)); 438Assert.False(await userManager.IsInRoleAsync(user, await roleManager.GetRoleNameAsync(roles[2]))); 467Assert.False(await userManager.IsInRoleAsync(u, roleName)); 527Assert.False(await userMgr.IsInRoleAsync(user, roleName));
UserManagerSpecificationTests.cs (59)
331Assert.False(await manager.CheckPasswordAsync(user, "password")); 560Assert.False(await manager.HasPasswordAsync(user)); 561Assert.False(await manager.CheckPasswordAsync(user, "whatever")); 602Assert.False(await manager.HasPasswordAsync(user)); 675Assert.False(await manager.HasPasswordAsync(user)); 694Assert.False(await manager.CheckPasswordAsync(user, password)); 956Assert.False(await manager.IsEmailConfirmedAsync(user)); 1002Assert.False(await manager.CheckPasswordAsync(user, password)); 1073Assert.False(await manager.VerifyUserTokenAsync(user, "Static", "test2", token)); 1076Assert.False(await manager.VerifyUserTokenAsync(user, "Static", "test", token + "a")); 1079Assert.False(await manager.VerifyUserTokenAsync(user2, "Static", "test", token)); 1094Assert.False(await manager.IsEmailConfirmedAsync(user)); 1102Assert.False(await manager.IsEmailConfirmedAsync(user)); 1116Assert.False(await manager.IsEmailConfirmedAsync(user)); 1119Assert.False(await manager.IsEmailConfirmedAsync(user)); 1132Assert.False(await manager.IsEmailConfirmedAsync(user)); 1139Assert.False(await manager.IsEmailConfirmedAsync(user)); 1157Assert.False(await mgr.IsLockedOutAsync(user)); 1179Assert.False(await mgr.IsLockedOutAsync(user)); 1181Assert.False(await mgr.IsLockedOutAsync(user)); 1182Assert.False(await mgr.GetLockoutEndDateAsync(user) > DateTimeOffset.UtcNow.AddMinutes(55)); 1204Assert.False(await mgr.IsLockedOutAsync(user)); 1206Assert.False(await mgr.IsLockedOutAsync(user)); 1207Assert.False(await mgr.GetLockoutEndDateAsync(user) > DateTimeOffset.UtcNow.AddMinutes(55)); 1211Assert.False(await mgr.IsLockedOutAsync(user)); 1212Assert.False(await mgr.GetLockoutEndDateAsync(user) > DateTimeOffset.UtcNow.AddMinutes(55)); 1214Assert.False(await mgr.IsLockedOutAsync(user)); 1215Assert.False(await mgr.GetLockoutEndDateAsync(user) > DateTimeOffset.UtcNow.AddMinutes(55)); 1232Assert.False(await mgr.GetLockoutEnabledAsync(user)); 1235Assert.False(await mgr.IsLockedOutAsync(user)); 1237Assert.False(await mgr.IsLockedOutAsync(user)); 1238Assert.False(await mgr.GetLockoutEndDateAsync(user) > DateTimeOffset.UtcNow.AddMinutes(55)); 1259Assert.False(await mgr.IsLockedOutAsync(user)); 1274Assert.False(await mgr.GetLockoutEnabledAsync(user)); 1278Assert.False(await mgr.IsLockedOutAsync(user)); 1292Assert.False(await mgr.IsLockedOutAsync(user)); 1307Assert.False(await mgr.IsLockedOutAsync(user)); 1370Assert.False(await manager.IsPhoneNumberConfirmedAsync(user)); 1403Assert.False(await manager.IsPhoneNumberConfirmedAsync(user)); 1408Assert.False(await manager.IsPhoneNumberConfirmedAsync(user)); 1437Assert.False(await manager.IsPhoneNumberConfirmedAsync(user)); 1455Assert.False(await manager.IsPhoneNumberConfirmedAsync(user)); 1460Assert.False(await manager.IsPhoneNumberConfirmedAsync(user)); 1484Assert.False(await manager.VerifyChangePhoneNumberTokenAsync(user, "bogus", num1)); 1485Assert.False(await manager.VerifyChangePhoneNumberTokenAsync(user, "bogus", num2)); 1502Assert.False(await manager.IsEmailConfirmedAsync(user)); 1524Assert.False(await manager.IsEmailConfirmedAsync(user)); 1551Assert.False(await manager.IsEmailConfirmedAsync(user)); 1573Assert.False(await manager.IsEmailConfirmedAsync(user)); 1580Assert.False(await manager.IsEmailConfirmedAsync(user)); 1597Assert.False(await manager.IsEmailConfirmedAsync(user)); 1602Assert.False(await manager.IsEmailConfirmedAsync(user)); 1620Assert.False(await manager.IsEmailConfirmedAsync(user)); 1626Assert.False(await manager.IsEmailConfirmedAsync(user)); 1657Assert.False(await manager.VerifyTwoFactorTokenAsync(user, factorId, token)); 1811Assert.False(factors.Any()); 1854Assert.False(await manager.VerifyTwoFactorTokenAsync(user, factorId, token)); 1870Assert.False(await manager.VerifyTwoFactorTokenAsync(user, "Email", token)); 1884Assert.False(await manager.VerifyTwoFactorTokenAsync(user, "Phone", "bogus"));
Microsoft.AspNetCore.Identity.Test (27)
IdentityOptionsTest.cs (1)
29Assert.False(options.User.RequireUniqueEmail);
IdentityResultTest.cs (2)
12Assert.False(result.Succeeded); 20Assert.False(result.Succeeded);
RoleManagerTest.cs (1)
54Assert.False(manager.SupportsQueryableRoles);
SignInManagerTest.cs (9)
54Assert.False(result.Succeeded); 84Assert.False(result.Succeeded); 291Assert.False(result.Succeeded); 423Assert.False(result.Succeeded); 849Assert.False(result.Succeeded); 850Assert.False(checkResult.Succeeded); 869Assert.False(result.Succeeded); 896Assert.False(result.Succeeded); 923Assert.False(result.Succeeded);
UserManagerTest.cs (14)
675Assert.False(await manager.CheckPasswordAsync(null, "whatevs")); 682Assert.False(manager.SupportsQueryableUsers); 690Assert.False(manager.SupportsUserEmail); 702Assert.False(manager.SupportsUserPhoneNumber); 723Assert.False(manager.SupportsUserPassword); 738Assert.False(manager.SupportsUserSecurityStamp); 751Assert.False(manager.SupportsUserLogin); 762Assert.False(manager.SupportsUserClaim); 905Assert.False(manager.SupportsUserTwoFactor); 915Assert.False(manager.SupportsUserLockout); 928Assert.False(manager.SupportsUserRole); 942Assert.False(manager.SupportsUserAuthenticationTokens); 953Assert.False(manager.SupportsUserAuthenticatorKey); 963Assert.False(manager.SupportsUserTwoFactorRecoveryCodes);
Microsoft.AspNetCore.InternalTesting.Tests (25)
AspNetTestAssemblyRunnerTest.cs (3)
26Assert.False(fixture.ConstructorWithMessageSinkCalled); 28Assert.False(fixture.ParameterlessConstructorCalled); 42Assert.False(fixture.ParameterlessConstructorCalled);
DockerTests.cs (1)
18Assert.False(RuntimeInformation.IsOSPlatform(OSPlatform.Windows));
EnvironmentVariableSkipConditionTest.cs (3)
30Assert.False(isMet); 106Assert.False(isMet); 149Assert.False(isMet);
MaximumOSVersionAttributeTest.cs (1)
74Assert.False(osSkipAttribute.IsMet);
MinimumOSVersionAttributeTest.cs (1)
62Assert.False(osSkipAttribute.IsMet);
OSSkipConditionAttributeTest.cs (7)
21Assert.False(osSkipAttribute.IsMet); 44Assert.False(osSkipAttributeLinux.IsMet); 45Assert.False(osSkipAttributeMacOSX.IsMet); 56Assert.False(osSkipAttribute.IsMet); 57Assert.False(osSkipAttributeMacOSX.IsMet); 68Assert.False(osSkipAttribute.IsMet); 69Assert.False(osSkipAttributeLinux.IsMet);
RetryTest.cs (2)
19Assert.False(_wasInvokedPreviously); 36Assert.False(_wasInvokedPreviously);
TestPlatformHelperTest.cs (7)
17Assert.False(TestPlatformHelper.IsMac); 18Assert.False(TestPlatformHelper.IsWindows); 26Assert.False(TestPlatformHelper.IsLinux); 28Assert.False(TestPlatformHelper.IsWindows); 36Assert.False(TestPlatformHelper.IsLinux); 37Assert.False(TestPlatformHelper.IsMac); 52Assert.False(TestPlatformHelper.IsMono);
Microsoft.AspNetCore.JsonPatch.Tests (28)
Internal\DictionaryAdapterTest.cs (6)
80Assert.False(getStatus); 107Assert.False(getStatus); 193Assert.False(replaceStatus); 211Assert.False(replaceStatus); 229Assert.False(removeStatus); 334Assert.False(testStatus);
Internal\ListAdapterTest.cs (10)
26Assert.False(addStatus); 44Assert.False(addStatus); 82Assert.False(addStatus); 100Assert.False(addStatus); 190Assert.False(addStatus); 316Assert.False(getStatus); 355Assert.False(removeStatus); 390Assert.False(replaceStatus); 476Assert.False(testStatus); 493Assert.False(testStatus);
Internal\ObjectVisitorTest.cs (4)
169Assert.False(visitStatus); 187Assert.False(visitStatus); 219Assert.False(visitStatus); 235Assert.False(visitStatus);
Internal\PocoAdapterTest.cs (6)
54Assert.False(addStatus); 95Assert.False(getStatus); 135Assert.False(removeStatus); 177Assert.False(replaceStatus); 198Assert.False(replaceStatus); 259Assert.False(testStatus);
JsonPatchDocumentJObjectTest.cs (2)
92Assert.False(model.CustomData.ContainsKey("LastName")); 108Assert.False(model.CustomData.ContainsKey("FirstName"));
Microsoft.AspNetCore.Mvc.Abstractions.Test (18)
Filters\FilterContextTest.cs (2)
30Assert.False(result); 69Assert.False(result);
ModelBinding\ModelMetadataTest.cs (5)
30Assert.False(modelMetadata.IsComplexType); 106Assert.False(modelMetadata.IsCollectionType); 128Assert.False(modelMetadata.IsEnumerableType); 438Assert.False(metadata.IsCollectionType); 440Assert.False(metadata.IsComplexType);
ModelBinding\ModelStateDictionaryTest.cs (11)
25Assert.False(result); 43Assert.False(containsKey); 463Assert.False(isValid); 544Assert.False(isValid); 795Assert.False(result); 819Assert.False(dictionary.HasReachedMaxErrors); 823Assert.False(dictionary.HasReachedMaxErrors); 827Assert.False(dictionary.HasReachedMaxErrors); // Still room for TooManyModelErrorsException. 829Assert.False(result); 833Assert.False(result); 900Assert.False(result);
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (42)
ApiResponseTypeProviderTest.cs (25)
41Assert.False(responseType.IsDefaultResponse); 54Assert.False(responseType.IsDefaultResponse); 61Assert.False(responseType.IsDefaultResponse); 106Assert.False(responseType.IsDefaultResponse); 119Assert.False(responseType.IsDefaultResponse); 132Assert.False(responseType.IsDefaultResponse); 164Assert.False(responseType.IsDefaultResponse); 177Assert.False(responseType.IsDefaultResponse); 184Assert.False(responseType.IsDefaultResponse); 215Assert.False(responseType.IsDefaultResponse); 262Assert.False(responseType.IsDefaultResponse); 271Assert.False(responseType.IsDefaultResponse); 310Assert.False(responseType.IsDefaultResponse); 319Assert.False(responseType.IsDefaultResponse); 361Assert.False(responseType.IsDefaultResponse); 370Assert.False(responseType.IsDefaultResponse); 464Assert.False(responseType.IsDefaultResponse); 551Assert.False(responseType.IsDefaultResponse); 560Assert.False(responseType.IsDefaultResponse); 599Assert.False(responseType.IsDefaultResponse); 608Assert.False(responseType.IsDefaultResponse); 641Assert.False(responseType.IsDefaultResponse); 671Assert.False(responseType.IsDefaultResponse); 697Assert.False(responseType.IsDefaultResponse); 764Assert.False(result.Any());
DefaultApiDescriptionProviderTest.cs (4)
2043Assert.False(description.IsRequired); 2064Assert.False(description.IsRequired); 2118Assert.False(description.IsRequired); 2137Assert.False(description.IsRequired);
EndpointMetadataApiDescriptionProviderTest.cs (13)
114Assert.False(apiParameterDescription.IsRequired); 673Assert.False(param.IsRequired); 705param => Assert.False(param.IsRequired), 707param => Assert.False(param.IsRequired)); 735param => Assert.False(param.IsRequired)); 755Assert.False(barParam.IsRequired); 794Assert.False(fooParam.IsRequired); 813Assert.False(nameParam.IsRequired); 1051Assert.False(bodyParameterDescription.IsRequired); 1142Assert.False(bodyParameterDescription.IsRequired); 1174Assert.False(bodyParameterDescription.IsRequired); 1231Assert.False(bodyParameterDescription.IsRequired); 1304Assert.False(fromFileParam1.IsRequired);
Microsoft.AspNetCore.Mvc.Core.Test (389)
ApiExplorer\ApiConventionMatcherTest.cs (18)
36Assert.False(result); 50Assert.False(result); 64Assert.False(result); 78Assert.False(result); 134Assert.False(result); 148Assert.False(result); 162Assert.False(result); 176Assert.False(result); 190Assert.False(result); 204Assert.False(result); 232Assert.False(result); 258Assert.False(result); 313Assert.False(result); 327Assert.False(result); 341Assert.False(result); 355Assert.False(result); 369Assert.False(result); 383Assert.False(result);
ApiExplorer\ApiConventionResultTest.cs (1)
19Assert.False(result);
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (1)
195Assert.False(convention.IsInferForServiceParametersEnabled);
ApplicationModels\AttributeRouteModelTests.cs (2)
292Assert.False(combined.SuppressLinkGeneration); 329Assert.False(combined.SuppressPathMatching);
ApplicationModels\ControllerActionDescriptorProviderTests.cs (2)
297Assert.False(httpMethodMetadata.AcceptCorsPreflight); 330Assert.False(lastHttpMethodMetadata.AcceptCorsPreflight);
ApplicationModels\DefaultApplicationModelProviderTest.cs (10)
505Assert.False(isValid); 522Assert.False(isValid); 538Assert.False(isValid); 553Assert.False(isValid); 568Assert.False(isValid); 589Assert.False(isValid); 607Assert.False(isValid); 645Assert.False(isValid); 679Assert.False(isValid); 741Assert.False(isValid);
ConsumesAttributeTests.cs (5)
136Assert.False(constraint1.Accept(context)); 211Assert.False(constraint1.Accept(context)); 213Assert.False(constraint2.Accept(context)); 250Assert.False(constraint1.Accept(context)); 253Assert.False(constraint2.Accept(context));
ControllerBaseTest.cs (66)
52Assert.False(result.PreserveMethod); 53Assert.False(result.Permanent); 69Assert.False(result.PreserveMethod); 87Assert.False(result.Permanent); 150Assert.False(result.PreserveMethod); 151Assert.False(result.Permanent); 167Assert.False(result.PreserveMethod); 185Assert.False(result.Permanent); 292Assert.False(resultTemporary.PreserveMethod); 293Assert.False(resultTemporary.Permanent); 309Assert.False(resultTemporary.Permanent); 324Assert.False(resultPermanent.PreserveMethod); 359Assert.False(resultTemporary.PreserveMethod); 360Assert.False(resultTemporary.Permanent); 380Assert.False(resultTemporary.Permanent); 399Assert.False(resultPermanent.PreserveMethod); 439Assert.False(resultTemporary.PreserveMethod); 440Assert.False(resultTemporary.Permanent); 464Assert.False(resultTemporary.Permanent); 487Assert.False(resultPermanent.PreserveMethod); 532Assert.False(resultTemporary.PreserveMethod); 533Assert.False(resultTemporary.Permanent); 553Assert.False(resultTemporary.Permanent); 575Assert.False(result.PreserveMethod); 576Assert.False(result.Permanent); 601Assert.False(result.Permanent); 622Assert.False(resultPermanent.PreserveMethod); 665Assert.False(result.PreserveMethod); 716Assert.False(resultTemporary.PreserveMethod); 717Assert.False(resultTemporary.Permanent); 736Assert.False(resultTemporary.Permanent); 756Assert.False(result.PreserveMethod); 757Assert.False(result.Permanent); 780Assert.False(result.Permanent); 800Assert.False(resultPermanent.PreserveMethod); 840Assert.False(result.PreserveMethod); 882Assert.False(resultTemporary.PreserveMethod); 883Assert.False(resultTemporary.Permanent); 900Assert.False(resultTemporary.Permanent); 916Assert.False(resultPermanent.PreserveMethod); 953Assert.False(resultTemporary.PreserveMethod); 954Assert.False(resultTemporary.Permanent); 975Assert.False(resultTemporary.Permanent); 995Assert.False(resultPermanent.PreserveMethod); 1221Assert.False(result.Permanent); 1241Assert.False(resultPermanent.Permanent); 1677Assert.False(result.EnableRangeProcessing); 1739Assert.False(result.EnableRangeProcessing); 1783Assert.False(result.EnableRangeProcessing); 1827Assert.False(result.EnableRangeProcessing); 1876Assert.False(result.EnableRangeProcessing); 1929Assert.False(result.EnableRangeProcessing); 2708Assert.False(result); 2733Assert.False(context.PropertyFilter(context.ModelMetadata.Properties["Exclude1"])); 2734Assert.False(context.PropertyFilter(context.ModelMetadata.Properties["Exclude2"])); 2766Assert.False(context.PropertyFilter(context.ModelMetadata.Properties["Exclude1"])); 2767Assert.False(context.PropertyFilter(context.ModelMetadata.Properties["Exclude2"])); 2800Assert.False(context.PropertyFilter(context.ModelMetadata.Properties["Exclude1"])); 2801Assert.False(context.PropertyFilter(context.ModelMetadata.Properties["Exclude2"])); 2832Assert.False(context.PropertyFilter(context.ModelMetadata.Properties["Exclude1"])); 2833Assert.False(context.PropertyFilter(context.ModelMetadata.Properties["Exclude2"])); 2871Assert.False(InvokePropertyFilter("Exclude")); 2916Assert.False(context.PropertyFilter(context.ModelMetadata.Properties["Exclude1"])); 2917Assert.False(context.PropertyFilter(context.ModelMetadata.Properties["Exclude2"])); 3115Assert.False(result); 3152Assert.False(result);
Controllers\ControllerBinderDelegateProviderTest.cs (2)
416Assert.False(controllerContext.ModelState.IsValid); 512Assert.False(controllerContext.ModelState.IsValid);
Controllers\DefaultControllerActivatorTest.cs (1)
99Assert.False(controller.SyncDisposed);
Filters\FilterFactoryTest.cs (1)
47Assert.False(f.IsReusable);
Filters\MiddlewareFilterTest.cs (3)
79Assert.False(invoker.ControllerFactory.CreateCalled); 129Assert.False(invoker.ControllerFactory.CreateCalled); 214Assert.False(invoker.ControllerFactory.CreateCalled);
Formatters\InputFormatterTest.cs (5)
115Assert.False(result); 180Assert.False(result); 247Assert.False(result); 314Assert.False(result); 427Assert.False(result.HasError);
Formatters\JsonInputFormatterTestBase.cs (10)
79Assert.False(result.HasError); 100Assert.False(result.HasError); 121Assert.False(result.HasError); 227Assert.False(result.HasError); 248Assert.False(result.HasError); 270Assert.False(result.HasError); 302Assert.False(result.HasError); 434Assert.False(formatterContext.ModelState.ContainsKey("age")); 462Assert.False(result.HasError); 557Assert.False(testBufferedReadStream.Disposed);
Formatters\MediaTypeTest.cs (4)
178Assert.False(result.HasValue); 255Assert.False(result); 283Assert.False(result); 311Assert.False(result);
Formatters\OutputFormatterTests.cs (1)
70Assert.False(result);
Formatters\StreamOutputFormatterTest.cs (2)
58Assert.False(canWrite); 81Assert.False(result);
Formatters\StringOutputFormatterTests.cs (2)
56Assert.False(result); 124Assert.False(result);
Formatters\SystemTextJsonInputFormatterTest.cs (2)
103Assert.False(formatterContext.ModelState.IsValid); 124Assert.False(formatterContext.ModelState.IsValid);
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
145Assert.False(iterated);
Infrastructure\AsyncEnumerableReaderTest.cs (1)
26Assert.False(result);
Infrastructure\CompatibilitySwitchTest.cs (4)
15Assert.False(@switch.Value); 16Assert.False(@switch.IsValueSet); 27Assert.False(@switch.IsValueSet); 40Assert.False(@switch.Value);
Infrastructure\ConfigureCompatibilityOptionsTest.cs (2)
27Assert.False(options.TestProperty); 50Assert.False(options.TestProperty);
Infrastructure\ControllerActionInvokerTest.cs (4)
540Assert.False(c.ExceptionHandled); 574Assert.False(c.ExceptionHandled); 616Assert.False(context.ExceptionHandled); 661Assert.False(c.ExceptionHandled);
Infrastructure\DefaultActionDescriptorCollectionProviderTest.cs (3)
113Assert.False(changeToken1.HasChanged); 131Assert.False(changeToken2.HasChanged); 148Assert.False(changeToken3.HasChanged);
Infrastructure\DefaultApiProblemDetailsWriterTest.cs (1)
133Assert.False(result);
Infrastructure\JsonResultExecutorTestBase.cs (2)
380Assert.False(iterated); 414Assert.False(iterated);
LocalRedirectResultTest.cs (3)
27Assert.False(result.PreserveMethod); 28Assert.False(result.Permanent); 42Assert.False(result.PreserveMethod);
ModelBinding\Binders\ArrayModelBinderTest.cs (1)
161Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\BinderTypeModelBinderTest.cs (1)
25Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\BodyModelBinderProviderTest.cs (2)
105Assert.False(allowEmpty); 129Assert.False(allowEmpty);
ModelBinding\Binders\BodyModelBinderTests.cs (13)
66Assert.False(bindingContext.Result.IsModelSet); 91Assert.False(bindingContext.Result.IsModelSet); 115Assert.False(bindingContext.Result.IsModelSet); 149Assert.False(bindingContext.Result.IsModelSet); 150Assert.False(bindingContext.ModelState.IsValid); 242Assert.False(bindingContext.ModelState.IsValid); 271Assert.False(bindingContext.Result.IsModelSet); 314Assert.False(bindingContext.Result.IsModelSet); 345Assert.False(bindingContext.Result.IsModelSet); 385Assert.False(bindingContext.Result.IsModelSet); 416Assert.False(bindingContext.Result.IsModelSet); 496Assert.False(bindingContext.Result.IsModelSet); 552Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\ByteArrayModelBinderTests.cs (4)
28Assert.False(bindingContext.Result.IsModelSet); 75Assert.False(bindingContext.Result.IsModelSet); 76Assert.False(bindingContext.ModelState.IsValid); 97Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\CollectionModelBinderTest.cs (2)
343Assert.False(bindingContext.Result.IsModelSet); 417Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (6)
509Assert.False(result); 534Assert.False(result); 616Assert.False(modelStateDictionary.IsValid); 681Assert.False(modelStateDictionary.IsValid); 720Assert.False(modelStateDictionary.IsValid); 1078Assert.False(bindingContext.ModelState.IsValid);
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (6)
690Assert.False(result); 715Assert.False(result); 794Assert.False(modelStateDictionary.IsValid); 828Assert.False(modelStateDictionary.IsValid); 864Assert.False(modelStateDictionary.IsValid); 1240Assert.False(bindingContext.ModelState.IsValid);
ModelBinding\Binders\DateTimeModelBinderTest.cs (5)
26Assert.False(bindingContext.Result.IsModelSet); 45Assert.False(bindingContext.Result.IsModelSet); 47Assert.False(bindingContext.ModelState.IsValid); 68Assert.False(bindingContext.Result.IsModelSet); 124Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\DictionaryModelBinderProviderTest.cs (1)
58Assert.False(binder.AllowValidatingTopLevelNodes); // work done in DictionaryModelBinder.
ModelBinding\Binders\DictionaryModelBinderTest.cs (3)
260Assert.False(bindingContext.Result.IsModelSet); 537Assert.False(bindingContext.Result.IsModelSet); 581Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\EnumTypeModelBinderTest.cs (6)
40Assert.False(bindingContext.Result.IsModelSet); 42Assert.False(bindingContext.ModelState.IsValid); 145Assert.False(bindingContext.Result.IsModelSet); 147Assert.False(bindingContext.ModelState.IsValid); 228Assert.False(bindingContext.Result.IsModelSet); 230Assert.False(bindingContext.ModelState.IsValid);
ModelBinding\Binders\FloatingPointTypeModelBinderTestOfT.cs (8)
47Assert.False(bindingContext.Result.IsModelSet); 67Assert.False(bindingContext.Result.IsModelSet); 69Assert.False(bindingContext.ModelState.IsValid); 91Assert.False(bindingContext.Result.IsModelSet); 115Assert.False(bindingContext.Result.IsModelSet); 139Assert.False(bindingContext.Result.IsModelSet); 163Assert.False(bindingContext.Result.IsModelSet); 205Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\FormFileModelBinderTest.cs (12)
32Assert.False(entry.SuppressValidation); 66Assert.False(entry.SuppressValidation); 106Assert.False(entry.SuppressValidation); 148Assert.False(entry.SuppressValidation); 182Assert.False(entry.SuppressValidation); 218Assert.False(entry.SuppressValidation); 239Assert.False(entry.SuppressValidation); 304Assert.False(bindingContext.Result.IsModelSet); 324Assert.False(bindingContext.Result.IsModelSet); 374Assert.False(bindingContext.Result.IsModelSet); 394Assert.False(bindingContext.Result.IsModelSet); 428Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\HeaderModelBinderTests.cs (2)
170Assert.False(bindingContext.Result.IsModelSet); 189Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\KeyValuePairModelBinderTest.cs (5)
28Assert.False(bindingContext.Result.IsModelSet); 30Assert.False(bindingContext.ModelState.IsValid); 54Assert.False(bindingContext.ModelState.IsValid); 79Assert.False(bindingContext.Result.IsModelSet); 196Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\SimpleTypeModelBinderTest.cs (6)
107Assert.False(bindingContext.Result.IsModelSet); 126Assert.False(bindingContext.Result.IsModelSet); 151Assert.False(bindingContext.Result.IsModelSet); 153Assert.False(bindingContext.ModelState.IsValid); 323Assert.False(bindingContext.Result.IsModelSet); 372Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\Binders\TryParseTypeModelBinderTest.cs (8)
56Assert.False(bindingContext.Result.IsModelSet); 75Assert.False(bindingContext.Result.IsModelSet); 100Assert.False(bindingContext.Result.IsModelSet); 102Assert.False(bindingContext.ModelState.IsValid); 249Assert.False(bindingContext.Result.IsModelSet); 298Assert.False(bindingContext.Result.IsModelSet); 405Assert.False(bindingContext.Result.IsModelSet); 455Assert.False(bindingContext.Result.IsModelSet);
ModelBinding\CompositeValueProviderTest.cs (1)
60Assert.False(modelState.IsValid);
ModelBinding\DefaultModelBindingContextTest.cs (1)
54Assert.False(bindingContext.IsTopLevelObject);
ModelBinding\ElementalValueProviderTests.cs (1)
51Assert.False(containsPrefix);
ModelBinding\EnumerableValueProviderTest.cs (2)
39Assert.False(result); 80Assert.False(result);
ModelBinding\FormFileValueProviderTest.cs (1)
27Assert.False(result);
ModelBinding\Metadata\BindingSourceTest.cs (2)
87Assert.False(result); 97Assert.False(result);
ModelBinding\Metadata\CompositeBindingSourceTest.cs (1)
59Assert.False(result);
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (17)
171Assert.False(context.BindingMetadata.IsBindingAllowed); 172Assert.False(context.BindingMetadata.IsBindingRequired); 194Assert.False(context.BindingMetadata.IsBindingAllowed); 195Assert.False(context.BindingMetadata.IsBindingRequired); 218Assert.False(context.BindingMetadata.IsBindingRequired); 286Assert.False(context.BindingMetadata.IsBindingAllowed); 287Assert.False(context.BindingMetadata.IsBindingRequired); 309Assert.False(context.BindingMetadata.IsBindingAllowed); 310Assert.False(context.BindingMetadata.IsBindingRequired); 333Assert.False(context.BindingMetadata.IsBindingRequired); 466Assert.False(context.BindingMetadata.IsBindingAllowed); 467Assert.False(context.BindingMetadata.IsBindingRequired); 484Assert.False(context.BindingMetadata.IsBindingAllowed); 485Assert.False(context.BindingMetadata.IsBindingRequired); 508Assert.False(context.BindingMetadata.IsBindingRequired); 576Assert.False(context.BindingMetadata.IsBindingAllowed); 577Assert.False(context.BindingMetadata.IsBindingRequired);
ModelBinding\Metadata\DefaultModelMetadataTest.cs (28)
35Assert.False(metadata.HasNonDefaultEditFormat); 36Assert.False(metadata.HideSurroundingHtml); 39Assert.False(metadata.IsBindingRequired); 40Assert.False(metadata.IsCollectionType); 41Assert.False(metadata.IsComplexType); 42Assert.False(metadata.IsEnumerableType); 43Assert.False(metadata.IsEnum); 44Assert.False(metadata.IsFlagsEnum); 45Assert.False(metadata.IsNullableValueType); 46Assert.False(metadata.IsReadOnly); 47Assert.False(metadata.IsRequired); // Defaults to false for reference types 50Assert.False(metadata.ValidateChildren); // Defaults to true for complex and enumerable types. 339Assert.False(isBindingRequired); 389Assert.False(isParseableType); 410Assert.False(isParseableType); 432Assert.False(isRequired); 747Assert.False(isReadOnly); 804Assert.False(isReadOnly); 828Assert.False(validateChildren); 943Assert.False(validateChildren); 1000Assert.False(result); 1018Assert.False(result); 1034Assert.False(result); 1165Assert.False(result); 1321Assert.False(result); 1366Assert.False(result); 1457Assert.False(result); 1590Assert.False(result);
ModelBinding\Metadata\DefaultValidationMetadataProviderTest.cs (3)
25Assert.False(context.ValidationMetadata.PropertyValidationFilter.ShouldValidateEntry( 81Assert.False(context.ValidationMetadata.PropertyValidationFilter.ShouldValidateEntry( 103Assert.False(context.ValidationMetadata.PropertyValidationFilter.ShouldValidateEntry(
ModelBinding\Metadata\ExcludeBindingMetadataProviderTest.cs (1)
53Assert.False(context.BindingMetadata.IsBindingAllowed);
ModelBinding\ModelBindingHelperTest.cs (1)
1490Assert.False(result);
ModelBinding\ModelBindingResultTest.cs (1)
29Assert.False(result.IsModelSet);
ModelBinding\ParameterBinderTest.cs (13)
78Assert.False(actionContext.ModelState.IsValid); 116Assert.False(actionContext.ModelState.IsValid); 216Assert.False(actionContext.ModelState.IsValid); 254Assert.False(actionContext.ModelState.IsValid); 295Assert.False(actionContext.ModelState.IsValid); 347Assert.False(actionContext.ModelState.IsValid); 402Assert.False(actionContext.ModelState.IsValid); 457Assert.False(actionContext.ModelState.IsValid); 511Assert.False(actionContext.ModelState.IsValid); 569Assert.False(modelState.IsValid); 629Assert.False(result.IsModelSet); 630Assert.False(modelState.IsValid); 698Assert.False(modelState.IsValid);
ModelBinding\PrefixContainerTest.cs (3)
19Assert.False(result); 69Assert.False(result); 110Assert.False(result);
ModelBinding\RouteValueProviderTests.cs (1)
210Assert.False(result);
ModelBinding\Validation\DefaultModelValidatorProviderTest.cs (1)
167Assert.False(result);
ModelBinding\Validation\DefaultObjectValidatorTests.cs (17)
95Assert.False(modelState.IsValid); 234Assert.False(modelState.IsValid); 309Assert.False(modelState.IsValid); 341Assert.False(modelState.IsValid); 373Assert.False(modelState.IsValid); 486Assert.False(modelState.IsValid); 533Assert.False(modelState.IsValid); 663Assert.False(modelState.IsValid); 699Assert.False(modelState.IsValid); 739Assert.False(modelState.IsValid); 800Assert.False(modelState.IsValid); 843Assert.False(modelState.IsValid); 1042Assert.False(modelState.IsValid); 1241Assert.False(modelState.IsValid); 1329Assert.False(actionContext.ModelState.IsValid); 1355Assert.False(modelState.IsValid); 1439Assert.False(modelState.IsValid);
ModelBinding\Validation\ValidationStackTest.cs (1)
42Assert.False(validationStack.Contains(model));
RedirectResultTest.cs (3)
44Assert.False(result.PreserveMethod); 45Assert.False(result.Permanent); 59Assert.False(result.PreserveMethod);
RequireHttpsAttributeTests.cs (1)
100Assert.False(result.Permanent);
Routing\ActionEndpointFactoryTest.cs (3)
153Assert.False(endpoint.RoutePattern.Defaults.ContainsKey("action")); 235Assert.False(endpoint.RoutePattern.RequiredValues.ContainsKey("page")); 253Assert.False(endpoint.RoutePattern.RequiredValues.ContainsKey("page"));
Routing\DynamicControllerEndpointMatcherPolicyTest.cs (3)
125Assert.False(candidates.IsValidCandidate(0)); 156Assert.False(candidates.IsValidCandidate(0)); 329Assert.False(candidates.IsValidCandidate(0));
Routing\KnownRouteValueConstraintTests.cs (3)
79Assert.False(match); 153Assert.False(match); 178Assert.False(match);
Routing\UrlHelperTestBase.cs (14)
73Assert.False(result); 120Assert.False(result); 137Assert.False(result); 152Assert.False(result); 167Assert.False(result); 181Assert.False(result); 198Assert.False(result); 216Assert.False(result); 235Assert.False(result); 252Assert.False(result); 271Assert.False(result); 286Assert.False(result); 304Assert.False(result); 323Assert.False(result);
src\Shared\ResultsTests\FileContentResultTestBase.cs (1)
327Assert.False(httpResponse.Headers.ContainsKey(HeaderNames.ContentType));
src\Shared\ResultsTests\FileStreamResultTestBase.cs (13)
67Assert.False(readStream.CanSeek); 108Assert.False(readStream.CanSeek); 145Assert.False(readStream.CanSeek); 182Assert.False(readStream.CanSeek); 216Assert.False(readStream.CanSeek); 252Assert.False(readStream.CanSeek); 288Assert.False(readStream.CanSeek); 322Assert.False(httpResponse.Headers.ContainsKey(HeaderNames.ContentType)); 325Assert.False(readStream.CanSeek); 368Assert.False(readStream.CanSeek); 392Assert.False(originalStream.CanSeek); 418Assert.False(originalStream.CanSeek); 436Assert.False(readStream.CanSeek);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (1)
262Assert.False(httpResponse.Headers.ContainsKey(HeaderNames.ContentType));
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
312Assert.False(httpResponse.Headers.ContainsKey(HeaderNames.ContentType));
Microsoft.AspNetCore.Mvc.Core.TestCommon (6)
CommonFilterTest.cs (2)
108Assert.False(context.Cancel); 146Assert.False(context.Cancel);
CommonResourceInvokerTest.cs (4)
1010Assert.False(c.ExceptionHandled); 1052Assert.False(context.ExceptionHandled); 1088Assert.False(c.ExceptionHandled); 1130Assert.False(context.ExceptionHandled);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (17)
DataAnnotationsMetadataProviderTest.cs (5)
1191Assert.False(((RequiredAttribute)attribute).AllowEmptyStrings); // Default for [Required] 1608Assert.False(result); 1627Assert.False(result); 1644Assert.False(result); 1678Assert.False(result);
DataAnnotationsModelValidatorProviderTest.cs (1)
149Assert.False(result);
ModelMetadataProviderTest.cs (11)
70Assert.False(provider.GetMetadataForProperty(type, "ScaffoldColumnFalse").ShowForDisplay); 83Assert.False(provider.GetMetadataForProperty(type, "ScaffoldColumnFalse").ShowForEdit); 690Assert.False(metadata.IsRequired); 735Assert.False(metadata.IsBindingRequired); 750Assert.False(metadata.IsBindingRequired); 810Assert.False(metadata.IsBindingRequired); 842Assert.False(metadata.IsBindingRequired); 857Assert.False(metadata.IsBindingAllowed); 858Assert.False(metadata.IsBindingRequired); 873Assert.False(metadata.IsBindingAllowed); 874Assert.False(metadata.IsBindingRequired);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (38)
XmlDataContractSerializerInputFormatterTest.cs (15)
158Assert.False(result.HasError); 189Assert.False(result.HasError); 194Assert.False(testBufferedReadStream.Disposed); 222Assert.False(result.HasError); 257Assert.False(result.HasError); 289Assert.False(result.HasError); 316Assert.False(result.HasError); 350Assert.False(result.HasError); 382Assert.False(result.HasError); 408Assert.False(result.HasError); 470Assert.False(result.HasError); 553Assert.False(result.HasError); 591Assert.False(result.HasError); 651Assert.False(result.HasError); 710Assert.False(result.HasError);
XmlDataContractSerializerOutputFormatterTest.cs (5)
147Assert.False(writerSettings.CloseOutput); 148Assert.False(writerSettings.CheckCharacters); 664Assert.False(result); 682Assert.False(canWriteResult); 742Assert.False(iterated);
XmlSerializerInputFormatterTest.cs (13)
63Assert.False(result.HasError); 100Assert.False(result.HasError); 136Assert.False(result.HasError); 172Assert.False(result.HasError); 216Assert.False(result.HasError); 352Assert.False(result.HasError); 386Assert.False(result.HasError); 415Assert.False(result.HasError); 487Assert.False(result.HasError); 573Assert.False(result.HasError); 612Assert.False(result.HasError); 644Assert.False(result.HasError); 649Assert.False(testBufferedReadStream.Disposed);
XmlSerializerOutputFormatterTest.cs (5)
153Assert.False(writerSettings.CloseOutput); 154Assert.False(writerSettings.CheckCharacters); 481Assert.False(canWriteResult); 500Assert.False(canWriteResult); 524Assert.False(iterated);
Microsoft.AspNetCore.Mvc.FunctionalTests (27)
ApiExplorerTest.cs (11)
186Assert.False(parameter.RouteInfo.IsOptional); 209Assert.False(parameter.RouteInfo.IsOptional); 232Assert.False(parameter.RouteInfo.IsOptional); 256Assert.False(parameter.RouteInfo.IsOptional); 282Assert.False(month.RouteInfo.IsOptional); 287Assert.False(day.RouteInfo.IsOptional); 292Assert.False(year.RouteInfo.IsOptional); 318Assert.False(month.RouteInfo.IsOptional); 1159Assert.False(parameter.IsRequired); 1169Assert.False(parameter.IsRequired); 1551Assert.False(responseType.IsDefaultResponse);
ConsumesAttributeTests.cs (1)
23Assert.False(result);
HtmlGenerationTest.cs (1)
779Assert.False(lastName.HasAttribute("data-val-regex"));
KeyedServicesTests.cs (1)
99Assert.False(response.IsSuccessStatusCode);
RequestServicesTest.cs (1)
23Assert.False(result);
RoutingDynamicOrderTest.cs (1)
97Assert.False(content.RouteValues.TryGetValue("identifier", out var identifier));
RoutingTests.cs (1)
25Assert.False(result);
RoutingTestsBase.cs (1)
100Assert.False(result.RouteValues.ContainsKey("page"));
TempDataInCookiesTest.cs (3)
85Assert.False(cookieTempDataProviderCookie.Secure); 135Assert.False(setCookieHeader.Secure); 188Assert.False(setCookieHeader.Secure);
TestingInfrastructureInheritanceTests.cs (5)
31Assert.False(factory.GetTestAssembliesCalled); 33Assert.False(factory.CreateHostCalled); 48Assert.False(factory.GetTestAssembliesCalled); 51Assert.False(factory.CreateServerCalled); 52Assert.False(factory.CreateWebHostBuilderCalled);
VersioningTests.cs (1)
23Assert.False(result);
Microsoft.AspNetCore.Mvc.IntegrationTests (138)
ActionParametersIntegrationTest.cs (2)
660Assert.False(modelBindingResult.IsModelSet); 701Assert.False(modelState.IsValid);
BinderTypeBasedModelBinderIntegrationTest.cs (1)
72Assert.False(modelBindingResult.IsModelSet);
BindPropertyIntegrationTest.cs (2)
99Assert.False(result.IsModelSet); 132Assert.False(result.IsModelSet);
BodyValidationIntegrationTests.cs (10)
130Assert.False(modelState.IsValid); 176Assert.False(modelState.IsValid); 215Assert.False(modelState.IsValid); 294Assert.False(modelState.IsValid); 336Assert.False(modelState.IsValid); 390Assert.False(modelState.IsValid); 476Assert.False(modelState.IsValid); 583Assert.False(modelState.IsValid); 636Assert.False(modelState.IsValid); 733Assert.False(modelState.IsValid);
ByteArrayModelBinderIntegrationTest.cs (1)
95Assert.False(modelBindingResult.IsModelSet);
CancellationTokenModelBinderIntegrationTest.cs (3)
46Assert.False(boundPerson.Token.IsCancellationRequested); 82Assert.False(boundPerson.Token.IsCancellationRequested); 120Assert.False(token.IsCancellationRequested);
CollectionModelBinderIntegrationTest.cs (6)
318Assert.False(modelState.IsValid); 377Assert.False(modelState.IsValid); 428Assert.False(modelState.IsValid); 523Assert.False(modelState.IsValid); 674Assert.False(modelState.IsValid); 716Assert.False(modelState.IsValid);
ComplexRecordIntegrationTest.cs (12)
1989Assert.False(modelState.IsValid); 2045Assert.False(modelState.IsValid); 2099Assert.False(modelState.IsValid); 2153Assert.False(modelState.IsValid); 2211Assert.False(modelState.IsValid); 2265Assert.False(modelState.IsValid); 2317Assert.False(modelState.IsValid); 2413Assert.False(modelState.IsValid); 2465Assert.False(modelState.IsValid); 2563Assert.False(modelState.IsValid); 2624Assert.False(modelState.IsValid); 4191Assert.False(modelState.IsValid);
ComplexTypeIntegrationTestBase.cs (13)
1889Assert.False(modelState.IsValid); 1938Assert.False(modelState.IsValid); 2143Assert.False(modelState.IsValid); 2198Assert.False(modelState.IsValid); 2261Assert.False(modelState.IsValid); 2315Assert.False(modelState.IsValid); 2373Assert.False(modelState.IsValid); 2431Assert.False(modelState.IsValid); 2483Assert.False(modelState.IsValid); 2583Assert.False(modelState.IsValid); 2635Assert.False(modelState.IsValid); 2736Assert.False(modelState.IsValid); 2797Assert.False(modelState.IsValid);
DictionaryModelBinderIntegrationTest.cs (8)
455Assert.False(modelBindingResult.IsModelSet); 807Assert.False(modelState.IsValid); 877Assert.False(modelBindingResult.IsModelSet); 1352Assert.False(modelState.IsValid); 1382Assert.False(modelBindingResult.IsModelSet); 1386Assert.False(modelState.IsValid); 1424Assert.False(modelState.IsValid); 1505Assert.False(modelState.IsValid);
ExcludeBindingMetadataProviderIntegrationTest.cs (1)
57Assert.False(modelBinderProvider.Invoked);
FormFileModelBindingIntegrationTest.cs (1)
681Assert.False(modelBindingResult.IsModelSet);
HeaderModelBinderIntegrationTest.cs (1)
59Assert.False(modelState.IsValid);
KeyValuePairModelBinderIntegrationTest.cs (10)
73Assert.False(modelBindingResult.IsModelSet); 76Assert.False(modelState.IsValid); 123Assert.False(modelBindingResult.IsModelSet); 126Assert.False(modelState.IsValid); 160Assert.False(modelBindingResult.IsModelSet); 163Assert.False(modelState.IsValid); 210Assert.False(modelBindingResult.IsModelSet); 213Assert.False(modelState.IsValid); 338Assert.False(modelState.IsValid); 503Assert.False(modelState.IsValid);
NullableReferenceTypeIntegrationTest.cs (4)
48Assert.False(modelState.IsValid); 135Assert.False(modelState.IsValid); 184Assert.False(modelBindingResult.IsModelSet); 190Assert.False(modelState.IsValid);
SimpleTypeModelBinderIntegrationTest.cs (9)
180Assert.False(modelBindingResult.IsModelSet); 386Assert.False(modelBindingResult.IsModelSet); 392Assert.False(modelState.IsValid); 446Assert.False(modelBindingResult.IsModelSet); 452Assert.False(modelState.IsValid); 495Assert.False(modelBindingResult.IsModelSet); 501Assert.False(modelState.IsValid); 549Assert.False(modelBindingResult.IsModelSet); 555Assert.False(modelState.IsValid);
TryValidateModelIntegrationTest.cs (8)
38Assert.False(result); 39Assert.False(modelState.IsValid); 118Assert.False(result); 119Assert.False(modelState.IsValid); 145Assert.False(result); 146Assert.False(modelState.IsValid); 166Assert.False(result); 167Assert.False(modelState.IsValid);
ValidationIntegrationTests.cs (23)
112Assert.False(modelState.IsValid); 229Assert.False(modelState.IsValid); 318Assert.False(modelState.IsValid); 412Assert.False(modelState.IsValid); 502Assert.False(modelState.IsValid); 590Assert.False(modelState.IsValid); 666Assert.False(modelState.IsValid); 745Assert.False(modelState.IsValid); 833Assert.False(modelState.IsValid); 968Assert.False(modelState.IsValid); 1075Assert.False(modelState.IsValid); 1163Assert.False(modelState.IsValid); 1241Assert.False(modelState.IsValid); 1281Assert.False(modelState.IsValid); 1371Assert.False(modelState.IsValid); 1420Assert.False(modelState.IsValid); 1854Assert.False(modelState.IsValid); 1900Assert.False(modelState.IsValid); 1947Assert.False(modelState.IsValid); 2104Assert.False(modelState.IsValid); 2175Assert.False(modelState.IsValid); 2287Assert.False(modelState.IsValid); 2394Assert.False(modelState.IsValid);
ValidationWithRecordIntegrationTests.cs (23)
104Assert.False(modelState.IsValid); 217Assert.False(modelState.IsValid); 299Assert.False(modelState.IsValid); 384Assert.False(modelState.IsValid); 467Assert.False(modelState.IsValid); 549Assert.False(modelState.IsValid); 628Assert.False(modelState.IsValid); 709Assert.False(modelState.IsValid); 837Assert.False(modelState.IsValid); 937Assert.False(modelState.IsValid); 1021Assert.False(modelState.IsValid); 1093Assert.False(modelState.IsValid); 1133Assert.False(modelState.IsValid); 1215Assert.False(modelState.IsValid); 1264Assert.False(modelState.IsValid); 1657Assert.False(modelState.IsValid); 1703Assert.False(modelState.IsValid); 1750Assert.False(modelState.IsValid); 1895Assert.False(modelState.IsValid); 1966Assert.False(modelState.IsValid); 2078Assert.False(modelState.IsValid); 2182Assert.False(modelState.IsValid); 2445Assert.False(modelState.IsValid);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (32)
NewtonsoftJsonInputFormatterTest.cs (11)
50Assert.False(result.HasError); 86Assert.False(result.HasError); 124Assert.False(result.HasError); 130Assert.False(httpContext.Request.Body.CanSeek); 134Assert.False(result.HasError); 170Assert.False(formatterContext.ModelState.IsValid); 367Assert.False(formatterContext.ModelState.IsValid); 398Assert.False(formatterContext.ModelState.IsValid); 429Assert.False(formatterContext.ModelState.IsValid); 514Assert.False(result.HasError); 557Assert.False(result.HasError);
NewtonsoftJsonOutputFormatterTest.cs (1)
463Assert.False(iterated);
NewtonsoftJsonPatchInputFormatterTest.cs (7)
49Assert.False(result.HasError); 88Assert.False(result.HasError); 95Assert.False(httpContext.Request.Body.CanSeek); 99Assert.False(result.HasError); 119Assert.False(result.HasError); 143Assert.False(result.HasError); 195Assert.False(result);
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (10)
79Assert.False(result.HasError); 100Assert.False(result.HasError); 121Assert.False(result.HasError); 227Assert.False(result.HasError); 248Assert.False(result.HasError); 270Assert.False(result.HasError); 302Assert.False(result.HasError); 434Assert.False(formatterContext.ModelState.ContainsKey("age")); 462Assert.False(result.HasError); 557Assert.False(testBufferedReadStream.Disposed);
src\Mvc\Mvc.Core\test\Infrastructure\AsyncEnumerableReaderTest.cs (1)
26Assert.False(result);
src\Mvc\Mvc.Core\test\Infrastructure\JsonResultExecutorTestBase.cs (2)
380Assert.False(iterated); 414Assert.False(iterated);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (7)
ChecksumValidatorTest.cs (5)
24Assert.False(result); 40Assert.False(result); 125Assert.False(result); 144Assert.False(result); 164Assert.False(result);
CSharpCompilerTest.cs (1)
95Assert.False(compilationOptions.AllowUnsafe);
FileProviderRazorProjectFileSystemTest.cs (1)
239Assert.False(item.Exists);
Microsoft.AspNetCore.Mvc.Razor.Test (12)
Compilation\DefaultRazorPageFactoryProviderTest.cs (1)
38Assert.False(result.Success);
RazorViewEngineTest.cs (11)
78Assert.False(result.Success); 94Assert.False(result.Success); 110Assert.False(result.Success); 125Assert.False(result.Success); 233Assert.False(result.Success); 249Assert.False(result.Success); 265Assert.False(result.Success); 287Assert.False(result.Success); 982Assert.False(result.Success); 990Assert.False(result.Success); 1041Assert.False(result.Success);
Microsoft.AspNetCore.Mvc.RazorPages.Test (110)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1018Assert.False(result);
ApplicationModels\PageRouteModelFactoryTest.cs (2)
179Assert.False(success); 196Assert.False(success);
DependencyInjection\PageConventionCollectionExtensionsTest.cs (4)
905Assert.False(selector.AttributeRouteModel.SuppressLinkGeneration); 915Assert.False(selector.AttributeRouteModel.SuppressLinkGeneration); 956Assert.False(selector.AttributeRouteModel.SuppressLinkGeneration); 971Assert.False(selector.AttributeRouteModel.SuppressLinkGeneration);
Filters\PageSaveTempDataPropertyFilterTest.cs (1)
39Assert.False(tempData.ContainsKey("TestDataProperty-Test2"));
Infrastructure\DefaultPageActivatorProviderTest.cs (1)
188Assert.False(page.SyncDisposed);
Infrastructure\DefaultPageModelActivatorProviderTest.cs (1)
213Assert.False(model.SyncDisposed);
Infrastructure\DynamicPageEndpointMatcherPolicyTest.cs (3)
142Assert.False(candidates.IsValidCandidate(0)); 173Assert.False(candidates.IsValidCandidate(0)); 332Assert.False(candidates.IsValidCandidate(0));
Infrastructure\PageActionInvokerTest.cs (4)
1063Assert.False(c.ExceptionHandled); 1098Assert.False(c.ExceptionHandled); 1142Assert.False(context.ExceptionHandled); 1189Assert.False(c.ExceptionHandled);
Infrastructure\PageBinderFactoryTest.cs (2)
566Assert.False(modelState.IsValid); 696Assert.False(modelState.IsValid);
PageModelTest.cs (44)
60Assert.False(result.PreserveMethod); 78Assert.False(result.Permanent); 141Assert.False(result.PreserveMethod); 142Assert.False(result.Permanent); 158Assert.False(result.PreserveMethod); 176Assert.False(result.Permanent); 283Assert.False(resultTemporary.PreserveMethod); 284Assert.False(resultTemporary.Permanent); 300Assert.False(resultTemporary.Permanent); 315Assert.False(resultPermanent.PreserveMethod); 350Assert.False(resultTemporary.PreserveMethod); 351Assert.False(resultTemporary.Permanent); 371Assert.False(resultTemporary.Permanent); 390Assert.False(resultPermanent.PreserveMethod); 430Assert.False(resultTemporary.PreserveMethod); 431Assert.False(resultTemporary.Permanent); 455Assert.False(resultTemporary.Permanent); 478Assert.False(resultPermanent.PreserveMethod); 523Assert.False(resultTemporary.PreserveMethod); 524Assert.False(resultTemporary.Permanent); 544Assert.False(resultTemporary.Permanent); 566Assert.False(result.PreserveMethod); 567Assert.False(result.Permanent); 592Assert.False(result.Permanent); 613Assert.False(resultPermanent.PreserveMethod); 656Assert.False(result.PreserveMethod); 707Assert.False(resultTemporary.PreserveMethod); 708Assert.False(resultTemporary.Permanent); 727Assert.False(resultTemporary.Permanent); 747Assert.False(result.PreserveMethod); 748Assert.False(result.Permanent); 771Assert.False(result.Permanent); 791Assert.False(resultPermanent.PreserveMethod); 831Assert.False(result.PreserveMethod); 873Assert.False(resultTemporary.PreserveMethod); 874Assert.False(resultTemporary.Permanent); 891Assert.False(resultTemporary.Permanent); 907Assert.False(resultPermanent.PreserveMethod); 1241Assert.False(result.Permanent); 1261Assert.False(resultPermanent.Permanent); 1302Assert.False(resultTemporary.PreserveMethod); 1303Assert.False(resultTemporary.Permanent); 1324Assert.False(resultTemporary.Permanent); 1344Assert.False(resultPermanent.PreserveMethod);
PageTest.cs (47)
63Assert.False(result.PreserveMethod); 64Assert.False(result.Permanent); 80Assert.False(result.PreserveMethod); 98Assert.False(result.Permanent); 161Assert.False(result.PreserveMethod); 162Assert.False(result.Permanent); 178Assert.False(result.PreserveMethod); 196Assert.False(result.Permanent); 303Assert.False(resultTemporary.PreserveMethod); 304Assert.False(resultTemporary.Permanent); 320Assert.False(resultTemporary.Permanent); 335Assert.False(resultPermanent.PreserveMethod); 370Assert.False(resultTemporary.PreserveMethod); 371Assert.False(resultTemporary.Permanent); 391Assert.False(resultTemporary.Permanent); 410Assert.False(resultPermanent.PreserveMethod); 450Assert.False(resultTemporary.PreserveMethod); 451Assert.False(resultTemporary.Permanent); 475Assert.False(resultTemporary.Permanent); 498Assert.False(resultPermanent.PreserveMethod); 543Assert.False(resultTemporary.PreserveMethod); 544Assert.False(resultTemporary.Permanent); 564Assert.False(resultTemporary.Permanent); 586Assert.False(result.PreserveMethod); 587Assert.False(result.Permanent); 612Assert.False(result.Permanent); 633Assert.False(resultPermanent.PreserveMethod); 676Assert.False(result.PreserveMethod); 727Assert.False(resultTemporary.PreserveMethod); 728Assert.False(resultTemporary.Permanent); 747Assert.False(resultTemporary.Permanent); 767Assert.False(result.PreserveMethod); 768Assert.False(result.Permanent); 791Assert.False(result.Permanent); 811Assert.False(resultPermanent.PreserveMethod); 851Assert.False(result.PreserveMethod); 893Assert.False(resultTemporary.PreserveMethod); 894Assert.False(resultTemporary.Permanent); 911Assert.False(resultTemporary.Permanent); 927Assert.False(resultPermanent.PreserveMethod); 964Assert.False(resultTemporary.PreserveMethod); 965Assert.False(resultTemporary.Permanent); 986Assert.False(resultTemporary.Permanent); 1006Assert.False(resultPermanent.PreserveMethod); 1315Assert.False(result.Permanent); 1335Assert.False(resultPermanent.Permanent); 1851Assert.False(result);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (38)
AttributeMatcherTest.cs (1)
34Assert.False(modeMatch);
CacheTagHelperTest.cs (4)
533Assert.False(result); 694Assert.False(tagHelperOutput1.IsContentModified); 758Assert.False(tagHelperOutput1.IsContentModified); 770Assert.False(tagHelperOutput2.IsContentModified);
DistributedCacheTagHelperTest.cs (1)
706Assert.False(tagHelperOutput1.IsContentModified);
EnvironmentTagHelperTest.cs (2)
103Assert.False(output.IsContentModified); 205Assert.False(output.IsContentModified);
FormActionTagHelperTest.cs (10)
81Assert.False(output.IsContentModified); 82Assert.False(output.PostContent.IsModified); 83Assert.False(output.PostElement.IsModified); 84Assert.False(output.PreContent.IsModified); 85Assert.False(output.PreElement.IsModified); 155Assert.False(output.IsContentModified); 156Assert.False(output.PostContent.IsModified); 157Assert.False(output.PostElement.IsModified); 158Assert.False(output.PreContent.IsModified); 159Assert.False(output.PreElement.IsModified);
InputTagHelperTest.cs (13)
392Assert.False(output.IsContentModified); 448Assert.False(output.IsContentModified); 451Assert.False(viewContext.FormContext.HasEndOfFormContent); 499Assert.False(output.IsContentModified); 555Assert.False(output.IsContentModified); 955Assert.False(output.IsContentModified); 958Assert.False(viewContext.FormContext.HasEndOfFormContent); 1015Assert.False(output.IsContentModified); 1018Assert.False(viewContext.FormContext.HasEndOfFormContent); 1075Assert.False(output.IsContentModified); 1135Assert.False(output.IsContentModified); 1138Assert.False(viewContext.FormContext.HasEndOfFormContent); 1378Assert.False(output.IsContentModified);
LinkTagHelperTest.cs (3)
318Assert.False(output.IsContentModified); 541Assert.False(output.IsContentModified); 560Assert.False(output.IsContentModified);
ScriptTagHelperTest.cs (3)
294Assert.False(output.IsContentModified); 469Assert.False(output.IsContentModified); 489Assert.False(output.IsContentModified);
SelectTagHelperTest.cs (1)
772Assert.False(output.IsContentModified);
Microsoft.AspNetCore.Mvc.Test (15)
MvcOptionsSetupTest.cs (1)
153Assert.False(options.RespectBrowserAcceptHeader);
Routing\ActionConstraintMatcherPolicyTest.cs (14)
70Assert.False(candidateSet.IsValidCandidate(1)); 104Assert.False(candidateSet.IsValidCandidate(0)); 105Assert.False(candidateSet.IsValidCandidate(1)); 140Assert.False(candidateSet.IsValidCandidate(0)); 141Assert.False(candidateSet.IsValidCandidate(1)); 176Assert.False(candidateSet.IsValidCandidate(1)); 213Assert.False(candidateSet.IsValidCandidate(0)); 214Assert.False(candidateSet.IsValidCandidate(1)); 248Assert.False(candidateSet.IsValidCandidate(0)); 250Assert.False(candidateSet.IsValidCandidate(2)); 290Assert.False(candidateSet.IsValidCandidate(1)); 331Assert.False(candidateSet.IsValidCandidate(1)); 332Assert.False(candidateSet.IsValidCandidate(2)); 404Assert.False(result);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (41)
AttributeDictionaryTest.cs (6)
111Assert.False(result); 145Assert.False(result); 182Assert.False(result); 243Assert.False(result); 288Assert.False(result); 333Assert.False(result);
CookieTempDataProviderTest.cs (2)
210Assert.False(cookieInfo.Options.Secure); 260Assert.False(cookieInfo.Options.Secure);
PartialViewResultExecutorTest.cs (5)
130Assert.False(result.Success); 165Assert.False(result.Success); 200Assert.False(result.Success); 234Assert.False(listener.ViewFound.IsMainPage); 271Assert.False(viewEngineResult.Success);
Rendering\HtmlHelperCheckboxTest.cs (2)
185Assert.False(helper.ViewContext.FormContext.HasEndOfFormContent); 252Assert.False(helper.ViewContext.FormContext.HasEndOfFormContent);
Rendering\HtmlHelperSelectTest.cs (2)
1562Assert.False(actualItem.Disabled); 1564Assert.False(actualItem.Selected);
Rendering\TagBuilderTest.cs (1)
193Assert.False(tagBuilder.HasInnerHtml);
SkipStatusCodePagesAttributeTest.cs (1)
28Assert.False(statusCodePagesFeature.Enabled);
TempDataDictionaryTest.cs (8)
36Assert.False(tempData.ContainsKey("Foo")); 57Assert.False(tempData.ContainsKey("Foo")); 58Assert.False(tempData.ContainsKey("Bar")); 73Assert.False(tempData.ContainsKey("Foo")); 109Assert.False(tempData.ContainsKey("Bar")); 159Assert.False(tempData.ContainsKey("foo")); 176Assert.False(tempData.ContainsKey("Foo")); 177Assert.False(tempData.ContainsKey("Boo"));
ViewComponents\DefaultViewComponentActivatorTests.cs (1)
78Assert.False(instance.SyncDisposed);
ViewDataOfTTest.cs (1)
58Assert.False(viewData.IsReadOnly);
ViewEngines\CompositeViewEngineTest.cs (6)
66Assert.False(result.Success); 155Assert.False(result.Success); 198Assert.False(result.Success); 296Assert.False(result.Success); 333Assert.False(result.Success); 422Assert.False(result.Success);
ViewExecutorTest.cs (2)
211Assert.False(viewDataNull); 212Assert.False(tempDataNull);
ViewResultExecutorTest.cs (4)
128Assert.False(result.Success); 162Assert.False(result.Success); 196Assert.False(result.Success); 266Assert.False(viewEngineResult.Success);
Microsoft.AspNetCore.OpenApi.Tests (107)
Comparers\OpenApiSchemaComparerTests.cs (39)
151Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 155Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 159Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 163Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 167Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 171Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 175Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 179Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 183Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 187Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 191Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 195Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 199Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 203Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 207Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 211Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 215Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 219Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 223Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 227Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 231Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 235Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 239Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 243Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 247Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 251Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 255Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 259Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 263Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 267Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 271Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 275Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 279Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 283Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 287Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 291Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 295Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 299Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 303Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema));
Extensions\OpenApiSchemaExtensionsTests.cs (43)
62Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 67Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 72Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 77Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 82Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 87Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 92Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 97Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 102Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 107Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 112Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 117Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 122Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 127Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 132Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 137Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 142Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 147Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 152Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 157Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 162Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 167Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 172Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 177Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 182Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 187Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 192Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 197Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 202Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 207Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 212Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 217Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 222Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 227Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 232Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 237Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 242Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 247Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 252Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 259Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 290Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 309Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema)); 332Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema));
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Parameters.cs (4)
86Assert.False(nullableQueryParameter.Required); 89Assert.False(defaultQueryParameter.Required); 112Assert.False(nullableHeaderParameter.Required); 115Assert.False(defaultHeaderParameter.Required);
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.RequestBody.cs (3)
275Assert.False(operation.RequestBody.Required); 328Assert.False(operation.RequestBody.Required); 757Assert.False(property.Value.Nullable);
Services\OpenApiGeneratorTests.cs (11)
123Assert.False(request.Required); 513Assert.False(barParam.Required); 527Assert.False(fooParam.Required); 692Assert.False(requestBody.Required); 722Assert.False(requestBody.Required); 736Assert.False(requestBody.Required); 764Assert.False(requestBody.Required); 818Assert.False(fromFileParam1.Required); 959param => Assert.False(param.Required), 961param => Assert.False(param.Required)); 979param => Assert.False(param.Required));
Services\OpenApiSchemaService\OpenApiSchemaService.RequestBodySchemas.cs (5)
138Assert.False(GetRequestBodyForPath(document, "/non-required-poco").Required); 582Assert.False(property.Nullable); 588Assert.False(property.Nullable); 594Assert.False(property.Nullable); 621Assert.False(schema.AdditionalPropertiesAllowed);
Transformers\Implementations\OpenApiSchemaReferenceTransformerTests.cs (1)
296Assert.False(responseSchema.GetEffective(document).Extensions.TryGetValue("x-my-extension", out var _));
Transformers\SchemaTransformerTests.cs (1)
229Assert.False(responseSchema.Extensions.TryGetValue("x-my-extension", out var _));
Microsoft.AspNetCore.OutputCaching.Tests (31)
OutputCacheAttributeTests.cs (2)
42Assert.False(context.EnableOutputCaching); 71Assert.False(context.EnableOutputCaching);
OutputCacheMiddlewareTests.cs (6)
165Assert.False(middleware.ContentIsNotModified(context)); 198Assert.False(middleware.ContentIsNotModified(context)); 240Assert.False(middleware.ContentIsNotModified(context)); 285Assert.False(middleware.ContentIsNotModified(context)); 299Assert.False(middleware.ContentIsNotModified(context)); 346Assert.False(middleware.ContentIsNotModified(context));
OutputCachePoliciesTests.cs (6)
63Assert.False(context.EnableOutputCaching); 74Assert.False(context.CacheVaryByRules.VaryByHost); 108Assert.False(context.AllowLocking); 119Assert.False(context.AllowCacheLookup); 130Assert.False(context.AllowCacheStorage); 166Assert.False(context.EnableOutputCaching);
OutputCachePolicyBuilderTests.cs (10)
52Assert.False(context.EnableOutputCaching); 87Assert.False(context.EnableOutputCaching); 100Assert.False(context.CacheVaryByRules.VaryByHost); 283Assert.False(context.AllowLocking); 295Assert.False(context.AllowLocking); 296Assert.False(context.AllowCacheLookup); 297Assert.False(context.AllowCacheStorage); 298Assert.False(context.EnableOutputCaching); 310Assert.False(context.EnableOutputCaching); 362Assert.False(context.EnableOutputCaching);
OutputCachePolicyProviderTests.cs (6)
72Assert.False(context.AllowCacheLookup); 73Assert.False(context.AllowCacheStorage); 88Assert.False(context.AllowCacheStorage); 89Assert.False(context.AllowCacheLookup); 204Assert.False(context.AllowCacheStorage); 328Assert.False(context.AllowCacheStorage);
OutputCacheTests.cs (1)
1067Assert.False(subsequentResponse.Headers.Contains(HeaderNames.Age));
Microsoft.AspNetCore.Owin.Tests (5)
OwinEnvironmentTests.cs (3)
106Assert.False(env.TryGetValue(key, out value)); 110Assert.False(env.Keys.Contains(key)); 111Assert.False(env.ContainsKey(key));
OwinExtensionTests.cs (2)
150Assert.False(environment.ContainsKey("websocket.Accept")); 151Assert.False(environment.ContainsKey("websocket.AcceptAlt"));
Microsoft.AspNetCore.RateLimiting.Tests (12)
RateLimitingMetricsTests.cs (1)
327Assert.False(tags.ContainsKey(tagName));
RateLimitingMiddlewareTests.cs (11)
246Assert.False(onRejectedInvoked); 279Assert.False(globalOnRejectedInvoked); 343Assert.False(globalOnRejectedInvoked); 418Assert.False(globalOnRejectedInvoked); 452Assert.False(globalOnRejectedInvoked); 458Assert.False(globalOnRejectedInvoked); 511Assert.False(globalOnRejectedInvoked); 539Assert.False(globalOnRejectedInvoked); 548Assert.False(globalOnRejectedInvoked); 578Assert.False(globalOnRejectedInvoked); 618Assert.False(globalOnRejectedInvoked);
Microsoft.AspNetCore.Razor.Test (12)
TagHelpers\DefaultTagHelperContentTest.cs (6)
23Assert.False(tagHelperContent.IsModified); 403Assert.False(tagHelperContent.IsEmptyOrWhiteSpace); 610Assert.False(tagHelperContent.IsEmptyOrWhiteSpace); 637Assert.False(tagHelperContent.IsEmptyOrWhiteSpace); 650Assert.False(tagHelperContent.IsEmptyOrWhiteSpace); 665Assert.False(tagHelperContent.IsEmptyOrWhiteSpace);
TagHelpers\NullHtmlEncoderTest.cs (1)
152Assert.False(result);
TagHelpers\TagHelperAttributeListTest.cs (1)
225Assert.False(isReadOnly);
TagHelpers\TagHelperOutputTest.cs (4)
56Assert.False(output.PreContent.IsModified); 57Assert.False(output.PostContent.IsModified); 58Assert.False(output.PreElement.IsModified); 59Assert.False(output.PostElement.IsModified);
Microsoft.AspNetCore.ResponseCaching.Tests (32)
ResponseCachingMiddlewareTests.cs (8)
183Assert.False(ResponseCachingMiddleware.ContentIsNotModified(context)); 209Assert.False(ResponseCachingMiddleware.ContentIsNotModified(context)); 243Assert.False(ResponseCachingMiddleware.ContentIsNotModified(context)); 284Assert.False(ResponseCachingMiddleware.ContentIsNotModified(context)); 296Assert.False(ResponseCachingMiddleware.ContentIsNotModified(context)); 339Assert.False(ResponseCachingMiddleware.ContentIsNotModified(context)); 408Assert.False(context.ShouldCacheResponse); 427Assert.False(context.ShouldCacheResponse);
ResponseCachingPolicyProviderTests.cs (23)
61Assert.False(new ResponseCachingPolicyProvider().AttemptResponseCaching(context)); 75Assert.False(new ResponseCachingPolicyProvider().AttemptResponseCaching(context)); 107Assert.False(new ResponseCachingPolicyProvider().AllowCacheLookup(context)); 121Assert.False(new ResponseCachingPolicyProvider().AllowCacheLookup(context)); 151Assert.False(new ResponseCachingPolicyProvider().AllowCacheStorage(context)); 161Assert.False(new ResponseCachingPolicyProvider().IsResponseCacheable(context)); 192Assert.False(new ResponseCachingPolicyProvider().IsResponseCacheable(context)); 209Assert.False(new ResponseCachingPolicyProvider().IsResponseCacheable(context)); 226Assert.False(new ResponseCachingPolicyProvider().IsResponseCacheable(context)); 243Assert.False(new ResponseCachingPolicyProvider().IsResponseCacheable(context)); 260Assert.False(new ResponseCachingPolicyProvider().IsResponseCacheable(context)); 354Assert.False(new ResponseCachingPolicyProvider().IsResponseCacheable(context)); 395Assert.False(new ResponseCachingPolicyProvider().IsResponseCacheable(context)); 437Assert.False(new ResponseCachingPolicyProvider().IsResponseCacheable(context)); 479Assert.False(new ResponseCachingPolicyProvider().IsResponseCacheable(context)); 532Assert.False(new ResponseCachingPolicyProvider().IsCachedEntryFresh(context)); 574Assert.False(new ResponseCachingPolicyProvider().IsCachedEntryFresh(context)); 618Assert.False(new ResponseCachingPolicyProvider().IsCachedEntryFresh(context)); 641Assert.False(new ResponseCachingPolicyProvider().IsCachedEntryFresh(context)); 664Assert.False(new ResponseCachingPolicyProvider().IsCachedEntryFresh(context)); 735Assert.False(new ResponseCachingPolicyProvider().IsCachedEntryFresh(context)); 760Assert.False(new ResponseCachingPolicyProvider().IsCachedEntryFresh(context)); 785Assert.False(new ResponseCachingPolicyProvider().IsCachedEntryFresh(context));
ResponseCachingTests.cs (1)
971Assert.False(subsequentResponse.Headers.Contains(HeaderNames.Age));
Microsoft.AspNetCore.ResponseCompression.Tests (11)
ResponseCompressionMiddlewareTest.cs (11)
45Assert.False(options.EnableForHttps); 425Assert.False(response.Content.Headers.ContentEncoding.Contains("gzip")); 755Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _)); 808Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _)); 877Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _)); 941Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _)); 1119Assert.False(fakeSendFile.SendFileInvoked); 1169Assert.False(fakeSendFile.SendFileInvoked); 1217Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _)); 1301Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _)); 1323Assert.False(response.Headers.Contains(HeaderNames.Vary));
Microsoft.AspNetCore.Rewrite.Tests (2)
ApacheModRewrite\CookieActionFactoryTest.cs (1)
48Assert.False(action.Secure);
ApacheModRewrite\RuleRegexParserTest.cs (1)
26Assert.False(results.Invert);
Microsoft.AspNetCore.Routing.FunctionalTests (10)
MinimalFormTests.cs (5)
69Assert.False(result.IsCompleted); 129Assert.False(result.IsCompleted); 290Assert.False(result.IsCompleted); 337Assert.False(result.IsCompleted); 497Assert.False(result.IsCompleted);
RouteHandlerTest.cs (2)
100Assert.False(testDisposeDataSource.IsDisposed); 101Assert.False(testGroupDisposeDataSource.IsDisposed);
ShortCircuitTests.cs (3)
55Assert.False(response.Headers.Contains("NotSet")); 92Assert.False(response1.Headers.Contains("NotSet")); 96Assert.False(response2.Headers.Contains("NotSet"));
Microsoft.AspNetCore.Routing.Tests (147)
Builder\GroupTest.cs (2)
227Assert.False(mapGetCalled); 373Assert.False(groupChangeToken.HasChanged);
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (1)
118Assert.False(metadata.IsOptional);
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (1)
222Assert.False(httpContext.Items.ContainsKey("ExecutedEndpoint"));
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
691Assert.False(endpointMetadata!.IsOptional);
CompositeEndpointDataSourceTest.cs (10)
167Assert.False(token.HasChanged); // initial state 180Assert.False(token.HasChanged); 194Assert.False(token.HasChanged); 207Assert.False(token.HasChanged); 219Assert.False(token.HasChanged); 230Assert.False(token.HasChanged); 243Assert.False(token.HasChanged); 254Assert.False(token.HasChanged); 266Assert.False(token.HasChanged); 278Assert.False(changeToken3.HasChanged);
ConstraintMatcherTest.cs (3)
132Assert.False(RouteConstraintMatcher.Match( 152Assert.False(RouteConstraintMatcher.Match( 172Assert.False(RouteConstraintMatcher.Match(
Constraints\FileNameRouteConstraintTest.cs (2)
79Assert.False(result); 94Assert.False(result);
Constraints\HttpMethodRouteConstraintTests.cs (2)
50Assert.False(result); 90Assert.False(result);
Constraints\NonFIleNameRouteConstraintTest.cs (1)
22Assert.False(result);
Constraints\RegexInlineRouteConstraintTests.cs (2)
57Assert.False(match); 87Assert.False(match);
Constraints\RegexRouteConstraintTests.cs (3)
80Assert.False(match); 99Assert.False(match); 129Assert.False(match);
Constraints\RequiredRouteConstraintTests.cs (3)
29Assert.False(result); 49Assert.False(result); 69Assert.False(result);
Constraints\StringRouteConstraintTest.cs (4)
68Assert.False(match); 88Assert.False(match); 108Assert.False(match); 128Assert.False(match);
DataSourceDependentCacheTest.cs (1)
48Assert.False(called);
DefaultLinkGeneratorProcessTemplateTest.cs (7)
665Assert.False(success); 715Assert.False(success); 965Assert.False(success); 1043Assert.False(success); 1097Assert.False(success); 1539Assert.False(success); 1647Assert.False(success);
EndpointRoutingMiddlewareFormOptionsTest.cs (2)
49Assert.False(formOptions.BufferBody); 121Assert.False(formOptions.BufferBody);
InlineRouteParameterParserTests.cs (10)
285Assert.False(param1.IsOptional); 295Assert.False(param2.IsOptional); 781Assert.False(templatePart.IsOptional); 811Assert.False(templatePart.IsOptional); 841Assert.False(templatePart.IsOptional); 856Assert.False(templatePart.IsOptional); 872Assert.False(templatePart.IsOptional); 887Assert.False(templatePart.IsOptional); 902Assert.False(templatePart.IsOptional); 917Assert.False(templatePart.IsOptional);
MatcherPolicyTest.cs (2)
44Assert.False(result); 57Assert.False(result);
Matching\AcceptsMatcherPolicyTest.cs (7)
26Assert.False(result); 44Assert.False(result); 82Assert.False(result); 153Assert.False(result); 535Assert.False(candidates.IsValidCandidate(0)); 564Assert.False(candidates.IsValidCandidate(0)); 593Assert.False(candidates.IsValidCandidate(0));
Matching\CandidateSetTest.cs (4)
40Assert.False(candidateSet.IsValidCandidate(i)); 103Assert.False(candidateSet.IsValidCandidate(i)); 133Assert.False(candidateSet.IsValidCandidate(0)); 366Assert.False(candidateSet.IsValidCandidate(i));
Matching\ContentEncodingNegotiationMatcherPolicyTest.cs (18)
50Assert.False(result); 87Assert.False(endpoints.IsValidCandidate(1)); 106Assert.False(endpoints.IsValidCandidate(0)); 127Assert.False(endpoints.IsValidCandidate(1)); 146Assert.False(endpoints.IsValidCandidate(0)); 166Assert.False(endpoints.IsValidCandidate(1)); 187Assert.False(endpoints.IsValidCandidate(1)); 205Assert.False(endpoints.IsValidCandidate(0)); 206Assert.False(endpoints.IsValidCandidate(1)); 226Assert.False(endpoints.IsValidCandidate(0)); 227Assert.False(endpoints.IsValidCandidate(1)); 248Assert.False(endpoints.IsValidCandidate(1)); 267Assert.False(endpoints.IsValidCandidate(1)); 285Assert.False(endpoints.IsValidCandidate(0)); 286Assert.False(endpoints.IsValidCandidate(1)); 305Assert.False(endpoints.IsValidCandidate(1)); 324Assert.False(endpoints.IsValidCandidate(1)); 342Assert.False(endpoints.IsValidCandidate(1));
Matching\EndpointComparerTest.cs (4)
120Assert.False(result); 136Assert.False(result); 152Assert.False(result); 168Assert.False(result);
Matching\HostMatcherPolicyTest.cs (4)
23Assert.False(result); 41Assert.False(result); 79Assert.False(result); 171Assert.False(result);
Matching\HttpMethodMatcherPolicyTest.cs (4)
24Assert.False(result); 42Assert.False(result); 80Assert.False(result); 151Assert.False(result);
Matching\ILEmitTrieFactoryTest.cs (1)
45Assert.False(actual);
Patterns\DefaultRoutePatternTransformerTest.cs (2)
205Assert.False(actual.Defaults.ContainsKey("controller")); 207Assert.False(actual.Defaults.ContainsKey("action"));
Patterns\InlineRouteParameterParserTest.cs (14)
277Assert.False(param1.IsOptional); 287Assert.False(param2.IsOptional); 773Assert.False(templatePart.IsOptional); 803Assert.False(templatePart.IsOptional); 833Assert.False(templatePart.IsOptional); 848Assert.False(templatePart.IsOptional); 864Assert.False(templatePart.IsOptional); 879Assert.False(templatePart.IsOptional); 894Assert.False(templatePart.IsOptional); 909Assert.False(templatePart.IsOptional); 1012Assert.False(parameterPart.EncodeSlashes); 1026Assert.False(parameterPart.EncodeSlashes); 1041Assert.False(parameterPart.EncodeSlashes); 1058Assert.False(parameterPart.EncodeSlashes);
Patterns\RoutePatternMatcherTest.cs (13)
41Assert.False(match); 74Assert.False(match); 235Assert.False(match); 266Assert.False(match); 330Assert.False(match); 345Assert.False(match); 931Assert.False(values.ContainsKey("action")); 949Assert.False(values.ContainsKey("controller")); 986Assert.False(values.ContainsKey("id")); 1007Assert.False(match); 1053Assert.False(match); 1087Assert.False(match); 1116Assert.False(match);
RouteEndpointBuilderTest.cs (2)
115(metadata) => Assert.False(metadata.AcceptCorsPreflight), 136Assert.False(httpMethodMetadata.AcceptCorsPreflight);
RouteHandlerOptionsTests.cs (1)
66Assert.False(options.Value.ThrowOnBadRequest);
RouteTest.cs (2)
285Assert.False(routeValues.ContainsKey("id")); 286Assert.False(context.RouteData.Values.ContainsKey("id"));
Template\TemplateBinderTests.cs (1)
1223Assert.False(TemplateBinder.RoutePartsEqual(left, right));
Template\TemplateMatcherTests.cs (13)
40Assert.False(match); 73Assert.False(match); 234Assert.False(match); 265Assert.False(match); 329Assert.False(match); 344Assert.False(match); 930Assert.False(values.ContainsKey("action")); 948Assert.False(values.ContainsKey("controller")); 985Assert.False(values.ContainsKey("id")); 1006Assert.False(match); 1052Assert.False(match); 1086Assert.False(match); 1115Assert.False(match);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (88)
AuthenticationTests.cs (13)
34Assert.False(httpContext.User.Identity.IsAuthenticated); 73Assert.False(httpContext.User.Identity.IsAuthenticated); 99Assert.False(httpContext.User.Identity.IsAuthenticated); 125Assert.False(httpContext.User.Identity.IsAuthenticated); 190Assert.False(string.IsNullOrEmpty(userName)); 207Assert.False(httpContext.User.Identity.IsAuthenticated); 209Assert.False(authResults.Succeeded); 254Assert.False(httpContext.User.Identity.IsAuthenticated); 277Assert.False(httpContext.User.Identity.IsAuthenticated); 295Assert.False(httpContext.User.Identity.IsAuthenticated); 321Assert.False(httpContext.User.Identity.IsAuthenticated); 339Assert.False(httpContext.User.Identity.IsAuthenticated); 389Assert.False(httpContext.User.Identity.IsAuthenticated);
DelegateTests.cs (2)
87Assert.False(delegateFeature.CanDelegate); 119Assert.False(delegateFeature.CanDelegate);
Http2Tests.cs (10)
36Assert.False(feature.IsUpgradableRequest); 121Assert.False(httpContext.Request.Headers.ContainsKey(HeaderNames.TransferEncoding)); 171Assert.False(httpContext.Request.Headers.ContainsKey(HeaderNames.TransferEncoding)); 340Assert.False(decodedHeaders.ContainsKey(HeaderNames.Connection)); 351Assert.False(decodedHeaders.ContainsKey(HeaderNames.Connection)); 387Assert.False(decodedHeaders.ContainsKey(HeaderNames.Connection)); 426Assert.False(decodedHeaders.ContainsKey(HeaderNames.Connection)); 466Assert.False(decodedHeaders.ContainsKey(HeaderNames.Connection)); 483Assert.False(decodedHeaders.ContainsKey(HeaderNames.Connection)); 502Assert.False(decodedHeaders.ContainsKey(HeaderNames.Connection));
HttpsTests.cs (3)
257Assert.False(requestTimingFeature.TryGetTimestamp(HttpSysRequestTimingType.Http3StreamStart, out var streamStart)); 258Assert.False(requestTimingFeature.TryGetTimestamp((HttpSysRequestTimingType)int.MaxValue, out var invalid)); 259Assert.False(requestTimingFeature.TryGetElapsedTime(HttpSysRequestTimingType.Http3StreamStart, HttpSysRequestTimingType.RequestHeaderParseStart, out elapsed));
Listener\RequestHeaderTests.cs (1)
51Assert.False(removedAgain);
Listener\ResponseHeaderTests.cs (11)
41Assert.False(response.Headers.TransferEncodingChunked.HasValue); 63Assert.False(response.Headers.TransferEncodingChunked.HasValue); 86Assert.False(response.Headers.TransferEncodingChunked.HasValue); 89Assert.False(response.Content.Headers.Contains("Content-Length")); 114Assert.False(response.Headers.TransferEncodingChunked.HasValue); 118Assert.False(response.Content.Headers.Contains("Content-Length")); 144Assert.False(response.Headers.TransferEncodingChunked.HasValue); 173Assert.False(response.Headers.TransferEncodingChunked.HasValue); 176Assert.False(response.Content.Headers.Contains("Content-Length")); 196Assert.False(response.Headers.TransferEncodingChunked.HasValue); 199Assert.False(response.Content.Headers.Contains("Content-Length"));
OpaqueUpgradeTests.cs (4)
136Assert.False(feature.IsReadOnly); 264Assert.False(opaqueFeature.IsUpgradableRequest); 287Assert.False(opaqueFeature.IsUpgradableRequest); 314Assert.False(opaqueFeature.IsUpgradableRequest);
RequestBodyLimitTests.cs (16)
28Assert.False(feature.IsReadOnly); 50Assert.False(feature.IsReadOnly); 72Assert.False(feature.IsReadOnly); 95Assert.False(feature.IsReadOnly); 117Assert.False(feature.IsReadOnly); 139Assert.False(feature.IsReadOnly); 162Assert.False(feature.IsReadOnly); 187Assert.False(feature.IsReadOnly); 212Assert.False(feature.IsReadOnly); 238Assert.False(feature.IsReadOnly); 263Assert.False(feature.IsReadOnly); 287Assert.False(feature.IsReadOnly); 315Assert.False(feature.IsReadOnly); 341Assert.False(feature.IsReadOnly); 365Assert.False(feature.IsReadOnly); 389Assert.False(feature.IsReadOnly);
RequestHeaderTests.cs (3)
28Assert.False(StringValues.IsNullOrEmpty(requestHeaders["Host"])); 45Assert.False(StringValues.IsNullOrEmpty(requestHeaders["Host"])); 162Assert.False(requestHeaders.ContainsKey("Content-Length"));
ResponseHeaderTests.cs (7)
32Assert.False(response.Headers.TransferEncodingChunked.HasValue); 157Assert.False(result); 179Assert.False(response.Headers.TransferEncodingChunked.HasValue); 205Assert.False(response.Content.Headers.Contains("Content-Length")); 225Assert.False(response.HasStarted); 256Assert.False(response.HasStarted); 292Assert.False(headers.Contains(headerName));
ResponseTests.cs (2)
29Assert.False(httpContext.Response.HasStarted); 240Assert.False(httpContext.Response.HasStarted);
ResponseTrailersTests.cs (2)
28Assert.False(httpContext.Response.SupportsTrailers()); 331Assert.False(headers.Contains(headerName));
ServerTests.cs (14)
436Assert.False(stopTask1.IsCompleted); 437Assert.False(stopTask2.IsCompleted); 438Assert.False(stopTask3.IsCompleted); 470Assert.False(stopTask1.IsCompleted); 471Assert.False(stopTask2.IsCompleted); 472Assert.False(stopTask3.IsCompleted); 507Assert.False(stopTask1.IsCompleted); 508Assert.False(stopTask2.IsCompleted); 509Assert.False(stopTask3.IsCompleted); 544Assert.False(stopTask1.IsCompleted); 545Assert.False(stopTask2.IsCompleted); 546Assert.False(stopTask3.IsCompleted); 581Assert.False(stopTask1.IsCompleted); 582Assert.False(stopTask2.IsCompleted);
Microsoft.AspNetCore.Server.HttpSys.Tests (1)
UrlPrefixTests.cs (1)
81Assert.False(urlPrefix.Path.IsNormalized(NormalizationForm.FormC));
Microsoft.AspNetCore.Server.IISIntegration.Tests (5)
IISMiddlewareTests.cs (5)
94Assert.False(assertsExecuted); 140Assert.False(requestExecuted.Task.IsCompleted); 198Assert.False(applicationStoppingFired.Task.IsCompleted); 243Assert.False(applicationStoppingFired.Task.IsCompleted); 288Assert.False(applicationStoppingFired.Task.IsCompleted);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (147)
AddressBinderTests.cs (9)
45Assert.False(AddressBinder.TryCreateIPEndPoint( 61Assert.False(https); 72Assert.False(https); 83Assert.False(https); 93Assert.False(https); 104Assert.False(https); 115Assert.False(https); 126Assert.False(https); 137Assert.False(https);
AsciiDecoding.cs (5)
103Assert.False(StringUtilities.BytesOrdinalEqualsStringAndAscii(s, span.Slice(0, span.Length - 1))); 104Assert.False(StringUtilities.BytesOrdinalEqualsStringAndAscii(s.Substring(0, s.Length - 1), span)); 107Assert.False(StringUtilities.BytesOrdinalEqualsStringAndAscii(s, span.Slice(1, span.Length - 1))); 108Assert.False(StringUtilities.BytesOrdinalEqualsStringAndAscii(s.Substring(1, s.Length - 1), span)); 146Assert.False(StringUtilities.BytesOrdinalEqualsStringAndAscii(s, asciiBytes));
CertificatePathWatcherTests.cs (4)
63Assert.False(changeToken.HasChanged); 163Assert.False(newChangeToken.HasChanged); 213Assert.False(Directory.Exists(dir)); 391Assert.False(changeTcs.Task.IsCompleted);
ConcurrentPipeWriterTests.cs (14)
110Assert.False(flushTask0.IsCompleted); 122Assert.False(flushTask0.IsCompleted); 123Assert.False(flushTask1.IsCompleted); 142Assert.False(flushTask0.IsCompleted); 143Assert.False(flushTask1.IsCompleted); 155Assert.False(flushTask0.IsCompleted); 156Assert.False(flushTask1.IsCompleted); 207Assert.False(flushTask0.IsCompleted); 238Assert.False(flushTask1.IsCompleted); 290Assert.False(flushTask0.IsCompleted); 360Assert.False(flushTask0.IsCompleted); 371Assert.False(flushTask0.IsCompleted); 372Assert.False(flushTask1.IsCompleted); 389Assert.False(flushTask2.IsCompleted);
Http1\Http1ConnectionTests.cs (2)
721Assert.False(successResult.IsCompleted); 735Assert.False(successResult.IsCanceled);
Http1\Http1OutputProducerTests.cs (1)
51Assert.False(socketOutput.Pipe.Reader.TryRead(out var result));
Http2\Http2HeadersEnumeratorTests.cs (1)
138Assert.False(e.MoveNext());
Http2\Http2HPackEncoderTests.cs (1)
587Assert.False(integerDecoder.BeginTryDecode((byte)(buffer[0] & ~DynamicTableSizeUpdateMask), prefixLength: 5, out _));
Http2\Http2HttpProtocolFeatureCollectionTests.cs (1)
44Assert.False(upgradeFeature.IsUpgradableRequest);
Http3\Http3HeadersEnumeratorTests.cs (1)
145Assert.False(e.MoveNext());
Http3\Http3HttpProtocolFeatureCollectionTests.cs (1)
44Assert.False(upgradeFeature.IsUpgradableRequest);
HttpHeadersTests.cs (4)
256Assert.False(headers.TryGetValue("Content-Length", out var value)); 273Assert.False(headers.TryGetValue("Content-Length", out value)); 291Assert.False(headers.TryGetValue("Content-Length", out value)); 298Assert.False(headers.TryGetValue("Content-Length", out value));
HttpParserTests.cs (11)
60Assert.False(ParseRequestLine(parser, requestHandler, buffer, out var consumed, out var examined)); 71Assert.False(ParseRequestLine(parser, requestHandler, buffer, out var consumed, out var examined)); 237Assert.False(parser.ParseHeaders(requestHandler, ref reader)); 264Assert.False(parser.ParseHeaders(requestHandler, ref reader)); 465Assert.False(parser.ParseHeaders(requestHandler, ref reader1)); 572Assert.False(result); 662Assert.False(result); 676Assert.False(result); 748Assert.False(result); 773Assert.False(parser.ParseHeaders(requestHandler, ref reader)); 825Assert.False(parser.ParseHeaders(requestHandler, ref reader));
HttpRequestHeadersTests.cs (45)
26Assert.False(headers.IsReadOnly); 72Assert.False(headers.TryGetValue("host", out value)); 73Assert.False(headers.TryGetValue("custom", out value)); 74Assert.False(headers.TryGetValue("Content-Length", out value)); 78Assert.False(headers.TryGetValue("custom", out value)); 79Assert.False(headers.TryGetValue("Content-Length", out value)); 84Assert.False(headers.TryGetValue("Content-Length", out value)); 241Assert.False(headers.ContainsKey("host")); 242Assert.False(headers.ContainsKey("custom")); 243Assert.False(headers.ContainsKey("Content-Length")); 244Assert.False(headers.Contains(kv1)); 245Assert.False(headers.Contains(kv2)); 246Assert.False(headers.Contains(kv3)); 250Assert.False(headers.ContainsKey("custom")); 251Assert.False(headers.ContainsKey("Content-Length")); 253Assert.False(headers.Contains(kv2)); 254Assert.False(headers.Contains(kv3)); 255Assert.False(headers.Contains(kv1b)); 256Assert.False(headers.Contains(kv2b)); 257Assert.False(headers.Contains(kv3b)); 262Assert.False(headers.ContainsKey("Content-Length")); 265Assert.False(headers.Contains(kv3)); 266Assert.False(headers.Contains(kv1b)); 267Assert.False(headers.Contains(kv2b)); 268Assert.False(headers.Contains(kv3b)); 277Assert.False(headers.Contains(kv1b)); 278Assert.False(headers.Contains(kv2b)); 279Assert.False(headers.Contains(kv3b)); 288Assert.False(headers.TryGetValue("host", out value)); 289Assert.False(headers.TryGetValue("custom", out value)); 290Assert.False(headers.TryGetValue("Content-Length", out value)); 324Assert.False(headers.TryGetValue("host", out value)); 325Assert.False(headers.TryGetValue("custom", out value)); 326Assert.False(headers.TryGetValue("Content-Length", out value)); 344Assert.False(headers.Remove("host")); 347Assert.False(headers.TryGetValue("host", out value)); 351Assert.False(headers.Remove("custom")); 354Assert.False(headers.TryGetValue("host", out value)); 355Assert.False(headers.TryGetValue("custom", out value)); 359Assert.False(headers.Remove("Content-Length")); 362Assert.False(headers.TryGetValue("host", out value)); 363Assert.False(headers.TryGetValue("custom", out value)); 364Assert.False(headers.TryGetValue("Content-Length", out value)); 567Assert.False(nextSpan.SequenceEqual(Encoding.ASCII.GetBytes(headerValueUtf16Latin1CrossOver))); 612Assert.False(latinValueSpan.SequenceEqual(Encoding.ASCII.GetBytes(headerValueUtf16Latin1CrossOver)));
HttpRequestStreamTests.cs (2)
29Assert.False(stream.CanSeek); 36Assert.False(stream.CanWrite);
HttpResponseHeadersTests.cs (1)
50Assert.False(headers.IsReadOnly);
HttpResponseStreamTests.cs (2)
22Assert.False(stream.CanRead); 29Assert.False(stream.CanSeek);
HttpUtilitiesTest.cs (1)
229Assert.False(HttpUtilities.IsHostHeaderValid(host));
KestrelServerOptionsTests.cs (1)
22Assert.False(options.AllowSynchronousIO);
KestrelServerTests.cs (8)
581Assert.False(stopTask1.IsCompleted); 582Assert.False(stopTask2.IsCompleted); 583Assert.False(stopTask3.IsCompleted); 639Assert.False(stopTask1.IsCompleted); 640Assert.False(stopTask2.IsCompleted); 641Assert.False(stopTask3.IsCompleted); 693Assert.False(stopTask1.IsCompleted); 694Assert.False(stopTask2.IsCompleted);
ListenOptionsTests.cs (2)
54Assert.False(localhostListenOptions.ProtocolsSetExplicitly); 57Assert.False(clone1.ProtocolsSetExplicitly);
MessageBodyTests.cs (10)
346Assert.False(readTask.IsCompleted); 928Assert.False(startRequestBodyCalled); 1058Assert.False(readResult.IsCanceled); 1095Assert.False(readResult.IsCompleted); 1122Assert.False(readResult.IsCompleted); 1172Assert.False(readResult.IsCompleted); 1196Assert.False(readResult.IsCompleted); 1309Assert.False(readResult.IsCompleted); 1333Assert.False(readResult.IsCompleted); 1359Assert.False(readResult.IsCompleted);
ResourceCounterTests.cs (3)
26Assert.False(counter.TryLockOne()); 44Assert.False(counter.TryLockOne()); 53Assert.False(counter.TryLockOne());
SniOptionsSelectorTests.cs (1)
763Assert.False(options.ClientCertificateRequired);
src\Shared\test\Shared.Tests\runtime\Http2\HPackDecoderTest.cs (1)
731Assert.False(_handler.DecodedHeaders.ContainsKey(string8194));
src\Shared\test\Shared.Tests\runtime\Http2\HPackIntegerTest.cs (3)
31Assert.False(success); 71Assert.False(decodeResult); 100Assert.False(decoder.TryDecode(octets[j], out intResult));
src\Shared\test\Shared.Tests\runtime\Http3\VariableLengthIntegerHelperTests.cs (9)
20Assert.False(isSuccess); 66Assert.False(isSuccess); 99Assert.False(isSuccess); 131Assert.False(isSuccess); 215Assert.False(isSuccess); 257Assert.False(isSuccess); 300Assert.False(isSuccess); 328Assert.False(isSuccess); 356Assert.False(isSuccess);
ThrowingWasUpgradedWriteOnlyStreamTests.cs (3)
19Assert.False(stream.CanRead); 20Assert.False(stream.CanSeek); 21Assert.False(stream.CanTimeout);
Microsoft.AspNetCore.Server.Kestrel.Tests (12)
ConfigurationReaderTests.cs (7)
26Assert.False(certificates.Any()); 39Assert.False(certificates.Any()); 114Assert.False(endpoints.Any()); 127Assert.False(endpoints.Any()); 182Assert.False(end1.Certificate.ConfigSection.Exists()); 190Assert.False(end2.Certificate.ConfigSection.Exists()); 295Assert.False(endpoint.Sni.Any());
HttpsConfigurationTests.cs (1)
235Assert.False(host.Services.GetRequiredService<IHttpsConfigurationService>().IsInitialized);
KestrelConfigurationLoaderTests.cs (4)
131Assert.False(run1); 147Assert.False(run1); 196Assert.False(serverOptions.CodeBackedListenOptions[0].IsTls); 906Assert.False(fileTcs.Task.IsCompleted);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (10)
QuicConnectionListenerTests.cs (5)
57Assert.False(serverConnection.ConnectionClosed.IsCancellationRequested); 62Assert.False(serverConnection.ConnectionClosed.IsCancellationRequested); 78Assert.False(serverConnection1.ConnectionClosed.IsCancellationRequested); 103Assert.False(serverConnection2.ConnectionClosed.IsCancellationRequested); 405Assert.False(acceptTask.IsCompleted);
QuicStreamContextTests.cs (3)
320Assert.False(quicStreamContext.CanWrite); 430Assert.False(quicStreamContext.CanRead); 474Assert.False(quicStreamContext.CanRead);
WebHostTests.cs (2)
327Assert.False(response1.Headers.Contains("alt-svc")); 340Assert.False(response2.Headers.Contains("alt-svc"));
Microsoft.AspNetCore.Session.Tests (12)
SessionTests.cs (12)
57Assert.False(response.Headers.TryGetValues("Set-Cookie", out var _)); 178Assert.False(value.HasValue); 227Assert.False(value.HasValue); 239Assert.False(value.HasValue); 286Assert.False(value.HasValue); 298Assert.False(value.HasValue); 395Assert.False(value.HasValue); 401Assert.False(value.HasValue); 654Assert.False(context.Session.TryGetValue("key", out var value)); 657Assert.False(context.Session.Keys.Any()); 705Assert.False(context.Session.IsAvailable); 707Assert.False(context.Session.Keys.Any());
Microsoft.AspNetCore.Shared.Tests (57)
AdaptiveCapacityDictionaryTests.cs (21)
97Assert.False(result); 541Assert.False(result); 561Assert.False(result); 575Assert.False(result); 588Assert.False(result); 604Assert.False(result); 722Assert.False(result); 743Assert.False(result); 758Assert.False(result); 771Assert.False(result); 787Assert.False(result); 838Assert.False(result); 852Assert.False(result); 869Assert.False(result); 934Assert.False(dict.ContainsKey("key")); 959Assert.False(dict.ContainsKey("key")); 984Assert.False(dict.ContainsKey("key")); 1069Assert.False(result); 1094Assert.False(result); 1108Assert.False(result); 1125Assert.False(result);
CommandLineApplicationTests.cs (11)
346Assert.False(option.HasValue()); 770Assert.False(commandRan); 922Assert.False(optHelp.HasValue()); 923Assert.False(optVersion.HasValue()); 954Assert.False(optHelp.HasValue()); 955Assert.False(optVersion.HasValue()); 981Assert.False(optHelp.HasValue()); 982Assert.False(optVersion.HasValue()); 1008Assert.False(optHelp.HasValue()); 1009Assert.False(optVersion.HasValue()); 1100Assert.False(optFlag.HasValue());
CopyOnWriteDictionaryHolderTest.cs (2)
33Assert.False(holder.TryGetValue("different-key", out value)); 35Assert.False(holder.HasBeenCopied);
CopyOnWriteDictionaryTest.cs (1)
54Assert.False(copyOnWriteDictionary.TryGetValue("different-key", out value));
ObjectMethodExecutorTest.cs (5)
28Assert.False(executor.IsMethodAsync); 39Assert.False(executor.IsMethodAsync); 51Assert.False(executor.IsMethodAsync); 64Assert.False(executor.IsMethodAsync); 73Assert.False(executor.IsMethodAsync);
runtime\Http2\HPackDecoderTest.cs (1)
731Assert.False(_handler.DecodedHeaders.ContainsKey(string8194));
runtime\Http2\HPackIntegerTest.cs (3)
31Assert.False(success); 71Assert.False(decodeResult); 100Assert.False(decoder.TryDecode(octets[j], out intResult));
runtime\Http3\VariableLengthIntegerHelperTests.cs (9)
20Assert.False(isSuccess); 66Assert.False(isSuccess); 99Assert.False(isSuccess); 131Assert.False(isSuccess); 215Assert.False(isSuccess); 257Assert.False(isSuccess); 300Assert.False(isSuccess); 328Assert.False(isSuccess); 356Assert.False(isSuccess);
SecurityHelperTests.cs (2)
60Assert.False(existingPrincipal.Identity.IsAuthenticated); 71Assert.False(user.Identity.IsAuthenticated);
SegmentWriteStreamTests.cs (1)
38Assert.False(stream.CanWrite);
ValueStopwatchTest.cs (1)
15Assert.False(default(ValueStopwatch).IsActive);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (8)
HubConnectionTests.cs (3)
2664Assert.False(reconnectCalled); 2734Assert.False(reconnectCalled); 2827Assert.False(resultTask.IsCompleted);
HubConnectionTests.Tracing.cs (5)
147Assert.False(a.HasRemoteParent); 181Assert.False(a.HasRemoteParent); 279Assert.False(clientActivity.IsStopped); 320Assert.False(a.HasRemoteParent); 343Assert.False(a.HasRemoteParent);
Microsoft.AspNetCore.SignalR.Client.Tests (30)
HttpConnectionTests.ConnectionLifecycle.cs (6)
240Assert.False(stopTask.IsCompleted); 271Assert.False(testTransport.Receiving.IsCompleted); 373Assert.False(connectResponseTcs.Task.IsCompleted); 374Assert.False(startTask.IsCompleted); 414Assert.False(startTask.IsCanceled); 476Assert.False(transportStartCalled);
HttpConnectionTests.cs (1)
112Assert.False(httpClientHandler.UseDefaultCredentials);
HubClientProxyGeneratorTests.cs (4)
113Assert.False(noArgReg.IsDisposed); 114Assert.False(singleArgReg.IsDisposed); 115Assert.False(manyArgsReg.IsDisposed); 116Assert.False(returnTaskReg.IsDisposed);
HubConnectionTests.ConnectionLifecycle.cs (9)
59Assert.False(firstStart.IsCompleted); 66Assert.False(secondStart.IsCompleted); 135Assert.False(stopTask.IsCompleted); 137Assert.False(stopTask.IsCompleted); 216Assert.False(startTask.IsCompleted); 248Assert.False(startTask.IsCompleted); 312Assert.False(testConnection.Disposed.IsCompleted); 348Assert.False(testConnection.Disposed.IsCompleted); 544Assert.False(onStartCalled);
HubConnectionTests.cs (1)
395Assert.False(closeTcs.Task.IsCompleted);
HubConnectionTests.Protocol.cs (6)
459Assert.False(handlerCalled.Task.IsCompleted); 493Assert.False(handlerCalled.Task.IsCompleted); 542Assert.False(task.IsCompleted); 546Assert.False(task.IsCompleted); 604Assert.False(tcs.Task.IsCompleted); 608Assert.False(tcs.Task.IsCompleted);
HubConnectionTests.Reconnect.cs (1)
65Assert.False(reconnectingCalled);
LongPollingTransportTests.cs (1)
54Assert.False(transportActiveTask.IsCompleted);
ServerSentEventsTransportTests.cs (1)
106Assert.False(transportActiveTask.IsCompleted);
Microsoft.AspNetCore.SignalR.Common.Tests (3)
Internal\Formatters\BinaryMessageParserTests.cs (2)
84Assert.False(BinaryMessageParser.TryParseMessage(ref buffer, out var message)); 118Assert.False(BinaryMessageParser.TryParseMessage(ref buffer, out var message));
Internal\Protocol\HandshakeProtocolTests.cs (1)
73Assert.False(HandshakeProtocol.TryParseRequestMessage(ref message, out _));
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
HubLifetimeManagerTestBase.cs (1)
310Assert.False(invoke1.IsCompleted);
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (3)
RedisEndToEnd.cs (2)
173Assert.False(tcs.Task.IsCompleted); 205Assert.False(tcs.Task.IsCompleted);
TestConnectionMultiplexer.cs (1)
297Assert.False(channel.IsPattern);
Microsoft.AspNetCore.SignalR.Tests (43)
DefaultHubLifetimeManagerTests.cs (14)
36Assert.False(sendTask.IsCompleted); 49Assert.False(connection1.ConnectionAborted.IsCancellationRequested); 66Assert.False(sendTask.IsCompleted); 75Assert.False(connection1.ConnectionAborted.IsCancellationRequested); 90Assert.False(sendTask.IsCompleted); 112Assert.False(sendTask.IsCompleted); 135Assert.False(sendTask.IsCompleted); 162Assert.False(sendTask.IsCompleted); 171Assert.False(connection1.ConnectionAborted.IsCancellationRequested); 187Assert.False(sendTask.IsCompleted); 212Assert.False(sendTask.IsCompleted); 225Assert.False(connection1.ConnectionAborted.IsCancellationRequested); 242Assert.False(sendTask.IsCompleted); 255Assert.False(connection1.ConnectionAborted.IsCancellationRequested);
HubConnectionHandlerTests.cs (12)
111Assert.False(state.TokenStateInConnected); 158Assert.False(close.AllowReconnect); 356Assert.False(task.IsCompleted); 360Assert.False(task.IsCompleted); 397Assert.False(task.IsCompleted); 401Assert.False(task.IsCompleted); 680Assert.False(handshakeReadTask.IsCompleted); 965Assert.False(closeMessage.AllowReconnect); 2654Assert.False((bool)result); 2827Assert.False(connectionHandlerTask.IsCompleted); 2927Assert.False(connectionHandlerTask.IsCompleted); 5215Assert.False(readTask.IsCompleted);
HubFilterTests.cs (11)
345Assert.False(syncPoints2[0].WaitForSyncPoint().IsCompleted); 356Assert.False(syncPoints2[1].WaitForSyncPoint().IsCompleted); 369Assert.False(syncPoints2[2].WaitForSyncPoint().IsCompleted); 405Assert.False(syncPoints2[0].WaitForSyncPoint().IsCompleted); 416Assert.False(syncPoints2[1].WaitForSyncPoint().IsCompleted); 429Assert.False(syncPoints2[2].WaitForSyncPoint().IsCompleted); 467Assert.False(syncPoints2[0].WaitForSyncPoint().IsCompleted); 478Assert.False(syncPoints2[1].WaitForSyncPoint().IsCompleted); 491Assert.False(syncPoints2[2].WaitForSyncPoint().IsCompleted); 783Assert.False(tcsService.StartedMethod.Task.IsCompleted); 859Assert.False(tcsService.StartedMethod.Task.IsCompleted);
Internal\MessageBufferTests.cs (4)
118Assert.False(pipes.Application.Input.TryRead(out res)); 280Assert.False(pipes.Application.Input.TryRead(out res)); 359Assert.False(pipes.Application.Input.TryRead(out res)); 494Assert.False(pipes.Application.Input.TryRead(out res));
SerializedHubMessageTests.cs (1)
74Assert.False(secondSerialization.IsCompleted);
WebSocketsTransportTests.cs (1)
56Assert.False(webSocketsOptions.UseDefaultCredentials);
Microsoft.AspNetCore.StaticFiles.Tests (10)
DefaultContentTypeProviderTests.cs (2)
13Assert.False(provider.TryGetContentType("unknown.ext", out contentType)); 29Assert.False(provider.TryGetContentType("known.exe.config", out contentType));
RangeHelperTests.cs (2)
71Assert.False(isRangeRequest); 88Assert.False(isRangeRequest);
StaticFileContextTest.cs (3)
31Assert.False(contentTypeResult); 32Assert.False(lookupResult); 113Assert.False(result);
StaticFileMiddlewareTests.cs (3)
303Assert.False(syncCallbackInvoked); 304Assert.False(asyncCallbackInvoked); 310Assert.False(asyncCallbackInvoked);
Microsoft.AspNetCore.TestHost.Tests (18)
ClientHandlerTests.cs (6)
134Assert.False(context.Request.Headers.ContainsKey(HeaderNames.TransferEncoding)); 151Assert.False(context.Request.Headers.ContainsKey(HeaderNames.TransferEncoding)); 233Assert.False(readTask.IsCompleted); 394Assert.False(task.IsCompleted); 396Assert.False(task.Wait(50)); 456Assert.False(readTask.IsCompleted);
HttpContextBuilderTests.cs (4)
109Assert.False(task.IsCompleted); 111Assert.False(task.Wait(50)); 210Assert.False(readTask.IsCompleted); 260Assert.False(readTask.IsCompleted);
ResponseBodyTests.cs (1)
147Assert.False(zeroByteRead.IsCompleted);
ResponseFeatureTests.cs (2)
16Assert.False(responseInformation.HasStarted); 32Assert.False(responseInformation.HasStarted);
TestClientTests.cs (4)
142Assert.False(disposable.IsDisposed); 582Assert.False(ctx.Request.Headers.ContainsKey(HeaderNames.SecWebSocketProtocol)); 1030Assert.False(upgradeFeature.IsUpgradableRequest); 1035Assert.False(webSocketFeature.IsWebSocketRequest);
WebSocketClientTests.cs (1)
104Assert.False(upgradeFeature.IsUpgradableRequest);
Microsoft.AspNetCore.Testing.Tests (2)
FakeCertificateFactoryTests.cs (1)
23Assert.False(certificate.Extensions.OfType<X509EnhancedKeyUsageExtension>().Single().Critical);
FakeCertificateHttpClientHandlerTests.cs (1)
49Assert.False(sut.ServerCertificateCustomValidationCallback!(
Microsoft.AspNetCore.Tests (5)
WebApplicationTests.cs (5)
1347Assert.False(builder.Host.Properties.ContainsKey("Lowercase")); 1968Assert.False(newBuilder.Properties.TryGetValue(WebApplication.GlobalEndpointRouteBuilderKey, out _)); 2039Assert.False(response.IsSuccessStatusCode); 2145Assert.False(response.IsSuccessStatusCode); 2170Assert.False(response.IsSuccessStatusCode);
Microsoft.AspNetCore.WebSockets.Tests (9)
HandshakeTests.cs (2)
36Assert.False(HandshakeHelpers.IsRequestKeyValid(key)); 92Assert.False(HandshakeHelpers.ParseDeflateOptions(clientHeader.AsSpan(), serverContextTakeover: true, serverMaxWindowBits: 15,
WebSocketCompressionMiddlewareTests.cs (1)
69Assert.False(response.Headers.Contains(HeaderNames.SecWebSocketExtensions));
WebSocketMiddlewareTests.cs (6)
179Assert.False(result.EndOfMessage); 187Assert.False(result.EndOfMessage); 319Assert.False(result.EndOfMessage); 326Assert.False(result.EndOfMessage); 698Assert.False(context.WebSockets.IsWebSocketRequest); 788Assert.False(feature.Enabled);
Microsoft.AspNetCore.WebUtilities.Tests (24)
FileBufferingReadStreamTests.cs (23)
28Assert.False(stream.CanWrite); 34Assert.False(bufferSteam.CanRead); // Buffered Stream now disposed 35Assert.False(bufferSteam.CanSeek); 125Assert.False(stream.InMemory); 134Assert.False(stream.InMemory); 142Assert.False(File.Exists(tempFileName)); 163Assert.False(File.Exists(stream.TempFileName)); 186Assert.False(stream.InMemory); 193Assert.False(stream.InMemory); 197Assert.False(File.Exists(tempFileName)); 287Assert.False(stream.InMemory); 296Assert.False(stream.InMemory); 304Assert.False(File.Exists(tempFileName)); 318Assert.False(stream.InMemory); 345Assert.False(File.Exists(tempFileName)); 366Assert.False(File.Exists(stream.TempFileName)); 389Assert.False(stream.InMemory); 396Assert.False(stream.InMemory); 400Assert.False(File.Exists(tempFileName)); 429Assert.False(File.Exists(tempFileName)); 458Assert.False(File.Exists(tempFileName)); 616Assert.False(stream.InMemory); 627Assert.False(File.Exists(tempFileName));
PagedByteBufferTest.cs (1)
162Assert.False(buffer.Disposed);
Microsoft.Build.BuildCheck.UnitTests (97)
EditorConfig_Tests.cs (97)
127Assert.False(matcher.IsMatch("/aabc")); 128Assert.False(matcher.IsMatch("/ abc")); 129Assert.False(matcher.IsMatch("/cabc")); 157Assert.False(matcher.IsMatch("/abc.vb")); 178Assert.False(matcher.IsMatch("/aaa")); 179Assert.False(matcher.IsMatch("/???")); 180Assert.False(matcher.IsMatch("/abc")); 210Assert.False(matcher.IsMatch("/ab/c")); 211Assert.False(matcher.IsMatch("/ab\\\\c")); 221Assert.False(matcher.IsMatch("/ab/cd**efg*")); 222Assert.False(matcher.IsMatch("/*ab/cd*efg*")); 223Assert.False(matcher.IsMatch("/*ab/cd**ef/gh")); 234Assert.False(matcher.IsMatch("/aaaaaaaa")); 235Assert.False(matcher.IsMatch("/aa?cde?f")); 236Assert.False(matcher.IsMatch("/?a?cdexf")); 237Assert.False(matcher.IsMatch("/?axcde?f")); 248Assert.False(matcher.IsMatch("/abcdef")); 249Assert.False(matcher.IsMatch("/abc}{def")); 260Assert.False(matcher.IsMatch("/abcdef")); 261Assert.False(matcher.IsMatch("/abc\\,def")); 262Assert.False(matcher.IsMatch("/abc`def")); 278Assert.False(matcher.IsMatch("/abcxcs")); 279Assert.False(matcher.IsMatch("/abcxvb")); 280Assert.False(matcher.IsMatch("/abcxfs")); 281Assert.False(matcher.IsMatch("/subdir/abcxcs")); 282Assert.False(matcher.IsMatch("/subdir/abcxcb")); 283Assert.False(matcher.IsMatch("/subdir/abcxcs")); 304Assert.False(matcher.IsMatch("/subdir/test.cs")); 305Assert.False(matcher.IsMatch("/subdir/subdir/test.vb")); 306Assert.False(matcher.IsMatch("/test.vb")); 317Assert.False(matcher.IsMatch("/.")); 318Assert.False(matcher.IsMatch("/anything")); 329Assert.False(matcher.IsMatch("test.vb")); 330Assert.False(matcher.IsMatch("testxcs")); 360Assert.False(matcher.IsMatch("/test.fs")); 361Assert.False(matcher.IsMatch("/other.bbb")); 362Assert.False(matcher.IsMatch("/other.ccc")); 363Assert.False(matcher.IsMatch("/subdir/other.bbb")); 364Assert.False(matcher.IsMatch("/subdir/other.ccc")); 376Assert.False(matcher.IsMatch("/abcdef")); 377Assert.False(matcher.IsMatch("/ab--cd-ef")); 378Assert.False(matcher.IsMatch("/ab--cd--ef")); 391Assert.False(matcher.IsMatch("/abcs")); 392Assert.False(matcher.IsMatch("/abcd")); 393Assert.False(matcher.IsMatch("/vbcd")); 413Assert.False(matcher.IsMatch("/-1")); 414Assert.False(matcher.IsMatch("/-00000001")); 415Assert.False(matcher.IsMatch("/11")); 429Assert.False(matcher.IsMatch("/1")); 430Assert.False(matcher.IsMatch("/-11")); 431Assert.False(matcher.IsMatch("/--0")); 447Assert.False(matcher.IsMatch("/-11")); 448Assert.False(matcher.IsMatch("/11")); 449Assert.False(matcher.IsMatch("/--0")); 469Assert.False(matcher.IsMatch("/a-11b10")); 470Assert.False(matcher.IsMatch("/a-11b10")); 471Assert.False(matcher.IsMatch("/a-10b11")); 485Assert.False(matcher.IsMatch("/0")); 486Assert.False(matcher.IsMatch("/0.")); 487Assert.False(matcher.IsMatch("/0abc")); 491Assert.False(matcher.IsMatch("/0")); 492Assert.False(matcher.IsMatch("/0abc")); 509Assert.False(matcher.IsMatch("/abc.vs")); 518Assert.False(matcher.IsMatch("/abc.cs")); 519Assert.False(matcher.IsMatch("/abc.fs")); 522Assert.False(matcher.IsMatch("/abc.vxs")); 534Assert.False(matcher.IsMatch("/abc.vs")); 535Assert.False(matcher.IsMatch("/abc.xs")); 536Assert.False(matcher.IsMatch("/abc.vxs")); 548Assert.False(matcher.IsMatch("/yx")); 549Assert.False(matcher.IsMatch("/00x")); 558Assert.False(matcher.IsMatch("/0x")); 559Assert.False(matcher.IsMatch("/1x")); 560Assert.False(matcher.IsMatch("/9x")); 562Assert.False(matcher.IsMatch("/00x")); 576Assert.False(matcher.IsMatch("/yx")); 577Assert.False(matcher.IsMatch("/0ax")); 608Assert.False(matcher.IsMatch("/ab")); 609Assert.False(matcher.IsMatch("/[b")); 610Assert.False(matcher.IsMatch("/bc")); 611Assert.False(matcher.IsMatch("/ac")); 612Assert.False(matcher.IsMatch("/[c")); 625Assert.False(matcher.IsMatch("/bbd")); 626Assert.False(matcher.IsMatch("/-cd")); 627Assert.False(matcher.IsMatch("/bcd")); 640Assert.False(matcher.IsMatch("/bbd")); 641Assert.False(matcher.IsMatch("/-cd")); 642Assert.False(matcher.IsMatch("/bcd")); 654Assert.False(matcher.IsMatch("/acd")); 655Assert.False(matcher.IsMatch("/bcd")); 656Assert.False(matcher.IsMatch("/acd")); 669Assert.False(matcher.IsMatch("/dcd")); 670Assert.False(matcher.IsMatch("/\\\\cd")); 671Assert.False(matcher.IsMatch("/cd")); 682Assert.False(matcher.IsMatch("/ab[[cd")); 683Assert.False(matcher.IsMatch("/abc")); 684Assert.False(matcher.IsMatch("/abd"));
Microsoft.Build.CommandLine.UnitTests (28)
CommandLineSwitches_Tests.cs (28)
266Assert.False(multipleParametersAllowed); 271Assert.False(CommandLineSwitches.IsParameterizedSwitch(String.Empty, out parameterizedSwitch, out duplicateSwitchErrorMessage, out multipleParametersAllowed, out missingParametersErrorMessage, out unquoteParameters, out emptyParametersAllowed)); 274Assert.False(multipleParametersAllowed); 276Assert.False(unquoteParameters); 764Assert.False(switches.IsParameterlessSwitchSet(CommandLineSwitches.ParameterlessSwitch.Version)); 765Assert.False(switches[CommandLineSwitches.ParameterlessSwitch.Version]); 807Assert.False(switches.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.Target)); 816Assert.False(switches.SetParameterizedSwitch(CommandLineSwitches.ParameterizedSwitch.Target, "/t:\"", "\"", false, true, false)); 829Assert.False(switches.SetParameterizedSwitch(CommandLineSwitches.ParameterizedSwitch.Target, "/t:A,\"\";B", "A,\"\";B", true, true, false)); 850Assert.False(switches.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.Logger)); 910Assert.False(switchesLeft.HaveErrors()); 911Assert.False(switchesRight.HaveErrors()); 915Assert.False(switchesLeft.HaveErrors()); 916Assert.False(switchesRight.HaveErrors()); 921Assert.False(switchesRight.HaveErrors()); 926Assert.False(switchesRight.HaveErrors()); 945Assert.False(switchesLeft.HaveErrors()); 946Assert.False(switchesRight.HaveErrors()); 971Assert.False(switchesLeft.IsParameterlessSwitchSet(CommandLineSwitches.ParameterlessSwitch.NoConsoleLogger)); 977Assert.False(switchesRight1.IsParameterlessSwitchSet(CommandLineSwitches.ParameterlessSwitch.Help)); 995Assert.False(switchesRight2.IsParameterlessSwitchSet(CommandLineSwitches.ParameterlessSwitch.Help)); 1008Assert.False(switchesLeft.HaveErrors()); 1019Assert.False(switchesLeft.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.Target)); 1025Assert.False(switchesRight.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.Project)); 1212Assert.False(switches.HaveAnySwitchesBeenSet()); 1218Assert.False(switches.HaveAnySwitchesBeenSet()); 1243Assert.False(nodeReuse); 1569Assert.False(helpMessageLines[i].StartsWith(" "));
Microsoft.Build.Engine.OM.UnitTests (120)
Construction\ConstructionEditing_Tests.cs (2)
58Assert.False(project.HasUnsavedChanges); 3248Assert.False(string.IsNullOrEmpty(expectedItem));
Construction\ProjectItemElement_Tests.cs (2)
1011Assert.False(project.HasUnsavedChanges); 1031Assert.False(project.HasUnsavedChanges);
Construction\ProjectMetadataElement_Tests.cs (7)
238Assert.False(metadatum.ContainingProject.HasUnsavedChanges); 821Assert.False(metadata.ExpressedAsAttribute); 884Assert.False(metadata.ExpressedAsAttribute); 957Assert.False(metadata.ExpressedAsAttribute); 1000Assert.False(metadata.ExpressedAsAttribute); 1187Assert.False(metadata.ExpressedAsAttribute); 1234Assert.False(metadata.ExpressedAsAttribute);
Construction\ProjectOutputElement_Tests.cs (2)
28Assert.False(output.IsOutputProperty); 44Assert.False(output.IsOutputItem);
Construction\ProjectPropertyElement_Tests.cs (2)
180Assert.False(property.ContainingProject.HasUnsavedChanges); 207Assert.False(property.ContainingProject.HasUnsavedChanges);
Construction\ProjectRootElement_Tests.cs (2)
1307Assert.False(xml1.PreserveFormatting); 1311Assert.False(xml2.PreserveFormatting);
Construction\SolutionFile_Tests.cs (6)
586Assert.False(csharpProject.ProjectConfigurations["Debug|Win32"].IncludeInBuild); 595Assert.False(csharpProject.ProjectConfigurations["Release|Win32"].IncludeInBuild); 600Assert.False(vcProject.ProjectConfigurations["Debug|Any CPU"].IncludeInBuild); 609Assert.False(vcProject.ProjectConfigurations["Release|Any CPU"].IncludeInBuild); 673Assert.False(classLibrary1.ProjectConfigurations["Debug|Any CPU"].IncludeInBuild); 676Assert.False(classLibrary1.ProjectConfigurations["Release|Any CPU"].IncludeInBuild);
Definition\DefinitionEditing_Tests.cs (4)
572Assert.False(object.ReferenceEquals(item1, item2)); 1445Assert.False(result); // false as it was not in the regular items collection 1579Assert.False(project.IsDirty); 2489Assert.False(object.ReferenceEquals(item1, item2));
Definition\ProjectCollection_Tests.cs (14)
329Assert.False(ReferenceEquals(project1, collection.LoadProject("c:\\1"))); 355Assert.False(ReferenceEquals(project1.Xml, project2.Xml)); 1040Assert.False(collection.ContainsToolset("x")); 1052Assert.False(collection.RemoveToolset("nonexistent")); 1184Assert.False(dirtyRaised); 1343Assert.False(dirtyRaised); 1351Assert.False(dirtyRaised); 1356Assert.False(dirtyRaised); 1371Assert.False(dirtyRaised); 1377Assert.False(dirtyRaised); 1401Assert.False(dirtyRaised); 1412Assert.False(dirtyRaised); // "Dirtying the XML directly should not result in a ProjectChanged event." 1417Assert.False(dirtyRaised); 1421Assert.False(dirtyRaised);
Definition\ProjectItem_Tests.cs (7)
105Assert.False(item.Metadata.GetEnumerator().MoveNext()); 173Assert.False(Object.ReferenceEquals(m1, idm1)); 275Assert.False(item.Metadata.GetEnumerator().MoveNext()); 1936Assert.False(found); 1937Assert.False(project.IsDirty); 2222Assert.False(project.IsDirty); 2282Assert.False(project.IsDirty);
Definition\ProjectMetadata_Tests.cs (4)
58Assert.False(project.IsDirty); 96Assert.False(project.IsDirty); 100Assert.False(project.IsDirty); 450Assert.False(metadata.IsImported);
Definition\ProjectProperty_Tests.cs (10)
127Assert.False(project.IsDirty); 181Assert.False(project.GetProperty(varName).IsGlobalProperty); 182Assert.False(project.GetProperty(varName).IsReservedProperty); 183Assert.False(project.GetProperty(varName).IsImported); 196Assert.False(project.GetProperty("g").IsEnvironmentProperty); 198Assert.False(project.GetProperty("g").IsReservedProperty); 199Assert.False(project.GetProperty("g").IsImported); 212Assert.False(project.GetProperty("MSBuildProjectFile").IsEnvironmentProperty); 213Assert.False(project.GetProperty("MSBuildProjectFile").IsGlobalProperty); 215Assert.False(project.GetProperty("MSBuildProjectFile").IsImported);
Definition\ProtectImports_Tests.cs (3)
411Assert.False(item.HasMetadata(ProjectMetadataName)); // "Metadata was not removed from project." 580Assert.False(metadata.IsImported); // "IsImport property is set." 653Assert.False(metadata.IsImported); // "IsImport property is set."
Instance\ProjectInstance_Tests.cs (11)
90Assert.False(returned.Metadata.GetEnumerator().MoveNext()); 95Assert.False(item.Metadata.GetEnumerator().MoveNext()); 111Assert.False(returned.Metadata.GetEnumerator().MoveNext()); 116Assert.False(item.Metadata.GetEnumerator().MoveNext()); 194Assert.False(item.Metadata.GetEnumerator().MoveNext()); 226Assert.False(Object.ReferenceEquals(first, second)); 238Assert.False(Object.ReferenceEquals(first.GetProperty("p1"), second.GetProperty("p1"))); 331Assert.False(Object.ReferenceEquals(Helpers.MakeList(first.GetItems("i"))[0], Helpers.MakeList(second.GetItems("i"))[0])); 442Assert.False(projAInstanceItem.Metadata.Any()); 484Assert.False(projAInstanceItem.Metadata.Any()); 519Assert.False(projAInstanceItem.Metadata.Any());
Instance\ProjectItemInstance_Tests.cs (2)
85Assert.False(item.Metadata.GetEnumerator().MoveNext()); 454Assert.False(item.Metadata.GetEnumerator().MoveNext());
Instance\ProjectPropertyInstance_Tests.cs (1)
82Assert.False(property.IsImmutable);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
455Assert.False(viewChild is ProjectElementContainer); 511Assert.False(realXml is ProjectElementContainer);
ObjectModelRemoting\Helpers\ViewValidation.cs (1)
117Assert.False(real is T);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (11)
230Assert.False(newOutputItem1.View.IsOutputProperty); 236Assert.False(newOutputItemWithConfig1.View.IsOutputProperty); 240Assert.False(newOutputProp1.View.IsOutputItem); 246Assert.False(newOutputPropWithConfig1.View.IsOutputItem); 284Assert.False(newTask.View.Parameters.ContainsKey(paramName.Ver(1))); 285Assert.False(newTask.Real.Parameters.ContainsKey(paramName.Ver(1))); 286Assert.False(newTask.View.Parameters.ContainsKey(paramName.Ver(5))); 287Assert.False(newTask.Real.Parameters.ContainsKey(paramName.Ver(5))); 327Assert.False(newOutputItem.View.IsOutputProperty); 332Assert.False(newOutputProp.View.IsOutputItem); 669Assert.False(item.View.HasMetadata);
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (18)
49Assert.False(File.Exists(savedPath)); 53Assert.False(realProj.IsDirty); 54Assert.False(viewProj.IsDirty); 77Assert.False(realProj.IsDirty); 78Assert.False(viewProj.IsDirty); 81Assert.False(viewProj.IsBuildEnabled); 82Assert.False(realProj.IsBuildEnabled); 88Assert.False(viewProj.SkipEvaluation); 89Assert.False(realProj.SkipEvaluation); 95Assert.False(viewProj.ThrowInsteadOfSplittingItemElement); 96Assert.False(realProj.ThrowInsteadOfSplittingItemElement); 236Assert.False(fooView.HasMetadata("xx")); 243Assert.False(fooView.RemoveMetadata("xxNone")); 245Assert.False(fooView.HasMetadata("xx")); 250Assert.False(fooView.HasMetadata("xxReal")); 257Assert.False(fooView.HasMetadata("xxReal")); 315Assert.False(pair.View.GlobalProperties.ContainsKey("gp1")); 316Assert.False(pair.View.GlobalProperties.ContainsKey("Configuration"));
ObjectModelRemoting\LinkedProjectCollection_Tests.cs (4)
104Assert.False(prj1Coll.Contains(proj1remote0)); 108Assert.False(prj2Coll.Contains(proj2remote0)); 109Assert.False(prj2Coll.Contains(proj2remote1)); 117Assert.False(prj2Coll.Contains(proj3remote1));
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (5)
99Assert.False(xmlPair.View.HasUnsavedChanges); 111Assert.False(sourceProject.HasUnsavedChanges); 153Assert.False(xmlPair.View.HasUnsavedChanges); 181Assert.False(externalSource && sourceProject.HasUnsavedChanges); 200Assert.False(externalSource && sourceProject.HasUnsavedChanges);
Microsoft.Build.Engine.UnitTests (278)
AssemblyNameEx_Tests.cs (30)
403Assert.False(extension.HasProcessorArchitectureInFusionName); 422Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 423Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName)); 448Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 449Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Version)); 458Assert.False(assemblyNameToMatchVersion.PartialNameCompare(assemblyToCompare)); 459Assert.False(assemblyNameToMatchVersion.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Version)); 461Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 462Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Version)); 492Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 493Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Culture)); 502Assert.False(assemblyNameToMatchCulture.PartialNameCompare(assemblyToCompare)); 503Assert.False(assemblyNameToMatchCulture.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Culture)); 505Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 506Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Culture)); 536Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 537Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.PublicKeyToken)); 546Assert.False(assemblyNameToMatchPublicToken.PartialNameCompare(assemblyToCompare)); 547Assert.False(assemblyNameToMatchPublicToken.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.PublicKeyToken)); 549Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 550Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.PublicKeyToken)); 579Assert.False(assemblyToCompare.PartialNameCompare(assemblyNameToNotMatch, PartialComparisonFlags.SimpleName, true)); 581Assert.False(assemblyToCompare.PartialNameCompare(assemblyMatchNoRetargetable)); 582Assert.False(assemblyToCompare.PartialNameCompare(assemblyMatchNoRetargetable, PartialComparisonFlags.SimpleName, true)); 585Assert.False(assemblyMatchNoRetargetable.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName, true)); 589Assert.False(assemblyNameToMatchRetargetable.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName, true)); 599Assert.False(match); 624Assert.False(AssemblyNameComparer.GenericComparer.Equals(a, d)); 626Assert.False(AssemblyNameComparer.GenericComparerConsiderRetargetable.Equals(a, b)); 628Assert.False(AssemblyNameComparer.GenericComparerConsiderRetargetable.Equals(a, d));
BackEnd\AssemblyTaskFactory_Tests.cs (10)
143Assert.False(_taskFactory.TaskNameCreatableByFactory("NotInAssembly", null, String.Empty, null, ElementLocation.Create(".", 1, 1))); 154Assert.False(_taskFactory.TaskNameCreatableByFactory(String.Empty, null, String.Empty, null, ElementLocation.Create(".", 1, 1))); 165Assert.False(_taskFactory.TaskNameCreatableByFactory(null, null, String.Empty, null, ElementLocation.Create(".", 1, 1))); 205Assert.False(_taskFactory.TaskNameCreatableByFactory("TaskToTestFactories", taskIdentityParameters, String.Empty, null, ElementLocation.Create(".", 1, 1))); 236Assert.False(foundNotExpectedParameter); 285Assert.False(createdTask is TaskHostTask); 316Assert.False(createdTask is TaskHostTask); 349Assert.False(createdTask is TaskHostTask); 382Assert.False(createdTask is TaskHostTask); 417Assert.False(createdTask is TaskHostTask);
BackEnd\BinaryTranslator_Tests.cs (1)
523Assert.False(deserializedValue.ContainsKey("FOO"));
BackEnd\BuildEventArgTransportSink_Tests.cs (4)
99Assert.False(transportSink.HaveLoggedBuildFinishedEvent); 100Assert.False(wentInHandler); // "Expected not to go into transport delegate" 119Assert.False(transportSink.HaveLoggedBuildStartedEvent); 121Assert.False(wentInHandler); // "Expected not to go into transport delegate"
BackEnd\BuildManager_Tests.cs (3)
1278Assert.False(submission1.IsCompleted); 2362Assert.False(Directory.Exists(innerBuildCacheDirectory)); // "Inner build cache directory still exists after inner build manager was disposed." 2369Assert.False(Directory.Exists(outerBuildCacheDirectory)); // "Outer build cache directory still exists after outer build manager was disposed."
BackEnd\BuildRequest_Tests.cs (2)
58Assert.False(request.IsConfigurationResolved); 64Assert.False(request3.IsConfigurationResolved);
BackEnd\BuildRequestConfiguration_Tests.cs (6)
111Assert.False(config2.WasGeneratedByNode); 115Assert.False(config3.WasGeneratedByNode); 312Assert.False(configuration.IsLoaded); 313Assert.False(configuration.IsCached); 314Assert.False(configuration.IsActivelyBuilding); 389Assert.False(configuration.IsCacheable);
BackEnd\BuildResult_Tests.cs (3)
251Assert.False(result.HasResultsForTarget("bar")); 291Assert.False(foundFoo); 297Assert.False(foundBar);
BackEnd\CacheSerialization_Tests.cs (3)
107Assert.False(result.ConfigCache.HasConfiguration(2)); 108Assert.False(result.ConfigCache.HasConfiguration(3)); 142Assert.False(buildResult.HasResultsForTarget("target3"));
BackEnd\ConfigurationMetadata_Tests.cs (2)
116Assert.False(metadata1.Equals(metadata3)); 121Assert.False(metadata1.Equals(metadata4));
BackEnd\EventSourceSink_Tests.cs (10)
156Assert.False(handlerHelper.EnteredEventHandler); 157Assert.False(handlerHelper.EnteredAnyEventHandler); 158Assert.False(handlerHelper.EnteredStatusEventHandler); 177Assert.False(ExceptionHandling.IsCriticalException(e)); 187Assert.False(ExceptionHandling.IsCriticalException(e)); 198Assert.False(ExceptionHandling.IsCriticalException(e)); 212Assert.False(ExceptionHandling.IsCriticalException(e)); 321Assert.False(testHandlers.EnteredStatusEventHandler); 1008Assert.False(_sourceForEvents.HaveLoggedBuildStartedEvent); 1014Assert.False(_sourceForEvents.HaveLoggedBuildFinishedEvent);
BackEnd\LoggingService_Tests.cs (5)
295Assert.False(_initializedService.RegisterLogger(consoleLogger)); 297Assert.False(_initializedService.RegisterLogger(regularILogger)); 442Assert.False(_initializedService.RegisterDistributedLogger(regularILogger, description)); 620Assert.False(_initializedService.RegisterDistributedLogger(regularILogger, description)); 643Assert.False(loggingService.OnlyLogCriticalEvents); // "Expected only log critical events to be false"
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
185Assert.False(exception.HasBeenLogged); 1306Assert.False(Object.ReferenceEquals(actualEventArgs.Properties, properties));
BackEnd\MSBuild_Tests.cs (3)
999Assert.False(success); // "Build succeeded. See 'Standard Out' tab for details." 1563Assert.False(success); // "Build Succeeded. See 'Standard Out' tab for details." 1583Assert.False(success2); // "Build Succeeded. See 'Standard Out' tab for details."
BackEnd\NodeEndpointInProc_Tests.cs (2)
260Assert.False(_linkStatusTable.ContainsKey(endpoints.NodeEndpoint)); 261Assert.False(_linkStatusTable.ContainsKey(endpoints.ManagerEndpoint));
BackEnd\ResultsCache_Tests.cs (1)
191Assert.False(response.Results.HasResultsForTarget("testTarget"));
BackEnd\TargetBuilder_Tests.cs (19)
131Assert.False(result.HasResultsForTarget("Bar")); 155Assert.False(result.HasResultsForTarget("Skip")); 184Assert.False(result.HasResultsForTarget("Foo")); 185Assert.False(result.HasResultsForTarget("Skip")); 186Assert.False(result.HasResultsForTarget("Error")); 187Assert.False(result.HasResultsForTarget("Baz2")); 188Assert.False(result.HasResultsForTarget("Bar")); 189Assert.False(result.HasResultsForTarget("Baz")); 196Assert.False(resultsCache.GetResultForRequest(entry.Request).HasResultsForTarget("Baz2")); 778Assert.False(result.ResultsByTarget["Build"].AfterTargetsHaveFailed); 805Assert.False(result.ResultsByTarget["Build"].AfterTargetsHaveFailed); 835Assert.False(result.ResultsByTarget["Build"].AfterTargetsHaveFailed); 879Assert.False(result.ResultsByTarget["PostBuild"].AfterTargetsHaveFailed); 906Assert.False(result.ResultsByTarget["Build"].AfterTargetsHaveFailed); 933Assert.False(result.ResultsByTarget["Build;Me"].AfterTargetsHaveFailed); 965Assert.False(result.ResultsByTarget["Build"].AfterTargetsHaveFailed); 1251Assert.False(result.ResultsByTarget["Build"].AfterTargetsHaveFailed); 1350Assert.False(success); 1438Assert.False(resultsCache.GetResultForRequest(entry.Request).HasResultsForTarget("ProduceError2"));
BackEnd\TaskBuilder_Tests.cs (2)
484Assert.False(result); 508Assert.False(result);
BackEnd\TaskExecutionHost_Tests.cs (4)
171Assert.False(_host.SetTaskParameters(parameters)); 631Assert.False(executeValue); 943Assert.False(_host.GatherTaskOutputs("NonExistentOutput", ElementLocation.Create(".", 1, 1), true, "output")); 1473Assert.False(_parametersSetOnTask.ContainsKey(parameterName));
BackEnd\TaskHost_Tests.cs (2)
112Assert.False(object.ReferenceEquals(targetOutputItem, mockItemInCache)); 531Assert.False(_taskHost.IsRunningMultipleNodes); // "Expect IsRunningMultipleNodes to be false with 1 node"
BackEnd\TaskRegistry_Tests.cs (10)
1327Assert.False(parameterInfo.Output); 1328Assert.False(parameterInfo.Required); 1576Assert.False(((TaskPropertyInfo)registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"]).Output); 1591Assert.False(((TaskPropertyInfo)registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"]).Output); 1623Assert.False(((TaskPropertyInfo)registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"]).Required); 1638Assert.False(((TaskPropertyInfo)registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"]).Required); 1742Assert.False(inlineTaskRecord.TaskBodyEvaluated); 1780Assert.False(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.TaskBodyEvaluated.Equals(body)); 1798Assert.False(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.TaskBodyEvaluated.Equals(expandedBody)); 1824Assert.False(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.TaskBodyEvaluated);
Collections\MSBuildNameIgnoreCaseComparer_Tests.cs (9)
27Assert.False(MSBuildNameIgnoreCaseComparer.Default.Equals("FOO", " FOO")); 28Assert.False(MSBuildNameIgnoreCaseComparer.Default.Equals("FOOA", "FOOB")); 29Assert.False(MSBuildNameIgnoreCaseComparer.Default.Equals("AFOO", "BFOO")); 30Assert.False(MSBuildNameIgnoreCaseComparer.Default.Equals("FOO", "FOO ")); 31Assert.False(MSBuildNameIgnoreCaseComparer.Default.Equals("a", "b")); 33Assert.False(MSBuildNameIgnoreCaseComparer.Default.Equals("x", null)); 34Assert.False(MSBuildNameIgnoreCaseComparer.Default.Equals(null, "x")); 65Assert.False(MSBuildNameIgnoreCaseComparer.Default.Equals("x", null)); 74Assert.False(MSBuildNameIgnoreCaseComparer.Default.Equals(null, "x"));
Collections\MultiDictionary_Tests.cs (4)
29Assert.False(dictionary.Remove("x", "y")); 85Assert.False(dictionary.Remove("z", "y1")); 86Assert.False(dictionary.Remove("x", "y1")); 87Assert.False(dictionary.Remove("y", "y2"));
Collections\OMcollections_tests.cs (3)
54Assert.False(properties.Remove("x")); 145Assert.False(items.Remove(item1)); 216Assert.False(readOnlyDictionary.ContainsKey("p2"));
Construction\ElementLocation_Tests.cs (3)
89Assert.False(location3.Equals(location1)); 90Assert.False(location4.Equals(location2)); 91Assert.False(location4.Equals(location6));
Construction\ProjectRootElement_Tests.cs (2)
54Assert.False(ProjectRootElement.IsEmptyXmlFile(path)); 78Assert.False(xml.XmlDocument.IsReadOnly);
Construction\SolutionFilter_Tests.cs (1)
210Assert.False(File.Exists("C:\\notAPath2\\MSBuild.Dev.sln"));
CopyOnWriteDictionary_Tests.cs (6)
83Assert.False(result); 85Assert.False(dictionary.ContainsKey(string.Empty)); 104Assert.False(Object.ReferenceEquals(k1, k2)); 185Assert.False(dictionary.HasSameBacking(clone)); 186Assert.False(clone2.HasSameBacking(clone)); 190Assert.False(dictionary.HasSameBacking(clone2));
Definition\ItemDefinitionGroup_Tests.cs (6)
110Assert.False(ItemContainsMetadata(p, "Compile", "a.cs", "Third", "3rd")); 437Assert.False(p.ItemDefinitions.ContainsKey("Compile")); 439Assert.False(ItemContainsMetadata(p, "Compile", "a.cs", "First", "1st")); 491Assert.False(p.ItemDefinitions.ContainsKey("Compile")); 493Assert.False(ItemContainsMetadata(p, "Compile", "a.cs", "First", "1st")); 547Assert.False(ItemContainsMetadata(p, "Compile", "a.cs", "First", "1st"));
EscapingUtilities_Tests.cs (7)
79Assert.False(EscapingUtilities.ContainsEscapedWildcards("NoStarOrQMark")); 80Assert.False(EscapingUtilities.ContainsEscapedWildcards("%")); 81Assert.False(EscapingUtilities.ContainsEscapedWildcards("%%")); 82Assert.False(EscapingUtilities.ContainsEscapedWildcards("%2")); 83Assert.False(EscapingUtilities.ContainsEscapedWildcards("%4")); 84Assert.False(EscapingUtilities.ContainsEscapedWildcards("%3A")); 85Assert.False(EscapingUtilities.ContainsEscapedWildcards("%2B"));
Evaluation\Evaluator_Tests.cs (7)
927Assert.False(imports[0].IsImported); 929Assert.False(imports[2].IsImported); 1015Assert.False(circularImportsAreRecorded); 3310Assert.False(project.GlobalProperties.ContainsKey("Foo")); 3322Assert.False(project.GlobalProperties.ContainsKey("Foo")); 4610Assert.False(result); 5230Assert.False(result);
Evaluation\ProjectRootElementCache_Tests.cs (1)
128Assert.False(Object.ReferenceEquals(xml0, xml2));
Evaluation\SimpleVersion_Tests.cs (9)
143Assert.False(version1 == version2); 144Assert.False(version1 >= version2); 145Assert.False(version1 > version2); 150Assert.False(version1 < version2); 154Assert.False(version1 > version2); 155Assert.False(version1 != version2); 159Assert.False(version1 < version2); 160Assert.False(version1 <= version2); 161Assert.False(version1 == version2);
Evaluation\UsedUninitializedProperties_Tests.cs (2)
20Assert.False(props.TryGetPropertyElementLocation("Hello", out IElementLocation? elementLocation)); 39Assert.False(props.TryGetPropertyElementLocation("Hello", out elementLocation));
FileLogger_Tests.cs (2)
340Assert.False(Directory.Exists(directory)); 341Assert.False(File.Exists(log));
FileMatcher_Tests.cs (1)
2611Assert.False(shouldBeRecursive); // "FileMatcher Regression: Match was not recursive when it should have been."
FileUtilities_Tests.cs (40)
230Assert.False(FileUtilities.EndsWithSlash(@"C:\foo")); 231Assert.False(FileUtilities.EndsWithSlash(@"C:")); 232Assert.False(FileUtilities.EndsWithSlash(@"foo")); 235Assert.False(FileUtilities.EndsWithSlash(String.Empty)); 288Assert.False(result); 369Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("rootxxx")); // "test 41" 370Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("Rootxxx")); // "test 42" 371Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("xxxxxxx")); // "test 43" 373Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("filexxxx")); // "test 44" 374Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("Filexxxx")); // "test 45" 375Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("idenxxxx")); // "test 46" 376Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("Idenxxxx")); // "test 47" 377Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("xxxxxxxx")); // "test 48" 379Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("extenxxxx")); // "test 49" 380Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("Extenxxxx")); // "test 50" 381Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("direcxxxx")); // "test 51" 382Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("Direcxxxx")); // "test 52" 383Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("xxxxxxxxx")); // "test 53" 385Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("xxxxxxxxxx")); // "test 54" 387Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("relativexxx")); // "test 55" 388Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("Relativexxx")); // "test 56" 389Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("createdxxxx")); // "test 57" 390Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("Createdxxxx")); // "test 58" 391Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("xxxxxxxxxxx")); // "test 59" 393Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("recursivexxx")); // "test 60" 394Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("Recursivexxx")); // "test 61" 395Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("accessedxxxx")); // "test 62" 396Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("Accessedxxxx")); // "test 63" 397Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("modifiedxxxx")); // "test 64" 398Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("Modifiedxxxx")); // "test 65" 399Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier("xxxxxxxxxxxx")); // "test 66" 401Assert.False(FileUtilities.ItemSpecModifiers.IsItemSpecModifier(null)); // "test 67" 408Assert.False(FileUtilities.ItemSpecModifiers.IsDerivableItemSpecModifier("RecursiveDir")); 409Assert.False(FileUtilities.ItemSpecModifiers.IsDerivableItemSpecModifier("recursivedir")); 552Assert.False(FileUtilities.FileOrDirectoryExistsNoThrow("||")); 553Assert.False(FileUtilities.FileOrDirectoryExistsNoThrow(isWindows ? @"c:\doesnot_exist" : "/doesnot_exist")); 893Assert.False(FileUtilities.LooksLikeUnixFilePath(SystemSpecificAbsolutePath)); 894Assert.False(FileUtilities.LooksLikeUnixFilePath("/path/that/looks/unixy")); 895Assert.False(FileUtilities.LooksLikeUnixFilePath("/root")); 913Assert.False(FileUtilities.LooksLikeUnixFilePath("second/file.txt"));
Globbing\CompositeGlob_Tests.cs (2)
103Assert.False(compositeGlob.IsMatch(stringToMatch)); 146Assert.False(composite.IsMatch(""));
Globbing\MSBuildGlob_Tests.cs (14)
137Assert.False(glob.IsLegal); 138Assert.False(glob.TestOnlyNeedsRecursion); 147Assert.False(glob.IsMatch($"b/.../c/d.cs")); 187Assert.False(glob.IsMatch(invalidPathChar.ToString())); 197Assert.False(glob.IsMatch(invalidFileChar.ToString())); 212Assert.False(glob.IsMatch("/")); 217Assert.False(glob.IsMatch("\\")); 220Assert.False(glob.IsMatch("/")); 239Assert.False(glob.IsMatch("acd")); 247Assert.False(glob.IsMatch("B")); 277Assert.False(glob.IsMatch(string.Empty)); 286Assert.False(glob.IsLegal); 306Assert.False(glob.IsMatch(stringToMatch)); 321Assert.False(glob.IsMatch(@"../x/d13/../x/d12/d23/../a.cs"));
Globbing\MSBuildGlobWithGaps_Tests.cs (1)
36Assert.False(glob.IsMatch("ab"));
Instance\HostServices_Tests.cs (2)
415Assert.False(hostServices.HasInProcessHostObject(project.FullPath)); 439Assert.False(hostServices.HasInProcessHostObject(project2.FullPath));
Instance\ProjectMetadataInstance_Internal_Tests.cs (1)
30Assert.False(Object.ReferenceEquals(metadata, clone));
Instance\ProjectPropertyInstance_Internal_Tests.cs (2)
30Assert.False(Object.ReferenceEquals(property, clone)); 58Assert.False(property.IsImmutable);
Instance\TaskItem_Tests.cs (1)
179Assert.False(object.ReferenceEquals(parent, clone)); // "The parent and the child should not be the same object"
Scanner_Tests.cs (4)
546Assert.False(lexer.Advance()); 551Assert.False(lexer.Advance()); 555Assert.False(lexer.Advance()); 566Assert.False(lexer.Advance());
TypeLoader_Tests.cs (8)
43Assert.False(TypeLoader.IsPartialTypeNameMatch("MyTasks.CscTask", "Csc")); // ==> no match 44Assert.False(TypeLoader.IsPartialTypeNameMatch("MyTasks.MyCsc", "Csc")); // ==> no match 45Assert.False(TypeLoader.IsPartialTypeNameMatch("MyTasks.ATask\\.Csc", "Csc")); // ==> no match 46Assert.False(TypeLoader.IsPartialTypeNameMatch("MyTasks.ATask\\\\\\.Csc", "Csc")); // ==> no match 52Assert.False(TypeLoader.IsPartialTypeNameMatch("Microsoft.Build.Tasks.Csc", "Vbc")); 189Assert.False(File.Exists(originalDllPath)); 205Assert.False(File.Exists(newDllPath)); 209Assert.False(Directory.Exists(tempDirectoryPath));
XmakeAttributes_Tests.cs (16)
19Assert.False(XMakeAttributes.IsSpecialTaskAttribute("NotAnAttribute")); 30Assert.False(XMakeAttributes.IsBadlyCasedSpecialTaskAttribute("NotAnAttribute")); 31Assert.False(XMakeAttributes.IsBadlyCasedSpecialTaskAttribute(XMakeAttributes.include)); 32Assert.False(XMakeAttributes.IsBadlyCasedSpecialTaskAttribute(XMakeAttributes.continueOnError)); 33Assert.False(XMakeAttributes.IsBadlyCasedSpecialTaskAttribute(XMakeAttributes.condition)); 34Assert.False(XMakeAttributes.IsBadlyCasedSpecialTaskAttribute(XMakeAttributes.msbuildArchitecture)); 35Assert.False(XMakeAttributes.IsBadlyCasedSpecialTaskAttribute(XMakeAttributes.msbuildRuntime)); 45Assert.False(XMakeAttributes.IsNonBatchingTargetAttribute("NotAnAttribute")); 65Assert.False(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.currentRuntime, XMakeAttributes.MSBuildRuntimeValues.clr2)); 67Assert.False(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.clr4, XMakeAttributes.MSBuildRuntimeValues.clr2)); 68Assert.False(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.clr4, XMakeAttributes.MSBuildRuntimeValues.net)); 69Assert.False(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.clr2, XMakeAttributes.MSBuildRuntimeValues.net)); 140Assert.False(XMakeAttributes.ArchitectureValuesMatch(XMakeAttributes.MSBuildArchitectureValues.currentArchitecture, notCurrentArchitecture)); 141Assert.False(XMakeAttributes.ArchitectureValuesMatch(XMakeAttributes.MSBuildArchitectureValues.x64, XMakeAttributes.MSBuildArchitectureValues.x86)); 163Assert.False(XMakeAttributes.TryMergeArchitectureValues(XMakeAttributes.MSBuildArchitectureValues.currentArchitecture, notCurrentArchitecture, out mergedArchitecture)); 164Assert.False(XMakeAttributes.TryMergeArchitectureValues(XMakeAttributes.MSBuildArchitectureValues.x64, XMakeAttributes.MSBuildArchitectureValues.x86, out mergedArchitecture));
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (12)
CopyRefAssemblyTests.cs (4)
38Assert.False(task.Execute()); 39Assert.False(string.IsNullOrEmpty(engine.Log)); 56Assert.False(task.Execute()); 57Assert.False(string.IsNullOrEmpty(engine.Log));
CscTests.cs (1)
553Assert.False(string.IsNullOrEmpty(engine.Log));
MapSourceRootTests.cs (5)
147Assert.False(result); 274Assert.False(result); 381Assert.False(result); 410Assert.False(result); 444Assert.False(result);
MiscTests.cs (1)
34Assert.False(isBadRef);
VbcTests.cs (1)
520Assert.False(string.IsNullOrEmpty(engine.Log));
Microsoft.Build.Tasks.UnitTests (203)
AssemblyNameEx_Tests.cs (30)
403Assert.False(extension.HasProcessorArchitectureInFusionName); 422Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 423Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName)); 448Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 449Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Version)); 458Assert.False(assemblyNameToMatchVersion.PartialNameCompare(assemblyToCompare)); 459Assert.False(assemblyNameToMatchVersion.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Version)); 461Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 462Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Version)); 492Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 493Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Culture)); 502Assert.False(assemblyNameToMatchCulture.PartialNameCompare(assemblyToCompare)); 503Assert.False(assemblyNameToMatchCulture.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Culture)); 505Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 506Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.Culture)); 536Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 537Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.PublicKeyToken)); 546Assert.False(assemblyNameToMatchPublicToken.PartialNameCompare(assemblyToCompare)); 547Assert.False(assemblyNameToMatchPublicToken.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.PublicKeyToken)); 549Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare)); 550Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.PublicKeyToken)); 579Assert.False(assemblyToCompare.PartialNameCompare(assemblyNameToNotMatch, PartialComparisonFlags.SimpleName, true)); 581Assert.False(assemblyToCompare.PartialNameCompare(assemblyMatchNoRetargetable)); 582Assert.False(assemblyToCompare.PartialNameCompare(assemblyMatchNoRetargetable, PartialComparisonFlags.SimpleName, true)); 585Assert.False(assemblyMatchNoRetargetable.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName, true)); 589Assert.False(assemblyNameToMatchRetargetable.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName, true)); 599Assert.False(match); 624Assert.False(AssemblyNameComparer.GenericComparer.Equals(a, d)); 626Assert.False(AssemblyNameComparer.GenericComparerConsiderRetargetable.Equals(a, b)); 628Assert.False(AssemblyNameComparer.GenericComparerConsiderRetargetable.Equals(a, d));
CombinePath_Tests.cs (1)
215Assert.False(t.Execute()); // "should have failed"
Copy_Tests.cs (27)
560Assert.False(t.Execute(m.CopyFile, GetParallelismThreadCount(isUseSingleThreadedCopy))); 565Assert.False(FileUtilities.FileExistsNoThrow(destination)); 673Assert.False(t.Execute(m.CopyFile, GetParallelismThreadCount(isUseSingleThreadedCopy))); 730Assert.False(t.Execute()); 865Assert.False(t.Execute()); 1243Assert.False(result); 1290Assert.False(result); 1337Assert.False(result); 1379Assert.False(result); 1506Assert.False(result); 1553Assert.False(result); 1616Assert.False(success); 1817Assert.False(NativeMethodsShared.IsUnixLike ? !success : success); 2149Assert.False(success); 2152Assert.False(File.Exists(outFile1)); 2198Assert.False(result); 2236Assert.False(result); 2237Assert.False(File.Exists(destinationFile)); 2262Assert.False(result); 2286Assert.False(result); 2308Assert.False(result); 2330Assert.False(result); 2357Assert.False(result); 2398Assert.False(t.UseHardlinksIfPossible); 2483Assert.False(result); 2512Assert.False(result); 2927Assert.False(result);
EscapingUtilities_Tests.cs (7)
79Assert.False(EscapingUtilities.ContainsEscapedWildcards("NoStarOrQMark")); 80Assert.False(EscapingUtilities.ContainsEscapedWildcards("%")); 81Assert.False(EscapingUtilities.ContainsEscapedWildcards("%%")); 82Assert.False(EscapingUtilities.ContainsEscapedWildcards("%2")); 83Assert.False(EscapingUtilities.ContainsEscapedWildcards("%4")); 84Assert.False(EscapingUtilities.ContainsEscapedWildcards("%3A")); 85Assert.False(EscapingUtilities.ContainsEscapedWildcards("%2B"));
Exec_Tests.cs (9)
151Assert.False(result); 170Assert.False(result); 236Assert.False(result); 619Assert.False(result); 632Assert.False(result); 751Assert.False(result); 801Assert.False(result); 814Assert.False(result); 875Assert.False(result);
FileStateTests.cs (3)
192Assert.False(state.FileExists); 413Assert.False(new FileState(file).FileExists); 414Assert.False(new FileState(file).DirectoryExists);
FindUnderPath_Tests.cs (2)
50Assert.False(success); 66Assert.False(success);
GetInstalledSDKLocations_Tests.cs (5)
204Assert.False(success); 222Assert.False(success); 241Assert.False(success); 303Assert.False(sdksAndVersions.ContainsValue("3.0")); 304Assert.False(sdksAndVersions.ContainsValue("4.0"));
GetSDKReference_Tests.cs (2)
766Assert.False(success); 789Assert.False(success);
Hash_Tests.cs (1)
41Assert.False(string.IsNullOrWhiteSpace(emptyItemHash));
MakeDir_Tests.cs (3)
93Assert.False(success); 192Assert.False(success); 253Assert.False(success);
Move_Tests.cs (24)
49Assert.False(File.Exists(sourceFile)); // "Expected the source file to be gone." 95Assert.False(File.Exists(sourceFile)); // "Expected the source file to be gone." 141Assert.False(t.Execute()); 143Assert.False(File.Exists(sourceFile)); // "Expected the source file to still not exist." 230Assert.False(t.Execute()); 284Assert.False(File.Exists(sourceFile)); // "Source file should be gone" 340Assert.False(File.Exists(sourceFile)); // "Source file should be gone" 394Assert.False(File.Exists(sourceFile)); // "Source file should be gone" 458Assert.False(success); 516Assert.False(result); 518Assert.False(File.Exists(file + "2")); 536Assert.False(move.Execute()); 552Assert.False(move.Execute()); 567Assert.False(move.Execute()); 582Assert.False(move.Execute()); 661Assert.False(success); 703Assert.False(File.Exists(sourceFile)); // "source gone" 765Assert.False(success); 768Assert.False(File.Exists(outFile1)); 806Assert.False(result); 835Assert.False(result); 853Assert.False(result); 871Assert.False(result); 889Assert.False(result);
MSBuild_Tests.cs (6)
696Assert.False(success); // "Build succeeded. See 'Standard Out' tab for details." 979Assert.False(msbuildTask.BuildInParallel); // "Iteration of 0 Expected BuildInParallel to be false" 1001Assert.False(msbuildTask.BuildInParallel); // "Iteration of 2 Expected BuildInParallel to be false" 1013Assert.False(msbuildTask.BuildInParallel); // "Iteration of 3 Expected BuildInParallel to be false" 1168Assert.False(success); // "Build Succeeded. See 'Standard Out' tab for details." 1185Assert.False(success); // "Build Succeeded. See 'Standard Out' tab for details."
NativeMethodsShared_Tests.cs (2)
106Assert.False(NativeMethodsShared.GetLastWriteDirectoryUtcTime(file, out directoryTime)); 151Assert.False(exceptionCaught); // "SetCurrentDirectory should not throw!"
PropertyParser_Tests.cs (2)
105Assert.False(PropertyParser.GetTable(null, "Properties", new[] { "=Debug" }, out _)); 114Assert.False(PropertyParser.GetTable(null, "Properties",
RemoveDuplicates_Tests.cs (3)
29Assert.False(t.HadAnyDuplicates); 118Assert.False(t.HadAnyDuplicates); 151Assert.False(t.HadAnyDuplicates);
ResolveNonMSBuildProjectOutput_Tests.cs (1)
352Assert.False(rvpo.VerifyProjectReferenceItems(taskItems, true /* treat problems as errors */));
ResolveSDKReference_Tests.cs (11)
669Assert.False(succeeded); 892Assert.False(succeeded); 1391Assert.False(succeeded); 1585Assert.False(succeeded); 2428Assert.False(succeeded); 2863Assert.False(succeeded); 2961Assert.False(succeeded); 3172Assert.False(succeeded); 3403Assert.False(succeeded); 3545Assert.False(succeeded); 3681Assert.False(succeeded);
ResourceHandling\GenerateResource_Tests.cs (26)
1343Assert.False(Utilities.FileUpdated(strFile, strTime)); // Was not updated 1782Assert.False(success); 1788Assert.False(File.Exists(resourcesFile1)); 1861Assert.False(success); 1867Assert.False(File.Exists(resourcesFile1)); 1944Assert.False(success); 2058Assert.False(success); 2111Assert.False(success); 2149Assert.False(result); 2153Assert.False(File.Exists(resourcesFile)); 2351Assert.False(success); 2361Assert.False(File.Exists(outputFile)); 2582Assert.False(success); 2791Assert.False(t.Execute()); 2845Assert.False(success); 2883Assert.False(success); 2888Assert.False(File.Exists(resourcesFile)); 2920Assert.False(success); 2925Assert.False(File.Exists(resourcesFile)); 2957Assert.False(success); 2962Assert.False(File.Exists(resourcesFile)); 3000Assert.False(success); 3006Assert.False(File.Exists(resourcesFile)); 3007Assert.False(File.Exists(csFile)); 3044Assert.False(success); // "Task should have failed." 3720Assert.False(t.Execute());
TelemetryTaskTests.cs (1)
69Assert.False(retVal);
Touch_Tests.cs (5)
222Assert.False(success); 270Assert.False(success); 291Assert.False(success); 330Assert.False(success); 355Assert.False(success);
WriteCodeFragment_Tests.cs (11)
37Assert.False(result); 53Assert.False(result); 69Assert.False(result); 214Assert.False(File.Exists(file)); 241Assert.False(File.Exists(file)); 259Assert.False(result); 277Assert.False(result); 484Assert.False(result); 632Assert.False(result); 655Assert.False(result); 678Assert.False(result);
WriteLinesToFile_Tests.cs (2)
41Assert.False(a.Execute()); 43Assert.False(File.Exists(a.File.ItemSpec));
XmlPeek_Tests.cs (6)
204Assert.False(p.Execute()); // "Test should've failed" 221Assert.False(p.Execute()); // "Test should've failed" 238Assert.False(p.Execute()); // "Test should've failed" 256Assert.False(p.Execute()); // "Test should've failed" 275Assert.False(executeResult); // "Execution should've failed" 311Assert.False(result); // "Only 3rd value should pass."
XslTransformation_Tests.cs (13)
194Assert.False(t.Execute()); // "The test should fail when there is missing Xsl params" 243Assert.False(t.Execute()); // "The test should fail when there is missing Xml params" 274Assert.False(t.Execute()); // "The test should fail when there is no params" 308Assert.False(t.Execute()); // "The test should fail when there are too many files" 342Assert.False(t.Execute()); // "The test should fail when there are too many files" 469Assert.False(result); // "Only 5th and 7th values should pass." 624Assert.False(t.Execute()); // "This test should've failed (no output)." 653Assert.False(t.Execute()); // "This test should've failed (bad xml)." 681Assert.False(t.Execute()); // "This test should've failed (bad xslt)." 739Assert.False(t.Execute()); // "This test should've failed (bad params1)." 772Assert.False(t.Execute()); // "This test should've failed (bad output)." 837Assert.False(t.Execute()); // "This test should've failed (xsl with error)." 1089Assert.False(t.Execute()); // "Test should have failed and not allowed the use of the document() function within the xslt file"
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
906Assert.False(string.IsNullOrEmpty(fileRelativePath)); 1553Assert.False(result); 1988Assert.False(project.HasUnsavedChanges);
Microsoft.Build.Utilities.UnitTests (9)
EscapingUtilities_Tests.cs (7)
79Assert.False(EscapingUtilities.ContainsEscapedWildcards("NoStarOrQMark")); 80Assert.False(EscapingUtilities.ContainsEscapedWildcards("%")); 81Assert.False(EscapingUtilities.ContainsEscapedWildcards("%%")); 82Assert.False(EscapingUtilities.ContainsEscapedWildcards("%2")); 83Assert.False(EscapingUtilities.ContainsEscapedWildcards("%4")); 84Assert.False(EscapingUtilities.ContainsEscapedWildcards("%3A")); 85Assert.False(EscapingUtilities.ContainsEscapedWildcards("%2B"));
NativeMethodsShared_Tests.cs (2)
106Assert.False(NativeMethodsShared.GetLastWriteDirectoryUtcTime(file, out directoryTime)); 151Assert.False(exceptionCaught); // "SetCurrentDirectory should not throw!"
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (83)
CommandLineTests.cs (82)
508Assert.False(args.IsScriptRunner); 945Assert.False(desc.IsPublic); 952Assert.False(desc.IsPublic); 976Assert.False(desc.IsPublic); 984Assert.False(desc.IsPublic); 1095Assert.False(desc.IsPublic); 1111Assert.False(desc.IsPublic); 1129Assert.False(parsedArgs.DisplayHelp); 1136Assert.False(parsedArgs.DisplayHelp); 1143Assert.False(parsedArgs.DisplayHelp); 1150Assert.False(parsedArgs.DisplayHelp); 1481Assert.False(parsedArgs.DisplayHelp); 1486Assert.False(parsedArgs.DisplayHelp); 1492Assert.False(parsedArgs.SourceFiles.Any()); 1497Assert.False(parsedArgs.SourceFiles.Any()); 1502Assert.False(parsedArgs.SourceFiles.Any()); 1518Assert.False(parsedArgs.SourceFiles.Any()); 1523Assert.False(parsedArgs.SourceFiles.Any()); 1527Assert.False(parsedArgs.DisplayHelp); 1535Assert.False(parsedArgs.DisplayHelp); 1540Assert.False(parsedArgs.DisplayHelp); 1548Assert.False(parsedArgs.DisplayHelp); 1549Assert.False(parsedArgs.SourceFiles.Any()); 1553Assert.False(parsedArgs.DisplayHelp); 1558Assert.False(parsedArgs.DisplayHelp); 1563Assert.False(parsedArgs.DisplayHelp); 1570Assert.False(parsedArgs.DisplayHelp); 1575Assert.False(parsedArgs.DisplayHelp); 1580Assert.False(parsedArgs.DisplayHelp); 1903Assert.False(parsedArgs.Errors.Any()); 1908Assert.False(parsedArgs.Errors.Any()); 1915Assert.False(parsedArgs.Errors.Any()); 1965Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 1966Assert.False(parsedArgs.EmitPdb); 1967Assert.False(parsedArgs.EmitPdbFile); 1972Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 1973Assert.False(parsedArgs.EmitPdb); 1974Assert.False(parsedArgs.EmitPdbFile); 1979Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 1993Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 1994Assert.False(parsedArgs.EmitPdb); 1995Assert.False(parsedArgs.EmitPdbFile); 2000Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2006Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2013Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2019Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2026Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2033Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2039Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2045Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2051Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2052Assert.False(parsedArgs.EmitPdb); 2057Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2075Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2076Assert.False(parsedArgs.EmitPdb); 2098Assert.False(parsedArgs.EmitPdbFile); 2103Assert.False(parsedArgs.EmitPdbFile); 2614Assert.False(parsedArgs.CompilationOptions.Deterministic); 2626Assert.False(parsedArgs.CompilationOptions.Deterministic); 4523Assert.False(parsedArgs.Errors.Any()); 4527Assert.False(parsedArgs.Errors.Any()); 4576Assert.False(parsedArgs.Errors.Any()); 4814Assert.False(parsedArgs.Errors.Any()); 4817Assert.False(parsedArgs.Errors.Any()); 4820Assert.False(parsedArgs.Errors.Any()); 4832Assert.False(parsedArgs.Errors.Any()); 5618Assert.False((bool)parsedArgs.CompilationOptions.DelaySign); 10531Assert.False(hostOutputRan); 11875Assert.False(File.Exists(dll)); 11878Assert.False(File.Exists(refDll)); 11938Assert.False(File.Exists(pdb)); 14694Assert.False(globalOptions.TryGetValue("key2", out _)); 14695Assert.False(globalOptions.TryGetValue("key3", out _)); 14696Assert.False(globalOptions.TryGetValue("key4", out _)); 14697Assert.False(globalOptions.TryGetValue("key5", out _)); 14698Assert.False(globalOptions.TryGetValue("key6", out _)); 14699Assert.False(globalOptions.TryGetValue("key7", out _)); 14705Assert.False(classOptions.TryGetValue("key2", out _)); 14706Assert.False(classOptions.TryGetValue("key3", out _)); 14709Assert.False(classOptions.TryGetValue("key5", out _)); 14710Assert.False(classOptions.TryGetValue("key6", out _)); 14711Assert.False(classOptions.TryGetValue("key7", out _));
SarifV2ErrorLoggerTests.cs (1)
669Assert.False(File.Exists(Path.Combine(mappedDir.Path, "otherfile.cs")));
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (19)
CodeActions\PreviewExceptionTests.cs (5)
64Assert.False(errorReported); 72Assert.False(extensionManager.IsIgnored(provider)); 80Assert.False(extensionManager.IsIgnored(provider)); 87Assert.False(extensionManager.IsDisabled(provider)); 88Assert.False(extensionManager.IsIgnored(provider));
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (1)
3204Assert.False(completionList.ItemsList.Any(c => c.DisplayText == "Goo()"));
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (6)
96Assert.False(ideEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.MethodKind == MethodKind.DelegateInvoke && e.ReturnsVoid)); 97Assert.False(ideEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.MethodKind == MethodKind.DelegateInvoke && !e.ReturnsVoid)); 99Assert.False(ideEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.SymbolKind == SymbolKind.Property)); 109Assert.False(compilerEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.MethodKind == MethodKind.DelegateInvoke && e.ReturnsVoid)); 110Assert.False(compilerEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.MethodKind == MethodKind.DelegateInvoke && !e.ReturnsVoid)); 112Assert.False(compilerEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.SymbolKind == SymbolKind.Property));
Formatting\Indentation\SmartIndenterEnterOnTokenTests.cs (1)
1455Assert.False(
NavigateTo\NavigateToSearcherTests.cs (1)
330Assert.False(searchGeneratedDocumentsAsyncCalled);
PdbSourceDocument\ImplementationAssemblyLookupServiceTests.cs (1)
57Assert.False(service.TryFindImplementationAssemblyPath(GetDllPath(packDir), out var implementationDll));
PdbSourceDocument\PdbSourceDocumentTests.cs (1)
1025Assert.False(result);
Workspaces\WorkspaceTests_EditorFeatures.cs (3)
78Assert.False(workspaceChanged); 361Assert.False(workspace.IsDocumentOpen(document.Id)); 686Assert.False(foundTheError);
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (8)
EmbeddedLanguages\Json\CSharpJsonParserTests.cs (4)
415Assert.False(token.IsMissing); 416Assert.False(chars.IsDefaultOrEmpty); 466Assert.False(token.IsMissing); 467Assert.False(chars.IsDefaultOrEmpty);
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests.cs (4)
373Assert.False(token.IsMissing); 374Assert.False(chars.IsDefaultOrEmpty); 385Assert.False(token.IsMissing); 386Assert.False(chars.IsDefaultOrEmpty);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (215)
CodeGen\CodeGenAsyncTests.cs (2)
66Assert.False(options.EnableEditAndContinue); 75Assert.False(options.EnableEditAndContinue);
CodeGen\CodeGenAwaitForeachTests.cs (3)
1675Assert.False(internalInfo.NeedsDisposal); 3355Assert.False(internalInfo.NeedsDisposal); 5147Assert.False(internalInfo.NeedsDisposal);
CodeGen\CodeGenAwaitUsingTests.cs (17)
2303Assert.False(first.Equals(nulls1)); 2304Assert.False(first.Equals(nulls2)); 2305Assert.False(first.Equals(nulls3)); 2306Assert.False(first.Equals(nulls4)); 2308Assert.False(nulls1.Equals(first)); 2309Assert.False(nulls2.Equals(first)); 2310Assert.False(nulls3.Equals(first)); 2311Assert.False(nulls4.Equals(first)); 2319Assert.False(first.Equals(nullObj)); 2329Assert.False(first.Equals(second1)); 2330Assert.False(first.Equals(second2)); 2331Assert.False(first.Equals(second3)); 2332Assert.False(first.Equals(second4)); 2334Assert.False(second1.Equals(first)); 2335Assert.False(second2.Equals(first)); 2336Assert.False(second3.Equals(first)); 2337Assert.False(second4.Equals(first));
CodeGen\CodeGenDeconstructTests.cs (1)
5001Assert.False(nodes.Any(n => n.Kind() == SyntaxKind.SimpleAssignmentExpression));
CodeGen\CodeGenDynamicTests.cs (1)
603Assert.False(field.IsReadOnly);
CodeGen\CodeGenFunctionPointersTests.cs (6)
716Assert.False(inMod.IsOptional); 7079Assert.False(array.IsSZArray); 7693Assert.False(funcPtr.Equals(funcPtrWithTestOnReturn, TypeCompareKind.ConsiderEverything)); 7695Assert.False(funcPtrRef.Equals(funcPtrWithTestOnRef, TypeCompareKind.ConsiderEverything)); 7778Assert.False(funcPtr.Equals(funcPtrWithTestOnReturn, TypeCompareKind.ConsiderEverything)); 7780Assert.False(funcPtrRef.Equals(funcPtrWithTestOnRef, TypeCompareKind.ConsiderEverything));
CodeGen\CodeGenInterpolatedString.cs (2)
48Assert.False(string.IsNullOrEmpty(token.Text)); 49Assert.False(string.IsNullOrEmpty(token.ValueText));
CodeGen\CodeGenLocalFunctionTests.cs (3)
5777Assert.False(importData.SetLastError); 5778Assert.False(importData.ExactSpelling); 6171Assert.False(synthesizedParam.IsMetadataIn);
CodeGen\CodeGenOverridingAndHiding.cs (1)
4139Assert.False(parameter.IsParamsCollection);
CodeGen\CodeGenReadonlyStructTests.cs (18)
866Assert.False(namedType.IsReadOnly); 873Assert.False(namedType.IsReadOnly); 880Assert.False(namedType.IsReadOnly); 886Assert.False(type.IsReadOnly); 890Assert.False(type.IsReadOnly); 894Assert.False(type.IsReadOnly); 898Assert.False(iNamedType.IsReadOnly); 902Assert.False(type.IsReadOnly); 906Assert.False(iNamedType.IsReadOnly); 1030Assert.False(namedType.IsReadOnly); 1037Assert.False(namedType.IsReadOnly); 1044Assert.False(namedType.IsReadOnly); 1050Assert.False(type.IsReadOnly); 1054Assert.False(type.IsReadOnly); 1058Assert.False(type.IsReadOnly); 1062Assert.False(iNamedType.IsReadOnly); 1066Assert.False(type.IsReadOnly); 1070Assert.False(iNamedType.IsReadOnly);
CodeGen\CodeGenTupleEqualityTests.cs (1)
692Assert.False(model.GetConstantValue(tuple2).HasValue);
CodeGen\CodeGenTupleTest.cs (100)
495Assert.False(((NamedTypeSymbol)typeArg).IsSerializable); 850Assert.False(((NamedTypeSymbol)tooFewNames.Type).IsSerializable); 3355Assert.False(mTuple.IsImplicitlyDeclared); 3358Assert.False(mTuple.TupleData.UnderlyingDefinitionToMemberMap.Any()); 3375Assert.False(mFirst.IsImplicitlyDeclared); 3648Assert.False(item.CorrespondingTupleField.IsExplicitlyNamedTupleElement); 3695Assert.False(yType.TupleElements[0].CorrespondingTupleField.IsExplicitlyNamedTupleElement); 3698Assert.False(yType.TupleElements[1].IsExplicitlyNamedTupleElement); 3703Assert.False(yType.TupleElements[2].CorrespondingTupleField.IsExplicitlyNamedTupleElement); 4514Assert.False(namedTuple.IsDefinition); 4520Assert.False(namedTuple.Equals(namedTuple.TupleUnderlyingType, TypeCompareKind.ConsiderEverything)); 5831Assert.False(vt8.IsTupleType); 6158Assert.False(vt2.IsDefinition); 6226Assert.False(ns.IsGlobalNamespace); 6234Assert.False(ns.IsGlobalNamespace); 6242Assert.False(ns.IsGlobalNamespace); 6253Assert.False(ns.IsGlobalNamespace); 6508Assert.False(tuple9WithoutNames.IsDefinition); 6529Assert.False(tuple9WithNames.IsDefinition); 6618Assert.False(tuple1.Equals(tuple3)); 6621Assert.False(tuple1.Equals(tuple4)); 6815Assert.False(tuple1.Equals(tuple2, SymbolEqualityComparer.IncludeNullability)); 6850Assert.False(TypeEquals(tuple1, tuple2, TypeCompareKind.IgnoreTupleNames)); 6884Assert.False(tuple1.Equals(tuple2, SymbolEqualityComparer.IncludeNullability)); 6919Assert.False(TypeEquals(tuple1, tuple2, TypeCompareKind.IgnoreTupleNames)); 6936Assert.False(stringType.IsTupleType); 11155Assert.False(m1Tuple.IsImplicitlyDeclared); 11160Assert.False(m1Tuple.IsDefinition); 11209Assert.False(m1Tuple.IsComImport); 11227Assert.False(m1Tuple.Equals(m2Tuple)); 11228Assert.False(m1Tuple.Equals(m6Tuple)); 11229Assert.False(m6Tuple.Equals(m2Tuple)); 11262Assert.False(m2Item1.IsDefinition); 11270Assert.False(m2Tuple.IsDefinition); 11300Assert.False(m2a2.IsImplicitlyDeclared); 11303Assert.False(m6Tuple.IsDefinition); 11419Assert.False(m1Tuple.IsImplicitlyDeclared); 11498Assert.False(m1Tuple.IsComImport); 11521Assert.False(m1Tuple.Equals(m2Tuple)); 11522Assert.False(m1Tuple.Equals(m6Tuple)); 11523Assert.False(m6Tuple.Equals(m2Tuple)); 11585Assert.False(m2i2.IsImplicitlyDeclared); 11604Assert.False(members[i].Equals(members[j])); 11605Assert.False(members[j].Equals(members[i])); 11661Assert.False(members1[i].Equals(members2[j])); 11668Assert.False(tuple2.Equals(tuple1)); 11673Assert.False(members2.Any(u => u.Equals(m))); 11674Assert.False(members2.Any(u => m.Equals(u))); 11999Assert.False(m4h4.IsImplicitlyDeclared); 12228Assert.False(m5Item8.IsImplicitlyDeclared); 12617Assert.False(m8Item1.IsImplicitlyDeclared); 12778Assert.False(m1Tuple.Equals(m2Tuple)); 12779Assert.False(m1Tuple.Equals(m6Tuple)); 12780Assert.False(m6Tuple.Equals(m2Tuple)); 12847Assert.False(m2a2.IsImplicitlyDeclared); 13451Assert.False(sym.IsVirtualTupleField); 13469Assert.False(sym.IsVirtualTupleField); 13599Assert.False(t1.Equals(t3)); 13607Assert.False(t5.Equals(t3)); 13618Assert.False(t1.Equals(t6)); 13625Assert.False(t1.Equals(t8)); 13630Assert.False(t6.Equals(t8)); 13651Assert.False(t1.Equals(t3)); 13659Assert.False(t5.Equals(t3)); 13672Assert.False(t1.Equals(t6)); 13680Assert.False(t1.Equals(t8)); 13685Assert.False(t6.Equals(t8)); 13704Assert.False(t1.Equals(t11)); 13708Assert.False(t1.Equals(t11)); 13710Assert.False(t11.Equals(t1)); 13761Assert.False(t1.Equals(t12)); 13765Assert.False(t1.TupleUnderlyingType.Equals(t12.TupleUnderlyingType)); 13767Assert.False(t12.TupleUnderlyingType.Equals(t1.TupleUnderlyingType)); 13770Assert.False(t1.Equals(t12)); 13772Assert.False(t12.Equals(t1)); 13838Assert.False(t1.Equals(t3)); 13846Assert.False(t5.Equals(t3)); 13857Assert.False(t1.Equals(t6)); 13864Assert.False(t1.Equals(t8)); 13869Assert.False(t6.Equals(t8)); 14005Assert.False(typeInfo.Type.IsTupleType); 14232Assert.False(m1Tuple.IsTupleType); 14237Assert.False(m1Tuple.IsTupleType); 14271Assert.False(f1Tuple.IsTupleType); 14285Assert.False(p1Tuple.IsTupleType); 14299Assert.False(m3TupleArray.ElementType.IsTupleType); 14317Assert.False(m4TupleList.TypeArguments[0].IsTupleType); 14426Assert.False(e1Tuple.IsTupleType); 14443Assert.False(m5TuplePointer.PointedAtType.IsTupleType); 14460Assert.False(v1Tuple.IsTupleType); 27479Assert.False(type.Equals(underlyingType, TypeCompareKind.ConsiderEverything)); 27502Assert.False(type.Equals(underlyingType, SymbolEqualityComparer.Default)); 27503Assert.False(type.Equals(underlyingType, SymbolEqualityComparer.ConsiderEverything)); 27928Assert.False(field.HasComplete(CompletionPart.All)); 27929Assert.False(underlyingField.HasComplete(CompletionPart.All)); 28010Assert.False(field.IsExplicitlyNamedTupleElement); 28332Assert.False(namedType.IsTupleType); 28410Assert.All(fields, f => Assert.False(f.HasUseSiteError)); 28568Assert.False(field.IsTupleElement()); 28569Assert.False(field.IsDefaultTupleElement);
CodeGen\EventTests.cs (2)
719Assert.False((addMethod.ImplementationAttributes & System.Reflection.MethodImplAttributes.Synchronized) == 0); 722Assert.False((removeMethod.ImplementationAttributes & System.Reflection.MethodImplAttributes.Synchronized) == 0);
CodeGen\WinMdDelegateTests.cs (1)
264Assert.False(isWinRt(fieldSymbol));
Emit\CompilationEmitTests.cs (15)
160Assert.False(emitResult.Success); 2702Assert.False(libComp.GetDiagnostics().Any()); 2759Assert.False(exeComp.GetDiagnostics().Any()); 3377Assert.False(emitResult.Success); 3530Assert.False(peHeaders.IsExe); 3531Assert.False(peHeaders.CoffHeader.Characteristics.HasFlag(Characteristics.LargeAddressAware)); 3564Assert.False(peHeaders.IsExe); 3614Assert.False(peHeaders.IsExe); 3654Assert.False(peHeaders.IsDll); 3694Assert.False(peHeaders.IsDll); 4065Assert.False(peReader.IsAssembly); 4238Assert.False(result.Success); 5458Assert.False(result.Success); 5480Assert.False(result.Success); 5598Assert.False(emitResult.Success);
Emit\DeterministicTests.cs (1)
87Assert.False(resultDeterministic.Success);
Emit\EmitErrorTests.cs (1)
243Assert.False(result.Success);
Emit\EmitMetadataTests.cs (35)
363Assert.False(i3.Interfaces().Any()); 364Assert.False(i4.Interfaces().Any()); 366Assert.False(i6.Interfaces().Any()); 367Assert.False(i7.Interfaces().Any()); 575Assert.False(mod.IsOptional); 605Assert.False(ctor.IsStatic); 606Assert.False(ctor.IsAbstract); 607Assert.False(ctor.IsSealed); 608Assert.False(ctor.IsVirtual); 609Assert.False(ctor.IsOverride); 610Assert.False(ctor.IsGenericMethod); 611Assert.False(ctor.IsExtensionMethod); 613Assert.False(ctor.IsVararg); 627Assert.False(cctor.IsAbstract); 628Assert.False(cctor.IsSealed); 629Assert.False(cctor.IsVirtual); 630Assert.False(cctor.IsOverride); 631Assert.False(cctor.IsGenericMethod); 632Assert.False(cctor.IsExtensionMethod); 634Assert.False(cctor.IsVararg); 1105Assert.False(propertyQ.IsReadOnly); 1106Assert.False(propertyQ.IsWriteOnly); 1109Assert.False(propertyP.MustCallMethodsDirectly); 1110Assert.False(propertyQ.MustCallMethodsDirectly); 1124Assert.False(propertyQ.IsReadOnly); 1125Assert.False(propertyQ.IsWriteOnly); 1128Assert.False(propertyP.MustCallMethodsDirectly); 1129Assert.False(propertyQ.MustCallMethodsDirectly); 1238Assert.False(getMethodA.IsOverride); 1244Assert.False(getMethodC.IsVirtual); 1384Assert.False(fieldDefinition.IsSpecialName); 1385Assert.False(fieldDefinition.IsRuntimeSpecial); 1407Assert.False(field.IsStatic); 1408Assert.False(field.IsConst); 1409Assert.False(field.IsReadOnly);
Emit\GeneratedNamesTests.cs (2)
54Assert.False(GeneratedNames.TryParseSynthesizedDelegateName(name, out _, out _, out _, out _)); 96Assert.False(CommonGeneratedNames.TryParseDebugIds(metadataName.AsSpan(), GeneratedNameConstants.IdSeparator, isMethodIdOptional: false, out _, out _));
Emit\InAttributeModifierTests.cs (1)
4568Assert.False(modifier.IsOptional);
Emit\ResourceTests.cs (2)
780Assert.False(result.Success); 807Assert.False(result.Success);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (9)
Emit\LocalStateTracing\LocalStateTracingTests.cs (1)
519Assert.False(actualIL.Contains(TrackerTypeName + ".Log"));
Emit\NumericIntPtrTests.cs (3)
3533Assert.False(IsNoConversion(expectedConversions)); 10398Assert.False(type.IsNativeIntegerWrapperType); 11201Assert.False(symbol.IsNativeIntegerType);
PDB\PDBTests.cs (5)
59Assert.False(result.Success); 272Assert.False(result.Success); 304Assert.False(result.Success); 336Assert.False(result.Success); 368Assert.False(result.Success);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (361)
Attributes\AttributeTests.cs (9)
57Assert.False(predefined.IsPossibleMatch(typeForwardedTo, QuickAttributes.TypeIdentifier)); 58Assert.False(predefined.IsPossibleMatch(typeForwardedTo, QuickAttributes.None)); 60Assert.False(predefined.IsPossibleMatch(typeIdentifier, QuickAttributes.TypeForwardedTo)); 62Assert.False(predefined.IsPossibleMatch(typeIdentifier, QuickAttributes.None)); 67Assert.False(checker1.IsPossibleMatch(alias1, QuickAttributes.TypeIdentifier)); 76Assert.False(checker1b.IsPossibleMatch(alias1, QuickAttributes.TypeIdentifier)); 77Assert.False(checker1b.IsPossibleMatch(alias2, QuickAttributes.TypeForwardedTo)); 10037Assert.False(emitResult2.Success); 10051Assert.False(emitResult3.Success);
Attributes\AttributeTests_Assembly.cs (3)
1071Assert.False(token.IsNil); //could the type ref be located? If not then the attribute's not there. 1192Assert.False(token.IsNil); //could the type ref be located? If not then the attribute's not there. 1790Assert.False(token.IsNil); //could the type ref be located? If not then the attribute's not there.
Attributes\AttributeTests_NativeInteger.cs (2)
1465Assert.False(attributeUsage.Inherited); 1466Assert.False(attributeUsage.AllowMultiple);
Attributes\AttributeTests_Nullable.cs (5)
195Assert.False(reader.TypeDefinitions.Any(h => reader.StringComparer.Equals(reader.GetTypeDefinition(h).Name, name))); 4975Assert.False(attributeUsage.Inherited); 4976Assert.False(attributeUsage.AllowMultiple); 5396Assert.False(attributes.Contains("NullableContextAttribute")); 5397Assert.False(attributes.Contains("NullableAttribute"));
Attributes\AttributeTests_NullableContext.cs (2)
209Assert.False(attributeUsage.Inherited); 210Assert.False(attributeUsage.AllowMultiple);
Attributes\AttributeTests_NullablePublicOnly.cs (2)
506Assert.False(attributeUsage.Inherited); 507Assert.False(attributeUsage.AllowMultiple);
Attributes\AttributeTests_RefReadOnly.cs (9)
1374Assert.False(NeedsGeneratedIsReadOnlyAttribute(compilation)); 1388Assert.False(NeedsGeneratedIsReadOnlyAttribute(compilation)); 1416Assert.False(NeedsGeneratedIsReadOnlyAttribute(compilation)); 1430Assert.False(NeedsGeneratedIsReadOnlyAttribute(compilation)); 1445Assert.False(NeedsGeneratedIsReadOnlyAttribute(compilation)); 1457Assert.False(NeedsGeneratedIsReadOnlyAttribute(compilation)); 1472Assert.False(NeedsGeneratedIsReadOnlyAttribute(compilation)); 1484Assert.False(NeedsGeneratedIsReadOnlyAttribute(compilation)); 1511Assert.False(NeedsGeneratedIsReadOnlyAttribute(compilation));
Attributes\AttributeTests_Security.cs (1)
1640Assert.False(emitResult.Success);
Attributes\AttributeTests_StructLayout.cs (7)
638Assert.False(hasClassLayout); 640Assert.False(badLayout); 646Assert.False(hasClassLayout); 655Assert.False(badLayout); 663Assert.False(badLayout); 668Assert.False(hasClassLayout); 670Assert.False(badLayout);
Attributes\AttributeTests_WellKnownAttributes.cs (13)
3433Assert.False(MetadataValidation.FindCustomAttribute(metadataReader, "DefaultCharSetAttribute").IsNil); 3465Assert.False(MetadataValidation.FindCustomAttribute(metadataReader, "DefaultCharSetAttribute").IsNil); 3696Assert.False(methodGoo.IsExtern); 4905Assert.False(typeBobAttribute.IsSerializable); 4974Assert.False(((NamedTypeSymbol)substitutedNested).IsSerializable); 4986Assert.False(((NamedTypeSymbol)constructed).IsSerializable); 4994Assert.False(((NamedTypeSymbol)extendedError).IsSerializable); 4998Assert.False(((NamedTypeSymbol)topLevel).IsSerializable); 5002Assert.False(((NamedTypeSymbol)nested).IsSerializable); 5006Assert.False(((NamedTypeSymbol)constructedError).IsSerializable); 5010Assert.False(((NamedTypeSymbol)nestedSubstitutedError).IsSerializable); 5014Assert.False(((NamedTypeSymbol)unbound).IsSerializable); 5019Assert.False(((NamedTypeSymbol)scriptClass).IsSerializable);
Attributes\InternalsVisibleToAndStrongNameTests.cs (15)
618Assert.False(comp.IsRealSigned); 640Assert.False(comp.IsRealSigned); 666Assert.False(comp.IsRealSigned); 707Assert.False(comp.IsRealSigned); 1306Assert.False(other.Assembly.GivesAccessTo(requestor.Assembly)); 1342Assert.False(other.Assembly.GivesAccessTo(requestor.Assembly)); 1541Assert.False(token.IsNil); //could the type ref be located? If not then the attribute's not there. 1649Assert.False(success.Success); 1704Assert.False(success.Success); 1800Assert.False(success.Success); 2547Assert.False(success.Success); 2578Assert.False(result.Success); 2608Assert.False(success.Success); 2663Assert.False(success.Success); 2804Assert.False(assembly.GetAttributes().Any(attr => attr.IsTargetAttribute(AttributeDescription.InternalsVisibleToAttribute)));
Attributes\WellKnownAttributesTestBase.cs (1)
90Assert.False(parameter.IsParamsCollection);
Diagnostics\DiagnosticAnalyzerTests.cs (6)
514Assert.False(c.Symbol.IsImplicitlyDeclared); 528Assert.False(partiallyDisabledAnalyzer.IsDiagnosticAnalyzerSuppressed(options)); 535Assert.False(fullyDisabledAnalyzer.IsDiagnosticAnalyzerSuppressed(options)); 3574Assert.False(second.Concurrent); 3578Assert.False(second.Concurrent); 3724Assert.False(diagnostics.ContainsKey(analyzer));
Diagnostics\GetDiagnosticsTests.cs (6)
517Assert.False(diagnostics.Single().IsSuppressed); 522Assert.False(effectiveDiagnostics.Single().IsSuppressed); 529Assert.False(analyzerDiagnostics.Single().IsSuppressed); 574Assert.False(diagnostic.IsSuppressed); 622Assert.False(diagnostic.IsSuppressed); 792Assert.False(eventQueue.IsCompleted);
FirstClassSpanTests.cs (2)
2835Assert.False(argConv.IsUserDefined); 2836Assert.False(argConv.IsIdentity);
FlowAnalysis\IterationJumpYieldStatementTests.cs (28)
46Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 79Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 139Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 169Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 198Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 228Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 281Assert.False(analysisResults.EndPointIsReachable); 303Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 332Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 361Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 390Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 448Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 474Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 512Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 531Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 550Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 572Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 614Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 886Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 937Assert.False(analysis.EndPointIsReachable); 977Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 1005Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 1033Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 1061Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 1104Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 1166Assert.False(ctrlFlow.EndPointIsReachable); 1322Assert.False(ctrlFlow.EndPointIsReachable); 1326Assert.False(ctrlFlow.EndPointIsReachable);
FlowAnalysis\RegionAnalysisTests.cs (19)
322Assert.False(results.Succeeded); 346Assert.False(results.Succeeded); 370Assert.False(results.Succeeded); 2222Assert.False(analysis.Succeeded); 3200Assert.False(analysis.EndPointIsReachable); 4070Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 4359Assert.False(ctrlFlows.EndPointIsReachable); 4440Assert.False(results.Item1.Succeeded); 4441Assert.False(results.Item2.Succeeded); 4740Assert.False(controlFlow.StartPointIsReachable); 4741Assert.False(controlFlow.EndPointIsReachable); 4767Assert.False(controlFlow.EndPointIsReachable); 4819Assert.False(controlFlow.EndPointIsReachable); 5081Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 6278Assert.False(controlFlowAnalysisResults.Succeeded); 8101Assert.False(analysis.Succeeded); 8129Assert.False(analysis.Succeeded); 8973Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 8998Assert.False(controlFlowAnalysisResults.EndPointIsReachable);
FlowAnalysis\TryLockUsingStatementTests.cs (9)
88Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 261Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 299Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 405Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 661Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 817Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 946Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 1183Assert.False(controlFlowAnalysisResults.EndPointIsReachable); 1230Assert.False(controlFlowAnalysisResults.EndPointIsReachable);
RefReadonlyParameterTests.cs (2)
101Assert.False(method.HasUnsupportedMetadata); 102Assert.False(method.HasUseSiteError);
RefStructInterfacesTests.cs (72)
223Assert.False(propertySymbol.HasUnscopedRefAttribute); 248Assert.False(propertySymbol.HasUnscopedRefAttribute); 274Assert.False(propertySymbol.HasUnscopedRefAttribute); 312Assert.False(propertySymbol.HasUnscopedRefAttribute); 352Assert.False(propertySymbol.HasUnscopedRefAttribute); 380Assert.False(propertySymbol.HasUnscopedRefAttribute); 470Assert.False(propertySymbol.HasUnscopedRefAttribute); 495Assert.False(propertySymbol.IsStatic); 522Assert.False(propertySymbol.HasUnscopedRefAttribute); 560Assert.False(propertySymbol.HasUnscopedRefAttribute); 600Assert.False(propertySymbol.HasUnscopedRefAttribute); 628Assert.False(propertySymbol.IsStatic); 629Assert.False(propertySymbol.HasUnscopedRefAttribute); 1121Assert.False(propertySymbol.HasUnscopedRefAttribute); 1177Assert.False(propertySymbol.HasUnscopedRefAttribute); 1223Assert.False(c1P.HasUnscopedRefAttribute); 1226Assert.False(c2P.HasUnscopedRefAttribute); 1229Assert.False(c3P.HasUnscopedRefAttribute); 1289Assert.False(propertySymbol.HasUnscopedRefAttribute); 1311Assert.False(propertySymbol.HasUnscopedRefAttribute); 1458Assert.False(propertySymbol.HasUnscopedRefAttribute); 1478Assert.False(propertySymbol.HasUnscopedRefAttribute); 1697Assert.False(propertySymbol.HasUnscopedRefAttribute); 1753Assert.False(propertySymbol.HasUnscopedRefAttribute); 1799Assert.False(c1P.HasUnscopedRefAttribute); 1802Assert.False(c2P.HasUnscopedRefAttribute); 1805Assert.False(c3P.HasUnscopedRefAttribute); 1865Assert.False(propertySymbol.HasUnscopedRefAttribute); 1887Assert.False(propertySymbol.HasUnscopedRefAttribute); 2034Assert.False(propertySymbol.HasUnscopedRefAttribute); 2054Assert.False(propertySymbol.HasUnscopedRefAttribute); 4401Assert.False(comp.SupportsRuntimeCapability(RuntimeCapability.ByRefLikeGenerics)); 4408Assert.False(comp.SupportsRuntimeCapability(RuntimeCapability.ByRefLikeGenerics)); 7579Assert.False(info.IsAsynchronous); 7769Assert.False(info.IsAsynchronous); 7989Assert.False(info.IsAsynchronous); 8179Assert.False(info.IsAsynchronous); 8372Assert.False(info.IsAsynchronous); 8447Assert.False(info.IsAsynchronous); 8651Assert.False(info.IsAsynchronous); 9022Assert.False(info.IsAsynchronous); 9226Assert.False(info.IsAsynchronous); 9319Assert.False(moveNextIsPublic); 9390Assert.False(info.IsAsynchronous); 9590Assert.False(info.IsAsynchronous); 9814Assert.False(info.IsAsynchronous); 10023Assert.False(info.IsAsynchronous); 10250Assert.False(info.IsAsynchronous); 10353Assert.False(info.IsAsynchronous); 10448Assert.False(info.IsAsynchronous); 10633Assert.False(info.IsAsynchronous); 10830Assert.False(info.IsAsynchronous); 11071Assert.False(info.IsAsynchronous); 11298Assert.False(info.IsAsynchronous); 11510Assert.False(info.IsAsynchronous); 11610Assert.False(info.IsAsynchronous); 11705Assert.False(info.IsAsynchronous); 15738Assert.False(info.IsAsynchronous); 17766Assert.False(info.IsAsynchronous); 17963Assert.False(info.IsAsynchronous); 18187Assert.False(info.IsAsynchronous); 18383Assert.False(info.IsAsynchronous); 18584Assert.False(info.IsAsynchronous); 18658Assert.False(info.IsAsynchronous); 18868Assert.False(info.IsAsynchronous); 19203Assert.False(info.IsAsynchronous); 19374Assert.False(info.IsAsynchronous); 19460Assert.False(moveNextIsPublic); 19531Assert.False(info.IsAsynchronous); 19699Assert.False(info.IsAsynchronous); 19867Assert.False(info.IsAsynchronous); 19972Assert.False(info.IsAsynchronous);
Semantics\CollectionExpressionTests.cs (33)
5101Assert.False(elementType.HasType); 14238Assert.False(conversion.IsCollectionExpression); 14243Assert.False(underlyingConversion.IsNullable); 14314Assert.False(conversion.IsCollectionExpression); 14319Assert.False(underlyingConversion.IsNullable); 14385Assert.False(conversion.IsValid); 14658Assert.False(conversion.IsIdentity); 14747Assert.False(conversion.IsIdentity); 14753Assert.False(underlyingConversion.IsNullable); 19393Assert.False(collectionType.HasCollectionBuilderAttribute(out _, out _)); 19397Assert.False(originalType.HasCollectionBuilderAttribute(out _, out _)); 28623Assert.False(conversion1.IsValid); 28667Assert.False(conversion1.IsValid); 28757Assert.False(conversion1.IsValid); 28800Assert.False(conversion1.IsValid); 28843Assert.False(conversion.IsValid); 28883Assert.False(conversion.IsValid); 28949Assert.False(conversion1.IsValid); 28969Assert.False(conversion4.IsValid); 29002Assert.False(conversion1.IsValid); 29022Assert.False(conversion4.IsValid); 29068Assert.False(conversion1.IsValid); 29071Assert.False(conversion2.IsValid); 29078Assert.False(conversion3.IsValid); 29085Assert.False(conversion4.IsValid); 29129Assert.False(conversion1.IsValid); 29132Assert.False(conversion2.IsValid); 29139Assert.False(conversion3.IsValid); 29146Assert.False(conversion4.IsValid); 29205Assert.False(conversion1.IsValid); 29253Assert.False(conversion2.IsValid); 29295Assert.False(conversion.IsValid); 30135Assert.False(elementType.HasType);
Semantics\InlineArrayTests.cs (5)
18196Assert.False(comp.SupportsRuntimeCapability(RuntimeCapability.InlineArrayTypes)); 18199Assert.False(vbComp.SupportsRuntimeCapability(RuntimeCapability.InlineArrayTypes)); 18595Assert.False(forEachInfo.IsAsynchronous); 18921Assert.False(forEachInfo.IsAsynchronous); 19258Assert.False(forEachInfo.IsAsynchronous);
Semantics\OutVarTests.cs (39)
178Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 386Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 423Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 461Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 499Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 537Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 575Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 622Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 659Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 697Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 737Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 776Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 816Assert.False(compilation.SyntaxTrees.Single().GetRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any()); 970Assert.False(((ILocalSymbol)symbol).IsFixed); 1059Assert.False(conversion.Exists); 1156Assert.False(model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Any()); 1157Assert.False(model.LookupNames(reference.SpanStart).Contains(reference.Identifier.ValueText)); 2472Assert.False(GetOutVarDeclarations(tree, "x3").Any()); 2473Assert.False(GetOutVarDeclarations(tree, "x4").Any()); 2474Assert.False(GetOutVarDeclarations(tree, "x5").Any()); 2475Assert.False(GetOutVarDeclarations(tree, "x6").Any()); 17832Assert.False(GetOutVarDeclarations(tree).Any()); 17893Assert.False(GetOutVarDeclarations(tree).Any()); 18821Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration).IsEmpty); 18822Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration.Initializer).IsEmpty); 18823Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration.Body).IsEmpty); 18824Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration.ExpressionBody).IsEmpty); 22704Assert.False(model.LookupSymbols(decl.SpanStart, name: identifierText).Any()); 22706Assert.False(model.LookupNames(decl.SpanStart).Contains(identifierText)); 22719Assert.False(model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Any()); 23056Assert.False(GetOutVarDeclarations(tree, "x3").Any()); 32799Assert.False(dataFlow.VariablesDeclared.Contains(symbol, ReferenceEqualityComparer.Instance)); 32800Assert.False(dataFlow.AlwaysAssigned.Contains(symbol, ReferenceEqualityComparer.Instance)); 32801Assert.False(dataFlow.WrittenInside.Contains(symbol, ReferenceEqualityComparer.Instance)); 32802Assert.False(dataFlow.DataFlowsIn.Contains(symbol, ReferenceEqualityComparer.Instance)); 32803Assert.False(dataFlow.ReadInside.Contains(symbol, ReferenceEqualityComparer.Instance)); 32804Assert.False(dataFlow.DataFlowsOut.Contains(symbol, ReferenceEqualityComparer.Instance)); 32805Assert.False(dataFlow.ReadOutside.Contains(symbol, ReferenceEqualityComparer.Instance)); 32806Assert.False(dataFlow.WrittenOutside.Contains(symbol, ReferenceEqualityComparer.Instance));
Semantics\ParamsCollectionTests.cs (9)
4342Assert.False(parameter.IsParams); 4343Assert.False(parameter.IsParamsArray); 4344Assert.False(parameter.IsParamsCollection); 4348Assert.False(parameter.IsParams); 4349Assert.False(parameter.IsParamsArray); 4350Assert.False(parameter.IsParamsCollection); 9036Assert.False(module.FindTargetAttribute(p1.Handle, AttributeDescription.ScopedRefAttribute).HasValue); 9039Assert.False(expectUnscopedRefAttribute); 9044Assert.False(true);
Semantics\PatternMatchingTestBase.cs (13)
218Assert.False(model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Any()); 219Assert.False(model.LookupNames(reference.SpanStart).Contains(reference.Identifier.ValueText)); 335Assert.False(dataFlow.VariablesDeclared.Contains(symbol, ReferenceEqualityComparer.Instance)); 336Assert.False(dataFlow.AlwaysAssigned.Contains(symbol, ReferenceEqualityComparer.Instance)); 337Assert.False(dataFlow.WrittenInside.Contains(symbol, ReferenceEqualityComparer.Instance)); 338Assert.False(dataFlow.DataFlowsIn.Contains(symbol, ReferenceEqualityComparer.Instance)); 339Assert.False(dataFlow.ReadInside.Contains(symbol, ReferenceEqualityComparer.Instance)); 340Assert.False(dataFlow.DataFlowsOut.Contains(symbol, ReferenceEqualityComparer.Instance)); 341Assert.False(dataFlow.ReadOutside.Contains(symbol, ReferenceEqualityComparer.Instance)); 342Assert.False(dataFlow.WrittenOutside.Contains(symbol, ReferenceEqualityComparer.Instance)); 377Assert.False(model.LookupSymbols(designation.SpanStart, name: identifierText).Any()); 379Assert.False(model.LookupNames(designation.SpanStart).Contains(identifierText)); 420Assert.False(model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Any());
Semantics\PatternMatchingTests.cs (1)
6577Assert.False(model.GetConstantValue(caseDefault.Pattern).HasValue);
Semantics\PatternMatchingTests2.cs (1)
2968Assert.False(true);
Semantics\PrimaryConstructorTests.cs (20)
2165Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativeBaseInitializer, out _)); 2173Assert.False(model.TryGetSpeculativeSemanticModel(tree.GetRoot().DescendantNodes().OfType<ReturnStatementSyntax>().Single().SpanStart, 2177Assert.False(model.TryGetSpeculativeSemanticModel(otherBasePosition, speculativePrimaryInitializer, out _)); 2241Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativePrimaryInitializer, out _)); 2317Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativeBaseInitializer, out _)); 2325Assert.False(model.TryGetSpeculativeSemanticModel(tree.GetRoot().DescendantNodes().OfType<ReturnStatementSyntax>().Single().SpanStart, 2329Assert.False(model.TryGetSpeculativeSemanticModel(otherBasePosition, speculativePrimaryInitializer, out _)); 2331Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.SpanStart, speculativePrimaryInitializer, out _)); 2332Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativePrimaryInitializer, out _)); 2380Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativePrimaryInitializer, out _)); 2481Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativeBase, out _)); 2487Assert.False(model.TryGetSpeculativeSemanticModel(baseWithoutargs.ArgumentList.OpenParenToken.SpanStart, speculativeBase, out _)); 2492Assert.False(model.TryGetSpeculativeSemanticModel(baseWithoutParens.SpanStart + 2, speculativeBase, out _)); 3282Assert.False(i.HasPrimaryConstructor); 3324Assert.False(e.HasPrimaryConstructor); 3356Assert.False(c.HasPrimaryConstructor); 3584Assert.False(c1.AnyMemberHasAttributes); 3629Assert.False(c.AnyMemberHasAttributes); 3651Assert.False(c.AnyMemberHasAttributes); 7841Assert.False(isRecord);
Semantics\RecordTests.cs (27)
20381Assert.False(op.IsAbstract); 20382Assert.False(op.IsVirtual); 20383Assert.False(op.IsOverride); 20384Assert.False(op.IsSealed); 20391Assert.False(op.IsAbstract); 20392Assert.False(op.IsVirtual); 20393Assert.False(op.IsOverride); 20394Assert.False(op.IsSealed); 20500Assert.False(op.IsAbstract); 20501Assert.False(op.IsVirtual); 20502Assert.False(op.IsOverride); 20503Assert.False(op.IsSealed); 20510Assert.False(op.IsAbstract); 20511Assert.False(op.IsVirtual); 20512Assert.False(op.IsOverride); 20513Assert.False(op.IsSealed); 22322Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativeBaseInitializer, out _)); 22330Assert.False(model.TryGetSpeculativeSemanticModel(tree.GetRoot().DescendantNodes().OfType<ReturnStatementSyntax>().Single().SpanStart, 22334Assert.False(model.TryGetSpeculativeSemanticModel(otherBasePosition, speculativePrimaryInitializer, out _)); 22398Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativePrimaryInitializer, out _)); 22474Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativeBaseInitializer, out _)); 22482Assert.False(model.TryGetSpeculativeSemanticModel(tree.GetRoot().DescendantNodes().OfType<ReturnStatementSyntax>().Single().SpanStart, 22486Assert.False(model.TryGetSpeculativeSemanticModel(otherBasePosition, speculativePrimaryInitializer, out _)); 22488Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.SpanStart, speculativePrimaryInitializer, out _)); 22489Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativePrimaryInitializer, out _)); 22537Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativePrimaryInitializer, out _)); 30211Assert.False(compA.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses));
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (6)
Diagnostics\Suppression\SuppressionTests.cs (3)
1136Assert.All(Regex.Split(expected, "\r?\n"), line => Assert.False(HasTrailingWhitespace(line))); 1169Assert.False(string.IsNullOrWhiteSpace(lines.First())); 1199Assert.False(string.IsNullOrWhiteSpace(lines[^2]));
EditAndContinue\BreakpointSpansTests.cs (1)
51Assert.False(hasBreakpoint);
EditAndContinue\SyntaxUtilitiesTests.cs (1)
204Assert.False(SyntaxUtilities.IsAsyncDeclaration(m3));
ExtractClass\ExtractClassTests.cs (1)
3126Assert.False(_isClassDeclarationSelection);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (4)
IOperation\IOperationTests.cs (3)
468Assert.False(operation1 is ISimpleAssignmentOperation); 474Assert.False(operation2 is ISimpleAssignmentOperation); 480Assert.False(operation3 is ISimpleAssignmentOperation);
IOperation\IOperationTests_IArgument.cs (1)
4100Assert.False(conversion.Conversion.IsImplicit);
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (3)
CsiTests.cs (3)
38Assert.False(result.ContainsErrors); 113Assert.False(result.ContainsErrors); 138Assert.False(result.ContainsErrors);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (6)
CommandLineRunnerTests.cs (1)
490Assert.False(PathUtilities.IsAbsolute(scriptPath));
InteractiveSessionReferencesTests.cs (1)
154Assert.False(m.ReferencedAssemblies.Any(a => a.Name == "libB"));
InteractiveSessionTests.cs (2)
676Assert.False(state3.ReturnValue); 1668Assert.False(true);
ObjectFormatterTests.cs (1)
1039Assert.False(true);
ScriptTests.cs (1)
444Assert.False(state.GetVariable("x").IsReadOnly);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (543)
Semantics\AccessCheckTests.cs (45)
777Assert.False(Symbol.IsSymbolAccessible(privField.GetSymbol(), classB.GetSymbol())); 778Assert.False(compilation.IsSymbolAccessibleWithin(privField, classB)); 779Assert.False(Symbol.IsSymbolAccessible(karrayType.GetSymbol(), classB.GetSymbol())); 780Assert.False(compilation.IsSymbolAccessibleWithin(karrayType, classB)); 783Assert.False(Symbol.IsSymbolAccessible(kptrType.GetSymbol(), classB.GetSymbol())); 784Assert.False(compilation.IsSymbolAccessibleWithin(kptrType, classB)); 787Assert.False(Symbol.IsSymbolAccessible(kinreturnfuncptrType.GetSymbol(), classB.GetSymbol())); 788Assert.False(compilation.IsSymbolAccessibleWithin(kinreturnfuncptrType, classB)); 789Assert.False(Symbol.IsSymbolAccessible(kinparamfuncptr1Type.GetSymbol(), classB.GetSymbol())); 790Assert.False(compilation.IsSymbolAccessibleWithin(kinparamfuncptr1Type, classB)); 791Assert.False(Symbol.IsSymbolAccessible(kinparamfuncptr2Type.GetSymbol(), classB.GetSymbol())); 792Assert.False(compilation.IsSymbolAccessibleWithin(kinparamfuncptr2Type, classB)); 795Assert.False(Symbol.IsSymbolAccessible(kdiscard.GetSymbol(), classB.GetSymbol())); 796Assert.False(compilation.IsSymbolAccessibleWithin(kdiscard, classB)); 799Assert.False(Symbol.IsSymbolAccessible(kenumType.GetSymbol(), classB.GetSymbol())); 800Assert.False(compilation.IsSymbolAccessibleWithin(kenumType, classB)); 811Assert.False(Symbol.IsSymbolAccessible(protField.GetSymbol(), classB.GetSymbol())); 812Assert.False(compilation.IsSymbolAccessibleWithin(protField, classB)); 813Assert.False(Symbol.IsSymbolAccessible(protField.GetSymbol(), classB.GetSymbol(), classADerived.GetSymbol())); 814Assert.False(compilation.IsSymbolAccessibleWithin(protField, classB, classADerived)); 819Assert.False(Symbol.IsSymbolAccessible(protField.GetSymbol(), classADerived.GetSymbol(), classADerived2.GetSymbol())); 820Assert.False(compilation.IsSymbolAccessibleWithin(protField, classADerived, classADerived2)); 828Assert.False(Symbol.IsSymbolAccessible(karrayType.GetSymbol(), sourceAssem.GetSymbol())); 829Assert.False(compilation.IsSymbolAccessibleWithin(karrayType, sourceAssem)); 834Assert.False(Symbol.IsSymbolAccessible(kptrType.GetSymbol(), sourceAssem.GetSymbol())); 835Assert.False(compilation.IsSymbolAccessibleWithin(kptrType, sourceAssem)); 836Assert.False(Symbol.IsSymbolAccessible(kinreturnfuncptrType.GetSymbol(), sourceAssem.GetSymbol())); 837Assert.False(compilation.IsSymbolAccessibleWithin(kinreturnfuncptrType, sourceAssem)); 838Assert.False(Symbol.IsSymbolAccessible(kinparamfuncptr1Type.GetSymbol(), sourceAssem.GetSymbol())); 839Assert.False(compilation.IsSymbolAccessibleWithin(kinparamfuncptr1Type, sourceAssem)); 840Assert.False(Symbol.IsSymbolAccessible(kinparamfuncptr2Type.GetSymbol(), sourceAssem.GetSymbol())); 841Assert.False(compilation.IsSymbolAccessibleWithin(kinparamfuncptr2Type, sourceAssem)); 844Assert.False(Symbol.IsSymbolAccessible(kdiscard.GetSymbol(), sourceAssem.GetSymbol())); 845Assert.False(compilation.IsSymbolAccessibleWithin(kdiscard, sourceAssem)); 846Assert.False(Symbol.IsSymbolAccessible(classA.GetSymbol(), mscorlibAssem.GetSymbol())); 847Assert.False(compilation.IsSymbolAccessibleWithin(classA, mscorlibAssem)); 848Assert.False(Symbol.IsSymbolAccessible(aliasA.GetSymbol(), mscorlibAssem.GetSymbol())); 849Assert.False(compilation.IsSymbolAccessibleWithin(aliasA, mscorlibAssem)); 916Assert.False(compilation1.IsSymbolAccessibleWithin(Outer_Pointer.Type, Other)); 919Assert.False(compilation1.IsSymbolAccessibleWithin(Private, Other)); 920Assert.False(compilation1.IsSymbolAccessibleWithin(Private, sourceAssem)); 921Assert.False(compilation1.IsSymbolAccessibleWithin(Outer_Inner_Field, Other)); 922Assert.False(compilation1.IsSymbolAccessibleWithin(Outer_Protected, Derived, Outer)); 924Assert.False(compilation1.IsSymbolAccessibleWithin(Outer_PrivateProtected, Derived, Outer)); 928Assert.False(compilation1.IsSymbolAccessibleWithin(Outer_Protected, sourceAssem));
Semantics\AnonymousFunctionTests.cs (3)
1025Assert.False(anonymousMethod.IsStatic); 1026Assert.False(simpleLambda.IsStatic); 1027Assert.False(parenthesizedLambda.IsStatic);
Semantics\AwaitExpressionTests.cs (1)
148Assert.False(info.IsDynamic);
Semantics\BindingTests.cs (8)
3384Assert.False(names.Contains("MathMin")); 3387Assert.False(names.Contains("F2")); 3388Assert.False(names.Contains("MathMax2")); 3389Assert.False(names.Contains("MathMax3")); 3399Assert.False(symbols.Where(s => s.Name == "MathMin").Any()); 3402Assert.False(symbols.Where(s => s.Name == "F2").Any()); 3403Assert.False(symbols.Where(s => s.Name == "MathMax2").Any()); 3404Assert.False(symbols.Where(s => s.Name == "MathMax3").Any());
Semantics\ConstantTests.cs (2)
2952Assert.False(((FieldSymbol)symbol).HasConstantValue); 2955Assert.False(((FieldSymbol)symbol).HasConstantValue);
Semantics\DeconstructionTests.cs (1)
5130Assert.False(tree.GetCompilationUnitRoot().DescendantNodes().OfType<DeclarationExpressionSyntax>().Any());
Semantics\DelegateTypeTests.cs (4)
15618Assert.False(functionTypeStringNotNullable.Equals(functionTypeStringNullable, TypeCompareKind.ConsiderEverything)); 15619Assert.False(functionTypeNullA.Equals(functionTypeStringNullable, TypeCompareKind.AllIgnoreOptions)); 15620Assert.False(functionTypeStringNullable.Equals(functionTypeNullA, TypeCompareKind.AllIgnoreOptions)); 15622Assert.False(functionTypeNullA.Equals(functionTypeNullB, TypeCompareKind.ConsiderEverything));
Semantics\ExpressionBodiedMemberTests.cs (8)
58Assert.False(gooImpl.IsPartialDefinition); 91Assert.False(semanticInfo.IsCompileTimeConstant); 143Assert.False(semanticInfo.IsCompileTimeConstant); 161Assert.False(semanticInfo.IsCompileTimeConstant); 176Assert.False(semanticInfo.IsCompileTimeConstant); 243Assert.False(semanticInfo.IsCompileTimeConstant); 299Assert.False(semanticInfo.IsCompileTimeConstant); 332Assert.False(semanticInfo.IsCompileTimeConstant);
Semantics\ForEachTests.cs (4)
1340Assert.False(info.NeedsDisposal); // Definitely not disposable 1880Assert.False(info.NeedsDisposal); // Definitely not disposable 2132Assert.False(loopInfo.IsAsynchronous); 3242Assert.False(info.NeedsDisposal);
Semantics\FunctionPointerTests.cs (3)
357Assert.False(conversion.IsImplicit); 460Assert.False(conversion.IsImplicit); 510Assert.False(conversion.IsImplicit);
Semantics\ImplicitObjectCreationTests.cs (8)
1872Assert.False(model.GetConstantValue(def).HasValue); 1902Assert.False(model.GetConstantValue(def).HasValue); 1932Assert.False(model.GetConstantValue(def).HasValue); 2043Assert.False(model.GetConstantValue(@new).HasValue); 2078Assert.False(model.GetConstantValue(@new).HasValue); 2224Assert.False(model.GetConstantValue(def).HasValue); 2572Assert.False(model.GetConstantValue(def).HasValue); 4188Assert.False(modifiedNode.HasErrors);
Semantics\InitOnlyMemberTests.cs (12)
51Assert.False(publicProperty.GetMethod.IsInitOnly); 1463Assert.False(getter.IsInitOnly); 2524Assert.False(method.IsInitOnly); 3278Assert.False(property0.MustCallMethodsDirectly); 3375Assert.False(property1.HasUseSiteError); 3381Assert.False(property2.HasUseSiteError); 3582Assert.False(property0.HasUseSiteError); 3583Assert.False(property0.MustCallMethodsDirectly); 3637Assert.False(method.IsInitOnly); 3696Assert.False(method.IsInitOnly); 3820Assert.False(property0.HasUseSiteError); 4155Assert.False(method.IsInitOnly);
Semantics\InteractiveSemanticModelTests.cs (4)
169Assert.False(semanticInfo.IsCompileTimeConstant); 194Assert.False(semanticInfo.IsCompileTimeConstant); 220Assert.False(semanticInfo.IsCompileTimeConstant); 253Assert.False(semanticInfo.IsCompileTimeConstant);
Semantics\InterceptorsTests.cs (1)
7354Assert.False(locationSpecifier!.Equals(null));
Semantics\InterpolationTests.cs (1)
4617Assert.False(semanticInfo.ConstantValue.HasValue);
Semantics\LambdaDiscardParametersTests.cs (2)
571Assert.False(parameterSymbol1.IsDiscard); 575Assert.False(parameterSymbol2.IsDiscard);
Semantics\LambdaTests.cs (23)
8019Assert.False(lambdas[0].Symbol.Parameters[0].IsOptional); 8020Assert.False(lambdas[0].Symbol.Parameters[0].HasExplicitDefaultValue); 8030Assert.False(lambdas[2].Symbol.Parameters[0].HasExplicitDefaultValue); 8036Assert.False(lambdas[2].Symbol.Parameters[0].IsOptional); 8037Assert.False(lambdas[2].Symbol.Parameters[0].HasExplicitDefaultValue); 8366Assert.False(((SourceParameterSymbol)lambdas[0].Parameters.Single()).IsParamsCollection); 8368Assert.False(((SourceParameterSymbol)lambdas[1].Parameters.Single()).IsParams); 8369Assert.False(((SourceParameterSymbol)lambdas[1].Parameters.Single()).IsParamsArray); 8370Assert.False(((SourceParameterSymbol)lambdas[1].Parameters.Single()).IsParamsCollection); 8374Assert.False(((SourceParameterSymbol)lambdas[2].Parameters[0]).IsParams); 8375Assert.False(((SourceParameterSymbol)lambdas[2].Parameters[0]).IsParamsArray); 8376Assert.False(((SourceParameterSymbol)lambdas[2].Parameters[0]).IsParamsCollection); 8379Assert.False(((SourceParameterSymbol)lambdas[2].Parameters[1]).IsParamsCollection); 8401Assert.False(((SourceParameterSymbol)lambdas[0].Parameters[0]).IsParamsCollection); 8404Assert.False(((SourceParameterSymbol)lambdas[0].Parameters[1]).IsParamsCollection); 8405Assert.False(((SourceParameterSymbol)lambdas[0].Parameters[2]).IsParams); 8406Assert.False(((SourceParameterSymbol)lambdas[0].Parameters[2]).IsParamsArray); 8407Assert.False(((SourceParameterSymbol)lambdas[0].Parameters[2]).IsParamsCollection); 8413Assert.False(((SourceParameterSymbol)lambdas[1].Parameters[0]).IsParamsCollection); 8414Assert.False(((SourceParameterSymbol)lambdas[1].Parameters[1]).IsParams); 8415Assert.False(((SourceParameterSymbol)lambdas[1].Parameters[1]).IsParamsArray); 8416Assert.False(((SourceParameterSymbol)lambdas[1].Parameters[1]).IsParamsCollection); 8419Assert.False(((SourceParameterSymbol)lambdas[1].Parameters[2]).IsParamsCollection);
Semantics\LocalFunctionTests.cs (1)
8782Assert.False(model.LookupSymbols(nameofExpression.ArgumentList.CloseParenToken.SpanStart).ToTestDisplayStrings().Contains("parameter"));
Semantics\LookupTests.cs (4)
1865Assert.False(symbols.Any(s => s.Kind == SymbolKind.TypeParameter)); 1887Assert.False(symbols.Any(s => s.Kind == SymbolKind.TypeParameter)); 1910Assert.False(symbols.Any(s => s.Kind == SymbolKind.TypeParameter)); 1932Assert.False(symbols.Any(s => s.Kind == SymbolKind.TypeParameter));
Semantics\MultiDimensionalArrayTests.cs (19)
544Assert.False(mdArray.IsSZArray); 1095Assert.False(array.IsSZArray); 1102Assert.False(array.IsSZArray); 1109Assert.False(array.IsSZArray); 1116Assert.False(array.IsSZArray); 1123Assert.False(array.IsSZArray); 1130Assert.False(array.IsSZArray); 1137Assert.False(array.IsSZArray); 1144Assert.False(array.IsSZArray); 1151Assert.False(array.IsSZArray); 1158Assert.False(array.IsSZArray); 1165Assert.False(array.IsSZArray); 1172Assert.False(array.IsSZArray); 1179Assert.False(array.IsSZArray); 1186Assert.False(array.IsSZArray); 1193Assert.False(array.IsSZArray); 1200Assert.False(array.IsSZArray); 1207Assert.False(array.IsSZArray); 1689Assert.False(a2.IsSZArray);
Semantics\NameOfTests.cs (1)
3062Assert.False(typeofType.IsDefinition);
Semantics\NativeIntegerTests.cs (30)
72Assert.False(comp.SupportsRuntimeCapability(RuntimeCapability.NumericIntPtr)); 87Assert.False(comp.SupportsRuntimeCapability(RuntimeCapability.NumericIntPtr)); 177Assert.False(comp.SupportsRuntimeCapability(RuntimeCapability.NumericIntPtr)); 183Assert.False(comp.SupportsRuntimeCapability(RuntimeCapability.NumericIntPtr)); 190Assert.False(comp.SupportsRuntimeCapability(RuntimeCapability.NumericIntPtr)); 196Assert.False(comp.SupportsRuntimeCapability(RuntimeCapability.NumericIntPtr)); 266Assert.False(underlyingType.Equals(nativeIntegerType)); 267Assert.False(((IEquatable<ISymbol>)underlyingType).Equals(nativeIntegerType)); 268Assert.False(underlyingType.Equals(nativeIntegerType, SymbolEqualityComparer.Default)); 269Assert.False(underlyingType.Equals(nativeIntegerType, SymbolEqualityComparer.IncludeNullability)); 270Assert.False(underlyingType.Equals(nativeIntegerType, SymbolEqualityComparer.ConsiderEverything)); 377Assert.False(underlyingType.Equals(nativeIntegerType, TypeCompareKind.ConsiderEverything)); 378Assert.False(nativeIntegerType.Equals(underlyingType, TypeCompareKind.ConsiderEverything)); 482Assert.False(members.IsDefaultOrEmpty); 523Assert.False(members.IsDefaultOrEmpty); 553Assert.False(member.Equals(underlyingMember, TypeCompareKind.ConsiderEverything)); 595Assert.False(containsType(fromMember, useNativeInteger: false)); 597Assert.False(containsType(fromUnderlyingMember, useNativeInteger: true)); 1175Assert.False(type2.IsNativeIntegerWrapperType); 3686Assert.False(underlyingType0.IsNativeIntegerWrapperType); 3688Assert.False(underlyingType1.IsNativeIntegerWrapperType); 3720Assert.False(underlyingType0.IsNativeIntegerWrapperType); 3754Assert.False(underlyingType0.IsNativeIntegerWrapperType); 4125Assert.False(type.IsNativeIntegerType); 7824Assert.False(IsNoConversion(expectedConversions)); 14738Assert.False(TypeUnification.CanUnify(type1, type2)); 15343Assert.False(nintSymbol.IsNativeIntegerType); 15366Assert.False(symbol.IsNativeIntegerType); 15417Assert.False(symbol.IsNativeIntegerType); 15447Assert.False(symbol.IsNativeIntegerType);
Semantics\NullableContextTests.cs (8)
116Assert.False(NullableContextOptions.Annotations.WarningsEnabled()); 118Assert.False(NullableContextOptions.Warnings.AnnotationsEnabled()); 121Assert.False(NullableContextOptions.Disable.AnnotationsEnabled()); 122Assert.False(NullableContextOptions.Disable.WarningsEnabled()); 137Assert.False(context.WarningsInherited()); 138Assert.False(context.AnnotationsInherited()); 144Assert.False(warningsInherited.AnnotationsInherited()); 149Assert.False(annotationsInherited.WarningsInherited());
Semantics\NullableReferenceTypesTests.cs (56)
5763Assert.False(((CSharpSyntaxTree)source1).IsGeneratedCode(null, cancellationToken: default)); 5777Assert.False(((CSharpSyntaxTree)source2).IsGeneratedCode(null, cancellationToken: default)); 5790Assert.False(((CSharpSyntaxTree)source3).IsGeneratedCode(null, cancellationToken: default)); 5802Assert.False(((CSharpSyntaxTree)source4).IsGeneratedCode(null, cancellationToken: default)); 12334Assert.False(member.TypeWithAnnotations.Equals(member.OverriddenEvent.TypeWithAnnotations, TypeCompareKind.AllIgnoreOptions & ~TypeCompareKind.AllNullableIgnoreOptions)); 12695Assert.False(impl.TypeWithAnnotations.Equals(member.TypeWithAnnotations, TypeCompareKind.AllIgnoreOptions & ~TypeCompareKind.AllNullableIgnoreOptions)); 12788Assert.False(impl.TypeWithAnnotations.Equals(member.TypeWithAnnotations, TypeCompareKind.AllIgnoreOptions & ~TypeCompareKind.AllNullableIgnoreOptions)); 12885Assert.False(member.TypeWithAnnotations.Equals(member.OverriddenProperty.TypeWithAnnotations, TypeCompareKind.AllIgnoreOptions & ~TypeCompareKind.AllNullableIgnoreOptions)); 13036Assert.False(impl.TypeWithAnnotations.Equals(member.TypeWithAnnotations, TypeCompareKind.AllIgnoreOptions & ~TypeCompareKind.AllNullableIgnoreOptions)); 13127Assert.False(impl.TypeWithAnnotations.Equals(member.TypeWithAnnotations, TypeCompareKind.AllIgnoreOptions & ~TypeCompareKind.AllNullableIgnoreOptions)); 13208Assert.False(member.ReturnTypeWithAnnotations.Equals(member.OverriddenMethod.ConstructIfGeneric(member.TypeParameters.SelectAsArray(t => TypeWithAnnotations.Create(t))).ReturnTypeWithAnnotations, 13327Assert.False(implementing.ReturnTypeWithAnnotations.Equals(implemented.ReturnTypeWithAnnotations, 13414Assert.False(implementing.ReturnTypeWithAnnotations.Equals(implemented.ReturnTypeWithAnnotations, 13688Assert.False(m1.Parameters[0].TypeWithAnnotations.Equals(m1.OverriddenMethod.ConstructIfGeneric(m1.TypeParameters.SelectAsArray(t => TypeWithAnnotations.Create(t))).Parameters[0].TypeWithAnnotations, 14028Assert.False(member.ReturnTypeWithAnnotations.Equals(member.OverriddenMethod.ConstructIfGeneric(member.TypeParameters.SelectAsArray(t => TypeWithAnnotations.Create(t))).ReturnTypeWithAnnotations, 14135Assert.False(member.Parameters[0].TypeWithAnnotations.Equals(member.OverriddenMethod.ConstructIfGeneric(member.TypeParameters.SelectAsArray(t => TypeWithAnnotations.Create(t))).Parameters[0].TypeWithAnnotations, 16504Assert.False(implementing.Parameters[0].TypeWithAnnotations.Equals(implemented.Parameters[0].TypeWithAnnotations, 16635Assert.False(member.Parameters[0].TypeWithAnnotations.Equals(member.OverriddenProperty.Parameters[0].TypeWithAnnotations, TypeCompareKind.AllIgnoreOptions & ~TypeCompareKind.AllNullableIgnoreOptions)); 16720Assert.False(implementing.Parameters[0].TypeWithAnnotations.Equals(implemented.Parameters[0].TypeWithAnnotations, TypeCompareKind.AllIgnoreOptions & ~TypeCompareKind.AllNullableIgnoreOptions)); 16805Assert.False(implementing.Parameters[0].TypeWithAnnotations.Equals(implemented.Parameters[0].TypeWithAnnotations, TypeCompareKind.AllIgnoreOptions & ~TypeCompareKind.AllNullableIgnoreOptions)); 17734Assert.False(implementing.Parameters[0].TypeWithAnnotations.Equals(implemented.Parameters[0].TypeWithAnnotations, 17802Assert.False(implementing.ReturnTypeWithAnnotations.Equals(implemented.ReturnTypeWithAnnotations, 17881Assert.False(m1Impl.Parameters[i].TypeWithAnnotations.Equals(m1Def.Parameters[i].TypeWithAnnotations, 98488Assert.False(t11.IsReferenceType); 100302Assert.False(t1.IsReferenceType); 100340Assert.False(t1.IsReferenceType); 100384Assert.False(t1.IsReferenceType); 100391Assert.False(t2.IsReferenceType); 100423Assert.False(t1.IsReferenceType); 100443Assert.False(t1.IsReferenceType); 100676Assert.False(at1.IsReferenceType); 100706Assert.False(tf1.IsReferenceType); 103214Assert.False(tf1.HasNotNullConstraint); 103288Assert.False(tf1.HasNotNullConstraint); 103339Assert.False(tf1.HasNotNullConstraint); 113147Assert.False(method1.Equals(method2, SymbolEqualityComparer.IncludeNullability.CompareKind)); 113148Assert.False(method2.Equals(method1, SymbolEqualityComparer.IncludeNullability.CompareKind)); 115881Assert.False(cDefinition.Equals(c4, TypeCompareKind.ConsiderEverything)); 115882Assert.False(cDefinition.Equals(c4, TypeCompareKind.CLRSignatureCompareOptions)); 115889Assert.False(iDefinition.Equals(i4, TypeCompareKind.ConsiderEverything)); 115890Assert.False(iDefinition.Equals(i4, TypeCompareKind.CLRSignatureCompareOptions)); 115899Assert.False(c.Equals(c2, SymbolEqualityComparer.ConsiderEverything.CompareKind)); 144333Assert.False(IsNullableAnalysisEnabled(comp, "C.M")); 157590Assert.False(field2.Equals(field3, SymbolEqualityComparer.IncludeNullability)); 157592Assert.False(field3.Equals(field2, SymbolEqualityComparer.IncludeNullability)); 157596Assert.False(field1.Equals(field2, SymbolEqualityComparer.IncludeNullability)); 157598Assert.False(field2.Equals(field1, SymbolEqualityComparer.IncludeNullability)); 157634Assert.False(method2.IsDefinition); 157641Assert.False(method2.Equals(method3, SymbolEqualityComparer.Default)); 157642Assert.False(method2.Equals(method3, SymbolEqualityComparer.IncludeNullability)); 157643Assert.False(method3.Equals(method2, SymbolEqualityComparer.Default)); 157644Assert.False(method3.Equals(method2, SymbolEqualityComparer.IncludeNullability)); 157647Assert.False(method1.Equals(method2, SymbolEqualityComparer.Default)); 157648Assert.False(method1.Equals(method2, SymbolEqualityComparer.IncludeNullability)); 157649Assert.False(method2.Equals(method1, SymbolEqualityComparer.Default)); 157650Assert.False(method2.Equals(method1, SymbolEqualityComparer.IncludeNullability));
Semantics\OperatorTests.cs (26)
53Assert.False(insideEnumDefinition.IsEmpty); 54Assert.False(insideMethodBody.IsEmpty); 7650Assert.False(symbol1.IsGenericMethod); 7651Assert.False(symbol1.IsExtensionMethod); 7652Assert.False(symbol1.IsExtern); 7653Assert.False(symbol1.CanBeReferencedByName); 7664Assert.False(symbol1.HidesBaseMethodsByName); 7665Assert.False(symbol1.IsOverride); 7666Assert.False(symbol1.IsVirtual); 7667Assert.False(symbol1.IsAbstract); 7668Assert.False(symbol1.IsSealed); 7713Assert.False(symbol1.IsCheckedBuiltin); 8290Assert.False(symbol1.IsImplicitlyDeclared); 8424Assert.False(symbol1.IsGenericMethod); 8425Assert.False(symbol1.IsExtensionMethod); 8426Assert.False(symbol1.IsExtern); 8427Assert.False(symbol1.CanBeReferencedByName); 8459Assert.False(symbol1.HidesBaseMethodsByName); 8460Assert.False(symbol1.IsOverride); 8461Assert.False(symbol1.IsVirtual); 8462Assert.False(symbol1.IsAbstract); 8463Assert.False(symbol1.IsSealed); 8596Assert.False(symbol1.IsCheckedBuiltin); 8642Assert.False(symbol1.IsCheckedBuiltin); 8653Assert.False(symbol2.IsCheckedBuiltin); 8692Assert.False(symbol1.IsCheckedBuiltin);
Semantics\QueryTests.cs (2)
2607Assert.False(CreateCompilationWithMscorlib40AndSystemCore(sourceCode).Emit(output).Success); 2629Assert.False(CreateCompilationWithMscorlib40AndSystemCore(sourceCode).Emit(output).Success);
Semantics\RawInterpolationTests_Handler.cs (1)
2918Assert.False(semanticInfo.ConstantValue.HasValue);
Semantics\ReadOnlyStructsTests.cs (8)
1192Assert.False(getMethod(s1, "M1").IsReadOnly); 1197Assert.False(getProperty(s1, "P1").SetMethod.IsReadOnly); 1205Assert.False(getProperty(s1, "P5").GetMethod.IsReadOnly); 1206Assert.False(getProperty(s1, "P5").SetMethod.IsReadOnly); 1213Assert.False(getMethod(s2, "M2").IsReadOnly); 1221Assert.False(getProperty(s2, "P4").GetMethod.IsReadOnly); 1222Assert.False(getProperty(s2, "P4").SetMethod.IsReadOnly); 1292Assert.False(((IMethodSymbol)reducedFrom).IsReadOnly);
Semantics\RecordStructTests.cs (20)
539Assert.False(type.IsRecord); 559Assert.False(type.IsRecord); 579Assert.False(type.IsRecord); 1767Assert.False(x.SetMethod!.IsInitOnly); 1771Assert.False(xBackingField.IsReadOnly); 4358Assert.False(gethashCode.IsStatic); 4359Assert.False(gethashCode.IsAbstract); 4360Assert.False(gethashCode.IsVirtual); 4362Assert.False(gethashCode.IsSealed); 4908Assert.False(op.IsAbstract); 4909Assert.False(op.IsVirtual); 4910Assert.False(op.IsOverride); 4911Assert.False(op.IsSealed); 4918Assert.False(op.IsAbstract); 4919Assert.False(op.IsVirtual); 4920Assert.False(op.IsOverride); 4921Assert.False(op.IsSealed); 10779Assert.False(model.TryGetSpeculativeSemanticModel(baseWithargs.ArgumentList.OpenParenToken.SpanStart, speculativeBase, out _)); 10785Assert.False(model.TryGetSpeculativeSemanticModel(baseWithoutargs.ArgumentList.OpenParenToken.SpanStart, speculativeBase, out _)); 10790Assert.False(model.TryGetSpeculativeSemanticModel(baseWithoutParens.SpanStart + 2, speculativeBase, out _));
Semantics\RefEscapingTests.cs (12)
53Assert.False(getLocalType("s1").IsRefLikeType); 55Assert.False(getLocalType("i0").IsRefLikeType); 56Assert.False(getLocalType("t1").IsRefLikeType); 57Assert.False(getLocalType("e1").IsRefLikeType); 58Assert.False(getLocalType("o1").IsRefLikeType); 59Assert.False(getLocalType("c1").IsRefLikeType); 60Assert.False(getLocalType("t1").IsRefLikeType); 61Assert.False(getLocalType("u1").IsRefLikeType); 62Assert.False(getLocalType("p1").IsRefLikeType); 63Assert.False(getLocalType("a1").IsRefLikeType); 64Assert.False(getLocalType("a2").IsRefLikeType); 65Assert.False(getLocalType("t2").IsRefLikeType);
Semantics\RefFieldTests.cs (3)
2176Assert.False(comp.SupportsRuntimeCapability(RuntimeCapability.ByRefFields)); 2192Assert.False(comp.SupportsRuntimeCapability(RuntimeCapability.ByRefFields)); 27295Assert.False(((SourceModuleSymbol)module).RequiresRefSafetyRulesAttribute());
Semantics\ScriptSemanticsTests.cs (5)
419Assert.False(cls.IsImplicitClass); 424Assert.False(cls.IsScriptClass); 600Assert.False(type.IsScriptClass); 601Assert.False(type.IsSubmissionClass); 606Assert.False(symbols.Any(s => s.Name == "Roslyn"));
Semantics\SemanticErrorTests.cs (5)
16723Assert.False(comp.GetDiagnostics().Any()); 25115Assert.False(bSymbol.HasComplete(CompletionPart.MembersCompleted)); 25183Assert.False(aSymbol.HasComplete(CompletionPart.MembersCompleted)); 25186Assert.False(eSymbol.HasComplete(CompletionPart.MembersCompleted)); 25280Assert.False(bSymbol.HasComplete(CompletionPart.MembersCompleted));
Semantics\StructConstructorTests.cs (2)
3581Assert.False((bool)g1.Parameters[0].ExplicitDefaultValue); 3586Assert.False((bool)g2.Parameters[0].ExplicitDefaultValue);
Semantics\SyntaxTreeRootTests.cs (1)
53Assert.False(tree.HasCompilationUnitRoot);
Semantics\SynthesizedStaticConstructorTests.cs (20)
28Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 44Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 61Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 95Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 111Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 112Assert.False(IsBeforeFieldInit(typeSymbol)); 129Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 130Assert.False(IsBeforeFieldInit(typeSymbol)); 148Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 149Assert.False(IsBeforeFieldInit(typeSymbol)); 167Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 168Assert.False(IsBeforeFieldInit(typeSymbol)); 186Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 187Assert.False(IsBeforeFieldInit(typeSymbol)); 201Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 218Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 219Assert.False(IsBeforeFieldInit(typeSymbol)); 233Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 250Assert.False(HasSynthesizedStaticConstructor(typeSymbol)); 251Assert.False(IsBeforeFieldInit(typeSymbol));
Semantics\TargetTypedDefaultTests.cs (30)
49Assert.False(model.GetConversion(def).IsNullLiteral); 149Assert.False(model.GetConversion(def).IsNullLiteral); 250Assert.False(model.GetConversion(def).IsNullLiteral); 287Assert.False(model.GetConversion(def).IsNullLiteral); 525Assert.False(model.GetConstantValue(def).HasValue); 526Assert.False(model.GetConversion(def).IsNullLiteral); 527Assert.False(model.GetConversion(def).IsDefaultLiteral); 571Assert.False(model.GetConstantValue(def).HasValue); 572Assert.False(model.GetConversion(def).IsNullLiteral); 573Assert.False(model.GetConversion(def).IsDefaultLiteral); 614Assert.False(model.GetConstantValue(def).HasValue); 615Assert.False(model.GetConversion(def).IsNullLiteral); 616Assert.False(model.GetConversion(def).IsDefaultLiteral); 672Assert.False(model.GetConstantValue(def).HasValue); 673Assert.False(model.GetConversion(def).IsNullLiteral); 753Assert.False(model.GetConstantValue(def).HasValue); 754Assert.False(model.GetConversion(def).IsNullLiteral); 755Assert.False(model.GetConversion(def).IsDefaultLiteral); 841Assert.False(model.GetConstantValue(def).HasValue); 842Assert.False(model.GetConversion(def).IsNullLiteral); 870Assert.False(model.GetConstantValue(def).HasValue); 871Assert.False(model.GetConversion(def).IsNullLiteral); 3059Assert.False(model.GetConstantValue(def).HasValue); 3060Assert.False(model.GetConversion(def).IsNullLiteral); 3579Assert.False(model.GetConstantValue(default1).HasValue); 3580Assert.False(model.GetConversion(default1).IsNullLiteral); 3587Assert.False(model.GetConstantValue(default2).HasValue); 3594Assert.False(model.GetConstantValue(default3).HasValue); 3677Assert.False(model.GetConstantValue(value).HasValue); 3718Assert.False(model.GetConstantValue(defaultValue).HasValue);
Semantics\TopLevelStatementsTests.cs (60)
50Assert.False(entryPoint.CanBeReferencedByName); 80Assert.False(entryPoint.ReturnsVoid); 478Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 530Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 570Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 694Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 707Assert.False(local.ContainingSymbol.IsImplicitlyDeclared); 710Assert.False(local.ContainingSymbol.ContainingSymbol.IsImplicitlyDeclared); 867Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 981Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 1036Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 1403Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 1421Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 1681Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 1704Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 1854Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 1877Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 2080Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 2244Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 2422Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 2914Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 3937Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 3952Assert.False(symbols.Any(s => s.Kind == SymbolKind.Parameter)); 4086Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 4101Assert.False(symbols.Any(s => s.Kind == SymbolKind.Parameter)); 4136Assert.False(symbols.Any(s => s.Kind == SymbolKind.Parameter)); 4141Assert.False(symbols.Any(s => s.Kind == SymbolKind.Parameter)); 4211Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 4224Assert.False(local.ContainingSymbol.IsImplicitlyDeclared); 4226Assert.False(local.ContainingSymbol.ContainingSymbol.IsImplicitlyDeclared); 4506Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 4570Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 4619Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 4889Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 4902Assert.False(label.ContainingSymbol.IsImplicitlyDeclared); 4904Assert.False(label.ContainingSymbol.ContainingSymbol.IsImplicitlyDeclared); 4946Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 4974Assert.False(IsNullableAnalysisEnabled(comp)); // To make sure we test incremental binding for SemanticModel 4987Assert.False(label.ContainingSymbol.IsImplicitlyDeclared); 4989Assert.False(label.ContainingSymbol.ContainingSymbol.IsImplicitlyDeclared); 6184Assert.False(method.IsImplicitlyDeclared); 6460Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(globalStatement.Statement).IsEmpty); 6938Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(unit).IsEmpty); 7006Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(unit).IsEmpty); 7092Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(node).IsEmpty); 7492Assert.False(entryPoint.ReturnsVoid); 7514Assert.False(entryPoint.ReturnsVoid); 7552Assert.False(entryPoint.ReturnsVoid); 7579Assert.False(entryPoint.ReturnsVoid); 7673Assert.False(entryPoint.ReturnsVoid); 7720Assert.False(entryPoint.ReturnsVoid); 7789Assert.False(entryPoint.ReturnsVoid); 7854Assert.False(entryPoint.ReturnsVoid); 7953Assert.False(entryPoint.ReturnsVoid); 7975Assert.False(entryPoint.ReturnsVoid); 8032Assert.False(entryPoint.ReturnsVoid); 8052Assert.False(entryPoint.ReturnsVoid); 9053Assert.False(entryPoint.CanBeReferencedByName); 9108Assert.False(entryPoint.CanBeReferencedByName); 9150Assert.False(entryPoint.CanBeReferencedByName);
Semantics\UnsafeTests.cs (27)
6311Assert.False(getLocalType("s3").IsUnmanagedType); 6313Assert.False(getLocalType("s4_1").IsUnmanagedType); 6318Assert.False(getLocalType("o1").IsUnmanagedType); 6319Assert.False(getLocalType("c1").IsUnmanagedType); 6320Assert.False(getLocalType("t1").IsUnmanagedType); 6323Assert.False(getLocalType("a1").IsUnmanagedType); 6324Assert.False(getLocalType("a2").IsUnmanagedType); 6383Assert.False(getLocalType("bad").IsUnmanagedType); 6384Assert.False(getLocalType("bad2").IsUnmanagedType); 8887Assert.False(summary.IsCompileTimeConstant); 8888Assert.False(summary.ConstantValue.HasValue); 8922Assert.False(summary.IsCompileTimeConstant); 8923Assert.False(summary.ConstantValue.HasValue); 9349Assert.False(summary.IsCompileTimeConstant); 9350Assert.False(summary.ConstantValue.HasValue); 10641Assert.False(typeSummary.IsCompileTimeConstant); 10642Assert.False(typeSummary.ConstantValue.HasValue); 10703Assert.False(typeSummary.IsCompileTimeConstant); 10704Assert.False(typeSummary.ConstantValue.HasValue); 10763Assert.False(typeSummary.IsCompileTimeConstant); 10764Assert.False(typeSummary.ConstantValue.HasValue); 10776Assert.False(sizeOfSummary.IsCompileTimeConstant); 10777Assert.False(sizeOfSummary.ConstantValue.HasValue); 11319Assert.False(stackAllocSummary.IsCompileTimeConstant); 11320Assert.False(stackAllocSummary.ConstantValue.HasValue); 11331Assert.False(typeSummary.IsCompileTimeConstant); 11332Assert.False(typeSummary.ConstantValue.HasValue);
Semantics\Utf8StringsLiteralsTests.cs (6)
640Assert.False(type.IsSZArray); 2979Assert.False(model.GetConversion(node).Exists); 3035Assert.False(model.GetConversion(node).Exists); 3091Assert.False(model.GetConversion(node).Exists); 3147Assert.False(model.GetConversion(node).Exists); 3203Assert.False(model.GetConversion(node).Exists);
SourceGeneration\GeneratorDriverTests.cs (5)
1144Assert.False(tree.TryGetRoot(out _)); 4043Assert.False(gen1Called); // Generator 1 did not re-run 4395Assert.False(initWasCalled); 4411Assert.False(stepRan); 4422Assert.False(stepRan);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (16)
124Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttributeWithMetadataName")); 971Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttributeWithMetadataName")); 1007Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttributeWithMetadataName")); 1438Assert.False(runResult.TrackedSteps.ContainsKey("individualFileGlobalAliases_ForAttribute")); 1485Assert.False(runResult.TrackedSteps.ContainsKey("individualFileGlobalAliases_ForAttribute")); 1531Assert.False(runResult.TrackedSteps.ContainsKey("individualFileGlobalAliases_ForAttribute")); 1565Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttributeWithMetadataName")); 1577Assert.False(runResult.TrackedSteps.ContainsKey("individualFileGlobalAliases_ForAttribute")); 1613Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttributeWithMetadataName")); 1627Assert.False(runResult.TrackedSteps.ContainsKey("individualFileGlobalAliases_ForAttribute")); 1666Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttributeWithMetadataName")); 1679Assert.False(runResult.TrackedSteps.ContainsKey("individualFileGlobalAliases_ForAttribute")); 1725Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttributeWithMetadataName")); 1742Assert.False(runResult.TrackedSteps.ContainsKey("individualFileGlobalAliases_ForAttribute")); 1777Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttributeWithMetadataName")); 1790Assert.False(runResult.TrackedSteps.ContainsKey("individualFileGlobalAliases_ForAttribute"));
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (19)
111Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 136Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 225Assert.False(step.Outputs.Any(o => o.Value is ClassDeclarationSyntax { Identifier.ValueText: "D" })); 256Assert.False(step.Outputs.Any(o => o.Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 487Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 514Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 642Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 670Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 698Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 726Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 753Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 780Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 899Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 927Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 1026Assert.False(runResult.TrackedSteps.ContainsKey("individualFileGlobalAliases_ForAttribute")); 1066Assert.False(runResult.TrackedSteps.ContainsKey("individualFileGlobalAliases_ForAttribute")); 1206Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 1420Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute")); 1465Assert.False(runResult.TrackedSteps.ContainsKey("result_ForAttribute"));
Utilities\ValueSetTests.cs (26)
359Assert.False(neg.Any(GreaterThan, double.MaxValue)); 367Assert.False(mi.Any(GreaterThan, 0.0)); 369Assert.False(mi.Any(GreaterThanOrEqual, 0.0)); 373Assert.False(i.Any(LessThan, 0.0)); 375Assert.False(i.Any(LessThanOrEqual, 0.0)); 388Assert.False(intersect.Any(Equal, "c")); 582Assert.False(ForDecimal.Related(LessThan, d).Any(Equal, d)); 584Assert.False(ForDecimal.Related(GreaterThan, d).Any(Equal, d)); 632Assert.False(s1.Any(Equal, value)); 634Assert.False(s2.Any(LessThan, value)); 636Assert.False(s1.Any(GreaterThanOrEqual, value)); 643Assert.False(s1.Any(Equal, value)); 645Assert.False(s2.Any(GreaterThan, value)); 647Assert.False(s1.Any(LessThanOrEqual, value)); 723Assert.False(s1.Any(LessThan, i)); 724Assert.False(s1.Any(LessThan, i - 1)); 727Assert.False(s1.Any(LessThanOrEqual, i - 1)); 728Assert.False(s1.Any(GreaterThan, i + 1)); 729Assert.False(s1.Any(GreaterThan, i)); 731Assert.False(s1.Any(GreaterThanOrEqual, i + 1)); 745Assert.False(s1.Any(LessThan, j)); 746Assert.False(s1.Any(LessThan, j - 1)); 749Assert.False(s1.Any(LessThanOrEqual, j - 1)); 750Assert.False(s1.Any(GreaterThan, j + 1)); 751Assert.False(s1.Any(GreaterThan, j)); 753Assert.False(s1.Any(GreaterThanOrEqual, j + 1));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2551)
Compilation\CompilationAPITests.cs (36)
420Assert.False(result.Success); 805Assert.False(comp.SyntaxTrees.Contains(SyntaxFactory.ParseSyntaxTree(s1))); 1499Assert.False(comp.SyntaxTrees.Contains(null)); 1979Assert.False(c1.ReferenceManagerEquals(c2)); 1984Assert.False(c1.ReferenceManagerEquals(c2)); 1987Assert.False(c1.ReferenceManagerEquals(c2)); 1990Assert.False(c1.ReferenceManagerEquals(c2)); 2003Assert.False(c1.ReferenceManagerEquals(c2)); 2015Assert.False(c1.ReferenceManagerEquals(c2)); 2027Assert.False(c1.ReferenceManagerEquals(c2)); 2033Assert.False(c1.ReferenceManagerEquals(c4)); 2045Assert.False(c1.ReferenceManagerEquals(c2)); 2048Assert.False(c3.ReferenceManagerEquals(c2)); 2051Assert.False(c3.ReferenceManagerEquals(c2)); 2054Assert.False(c3.ReferenceManagerEquals(c2)); 2057Assert.False(c3.ReferenceManagerEquals(c2)); 2060Assert.False(c3.ReferenceManagerEquals(c2)); 2094Assert.False(a.ReferenceManagerEquals(ar)); 2105Assert.False(arc.ReferenceManagerEquals(c)); 2111Assert.False(arc.ReferenceManagerEquals(none2)); 2119Assert.False(arc.ReferenceManagerEquals(asc)); 2125Assert.False(arc.ReferenceManagerEquals(abc)); 2128Assert.False(arc.ReferenceManagerEquals(ars)); 2154Assert.False(c5.ReferenceManagerEquals(c4)); 2160Assert.False(c7.ReferenceManagerEquals(c6)); 2163Assert.False(c8.ReferenceManagerEquals(c7)); 2430Assert.False(CSharpCompilation.CreateScriptCompilation("sub").HasSubmissionResult()); 2432Assert.False(CreateSubmission("1;", parseOptions: TestOptions.Script).HasSubmissionResult()); 2433Assert.False(CreateSubmission("void goo() { }", parseOptions: TestOptions.Script).HasSubmissionResult()); 2434Assert.False(CreateSubmission("using System;", parseOptions: TestOptions.Script).HasSubmissionResult()); 2435Assert.False(CreateSubmission("int i;", parseOptions: TestOptions.Script).HasSubmissionResult()); 2436Assert.False(CreateSubmission("System.Console.WriteLine();", parseOptions: TestOptions.Script).HasSubmissionResult()); 2437Assert.False(CreateSubmission("System.Console.WriteLine()", parseOptions: TestOptions.Script).HasSubmissionResult()); 3187Assert.False(script.HasSubmissionResult()); 3215Assert.False(script.HasSubmissionResult()); 3312Assert.False(script.HasSubmissionResult());
Compilation\CSharpCompilationOptionsTests.cs (1)
61Assert.False(newOpt1.Equals(oldOptions));
Compilation\GetSemanticInfoBrokenCodeTests.cs (2)
186Assert.False(member.IsImplicitlyDeclared); 188Assert.False(member.IsImplicitlyDeclared);
Compilation\GetSemanticInfoTests.cs (51)
671Assert.False(conv.Exists); 672Assert.False(conv.IsImplicit); 673Assert.False(conv.IsExplicit); 678Assert.False(conv.IsExplicit); 684Assert.False(conv.IsExplicit); 690Assert.False(conv.IsExplicit); 696Assert.False(conv.IsExplicit); 702Assert.False(conv.IsExplicit); 708Assert.False(conv.IsExplicit); 714Assert.False(conv.IsExplicit); 720Assert.False(conv.IsExplicit); 726Assert.False(conv.IsImplicit); 732Assert.False(conv.IsExplicit); 738Assert.False(conv.IsExplicit); 744Assert.False(conv.IsExplicit); 750Assert.False(conv.IsExplicit); 755Assert.False(conv.IsImplicit); 761Assert.False(conv.IsImplicit); 767Assert.False(conv.IsImplicit); 773Assert.False(conv.IsImplicit); 779Assert.False(conv.IsImplicit); 785Assert.False(conv.IsImplicit); 792Assert.False(conv.IsExplicit); 793Assert.False(conv.IsUserDefined); 799Assert.False(conv.IsExplicit); 800Assert.False(conv.IsUserDefined); 805Assert.False(conv.IsImplicit); 807Assert.False(conv.IsUserDefined); 812Assert.False(conv.IsImplicit); 814Assert.False(conv.IsUserDefined); 819Assert.False(conv.IsImplicit); 821Assert.False(conv.IsUserDefined); 826Assert.False(conv.IsImplicit); 828Assert.False(conv.IsUserDefined); 829Assert.False(conv.IsPointer); 1427Assert.False(bindInfo.IsCompileTimeConstant); 1468Assert.False(bindInfo.IsCompileTimeConstant); 1502Assert.False(bindInfo.IsCompileTimeConstant); 2737Assert.False(model.GetConstantValue(expr).HasValue); 2808Assert.False(model.GetConstantValue(expr).HasValue); 3295Assert.False(sawWrongConversionKind); 3479Assert.False(argConversion.IsValid); 4298Assert.False(info.ConstantValue.HasValue); 4301Assert.False(info.IsCompileTimeConstant); 4789Assert.False(lambda.ReturnsVoid); 4832Assert.False(methodSymbol.ReturnsVoid); 4958Assert.False(symbolInfo.Symbol.Equals(null)); 5406Assert.False(type.IsGenericType); 5412Assert.False(type.IsGenericType); 5993Assert.False(foreachSymbolInfo.CurrentConversion.IsImplicit); 6047Assert.False(symbol.IsReferenceType);
Compilation\ReferenceManagerTests.cs (4)
910Assert.False(dr1.Properties.EmbedInteropTypes); 911Assert.False(dr2.Properties.EmbedInteropTypes); 912Assert.False(dr3.Properties.EmbedInteropTypes); 1458Assert.False(withCircularReference1.ReferenceManagerEquals(withCircularReference2));
Compilation\SemanticModelAPITests.cs (24)
338Assert.False(ReferenceEquals(symbol1, symbol2)); 1414Assert.False(model.IsSpeculativeSemanticModel); 1468Assert.False(speculativeModel.IgnoresAccessibility); 1673Assert.False(model.IsSpeculativeSemanticModel); 2020Assert.False(model.IsSpeculativeSemanticModel); 2147Assert.False(success); 2321Assert.False(success); 2698Assert.False(model.IsSpeculativeSemanticModel); 2706Assert.False(speculativeModel.IgnoresAccessibility); 3095Assert.False(success); 3098Assert.False(success); 3924Assert.False(value1.HasValue); 3931Assert.False(value2.HasValue); 4110Assert.False(model.GetConstantValue(actual[1]).HasValue); 4151Assert.False(model.GetConstantValue(actual[2]).HasValue); 4191Assert.False(model.GetConstantValue(actual[1]).HasValue); 4286Assert.False(model.GetConstantValue(actual[2]).HasValue); 4383Assert.False(semanticModel.IsAccessible(positionInN, fieldY)); 4384Assert.False(semanticModel.IsAccessible(positionInN, fieldZ)); 4392Assert.False(semanticModel.IsAccessible(positionInCGoo, fieldY)); 4393Assert.False(semanticModel.IsAccessible(positionInCGoo, fieldZ)); 4510Assert.False(symbolInfo.IsEmpty); 4588Assert.False(symbolInfo.IsEmpty); 4606Assert.False(alias1.Equals(alias2));
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (6)
4672Assert.False(model.IsEventUsableAsField(enclosingTypePosition, fieldLikeEvent)); 4675Assert.False(model.IsEventUsableAsField(otherTypePosition, fieldLikeEvent)); 4677Assert.False(model.IsEventUsableAsField(enclosingTypePosition, customEvent)); 4678Assert.False(model.IsEventUsableAsField(declaringTypePosition, customEvent)); 4679Assert.False(model.IsEventUsableAsField(nestedTypePosition, customEvent)); 4680Assert.False(model.IsEventUsableAsField(otherTypePosition, customEvent));
Compilation\SemanticModelGetSemanticInfoTests.cs (305)
65Assert.False(semanticInfo.IsCompileTimeConstant); 96Assert.False(semanticInfo.IsCompileTimeConstant); 130Assert.False(semanticInfo.IsCompileTimeConstant); 164Assert.False(semanticInfo.IsCompileTimeConstant); 205Assert.False(semanticInfo.IsCompileTimeConstant); 246Assert.False(semanticInfo.IsCompileTimeConstant); 286Assert.False(semanticInfo.IsCompileTimeConstant); 323Assert.False(semanticInfo.IsCompileTimeConstant); 476Assert.False(semanticInfo.IsCompileTimeConstant); 516Assert.False(semanticInfo.IsCompileTimeConstant); 561Assert.False(semanticInfo.IsCompileTimeConstant); 609Assert.False(semanticInfo.IsCompileTimeConstant); 657Assert.False(semanticInfo.IsCompileTimeConstant); 710Assert.False(semanticInfo.IsCompileTimeConstant); 740Assert.False(semanticInfo.IsCompileTimeConstant); 774Assert.False(semanticInfo.IsCompileTimeConstant); 811Assert.False(semanticInfo.IsCompileTimeConstant); 1654Assert.False(semanticInfo.IsCompileTimeConstant); 1698Assert.False(semanticInfo.IsCompileTimeConstant); 1730Assert.False(semanticInfo.IsCompileTimeConstant); 1789Assert.False(semanticInfo.IsCompileTimeConstant); 1908Assert.False(semanticInfo.IsCompileTimeConstant); 1937Assert.False(semanticInfo.IsCompileTimeConstant); 1967Assert.False(semanticInfo.IsCompileTimeConstant); 1997Assert.False(semanticInfo.IsCompileTimeConstant); 2027Assert.False(semanticInfo.IsCompileTimeConstant); 2059Assert.False(semanticInfo.IsCompileTimeConstant); 2091Assert.False(semanticInfo.IsCompileTimeConstant); 2129Assert.False(semanticInfo.IsCompileTimeConstant); 2162Assert.False(semanticInfo.IsCompileTimeConstant); 2202Assert.False(semanticInfo.IsCompileTimeConstant); 2229Assert.False(semanticInfo.IsCompileTimeConstant); 2274Assert.False(semanticInfo.IsCompileTimeConstant); 2309Assert.False(semanticInfo.IsCompileTimeConstant); 2359Assert.False(semanticInfo.IsCompileTimeConstant); 2405Assert.False(semanticInfo.IsCompileTimeConstant); 2448Assert.False(semanticInfo.IsCompileTimeConstant); 2503Assert.False(semanticInfo.IsCompileTimeConstant); 2555Assert.False(semanticInfo.IsCompileTimeConstant); 2588Assert.False(semanticInfo.IsCompileTimeConstant); 2623Assert.False(semanticInfo.IsCompileTimeConstant); 2663Assert.False(semanticInfo.IsCompileTimeConstant); 2706Assert.False(semanticInfo.IsCompileTimeConstant); 2750Assert.False(semanticInfo.IsCompileTimeConstant); 2800Assert.False(semanticInfo.IsCompileTimeConstant); 2843Assert.False(semanticInfo.IsCompileTimeConstant); 2881Assert.False(semanticInfo.IsCompileTimeConstant); 2920Assert.False(semanticInfo.IsCompileTimeConstant); 3083Assert.False(semanticInfo.IsCompileTimeConstant); 3128Assert.False(semanticInfo.IsCompileTimeConstant); 3170Assert.False(semanticInfo.IsCompileTimeConstant); 3213Assert.False(semanticInfo.IsCompileTimeConstant); 3258Assert.False(semanticInfo.IsCompileTimeConstant); 3297Assert.False(semanticInfo.IsCompileTimeConstant); 3333Assert.False(semanticInfo.IsCompileTimeConstant); 3370Assert.False(semanticInfo.IsCompileTimeConstant); 3405Assert.False(semanticInfo.IsCompileTimeConstant); 3436Assert.False(semanticInfo.IsCompileTimeConstant); 3503Assert.False(semanticInfo.IsCompileTimeConstant); 3537Assert.False(semanticInfo.IsCompileTimeConstant); 3566Assert.False(semanticInfo.IsCompileTimeConstant); 3600Assert.False(semanticInfo.IsCompileTimeConstant); 3638Assert.False(semanticInfo.IsCompileTimeConstant); 3682Assert.False(semanticInfo.IsCompileTimeConstant); 3716Assert.False(semanticInfo.IsCompileTimeConstant); 3750Assert.False(semanticInfo.IsCompileTimeConstant); 3784Assert.False(semanticInfo.IsCompileTimeConstant); 3814Assert.False(semanticInfo.IsCompileTimeConstant); 3848Assert.False(semanticInfo.IsCompileTimeConstant); 3876Assert.False(semanticInfo.IsCompileTimeConstant); 3910Assert.False(semanticInfo.IsCompileTimeConstant); 3983Assert.False(semanticInfo.IsCompileTimeConstant); 4018Assert.False(semanticInfo.IsCompileTimeConstant); 4049Assert.False(semanticInfo.IsCompileTimeConstant); 4084Assert.False(semanticInfo.IsCompileTimeConstant); 4117Assert.False(semanticInfo.IsCompileTimeConstant); 4146Assert.False(semanticInfo.IsCompileTimeConstant); 4170Assert.False(semanticInfo.IsCompileTimeConstant); 4196Assert.False(semanticInfo.IsCompileTimeConstant); 4227Assert.False(semanticInfo.IsCompileTimeConstant); 4259Assert.False(semanticInfo.IsCompileTimeConstant); 4296Assert.False(semanticInfo.IsCompileTimeConstant); 4329Assert.False(semanticInfo.IsCompileTimeConstant); 4383Assert.False(semanticInfo.IsCompileTimeConstant); 4420Assert.False(semanticInfo.IsCompileTimeConstant); 4458Assert.False(semanticInfo.IsCompileTimeConstant); 4485Assert.False(semanticInfo.IsCompileTimeConstant); 4586Assert.False(symbol.IsForEach); 4587Assert.False(symbol.IsUsing); 4654Assert.False(semanticInfo.IsCompileTimeConstant); 4722Assert.False(semanticInfo.IsCompileTimeConstant); 4728Assert.False(symbol.HasConstantValue); 4758Assert.False(semanticInfo.IsCompileTimeConstant); 4764Assert.False(symbol.HasConstantValue); 4794Assert.False(semanticInfo.IsCompileTimeConstant); 4800Assert.False(symbol.HasConstantValue); 4862Assert.False(semanticInfo.IsCompileTimeConstant); 4890Assert.False(semanticInfo.IsCompileTimeConstant); 4936Assert.False(semanticInfo.IsCompileTimeConstant); 4989Assert.False(semanticInfo.IsCompileTimeConstant); 5041Assert.False(semanticInfo.IsCompileTimeConstant); 5078Assert.False(semanticInfo.IsCompileTimeConstant); 5125Assert.False(semanticInfo.IsCompileTimeConstant); 5171Assert.False(semanticInfo.IsCompileTimeConstant); 5213Assert.False(semanticInfo.IsCompileTimeConstant); 5250Assert.False(semanticInfo.IsCompileTimeConstant); 5292Assert.False(semanticInfo.IsCompileTimeConstant); 5334Assert.False(semanticInfo.IsCompileTimeConstant); 5419Assert.False(semanticInfo.IsCompileTimeConstant); 5462Assert.False(semanticInfo.IsCompileTimeConstant); 5491Assert.False(semanticInfo.IsCompileTimeConstant); 5520Assert.False(semanticInfo.IsCompileTimeConstant); 5553Assert.False(semanticInfo.IsCompileTimeConstant); 5673Assert.False(semanticInfo.IsCompileTimeConstant); 5709Assert.False(semanticInfo.IsCompileTimeConstant); 5739Assert.False(semanticInfo.IsCompileTimeConstant); 5806Assert.False(semanticInfo.IsCompileTimeConstant); 5873Assert.False(semanticInfo.IsCompileTimeConstant); 5942Assert.False(semanticInfo.IsCompileTimeConstant); 6009Assert.False(semanticInfo.IsCompileTimeConstant); 6102Assert.False(semanticInfo.IsCompileTimeConstant); 6128Assert.False(semanticInfo.IsCompileTimeConstant); 6155Assert.False(semanticInfo.IsCompileTimeConstant); 6188Assert.False(semanticInfo.IsCompileTimeConstant); 6340Assert.False(semanticInfo.IsCompileTimeConstant); 6382Assert.False(semanticInfo.IsCompileTimeConstant); 6412Assert.False(semanticInfo.IsCompileTimeConstant); 6450Assert.False(semanticInfo.IsCompileTimeConstant); 6473Assert.False(semanticInfo.ImplicitConversion.IsExtensionMethod); 6530Assert.False(semanticInfo.IsCompileTimeConstant); 6565Assert.False(semanticInfo.IsCompileTimeConstant); 6602Assert.False(semanticInfo.IsCompileTimeConstant); 6652Assert.False(semanticInfo.IsCompileTimeConstant); 6690Assert.False(semanticInfo.IsCompileTimeConstant); 6740Assert.False(semanticInfo.IsCompileTimeConstant); 6760Assert.False(semanticInfo.IsCompileTimeConstant); 6886Assert.False(semanticInfo.IsCompileTimeConstant); 6931Assert.False(semanticInfo.IsCompileTimeConstant); 7058Assert.False(semanticInfo.IsCompileTimeConstant); 7091Assert.False(semanticInfo.IsCompileTimeConstant); 7119Assert.False(semanticInfo.IsCompileTimeConstant); 7150Assert.False(semanticInfo.IsCompileTimeConstant); 7180Assert.False(semanticInfo.IsCompileTimeConstant); 7212Assert.False(semanticInfo.IsCompileTimeConstant); 7244Assert.False(semanticInfo.IsCompileTimeConstant); 7273Assert.False(semanticInfo.IsCompileTimeConstant); 7300Assert.False(semanticInfo.IsCompileTimeConstant); 7327Assert.False(semanticInfo.IsCompileTimeConstant); 7383Assert.False(semanticInfo.IsCompileTimeConstant); 7436Assert.False(semanticInfo.IsCompileTimeConstant); 7464Assert.False(semanticInfo.IsCompileTimeConstant); 7487Assert.False(semanticInfo.ImplicitConversion.IsIdentity); 7531Assert.False(semanticInfo.IsCompileTimeConstant); 7563Assert.False(semanticInfo.IsCompileTimeConstant); 7601Assert.False(semanticInfo.IsCompileTimeConstant); 7634Assert.False(semanticInfo.IsCompileTimeConstant); 7671Assert.False(semanticInfo.IsCompileTimeConstant); 7829Assert.False(semanticInfo.IsCompileTimeConstant); 7862Assert.False(semanticInfo.IsCompileTimeConstant); 7894Assert.False(semanticInfo.IsCompileTimeConstant); 7928Assert.False(semanticInfo.IsCompileTimeConstant); 7960Assert.False(semanticInfo.IsCompileTimeConstant); 7994Assert.False(semanticInfo.IsCompileTimeConstant); 8031Assert.False(semanticInfo.IsCompileTimeConstant); 8048Assert.False(semanticInfo.IsCompileTimeConstant); 8084Assert.False(semanticInfo.IsCompileTimeConstant); 8101Assert.False(semanticInfo.IsCompileTimeConstant); 8385Assert.False(semanticInfo.IsCompileTimeConstant); 8419Assert.False(semanticInfo.IsCompileTimeConstant); 8616Assert.False(semanticInfo.IsCompileTimeConstant); 8655Assert.False(semanticInfo.IsCompileTimeConstant); 8697Assert.False(semanticInfo.IsCompileTimeConstant); 8904Assert.False(semanticInfo.IsCompileTimeConstant); 9075Assert.False(semanticInfo.IsCompileTimeConstant); 9137Assert.False(semanticInfo.IsCompileTimeConstant); 9212Assert.False((type as INamedTypeSymbol).IsUnboundGenericType); 9279Assert.False(constructedFrom.IsUnboundGenericType); 9289Assert.False(a.ConstructedFrom.IsUnboundGenericType); 9374Assert.False(semanticInfo.IsCompileTimeConstant); 9433Assert.False(semanticInfo.IsCompileTimeConstant); 9477Assert.False(semanticInfo.IsCompileTimeConstant); 9506Assert.False(semanticInfo.IsCompileTimeConstant); 9630Assert.False(semanticInfo.IsCompileTimeConstant); 9681Assert.False(semanticInfo.IsCompileTimeConstant); 9732Assert.False(semanticInfo.IsCompileTimeConstant); 9796Assert.False(semanticInfo.IsCompileTimeConstant); 9847Assert.False(semanticInfo.IsCompileTimeConstant); 9902Assert.False(semanticInfo.IsCompileTimeConstant); 9930Assert.False(semanticInfo.IsCompileTimeConstant); 9966Assert.False(semanticInfo.IsCompileTimeConstant); 10002Assert.False(semanticInfo.IsCompileTimeConstant); 10038Assert.False(semanticInfo.IsCompileTimeConstant); 10074Assert.False(semanticInfo.IsCompileTimeConstant); 10114Assert.False(semanticInfo.IsCompileTimeConstant); 10151Assert.False(semanticInfo.IsCompileTimeConstant); 10193Assert.False(semanticInfo.IsCompileTimeConstant); 10232Assert.False(semanticInfo.IsCompileTimeConstant); 10263Assert.False(semanticInfo.IsCompileTimeConstant); 10298Assert.False(semanticInfo.IsCompileTimeConstant); 10333Assert.False(semanticInfo.IsCompileTimeConstant); 10367Assert.False(semanticInfo.IsCompileTimeConstant); 10401Assert.False(semanticInfo.IsCompileTimeConstant); 10479Assert.False(semanticInfo.IsCompileTimeConstant); 10507Assert.False(semanticInfo.IsCompileTimeConstant); 10537Assert.False(semanticInfo.IsCompileTimeConstant); 10571Assert.False(semanticInfo.IsCompileTimeConstant); 10614Assert.False(semanticInfo.IsCompileTimeConstant); 10651Assert.False(semanticInfo.IsCompileTimeConstant); 10688Assert.False(semanticInfo.IsCompileTimeConstant); 10727Assert.False(semanticInfo.IsCompileTimeConstant); 10770Assert.False(semanticInfo.IsCompileTimeConstant); 10812Assert.False(semanticInfo.IsCompileTimeConstant); 10851Assert.False(semanticInfo.IsCompileTimeConstant); 10915Assert.False(semanticInfo.IsCompileTimeConstant); 11166Assert.False(semanticInfo.IsCompileTimeConstant); 11199Assert.False(semanticInfo.IsCompileTimeConstant); 11241Assert.False(semanticInfo.IsCompileTimeConstant); 11438Assert.False(semanticInfo.IsCompileTimeConstant); 11551Assert.False(semanticInfo.IsCompileTimeConstant); 11586Assert.False(semanticInfo.IsCompileTimeConstant); 11620Assert.False(semanticInfo.IsCompileTimeConstant); 11653Assert.False(aliasInfo.IsExtern); 11655Assert.False(semanticInfo.IsCompileTimeConstant); 11687Assert.False(aliasInfo.IsExtern); 11689Assert.False(semanticInfo.IsCompileTimeConstant); 11770Assert.False(semanticInfo.IsCompileTimeConstant); 11806Assert.False(semanticInfo.IsCompileTimeConstant); 11842Assert.False(semanticInfo.IsCompileTimeConstant); 11877Assert.False(semanticInfo.IsCompileTimeConstant); 11912Assert.False(semanticInfo.IsCompileTimeConstant); 11948Assert.False(semanticInfo.IsCompileTimeConstant); 11984Assert.False(semanticInfo.IsCompileTimeConstant); 12019Assert.False(semanticInfo.IsCompileTimeConstant); 12054Assert.False(semanticInfo.IsCompileTimeConstant); 12090Assert.False(semanticInfo.IsCompileTimeConstant); 12164Assert.False(semanticInfo.IsCompileTimeConstant); 12197Assert.False(semanticInfo.IsCompileTimeConstant); 12233Assert.False(semanticInfo.IsCompileTimeConstant); 12268Assert.False(semanticInfo.IsCompileTimeConstant); 12301Assert.False(semanticInfo.IsCompileTimeConstant); 12334Assert.False(semanticInfo.IsCompileTimeConstant); 12464Assert.False(semanticInfo.IsCompileTimeConstant); 12495Assert.False(semanticInfo.IsCompileTimeConstant); 12538Assert.False(semanticInfo.IsCompileTimeConstant); 12577Assert.False(semanticInfo.IsCompileTimeConstant); 12621Assert.False(semanticInfo.IsCompileTimeConstant); 12655Assert.False(semanticInfo.IsCompileTimeConstant); 12688Assert.False(semanticInfo.IsCompileTimeConstant); 12718Assert.False(semanticInfo.IsCompileTimeConstant); 12750Assert.False(semanticInfo.IsCompileTimeConstant); 12782Assert.False(semanticInfo.IsCompileTimeConstant); 12814Assert.False(semanticInfo.IsCompileTimeConstant); 12857Assert.False(semanticInfo.IsCompileTimeConstant); 12894Assert.False(semanticInfo.IsCompileTimeConstant); 12933Assert.False(semanticInfo.IsCompileTimeConstant); 12972Assert.False(semanticInfo.IsCompileTimeConstant); 13010Assert.False(semanticInfo.IsCompileTimeConstant); 13051Assert.False(semanticInfo.IsCompileTimeConstant); 13079Assert.False(semanticInfo.IsCompileTimeConstant); 13109Assert.False(semanticInfo.IsCompileTimeConstant); 13143Assert.False(semanticInfo.IsCompileTimeConstant); 13177Assert.False(semanticInfo.IsCompileTimeConstant); 13211Assert.False(semanticInfo.IsCompileTimeConstant); 13244Assert.False(semanticInfo.IsCompileTimeConstant); 13274Assert.False(semanticInfo.IsCompileTimeConstant); 13335Assert.False(semanticInfo.IsCompileTimeConstant); 13393Assert.False(semanticInfo.IsCompileTimeConstant); 13514Assert.False(semanticInfo.IsCompileTimeConstant); 13572Assert.False(semanticInfo.IsCompileTimeConstant); 13602Assert.False(semanticInfo.IsCompileTimeConstant); 13667Assert.False(semanticInfo.IsCompileTimeConstant); 13696Assert.False(semanticInfo.IsCompileTimeConstant); 13752Assert.False(semanticInfo.IsCompileTimeConstant); 13785Assert.False(semanticInfo.IsCompileTimeConstant); 13816Assert.False(semanticInfo.IsCompileTimeConstant); 13850Assert.False(semanticInfo.IsCompileTimeConstant); 13889Assert.False(semanticInfo.IsCompileTimeConstant); 13928Assert.False(semanticInfo.IsCompileTimeConstant); 13962Assert.False(semanticInfo.IsCompileTimeConstant); 13989Assert.False(semanticInfo.IsCompileTimeConstant); 14016Assert.False(semanticInfo.IsCompileTimeConstant); 14053Assert.False(semanticInfo.IsCompileTimeConstant); 14092Assert.False(semanticInfo.IsCompileTimeConstant); 14131Assert.False(semanticInfo.IsCompileTimeConstant); 14170Assert.False(semanticInfo.IsCompileTimeConstant); 14212Assert.False(semanticInfo.IsCompileTimeConstant); 14258Assert.False(semanticInfo.IsCompileTimeConstant); 14302Assert.False(semanticInfo.IsCompileTimeConstant); 14352Assert.False(semanticInfo.IsCompileTimeConstant); 14392Assert.False(semanticInfo.IsCompileTimeConstant); 14432Assert.False(semanticInfo.IsCompileTimeConstant); 14521Assert.False(semanticInfo.IsCompileTimeConstant); 14553Assert.False(semanticInfo.IsCompileTimeConstant); 14637Assert.False(semanticInfo.IsCompileTimeConstant); 14678Assert.False(semanticInfo.IsCompileTimeConstant); 15095Assert.False(semanticInfo.IsCompileTimeConstant); 15132Assert.False(semanticInfo.IsCompileTimeConstant); 15163Assert.False(semanticInfo.IsCompileTimeConstant); 15194Assert.False(semanticInfo.IsCompileTimeConstant); 15225Assert.False(semanticInfo.IsCompileTimeConstant); 15256Assert.False(semanticInfo.IsCompileTimeConstant); 15287Assert.False(semanticInfo.IsCompileTimeConstant); 15314Assert.False(semanticInfo.IsCompileTimeConstant); 15349Assert.False(semanticInfo.IsCompileTimeConstant); 15416Assert.False(semanticInfo.IsCompileTimeConstant);
Compilation\SemanticModelGetSemanticInfoTests_LateBound.cs (24)
45Assert.False(semanticInfo.IsCompileTimeConstant); 91Assert.False(semanticInfo.IsCompileTimeConstant); 122Assert.False(semanticInfo.IsCompileTimeConstant); 148Assert.False(semanticInfo.IsCompileTimeConstant); 174Assert.False(semanticInfo.IsCompileTimeConstant); 209Assert.False(semanticInfo.IsCompileTimeConstant); 233Assert.False(semanticInfo.IsCompileTimeConstant); 273Assert.False(semanticInfo.IsCompileTimeConstant); 296Assert.False(semanticInfo.IsCompileTimeConstant); 325Assert.False(semanticInfo.IsCompileTimeConstant); 354Assert.False(semanticInfo.IsCompileTimeConstant); 434Assert.False(semanticInfo.IsCompileTimeConstant); 525Assert.False(semanticInfo.IsCompileTimeConstant); 560Assert.False(semanticInfo.IsCompileTimeConstant); 594Assert.False(semanticInfo.IsCompileTimeConstant); 622Assert.False(semanticInfo.IsCompileTimeConstant); 659Assert.False(semanticInfo.IsCompileTimeConstant); 686Assert.False(semanticInfo.IsCompileTimeConstant); 722Assert.False(semanticInfo.IsCompileTimeConstant); 752Assert.False(semanticInfo.IsCompileTimeConstant); 778Assert.False(semanticInfo.IsCompileTimeConstant); 805Assert.False(semanticInfo.IsCompileTimeConstant); 833Assert.False(semanticInfo.IsCompileTimeConstant); 864Assert.False(semanticInfo.IsCompileTimeConstant);
DocumentationComments\CrefTests.cs (6)
1667Assert.False(actualWinner.IsDefinition); 1705Assert.False(actualWinner.IsDefinition); 3013Assert.False(actualTypeA.IsDefinition); 3025Assert.False(actualTypeB.IsDefinition); 3040Assert.False(actualMethod.IsDefinition); 5856Assert.False(symbol.IsDefinition);
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
3352Assert.False(XmlCharType.IsWhiteSpace(ch));
SymbolDisplay\SymbolDisplayTests.cs (15)
5047Assert.False(type is Symbol); 5048Assert.False(method is Symbol); 5049Assert.False(property is Symbol); 5050Assert.False(field is Symbol); 5051Assert.False(@event is Symbol); 5052Assert.False(@delegate is Symbol); 5053Assert.False(error is Symbol); 5316Assert.False(new FormattedSymbol(sA, f1).Equals((object)sA)); 5317Assert.False(new FormattedSymbol(sA, f1).Equals(null)); 5320Assert.False(new FormattedSymbol(sA, f1).Equals(new FormattedSymbol(sA, f2))); 5321Assert.False(new FormattedSymbol(sA, f1).Equals(new FormattedSymbol(sB, f1))); 5322Assert.False(new FormattedSymbol(sA, f1).Equals(new FormattedSymbol(sB, f2))); 5324Assert.False(new FormattedSymbol(sC, f1).Equals(new FormattedSymbol(sC.Construct(sA), f1))); 5327Assert.False(new FormattedSymbol(sA, new SymbolDisplayFormat()).Equals(new FormattedSymbol(sA, new SymbolDisplayFormat()))); 6855Assert.False(local.IsRef);
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (2)
326Assert.False(compilation.GetDiagnostics().Any()); 359Assert.False(compilation.GetDiagnostics().Any());
Symbols\AnonymousTypesSemanticsTests.cs (2)
81Assert.False(((INamedTypeSymbol)info0.Type).IsSerializable); 1989Assert.False(type.CanBeReferencedByName);
Symbols\AnonymousTypesSymbolTests.cs (13)
1026Assert.False(type.IsStatic); 1097Assert.False(property.IsAbstract); 1098Assert.False(property.IsIndexer); 1099Assert.False(property.IsOverride); 1101Assert.False(property.IsStatic); 1102Assert.False(property.IsSealed); 1103Assert.False(property.IsVirtual); 1104Assert.False(property.IsWriteOnly); 1127Assert.False(method.IsAbstract); 1129Assert.False(method.IsStatic); 1130Assert.False(method.IsSealed); 1131Assert.False(method.IsVararg); 1132Assert.False(method.IsVirtual);
Symbols\AssemblyAndNamespaceTests.cs (11)
39Assert.False(sym.IsStatic); 40Assert.False(sym.IsVirtual); 41Assert.False(sym.IsOverride); 42Assert.False(sym.IsAbstract); 43Assert.False(sym.IsSealed); 44Assert.False(sym.IsExtern); 66Assert.False(sym.IsStatic); 67Assert.False(sym.IsVirtual); 68Assert.False(sym.IsOverride); 69Assert.False(sym.IsAbstract); 70Assert.False(sym.IsSealed);
Symbols\CompilationCreationTests.cs (17)
2619Assert.False(HasSingleTypeOfKind(c, TypeKind.Struct, "System.Int32")); 2622Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Linq.Enumerable")); 2625Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Uri")); 2627Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Linq.Enumerable")); 2630Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Uri")); 2633Assert.False(HasSingleTypeOfKind(c, TypeKind.Struct, "System.Int32")); 3009Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.ByRefFields)); 3010Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)); 3011Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.NumericIntPtr)); 3012Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.UnmanagedSignatureCallingConvention)); 3013Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.VirtualStaticsInInterfaces)); 3014Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.DefaultImplementationsOfInterfaces)); 3017Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.ByRefFields)); 3019Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.NumericIntPtr)); 3021Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.VirtualStaticsInInterfaces)); 3025Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.ByRefFields)); 3027Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.NumericIntPtr));
Symbols\ConversionTests.cs (12)
246Assert.False(f1Type.Equals(f2Type)); 252Assert.False(f3Type.Equals(f4Type)); 255Assert.False(f4Type.Equals(f5Type, TypeCompareKind.AllIgnoreOptions)); 256Assert.False(f5Type.Equals(f4Type, TypeCompareKind.AllIgnoreOptions)); 258Assert.False(f6Type.Equals(f7Type)); 259Assert.False(f6Type.Equals(f8Type)); 260Assert.False(f7Type.Equals(f8Type)); 274Assert.False(f9Type.Equals(f10Type, TypeCompareKind.AllIgnoreOptions)); 275Assert.False(f10Type.Equals(f9Type, TypeCompareKind.AllIgnoreOptions)); 277Assert.False(g1Type.Equals(g2Type)); 409Assert.False(conversion.Exists); 421Assert.False(conversion.Exists);
Symbols\CorLibrary\CorTypes.cs (4)
97Assert.False(msCorLibRef.KeepLookingForDeclaredSpecialTypes); 126Assert.False(msCorLibRef.KeepLookingForDeclaredSpecialTypes); 172Assert.False(msCorLibRef.KeepLookingForDeclaredSpecialTypes); 224Assert.False(msCorLibRef.KeepLookingForDeclaredSpecialTypes);
Symbols\CovariantReturnTests.cs (11)
264Assert.False(method.IsVirtual); 322Assert.False(setMethod.IsMetadataNewSlot(ignoreInterfaceImplementationChanges: true)); 4359Assert.False(shouldWarn); 4600Assert.False(shouldWarn); 4648Assert.False(shouldWarn); 4696Assert.False(shouldWarn); 4759Assert.False(shouldWarn); 4822Assert.False(shouldWarn); 4879Assert.False(shouldWarn); 4943Assert.False(shouldWarn); 5007Assert.False(shouldWarn);
Symbols\CSharpCompilerFeatureRequiredTests.cs (14)
149Assert.False(onMethod!.HasUnsupportedMetadata); 153Assert.False(onMethodReturn!.HasUnsupportedMetadata); 157Assert.False(onParameter!.HasUnsupportedMetadata); 163Assert.False(onField!.HasUnsupportedMetadata); 167Assert.False(onProperty!.HasUnsupportedMetadata); 171Assert.False(onPropertyGetter!.HasUnsupportedMetadata); 178Assert.False(onPropertySetter!.HasUnsupportedMetadata); 185Assert.False(onEvent!.HasUnsupportedMetadata); 189Assert.False(onEventAdder!.HasUnsupportedMetadata); 196Assert.False(onEventRemover!.HasUnsupportedMetadata); 206Assert.False(onEnumMember!.HasUnsupportedMetadata); 214Assert.False(onMethodTypeParameter!.HasUnsupportedMetadata); 223Assert.False(onIndexedPropertyParameter!.HasUnsupportedMetadata); 228Assert.False(onThisParameterIndexer!.HasUnsupportedMetadata);
Symbols\CustomModifiersTests.cs (5)
297Assert.False(HasTypeArgumentsCustomModifiers(withoutModifiers)); 2485Assert.False(t1.Equals(t2, TypeCompareKind.ConsiderEverything)); 2486Assert.False(t2.Equals(t1, TypeCompareKind.ConsiderEverything)); 2487Assert.False(t1.Type.Equals(t2.Type)); 2488Assert.False(t2.Type.Equals(t1.Type));
Symbols\DefaultInterfaceImplementationTests.cs (873)
2128Assert.False(result.IsAbstract); 2691Assert.False(accessor.IsAbstract); 2694Assert.False(accessor.IsSealed); 2696Assert.False(accessor.IsExtern); 2697Assert.False(accessor.IsAsync); 2698Assert.False(accessor.IsOverride); 5898Assert.False(p1.IsAbstract); 5899Assert.False(p3.IsAbstract); 5900Assert.False(p5.IsAbstract); 5901Assert.False(p7.IsAbstract); 6411Assert.False(accessor.IsAbstract); 6414Assert.False(accessor.IsSealed); 6416Assert.False(accessor.IsExtern); 6417Assert.False(accessor.IsAsync); 6418Assert.False(accessor.IsOverride); 9367Assert.False(m1.IsVirtual); 9369Assert.False(m1.IsSealed); 9371Assert.False(m1.IsExtern); 9372Assert.False(m1.IsAsync); 9373Assert.False(m1.IsOverride); 10904Assert.False(m1.IsAbstract); 10907Assert.False(m1.IsSealed); 10908Assert.False(m1.IsStatic); 10909Assert.False(m1.IsExtern); 10910Assert.False(m1.IsAsync); 10911Assert.False(m1.IsOverride); 12661Assert.False(m1.IsAbstract); 12664Assert.False(m1.IsSealed); 12665Assert.False(m1.IsStatic); 12666Assert.False(m1.IsExtern); 12667Assert.False(m1.IsAsync); 12668Assert.False(m1.IsOverride); 12749Assert.False(m1.IsAbstract); 12752Assert.False(m1.IsSealed); 12753Assert.False(m1.IsStatic); 12754Assert.False(m1.IsExtern); 12755Assert.False(m1.IsAsync); 12756Assert.False(m1.IsOverride); 12837Assert.False(m1.IsAbstract); 12840Assert.False(m1.IsSealed); 12841Assert.False(m1.IsStatic); 12842Assert.False(m1.IsExtern); 12843Assert.False(m1.IsAsync); 12844Assert.False(m1.IsOverride); 13132Assert.False(accessor.IsVirtual); 13134Assert.False(accessor.IsSealed); 13135Assert.False(accessor.IsStatic); 13136Assert.False(accessor.IsExtern); 13137Assert.False(accessor.IsAsync); 13138Assert.False(accessor.IsOverride); 13345Assert.False(accessor.IsAbstract); 13348Assert.False(accessor.IsSealed); 13349Assert.False(accessor.IsStatic); 13351Assert.False(accessor.IsAsync); 13352Assert.False(accessor.IsOverride); 13371Assert.False(accessor.IsVirtual); 13373Assert.False(accessor.IsSealed); 13374Assert.False(accessor.IsStatic); 13375Assert.False(accessor.IsExtern); 13376Assert.False(accessor.IsAsync); 13377Assert.False(accessor.IsOverride); 13396Assert.False(accessor.IsVirtual); 13398Assert.False(accessor.IsSealed); 13399Assert.False(accessor.IsStatic); 13400Assert.False(accessor.IsExtern); 13401Assert.False(accessor.IsAsync); 13402Assert.False(accessor.IsOverride); 13421Assert.False(accessor.IsVirtual); 13423Assert.False(accessor.IsSealed); 13424Assert.False(accessor.IsStatic); 13425Assert.False(accessor.IsExtern); 13426Assert.False(accessor.IsAsync); 13427Assert.False(accessor.IsOverride); 13446Assert.False(accessor.IsVirtual); 13448Assert.False(accessor.IsSealed); 13449Assert.False(accessor.IsStatic); 13450Assert.False(accessor.IsExtern); 13451Assert.False(accessor.IsAsync); 13452Assert.False(accessor.IsOverride); 13471Assert.False(accessor.IsVirtual); 13473Assert.False(accessor.IsSealed); 13474Assert.False(accessor.IsStatic); 13475Assert.False(accessor.IsExtern); 13476Assert.False(accessor.IsAsync); 13477Assert.False(accessor.IsOverride); 14012Assert.False(p1.IsVirtual); 14013Assert.False(p1.IsSealed); 14014Assert.False(p1.IsStatic); 14015Assert.False(p1.IsExtern); 14016Assert.False(p1.IsOverride); 14026Assert.False(accessor.IsVirtual); 14028Assert.False(accessor.IsSealed); 14029Assert.False(accessor.IsStatic); 14030Assert.False(accessor.IsExtern); 14031Assert.False(accessor.IsAsync); 14032Assert.False(accessor.IsOverride); 14099Assert.False(accessor.IsVirtual); 14101Assert.False(accessor.IsSealed); 14102Assert.False(accessor.IsStatic); 14103Assert.False(accessor.IsExtern); 14104Assert.False(accessor.IsAsync); 14105Assert.False(accessor.IsOverride); 14317Assert.False(accessor.IsAbstract); 14318Assert.False(accessor.IsVirtual); 14319Assert.False(accessor.IsMetadataVirtual()); 14320Assert.False(accessor.IsSealed); 14322Assert.False(accessor.IsExtern); 14323Assert.False(accessor.IsAsync); 14324Assert.False(accessor.IsOverride); 14636Assert.False(p1.IsAbstract); 14637Assert.False(p1.IsVirtual); 14638Assert.False(p1.IsSealed); 14639Assert.False(p1.IsStatic); 14640Assert.False(p1.IsExtern); 14641Assert.False(p1.IsOverride); 14666Assert.False(accessor.IsAbstract); 14667Assert.False(accessor.IsVirtual); 14668Assert.False(accessor.IsMetadataVirtual()); 14669Assert.False(accessor.IsSealed); 14670Assert.False(accessor.IsStatic); 14671Assert.False(accessor.IsExtern); 14672Assert.False(accessor.IsAsync); 14673Assert.False(accessor.IsOverride); 14741Assert.False(p1.IsVirtual); 14742Assert.False(p1.IsSealed); 14743Assert.False(p1.IsStatic); 14744Assert.False(p1.IsExtern); 14745Assert.False(p1.IsOverride); 14750Assert.False(p1get.IsVirtual); 14752Assert.False(p1get.IsSealed); 14753Assert.False(p1get.IsStatic); 14754Assert.False(p1get.IsExtern); 14755Assert.False(p1get.IsAsync); 14756Assert.False(p1get.IsOverride); 14763Assert.False(p2.IsAbstract); 14765Assert.False(p2.IsSealed); 14766Assert.False(p2.IsStatic); 14767Assert.False(p2.IsExtern); 14768Assert.False(p2.IsOverride); 14772Assert.False(p2get.IsAbstract); 14775Assert.False(p2get.IsSealed); 14776Assert.False(p2get.IsStatic); 14777Assert.False(p2get.IsExtern); 14778Assert.False(p2get.IsAsync); 14779Assert.False(p2get.IsOverride); 14785Assert.False(p3.IsAbstract); 14786Assert.False(p3.IsVirtual); 14788Assert.False(p3.IsStatic); 14789Assert.False(p3.IsExtern); 14790Assert.False(p3.IsOverride); 14798Assert.False(accessor.IsAbstract); 14799Assert.False(accessor.IsVirtual); 14800Assert.False(accessor.IsMetadataVirtual()); 14802Assert.False(accessor.IsStatic); 14803Assert.False(accessor.IsExtern); 14804Assert.False(accessor.IsAsync); 14805Assert.False(accessor.IsOverride); 14813Assert.False(p4.IsAbstract); 14814Assert.False(p4.IsVirtual); 14815Assert.False(p4.IsSealed); 14816Assert.False(p4.IsStatic); 14817Assert.False(p4.IsExtern); 14818Assert.False(p4.IsOverride); 14822Assert.False(p4get.IsAbstract); 14823Assert.False(p4get.IsVirtual); 14824Assert.False(p4get.IsMetadataVirtual()); 14825Assert.False(p4get.IsSealed); 14826Assert.False(p4get.IsStatic); 14827Assert.False(p4get.IsExtern); 14828Assert.False(p4get.IsAsync); 14829Assert.False(p4get.IsOverride); 15015Assert.False(p1.IsVirtual); 15016Assert.False(p1.IsSealed); 15017Assert.False(p1.IsStatic); 15018Assert.False(p1.IsExtern); 15019Assert.False(p1.IsOverride); 15026Assert.False(m1.IsVirtual); 15028Assert.False(m1.IsSealed); 15029Assert.False(m1.IsStatic); 15030Assert.False(m1.IsExtern); 15031Assert.False(m1.IsAsync); 15032Assert.False(m1.IsOverride); 16188Assert.False(p1.IsAbstract); 16189Assert.False(p1.IsVirtual); 16190Assert.False(p1.IsSealed); 16191Assert.False(p1.IsStatic); 16192Assert.False(p1.IsExtern); 16193Assert.False(p1.IsOverride); 16218Assert.False(accessor.IsAbstract); 16219Assert.False(accessor.IsVirtual); 16220Assert.False(accessor.IsMetadataVirtual()); 16221Assert.False(accessor.IsSealed); 16222Assert.False(accessor.IsStatic); 16223Assert.False(accessor.IsExtern); 16224Assert.False(accessor.IsAsync); 16225Assert.False(accessor.IsOverride); 16318Assert.False(p1.IsAbstract); 16319Assert.False(p1.IsVirtual); 16320Assert.False(p1.IsSealed); 16321Assert.False(p1.IsStatic); 16322Assert.False(p1.IsExtern); 16323Assert.False(p1.IsOverride); 16328Assert.False(p1get.IsAbstract); 16329Assert.False(p1get.IsVirtual); 16330Assert.False(p1get.IsMetadataVirtual()); 16331Assert.False(p1get.IsSealed); 16332Assert.False(p1get.IsStatic); 16333Assert.False(p1get.IsExtern); 16334Assert.False(p1get.IsAsync); 16335Assert.False(p1get.IsOverride); 16345Assert.False(p2.IsVirtual); 16347Assert.False(p2.IsStatic); 16348Assert.False(p2.IsExtern); 16349Assert.False(p2.IsOverride); 16355Assert.False(p2get.IsVirtual); 16358Assert.False(p2get.IsStatic); 16359Assert.False(p2get.IsExtern); 16360Assert.False(p2get.IsAsync); 16361Assert.False(p2get.IsOverride); 16370Assert.False(p3.IsAbstract); 16373Assert.False(p3.IsStatic); 16374Assert.False(p3.IsExtern); 16375Assert.False(p3.IsOverride); 16380Assert.False(p3set.IsAbstract); 16384Assert.False(p3set.IsStatic); 16385Assert.False(p3set.IsExtern); 16386Assert.False(p3set.IsAsync); 16387Assert.False(p3set.IsOverride); 16596Assert.False(p2.IsSealed); 16597Assert.False(p2.IsStatic); 16598Assert.False(p2.IsExtern); 16599Assert.False(p2.IsOverride); 16629Assert.False(accessor.IsSealed); 16630Assert.False(accessor.IsStatic); 16631Assert.False(accessor.IsExtern); 16632Assert.False(accessor.IsAsync); 16633Assert.False(accessor.IsOverride); 16784Assert.False(p1.IsAbstract); 16786Assert.False(p1.IsSealed); 16787Assert.False(p1.IsStatic); 16789Assert.False(p1.IsOverride); 16794Assert.False(p1get.IsAbstract); 16797Assert.False(p1get.IsSealed); 16798Assert.False(p1get.IsStatic); 16800Assert.False(p1get.IsAsync); 16801Assert.False(p1get.IsOverride); 16810Assert.False(p2.IsAbstract); 16812Assert.False(p2.IsSealed); 16813Assert.False(p2.IsStatic); 16815Assert.False(p2.IsOverride); 16820Assert.False(p2set.IsAbstract); 16823Assert.False(p2set.IsSealed); 16824Assert.False(p2set.IsStatic); 16826Assert.False(p2set.IsAsync); 16827Assert.False(p2set.IsOverride); 16838Assert.False(p3.IsAbstract); 16839Assert.False(p3.IsVirtual); 16840Assert.False(p3.IsSealed); 16843Assert.False(p3.IsOverride); 16852Assert.False(accessor.IsAbstract); 16853Assert.False(accessor.IsVirtual); 16854Assert.False(accessor.IsMetadataVirtual()); 16855Assert.False(accessor.IsSealed); 16858Assert.False(accessor.IsAsync); 16859Assert.False(accessor.IsOverride); 16869Assert.False(p4.IsAbstract); 16870Assert.False(p4.IsVirtual); 16871Assert.False(p4.IsSealed); 16872Assert.False(p4.IsStatic); 16874Assert.False(p4.IsOverride); 16879Assert.False(p4get.IsAbstract); 16880Assert.False(p4get.IsVirtual); 16881Assert.False(p4get.IsMetadataVirtual()); 16882Assert.False(p4get.IsSealed); 16883Assert.False(p4get.IsStatic); 16885Assert.False(p4get.IsAsync); 16886Assert.False(p4get.IsOverride); 16894Assert.False(p5.IsAbstract); 16895Assert.False(p5.IsVirtual); 16896Assert.False(p5.IsSealed); 16897Assert.False(p5.IsStatic); 16899Assert.False(p5.IsOverride); 16904Assert.False(p5set.IsAbstract); 16905Assert.False(p5set.IsVirtual); 16906Assert.False(p5set.IsMetadataVirtual()); 16907Assert.False(p5set.IsSealed); 16908Assert.False(p5set.IsStatic); 16910Assert.False(p5set.IsAsync); 16911Assert.False(p5set.IsOverride); 17028Assert.False(p1.IsVirtual); 17029Assert.False(p1.IsSealed); 17030Assert.False(p1.IsStatic); 17032Assert.False(p1.IsOverride); 17038Assert.False(p1get.IsVirtual); 17040Assert.False(p1get.IsSealed); 17041Assert.False(p1get.IsStatic); 17043Assert.False(p1get.IsAsync); 17044Assert.False(p1get.IsOverride); 17053Assert.False(p2.IsAbstract); 17055Assert.False(p2.IsSealed); 17056Assert.False(p2.IsStatic); 17058Assert.False(p2.IsOverride); 17063Assert.False(p2get.IsAbstract); 17066Assert.False(p2get.IsSealed); 17067Assert.False(p2get.IsStatic); 17069Assert.False(p2get.IsAsync); 17070Assert.False(p2get.IsOverride); 17078Assert.False(p3.IsAbstract); 17080Assert.False(p3.IsSealed); 17083Assert.False(p3.IsOverride); 17092Assert.False(accessor.IsAbstract); 17095Assert.False(accessor.IsSealed); 17098Assert.False(accessor.IsAsync); 17099Assert.False(accessor.IsOverride); 17107Assert.False(p4.IsAbstract); 17108Assert.False(p4.IsVirtual); 17109Assert.False(p4.IsSealed); 17110Assert.False(p4.IsStatic); 17112Assert.False(p4.IsOverride); 17121Assert.False(accessor.IsAbstract); 17122Assert.False(accessor.IsVirtual); 17123Assert.False(accessor.IsMetadataVirtual()); 17124Assert.False(accessor.IsSealed); 17125Assert.False(accessor.IsStatic); 17127Assert.False(accessor.IsAsync); 17128Assert.False(accessor.IsOverride); 17137Assert.False(p5.IsAbstract); 17138Assert.False(p5.IsVirtual); 17139Assert.False(p5.IsSealed); 17140Assert.False(p5.IsStatic); 17142Assert.False(p5.IsOverride); 17147Assert.False(p5get.IsAbstract); 17148Assert.False(p5get.IsVirtual); 17149Assert.False(p5get.IsMetadataVirtual()); 17150Assert.False(p5get.IsSealed); 17151Assert.False(p5get.IsStatic); 17153Assert.False(p5get.IsAsync); 17154Assert.False(p5get.IsOverride); 17277Assert.False(p1.IsVirtual); 17278Assert.False(p1.IsSealed); 17279Assert.False(p1.IsStatic); 17280Assert.False(p1.IsExtern); 17281Assert.False(p1.IsOverride); 17291Assert.False(accessor.IsVirtual); 17293Assert.False(accessor.IsSealed); 17294Assert.False(accessor.IsStatic); 17295Assert.False(accessor.IsExtern); 17296Assert.False(accessor.IsAsync); 17297Assert.False(accessor.IsOverride); 17308Assert.False(p2.IsVirtual); 17309Assert.False(p2.IsSealed); 17310Assert.False(p2.IsStatic); 17311Assert.False(p2.IsExtern); 17312Assert.False(p2.IsOverride); 17318Assert.False(p2get.IsVirtual); 17320Assert.False(p2get.IsSealed); 17321Assert.False(p2get.IsStatic); 17322Assert.False(p2get.IsExtern); 17323Assert.False(p2get.IsAsync); 17324Assert.False(p2get.IsOverride); 17332Assert.False(p3.IsAbstract); 17334Assert.False(p3.IsSealed); 17337Assert.False(p3.IsOverride); 17346Assert.False(accessor.IsAbstract); 17349Assert.False(accessor.IsSealed); 17352Assert.False(accessor.IsAsync); 17353Assert.False(accessor.IsOverride); 17363Assert.False(p4.IsVirtual); 17364Assert.False(p4.IsSealed); 17366Assert.False(p4.IsExtern); 17367Assert.False(p4.IsOverride); 17377Assert.False(accessor.IsVirtual); 17379Assert.False(accessor.IsSealed); 17381Assert.False(accessor.IsExtern); 17382Assert.False(accessor.IsAsync); 17383Assert.False(accessor.IsOverride); 17392Assert.False(p5.IsAbstract); 17393Assert.False(p5.IsVirtual); 17394Assert.False(p5.IsSealed); 17395Assert.False(p5.IsStatic); 17396Assert.False(p5.IsExtern); 17397Assert.False(p5.IsOverride); 17402Assert.False(p5get.IsAbstract); 17403Assert.False(p5get.IsVirtual); 17404Assert.False(p5get.IsMetadataVirtual()); 17405Assert.False(p5get.IsSealed); 17406Assert.False(p5get.IsStatic); 17407Assert.False(p5get.IsExtern); 17408Assert.False(p5get.IsAsync); 17409Assert.False(p5get.IsOverride); 17488Assert.False(p1.IsAbstract); 17490Assert.False(p1.IsSealed); 17491Assert.False(p1.IsStatic); 17492Assert.False(p1.IsExtern); 17493Assert.False(p1.IsOverride); 17499Assert.False(m1.IsAbstract); 17502Assert.False(m1.IsSealed); 17503Assert.False(m1.IsStatic); 17504Assert.False(m1.IsExtern); 17505Assert.False(m1.IsAsync); 17506Assert.False(m1.IsOverride); 17755Assert.False(p1.IsAbstract); 17757Assert.False(p1.IsSealed); 17758Assert.False(p1.IsStatic); 17759Assert.False(p1.IsExtern); 17760Assert.False(p1.IsOverride); 17777Assert.False(true); 17783Assert.False(accessor.IsAbstract); 17786Assert.False(accessor.IsSealed); 17787Assert.False(accessor.IsStatic); 17788Assert.False(accessor.IsExtern); 17789Assert.False(accessor.IsAsync); 17790Assert.False(accessor.IsOverride); 18345Assert.False(p1.IsSealed); 18346Assert.False(p1.IsStatic); 18347Assert.False(p1.IsExtern); 18348Assert.False(p1.IsOverride); 18383Assert.False(m1.IsSealed); 18384Assert.False(m1.IsStatic); 18385Assert.False(m1.IsExtern); 18386Assert.False(m1.IsAsync); 18387Assert.False(m1.IsOverride); 19869Assert.False(p1.IsAbstract); 19871Assert.False(p1.IsSealed); 19872Assert.False(p1.IsStatic); 19873Assert.False(p1.IsExtern); 19874Assert.False(p1.IsOverride); 19880Assert.False(m1.IsAbstract); 19883Assert.False(m1.IsSealed); 19884Assert.False(m1.IsStatic); 19885Assert.False(m1.IsExtern); 19886Assert.False(m1.IsAsync); 19887Assert.False(m1.IsOverride); 20538Assert.False(accessor.IsAbstract); 20539Assert.False(accessor.IsVirtual); 20540Assert.False(accessor.IsMetadataVirtual()); 20541Assert.False(accessor.IsSealed); 20543Assert.False(accessor.IsExtern); 20544Assert.False(accessor.IsAsync); 20545Assert.False(accessor.IsOverride); 21609Assert.False(accessor.IsVirtual); 21611Assert.False(accessor.IsSealed); 21612Assert.False(accessor.IsStatic); 21613Assert.False(accessor.IsExtern); 21614Assert.False(accessor.IsAsync); 21615Assert.False(accessor.IsOverride); 21822Assert.False(accessor.IsAbstract); 21825Assert.False(accessor.IsSealed); 21826Assert.False(accessor.IsStatic); 21828Assert.False(accessor.IsAsync); 21829Assert.False(accessor.IsOverride); 21848Assert.False(accessor.IsVirtual); 21850Assert.False(accessor.IsSealed); 21851Assert.False(accessor.IsStatic); 21852Assert.False(accessor.IsExtern); 21853Assert.False(accessor.IsAsync); 21854Assert.False(accessor.IsOverride); 21873Assert.False(accessor.IsVirtual); 21875Assert.False(accessor.IsSealed); 21876Assert.False(accessor.IsStatic); 21877Assert.False(accessor.IsExtern); 21878Assert.False(accessor.IsAsync); 21879Assert.False(accessor.IsOverride); 21898Assert.False(accessor.IsVirtual); 21900Assert.False(accessor.IsSealed); 21901Assert.False(accessor.IsStatic); 21902Assert.False(accessor.IsExtern); 21903Assert.False(accessor.IsAsync); 21904Assert.False(accessor.IsOverride); 21923Assert.False(accessor.IsVirtual); 21925Assert.False(accessor.IsSealed); 21926Assert.False(accessor.IsStatic); 21927Assert.False(accessor.IsExtern); 21928Assert.False(accessor.IsAsync); 21929Assert.False(accessor.IsOverride); 21948Assert.False(accessor.IsVirtual); 21950Assert.False(accessor.IsSealed); 21951Assert.False(accessor.IsStatic); 21952Assert.False(accessor.IsExtern); 21953Assert.False(accessor.IsAsync); 21954Assert.False(accessor.IsOverride); 26854Assert.False(accessor.IsVirtual); 26856Assert.False(accessor.IsSealed); 26857Assert.False(accessor.IsStatic); 26858Assert.False(accessor.IsExtern); 26859Assert.False(accessor.IsAsync); 26860Assert.False(accessor.IsOverride); 27069Assert.False(accessor.IsAbstract); 27072Assert.False(accessor.IsSealed); 27073Assert.False(accessor.IsStatic); 27075Assert.False(accessor.IsAsync); 27076Assert.False(accessor.IsOverride); 27096Assert.False(accessor.IsVirtual); 27098Assert.False(accessor.IsSealed); 27099Assert.False(accessor.IsStatic); 27100Assert.False(accessor.IsExtern); 27101Assert.False(accessor.IsAsync); 27102Assert.False(accessor.IsOverride); 27640Assert.False(p1.IsVirtual); 27641Assert.False(p1.IsSealed); 27642Assert.False(p1.IsStatic); 27643Assert.False(p1.IsExtern); 27644Assert.False(p1.IsOverride); 27654Assert.False(accessor.IsVirtual); 27656Assert.False(accessor.IsSealed); 27657Assert.False(accessor.IsStatic); 27658Assert.False(accessor.IsExtern); 27659Assert.False(accessor.IsAsync); 27660Assert.False(accessor.IsOverride); 27727Assert.False(accessor.IsVirtual); 27729Assert.False(accessor.IsSealed); 27730Assert.False(accessor.IsStatic); 27731Assert.False(accessor.IsExtern); 27732Assert.False(accessor.IsAsync); 27733Assert.False(accessor.IsOverride); 27827Assert.False(accessor.IsAbstract); 27828Assert.False(accessor.IsVirtual); 27829Assert.False(accessor.IsMetadataVirtual()); 27830Assert.False(accessor.IsSealed); 27832Assert.False(accessor.IsExtern); 27833Assert.False(accessor.IsAsync); 27834Assert.False(accessor.IsOverride); 27995Assert.False(accessor.IsVirtual); 27997Assert.False(accessor.IsSealed); 27999Assert.False(accessor.IsExtern); 28000Assert.False(accessor.IsAsync); 28001Assert.False(accessor.IsOverride); 28021Assert.False(accessor.IsAbstract); 28024Assert.False(accessor.IsSealed); 28026Assert.False(accessor.IsExtern); 28027Assert.False(accessor.IsAsync); 28028Assert.False(accessor.IsOverride); 28048Assert.False(accessor.IsAbstract); 28049Assert.False(accessor.IsVirtual); 28050Assert.False(accessor.IsMetadataVirtual()); 28051Assert.False(accessor.IsSealed); 28053Assert.False(accessor.IsExtern); 28054Assert.False(accessor.IsAsync); 28055Assert.False(accessor.IsOverride); 28142Assert.False(p1.IsAbstract); 28143Assert.False(p1.IsVirtual); 28144Assert.False(p1.IsSealed); 28145Assert.False(p1.IsStatic); 28146Assert.False(p1.IsExtern); 28147Assert.False(p1.IsOverride); 28156Assert.False(accessor.IsAbstract); 28157Assert.False(accessor.IsVirtual); 28158Assert.False(accessor.IsMetadataVirtual()); 28159Assert.False(accessor.IsSealed); 28160Assert.False(accessor.IsStatic); 28161Assert.False(accessor.IsExtern); 28162Assert.False(accessor.IsAsync); 28163Assert.False(accessor.IsOverride); 28239Assert.False(p1.IsVirtual); 28240Assert.False(p1.IsSealed); 28241Assert.False(p1.IsStatic); 28242Assert.False(p1.IsExtern); 28243Assert.False(p1.IsOverride); 28252Assert.False(accessor.IsVirtual); 28254Assert.False(accessor.IsSealed); 28255Assert.False(accessor.IsStatic); 28256Assert.False(accessor.IsExtern); 28257Assert.False(accessor.IsAsync); 28258Assert.False(accessor.IsOverride); 28265Assert.False(p2.IsAbstract); 28267Assert.False(p2.IsSealed); 28268Assert.False(p2.IsStatic); 28269Assert.False(p2.IsExtern); 28270Assert.False(p2.IsOverride); 28278Assert.False(accessor.IsAbstract); 28281Assert.False(accessor.IsSealed); 28282Assert.False(accessor.IsStatic); 28283Assert.False(accessor.IsExtern); 28284Assert.False(accessor.IsAsync); 28285Assert.False(accessor.IsOverride); 28292Assert.False(p3.IsAbstract); 28293Assert.False(p3.IsVirtual); 28295Assert.False(p3.IsStatic); 28296Assert.False(p3.IsExtern); 28297Assert.False(p3.IsOverride); 28305Assert.False(accessor.IsAbstract); 28306Assert.False(accessor.IsVirtual); 28307Assert.False(accessor.IsMetadataVirtual()); 28309Assert.False(accessor.IsStatic); 28310Assert.False(accessor.IsExtern); 28311Assert.False(accessor.IsAsync); 28312Assert.False(accessor.IsOverride); 28319Assert.False(p4.IsAbstract); 28320Assert.False(p4.IsVirtual); 28321Assert.False(p4.IsSealed); 28322Assert.False(p4.IsStatic); 28323Assert.False(p4.IsExtern); 28324Assert.False(p4.IsOverride); 28332Assert.False(accessor.IsAbstract); 28333Assert.False(accessor.IsVirtual); 28334Assert.False(accessor.IsMetadataVirtual()); 28335Assert.False(accessor.IsSealed); 28336Assert.False(accessor.IsStatic); 28337Assert.False(accessor.IsExtern); 28338Assert.False(accessor.IsAsync); 28339Assert.False(accessor.IsOverride); 28457Assert.False(p1.IsVirtual); 28458Assert.False(p1.IsSealed); 28459Assert.False(p1.IsStatic); 28460Assert.False(p1.IsExtern); 28461Assert.False(p1.IsOverride); 28468Assert.False(m1.IsVirtual); 28470Assert.False(m1.IsSealed); 28471Assert.False(m1.IsStatic); 28472Assert.False(m1.IsExtern); 28473Assert.False(m1.IsAsync); 28474Assert.False(m1.IsOverride); 29591Assert.False(p1.IsAbstract); 29592Assert.False(p1.IsVirtual); 29593Assert.False(p1.IsSealed); 29594Assert.False(p1.IsStatic); 29595Assert.False(p1.IsExtern); 29596Assert.False(p1.IsOverride); 29605Assert.False(accessor.IsAbstract); 29606Assert.False(accessor.IsVirtual); 29607Assert.False(accessor.IsMetadataVirtual()); 29608Assert.False(accessor.IsSealed); 29609Assert.False(accessor.IsStatic); 29610Assert.False(accessor.IsExtern); 29611Assert.False(accessor.IsAsync); 29612Assert.False(accessor.IsOverride); 29706Assert.False(p1.IsAbstract); 29707Assert.False(p1.IsVirtual); 29708Assert.False(p1.IsSealed); 29709Assert.False(p1.IsStatic); 29710Assert.False(p1.IsExtern); 29711Assert.False(p1.IsOverride); 29720Assert.False(accessor.IsAbstract); 29721Assert.False(accessor.IsVirtual); 29722Assert.False(accessor.IsMetadataVirtual()); 29723Assert.False(accessor.IsSealed); 29724Assert.False(accessor.IsStatic); 29725Assert.False(accessor.IsExtern); 29726Assert.False(accessor.IsAsync); 29727Assert.False(accessor.IsOverride); 29737Assert.False(p2.IsVirtual); 29739Assert.False(p2.IsStatic); 29740Assert.False(p2.IsExtern); 29741Assert.False(p2.IsOverride); 29751Assert.False(accessor.IsVirtual); 29754Assert.False(accessor.IsStatic); 29755Assert.False(accessor.IsExtern); 29756Assert.False(accessor.IsAsync); 29757Assert.False(accessor.IsOverride); 29766Assert.False(p3.IsAbstract); 29769Assert.False(p3.IsStatic); 29770Assert.False(p3.IsExtern); 29771Assert.False(p3.IsOverride); 29780Assert.False(accessor.IsAbstract); 29784Assert.False(accessor.IsStatic); 29785Assert.False(accessor.IsExtern); 29786Assert.False(accessor.IsAsync); 29787Assert.False(accessor.IsOverride); 30009Assert.False(p2.IsSealed); 30010Assert.False(p2.IsStatic); 30011Assert.False(p2.IsExtern); 30012Assert.False(p2.IsOverride); 30042Assert.False(accessor.IsSealed); 30043Assert.False(accessor.IsStatic); 30044Assert.False(accessor.IsExtern); 30045Assert.False(accessor.IsAsync); 30046Assert.False(accessor.IsOverride); 30119Assert.False(p1.IsAbstract); 30121Assert.False(p1.IsSealed); 30122Assert.False(p1.IsStatic); 30124Assert.False(p1.IsOverride); 30133Assert.False(accessor.IsAbstract); 30136Assert.False(accessor.IsSealed); 30137Assert.False(accessor.IsStatic); 30139Assert.False(accessor.IsAsync); 30140Assert.False(accessor.IsOverride); 30149Assert.False(p2.IsAbstract); 30151Assert.False(p2.IsSealed); 30152Assert.False(p2.IsStatic); 30154Assert.False(p2.IsOverride); 30163Assert.False(accessor.IsAbstract); 30166Assert.False(accessor.IsSealed); 30167Assert.False(accessor.IsStatic); 30169Assert.False(accessor.IsAsync); 30170Assert.False(accessor.IsOverride); 30179Assert.False(p3.IsAbstract); 30180Assert.False(p3.IsVirtual); 30181Assert.False(p3.IsSealed); 30184Assert.False(p3.IsOverride); 30193Assert.False(accessor.IsAbstract); 30194Assert.False(accessor.IsVirtual); 30195Assert.False(accessor.IsMetadataVirtual()); 30196Assert.False(accessor.IsSealed); 30199Assert.False(accessor.IsAsync); 30200Assert.False(accessor.IsOverride); 30208Assert.False(p4.IsAbstract); 30209Assert.False(p4.IsVirtual); 30210Assert.False(p4.IsSealed); 30211Assert.False(p4.IsStatic); 30213Assert.False(p4.IsOverride); 30222Assert.False(accessor.IsAbstract); 30223Assert.False(accessor.IsVirtual); 30224Assert.False(accessor.IsMetadataVirtual()); 30225Assert.False(accessor.IsSealed); 30226Assert.False(accessor.IsStatic); 30228Assert.False(accessor.IsAsync); 30229Assert.False(accessor.IsOverride); 30237Assert.False(p5.IsAbstract); 30238Assert.False(p5.IsVirtual); 30239Assert.False(p5.IsSealed); 30240Assert.False(p5.IsStatic); 30242Assert.False(p5.IsOverride); 30251Assert.False(accessor.IsAbstract); 30252Assert.False(accessor.IsVirtual); 30253Assert.False(accessor.IsMetadataVirtual()); 30254Assert.False(accessor.IsSealed); 30255Assert.False(accessor.IsStatic); 30257Assert.False(accessor.IsAsync); 30258Assert.False(accessor.IsOverride); 30450Assert.False(p1.IsVirtual); 30451Assert.False(p1.IsSealed); 30452Assert.False(p1.IsStatic); 30454Assert.False(p1.IsOverride); 30464Assert.False(accessor.IsVirtual); 30466Assert.False(accessor.IsSealed); 30467Assert.False(accessor.IsStatic); 30469Assert.False(accessor.IsAsync); 30470Assert.False(accessor.IsOverride); 30479Assert.False(p2.IsAbstract); 30481Assert.False(p2.IsSealed); 30482Assert.False(p2.IsStatic); 30484Assert.False(p2.IsOverride); 30493Assert.False(accessor.IsAbstract); 30496Assert.False(accessor.IsSealed); 30497Assert.False(accessor.IsStatic); 30499Assert.False(accessor.IsAsync); 30500Assert.False(accessor.IsOverride); 30509Assert.False(p3.IsAbstract); 30510Assert.False(p3.IsVirtual); 30511Assert.False(p3.IsSealed); 30514Assert.False(p3.IsOverride); 30523Assert.False(accessor.IsAbstract); 30524Assert.False(accessor.IsVirtual); 30525Assert.False(accessor.IsMetadataVirtual()); 30526Assert.False(accessor.IsSealed); 30529Assert.False(accessor.IsAsync); 30530Assert.False(accessor.IsOverride); 30538Assert.False(p4.IsAbstract); 30539Assert.False(p4.IsVirtual); 30540Assert.False(p4.IsSealed); 30541Assert.False(p4.IsStatic); 30543Assert.False(p4.IsOverride); 30552Assert.False(accessor.IsAbstract); 30553Assert.False(accessor.IsVirtual); 30554Assert.False(accessor.IsMetadataVirtual()); 30555Assert.False(accessor.IsSealed); 30556Assert.False(accessor.IsStatic); 30558Assert.False(accessor.IsAsync); 30559Assert.False(accessor.IsOverride); 30671Assert.False(p1.IsVirtual); 30672Assert.False(p1.IsSealed); 30673Assert.False(p1.IsStatic); 30674Assert.False(p1.IsExtern); 30675Assert.False(p1.IsOverride); 30685Assert.False(accessor.IsVirtual); 30687Assert.False(accessor.IsSealed); 30688Assert.False(accessor.IsStatic); 30689Assert.False(accessor.IsExtern); 30690Assert.False(accessor.IsAsync); 30691Assert.False(accessor.IsOverride); 30701Assert.False(p2.IsVirtual); 30702Assert.False(p2.IsSealed); 30703Assert.False(p2.IsStatic); 30704Assert.False(p2.IsExtern); 30705Assert.False(p2.IsOverride); 30715Assert.False(accessor.IsVirtual); 30717Assert.False(accessor.IsSealed); 30718Assert.False(accessor.IsStatic); 30719Assert.False(accessor.IsExtern); 30720Assert.False(accessor.IsAsync); 30721Assert.False(accessor.IsOverride); 30730Assert.False(p3.IsAbstract); 30731Assert.False(p3.IsVirtual); 30732Assert.False(p3.IsSealed); 30735Assert.False(p3.IsOverride); 30744Assert.False(accessor.IsAbstract); 30745Assert.False(accessor.IsVirtual); 30746Assert.False(accessor.IsMetadataVirtual()); 30747Assert.False(accessor.IsSealed); 30750Assert.False(accessor.IsAsync); 30751Assert.False(accessor.IsOverride); 30761Assert.False(p4.IsVirtual); 30762Assert.False(p4.IsSealed); 30764Assert.False(p4.IsExtern); 30765Assert.False(p4.IsOverride); 30775Assert.False(accessor.IsVirtual); 30777Assert.False(accessor.IsSealed); 30779Assert.False(accessor.IsExtern); 30780Assert.False(accessor.IsAsync); 30781Assert.False(accessor.IsOverride); 30789Assert.False(p5.IsAbstract); 30790Assert.False(p5.IsVirtual); 30791Assert.False(p5.IsSealed); 30792Assert.False(p5.IsStatic); 30793Assert.False(p5.IsExtern); 30794Assert.False(p5.IsOverride); 30803Assert.False(accessor.IsAbstract); 30804Assert.False(accessor.IsVirtual); 30805Assert.False(accessor.IsMetadataVirtual()); 30806Assert.False(accessor.IsSealed); 30807Assert.False(accessor.IsStatic); 30808Assert.False(accessor.IsExtern); 30809Assert.False(accessor.IsAsync); 30810Assert.False(accessor.IsOverride); 30893Assert.False(p1.IsAbstract); 30895Assert.False(p1.IsSealed); 30896Assert.False(p1.IsStatic); 30897Assert.False(p1.IsExtern); 30898Assert.False(p1.IsOverride); 30904Assert.False(m1.IsAbstract); 30907Assert.False(m1.IsSealed); 30908Assert.False(m1.IsStatic); 30909Assert.False(m1.IsExtern); 30910Assert.False(m1.IsAsync); 30911Assert.False(m1.IsOverride); 31246Assert.False(accessor.IsAbstract); 31247Assert.False(accessor.IsVirtual); 31248Assert.False(accessor.IsMetadataVirtual()); 31249Assert.False(accessor.IsSealed); 31251Assert.False(accessor.IsExtern); 31252Assert.False(accessor.IsAsync); 31253Assert.False(accessor.IsOverride); 33064Assert.False(m1.IsMetadataNewSlot()); 33066Assert.False(m1.IsVirtual); 33069Assert.False(m1.IsExtern); 33070Assert.False(m1.IsAsync); 33071Assert.False(m1.IsOverride); 33901Assert.False(m1.IsMetadataNewSlot()); 33902Assert.False(m1.IsAbstract); 33903Assert.False(m1.IsVirtual); 33904Assert.False(m1.IsSealed); 33907Assert.False(m1.IsAsync); 33908Assert.False(m1.IsOverride); 34017Assert.False(m1.IsMetadataNewSlot()); 34018Assert.False(m1.IsAbstract); 34019Assert.False(m1.IsVirtual); 34020Assert.False(m1.IsSealed); 34022Assert.False(m1.IsExtern); 34024Assert.False(m1.IsOverride); 37122Assert.False(m1.IsVirtual); 37125Assert.False(m1.IsExtern); 37126Assert.False(m1.IsOverride); 38013Assert.False(m1.IsAbstract); 38014Assert.False(m1.IsVirtual); 38015Assert.False(m1.IsSealed); 38018Assert.False(m1.IsOverride); 40155Assert.False(m1.IsVirtual); 40158Assert.False(m1.IsExtern); 40159Assert.False(m1.IsOverride); 51114Assert.False(m.IsMetadataNewSlot()); 51116Assert.False(m.IsVirtual); 51119Assert.False(m.IsExtern); 51120Assert.False(m.IsAsync); 51121Assert.False(m.IsOverride); 52558Assert.False(reabstracting.IsVirtual); 52561Assert.False(reabstracting.IsExtern); 52562Assert.False(reabstracting.IsOverride); 57522Assert.False(reabstracting.IsVirtual); 57525Assert.False(reabstracting.IsExtern); 57526Assert.False(reabstracting.IsOverride); 69400Assert.False(hasBeforeFieldInitFlag(module, "I4")); 69401Assert.False(hasBeforeFieldInitFlag(module, "I5")); 69402Assert.False(hasBeforeFieldInitFlag(module, "I6"));
Symbols\EnumTests.cs (1)
355Assert.False(value.HasValue);
Symbols\ExtendedPartialMethodsTests.cs (4)
1266Assert.False(method.IsAsync); 1290Assert.False(method.IsAsync); 1322Assert.False(method.IsAsync); 2708Assert.False(array.IsSZArray);
Symbols\ExtensionMethodTests.cs (1)
2508Assert.False(sourceAssembly.MightContainExtensionMethods);
Symbols\FunctionPointerTypeSymbolTests.cs (18)
915Assert.False(ret1.Equals(ret2, TypeCompareKind.ConsiderEverything)); 916Assert.False(ret1.Equals(ret2, TypeCompareKind.AllNullableIgnoreOptions)); 952Assert.False(s1.Equals(s2, TypeCompareKind.ConsiderEverything)); 953Assert.False(s1.Equals(s2, TypeCompareKind.AllNullableIgnoreOptions)); 1063Assert.False(param1.Type.Equals(param2.Type, TypeCompareKind.ConsiderEverything)); 2026Assert.False(ptr1.NoRef.Equals(ptr2.ByRef, TypeCompareKind.IgnoreCustomModifiersAndArraySizesAndLowerBounds)); 2027Assert.False(ptr1.NoRef.Equals(ptr2.ByRef, TypeCompareKind.ConsiderEverything)); 2028Assert.False(ptr1.ByRef.Equals(ptr2.NoRef, TypeCompareKind.IgnoreCustomModifiersAndArraySizesAndLowerBounds)); 2029Assert.False(ptr1.ByRef.Equals(ptr2.NoRef, TypeCompareKind.ConsiderEverything)); 2096Assert.False(ptr1.NoRef.Equals(ptr2.ByRef, TypeCompareKind.IgnoreCustomModifiersAndArraySizesAndLowerBounds)); 2097Assert.False(ptr1.NoRef.Equals(ptr2.ByRef, TypeCompareKind.ConsiderEverything)); 2098Assert.False(ptr1.ByRef.Equals(ptr2.NoRef, TypeCompareKind.IgnoreCustomModifiersAndArraySizesAndLowerBounds)); 2099Assert.False(ptr1.ByRef.Equals(ptr2.NoRef, TypeCompareKind.ConsiderEverything)); 2152Assert.False(ptr1.NoRef.Equals(ptr2.ByRef, TypeCompareKind.IgnoreCustomModifiersAndArraySizesAndLowerBounds)); 2153Assert.False(ptr1.NoRef.Equals(ptr2.ByRef, TypeCompareKind.ConsiderEverything)); 2154Assert.False(ptr1.ByRef.Equals(ptr2.NoRef, TypeCompareKind.IgnoreCustomModifiersAndArraySizesAndLowerBounds)); 2155Assert.False(ptr1.ByRef.Equals(ptr2.NoRef, TypeCompareKind.ConsiderEverything)); 2165Assert.False(ptr1.ByRef.Equals(ptr2.ByRef, TypeCompareKind.ConsiderEverything));
Symbols\GenericConstraintTests.cs (26)
3418Assert.False(((NamedTypeSymbol)constraintType).IsSerializable); 3755Assert.False(i2.MangleName); 3789Assert.False(i2.MangleName); 3857Assert.False(i2.MangleName); 3906Assert.False(i2.MangleName); 3938Assert.False(t.MangleName); 3952Assert.False(t.MangleName); 3987Assert.False(t.MangleName); 3994Assert.False(t.MangleName); 4001Assert.False(t.MangleName); 4008Assert.False(t.MangleName); 4015Assert.False(t.MangleName); 4029Assert.False(t.MangleName); 4036Assert.False(t.MangleName); 4050Assert.False(t.MangleName); 4085Assert.False(t.MangleName); 4092Assert.False(t.MangleName); 4099Assert.False(t.MangleName); 4193Assert.False(t.MangleName); 4200Assert.False(t.MangleName); 4211Assert.False(t.MangleName); 4218Assert.False(t.MangleName); 4232Assert.False(t.MangleName); 4239Assert.False(t.MangleName); 4276Assert.False(t.MangleName); 4287Assert.False(t.MangleName);
Symbols\ImplicitClassTests.cs (3)
38Assert.False(implicitClass.IsSubmissionClass); 39Assert.False(implicitClass.IsScriptClass); 67Assert.False(scriptClass.IsSubmissionClass);
Symbols\InterfaceImplementationTests.cs (22)
579Assert.False(baseClass.AllInterfaces().Contains(@interface)); 590Assert.False(class2.AllInterfaces().Contains(@interface)); 629Assert.False(baseClass.AllInterfaces().Contains(@interface)); 639Assert.False(class2.AllInterfaces().Contains(@interface)); 749Assert.False(baseClassMethodNonVirtual.IsVirtual); 765Assert.False(class1MethodNonVirtual.IsOverride); 783Assert.False(class2MethodNonVirtual.IsOverride); 918Assert.False(baseClass.AllInterfaces().Contains(@interface)); 925Assert.False(baseClassMethod.IsVirtual); 926Assert.False(baseClassProperty.IsVirtual); 927Assert.False(baseClassPropertyGetter.IsVirtual); 928Assert.False(baseClassPropertySetter.IsVirtual); 942Assert.False(derivedClass.GetSynthesizedExplicitImplementations(CancellationToken.None).ForwardingMethods.Any()); 987Assert.False(baseClass.AllInterfaces().Contains(@interface)); 994Assert.False(baseClassMethod.IsVirtual); 995Assert.False(baseClassProperty.IsVirtual); 996Assert.False(baseClassPropertyGetter.IsVirtual); 997Assert.False(baseClassPropertySetter.IsVirtual); 1007Assert.False(((Cci.IMethodDefinition)baseClassMethod.GetCciAdapter()).IsVirtual); 1008Assert.False(((Cci.IMethodDefinition)baseClassPropertyGetter.GetCciAdapter()).IsVirtual); 1009Assert.False(((Cci.IMethodDefinition)baseClassPropertySetter.GetCciAdapter()).IsVirtual); 1057Assert.False(comp.GetDiagnostics().Any());
Symbols\LocalFunctionTests.cs (2)
37Assert.False(local.IsStatic); 79Assert.False(local.IsStatic);
Symbols\Metadata\MetadataMemberTests.cs (35)
210Assert.False(member1.IsAbstract); 211Assert.False(member1.IsSealed); 212Assert.False(member1.IsVirtual); 213Assert.False(member1.IsOverride); 216Assert.False(member1.IsGenericMethod); 219Assert.False(member1.ReturnsVoid); 220Assert.False(member1.IsVararg); 271Assert.False(p1.IsStatic); 272Assert.False(p1.IsAbstract); 273Assert.False(p2.IsSealed); 274Assert.False(p2.IsVirtual); 275Assert.False(p3.IsOverride); 276Assert.False(p3.IsParams); 277Assert.False(p3.IsParamsArray); 278Assert.False(p3.IsParamsCollection); 279Assert.False(p4.IsOptional); 280Assert.False(p4.HasExplicitDefaultValue); 317Assert.False(member1.IsStatic); 319Assert.False(member2.IsSealed); 320Assert.False(member2.IsVirtual); 321Assert.False(member2.IsOverride); 324Assert.False(member1.IsGenericMethod); 328Assert.False(member2.IsVararg); 367Assert.False(p1.IsStatic); 368Assert.False(p1.IsAbstract); 369Assert.False(p2.IsSealed); 370Assert.False(p2.IsVirtual); 371Assert.False(p1.IsOverride); 372Assert.False(p1.IsExtern); 373Assert.False(p1.IsParams); 374Assert.False(p1.IsParamsArray); 375Assert.False(p1.IsParamsCollection); 376Assert.False(p2.IsOptional); 377Assert.False(p2.HasExplicitDefaultValue); 395Assert.False(compilation.GetDiagnostics().Any());
Symbols\Metadata\MetadataTypeTests.cs (40)
42Assert.False(ns.IsType); 48Assert.False(ns.IsAbstract); 49Assert.False(ns.IsSealed); 50Assert.False(ns.IsVirtual); 51Assert.False(ns.IsOverride); 83Assert.False(class1.IsNamespace); 86Assert.False(class1.IsValueType); 92Assert.False(class1.IsAbstract); 93Assert.False(class1.IsAbstract); 94Assert.False(class1.IsExtern); 95Assert.False(class1.IsSealed); 96Assert.False(class1.IsVirtual); 97Assert.False(class1.IsOverride); 133Assert.False(type1.IsNamespace); 136Assert.False(type1.IsValueType); 141Assert.False(type1.IsStatic); 142Assert.False(type1.IsAbstract); 143Assert.False(type1.IsSealed); 144Assert.False(type1.IsVirtual); 145Assert.False(type1.IsOverride); 181Assert.False(type1.IsNamespace); 184Assert.False(type1.IsValueType); 189Assert.False(type1.IsStatic); 191Assert.False(type1.IsSealed); 192Assert.False(type1.IsVirtual); 193Assert.False(type1.IsOverride); 194Assert.False(type1.IsExtern); 231Assert.False(type1.IsNamespace); 233Assert.False(type1.IsReferenceType); 239Assert.False(type1.IsStatic); 240Assert.False(type1.IsAbstract); 242Assert.False(type1.IsVirtual); 243Assert.False(type1.IsOverride); 320Assert.False(type2.IsNamespace); 326Assert.False(type3.IsValueType); 328Assert.False(type2.IsStatic); 329Assert.False(type2.IsAbstract); 330Assert.False(type2.IsSealed); 331Assert.False(type3.IsVirtual); 332Assert.False(type3.IsOverride);
Symbols\Metadata\PE\HasUnsupportedMetadata.cs (10)
163Assert.False(c3.HasUnsupportedMetadata); 164Assert.False(c3.ContainingSymbol.HasUnsupportedMetadata); 168Assert.False(f1.HasUnsupportedMetadata); 172Assert.False(m1.HasUnsupportedMetadata); 180Assert.False(e1.HasUnsupportedMetadata); 184Assert.False(p1.HasUnsupportedMetadata); 367Assert.False(c3.HasUnsupportedMetadata); 368Assert.False(c3.ContainingSymbol.HasUnsupportedMetadata); 394Assert.False(vector.HasUnsupportedMetadata); 404Assert.False(typeX.HasUnsupportedMetadata);
Symbols\Metadata\PE\LoadCustomModifiers.cs (2)
110Assert.False(m7.ReturnsVoid); 142Assert.False(MemberSignatureComparer.RuntimeImplicitImplementationComparer.Equals(method1, method2));
Symbols\Metadata\PE\LoadingFields.cs (25)
47Assert.False(f1.IsAbstract); 48Assert.False(f1.IsConst); 50Assert.False(f1.IsExtern); 51Assert.False(f1.IsOverride); 52Assert.False(f1.IsReadOnly); 53Assert.False(f1.IsSealed); 55Assert.False(f1.IsVirtual); 56Assert.False(f1.IsVolatile); 66Assert.False(f2.IsConst); 68Assert.False(f2.IsStatic); 69Assert.False(f2.IsVolatile); 74Assert.False(f3.IsConst); 75Assert.False(f3.IsReadOnly); 76Assert.False(f3.IsStatic); 77Assert.False(f3.IsVolatile); 82Assert.False(f4.IsConst); 83Assert.False(f4.IsReadOnly); 84Assert.False(f4.IsStatic); 85Assert.False(f4.IsVolatile); 91Assert.False(f5.IsReadOnly); 93Assert.False(f5.IsVolatile); 98Assert.False(f6.IsConst); 99Assert.False(f6.IsReadOnly); 100Assert.False(f6.IsStatic); 106Assert.False(mod.IsOptional);
Symbols\Metadata\PE\LoadingIndexers.cs (1)
1177Assert.False(classIndexer.IsIndexer);
Symbols\Metadata\PE\LoadingMethods.cs (100)
79Assert.False(localM3.ReturnsVoid); 83Assert.False(localM4.ReturnsVoid); 140Assert.False(basicC1_M5.IsGenericMethod); // Check genericity before cracking signature 142Assert.False(basicC1_M6.IsGenericMethod); // Check genericity after cracking signature 164Assert.False(basicC1_M12.IsVararg); 165Assert.False(basicC1_M12.IsExtern); 166Assert.False(basicC1_M12.IsStatic); 195Assert.False(basicModifiers1_M1.IsVirtual); 196Assert.False(basicModifiers1_M1.IsSealed); 198Assert.False(basicModifiers1_M1.IsOverride); 200Assert.False(basicModifiers1_M2.IsAbstract); 202Assert.False(basicModifiers1_M2.IsSealed); 204Assert.False(basicModifiers1_M2.IsOverride); 206Assert.False(basicModifiers1_M3.IsAbstract); 207Assert.False(basicModifiers1_M3.IsVirtual); 208Assert.False(basicModifiers1_M3.IsSealed); 209Assert.False(basicModifiers1_M3.HidesBaseMethodsByName); 210Assert.False(basicModifiers1_M3.IsOverride); 212Assert.False(basicModifiers1_M4.IsAbstract); 213Assert.False(basicModifiers1_M4.IsVirtual); 214Assert.False(basicModifiers1_M4.IsSealed); 216Assert.False(basicModifiers1_M4.IsOverride); 218Assert.False(basicModifiers1_M5.IsAbstract); 219Assert.False(basicModifiers1_M5.IsVirtual); 220Assert.False(basicModifiers1_M5.IsSealed); 222Assert.False(basicModifiers1_M5.IsOverride); 225Assert.False(basicModifiers1_M6.IsVirtual); 226Assert.False(basicModifiers1_M6.IsSealed); 227Assert.False(basicModifiers1_M6.HidesBaseMethodsByName); 228Assert.False(basicModifiers1_M6.IsOverride); 230Assert.False(basicModifiers1_M7.IsAbstract); 232Assert.False(basicModifiers1_M7.IsSealed); 233Assert.False(basicModifiers1_M7.HidesBaseMethodsByName); 234Assert.False(basicModifiers1_M7.IsOverride); 237Assert.False(basicModifiers1_M8.IsVirtual); 238Assert.False(basicModifiers1_M8.IsSealed); 240Assert.False(basicModifiers1_M8.IsOverride); 242Assert.False(basicModifiers1_M9.IsAbstract); 244Assert.False(basicModifiers1_M9.IsSealed); 246Assert.False(basicModifiers1_M9.IsOverride); 256Assert.False(basicModifiers2_M1.IsVirtual); 257Assert.False(basicModifiers2_M1.IsSealed); 261Assert.False(basicModifiers2_M2.IsAbstract); 262Assert.False(basicModifiers2_M2.IsVirtual); 268Assert.False(basicModifiers2_M6.IsVirtual); 269Assert.False(basicModifiers2_M6.IsSealed); 270Assert.False(basicModifiers2_M6.HidesBaseMethodsByName); 273Assert.False(basicModifiers2_M7.IsAbstract); 274Assert.False(basicModifiers2_M7.IsVirtual); 276Assert.False(basicModifiers2_M7.HidesBaseMethodsByName); 284Assert.False(basicModifiers3_M1.IsAbstract); 285Assert.False(basicModifiers3_M1.IsVirtual); 286Assert.False(basicModifiers3_M1.IsSealed); 290Assert.False(basicModifiers3_M6.IsAbstract); 291Assert.False(basicModifiers3_M6.IsVirtual); 292Assert.False(basicModifiers3_M6.IsSealed); 293Assert.False(basicModifiers3_M6.HidesBaseMethodsByName); 304Assert.False(csharpModifiers1_M1.IsVirtual); 305Assert.False(csharpModifiers1_M1.IsSealed); 306Assert.False(csharpModifiers1_M1.HidesBaseMethodsByName); 307Assert.False(csharpModifiers1_M1.IsOverride); 309Assert.False(csharpModifiers1_M2.IsAbstract); 311Assert.False(csharpModifiers1_M2.IsSealed); 312Assert.False(csharpModifiers1_M2.HidesBaseMethodsByName); 313Assert.False(csharpModifiers1_M2.IsOverride); 315Assert.False(csharpModifiers1_M3.IsAbstract); 316Assert.False(csharpModifiers1_M3.IsVirtual); 317Assert.False(csharpModifiers1_M3.IsSealed); 318Assert.False(csharpModifiers1_M3.HidesBaseMethodsByName); 319Assert.False(csharpModifiers1_M3.IsOverride); 321Assert.False(csharpModifiers1_M4.IsAbstract); 323Assert.False(csharpModifiers1_M4.IsSealed); 324Assert.False(csharpModifiers1_M4.HidesBaseMethodsByName); 325Assert.False(csharpModifiers1_M4.IsOverride); 333Assert.False(csharpModifiers2_M1.IsAbstract); 334Assert.False(csharpModifiers2_M1.IsVirtual); 336Assert.False(csharpModifiers2_M1.HidesBaseMethodsByName); 340Assert.False(csharpModifiers2_M2.IsVirtual); 341Assert.False(csharpModifiers2_M2.IsSealed); 342Assert.False(csharpModifiers2_M2.HidesBaseMethodsByName); 345Assert.False(csharpModifiers2_M3.IsAbstract); 347Assert.False(csharpModifiers2_M3.IsSealed); 348Assert.False(csharpModifiers2_M3.HidesBaseMethodsByName); 349Assert.False(csharpModifiers2_M3.IsOverride); 357Assert.False(csharpModifiers3_M1.IsAbstract); 358Assert.False(csharpModifiers3_M1.IsVirtual); 359Assert.False(csharpModifiers3_M1.IsSealed); 360Assert.False(csharpModifiers3_M1.HidesBaseMethodsByName); 363Assert.False(csharpModifiers3_M3.IsAbstract); 364Assert.False(csharpModifiers3_M3.IsVirtual); 365Assert.False(csharpModifiers3_M3.IsSealed); 366Assert.False(csharpModifiers3_M3.HidesBaseMethodsByName); 367Assert.False(csharpModifiers3_M3.IsOverride); 370Assert.False(csharpModifiers3_M4.IsVirtual); 371Assert.False(csharpModifiers3_M4.IsSealed); 372Assert.False(csharpModifiers3_M4.HidesBaseMethodsByName); 373Assert.False(csharpModifiers3_M4.IsOverride); 556Assert.False(explicitImpls.Any()); 1244Assert.False(((MethodSymbol)m).IsVirtual); 1246Assert.False(((MethodSymbol)m).IsOverride);
Symbols\Metadata\PE\LoadingNamespacesAndTypes.cs (2)
144Assert.False(systemNS.IsGlobalNamespace); 157Assert.False(collectionsNS.IsGlobalNamespace);
Symbols\Metadata\PE\MissingTypeReferences.cs (12)
47Assert.False(@base.IsNamespace); 65Assert.False(@base.IsNamespace); 102Assert.False(@base.IsNamespace); 131Assert.False(@base.IsNamespace); 146Assert.False(@base.IsNamespace); 161Assert.False(@base.IsNamespace); 178Assert.False(@base.IsNamespace); 195Assert.False(@base.IsNamespace); 214Assert.False(@base.IsNamespace); 232Assert.False(@base.IsNamespace); 254Assert.False(@base.IsNamespace); 379Assert.False(missingAssembly.Equals(null));
Symbols\Metadata\PE\NoPia.cs (8)
309Assert.False(ambiguous.IsSerializable); 535Assert.False(missing.IsSerializable); 756Assert.False(pia1Ref.Properties.EmbedInteropTypes); 758Assert.False(pia5Ref.Properties.EmbedInteropTypes); 760Assert.False(library2Ref.Properties.EmbedInteropTypes); 1111Assert.False(pia5Ref.Properties.EmbedInteropTypes); 1119Assert.False(pia1Ref.Properties.EmbedInteropTypes); 1127Assert.False(library2Ref.Properties.EmbedInteropTypes);
Symbols\Metadata\PE\TypeForwarders.cs (1)
1693Assert.False(token.IsNil); //could the type ref be located? If not then the attribute's not there.
Symbols\MockSymbolTests.cs (3)
34Assert.False(ats1.IsValueType); 42Assert.False(ats2.IsValueType); 58Assert.False(pts1.IsReferenceType);
Symbols\OverriddenOrHiddenMembersTests.cs (36)
275Assert.False(derivedInterface1MethodOverriddenOrHidden.OverriddenMembers.Any()); 279Assert.False(derivedInterface1PropertyOverriddenOrHidden.OverriddenMembers.Any()); 283Assert.False(derivedInterface2MethodOverriddenOrHidden.OverriddenMembers.Any()); 287Assert.False(derivedInterface2PropertyOverriddenOrHidden.OverriddenMembers.Any()); 370Assert.False(derivedInterface1MethodIntOverriddenOrHidden.OverriddenMembers.Any()); 374Assert.False(derivedInterface1PropertyOverriddenOrHidden.OverriddenMembers.Any()); 378Assert.False(derivedInterface2MethodIntOverriddenOrHidden.OverriddenMembers.Any()); 382Assert.False(derivedInterface2PropertyOverriddenOrHidden.OverriddenMembers.Any()); 433Assert.False(derivedClassMethodOverriddenOrHidden.OverriddenMembers.Any()); 437Assert.False(derivedClassPropertyOverriddenOrHidden.OverriddenMembers.Any()); 486Assert.False(derivedClassMethodIntOverriddenOrHidden.OverriddenMembers.Any()); 490Assert.False(derivedClassPropertyOverriddenOrHidden.OverriddenMembers.Any()); 550Assert.False(derivedClassMethodOverriddenOrHidden.HiddenMembers.Any()); 554Assert.False(derivedClassPropertyOverriddenOrHidden.HiddenMembers.Any()); 558Assert.False(derivedClassRefMethodOverriddenOrHidden.HiddenMembers.Any()); 562Assert.False(derivedClassRefPropertyOverriddenOrHidden.HiddenMembers.Any()); 566Assert.False(derivedClassRefIndexerOverriddenOrHidden.HiddenMembers.Any()); 622Assert.False(baseClassToStringOverriddenOrHidden.HiddenMembers.Any()); 626Assert.False(baseClassGetHashCodeOverriddenOrHidden.HiddenMembers.Any()); 630Assert.False(derivedClassEqualsOverriddenOrHidden.HiddenMembers.Any()); 634Assert.False(derivedClassGetHashCodeOverriddenOrHidden.HiddenMembers.Any()); 686Assert.False(derivedClassMethodIntOverriddenOrHidden.HiddenMembers.Any()); 690Assert.False(derivedClassPropertyOverriddenOrHidden.HiddenMembers.Any()); 766Assert.False(overridingClassMethod1OverriddenOrHidden.OverriddenMembers.Any()); 772Assert.False(overridingClassMethod2OverriddenOrHidden.HiddenMembers.Any()); 777Assert.False(overridingClassProperty1OverriddenOrHidden.OverriddenMembers.Any()); 782Assert.False(overridingClassProperty2OverriddenOrHidden.HiddenMembers.Any()); 900Assert.False(comp.GetDiagnostics().Any()); 946Assert.False(classEMethod1OverriddenOrHiddenMembers.HiddenMembers.Any()); 954Assert.False(classEMethod2OverriddenOrHiddenMembers.HiddenMembers.Any()); 2870Assert.False(finalize.IsVirtual); 2871Assert.False(finalize.IsOverride); 3688Assert.False(validatorBaseT.AbstractMembers.Any()); 3695Assert.False(validatorBaseObject.AbstractMembers.Any()); 3944Assert.False(validatorBaseT.AbstractMembers.Any()); 3951Assert.False(validatorBaseObject.AbstractMembers.Any());
Symbols\PartialPropertiesTests.cs (2)
799Assert.False(importData.SetLastError); 800Assert.False(importData.ExactSpelling);
Symbols\RequiredMembersTests.cs (2)
7180Assert.False(field2.IsRequired); 7181Assert.False(property2.IsRequired);
Symbols\Retargeting\RetargetCustomModifiers.cs (6)
121Assert.False(m7.ReturnsVoid); 186Assert.False(volatileFld.IsConst); 187Assert.False(volatileFld.IsReadOnly); 188Assert.False(volatileFld.IsStatic); 197Assert.False(m1.HidesBaseMethodsByName); 198Assert.False(m1.IsExtensionMethod);
Symbols\Retargeting\RetargetExplicitInterfaceImplementation.cs (11)
120Assert.False(comp2.GetDiagnostics().Any()); 171Assert.False(retargetedClassCMethod2.ExplicitInterfaceImplementations.Any()); 180Assert.False(retargetedClassCMethod3.ExplicitInterfaceImplementations.Any()); 210Assert.False(retargetedClassCProperty2.ExplicitInterfaceImplementations.Any()); 218Assert.False(retargetedClassCProperty3.ExplicitInterfaceImplementations.Any()); 248Assert.False(retargetedClassCIndexer2.ExplicitInterfaceImplementations.Any()); 256Assert.False(retargetedClassCIndexer3.ExplicitInterfaceImplementations.Any()); 286Assert.False(retargetedClassCEvent2.ExplicitInterfaceImplementations.Any()); 294Assert.False(retargetedClassCEvent3.ExplicitInterfaceImplementations.Any()); 350Assert.False(comp1.GetDiagnostics().Any()); 384Assert.False(comp2.GetDiagnostics().Any());
Symbols\Source\AccessTests.cs (1)
124Assert.False(comp.GetDeclarationDiagnostics().Any());
Symbols\Source\BaseClassTests.cs (1)
1040Assert.False(B2.IsSerializable);
Symbols\Source\CustomModifierCopyTests.cs (3)
484Assert.False(customModifiers.Any()); 552Assert.False(class3Method1.Parameters.Single().TypeWithAnnotations.CustomModifiers.Any()); 604Assert.False(@class.GetSynthesizedExplicitImplementations(CancellationToken.None).ForwardingMethods.Any());
Symbols\Source\DeclaringSyntaxNodeTests.cs (6)
37Assert.False(symbol.IsImplicitlyDeclared); 99Assert.False(symbol.IsImplicitlyDeclared); 125Assert.False(symbol.IsImplicitlyDeclared); 192Assert.False(n1.IsImplicitlyDeclared); 334Assert.False(localType.IsImplicitlyDeclared); 366Assert.False(member.IsImplicitlyDeclared);
Symbols\Source\DelegateTests.cs (4)
132Assert.False(v.IsValueType); 134Assert.False(v.IsAbstract); 830Assert.False(lambda.ReturnsByRef); 837Assert.False(lambda.ReturnsByRef);
Symbols\Source\ExpressionBodiedMethodTests.cs (1)
49Assert.False(gooImpl.IsPartialDefinition);
Symbols\Source\FieldTests.cs (13)
69Assert.False(sym.IsStatic); 70Assert.False(sym.IsAbstract); 71Assert.False(sym.IsSealed); 72Assert.False(sym.IsVirtual); 73Assert.False(sym.IsOverride); 146Assert.False(n1.IsVolatile); 151Assert.False(n2.IsConst); 153Assert.False(n2.IsStatic); 156Assert.False(mod.IsOptional); 160Assert.False(n3.IsConst); 161Assert.False(n3.IsVolatile); 259Assert.False(mem.HasConstantValue); 520Assert.False(goo.IsFixedSizeBuffer);
Symbols\Source\FileModifierTests.cs (6)
100Assert.False(((SourceMemberContainerTypeSymbol)classC).IsFileLocal); 850Assert.False(outer1.FilePathChecksumOpt.SequenceEqual(outer2.FilePathChecksumOpt)); 857Assert.False(bytes1.SequenceEqual(bytes2)); 4246Assert.False(sourceTypeCByMetadataName is SourceMemberContainerTypeSymbol { IsFileLocal: true }); 4435Assert.False(type.IsFileLocal); 4458Assert.False(type.IsFileLocal);
Symbols\Source\LocalTests.cs (7)
36Assert.False(symbol.IsUsing); 38Assert.False(symbol.IsForEach()); // VB extension method works only for VB locals 64Assert.False(local.IsUsing); 90Assert.False(symbol.IsUsing); 115Assert.False(symbol.IsForEach); 140Assert.False(symbol.IsForEach); 163Assert.False(symbol.IsForEach);
Symbols\Source\MethodTests.cs (106)
600Assert.False(m0.IsAbstract); 601Assert.False(m0.IsOverride); 602Assert.False(m0.IsSealed); 603Assert.False(m0.IsVirtual); 607Assert.False(m1.IsAbstract); 609Assert.False(m1.IsSealed); 610Assert.False(m1.IsVirtual); 614Assert.False(m2.IsAbstract); 616Assert.False(m2.IsSealed); 617Assert.False(m2.IsVirtual); 621Assert.False(m3.IsAbstract); 624Assert.False(m3.IsVirtual); 628Assert.False(m4.IsAbstract); 630Assert.False(m4.IsSealed); 631Assert.False(m4.IsVirtual); 635Assert.False(m5.IsAbstract); 636Assert.False(m5.IsOverride); 637Assert.False(m5.IsSealed); 638Assert.False(m5.IsVirtual); 643Assert.False(m6.IsAbstract); 645Assert.False(m6.IsSealed); 646Assert.False(m6.IsVirtual); 661Assert.False(mm.IsAbstract); 662Assert.False(mm.IsOverride); 663Assert.False(mm.IsSealed); 664Assert.False(mm.IsVirtual); 673Assert.False(m1.IsOverride); 674Assert.False(m1.IsSealed); 675Assert.False(m1.IsVirtual); 680Assert.False(m2.IsOverride); 681Assert.False(m2.IsSealed); 682Assert.False(m2.IsVirtual); 686Assert.False(m3.IsAbstract); 687Assert.False(m3.IsOverride); 688Assert.False(m3.IsSealed); 693Assert.False(m4.IsAbstract); 694Assert.False(m4.IsOverride); 695Assert.False(m4.IsSealed); 700Assert.False(m5.IsAbstract); 701Assert.False(m5.IsOverride); 702Assert.False(m5.IsSealed); 703Assert.False(m5.IsVirtual); 709Assert.False(m6.IsOverride); 710Assert.False(m6.IsSealed); 711Assert.False(m6.IsVirtual); 793Assert.False(m0.IsAbstract); 794Assert.False(m0.IsOverride); 795Assert.False(m0.IsSealed); 796Assert.False(m0.IsVirtual); 800Assert.False(m1.IsAbstract); 802Assert.False(m1.IsSealed); 803Assert.False(m1.IsVirtual); 807Assert.False(m2.IsAbstract); 809Assert.False(m2.IsSealed); 810Assert.False(m2.IsVirtual); 814Assert.False(m3.IsAbstract); 817Assert.False(m3.IsVirtual); 821Assert.False(m4.IsAbstract); 823Assert.False(m4.IsSealed); 824Assert.False(m4.IsVirtual); 828Assert.False(m5.IsAbstract); 829Assert.False(m5.IsOverride); 830Assert.False(m5.IsSealed); 831Assert.False(m5.IsVirtual); 836Assert.False(m6.IsAbstract); 838Assert.False(m6.IsSealed); 839Assert.False(m6.IsVirtual); 853Assert.False(mm.IsAbstract); 854Assert.False(mm.IsOverride); 855Assert.False(mm.IsSealed); 856Assert.False(mm.IsVirtual); 860Assert.False(m0.IsAbstract); 861Assert.False(m0.IsOverride); 862Assert.False(m0.IsSealed); 863Assert.False(m0.IsVirtual); 868Assert.False(m1.IsOverride); 869Assert.False(m1.IsSealed); 870Assert.False(m1.IsVirtual); 875Assert.False(m2.IsOverride); 876Assert.False(m2.IsSealed); 877Assert.False(m2.IsVirtual); 881Assert.False(m3.IsAbstract); 882Assert.False(m3.IsOverride); 883Assert.False(m3.IsSealed); 888Assert.False(m4.IsAbstract); 889Assert.False(m4.IsOverride); 890Assert.False(m4.IsSealed); 895Assert.False(m5.IsAbstract); 896Assert.False(m5.IsOverride); 897Assert.False(m5.IsSealed); 898Assert.False(m5.IsVirtual); 904Assert.False(m6.IsOverride); 905Assert.False(m6.IsSealed); 906Assert.False(m6.IsVirtual); 1171Assert.False(type1.IsReferenceType); 1208Assert.False(type2.IsValueType); 1265Assert.False(type1.IsValueType); 1865Assert.False(method3.IsVirtual); 1866Assert.False(method4.IsVirtual); 1870Assert.False(((Cci.IMethodDefinition)method3.GetCciAdapter()).IsVirtual); 1886Assert.False(method3.IsVirtual); 1887Assert.False(method4.IsVirtual); 2546Assert.False(partialImpl.IsPartialDefinition); 2579Assert.False(partialDefConstructed.IsPartialDefinition); 2584Assert.False(partialImpl.IsPartialDefinition); 2585Assert.False(partialImplConstructed.IsPartialDefinition);
Symbols\Source\NullablePublicAPITests.cs (2)
1748Assert.False(isNullableAnalysisEnabled(comp)); 2844Assert.False(event1.Equals(event2, SymbolEqualityComparer.IncludeNullability));
Symbols\Source\PropertyTests.cs (5)
720Assert.False(goodStatic.MustCallMethodsDirectly); 737Assert.False(goodInstance.MustCallMethodsDirectly); 2561Assert.False(property.MustCallMethodsDirectly); 2614Assert.False(comp.ExternalReferences[1].Properties.EmbedInteropTypes); 2632Assert.False(comp.ExternalReferences[1].Properties.EmbedInteropTypes);
Symbols\Source\RecordTests.cs (22)
155Assert.False(x.IsReadOnly); 156Assert.False(x.IsWriteOnly); 157Assert.False(x.IsImplicitlyDeclared); 159Assert.False(x.IsVirtual); 160Assert.False(x.IsStatic); 189Assert.False(y.IsReadOnly); 190Assert.False(y.IsWriteOnly); 191Assert.False(y.IsImplicitlyDeclared); 193Assert.False(x.IsVirtual); 194Assert.False(x.IsStatic); 1431Assert.False(clone.IsOverride); 1433Assert.False(clone.IsAbstract); 1440Assert.False(clone2.IsVirtual); 1441Assert.False(clone2.IsAbstract); 1474Assert.False(clone.IsOverride); 1475Assert.False(clone.IsVirtual); 1485Assert.False(clone2.IsVirtual); 1496Assert.False(clone3.IsVirtual); 1497Assert.False(clone3.IsAbstract); 1507Assert.False(clone4.IsVirtual); 1518Assert.False(clone5.IsVirtual); 1519Assert.False(clone5.IsAbstract);
Symbols\StaticAbstractMembersInInterfacesTests.cs (548)
2646Assert.False(m01.IsVirtual); 2648Assert.False(m01.IsSealed); 2650Assert.False(m01.IsExtern); 2651Assert.False(m01.IsAsync); 2652Assert.False(m01.IsOverride); 2657Assert.False(m02.IsAbstract); 2660Assert.False(m02.IsSealed); 2662Assert.False(m02.IsExtern); 2663Assert.False(m02.IsAsync); 2664Assert.False(m02.IsOverride); 2669Assert.False(m03.IsAbstract); 2670Assert.False(m03.IsVirtual); 2671Assert.False(m03.IsMetadataVirtual()); 2672Assert.False(m03.IsSealed); 2674Assert.False(m03.IsExtern); 2675Assert.False(m03.IsAsync); 2676Assert.False(m03.IsOverride); 2681Assert.False(m04.IsAbstract); 2682Assert.False(m04.IsVirtual); 2683Assert.False(m04.IsMetadataVirtual()); 2684Assert.False(m04.IsSealed); 2686Assert.False(m04.IsExtern); 2687Assert.False(m04.IsAsync); 2688Assert.False(m04.IsOverride); 2696Assert.False(m05.IsSealed); 2698Assert.False(m05.IsExtern); 2699Assert.False(m05.IsAsync); 2700Assert.False(m05.IsOverride); 2706Assert.False(m06.IsVirtual); 2708Assert.False(m06.IsSealed); 2710Assert.False(m06.IsExtern); 2711Assert.False(m06.IsAsync); 2712Assert.False(m06.IsOverride); 2718Assert.False(m07.IsVirtual); 2720Assert.False(m07.IsSealed); 2722Assert.False(m07.IsExtern); 2723Assert.False(m07.IsAsync); 2724Assert.False(m07.IsOverride); 2729Assert.False(m08.IsAbstract); 2732Assert.False(m08.IsSealed); 2734Assert.False(m08.IsExtern); 2735Assert.False(m08.IsAsync); 2736Assert.False(m08.IsOverride); 2741Assert.False(m09.IsAbstract); 2744Assert.False(m09.IsSealed); 2746Assert.False(m09.IsExtern); 2747Assert.False(m09.IsAsync); 2748Assert.False(m09.IsOverride); 2753Assert.False(m10.IsAbstract); 2754Assert.False(m10.IsVirtual); 2755Assert.False(m10.IsMetadataVirtual()); 2756Assert.False(m10.IsSealed); 2758Assert.False(m10.IsExtern); 2759Assert.False(m10.IsAsync); 2760Assert.False(m10.IsOverride); 4141Assert.False(m01.IsVirtual); 4143Assert.False(m01.IsSealed); 4145Assert.False(m01.IsExtern); 4146Assert.False(m01.IsAsync); 4147Assert.False(m01.IsOverride); 4153Assert.False(m01.IsAbstract); 4154Assert.False(m01.IsVirtual); 4155Assert.False(m01.IsMetadataVirtual()); 4156Assert.False(m01.IsSealed); 4158Assert.False(m01.IsExtern); 4159Assert.False(m01.IsAsync); 4160Assert.False(m01.IsOverride); 4167Assert.False(m01.IsVirtual); 4169Assert.False(m01.IsSealed); 4171Assert.False(m01.IsExtern); 4172Assert.False(m01.IsAsync); 4173Assert.False(m01.IsOverride); 4387Assert.False(m01.IsVirtual); 4389Assert.False(m01.IsSealed); 4391Assert.False(m01.IsExtern); 4392Assert.False(m01.IsAsync); 4393Assert.False(m01.IsOverride); 4399Assert.False(m01.IsAbstract); 4400Assert.False(m01.IsVirtual); 4401Assert.False(m01.IsMetadataVirtual()); 4402Assert.False(m01.IsSealed); 4404Assert.False(m01.IsExtern); 4405Assert.False(m01.IsAsync); 4406Assert.False(m01.IsOverride); 4413Assert.False(m01.IsVirtual); 4415Assert.False(m01.IsSealed); 4417Assert.False(m01.IsExtern); 4418Assert.False(m01.IsAsync); 4419Assert.False(m01.IsOverride); 4572Assert.False(m01.IsAbstract); 4575Assert.False(m01.IsSealed); 4577Assert.False(m01.IsExtern); 4578Assert.False(m01.IsAsync); 4579Assert.False(m01.IsOverride); 4585Assert.False(m01.IsAbstract); 4588Assert.False(m01.IsSealed); 4590Assert.False(m01.IsExtern); 4591Assert.False(m01.IsAsync); 4592Assert.False(m01.IsOverride); 4601Assert.False(m01.IsSealed); 4603Assert.False(m01.IsExtern); 4604Assert.False(m01.IsAsync); 4605Assert.False(m01.IsOverride); 4812Assert.False(m01.IsAbstract); 4815Assert.False(m01.IsSealed); 4817Assert.False(m01.IsExtern); 4818Assert.False(m01.IsAsync); 4819Assert.False(m01.IsOverride); 4825Assert.False(m01.IsAbstract); 4828Assert.False(m01.IsSealed); 4830Assert.False(m01.IsExtern); 4831Assert.False(m01.IsAsync); 4832Assert.False(m01.IsOverride); 4841Assert.False(m01.IsSealed); 4843Assert.False(m01.IsExtern); 4844Assert.False(m01.IsAsync); 4845Assert.False(m01.IsOverride); 5382Assert.False(compilation1.SupportsRuntimeCapability(RuntimeCapability.DefaultImplementationsOfInterfaces)); 5383Assert.False(compilation1.SupportsRuntimeCapability(RuntimeCapability.VirtualStaticsInInterfaces)); 5398Assert.False(compilation2.SupportsRuntimeCapability(RuntimeCapability.VirtualStaticsInInterfaces)); 5423Assert.False(compilation1.SupportsRuntimeCapability(RuntimeCapability.DefaultImplementationsOfInterfaces)); 5424Assert.False(compilation1.SupportsRuntimeCapability(RuntimeCapability.VirtualStaticsInInterfaces)); 5439Assert.False(compilation2.SupportsRuntimeCapability(RuntimeCapability.VirtualStaticsInInterfaces)); 10083Assert.False(binaryIsAbstract); 10084Assert.False(op == "&" ? falseIsAbstract : trueIsAbstract); 16078Assert.False(cM01.IsAbstract); 16079Assert.False(cM01.IsVirtual); 16080Assert.False(cM01.IsMetadataVirtual()); 16081Assert.False(cM01.IsMetadataFinal); 16082Assert.False(cM01.IsMetadataNewSlot()); 16140Assert.False(cM01.IsAbstract); 16141Assert.False(cM01.IsVirtual); 16142Assert.False(cM01.IsMetadataVirtual()); 16143Assert.False(cM01.IsMetadataFinal); 16144Assert.False(cM01.IsMetadataNewSlot()); 16486Assert.False(c2M01.IsAbstract); 16487Assert.False(c2M01.IsVirtual); 16488Assert.False(c2M01.IsMetadataVirtual()); 16489Assert.False(c2M01.IsMetadataFinal); 16490Assert.False(c2M01.IsMetadataNewSlot()); 16571Assert.False(c1M01.IsAbstract); 16572Assert.False(c1M01.IsVirtual); 16573Assert.False(c1M01.IsMetadataVirtual()); 16574Assert.False(c1M01.IsMetadataFinal); 16575Assert.False(c1M01.IsMetadataNewSlot()); 16587Assert.False(c1M01.IsAbstract); 16588Assert.False(c1M01.IsVirtual); 16589Assert.False(c1M01.IsMetadataVirtual()); 16590Assert.False(c1M01.IsMetadataFinal); 16591Assert.False(c1M01.IsMetadataNewSlot()); 16608Assert.False(c2M01.IsAbstract); 16609Assert.False(c2M01.IsVirtual); 16610Assert.False(c2M01.IsMetadataVirtual()); 16611Assert.False(c2M01.IsMetadataFinal); 16612Assert.False(c2M01.IsMetadataNewSlot()); 19313Assert.False(cM01.IsAbstract); 19314Assert.False(cM01.IsVirtual); 19315Assert.False(cM01.IsMetadataVirtual()); 19316Assert.False(cM01.IsMetadataFinal); 19317Assert.False(cM01.IsMetadataNewSlot()); 19319Assert.False(cM01.HasRuntimeSpecialName); 19394Assert.False(cM01.IsAbstract); 19395Assert.False(cM01.IsVirtual); 19396Assert.False(cM01.IsMetadataVirtual()); 19397Assert.False(cM01.IsMetadataFinal); 19398Assert.False(cM01.IsMetadataNewSlot()); 19400Assert.False(cM01.HasRuntimeSpecialName); 19486Assert.False(cM01.IsAbstract); 19487Assert.False(cM01.IsVirtual); 19488Assert.False(cM01.IsMetadataVirtual()); 19489Assert.False(cM01.IsMetadataFinal); 19490Assert.False(cM01.IsMetadataNewSlot()); 19492Assert.False(cM01.HasRuntimeSpecialName); 19584Assert.False(cM01.IsAbstract); 19585Assert.False(cM01.IsVirtual); 19586Assert.False(cM01.IsMetadataVirtual()); 19587Assert.False(cM01.IsMetadataFinal); 19588Assert.False(cM01.IsMetadataNewSlot()); 19590Assert.False(cM01.HasRuntimeSpecialName); 19591Assert.False(cM01.HasSpecialName); 19667Assert.False(cM01.IsAbstract); 19668Assert.False(cM01.IsVirtual); 19669Assert.False(cM01.IsMetadataVirtual()); 19670Assert.False(cM01.IsMetadataFinal); 19671Assert.False(cM01.IsMetadataNewSlot()); 19673Assert.False(cM01.HasRuntimeSpecialName); 19674Assert.False(cM01.HasSpecialName); 19759Assert.False(cM01.IsAbstract); 19760Assert.False(cM01.IsVirtual); 19761Assert.False(cM01.IsMetadataVirtual()); 19762Assert.False(cM01.IsMetadataFinal); 19763Assert.False(cM01.IsMetadataNewSlot()); 19765Assert.False(cM01.HasRuntimeSpecialName); 19766Assert.False(cM01.HasSpecialName); 19848Assert.False(cM01.IsAbstract); 19849Assert.False(cM01.IsVirtual); 19850Assert.False(cM01.IsMetadataVirtual()); 19851Assert.False(cM01.IsMetadataFinal); 19852Assert.False(cM01.IsMetadataNewSlot()); 19854Assert.False(cM01.HasRuntimeSpecialName); 19855Assert.False(cM01.HasSpecialName); 20803Assert.False(c2M01.IsAbstract); 20804Assert.False(c2M01.IsVirtual); 20805Assert.False(c2M01.IsMetadataVirtual()); 20806Assert.False(c2M01.IsMetadataFinal); 20807Assert.False(c2M01.IsMetadataNewSlot()); 20812Assert.False(c2M01.HasRuntimeSpecialName); 20813Assert.False(c2M01.HasSpecialName); 20834Assert.False(c2M01.HasRuntimeSpecialName); 20919Assert.False(c1M01.IsAbstract); 20920Assert.False(c1M01.IsVirtual); 20921Assert.False(c1M01.IsMetadataVirtual()); 20922Assert.False(c1M01.IsMetadataFinal); 20923Assert.False(c1M01.IsMetadataNewSlot()); 20935Assert.False(c1M01.IsAbstract); 20936Assert.False(c1M01.IsVirtual); 20937Assert.False(c1M01.IsMetadataVirtual()); 20938Assert.False(c1M01.IsMetadataFinal); 20939Assert.False(c1M01.IsMetadataNewSlot()); 20956Assert.False(c2M01.IsAbstract); 20957Assert.False(c2M01.IsVirtual); 20958Assert.False(c2M01.IsMetadataVirtual()); 20959Assert.False(c2M01.IsMetadataFinal); 20960Assert.False(c2M01.IsMetadataNewSlot()); 21030Assert.False(c1M01.IsAbstract); 21031Assert.False(c1M01.IsVirtual); 21032Assert.False(c1M01.IsMetadataVirtual()); 21033Assert.False(c1M01.IsMetadataFinal); 21034Assert.False(c1M01.IsMetadataNewSlot()); 21046Assert.False(c1M01.IsAbstract); 21047Assert.False(c1M01.IsVirtual); 21048Assert.False(c1M01.IsMetadataVirtual()); 21049Assert.False(c1M01.IsMetadataFinal); 21050Assert.False(c1M01.IsMetadataNewSlot()); 21067Assert.False(c2M01.IsAbstract); 21068Assert.False(c2M01.IsVirtual); 21069Assert.False(c2M01.IsMetadataVirtual()); 21070Assert.False(c2M01.IsMetadataFinal); 21071Assert.False(c2M01.IsMetadataNewSlot()); 21165Assert.False(c1M01.IsAbstract); 21166Assert.False(c1M01.IsVirtual); 21167Assert.False(c1M01.IsMetadataVirtual()); 21168Assert.False(c1M01.IsMetadataFinal); 21169Assert.False(c1M01.IsMetadataNewSlot()); 21181Assert.False(c1M01.IsAbstract); 21182Assert.False(c1M01.IsVirtual); 21183Assert.False(c1M01.IsMetadataVirtual()); 21184Assert.False(c1M01.IsMetadataFinal); 21185Assert.False(c1M01.IsMetadataNewSlot()); 21201Assert.False(c2M01.IsAbstract); 21202Assert.False(c2M01.IsVirtual); 21203Assert.False(c2M01.IsMetadataVirtual()); 21204Assert.False(c2M01.IsMetadataFinal); 21205Assert.False(c2M01.IsMetadataNewSlot()); 22943Assert.False(cM01.IsAbstract); 22944Assert.False(cM01.IsVirtual); 22952Assert.False(cM01Get.IsAbstract); 22953Assert.False(cM01Get.IsVirtual); 22954Assert.False(cM01Get.IsMetadataVirtual()); 22955Assert.False(cM01Get.IsMetadataFinal); 22956Assert.False(cM01Get.IsMetadataNewSlot()); 22958Assert.False(cM01Get.HasRuntimeSpecialName); 22967Assert.False(cM01Set.IsAbstract); 22968Assert.False(cM01Set.IsVirtual); 22969Assert.False(cM01Set.IsMetadataVirtual()); 22970Assert.False(cM01Set.IsMetadataFinal); 22971Assert.False(cM01Set.IsMetadataNewSlot()); 22973Assert.False(cM01Set.HasRuntimeSpecialName); 23039Assert.False(cM01.IsAbstract); 23040Assert.False(cM01.IsVirtual); 23048Assert.False(cM01Get.IsAbstract); 23049Assert.False(cM01Get.IsVirtual); 23050Assert.False(cM01Get.IsMetadataVirtual()); 23051Assert.False(cM01Get.IsMetadataFinal); 23052Assert.False(cM01Get.IsMetadataNewSlot()); 23060Assert.False(cM01Set.IsAbstract); 23061Assert.False(cM01Set.IsVirtual); 23062Assert.False(cM01Set.IsMetadataVirtual()); 23063Assert.False(cM01Set.IsMetadataFinal); 23064Assert.False(cM01Set.IsMetadataNewSlot()); 23129Assert.False(cM01.IsAbstract); 23130Assert.False(cM01.IsVirtual); 23138Assert.False(cM01Get.IsAbstract); 23139Assert.False(cM01Get.IsVirtual); 23140Assert.False(cM01Get.IsMetadataVirtual()); 23141Assert.False(cM01Get.IsMetadataFinal); 23142Assert.False(cM01Get.IsMetadataNewSlot()); 23144Assert.False(cM01Get.HasRuntimeSpecialName); 23153Assert.False(cM01Set.IsAbstract); 23154Assert.False(cM01Set.IsVirtual); 23155Assert.False(cM01Set.IsMetadataVirtual()); 23156Assert.False(cM01Set.IsMetadataFinal); 23157Assert.False(cM01Set.IsMetadataNewSlot()); 23159Assert.False(cM01Set.HasRuntimeSpecialName); 23662Assert.False(cM01.IsAbstract); 23663Assert.False(cM01.IsVirtual); 23671Assert.False(cM01Get.IsAbstract); 23672Assert.False(cM01Get.IsVirtual); 23673Assert.False(cM01Get.IsMetadataVirtual()); 23674Assert.False(cM01Get.IsMetadataFinal); 23675Assert.False(cM01Get.IsMetadataNewSlot()); 23720Assert.False(cM01.IsAbstract); 23721Assert.False(cM01.IsVirtual); 23729Assert.False(cM01Get.IsAbstract); 23730Assert.False(cM01Get.IsVirtual); 23731Assert.False(cM01Get.IsMetadataVirtual()); 23732Assert.False(cM01Get.IsMetadataFinal); 23733Assert.False(cM01Get.IsMetadataNewSlot()); 23741Assert.False(cM01Set.IsAbstract); 23742Assert.False(cM01Set.IsVirtual); 23743Assert.False(cM01Set.IsMetadataVirtual()); 23744Assert.False(cM01Set.IsMetadataFinal); 23745Assert.False(cM01Set.IsMetadataNewSlot()); 23824Assert.False(cM01.IsAbstract); 23825Assert.False(cM01.IsVirtual); 23833Assert.False(cM01Get.IsAbstract); 23834Assert.False(cM01Get.IsVirtual); 23835Assert.False(cM01Get.IsMetadataVirtual()); 23836Assert.False(cM01Get.IsMetadataFinal); 23837Assert.False(cM01Get.IsMetadataNewSlot()); 24014Assert.False(cM01.IsAbstract); 24015Assert.False(cM01.IsVirtual); 24023Assert.False(cM01Set.IsAbstract); 24024Assert.False(cM01Set.IsVirtual); 24025Assert.False(cM01Set.IsMetadataVirtual()); 24026Assert.False(cM01Set.IsMetadataFinal); 24027Assert.False(cM01Set.IsMetadataNewSlot()); 24072Assert.False(cM01.IsAbstract); 24073Assert.False(cM01.IsVirtual); 24081Assert.False(cM01Set.IsAbstract); 24082Assert.False(cM01Set.IsVirtual); 24083Assert.False(cM01Set.IsMetadataVirtual()); 24084Assert.False(cM01Set.IsMetadataFinal); 24085Assert.False(cM01Set.IsMetadataNewSlot()); 24093Assert.False(cM01Get.IsAbstract); 24094Assert.False(cM01Get.IsVirtual); 24095Assert.False(cM01Get.IsMetadataVirtual()); 24096Assert.False(cM01Get.IsMetadataFinal); 24097Assert.False(cM01Get.IsMetadataNewSlot()); 24176Assert.False(cM01.IsAbstract); 24177Assert.False(cM01.IsVirtual); 24185Assert.False(cM01Set.IsAbstract); 24186Assert.False(cM01Set.IsVirtual); 24187Assert.False(cM01Set.IsMetadataVirtual()); 24188Assert.False(cM01Set.IsMetadataFinal); 24189Assert.False(cM01Set.IsMetadataNewSlot()); 24402Assert.False(c2M01Get.IsAbstract); 24403Assert.False(c2M01Get.IsVirtual); 24404Assert.False(c2M01Get.IsMetadataVirtual()); 24405Assert.False(c2M01Get.IsMetadataFinal); 24406Assert.False(c2M01Get.IsMetadataNewSlot()); 24409Assert.False(c2M01Set.IsAbstract); 24410Assert.False(c2M01Set.IsVirtual); 24411Assert.False(c2M01Set.IsMetadataVirtual()); 24412Assert.False(c2M01Set.IsMetadataFinal); 24413Assert.False(c2M01Set.IsMetadataNewSlot()); 24418Assert.False(c2M01Get.HasRuntimeSpecialName); 24419Assert.False(c2M01Get.HasSpecialName); 24424Assert.False(c2M01Set.HasRuntimeSpecialName); 24425Assert.False(c2M01Set.HasSpecialName); 24466Assert.False(c2M01.IsAbstract); 24467Assert.False(c2M01.IsVirtual); 24473Assert.False(c2M01Get.HasRuntimeSpecialName); 24479Assert.False(c2M01Set.HasRuntimeSpecialName); 24593Assert.False(c1M01.IsAbstract); 24594Assert.False(c1M01.IsVirtual); 24599Assert.False(c1M01Get.IsAbstract); 24600Assert.False(c1M01Get.IsVirtual); 24601Assert.False(c1M01Get.IsMetadataVirtual()); 24602Assert.False(c1M01Get.IsMetadataFinal); 24603Assert.False(c1M01Get.IsMetadataNewSlot()); 24610Assert.False(c1M01Set.IsAbstract); 24611Assert.False(c1M01Set.IsVirtual); 24612Assert.False(c1M01Set.IsMetadataVirtual()); 24613Assert.False(c1M01Set.IsMetadataFinal); 24614Assert.False(c1M01Set.IsMetadataNewSlot()); 24626Assert.False(c1M01Set.IsAbstract); 24627Assert.False(c1M01Set.IsVirtual); 24628Assert.False(c1M01Set.IsMetadataVirtual()); 24629Assert.False(c1M01Set.IsMetadataFinal); 24630Assert.False(c1M01Set.IsMetadataNewSlot()); 24647Assert.False(c2M01.IsAbstract); 24648Assert.False(c2M01.IsVirtual); 24652Assert.False(c2M01Get.IsAbstract); 24653Assert.False(c2M01Get.IsVirtual); 24654Assert.False(c2M01Get.IsMetadataVirtual()); 24655Assert.False(c2M01Get.IsMetadataFinal); 24656Assert.False(c2M01Get.IsMetadataNewSlot()); 24663Assert.False(c2M01Set.IsAbstract); 24664Assert.False(c2M01Set.IsVirtual); 24665Assert.False(c2M01Set.IsMetadataVirtual()); 24666Assert.False(c2M01Set.IsMetadataFinal); 24667Assert.False(c2M01Set.IsMetadataNewSlot()); 24687Assert.False(c3M01.IsAbstract); 24688Assert.False(c3M01.IsVirtual); 24692Assert.False(c3M01Get.IsAbstract); 24693Assert.False(c3M01Get.IsVirtual); 24694Assert.False(c3M01Get.IsMetadataVirtual()); 24695Assert.False(c3M01Get.IsMetadataFinal); 24696Assert.False(c3M01Get.IsMetadataNewSlot()); 24703Assert.False(c3M01Set.IsAbstract); 24704Assert.False(c3M01Set.IsVirtual); 24705Assert.False(c3M01Set.IsMetadataVirtual()); 24706Assert.False(c3M01Set.IsMetadataFinal); 24707Assert.False(c3M01Set.IsMetadataNewSlot()); 25721Assert.False(cM01.IsAbstract); 25722Assert.False(cM01.IsVirtual); 25730Assert.False(cM01Add.IsAbstract); 25731Assert.False(cM01Add.IsVirtual); 25732Assert.False(cM01Add.IsMetadataVirtual()); 25733Assert.False(cM01Add.IsMetadataFinal); 25734Assert.False(cM01Add.IsMetadataNewSlot()); 25736Assert.False(cM01Add.HasRuntimeSpecialName); 25745Assert.False(cM01Remove.IsAbstract); 25746Assert.False(cM01Remove.IsVirtual); 25747Assert.False(cM01Remove.IsMetadataVirtual()); 25748Assert.False(cM01Remove.IsMetadataFinal); 25749Assert.False(cM01Remove.IsMetadataNewSlot()); 25751Assert.False(cM01Remove.HasRuntimeSpecialName); 25816Assert.False(cM01.IsAbstract); 25817Assert.False(cM01.IsVirtual); 25825Assert.False(cM01Add.IsAbstract); 25826Assert.False(cM01Add.IsVirtual); 25827Assert.False(cM01Add.IsMetadataVirtual()); 25828Assert.False(cM01Add.IsMetadataFinal); 25829Assert.False(cM01Add.IsMetadataNewSlot()); 25831Assert.False(cM01Add.HasRuntimeSpecialName); 25840Assert.False(cM01Remove.IsAbstract); 25841Assert.False(cM01Remove.IsVirtual); 25842Assert.False(cM01Remove.IsMetadataVirtual()); 25843Assert.False(cM01Remove.IsMetadataFinal); 25844Assert.False(cM01Remove.IsMetadataNewSlot()); 25846Assert.False(cM01Remove.HasRuntimeSpecialName); 26364Assert.False(cM01.IsAbstract); 26365Assert.False(cM01.IsVirtual); 26373Assert.False(cM01Add.IsAbstract); 26374Assert.False(cM01Add.IsVirtual); 26375Assert.False(cM01Add.IsMetadataVirtual()); 26376Assert.False(cM01Add.IsMetadataFinal); 26377Assert.False(cM01Add.IsMetadataNewSlot()); 26385Assert.False(cM01Remove.IsAbstract); 26386Assert.False(cM01Remove.IsVirtual); 26387Assert.False(cM01Remove.IsMetadataVirtual()); 26388Assert.False(cM01Remove.IsMetadataFinal); 26389Assert.False(cM01Remove.IsMetadataNewSlot()); 26638Assert.False(cM01.IsAbstract); 26639Assert.False(cM01.IsVirtual); 26647Assert.False(cM01Remove.IsAbstract); 26648Assert.False(cM01Remove.IsVirtual); 26649Assert.False(cM01Remove.IsMetadataVirtual()); 26650Assert.False(cM01Remove.IsMetadataFinal); 26651Assert.False(cM01Remove.IsMetadataNewSlot()); 26659Assert.False(cM01Add.IsAbstract); 26660Assert.False(cM01Add.IsVirtual); 26661Assert.False(cM01Add.IsMetadataVirtual()); 26662Assert.False(cM01Add.IsMetadataFinal); 26663Assert.False(cM01Add.IsMetadataNewSlot()); 26930Assert.False(c2M01Add.IsAbstract); 26931Assert.False(c2M01Add.IsVirtual); 26932Assert.False(c2M01Add.IsMetadataVirtual()); 26933Assert.False(c2M01Add.IsMetadataFinal); 26934Assert.False(c2M01Add.IsMetadataNewSlot()); 26937Assert.False(c2M01Remove.IsAbstract); 26938Assert.False(c2M01Remove.IsVirtual); 26939Assert.False(c2M01Remove.IsMetadataVirtual()); 26940Assert.False(c2M01Remove.IsMetadataFinal); 26941Assert.False(c2M01Remove.IsMetadataNewSlot()); 26946Assert.False(c2M01Add.HasRuntimeSpecialName); 26947Assert.False(c2M01Add.HasSpecialName); 26952Assert.False(c2M01Remove.HasRuntimeSpecialName); 26953Assert.False(c2M01Remove.HasSpecialName); 26994Assert.False(c2M01.IsAbstract); 26995Assert.False(c2M01.IsVirtual); 27001Assert.False(c2M01Add.HasRuntimeSpecialName); 27007Assert.False(c2M01Remove.HasRuntimeSpecialName); 27203Assert.False(c2M01.IsAbstract); 27204Assert.False(c2M01.IsVirtual); 27208Assert.False(c2M01Add.IsAbstract); 27209Assert.False(c2M01Add.IsVirtual); 27210Assert.False(c2M01Add.IsMetadataVirtual()); 27211Assert.False(c2M01Add.IsMetadataFinal); 27212Assert.False(c2M01Add.IsMetadataNewSlot()); 27220Assert.False(c2M01Remove.IsAbstract); 27221Assert.False(c2M01Remove.IsVirtual); 27222Assert.False(c2M01Remove.IsMetadataVirtual()); 27223Assert.False(c2M01Remove.IsMetadataFinal); 27224Assert.False(c2M01Remove.IsMetadataNewSlot()); 27316Assert.False(c4M02.IsAbstract); 27317Assert.False(c4M02.IsVirtual); 27321Assert.False(c4M02Add.IsAbstract); 27322Assert.False(c4M02Add.IsVirtual); 27323Assert.False(c4M02Add.IsMetadataVirtual()); 27324Assert.False(c4M02Add.IsMetadataFinal); 27325Assert.False(c4M02Add.IsMetadataNewSlot()); 27334Assert.False(c4M02Remove.IsAbstract); 27335Assert.False(c4M02Remove.IsVirtual); 27336Assert.False(c4M02Remove.IsMetadataVirtual()); 27337Assert.False(c4M02Remove.IsMetadataFinal); 27338Assert.False(c4M02Remove.IsMetadataNewSlot()); 28670Assert.False(cM01.IsAbstract); 28671Assert.False(cM01.IsVirtual); 28672Assert.False(cM01.IsMetadataVirtual()); 28673Assert.False(cM01.IsMetadataFinal); 28674Assert.False(cM01.IsMetadataNewSlot()); 28676Assert.False(cM01.HasRuntimeSpecialName); 28695Assert.False(cM02.IsAbstract); 28696Assert.False(cM02.IsVirtual); 28697Assert.False(cM02.IsMetadataVirtual()); 28698Assert.False(cM02.IsMetadataFinal); 28699Assert.False(cM02.IsMetadataNewSlot()); 28701Assert.False(cM02.HasRuntimeSpecialName); 28796Assert.False(cM01.IsAbstract); 28797Assert.False(cM01.IsVirtual); 28798Assert.False(cM01.IsMetadataVirtual()); 28799Assert.False(cM01.IsMetadataFinal); 28800Assert.False(cM01.IsMetadataNewSlot()); 28802Assert.False(cM01.HasRuntimeSpecialName); 28803Assert.False(cM01.HasSpecialName); 28812Assert.False(cM02.IsAbstract); 28813Assert.False(cM02.IsVirtual); 28814Assert.False(cM02.IsMetadataVirtual()); 28815Assert.False(cM02.IsMetadataFinal); 28816Assert.False(cM02.IsMetadataNewSlot()); 28818Assert.False(cM02.HasRuntimeSpecialName); 28819Assert.False(cM02.HasSpecialName); 29262Assert.False(c2M01.IsAbstract); 29263Assert.False(c2M01.IsVirtual); 29264Assert.False(c2M01.IsMetadataVirtual()); 29265Assert.False(c2M01.IsMetadataFinal); 29266Assert.False(c2M01.IsMetadataNewSlot()); 29271Assert.False(c2M01.HasRuntimeSpecialName); 29272Assert.False(c2M01.HasSpecialName); 29293Assert.False(c2M01.HasRuntimeSpecialName); 29377Assert.False(c1M01.IsAbstract); 29378Assert.False(c1M01.IsVirtual); 29379Assert.False(c1M01.IsMetadataVirtual()); 29380Assert.False(c1M01.IsMetadataFinal); 29381Assert.False(c1M01.IsMetadataNewSlot()); 29393Assert.False(c1M01.IsAbstract); 29394Assert.False(c1M01.IsVirtual); 29395Assert.False(c1M01.IsMetadataVirtual()); 29396Assert.False(c1M01.IsMetadataFinal); 29397Assert.False(c1M01.IsMetadataNewSlot()); 29414Assert.False(c2M01.IsAbstract); 29415Assert.False(c2M01.IsVirtual); 29416Assert.False(c2M01.IsMetadataVirtual()); 29417Assert.False(c2M01.IsMetadataFinal); 29418Assert.False(c2M01.IsMetadataNewSlot());
Symbols\SymbolDistinguisherTests.cs (2)
702Assert.False(AreEqual(new SymbolDistinguisher(compilation, sA, sB), new SymbolDistinguisher(compilation, sA, sC))); 703Assert.False(AreEqual(new SymbolDistinguisher(compilation, sA, sB), new SymbolDistinguisher(compilation, sC, sB)));
Symbols\SymbolEqualityTests.cs (10)
207Assert.False(field1.Equals(field2)); 208Assert.False(field2.Equals(field1)); 380Assert.False(SymbolEqualityComparer.Default.Equals(symbol1, symbol2)); 381Assert.False(SymbolEqualityComparer.Default.Equals(symbol2, symbol1)); 383Assert.False(SymbolEqualityComparer.ConsiderEverything.Equals(symbol1, symbol2)); 384Assert.False(SymbolEqualityComparer.ConsiderEverything.Equals(symbol2, symbol1)); 421Assert.False(member1.Equals(member2)); 422Assert.False(member2.Equals(member1)); 429Assert.False(field1.Equals(field2)); 430Assert.False(field2.Equals(field1));
Symbols\SymbolErrorTests.cs (1)
18462Assert.False(methods.Any(n => n.StartsWith("B..ctor", StringComparison.Ordinal))); // Haven't tried to emit it
Symbols\TypeTests.cs (1)
1861Assert.False(symbol.ContainingType.IsUnboundGenericType);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (581)
Diagnostics\DiagnosticTest.cs (1)
224Assert.False(ErrorFacts.IsWarning(errorCode));
Diagnostics\LocationsTests.cs (3)
532Assert.False(lineInfo.HasMappedPath); 537Assert.False(mappedLineInfo.HasMappedPath); 542Assert.False(lineInfo.HasMappedPath);
IncrementalParsing\GrammarAmbiguities.cs (1)
91Assert.False(originalTree.GetCompilationUnitRoot().ContainsDiagnostics);
IncrementalParsing\IncrementalParsingTests.cs (4)
493Assert.False(tree.GetRoot().DescendantNodesAndSelf().Any(n => n is CollectionExpressionSyntax)); 502Assert.False(tree.GetRoot().DescendantNodesAndSelf().Any(n => n is AttributeSyntax)); 524Assert.False(tree.GetRoot().DescendantNodesAndSelf().Any(n => n is AttributeSyntax)); 535Assert.False(tree.GetRoot().DescendantNodesAndSelf().Any(n => n is CollectionExpressionSyntax));
LexicalAndXml\LexicalTests.cs (5)
167Assert.False(token.ContainsDiagnostics); 175Assert.False(trivia.ContainsDiagnostics); 3824Assert.False(tree.GetRoot().DescendantTokens().Any( 3907Assert.False(token.ContainsDiagnostics); 3930Assert.False(token.ContainsDiagnostics);
LexicalAndXml\PreprocessorTests.cs (3)
168Assert.False(dt.IsActive); 177Assert.False(((BranchingDirectiveTriviaSyntax)dt).BranchTaken); 186Assert.False(((ConditionalDirectiveTriviaSyntax)dt).ConditionValue);
LexicalAndXml\XmlDocCommentTests.cs (4)
1657Assert.False(xmltext.ChildNodesAndTokens()[1].HasLeadingTrivia); 1660Assert.False(xmltext.ChildNodesAndTokens()[2].HasLeadingTrivia); 1718Assert.False(trivias[0].HasStructure); 1719Assert.False(trivias[4].HasStructure);
Parsing\CSharpParseOptionsTests.cs (1)
145Assert.False(options1.Equals(options2));
Parsing\DeclarationParsingTests.cs (108)
45Assert.False(ea.AliasKeyword.IsMissing); 1130Assert.False(cs.ConstraintClauses[0].ColonToken.IsMissing); 1171Assert.False(cs.ConstraintClauses[0].ColonToken.IsMissing); 1233Assert.False(cs.ConstraintClauses[0].ColonToken.IsMissing); 1238Assert.False(bound.NewKeyword.IsMissing); 1240Assert.False(bound.OpenParenToken.IsMissing); 1242Assert.False(bound.CloseParenToken.IsMissing); 1277Assert.False(cs.ConstraintClauses[0].ColonToken.IsMissing); 1282Assert.False(bound.ClassOrStructKeyword.IsMissing); 1318Assert.False(cs.ConstraintClauses[0].ColonToken.IsMissing); 1323Assert.False(bound.ClassOrStructKeyword.IsMissing); 1359Assert.False(cs.ConstraintClauses[0].ColonToken.IsMissing); 1365Assert.False(classBound.ClassOrStructKeyword.IsMissing); 1376Assert.False(bound.NewKeyword.IsMissing); 1378Assert.False(bound.OpenParenToken.IsMissing); 1380Assert.False(bound.CloseParenToken.IsMissing); 1415Assert.False(cs.ConstraintClauses[0].ColonToken.IsMissing); 1426Assert.False(cs.ConstraintClauses[1].ColonToken.IsMissing); 1431Assert.False(bound.NewKeyword.IsMissing); 1433Assert.False(bound.OpenParenToken.IsMissing); 1435Assert.False(bound.CloseParenToken.IsMissing); 1470Assert.False(cs.ConstraintClauses[0].ColonToken.IsMissing); 1516Assert.False(cs.ConstraintClauses[0].ColonToken.IsMissing); 1564Assert.False(cs.ConstraintClauses[0].ColonToken.IsMissing); 1570Assert.False(classBound.ClassOrStructKeyword.IsMissing); 1581Assert.False(bound.NewKeyword.IsMissing); 1583Assert.False(bound.OpenParenToken.IsMissing); 1585Assert.False(bound.CloseParenToken.IsMissing); 2011Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2014Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2016Assert.False(ds.SemicolonToken.IsMissing); 2038Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2041Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2043Assert.False(ds.SemicolonToken.IsMissing); 2066Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2069Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2071Assert.False(ds.SemicolonToken.IsMissing); 2113Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2116Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2118Assert.False(ds.SemicolonToken.IsMissing); 2159Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2170Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2172Assert.False(ds.SemicolonToken.IsMissing); 2194Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2205Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2207Assert.False(ds.SemicolonToken.IsMissing); 2229Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2247Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2249Assert.False(ds.SemicolonToken.IsMissing); 2271Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2283Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2285Assert.False(ds.SemicolonToken.IsMissing); 2307Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2319Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2321Assert.False(ds.SemicolonToken.IsMissing); 2343Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2355Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2357Assert.False(ds.SemicolonToken.IsMissing); 2380Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2389Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2391Assert.False(ds.SemicolonToken.IsMissing); 2413Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2425Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2427Assert.False(ds.SemicolonToken.IsMissing); 2464Assert.False(ds.ParameterList.OpenParenToken.IsMissing); 2467Assert.False(ds.ParameterList.CloseParenToken.IsMissing); 2469Assert.False(ds.SemicolonToken.IsMissing); 2507Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 2510Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 2552Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 2555Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 2598Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 2601Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 2706Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 2709Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 2771Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 2774Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 2818Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 2821Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 2868Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 2871Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 3016Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 3025Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 3068Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 3087Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 3129Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 3142Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 3194Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 3205Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 3268Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 3271Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 3333Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 3342Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 3385Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 3388Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 3433Assert.False(ms.ParameterList.OpenParenToken.IsMissing); 3436Assert.False(ms.ParameterList.CloseParenToken.IsMissing); 3443Assert.False(ms.ConstraintClauses[0].ColonToken.IsMissing); 3634Assert.False(fs.SemicolonToken.IsMissing); 3694Assert.False(fs.SemicolonToken.IsMissing); 3735Assert.False(fs.SemicolonToken.IsMissing); 3790Assert.False(fs.SemicolonToken.IsMissing); 3848Assert.False(fs.SemicolonToken.IsMissing); 3892Assert.False(fs.SemicolonToken.IsMissing); 3937Assert.False(fs.SemicolonToken.IsMissing); 3991Assert.False(fs.SemicolonToken.IsMissing); 4054Assert.False(fs.SemicolonToken.IsMissing); 4100Assert.False(fs.SemicolonToken.IsMissing);
Parsing\DeconstructionTests.cs (12)
1879Assert.False(statement.HasErrors); 1892Assert.False(statement.HasErrors); 1904Assert.False(statement.HasErrors); 1916Assert.False(statement.HasErrors); 1928Assert.False(statement.HasErrors); 1945Assert.False(statement.HasErrors); 1962Assert.False(statement.HasErrors); 1976Assert.False(statement.HasErrors); 1990Assert.False(statement.HasErrors); 2006Assert.False(statement.HasErrors); 2017Assert.False(statement.HasErrors); 2047Assert.False(statement.HasErrors);
Parsing\ExpressionParsingTests.cs (163)
433Assert.False(((IdentifierNameSyntax)expr).Identifier.IsMissing); 804Assert.False(openParen.IsMissing); 806Assert.False(closeParen.IsMissing); 887Assert.False(fs.OpenParenToken.IsMissing); 889Assert.False(fs.CloseParenToken.IsMissing); 921Assert.False(expr.HasErrors); 937Assert.False(cs.OpenParenToken.IsMissing); 938Assert.False(cs.CloseParenToken.IsMissing); 958Assert.False(cs.ArgumentList.OpenParenToken.IsMissing); 959Assert.False(cs.ArgumentList.CloseParenToken.IsMissing); 979Assert.False(cs.ArgumentList.OpenParenToken.IsMissing); 980Assert.False(cs.ArgumentList.CloseParenToken.IsMissing); 1004Assert.False(cs.ArgumentList.OpenParenToken.IsMissing); 1005Assert.False(cs.ArgumentList.CloseParenToken.IsMissing); 1029Assert.False(cs.ArgumentList.OpenParenToken.IsMissing); 1030Assert.False(cs.ArgumentList.CloseParenToken.IsMissing); 1054Assert.False(ea.ArgumentList.OpenBracketToken.IsMissing); 1055Assert.False(ea.ArgumentList.CloseBracketToken.IsMissing); 1075Assert.False(ea.ArgumentList.OpenBracketToken.IsMissing); 1076Assert.False(ea.ArgumentList.CloseBracketToken.IsMissing); 1100Assert.False(ea.ArgumentList.OpenBracketToken.IsMissing); 1101Assert.False(ea.ArgumentList.CloseBracketToken.IsMissing); 1125Assert.False(ea.ArgumentList.OpenBracketToken.IsMissing); 1126Assert.False(ea.ArgumentList.CloseBracketToken.IsMissing); 1147Assert.False(oc.ArgumentList.OpenParenToken.IsMissing); 1148Assert.False(oc.ArgumentList.CloseParenToken.IsMissing); 1169Assert.False(oc.ArgumentList.OpenParenToken.IsMissing); 1170Assert.False(oc.ArgumentList.CloseParenToken.IsMissing); 1192Assert.False(oc.ArgumentList.OpenParenToken.IsMissing); 1193Assert.False(oc.ArgumentList.CloseParenToken.IsMissing); 1215Assert.False(oc.ArgumentList.OpenParenToken.IsMissing); 1216Assert.False(oc.ArgumentList.CloseParenToken.IsMissing); 1224Assert.False(oc.Initializer.OpenBraceToken.IsMissing); 1225Assert.False(oc.Initializer.CloseBraceToken.IsMissing); 1247Assert.False(oc.Initializer.OpenBraceToken.IsMissing); 1248Assert.False(oc.Initializer.CloseBraceToken.IsMissing); 1270Assert.False(oc.Initializer.OpenBraceToken.IsMissing); 1271Assert.False(oc.Initializer.CloseBraceToken.IsMissing); 1294Assert.False(oc.Initializer.OpenBraceToken.IsMissing); 1295Assert.False(oc.Initializer.CloseBraceToken.IsMissing); 1320Assert.False(oc.Initializer.OpenBraceToken.IsMissing); 1321Assert.False(oc.Initializer.CloseBraceToken.IsMissing); 1344Assert.False(oc.Initializer.OpenBraceToken.IsMissing); 1345Assert.False(oc.Initializer.CloseBraceToken.IsMissing); 1848Assert.False(ac.Initializer.OpenBraceToken.IsMissing); 1849Assert.False(ac.Initializer.CloseBraceToken.IsMissing); 1870Assert.False(ac.Initializer.OpenBraceToken.IsMissing); 1871Assert.False(ac.Initializer.CloseBraceToken.IsMissing); 1894Assert.False(ac.Initializer.OpenBraceToken.IsMissing); 1895Assert.False(ac.Initializer.CloseBraceToken.IsMissing); 1914Assert.False(ac.Initializer.OpenBraceToken.IsMissing); 1915Assert.False(ac.Initializer.CloseBraceToken.IsMissing); 1934Assert.False(ac.OpenBraceToken.IsMissing); 1935Assert.False(ac.CloseBraceToken.IsMissing); 1954Assert.False(am.DelegateKeyword.IsMissing); 1959Assert.False(am.ParameterList.OpenParenToken.IsMissing); 1960Assert.False(am.ParameterList.CloseParenToken.IsMissing); 1967Assert.False(am.Block.OpenBraceToken.IsMissing); 1968Assert.False(am.Block.CloseBraceToken.IsMissing); 1985Assert.False(am.DelegateKeyword.IsMissing); 1990Assert.False(am.ParameterList.OpenParenToken.IsMissing); 1991Assert.False(am.ParameterList.CloseParenToken.IsMissing); 1997Assert.False(am.Block.OpenBraceToken.IsMissing); 1998Assert.False(am.Block.CloseBraceToken.IsMissing); 2015Assert.False(am.DelegateKeyword.IsMissing); 2022Assert.False(am.Block.OpenBraceToken.IsMissing); 2023Assert.False(am.Block.CloseBraceToken.IsMissing); 2039Assert.False(lambda.Parameter.Identifier.IsMissing); 2057Assert.False(lambda.Parameter.Identifier.IsMissing); 2075Assert.False(lambda.Parameter.Identifier.IsMissing); 2096Assert.False(lambda.ParameterList.OpenParenToken.IsMissing); 2097Assert.False(lambda.ParameterList.CloseParenToken.IsMissing); 2116Assert.False(lambda.ParameterList.OpenParenToken.IsMissing); 2117Assert.False(lambda.ParameterList.CloseParenToken.IsMissing); 2136Assert.False(lambda.ParameterList.OpenParenToken.IsMissing); 2137Assert.False(lambda.ParameterList.CloseParenToken.IsMissing); 2158Assert.False(lambda.ParameterList.OpenParenToken.IsMissing); 2159Assert.False(lambda.ParameterList.CloseParenToken.IsMissing); 2182Assert.False(lambda.ParameterList.OpenParenToken.IsMissing); 2183Assert.False(lambda.ParameterList.CloseParenToken.IsMissing); 2209Assert.False(lambda.ParameterList.OpenParenToken.IsMissing); 2210Assert.False(lambda.ParameterList.CloseParenToken.IsMissing); 2234Assert.False(lambda.ParameterList.OpenParenToken.IsMissing); 2235Assert.False(lambda.ParameterList.CloseParenToken.IsMissing); 2261Assert.False(tuple.OpenParenToken.IsMissing); 2262Assert.False(tuple.CloseParenToken.IsMissing); 2281Assert.False(tuple.OpenParenToken.IsMissing); 2282Assert.False(tuple.CloseParenToken.IsMissing); 2306Assert.False(fs.FromKeyword.IsMissing); 2310Assert.False(fs.InKeyword.IsMissing); 2317Assert.False(ss.SelectKeyword.IsMissing); 2339Assert.False(fs.FromKeyword.IsMissing); 2344Assert.False(fs.InKeyword.IsMissing); 2350Assert.False(ss.SelectKeyword.IsMissing); 2373Assert.False(fs.FromKeyword.IsMissing); 2377Assert.False(fs.InKeyword.IsMissing); 2383Assert.False(ss.SelectKeyword.IsMissing); 2390Assert.False(qs.Body.Continuation.IntoKeyword.IsMissing); 2400Assert.False(ss.SelectKeyword.IsMissing); 2423Assert.False(fs.FromKeyword.IsMissing); 2427Assert.False(fs.InKeyword.IsMissing); 2434Assert.False(ws.WhereKeyword.IsMissing); 2441Assert.False(ss.SelectKeyword.IsMissing); 2463Assert.False(fs.FromKeyword.IsMissing); 2467Assert.False(fs.InKeyword.IsMissing); 2474Assert.False(fs.FromKeyword.IsMissing); 2478Assert.False(fs.InKeyword.IsMissing); 2484Assert.False(ss.SelectKeyword.IsMissing); 2506Assert.False(fs.FromKeyword.IsMissing); 2510Assert.False(fs.InKeyword.IsMissing); 2518Assert.False(ls.LetKeyword.IsMissing); 2522Assert.False(ls.EqualsToken.IsMissing); 2529Assert.False(ss.SelectKeyword.IsMissing); 2551Assert.False(fs.FromKeyword.IsMissing); 2555Assert.False(fs.InKeyword.IsMissing); 2563Assert.False(obs.OrderByKeyword.IsMissing); 2574Assert.False(ss.SelectKeyword.IsMissing); 2596Assert.False(fs.FromKeyword.IsMissing); 2600Assert.False(fs.InKeyword.IsMissing); 2607Assert.False(obs.OrderByKeyword.IsMissing); 2623Assert.False(ss.SelectKeyword.IsMissing); 2645Assert.False(fs.FromKeyword.IsMissing); 2649Assert.False(fs.InKeyword.IsMissing); 2656Assert.False(obs.OrderByKeyword.IsMissing); 2662Assert.False(os.AscendingOrDescendingKeyword.IsMissing); 2671Assert.False(ss.SelectKeyword.IsMissing); 2693Assert.False(fs.FromKeyword.IsMissing); 2697Assert.False(fs.InKeyword.IsMissing); 2704Assert.False(obs.OrderByKeyword.IsMissing); 2710Assert.False(os.AscendingOrDescendingKeyword.IsMissing); 2719Assert.False(ss.SelectKeyword.IsMissing); 2740Assert.False(fs.FromKeyword.IsMissing); 2744Assert.False(fs.InKeyword.IsMissing); 2751Assert.False(gbs.GroupKeyword.IsMissing); 2756Assert.False(gbs.ByKeyword.IsMissing); 2779Assert.False(fs.FromKeyword.IsMissing); 2783Assert.False(fs.InKeyword.IsMissing); 2789Assert.False(gbs.GroupKeyword.IsMissing); 2793Assert.False(gbs.ByKeyword.IsMissing); 2800Assert.False(qs.Body.Continuation.IntoKeyword.IsMissing); 2810Assert.False(ss.SelectKeyword.IsMissing); 2833Assert.False(fs.FromKeyword.IsMissing); 2837Assert.False(fs.InKeyword.IsMissing); 2844Assert.False(js.JoinKeyword.IsMissing); 2849Assert.False(js.InKeyword.IsMissing); 2854Assert.False(js.OnKeyword.IsMissing); 2859Assert.False(js.EqualsKeyword.IsMissing); 2867Assert.False(ss.SelectKeyword.IsMissing); 2889Assert.False(fs.FromKeyword.IsMissing); 2894Assert.False(fs.InKeyword.IsMissing); 2900Assert.False(js.JoinKeyword.IsMissing); 2906Assert.False(js.InKeyword.IsMissing); 2910Assert.False(js.OnKeyword.IsMissing); 2914Assert.False(js.EqualsKeyword.IsMissing); 2922Assert.False(ss.SelectKeyword.IsMissing); 2944Assert.False(fs.FromKeyword.IsMissing); 2948Assert.False(fs.InKeyword.IsMissing); 2954Assert.False(js.JoinKeyword.IsMissing); 2959Assert.False(js.InKeyword.IsMissing); 2963Assert.False(js.OnKeyword.IsMissing); 2967Assert.False(js.EqualsKeyword.IsMissing); 2972Assert.False(js.Into.IntoKeyword.IsMissing); 2979Assert.False(ss.SelectKeyword.IsMissing);
Parsing\LocalFunctionParsingTests.cs (4)
1290Assert.False(file.HasErrors); 1298Assert.False(s1.ContainsDiagnostics); 1302Assert.False(s1.ContainsDiagnostics); 1344Assert.False(file.HasErrors);
Parsing\NameParsingTests.cs (43)
37Assert.False(((IdentifierNameSyntax)name).Identifier.IsMissing); 50Assert.False(((IdentifierNameSyntax)name).Identifier.IsMissing); 122Assert.False(name.IsMissing); 134Assert.False(name.IsMissing); 150Assert.False(name.IsMissing); 163Assert.False(name.IsMissing); 169Assert.False(name.IsMissing); 192Assert.False(name.IsMissing); 198Assert.False(name.IsMissing); 210Assert.False(name.IsMissing); 214Assert.False(gname.IsUnboundGenericName); 226Assert.False(name.IsMissing); 230Assert.False(gname.IsUnboundGenericName); 242Assert.False(name.IsMissing); 246Assert.False(gname.IsUnboundGenericName); 302Assert.False(name.IsMissing); 319Assert.False(name.IsMissing); 337Assert.False(name.IsMissing); 351Assert.False(name.IsMissing); 365Assert.False(name.IsMissing); 369Assert.False(gname.IsUnboundGenericName); 382Assert.False(name.IsMissing); 386Assert.False(gname.IsUnboundGenericName); 443Assert.False(name.IsMissing); 494Assert.False(name.IsMissing); 509Assert.False(name.IsMissing); 535Assert.False(name.IsMissing); 557Assert.False(name.IsMissing); 579Assert.False(name.IsMissing); 610Assert.False(name.IsMissing); 626Assert.False(gname.IsUnboundGenericName); 651Assert.False(gname.IsUnboundGenericName); 677Assert.False(gname.IsUnboundGenericName); 703Assert.False(gname.IsUnboundGenericName); 716Assert.False(arg2.ContainsDiagnostics); 735Assert.False(gname.IsUnboundGenericName); 760Assert.False(gname.IsUnboundGenericName); 787Assert.False(SyntaxFacts.ContainsDroppedIdentifierCharacters(tok.ValueText)); 803Assert.False(SyntaxFacts.ContainsDroppedIdentifierCharacters(tok.ValueText)); 810Assert.False(SyntaxFacts.ContainsDroppedIdentifierCharacters(null)); 811Assert.False(SyntaxFacts.ContainsDroppedIdentifierCharacters("")); 812Assert.False(SyntaxFacts.ContainsDroppedIdentifierCharacters("a")); 813Assert.False(SyntaxFacts.ContainsDroppedIdentifierCharacters("a@"));
Parsing\ParsingErrorRecoveryTests.cs (59)
6409Assert.False(pd.AccessorList.OpenBraceToken.IsMissing); 6411Assert.False(pd.AccessorList.CloseBraceToken.IsMissing); 6434Assert.False(pd.AccessorList.OpenBraceToken.IsMissing); 6459Assert.False(pd.AccessorList.OpenBraceToken.IsMissing); 6466Assert.False(acc.Keyword.IsMissing); 6494Assert.False(pd.AccessorList.OpenBraceToken.IsMissing); 6501Assert.False(acc.Keyword.IsMissing); 6505Assert.False(acc.Body.OpenBraceToken.IsMissing); 6533Assert.False(pd.AccessorList.OpenBraceToken.IsMissing); 6540Assert.False(acc.Keyword.IsMissing); 6544Assert.False(acc.Body.OpenBraceToken.IsMissing); 6581Assert.False(getBodyStmts[0].ContainsDiagnostics); 6635Assert.False(md.Body.OpenBraceToken.IsMissing); 6637Assert.False(md.Body.CloseBraceToken.IsMissing); 6651Assert.False(oc.OrderByKeyword.IsMissing); 6680Assert.False(md.Body.OpenBraceToken.IsMissing); 6682Assert.False(md.Body.CloseBraceToken.IsMissing); 6696Assert.False(oc.OrderByKeyword.IsMissing); 6701Assert.False(nm.IsMissing); 6724Assert.False(md.Body.OpenBraceToken.IsMissing); 6726Assert.False(md.Body.CloseBraceToken.IsMissing); 6740Assert.False(oc.OrderByKeyword.IsMissing); 6745Assert.False(nm.IsMissing); 6774Assert.False(md.Body.OpenBraceToken.IsMissing); 6790Assert.False(oc.OrderByKeyword.IsMissing); 6822Assert.False(md.Body.OpenBraceToken.IsMissing); 6838Assert.False(oc.OrderByKeyword.IsMissing); 6843Assert.False(nm.IsMissing); 6869Assert.False(md.Body.OpenBraceToken.IsMissing); 6885Assert.False(oc.OrderByKeyword.IsMissing); 6890Assert.False(nm.IsMissing); 6916Assert.False(item1.OpenBraceToken.IsMissing); 6918Assert.False(item1.CloseBraceToken.IsMissing); 6923Assert.False(subitem1.Body.OpenBraceToken.IsMissing); 7018Assert.False(file.ContainsDiagnostics); 7034Assert.False(file.ContainsDiagnostics); 7113Assert.False(((NamespaceDeclarationSyntax)namespaceDeclaration).Name.IsMissing); 7137Assert.False(((FileScopedNamespaceDeclarationSyntax)namespaceDeclaration).Name.IsMissing); 7235Assert.False(file.ContainsDiagnostics); 7284Assert.False(methodDecl.ContainsDiagnostics); 7288Assert.False(methodBody.ContainsDiagnostics); 7301Assert.False(globalStatement.IsMissing); 7304Assert.False(expressionStatement.IsMissing); 7308Assert.False(collectionExpression.IsMissing); 7938Assert.False(classDecl.Identifier.IsMissing); 7942Assert.False(ns.OpenBraceToken.IsMissing); 7943Assert.False(ns.CloseBraceToken.IsMissing); 7959Assert.False(classDecl.Identifier.IsMissing); 7963Assert.False(ns.SemicolonToken.IsMissing); 7983Assert.False(ns.OpenBraceToken.IsMissing); 7984Assert.False(ns.CloseBraceToken.IsMissing); 8004Assert.False(structDecl.OpenBraceToken.IsMissing); 8005Assert.False(structDecl.CloseBraceToken.IsMissing); 8007Assert.False(ns.OpenBraceToken.IsMissing); 8008Assert.False(ns.CloseBraceToken.IsMissing); 8028Assert.False(classDecl.OpenBraceToken.IsMissing); 8029Assert.False(classDecl.CloseBraceToken.IsMissing); 8031Assert.False(ns.OpenBraceToken.IsMissing); 8032Assert.False(ns.CloseBraceToken.IsMissing);
Parsing\ParsingTests.cs (1)
207Assert.False(current.IsMissing);
Parsing\ReadOnlyStructs.cs (11)
45Assert.False(s1.IsRefLikeType); 51Assert.False(s2.IsRefLikeType); 57Assert.False(s3.IsRefLikeType); 119Assert.False(s1.IsRefLikeType); 120Assert.False(s1.IsReadOnly); 125Assert.False(s2.IsRefLikeType); 126Assert.False(s2.IsReadOnly); 131Assert.False(s3.IsRefLikeType); 132Assert.False(s3.IsReadOnly); 187Assert.False(s1.IsRefLikeType); 225Assert.False(s2.IsRefLikeType);
Parsing\ScriptParsingTests.cs (3)
2644Assert.False(tree.GetCompilationUnitRoot().ContainsDiagnostics); 2676Assert.False(tree.GetCompilationUnitRoot().ContainsDiagnostics); 9734Assert.False(shebang.HasStructuredTrivia);
Parsing\StatementParsingTests.cs (93)
69Assert.False(es.SemicolonToken.IsMissing); 89Assert.False(es.SemicolonToken.IsMissing); 108Assert.False(es.SemicolonToken.IsMissing); 128Assert.False(es.SemicolonToken.IsMissing); 148Assert.False(es.SemicolonToken.IsMissing); 164Assert.False(es.SemicolonToken.IsMissing); 204Assert.False(ds.SemicolonToken.IsMissing); 234Assert.False(ds.SemicolonToken.IsMissing); 268Assert.False(ds.SemicolonToken.IsMissing); 309Assert.False(ds.SemicolonToken.IsMissing); 339Assert.False(ds.SemicolonToken.IsMissing); 365Assert.False(ds.SemicolonToken.IsMissing); 391Assert.False(ds.SemicolonToken.IsMissing); 417Assert.False(ds.SemicolonToken.IsMissing); 443Assert.False(ds.SemicolonToken.IsMissing); 469Assert.False(ds.SemicolonToken.IsMissing); 495Assert.False(ds.SemicolonToken.IsMissing); 530Assert.False(ds.SemicolonToken.IsMissing); 555Assert.False(ds.Declaration.Variables[0].Initializer.EqualsToken.IsMissing); 560Assert.False(ds.SemicolonToken.IsMissing); 584Assert.False(ds.Declaration.Variables[0].Initializer.EqualsToken.IsMissing); 592Assert.False(ds.Declaration.Variables[1].Initializer.EqualsToken.IsMissing); 600Assert.False(ds.Declaration.Variables[2].Initializer.EqualsToken.IsMissing); 605Assert.False(ds.SemicolonToken.IsMissing); 630Assert.False(ds.Declaration.Variables[0].Initializer.EqualsToken.IsMissing); 636Assert.False(ds.SemicolonToken.IsMissing); 662Assert.False(ds.Declaration.Variables[0].Initializer.EqualsToken.IsMissing); 667Assert.False(ds.SemicolonToken.IsMissing); 694Assert.False(ds.Declaration.Variables[0].Initializer.EqualsToken.IsMissing); 699Assert.False(ds.SemicolonToken.IsMissing); 726Assert.False(ds.Declaration.Variables[0].Initializer.EqualsToken.IsMissing); 731Assert.False(ds.SemicolonToken.IsMissing); 758Assert.False(ds.Declaration.Variables[0].Initializer.EqualsToken.IsMissing); 763Assert.False(ds.SemicolonToken.IsMissing); 789Assert.False(ds.SemicolonToken.IsMissing); 815Assert.False(initializer.EqualsToken.IsMissing); 820Assert.False(ds.SemicolonToken.IsMissing); 846Assert.False(initializer.EqualsToken.IsMissing); 856Assert.False(initializer.EqualsToken.IsMissing); 861Assert.False(ds.SemicolonToken.IsMissing); 877Assert.False(fs.FixedKeyword.IsMissing); 879Assert.False(fs.FixedKeyword.IsMissing); 904Assert.False(fs.FixedKeyword.IsMissing); 906Assert.False(fs.FixedKeyword.IsMissing); 934Assert.False(fs.FixedKeyword.IsMissing); 936Assert.False(fs.FixedKeyword.IsMissing); 962Assert.False(es.SemicolonToken.IsMissing); 999Assert.False(b.BreakKeyword.IsMissing); 1002Assert.False(b.SemicolonToken.IsMissing); 1018Assert.False(cs.ContinueKeyword.IsMissing); 1021Assert.False(cs.SemicolonToken.IsMissing); 1037Assert.False(gs.GotoKeyword.IsMissing); 1043Assert.False(gs.SemicolonToken.IsMissing); 1059Assert.False(gs.GotoKeyword.IsMissing); 1062Assert.False(gs.CaseOrDefaultKeyword.IsMissing); 1067Assert.False(gs.SemicolonToken.IsMissing); 1083Assert.False(gs.GotoKeyword.IsMissing); 1086Assert.False(gs.CaseOrDefaultKeyword.IsMissing); 1090Assert.False(gs.SemicolonToken.IsMissing); 1106Assert.False(rs.ReturnKeyword.IsMissing); 1110Assert.False(rs.SemicolonToken.IsMissing); 1126Assert.False(rs.ReturnKeyword.IsMissing); 1131Assert.False(rs.SemicolonToken.IsMissing); 1147Assert.False(ys.YieldKeyword.IsMissing); 1150Assert.False(ys.ReturnOrBreakKeyword.IsMissing); 1155Assert.False(ys.SemicolonToken.IsMissing); 1171Assert.False(ys.YieldKeyword.IsMissing); 1174Assert.False(ys.ReturnOrBreakKeyword.IsMissing); 1178Assert.False(ys.SemicolonToken.IsMissing); 1194Assert.False(ts.ThrowKeyword.IsMissing); 1198Assert.False(ts.SemicolonToken.IsMissing); 1214Assert.False(ts.ThrowKeyword.IsMissing); 1219Assert.False(ts.SemicolonToken.IsMissing); 1235Assert.False(ts.TryKeyword.IsMissing); 1265Assert.False(ts.TryKeyword.IsMissing); 1294Assert.False(ts.TryKeyword.IsMissing); 1318Assert.False(ts.TryKeyword.IsMissing); 1361Assert.False(ts.TryKeyword.IsMissing); 1384Assert.False(ts.TryKeyword.IsMissing); 1527Assert.False(fs.ForKeyword.IsMissing); 1553Assert.False(fs.ForKeyword.IsMissing); 1590Assert.False(fs.ForKeyword.IsMissing); 1629Assert.False(fs.ForKeyword.IsMissing); 1738Assert.False(fs.ForKeyword.IsMissing); 1767Assert.False(fs.ForKeyword.IsMissing); 1797Assert.False(fs.ForKeyword.IsMissing); 1827Assert.False(fs.ForKeyword.IsMissing); 1857Assert.False(fs.ForKeyword.IsMissing); 1888Assert.False(fs.ForKeyword.IsMissing); 1939Assert.False(fs.InKeyword.IsMissing); 1972Assert.False(fs.InKeyword.IsMissing); 2003Assert.False(fs.InKeyword.IsMissing); 3387Assert.False(fs.InKeyword.IsMissing);
Syntax\LambdaUtilitiesTests.cs (12)
52Assert.False(isLambdaBody && isReducedLambdaBody); 207Assert.False(LambdaUtilities.AreEquivalentIgnoringLambdaBodies( 223Assert.False(LambdaUtilities.AreEquivalentIgnoringLambdaBodies( 235Assert.False(LambdaUtilities.AreEquivalentIgnoringLambdaBodies( 243Assert.False(LambdaUtilities.AreEquivalentIgnoringLambdaBodies( 247Assert.False(LambdaUtilities.AreEquivalentIgnoringLambdaBodies( 255Assert.False(LambdaUtilities.AreEquivalentIgnoringLambdaBodies( 263Assert.False(LambdaUtilities.AreEquivalentIgnoringLambdaBodies( 271Assert.False(LambdaUtilities.AreEquivalentIgnoringLambdaBodies( 275Assert.False(LambdaUtilities.AreEquivalentIgnoringLambdaBodies( 283Assert.False(LambdaUtilities.AreEquivalentIgnoringLambdaBodies( 291Assert.False(LambdaUtilities.AreEquivalentIgnoringLambdaBodies(
Syntax\SeparatedSyntaxListTests.cs (1)
297Assert.False(list.Any(SyntaxKind.WhereClause));
Syntax\StructuredTriviaTests.cs (1)
150Assert.False(directives[1].File.IsMissing);
Syntax\SyntaxAnnotationTests.cs (2)
37Assert.False(newToken.ContainsAnnotations); 47Assert.False(newTrivia.ContainsAnnotations);
Syntax\SyntaxEquivalenceTests.cs (2)
27Assert.False(SyntaxFactory.AreEquivalent(tree1, tree2, topLevel)); 31Assert.False(SyntaxFactory.AreEquivalent(tree1, tree3, topLevel));
Syntax\SyntaxFactoryTests.cs (5)
66Assert.False(n.NamespaceKeyword.IsMissing); 68Assert.False(n.OpenBraceToken.IsMissing); 72Assert.False(n.CloseBraceToken.IsMissing); 88Assert.False(c.OpenBraceToken.IsMissing); 92Assert.False(c.CloseBraceToken.IsMissing);
Syntax\SyntaxListTests.cs (1)
284Assert.False(list.Any(SyntaxKind.WhereClause));
Syntax\SyntaxNodeTests.cs (27)
351Assert.False(SyntaxFactory.ParseCompilationUnit("").ContainsDirective(kind)); 355Assert.False(SyntaxFactory.ParseCompilationUnit("namespace N { }").ContainsDirective(kind)); 365Assert.False(compilationUnit.ContainsDirective(kind)); 478Assert.False(compilationUnit.ContainsDirective(kind)); 505Assert.False(compilationUnit.ContainsDirectives); 506Assert.False(compilationUnit.ContainsDirective(SyntaxKind.IfDirectiveTrivia)); 810Assert.False(tree.GetCompilationUnitRoot().IsEquivalentTo(null)); 829Assert.False(tree1.GetCompilationUnitRoot().IsEquivalentTo(tree2.GetCompilationUnitRoot())); 838Assert.False(tree1.GetCompilationUnitRoot().IsEquivalentTo(tree2.GetCompilationUnitRoot())); 859Assert.False(tree1.GetCompilationUnitRoot().IsEquivalentTo(tree2.GetCompilationUnitRoot())); 883Assert.False(tree.GetCompilationUnitRoot().GetFirstToken().IsIncrementallyIdenticalTo(tree.GetCompilationUnitRoot().GetFirstToken().GetNextToken())); 901Assert.False(tree1.GetCompilationUnitRoot().IsIncrementallyIdenticalTo(tree2.GetCompilationUnitRoot())); 921Assert.False( 1783Assert.False(rootNode.ToString().Contains("/*START*/")); 1801Assert.False(rootNode.ToString().Contains("/*START*/")); 1842Assert.False(trivia.IsDirective); 1957Assert.False(someNode.Identifier.TrailingTrivia[0].Equals(someNode.Identifier.TrailingTrivia[1])); 1994Assert.False(someNode.Identifier.TrailingTrivia[0].Equals(someNode.Identifier.TrailingTrivia[1])); 3761Assert.False(idToken.HasLeadingTrivia); 3763Assert.False(idToken.HasTrailingTrivia); 3786Assert.False(namedNode.HasLeadingTrivia); 3788Assert.False(namedNode.HasTrailingTrivia); 3820Assert.False(nodeOrToken.HasLeadingTrivia); 3822Assert.False(nodeOrToken.HasTrailingTrivia); 3827Assert.False(nodeOrToken.HasLeadingTrivia); 3829Assert.False(nodeOrToken.HasTrailingTrivia); 3885Assert.False(firstParens.Contains(a)); // fixing #8625 allows this to return quicker
Syntax\SyntaxRewriterTests.cs (8)
565Assert.False(token1.ContainsDiagnostics); 580Assert.False(expr2.ContainsDiagnostics); //gone after rewrite 584Assert.False(token2.ContainsDiagnostics); 611Assert.False(token1.ContainsDiagnostics); 626Assert.False(expr2.ContainsDiagnostics); //gone after rewrite 630Assert.False(token2.ContainsDiagnostics); 698Assert.False(green.ContainsDiagnostics); 710Assert.False(red.ContainsDiagnostics);
Syntax\SyntaxTests.cs (1)
22Assert.False(SyntaxFactory.IsCompleteSubmission(SyntaxFactory.ParseSyntaxTree(code, options: TestOptions.Script)));
Syntax\SyntaxTokenListTests.cs (1)
259Assert.False(list.Any(SyntaxKind.NullKeyword));
Syntax\SyntaxTriviaListTests.cs (1)
238Assert.False(list.Any(SyntaxKind.SingleLineCommentTrivia));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (44)
FunctionPointerUtilities.cs (44)
31Assert.False(symbol.IsReferenceType); 32Assert.False(symbol.IsRefLikeType); 33Assert.False(symbol.IsReadOnly); 34Assert.False(symbol.IsStatic); 35Assert.False(symbol.IsAbstract); 36Assert.False(symbol.IsSealed); 37Assert.False(symbol.CanBeReferencedByName); 66Assert.False(symbol.IsExtensionMethod); 67Assert.False(symbol.HidesBaseMethodsByName); 68Assert.False(symbol.IsStatic); 69Assert.False(symbol.IsAsync); 70Assert.False(symbol.IsVirtual); 71Assert.False(symbol.IsOverride); 72Assert.False(symbol.IsAbstract); 73Assert.False(symbol.IsExtern); 74Assert.False(symbol.IsExtensionMethod); 75Assert.False(symbol.IsSealed); 76Assert.False(symbol.IsExtern); 77Assert.False(symbol.HasSpecialName); 78Assert.False(symbol.HasDeclarativeSecurity); 79Assert.False(symbol.RequiresSecurityObject); 80Assert.False(symbol.IsDeclaredReadOnly); 81Assert.False(symbol.IsMetadataNewSlot(true)); 82Assert.False(symbol.IsMetadataNewSlot(false)); 83Assert.False(symbol.IsMetadataVirtual(MethodSymbol.IsMetadataVirtualOption.IgnoreInterfaceImplementationChanges)); 84Assert.False(symbol.IsMetadataVirtual(MethodSymbol.IsMetadataVirtualOption.None)); 112Assert.False(symbol.IsDiscard); 113Assert.False(symbol.IsParams); 114Assert.False(symbol.IsParamsArray); 115Assert.False(symbol.IsParamsCollection); 116Assert.False(symbol.IsMetadataOptional); 117Assert.False(symbol.IsIDispatchConstant); 118Assert.False(symbol.IsIUnknownConstant); 119Assert.False(symbol.IsCallerFilePath); 120Assert.False(symbol.IsCallerLineNumber); 121Assert.False(symbol.IsCallerFilePath); 122Assert.False(symbol.IsCallerMemberName); 285Assert.False(CustomModifierUtils.HasOutAttributeModifier(signature.RefCustomModifiers)); 290Assert.False(CustomModifierUtils.HasInAttributeModifier(signature.RefCustomModifiers)); 291Assert.False(CustomModifierUtils.HasOutAttributeModifier(signature.RefCustomModifiers)); 311Assert.False(CustomModifierUtils.HasInAttributeModifier(parameter.RefCustomModifiers)); 316Assert.False(CustomModifierUtils.HasOutAttributeModifier(parameter.RefCustomModifiers)); 321Assert.False(CustomModifierUtils.HasInAttributeModifier(parameter.RefCustomModifiers)); 322Assert.False(CustomModifierUtils.HasOutAttributeModifier(parameter.RefCustomModifiers));
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (2)
Metadata\WinMdEventTests.cs (2)
3581Assert.False(addMethod.ReturnsVoid); 3604Assert.False(@event.IsWindowsRuntimeEvent);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
CSharpSyntaxFactsServiceTests.cs (1)
217Assert.False(IsQueryKeyword(WrapInMethod(@"
EmbeddedLanguages\VirtualChars\CSharpVirtualCharServiceTests.cs (1)
52Assert.False(token.ContainsDiagnostics);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
ExtractInterface\AbstractExtractInterfaceTests.cs (1)
110Assert.False(testState.Workspace.Documents.Select(d => d.Id).Contains(result.NavigationDocumentId));
RefactoringHelpers\RefactoringHelpersTestBase.cs (1)
57Assert.False(CodeRefactoringHelpers.IsNodeUnderselected(resultNode, selection));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (153)
CodeFixes\CodeFixServiceTests.cs (7)
135Assert.False(analyzerWithFix.ReceivedCallback); 136Assert.False(analyzerWithoutFix.ReceivedCallback); 147Assert.False(analyzerWithoutFix.ReceivedCallback); 172Assert.False(documentDiagnosticAnalyzer.ReceivedCallback); 208Assert.False(codeFix.Called); 301Assert.False(extensionManager.IsIgnored(codefix)); 323Assert.False(extensionManager.IsIgnored(codefix));
CodeRefactorings\CodeRefactoringServiceTest.cs (1)
111Assert.False(extensionManager.IsIgnored(codeRefactoring));
Collections\Immutable\Maps\BidirectionalMapTests.cs (8)
22Assert.False(map.TryGetKey(0, out _)); 23Assert.False(map.TryGetValue("0", out _)); 25Assert.False(map.ContainsKey("0")); 26Assert.False(map.ContainsValue(0)); 72Assert.False(map2.ContainsKey("1")); 76Assert.False(map2.ContainsValue(1)); 99Assert.False(map2.ContainsKey("1")); 103Assert.False(map2.ContainsValue(1));
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
710Assert.False(analyzer2.ReceivedSymbolCallback);
EditAndContinue\EditAndContinueLanguageServiceTests.cs (2)
134Assert.False(sessionState.IsSessionActive); 227Assert.False(sessionState.IsSessionActive);
EditorConfigSettings\Data\CodeStyleSettingsTest.cs (2)
43Assert.False(setting.IsDefinedInEditorConfig); 74Assert.False(setting.IsDefinedInEditorConfig);
EmbeddedLanguages\Json\LanguageServices\JsonLanguageDetectorTests.cs (1)
46Assert.False(JsonLanguageDetector.CommentDetector.TryMatch(value, out _, out var stringOptions) &&
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexPatternDetectorTests.cs (1)
46Assert.False(RegexLanguageDetector.CommentDetector.TryMatch(value, out _, out var stringOptions) &&
Extensions\EnumerableExtensionTests.cs (7)
56Assert.False(Enumerable(false).All()); 57Assert.False(Enumerable(false, false).All()); 58Assert.False(Enumerable(true, false).All()); 59Assert.False(Enumerable(false, true).All()); 91Assert.False(seq.SequenceEqual(new int[] { 1, 2, 3, 4 }, equality)); 92Assert.False(seq.SequenceEqual(new int[] { 1, 2 }, equality)); 95Assert.False(seq.SequenceEqual(new int[] { 1, 2, 6 }, equality));
Extensions\ITextLineExtensionsTests.cs (4)
103Assert.False(value); 110Assert.False(value); 117Assert.False(value); 124Assert.False(value);
Extensions\ITextSnapshotLineExtensionsTests.cs (4)
162Assert.False(value); 169Assert.False(value); 176Assert.False(value); 183Assert.False(value);
Preview\PreviewWorkspaceTests.cs (1)
110Assert.False(previewWorkspace.IsDocumentOpen(document.Id));
RenameTracking\RenameTrackingTaggerProviderTests.cs (4)
878Assert.False(RenameTrackingTaggerProvider.IsRenamableIdentifierFastCheck(notRenamable, out _)); 881Assert.False(RenameTrackingTaggerProvider.IsRenamableIdentifierFastCheck(source.Task, out _)); 887Assert.False(RenameTrackingTaggerProvider.IsRenamableIdentifierFastCheck(source.Task, out _)); 891Assert.False(RenameTrackingTaggerProvider.IsRenamableIdentifierFastCheck(source.Task, out _));
Structure\StructureTaggerTests.cs (6)
69Assert.False(namespaceTag.IsImplementation); 83Assert.False(classTag.IsImplementation); 97Assert.False(ifTag.IsImplementation); 277Assert.False(namespaceTag.IsImplementation); 291Assert.False(moduleTag.IsImplementation); 305Assert.False(ifTag.IsImplementation);
Utilities\BloomFilterTests.cs (8)
65Assert.False(actualContains); 89Assert.False(filter.ProbablyContains(string.Empty)); 90Assert.False(filter.ProbablyContains("a")); 91Assert.False(filter.ProbablyContains("b")); 92Assert.False(filter.ProbablyContains("c")); 97Assert.False(filter.ProbablyContains(test)); 185Assert.False(actualContains); 250Assert.False(actualContains);
Utilities\PatternMatcherTests.cs (2)
398Assert.False(match.First().IsCaseSensitive); 413Assert.False(match.Value.IsCaseSensitive);
Utilities\SymbolEquivalenceComparerTests.cs (94)
90Assert.False(SymbolEquivalenceComparer.Instance.Equals(intField1.Type, intArrayField1.Type)); 91Assert.False(SymbolEquivalenceComparer.Instance.Equals(intArrayField1.Type, stringArrayField1.Type)); 92Assert.False(SymbolEquivalenceComparer.Instance.Equals(stringArrayField1.Type, intArrayArrayField1.Type)); 93Assert.False(SymbolEquivalenceComparer.Instance.Equals(intArrayArrayField1.Type, intArrayRank2Field1.Type)); 94Assert.False(SymbolEquivalenceComparer.Instance.Equals(intArrayRank2Field1.Type, int32Field1.Type)); 147Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpIntField1.Type, vbIntArrayField1.Type)); 148Assert.False(SymbolEquivalenceComparer.Instance.Equals(vbIntArrayField1.Type, csharpStringArrayField1.Type)); 149Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpStringArrayField1.Type, vbIntArrayArrayField1.Type)); 150Assert.False(SymbolEquivalenceComparer.Instance.Equals(vbIntArrayArrayField1.Type, csharpIntArrayRank2Field1.Type)); 151Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpIntArrayRank2Field1.Type, vbInt32Field1.Type)); 155Assert.False(SymbolEquivalenceComparer.Instance.Equals(vbIntField1.Type, csharpIntArrayField1.Type)); 156Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpIntArrayField1.Type, vbStringArrayField1.Type)); 157Assert.False(SymbolEquivalenceComparer.Instance.Equals(vbStringArrayField1.Type, csharpIntArrayArrayField1.Type)); 158Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpIntArrayArrayField1.Type, vbIntArrayRank2Field1.Type)); 159Assert.False(SymbolEquivalenceComparer.Instance.Equals(vbIntArrayRank2Field1.Type, csharpInt32Field1.Type)); 212Assert.False(SymbolEquivalenceComparer.Instance.Equals(field2_v1, field2_v2)); 214Assert.False(SymbolEquivalenceComparer.Instance.Equals(field4_v1, field4_v2)); 260Assert.False(SymbolEquivalenceComparer.Instance.Equals(field2_v1, field2_v2)); 262Assert.False(SymbolEquivalenceComparer.Instance.Equals(field4_v1, field4_v2)); 298Assert.False(SymbolEquivalenceComparer.Instance.Equals(goo, goo_intInstantiation1)); 299Assert.False(SymbolEquivalenceComparer.Instance.Equals(goo, goo_intInstantiation2)); 300Assert.False(SymbolEquivalenceComparer.Instance.Equals(goo, goo_stringInstantiation)); 301Assert.False(SymbolEquivalenceComparer.Instance.Equals(goo_intInstantiation1, goo_stringInstantiation)); 334Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v1, method_v2)); 359Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v1, method_v2)); 384Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v1, method_v2)); 409Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v1, method_v2)); 540Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v1, method_v2)); 592Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v1, method_v2)); 632Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpGooMethod, csharpBarMethod)); 633Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpGooMethod, vbQuuxMethod)); 635Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpBarMethod, csharpGooMethod)); 636Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpBarMethod, vbGooMethod)); 637Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpBarMethod, vbQuuxMethod)); 677Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpGooMethod, csharpBarMethod)); 678Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpGooMethod, vbBarMethod)); 680Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpBarMethod, csharpGooMethod)); 681Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpBarMethod, vbGooMethod)); 682Assert.False(SymbolEquivalenceComparer.Instance.Equals(csharpBarMethod, vbBarMethod)); 701Assert.False(SymbolEquivalenceComparer.Instance.Equals(field1_v1, field2_v1)); 702Assert.False(SymbolEquivalenceComparer.Instance.Equals(field2_v1, field1_v1)); 763Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v1, method_v2)); 764Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v2, method_v1)); 831Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v1, method_v2)); 832Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v2, method_v1)); 884Assert.False(SymbolEquivalenceComparer.Instance.Equals(outer1, inner1)); 885Assert.False(SymbolEquivalenceComparer.Instance.Equals(inner1, outerType1)); 886Assert.False(SymbolEquivalenceComparer.Instance.Equals(outerType1, innerType1)); 887Assert.False(SymbolEquivalenceComparer.Instance.Equals(innerType1, outer1)); 948Assert.False(SymbolEquivalenceComparer.Instance.Equals(type1_v1, type2_v1)); 949Assert.False(SymbolEquivalenceComparer.Instance.Equals(type2_v1, type1_v1)); 973Assert.False(SymbolEquivalenceComparer.Instance.Equals(type1_v1, type1_v2)); 974Assert.False(SymbolEquivalenceComparer.Instance.Equals(type1_v2, type1_v1)); 998Assert.False(SymbolEquivalenceComparer.Instance.Equals(type1_v1, type1_v2)); 999Assert.False(SymbolEquivalenceComparer.Instance.Equals(type1_v2, type1_v1)); 1023Assert.False(SymbolEquivalenceComparer.Instance.Equals(type1_v1, type1_v2)); 1024Assert.False(SymbolEquivalenceComparer.Instance.Equals(type1_v2, type1_v1)); 1056Assert.False(SymbolEquivalenceComparer.Instance.Equals(type1_v1, type1_v2)); 1057Assert.False(SymbolEquivalenceComparer.Instance.Equals(type1_v2, type1_v1)); 1121Assert.False(trueComp.Equals(method_v1, method_v2)); 1122Assert.False(trueComp.Equals(method_v2, method_v1)); 1158Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v1, method_v2)); 1188Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v1, method_v2)); 1250Assert.False(SymbolEquivalenceComparer.TupleNamesMustMatchInstance.Equals(method_v1, method_v2)); 1281Assert.False(SymbolEquivalenceComparer.TupleNamesMustMatchInstance.Equals(method_v1, method_v2)); 1312Assert.False(SymbolEquivalenceComparer.Instance.Equals(method_v1, method_v2)); 1365Assert.False(notIgnoreComparer.Equals(a1, a2)); 1366Assert.False(notIgnoreComparer.Equals(b1, b2)); 1367Assert.False(notIgnoreComparer.Equals(c1, c2)); 1368Assert.False(notIgnoreComparer.Equals(d1, d2)); 1492Assert.False(notIgnoreComparer.Equals(a1, a2)); 1493Assert.False(notIgnoreComparer.Equals(b1, b2)); 1494Assert.False(notIgnoreComparer.Equals(c1, c2)); 1495Assert.False(notIgnoreComparer.Equals(d1, d2)); 1555Assert.False(notIgnoreComparer.Equals(a1, a2)); 1556Assert.False(notIgnoreComparer.Equals(b1, b2)); 1557Assert.False(notIgnoreComparer.Equals(c1, c2)); 1558Assert.False(notIgnoreComparer.Equals(d1, d2)); 1725Assert.False(SymbolEquivalenceComparer.Instance.Equals(namespace1, namespace2)); 1761Assert.False(SymbolEquivalenceComparer.Instance.Equals(ta1, tb1)); 1762Assert.False(identityComparer.Equals(ta1, tb1)); 1767Assert.False(identityComparer.Equals(tb1, tb2)); 1844Assert.False(identityComparer.Equals(f1[0], f2[1])); 1845Assert.False(identityComparer.Equals(f1[0], f2[2])); 1846Assert.False(identityComparer.Equals(f1[0], f2[3])); 1848Assert.False(identityComparer.Equals(f1[1], f2[0])); 1850Assert.False(identityComparer.Equals(f1[1], f2[2])); 1851Assert.False(identityComparer.Equals(f1[1], f2[3])); 1853Assert.False(identityComparer.Equals(f1[2], f2[0])); 1854Assert.False(identityComparer.Equals(f1[2], f2[1])); 1856Assert.False(identityComparer.Equals(f1[2], f2[3])); 1858Assert.False(identityComparer.Equals(f1[3], f2[0])); 1859Assert.False(identityComparer.Equals(f1[3], f2[1])); 1860Assert.False(identityComparer.Equals(f1[3], f2[2]));
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
65Assert.False(stream.CanRead);
Microsoft.CodeAnalysis.Features.UnitTests (8)
EditAndContinue\CompileTimeSolutionProviderTests.cs (2)
63Assert.False(compileTimeSolution.ContainsAnalyzerConfigDocument(analyzerConfigId)); 64Assert.False(compileTimeSolution.ContainsDocument(designTimeDocumentId));
EditAndContinue\EditAndContinueCapabilitiesTests.cs (2)
21Assert.False(service.HasFlag(EditAndContinueCapabilities.NewTypeDefinition)); 31Assert.False(service.HasFlag(EditAndContinueCapabilities.Baseline));
EditAndContinue\EditAndContinueMethodDebugInfoReaderTests.cs (3)
107Assert.False(reader.TryGetDocumentChecksum("/b/c.cs", out _, out _)); 108Assert.False(reader.TryGetDocumentChecksum("/a/d.cs", out _, out _)); 109Assert.False(reader.TryGetDocumentChecksum("/A/C.cs", out _, out _));
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (1)
3231Assert.False(readers.Any(r => r is null));
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (19)
Completion\CompletionFeaturesTests.cs (1)
1085Assert.False(results.Items.Any(i => i.Label == "if"));
Completion\CompletionTests.cs (3)
310Assert.False(results.Items.Any(item => "Console" == item.Label)); 333Assert.False(results.Items.Any(item => "ctor" == item.Label)); 1445Assert.False(list.IsIncomplete);
Configuration\DidChangeConfigurationNotificationHandlerTest.cs (1)
59Assert.False(clientCallbackTarget.ReceivedWorkspaceConfigurationRequest);
Diagnostics\PullDiagnosticTests.cs (4)
721Assert.False(results.Single().Diagnostics![1].Tags!.Contains(DiagnosticTag.Unnecessary)); 753AssertEx.All(results.Single().Diagnostics, d => Assert.False(d.Tags!.Contains(DiagnosticTag.Unnecessary))); 783Assert.False(results.Single().Diagnostics![0].Tags!.Contains(DiagnosticTag.Unnecessary)); 1377Assert.False(results.Any(r => r.TextDocument!.Uri.LocalPath.Contains(".ts")));
HandlerTests.cs (3)
193Assert.False(didReport); 251Assert.False(didReport); 279Assert.False(didReport);
Hover\HoverTests.cs (1)
545Assert.False(classifiedTextElements.SelectMany(classifiedTextElements => classifiedTextElements.Runs).Any(run => run.NavigationAction != null));
LanguageServerTargetTests.cs (1)
142Assert.False(server.GetServerAccessor().HasShutdownStarted());
Options\SolutionAnalyzerConfigOptionsUpdaterTests.cs (1)
270Assert.False(optionsAfterProjectAdded.ContainsKey("test_option"));
Ordering\RequestOrderingTests.cs (1)
155Assert.False(longRunningWaitable.IsCompleted);
ProtocolConversionsTests.cs (1)
308Assert.False(projectContext.IsMiscellaneous);
UriTests.cs (2)
110Assert.False(workspace is LspMiscellaneousFilesWorkspace); 121Assert.False(workspace is LspMiscellaneousFilesWorkspace);
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
LspFileChangeWatcherTests.cs (1)
33Assert.False(LspFileChangeWatcher.SupportsLanguageServerHost(testLspServer.LanguageServerHost));
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ScriptingTestHelpers.cs (1)
98Assert.False(noException);
Microsoft.CodeAnalysis.Scripting.UnitTests (6)
NuGetPackageResolverTests.cs (1)
55Assert.False(NuGetPackageResolver.TryParsePackageReference(reference, out name, out version));
ScriptOptionsTests.cs (5)
171Assert.False(ScriptOptions.Default.WithEmitDebugInformation(false).EmitDebugInformation); 172Assert.False(ScriptOptions.Default.EmitDebugInformation); 200Assert.False(ScriptOptions.Default.WithAllowUnsafe(false).AllowUnsafe); 227Assert.False(ScriptOptions.Default.WithCheckOverflow(false).CheckOverflow); 228Assert.False(ScriptOptions.Default.CheckOverflow);
Microsoft.CodeAnalysis.Test.Utilities (29)
Assert\EqualityTesting.cs (2)
27Assert.False(x.Equals(y)); 28Assert.False(((object)x).Equals(y));
Assert\EqualityUtil`1.cs (9)
79Assert.False(_compareWithEqualityOperator(unit.Value, value)); 80Assert.False(_compareWithEqualityOperator(value, unit.Value)); 94Assert.False(_compareWithEqualityOperator(default(T), value)); 95Assert.False(_compareWithEqualityOperator(value, default(T))); 105Assert.False(_compareWithInequalityOperator(unit.Value, value)); 106Assert.False(_compareWithInequalityOperator(value, unit.Value)); 176Assert.False(value.Equals((object)42)); 205Assert.False(equatableUnit.Equals(value)); 207Assert.False(equatableValue.Equals(unit.Value));
Compilation\ControlFlowGraphVerifier.cs (3)
218Assert.False(predecessorBranch.IsConditionalSuccessor); 285Assert.False(nextBranch.IsConditionalSuccessor); 1469Assert.False(region.Locals.IsEmpty && region.LocalFunctions.IsEmpty && region.CaptureIds.IsEmpty);
Compilation\OperationTreeVerifier.cs (1)
1046Assert.False(invocation.TargetMethod.IsStatic);
Compilation\TestOperationVisitor.cs (7)
392Assert.False(true); 1362Assert.False(pattern.ConstantValue.HasValue); 1424Assert.False(operation.MatchesNull); 1550Assert.False(operation.ConstantValue.HasValue); 1560Assert.False(operation.ConstantValue.HasValue); 1801Assert.False(operation.ConstantValue.HasValue); 1827Assert.False(operation.ConstantValue.HasValue);
CompilationVerifier.cs (1)
569Assert.False(_testData.TryGetMethodData(qualifiedMethodName, out _));
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2062Assert.False(symbolEndContext.Symbol.IsImplicitlyDeclared);
Diagnostics\DiagnosticExtensions.cs (1)
126Assert.False(assemblyIds.IsEmpty);
Diagnostics\ThrowingDiagnosticAnalyzer.cs (1)
89Assert.False(diagnostics.Any(AnalyzerExecutor.IsAnalyzerExceptionDiagnostic));
Metadata\EncValidation.cs (3)
30Assert.False(currentModule.GenerationId.IsNil); 35Assert.False(currentModule.GenerationId.IsNil); 36Assert.False(currentModule.BaseGenerationId.IsNil);
Microsoft.CodeAnalysis.UnitTests (572)
Analyzers\AnalyzerConfigTests.cs (97)
381Assert.False(matcher.IsMatch("/aabc")); 382Assert.False(matcher.IsMatch("/ abc")); 383Assert.False(matcher.IsMatch("/cabc")); 411Assert.False(matcher.IsMatch("/abc.vb")); 432Assert.False(matcher.IsMatch("/aaa")); 433Assert.False(matcher.IsMatch("/???")); 434Assert.False(matcher.IsMatch("/abc")); 464Assert.False(matcher.IsMatch("/ab/c")); 465Assert.False(matcher.IsMatch("/ab\\\\c")); 475Assert.False(matcher.IsMatch("/ab/cd**efg*")); 476Assert.False(matcher.IsMatch("/*ab/cd*efg*")); 477Assert.False(matcher.IsMatch("/*ab/cd**ef/gh")); 488Assert.False(matcher.IsMatch("/aaaaaaaa")); 489Assert.False(matcher.IsMatch("/aa?cde?f")); 490Assert.False(matcher.IsMatch("/?a?cdexf")); 491Assert.False(matcher.IsMatch("/?axcde?f")); 502Assert.False(matcher.IsMatch("/abcdef")); 503Assert.False(matcher.IsMatch("/abc}{def")); 514Assert.False(matcher.IsMatch("/abcdef")); 515Assert.False(matcher.IsMatch("/abc\\,def")); 516Assert.False(matcher.IsMatch("/abc`def")); 532Assert.False(matcher.IsMatch("/abcxcs")); 533Assert.False(matcher.IsMatch("/abcxvb")); 534Assert.False(matcher.IsMatch("/abcxfs")); 535Assert.False(matcher.IsMatch("/subdir/abcxcs")); 536Assert.False(matcher.IsMatch("/subdir/abcxcb")); 537Assert.False(matcher.IsMatch("/subdir/abcxcs")); 558Assert.False(matcher.IsMatch("/subdir/test.cs")); 559Assert.False(matcher.IsMatch("/subdir/subdir/test.vb")); 560Assert.False(matcher.IsMatch("/test.vb")); 571Assert.False(matcher.IsMatch("/.")); 572Assert.False(matcher.IsMatch("/anything")); 583Assert.False(matcher.IsMatch("test.vb")); 584Assert.False(matcher.IsMatch("testxcs")); 614Assert.False(matcher.IsMatch("/test.fs")); 615Assert.False(matcher.IsMatch("/other.bbb")); 616Assert.False(matcher.IsMatch("/other.ccc")); 617Assert.False(matcher.IsMatch("/subdir/other.bbb")); 618Assert.False(matcher.IsMatch("/subdir/other.ccc")); 630Assert.False(matcher.IsMatch("/abcdef")); 631Assert.False(matcher.IsMatch("/ab--cd-ef")); 632Assert.False(matcher.IsMatch("/ab--cd--ef")); 645Assert.False(matcher.IsMatch("/abcs")); 646Assert.False(matcher.IsMatch("/abcd")); 647Assert.False(matcher.IsMatch("/vbcd")); 667Assert.False(matcher.IsMatch("/-1")); 668Assert.False(matcher.IsMatch("/-00000001")); 669Assert.False(matcher.IsMatch("/11")); 683Assert.False(matcher.IsMatch("/1")); 684Assert.False(matcher.IsMatch("/-11")); 685Assert.False(matcher.IsMatch("/--0")); 701Assert.False(matcher.IsMatch("/-11")); 702Assert.False(matcher.IsMatch("/11")); 703Assert.False(matcher.IsMatch("/--0")); 723Assert.False(matcher.IsMatch("/a-11b10")); 724Assert.False(matcher.IsMatch("/a-11b10")); 725Assert.False(matcher.IsMatch("/a-10b11")); 739Assert.False(matcher.IsMatch("/0")); 740Assert.False(matcher.IsMatch("/0.")); 741Assert.False(matcher.IsMatch("/0abc")); 745Assert.False(matcher.IsMatch("/0")); 746Assert.False(matcher.IsMatch("/0abc")); 763Assert.False(matcher.IsMatch("/abc.vs")); 772Assert.False(matcher.IsMatch("/abc.cs")); 773Assert.False(matcher.IsMatch("/abc.fs")); 776Assert.False(matcher.IsMatch("/abc.vxs")); 788Assert.False(matcher.IsMatch("/abc.vs")); 789Assert.False(matcher.IsMatch("/abc.xs")); 790Assert.False(matcher.IsMatch("/abc.vxs")); 802Assert.False(matcher.IsMatch("/yx")); 803Assert.False(matcher.IsMatch("/00x")); 812Assert.False(matcher.IsMatch("/0x")); 813Assert.False(matcher.IsMatch("/1x")); 814Assert.False(matcher.IsMatch("/9x")); 816Assert.False(matcher.IsMatch("/00x")); 830Assert.False(matcher.IsMatch("/yx")); 831Assert.False(matcher.IsMatch("/0ax")); 862Assert.False(matcher.IsMatch("/ab")); 863Assert.False(matcher.IsMatch("/[b")); 864Assert.False(matcher.IsMatch("/bc")); 865Assert.False(matcher.IsMatch("/ac")); 866Assert.False(matcher.IsMatch("/[c")); 879Assert.False(matcher.IsMatch("/bbd")); 880Assert.False(matcher.IsMatch("/-cd")); 881Assert.False(matcher.IsMatch("/bcd")); 894Assert.False(matcher.IsMatch("/bbd")); 895Assert.False(matcher.IsMatch("/-cd")); 896Assert.False(matcher.IsMatch("/bcd")); 908Assert.False(matcher.IsMatch("/acd")); 909Assert.False(matcher.IsMatch("/bcd")); 910Assert.False(matcher.IsMatch("/acd")); 923Assert.False(matcher.IsMatch("/dcd")); 924Assert.False(matcher.IsMatch("/\\\\cd")); 925Assert.False(matcher.IsMatch("/cd")); 936Assert.False(matcher.IsMatch("/ab[[cd")); 937Assert.False(matcher.IsMatch("/abc")); 938Assert.False(matcher.IsMatch("/abd"));
Analyzers\AnalyzerFileReferenceTests.cs (5)
76Assert.False(refA.Equals(null)); 82Assert.False(refA.Equals(new AnalyzerFileReference(path2, loader1))); 85Assert.False(refA.Equals(new AnalyzerFileReference(path1, loader2))); 89Assert.False(refA.Equals((AnalyzerReference?)null)); 92Assert.False(refA.Equals(new TestAnalyzerReference(path2)));
AsyncQueueTests.cs (9)
47Assert.False(queue.TryEnqueue(42)); 67Assert.False(task.IsCompleted); 87Assert.False(task.IsCompleted); 98Assert.False(task.IsCompleted); 168Assert.False(task.IsCanceled); 180Assert.False(task.IsCanceled); 188Assert.False(queue.IsCompleted); 197Assert.False(task.IsCompleted); 208Assert.False(queue.TryDequeue(out value));
CachingLookupTests.cs (4)
114Assert.False(look1.Contains(k)); 115Assert.False(look2.Contains(k)); 261Assert.False(lookedUp.Contains(s)); 267Assert.False(askedForKeys);
Collections\BitArrayTests.cs (1)
251Assert.False(i2.MoveNext());
Collections\CachingFactoryTests.cs (1)
41Assert.False(found);
Collections\HashSet\ISet_Generic_Tests`1.cs (6)
96Assert.False(set.Add(newValue)); 225Assert.False(set.IsSubsetOf(enumerable)); 237Assert.False(set.IsSupersetOf(enumerable)); 254Assert.False(set.Overlaps(enumerable)); 264Assert.False(set.SetEquals(enumerable)); 272Assert.False(set.SetEquals(enumerable));
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (5)
320Assert.False(noComparerSet.SetEquals(set)); 348Assert.False(noComparerSet.SequenceEqual(set)); 350Assert.False(comparerSet.SequenceEqual(set)); 477Assert.False(set.TryGetValue(equalValue, out T? actualValue)); 490Assert.False(set.TryGetValue(equalValue, out actualValue));
Collections\IdentifierCollectionTests.cs (1)
108Assert.False(collection.Contains(str));
Collections\ImmutableArrayExtensionsTests.cs (13)
182Assert.False(roaNull != null); 184Assert.False(null != roaNull); 188Assert.False(copy != roaNull); 191Assert.False(notnull == null); 193Assert.False(null == notnull); 203Assert.False(roaCopy[0].HasValue); 205Assert.False(roaCopy[2].HasValue); 341Assert.False(a.SequenceEqual(b)); 344Assert.False(a.SequenceEqual(c)); 345Assert.False(a.SequenceEqual(c, StringComparer.OrdinalIgnoreCase)); 346Assert.False(c.SequenceEqual(a)); 350Assert.False(r.SequenceEqual(Enumerable.Range(1, 2))); 351Assert.False(r.SequenceEqual(Enumerable.Range(1, 4)));
Collections\ImmutableDictionaryBuilderTestBase.cs (14)
30Assert.False(builder.ContainsKey("four")); 91Assert.False(builder.Remove(new KeyValuePair<string, int>("foo", 1))); 123Assert.False(builder.IsReadOnly); 151Assert.False(builder.TryGetValue("four", out value)); 164Assert.False(enumerator.MoveNext()); 170Assert.False(manualEnum.MoveNext()); 187Assert.False(dictionary.Contains("a")); 188Assert.False(dictionary.IsFixedSize); 189Assert.False(dictionary.IsReadOnly); 209Assert.False(enumerator.MoveNext()); 214Assert.False(enumerator.MoveNext()); 226Assert.False(enumerator.MoveNext()); 231Assert.False(enumerator.MoveNext()); 255Assert.False(collection.IsSynchronized);
Collections\ImmutableDictionaryBuilderTestBase.nonnetstandard.cs (1)
29Assert.False(TryGetKeyHelper(builder, "b", out actualKey));
Collections\ImmutableDictionaryTestBase.cs (14)
172Assert.False(dictionary.Contains("a")); 197Assert.False(enumerator.MoveNext()); 202Assert.False(enumerator.MoveNext()); 214Assert.False(enumerator.MoveNext()); 219Assert.False(enumerator.MoveNext()); 233Assert.False(dictionary.TryGetKey("b", out actualKey)); 246Assert.False(empty.ContainsKey(someKey)); 247Assert.False(empty.Contains(new KeyValuePair<K, V?>(someKey, default(V)))); 250Assert.False(empty.TryGetValue(someKey, out V? value)); 284Assert.False(GetValueComparer(map).Equals(value1, value2)); 294Assert.False(map.ContainsKey(key)); 301Assert.False(map.Contains(new KeyValuePair<TKey, TValue>(key, value))); 302Assert.False(map.Contains(key, value)); 318Assert.False(removedMap.ContainsKey(key));
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (12)
70Assert.False(Empty<int, int>().Equals(null)); 71Assert.False(Empty<int, int>().Equals("hi")); 73Assert.False(Empty<int, int>().Add(3, 2).Equals(Empty<int, int>().Add(3, 2))); 74Assert.False(Empty<int, int>().Add(3, 2).Equals(Empty<int, int>().Add(3, 1))); 75Assert.False(Empty<int, int>().Add(5, 1).Equals(Empty<int, int>().Add(3, 1))); 76Assert.False(Empty<int, int>().Add(3, 1).Add(5, 1).Equals(Empty<int, int>().Add(3, 1))); 77Assert.False(Empty<int, int>().Add(3, 1).Equals(Empty<int, int>().Add(3, 1).Add(5, 1))); 82Assert.False(Empty<int, int>().Add(3, 1).ToReadOnlyDictionary().Equals(Empty<int, int>())); 83Assert.False(Empty<int, int>().Equals(Empty<int, int>().Add(3, 1).ToReadOnlyDictionary())); 84Assert.False(Empty<int, int>().ToReadOnlyDictionary().Equals(Empty<int, int>().Add(3, 1).ToReadOnlyDictionary())); 133Assert.False(map.ContainsKey(key)); 266Assert.False(manualEnum.MoveNext());
Collections\ImmutableListTestBase.cs (3)
120Assert.False(hitTest[i]); 134Assert.False(ExistsImpl(ImmutableSegmentedList<int>.Empty, n => true)); 138Assert.False(ExistsImpl(list, n => n == 8));
Collections\ImmutableSegmentedDictionaryBuilderTest.cs (6)
43Assert.False(builder.ContainsKey(7)); 65Assert.False(builder.ContainsKey(7)); 75Assert.False(set.ContainsKey(8)); 88Assert.False(IsSame(immutable1, immutable2)); // "Mutating the collection did not reset the Immutable property." 132Assert.False(IsSame(collection, newImmutable)); // first ToImmutable with changes should be a new instance. 185Assert.False(builder.ContainsKey("A"));
Collections\ImmutableSegmentedDictionaryTest.cs (7)
44Assert.False(map.ContainsKey("johnny")); 85Assert.False(dictionary.ContainsValue("c")); 86Assert.False(dictionary.ContainsValue(null)); 286Assert.False(IsSame(ImmutableSegmentedDictionary<string, int>.Empty, clearedDictionary.Clear())); 310Assert.False(map.Keys.All((key, arg) => key == arg, "a")); 323Assert.False(map.Values.All((key, arg) => key == arg, "1")); 347Assert.False(map.ContainsValue(value));
Collections\ImmutableSegmentedHashSetBuilderTest.cs (12)
41Assert.False(builder.Contains(7)); 49Assert.False(set.Contains(8)); 64Assert.False(builder.Contains(7)); 74Assert.False(set.Contains(8)); 75Assert.False(set2.Contains(8)); 109Assert.False(IsSame(collection, newImmutable)); // first ToImmutable with changes should be a new instance. 135Assert.False(builder.Contains("A")); 252Assert.False(builder.Overlaps(Enumerable.Range(4, 3))); 259Assert.False(builder.Remove("b")); 285Assert.False(builder.IsReadOnly); 309Assert.False(builder.Remove(null)); 332Assert.False(builder.Contains(3));
Collections\ImmutableSegmentedHashSetTest.cs (1)
51Assert.False(ordinalSet.Contains("aPpLe"));
Collections\ImmutableSegmentedListBuilderTest.cs (14)
42Assert.False(builder.Contains(7)); 50Assert.False(list.Contains(8)); 65Assert.False(builder.Contains(7)); 75Assert.False(list.Contains(8)); 76Assert.False(list2.Contains(8)); 88Assert.False(IsSame(immutable1, immutable2)); //, "Mutating the collection did not reset the Immutable property."); 124Assert.False(IsSame(collection, newImmutable)); // first ToImmutable with changes should be a new instance. 176Assert.False(mutable.Remove(5)); 188Assert.False(mutable.Remove(5)); 250Assert.False(builder.IsReadOnly); 305Assert.False(collection.IsSynchronized); 312Assert.False(list.IsReadOnly); 313Assert.False(list.IsFixedSize); 318Assert.False(list.Contains(7));
Collections\ImmutableSegmentedListTest.cs (21)
130Assert.False(list.IsEmpty); 313Assert.False(list.Contains(null)); 325Assert.False(list.Contains(null)); 353Assert.False(list.Contains(30)); 357Assert.False(list.Contains(100)); 361Assert.False(list.Contains(10)); 366Assert.False(list.Contains(20)); 367Assert.False(list.Contains(70)); 377Assert.False(list2.Contains(30)); 381Assert.False(list2.Contains(100)); 385Assert.False(list2.Contains(10)); 389Assert.False(list2.Contains(20)); 390Assert.False(list2.Contains(70)); 434Assert.False(list.Contains(30)); 438Assert.False(list.Contains(100)); 442Assert.False(list.Contains(10)); 453Assert.False(list.Contains(newElement)); 551Assert.False(IsSame(list, updatedList)); 568Assert.False(ImmutableSegmentedList<int>.Empty.Equals(null)); 569Assert.False(ImmutableSegmentedList<int>.Empty.Equals("hi")); 571Assert.False(ImmutableSegmentedList<int>.Empty.Add(3).Equals(ImmutableSegmentedList<int>.Empty.Add(3)));
Collections\ImmutableSetTest.cs (8)
143Assert.False(Empty<int>().Equals(null)); 144Assert.False(Empty<int>().Equals("hi")); 146Assert.False(Empty<int>().Add(3).Equals(Empty<int>().Add(3))); 147Assert.False(Empty<int>().Add(5).Equals(Empty<int>().Add(3))); 148Assert.False(Empty<int>().Add(3).Add(5).Equals(Empty<int>().Add(3))); 149Assert.False(Empty<int>().Add(3).Equals(Empty<int>().Add(3).Add(5))); 229Assert.False(set.Contains(null)); 464Assert.False(enumerator.MoveNext()); // call it again to make sure it still returns false
Collections\ImmutableSetTest.nonnetstandard.cs (2)
103Assert.False(set.TryGetValue("foo", out actual)); 106Assert.False(set.Clear().TryGetValue("nonexistent", out actual));
Collections\ImmutablesTestBase.cs (2)
157Assert.False(enumerator.MoveNext()); 159Assert.False(enumerator.MoveNext());
Collections\List\ICollection.Generic.Tests.cs (6)
401Assert.False(collection.Contains(item)); 420Assert.False(collection.Contains(default(T)!)); 470Assert.False(collection.Contains(default(T)!)); 578Assert.False(collection.Remove(value)); 594Assert.False(collection.Remove(value)); 692Assert.False(collection.Remove(default(T)!));
Collections\List\IEnumerable.Generic.Tests.cs (4)
405Assert.False(enumerator.MoveNext()); 416Assert.False(enumerator.MoveNext()); 417Assert.False(enumerator.MoveNext()); 579Assert.False(enumerator.MoveNext());
Collections\List\IEnumerable.NonGeneric.Tests.cs (2)
187Assert.False(enumerator.MoveNext()); 188Assert.False(enumerator.MoveNext());
Collections\List\IList.NonGeneric.Tests.cs (2)
567Assert.False(collection.Contains(item)); 585Assert.False(collection.Contains(null));
Collections\List\SegmentedList.Generic.Tests.Constructor.cs (3)
30Assert.False(((IList<T>)list).IsReadOnly); //"List should not be readonly" 45Assert.False(((IList<T>)list).IsReadOnly); //"List should not be readonly" 71Assert.False(((IList<T>)list).IsReadOnly); //"List should not be readonly"
Collections\List\SegmentedList.Generic.Tests.Misc.cs (7)
450Assert.False(list.Contains(itemsY[i])); //"Should not contain item" 460Assert.False(list.Contains(items[i])); //"Should not contain item" 490Assert.False(list.Contains(items[items.Length / 2])); //"Should not contain item" 522Assert.False(_ilist.Contains(itemsY[i])); //"Should not contain item" 533Assert.False(_ilist.Contains(items[i])); //"Should not contain item" 565Assert.False(_ilist.Contains(items[items.Length / 2])); //"Should not contain item" 684Assert.False(list.TrueForAll(expectedItemDelegate)); //"Err_282308ahid Verify TrueForAll looks at every item FAILED\n"
Collections\SegmentedArrayTests.cs (2)
48Assert.False(data.IsSynchronized); 127Assert.False(data.IsSynchronized);
Collections\SegmentedCollectionsMarshalTests.cs (3)
442Assert.False(immutableList.IsDefault); 568Assert.False(immutableHashSet.IsDefault); 704Assert.False(immutableDictionary.IsDefault);
Collections\TemporaryArrayTests.cs (4)
37Assert.False(TemporaryArray<int>.Empty.GetEnumerator().MoveNext()); 166Assert.False(enumerator.MoveNext()); 302Assert.False(array.Contains(-1)); 303Assert.False(array.Contains(initialItems));
Collections\TopologicalSortTests.cs (2)
107Assert.False(wasAcyclic); 165Assert.False(wasAcyclic);
CommonSqmUtilitiesTests.cs (2)
38Assert.False(result); 49Assert.False(result);
CommonSyntaxTests.cs (2)
49Assert.False(d.IsNode); 66Assert.False(d.IsNode);
CorLibTypesTests.cs (4)
170Assert.False(cv4.IsDateTime); 173Assert.False(cv5.IsNumeric); 174Assert.False(cv5.IsBoolean); 175Assert.False(cv5.IsFloating);
CryptoBlobParserTests.cs (4)
173Assert.False(CryptoBlobParser.TryParseKey(TestHelpers.HexToByte(invalidKeyBlobs[0].AsSpan()), out _, out _)); 174Assert.False(CryptoBlobParser.TryParseKey(TestHelpers.HexToByte(invalidKeyBlobs[1].AsSpan()), out _, out _)); 175Assert.False(CryptoBlobParser.TryParseKey(TestHelpers.HexToByte(invalidKeyBlobs[2].AsSpan()), out _, out _)); 176Assert.False(CryptoBlobParser.TryParseKey(TestHelpers.HexToByte(invalidKeyBlobs[3].AsSpan()), out _, out _));
Diagnostics\DiagnosticLocalizationTests.cs (3)
254Assert.False(str.Equals(42)); 255Assert.False(str.Equals(42)); 256Assert.False(threw);
Emit\EmitOptionsTests.cs (1)
42Assert.False(newOpt1.Equals(oldOpt1));
FileSystem\PathUtilitiesTests.cs (32)
183Assert.False( 187Assert.False( 189Assert.False( 196Assert.False( 200Assert.False( 202Assert.False( 209Assert.False( 213Assert.False( 215Assert.False( 218Assert.False( 220Assert.False( 222Assert.False( 224Assert.False( 226Assert.False( 228Assert.False( 235Assert.False( 239Assert.False( 241Assert.False( 244Assert.False( 246Assert.False( 248Assert.False( 250Assert.False( 252Assert.False( 254Assert.False( 288Assert.False(PathUtilities.IsSameDirectoryOrChildOf(@"C:\", @"C:\ABCD")); 289Assert.False(PathUtilities.IsSameDirectoryOrChildOf(@"C:\ABC", @"C:\ABCD")); 290Assert.False(PathUtilities.IsSameDirectoryOrChildOf(@"C:\ABCDE", @"C:\ABCD")); 292Assert.False(PathUtilities.IsSameDirectoryOrChildOf(@"C:\A\B\C", @"C:\A\B\C\D")); 301Assert.False(PathUtilities.IsSameDirectoryOrChildOf(@"C:\a\B\C", @"C:\A\B", StringComparison.Ordinal)); 302Assert.False(PathUtilities.IsSameDirectoryOrChildOf(@"C:\A\b\C", @"C:\A\B", StringComparison.Ordinal)); 311Assert.False(PathUtilities.IsSameDirectoryOrChildOf(@"/a/B/C", @"/A/B", StringComparison.Ordinal)); 312Assert.False(PathUtilities.IsSameDirectoryOrChildOf(@"/A/b/C", @"/A/B", StringComparison.Ordinal));
FileUtilitiesTests.cs (7)
22Assert.False(PathUtilities.IsAbsolute(null)); 23Assert.False(PathUtilities.IsAbsolute("")); 24Assert.False(PathUtilities.IsAbsolute("C")); 25Assert.False(PathUtilities.IsAbsolute("C:")); 29Assert.False(PathUtilities.IsAbsolute(@"C\")); 37Assert.False(PathUtilities.IsAbsolute(@"\C")); 38Assert.False(PathUtilities.IsAbsolute(@"/C"));
GivesAccessTo.cs (2)
58Assert.False(CS.ContainingAssembly.GivesAccessTo(VB2.ContainingAssembly)); 62Assert.False(VB.ContainingAssembly.GivesAccessTo(CS2.ContainingAssembly));
InternalUtilities\EnumerableExtensionsTests.cs (5)
21Assert.False(EnumerableExtensions.SequenceEqual(new[] { 1 }, null, comparer)); 22Assert.False(EnumerableExtensions.SequenceEqual(null, new[] { 1 }, comparer)); 25Assert.False(EnumerableExtensions.SequenceEqual(new int[0], new[] { 1 }, comparer)); 26Assert.False(EnumerableExtensions.SequenceEqual(new[] { 1 }, new int[0], comparer)); 27Assert.False(EnumerableExtensions.SequenceEqual(new[] { 1, 2, 3 }, new[] { 1, 3, 2 }, comparer));
InternalUtilities\OneOrManyTests.cs (36)
81Assert.False(OneOrMany.Create(1).Contains(0)); 83Assert.False(OneOrMany.Create(ImmutableArray<int>.Empty).Contains(0)); 86Assert.False(OneOrMany.Create(ImmutableArray.Create(1)).Contains(0)); 90Assert.False(OneOrMany.Create(ImmutableArray.Create(1, 2)).Contains(0)); 176Assert.False(OneOrMany<int>.Empty.Any()); 184Assert.False(OneOrMany<int>.Empty.Any(_ => false)); 185Assert.False(OneOrMany<int>.Empty.Any(_ => true)); 187Assert.False(OneOrMany.Create(1).Any(i => i > 1)); 190Assert.False(OneOrMany.Create(1, 2).Any(i => i < 0)); 197Assert.False(OneOrMany<int>.Empty.Any((_, _) => false, 0)); 198Assert.False(OneOrMany<int>.Empty.Any((_, _) => true, 0)); 200Assert.False(OneOrMany.Create(1).Any((i, a) => i > a, 1)); 203Assert.False(OneOrMany.Create(1, 2).Any((i, a) => i < a, 0)); 224Assert.False(OneOrMany<int>.Empty.SequenceEqual(OneOrMany.Create(1))); 225Assert.False(OneOrMany<int>.Empty.SequenceEqual(OneOrMany.Create(1, 2))); 226Assert.False(OneOrMany.Create(1).SequenceEqual(OneOrMany<int>.Empty)); 227Assert.False(OneOrMany.Create(1, 2).SequenceEqual(OneOrMany<int>.Empty)); 229Assert.False(OneOrMany.Create(1).SequenceEqual(OneOrMany.Create(2))); 231Assert.False(OneOrMany.Create(1, 2).SequenceEqual(OneOrMany.Create(1, 0))); 233Assert.False(OneOrMany.Create(1, 2).SequenceEqual(OneOrMany.Create(ImmutableArray.Create(1, 2, 3)))); 237Assert.False(OneOrMany<int>.Empty.SequenceEqual(new[] { 1 })); 238Assert.False(OneOrMany<int>.Empty.SequenceEqual(new[] { 1, 2 })); 240Assert.False(OneOrMany.Create(1).SequenceEqual(new[] { 2 })); 242Assert.False(OneOrMany.Create(1, 2).SequenceEqual(new[] { 1, 0 })); 243Assert.False(OneOrMany.Create(1, 2).SequenceEqual(new[] { 1, 2, 3 })); 246Assert.False(new[] { 1 }.SequenceEqual(OneOrMany<int>.Empty)); 247Assert.False(new[] { 1, 2 }.SequenceEqual(OneOrMany<int>.Empty)); 249Assert.False(new[] { 1 }.SequenceEqual(OneOrMany.Create(2))); 251Assert.False(new[] { 1, 2 }.SequenceEqual(OneOrMany.Create(1, 0))); 252Assert.False(new[] { 1, 2 }.SequenceEqual(OneOrMany.Create(ImmutableArray.Create(1, 2, 3)))); 255Assert.False(ImmutableArray.Create(1).SequenceEqual(OneOrMany<int>.Empty)); 256Assert.False(ImmutableArray.Create(1, 2).SequenceEqual(OneOrMany<int>.Empty)); 258Assert.False(ImmutableArray.Create(1).SequenceEqual(OneOrMany.Create(2))); 260Assert.False(ImmutableArray.Create(1, 2).SequenceEqual(OneOrMany.Create(1, 0))); 261Assert.False(ImmutableArray.Create(1, 2).SequenceEqual(OneOrMany.Create(ImmutableArray.Create(1, 2, 3)))); 270Assert.False(OneOrMany.Create(1, 2).SequenceEqual(new[] { 0, 1 }, comparer));
InternalUtilities\SpecializedCollectionsTests.cs (4)
30Assert.False(((IEnumerable)emptySet).GetEnumerator().MoveNext()); 35Assert.False(emptySet.Contains(0)); 52Assert.False(emptySet.Overlaps(new int[0])); 53Assert.False(emptySet.Overlaps(new int[1]));
MetadataReferences\AssemblyIdentityDisplayNameTests.cs (3)
27Assert.False(AssemblyIdentity.TryParseVersion(value, out actual, out actualParts)); 378Assert.False( 410Assert.False(AssemblyIdentity.TryParseDisplayName(name, out _));
MetadataReferences\AssemblyIdentityMapTests.cs (4)
39Assert.False(map.Contains(new AssemblyIdentity("a", new Version(1, 1, 0, 0)), allowHigherVersion: false)); 40Assert.False(map.TryGetValue(new AssemblyIdentity("a", new Version(1, 1, 0, 0)), out value, allowHigherVersion: false)); 43Assert.False(map.Contains(new AssemblyIdentity("b", new Version(1, 1, 0, 0)), allowHigherVersion: true)); 44Assert.False(map.Contains(new AssemblyIdentity("b", new Version(1, 1, 0, 0)), allowHigherVersion: false));
MetadataReferences\AssemblyIdentityTests.cs (20)
45Assert.False(id1.Equals(id3)); 46Assert.False(id1.Equals(id4)); 47Assert.False(id1.Equals(id5)); 48Assert.False(id1.Equals(id6)); 49Assert.False(id1.Equals(id7)); 53Assert.False(id2.Equals((AssemblyIdentity)null)); 57Assert.False(win1.Equals(win2)); 58Assert.False(win1.Equals(id1)); 102Assert.False(id.HasPublicKey); 103Assert.False(id.IsStrongName); 148Assert.False(id.HasPublicKey); 149Assert.False(id.IsRetargetable); 160Assert.False(id.IsRetargetable); 170Assert.False(id.HasPublicKey); 193Assert.False(id.IsRetargetable); 209Assert.False(id3.IsStrongName); 214Assert.False(id4.IsStrongName); 274Assert.False(id.HasPublicKey); 286Assert.False(id.HasPublicKey); 287Assert.False(id.IsRetargetable);
MetadataReferences\MetadataHelpersTests.cs (16)
30Assert.False(MetadataHelpers.IsValidMetadataIdentifier(null)); 31Assert.False(MetadataHelpers.IsValidMetadataIdentifier("")); 33Assert.False(MetadataHelpers.IsValidMetadataIdentifier("\0")); 34Assert.False(MetadataHelpers.IsValidMetadataIdentifier("x\0")); 35Assert.False(MetadataHelpers.IsValidMetadataIdentifier("\0x")); 36Assert.False(MetadataHelpers.IsValidMetadataIdentifier("abc\0xyz\0uwq")); 37Assert.False(MetadataHelpers.IsValidMetadataIdentifier(lowSurrogate)); 38Assert.False(MetadataHelpers.IsValidMetadataIdentifier(highSurrogate)); 40Assert.False(MetadataHelpers.IsValidMetadataIdentifier(lowSurrogate + highSurrogate)); 41Assert.False(MetadataHelpers.IsValidMetadataIdentifier(highSurrogate + "x" + lowSurrogate)); 42Assert.False(MetadataHelpers.IsValidMetadataIdentifier(lowSurrogate + "x" + highSurrogate)); 43Assert.False(MetadataHelpers.IsValidMetadataIdentifier(highSurrogate + "xxx")); 44Assert.False(MetadataHelpers.IsValidMetadataIdentifier(lowSurrogate + "xxx")); 45Assert.False(MetadataHelpers.IsValidMetadataIdentifier(lowSurrogate + "\0" + highSurrogate)); 46Assert.False(MetadataHelpers.IsValidMetadataIdentifier(highSurrogate + "\0" + lowSurrogate)); 451Assert.False(nestedNamespaces.GroupBy(pair => pair.Key).Where(g => g.Count() > 1).Any());
MetadataReferences\MetadataReferencePropertiesTests.cs (2)
22Assert.False(m.EmbedInteropTypes); 32Assert.False(m.EmbedInteropTypes);
MetadataReferences\MetadataReferenceTests.cs (14)
101Assert.False(stream.CanRead); 106Assert.False(r.Properties.EmbedInteropTypes); 137Assert.False(r.Properties.EmbedInteropTypes); 153Assert.False(r.Properties.EmbedInteropTypes); 169Assert.False(r.Properties.EmbedInteropTypes); 192Assert.False(r.Properties.EmbedInteropTypes); 212Assert.False(r.Properties.EmbedInteropTypes); 261Assert.False(r.Properties.EmbedInteropTypes); 320Assert.False(r4.Properties.EmbedInteropTypes); 328Assert.False(r5.Properties.EmbedInteropTypes); 342Assert.False(r.Properties.EmbedInteropTypes); 348Assert.False(r1.Properties.EmbedInteropTypes); 373Assert.False(r.Properties.EmbedInteropTypes); 379Assert.False(r1.Properties.EmbedInteropTypes);
MetadataReferences\ModuleMetadataTests.cs (8)
198Assert.False(seeked); 226Assert.False(seeked); 250Assert.False(disposed); 256Assert.False(seeked); 281Assert.False(disposed); 287Assert.False(seeked); 345Assert.False(disposed); 384Assert.False(seeked);
PEWriter\UsedNamespaceOrTypeTests.cs (1)
72Assert.False(type1.Object.Equals(type3.Object));
StringTableTests.cs (20)
104Assert.False(TestTextEqualsASCII("a", "")); 105Assert.False(TestTextEqualsASCII("", "a")); 107Assert.False(TestTextEqualsASCII("a", "ab")); 108Assert.False(TestTextEqualsASCII("ab", "a")); 109Assert.False(TestTextEqualsASCII("abc", "a")); 110Assert.False(TestTextEqualsASCII("abcd", "a")); 111Assert.False(TestTextEqualsASCII("abcde", "a")); 112Assert.False(TestTextEqualsASCII("abcdef", "a")); 113Assert.False(TestTextEqualsASCII("abcdefg", "a")); 114Assert.False(TestTextEqualsASCII("abcdefgh", "a")); 115Assert.False(TestTextEqualsASCII("a", "ab")); 116Assert.False(TestTextEqualsASCII("a", "abc")); 117Assert.False(TestTextEqualsASCII("a", "abcd")); 118Assert.False(TestTextEqualsASCII("a", "abcde")); 119Assert.False(TestTextEqualsASCII("a", "abcdef")); 120Assert.False(TestTextEqualsASCII("a", "abcdefg")); 121Assert.False(TestTextEqualsASCII("a", "abcdefgh")); 122Assert.False(TestTextEqualsASCII("\u1234", "a")); 123Assert.False(TestTextEqualsASCII("\ud800", "xx")); 124Assert.False(TestTextEqualsASCII("\uffff", ""));
Text\SourceTextTests.cs (12)
216Assert.False(f.ContentEquals(SourceText.From(HelloWorld + "o", s_utf8))); 291Assert.False(sourceText1.ContentEquals(sourceText2)); 292Assert.False(sourceText1.GetContentHash().SequenceEqual(sourceText2.GetContentHash())); 313Assert.False(sourceText1.ContentEquals(sourceText2)); 315Assert.False(sourceText1.GetContentHash().SequenceEqual(sourceText2.GetContentHash())); 321Assert.False(SourceText.IsBinary("")); 323Assert.False(SourceText.IsBinary("\0abc")); 324Assert.False(SourceText.IsBinary("a\0bc")); 325Assert.False(SourceText.IsBinary("abc\0")); 326Assert.False(SourceText.IsBinary("a\0b\0c")); 333Assert.False(SourceText.IsBinary(encoding.GetString(new byte[] { 0x81, 0x8D, 0x8F, 0x90, 0x9D }))); 335Assert.False(SourceText.IsBinary("abc def baz aeiouy \u00E4\u00EB\u00EF\u00F6\u00FC\u00FB"));
Text\TextSpanTest.cs (28)
105Assert.False(span.IsEmpty); 133Assert.False(span.Contains(30)); 134Assert.False(span.Contains(11)); 135Assert.False(span.Contains(-1)); 147Assert.False(span_05_15.Contains(span_00_03)); 148Assert.False(span_00_03.Contains(span_05_15)); 157Assert.False(span_05_15.Contains(span_03_10)); 158Assert.False(span_03_10.Contains(span_05_15)); 165Assert.False(new TextSpan(2, 5).Contains(new TextSpan(0, 0))); 166Assert.False(new TextSpan(2, 5).Contains(new TextSpan(10, 0))); 185Assert.False(new TextSpan(0, 0).Contains(new TextSpan(2, 5))); 186Assert.False(new TextSpan(10, 0).Contains(new TextSpan(2, 5))); 189Assert.False(new TextSpan(3, 0).Contains(new TextSpan(2, 5))); 192Assert.False(new TextSpan(2, 0).Contains(new TextSpan(2, 5))); 195Assert.False(new TextSpan(7, 0).Contains(new TextSpan(2, 5))); 222Assert.False(span1.Equals(span2)); 223Assert.False(span1.Equals(span3)); 224Assert.False(span2.Equals(span3)); 239Assert.False(span1.OverlapsWith(span2)); 240Assert.False(span2.OverlapsWith(span1)); 251Assert.False(span1.OverlapsWith(span2)); 252Assert.False(span2.OverlapsWith(span1)); 275Assert.False(span1.OverlapsWith(span2)); 276Assert.False(span2.OverlapsWith(span1)); 287Assert.False(span1.OverlapsWith(span2)); 288Assert.False(span2.OverlapsWith(span1)); 311Assert.False(span1.IntersectsWith(span2)); 312Assert.False(span2.IntersectsWith(span1));
Text\TextUtilitiesTests.cs (2)
28Assert.False(TextUtilities.IsAnyLineBreakCharacter('a')); 29Assert.False(TextUtilities.IsAnyLineBreakCharacter('b'));
VersionHelperTests.cs (46)
100Assert.False(VersionHelper.TryParseAssemblyVersion("1.234.56.7.*", allowWildcard: true, version: out version)); 102Assert.False(VersionHelper.TryParseAssemblyVersion("1.234.56.7.1", allowWildcard: true, version: out version)); 104Assert.False(VersionHelper.TryParseAssemblyVersion("*", allowWildcard: true, version: out version)); 106Assert.False(VersionHelper.TryParseAssemblyVersion("1.2. *", allowWildcard: true, version: out version)); 108Assert.False(VersionHelper.TryParseAssemblyVersion("1.2.* ", allowWildcard: true, version: out version)); 110Assert.False(VersionHelper.TryParseAssemblyVersion("1.*", allowWildcard: true, version: out version)); 112Assert.False(VersionHelper.TryParseAssemblyVersion("1.1.*.*", allowWildcard: true, version: out version)); 114Assert.False(VersionHelper.TryParseAssemblyVersion("", allowWildcard: true, version: out version)); 116Assert.False(VersionHelper.TryParseAssemblyVersion(" ", allowWildcard: true, version: out version)); 118Assert.False(VersionHelper.TryParseAssemblyVersion(null, allowWildcard: true, version: out version)); 120Assert.False(VersionHelper.TryParseAssemblyVersion("a", allowWildcard: true, version: out version)); 122Assert.False(VersionHelper.TryParseAssemblyVersion("********", allowWildcard: true, version: out version)); 124Assert.False(VersionHelper.TryParseAssemblyVersion("...", allowWildcard: true, version: out version)); 126Assert.False(VersionHelper.TryParseAssemblyVersion(".a.b.", allowWildcard: true, version: out version)); 128Assert.False(VersionHelper.TryParseAssemblyVersion(".0.1.", allowWildcard: true, version: out version)); 130Assert.False(VersionHelper.TryParseAssemblyVersion("65535.65535.65535.65535", allowWildcard: true, version: out version)); 132Assert.False(VersionHelper.TryParseAssemblyVersion("65535.65535.65535.65535", allowWildcard: false, version: out version)); 134Assert.False(VersionHelper.TryParseAssemblyVersion(" 1.2.3.4", allowWildcard: true, version: out version)); 136Assert.False(VersionHelper.TryParseAssemblyVersion("1 .2.3.4", allowWildcard: true, version: out version)); 138Assert.False(VersionHelper.TryParseAssemblyVersion("1.2.3.4 ", allowWildcard: true, version: out version)); 140Assert.False(VersionHelper.TryParseAssemblyVersion("1.2.3. 4", allowWildcard: true, version: out version)); 142Assert.False(VersionHelper.TryParseAssemblyVersion("1.2. 3.4", allowWildcard: true, version: out version)); 146Assert.False(VersionHelper.TryParseAssemblyVersion("\uFF11.\uFF10.\uFF10.\uFF10", allowWildcard: true, version: out version)); 155Assert.False(VersionHelper.TryParse("", out version)); 157Assert.False(VersionHelper.TryParse(null, out version)); 159Assert.False(VersionHelper.TryParse("a", out version)); 161Assert.False(VersionHelper.TryParse("********", out version)); 163Assert.False(VersionHelper.TryParse("...", out version)); 165Assert.False(VersionHelper.TryParse(".a.b.", out version)); 167Assert.False(VersionHelper.TryParse(".1.2.", out version)); 169Assert.False(VersionHelper.TryParse("1.234.56.7.8", out version)); 171Assert.False(VersionHelper.TryParse("*", out version)); 173Assert.False(VersionHelper.TryParse("-1.2.3.4", out version)); 177Assert.False(VersionHelper.TryParse("\uFF11.\uFF10.\uFF10.\uFF10", out version)); 186Assert.False(VersionHelper.TryParse("1.2. 3", out version)); 188Assert.False(VersionHelper.TryParse("1.2.3 ", out version)); 190Assert.False(VersionHelper.TryParse("1.a", out version)); 192Assert.False(VersionHelper.TryParse("1.2.a.b", out version)); 194Assert.False(VersionHelper.TryParse("1.-2.3.4", out version)); 196Assert.False(VersionHelper.TryParse("1..1.2", out version)); 198Assert.False(VersionHelper.TryParse("1.1.65536", out version)); 200Assert.False(VersionHelper.TryParse("1.1.1.10000000", out version)); 202Assert.False(VersionHelper.TryParse("1.1.18446744073709551617999999999999999999999999900001.1", out version)); 204Assert.False(VersionHelper.TryParse("1.1.18446744073709551617999999999999999999999999900001garbage.1", out version)); 206Assert.False(VersionHelper.TryParse("1.1.18446744073709551617999999999999999999999999900001.23garbage", out version)); 208Assert.False(VersionHelper.TryParse("65536.2.65536.1", out version));
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (40)
CommandLineIVTTests.vb (2)
577Assert.False(compiler.Arguments.ReportInternalsVisibleToAttributes) 590Assert.False(compiler.Arguments.ReportInternalsVisibleToAttributes)
CommandLineTests.vb (38)
828Assert.False(args.InteractiveMode) 833Assert.False(args.InteractiveMode) 841Assert.False(args.InteractiveMode) 853Assert.False(args.InteractiveMode) 1438Assert.False(parsedArgs.DisplayVersion) 2679Assert.False(outWriter.ToString().Contains("warning Warning03")) 2811Assert.False(outWriter.ToString().Contains("Warning01")) 2812Assert.False(outWriter.ToString().Contains("Warning03")) 3043Assert.False(parsedArgs.EmitPdb) 3048Assert.False(parsedArgs.EmitPdb) 3063Assert.False(parsedArgs.EmitPdb) 3108Assert.False(parsedArgs.EmitPdb) 3128Assert.False(parsedArgs.EmitPdb) 4560Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4566Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4604Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4625Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4631Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4637Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4644Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4651Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4861Assert.False(parsedArgs.CompilationOptions.CheckOverflow) 4865Assert.False(parsedArgs.CompilationOptions.CheckOverflow) 5397Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5399Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5402Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5405Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 8945Assert.False(args2.ReportAnalyzer) 8977Assert.False(ParsedArgs.SkipAnalyzers) 8993Assert.False(ParsedArgs.SkipAnalyzers) 9001Assert.False(ParsedArgs.SkipAnalyzers) 9254Assert.False(args.CompilationOptions.PublicSign) 9257Assert.False(args.CompilationOptions.PublicSign) 9440Assert.False(File.Exists(dll)) 9443Assert.False(File.Exists(refDll)) 9496Assert.False(File.Exists(pdb)) 9733Assert.False(comp.SignUsingBuilder) 10716Assert.[False](hostOutputRan)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (5)
CodeGen\CodeGenTuples.vb (5)
8950Assert.False(ns.IsGlobalNamespace) 8958Assert.False(ns.IsGlobalNamespace) 8966Assert.False(ns.IsGlobalNamespace) 8977Assert.False(ns.IsGlobalNamespace) 23213Assert.False(type.Equals(underlyingType, SymbolEqualityComparer.Default))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (41)
FlowAnalysis\IterationJumpYieldStatementTests.vb (34)
43Assert.False(controlFlowAnalysis.EndPointIsReachable) 65Assert.False(controlFlowAnalysis.EndPointIsReachable) 94Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 130Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 191Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 222Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 313Assert.False(analysisResults.EndPointIsReachable) 337Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 368Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 399Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 432Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 463Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 509Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 532Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 553Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 577Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 657Assert.False(controlFlowAnalysisResults.StartPointIsReachable) 789Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 925Assert.False(dataFlowAnalysisResults.Succeeded) 941Assert.False(dataFlowAnalysisResults.Succeeded) 959Assert.False(dataFlowAnalysisResults.AlwaysAssigned.Any) 1026Assert.False(controlFlowAnalysisResults.Succeeded) 1055Assert.False(controlFlowAnalysisResults.EntryPoints.Any) 1084Assert.False(controlFlowAnalysisResults.Succeeded) 1113Assert.False(controlFlowAnalysisResults.Succeeded) 1143Assert.False(controlFlowAnalysisResults.EntryPoints.Any) 1171Assert.False(controlFlowAnalysisResults.EntryPoints.Any) 1275Assert.False(controlFlowAnalysisResults.Succeeded) 1471Assert.False(dataFlowResults.Succeeded) 1556Assert.False(analysis.StartPointIsReachable) 1557Assert.False(analysis.EndPointIsReachable) 1603Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 1633Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 1664Assert.False(controlFlowAnalysisResults.EndPointIsReachable)
FlowAnalysis\TryLockUsingStatementTests.vb (6)
145Assert.False(controlFlowAnalysis.EndPointIsReachable) 242Assert.False(controlFlowAnalysis.EndPointIsReachable) 358Assert.False(controlFlowAnalysis.EndPointIsReachable) 1033Assert.False(controlFlowAnalysis.EndPointIsReachable) 1471Assert.False(controlFlowAnalysisResults.EndPointIsReachable) 1520Assert.False(controlFlowAnalysisResults.EndPointIsReachable)
Semantics\QueryExpressions_FlowAnalysis.vb (1)
1083Assert.False(dataFlowAnalysisResults.Succeeded)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
Parser\DeclarationTests.vb (1)
16Assert.False(tree.GetRoot().ContainsDiagnostics)
Syntax\SeparatedSyntaxListTests.vb (1)
215Assert.False(list.Any(SyntaxKind.WhereClause))
Syntax\SyntaxAnnotationTests.vb (2)
33Assert.False(newToken.ContainsAnnotations) 41Assert.False(newTrivia.ContainsAnnotations)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (12)
VisualBasicSyntaxFactsServiceTests.vb (12)
45Assert.False(IsMethodLevelMember(" 93Assert.False(IsMethodLevelMember(" 128Assert.False(IsMethodLevelMember(" 146Assert.False(IsMethodLevelMember(" 164Assert.False(IsMethodLevelMember(" 189Assert.False(IsMethodLevelMember(" 203Assert.False(IsMethodLevelMember(" 211Assert.False(IsMethodLevelMember(" 472Assert.False(IsQueryKeyword(WrapInMethod(" 481Assert.False(IsQueryKeyword(WrapInMethod(" 490Assert.False(IsQueryKeyword(WrapInMethod(" 498Assert.False(IsQueryKeyword(WrapInMethod("
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (7)
RpcTests.cs (1)
218Assert.False(cancellationToken.CanBeCanceled);
VisualStudioMSBuildWorkspaceTests.cs (6)
317Assert.False(File.Exists(p1.OutputFilePath)); 1921Assert.False(options.PreprocessorSymbolNames.Contains("EnableMyAttribute")); 2099Assert.False(File.Exists(document.FilePath)); 2203Assert.False(workspace.CanApplyChange(ApplyChangesKind.AddAdditionalDocument)); 2213Assert.False(workspace.CanApplyChange(ApplyChangesKind.RemoveAdditionalDocument)); 2929Assert.False(projFileText.Contains(@"<Analyzer Include=""..\Analyzers\MyAnalyzer.dll"));
Microsoft.CodeAnalysis.Workspaces.UnitTests (125)
CommandLineProject\CommandLineProjectWorkspaceTests.cs (1)
46Assert.False(tree.ContainsDiagnostics);
EditorConfigParsing\EditorConfigFileParserTests.cs (3)
63Assert.False(parseResults.TryGetSectionForLanguage(Language.CSharp, out _)); 142Assert.False(parseResults.TryGetSectionForFilePath(@"C:\dev\sources\CSharp\Program.cs", out _)); 143Assert.False(parseResults.TryGetSectionForFilePath(@"C:\dev\sources\VisualBasic\Program.vb", out _));
EditorConfigParsing\SectionParserTests.cs (7)
80Assert.False(section.SupportsLanguage(language)); 93Assert.False(section.SupportsLanguage(language)); 104Assert.False(section.SupportsLanguage(language, matchKind: SectionMatch.ExactLanguageMatchWithOthers)); 113Assert.False(section.SupportsLanguage(language, matchKind: SectionMatch.AnyLanguageMatch)); 122Assert.False(section.SupportsLanguage(language, matchKind: SectionMatch.SupersetFilePatternMatch)); 153Assert.False(section.SupportsLanguage(language, matchKind: SectionMatch.FilePatternMatch)); 211Assert.False(section.SupportsFilePath(codefilePath, matchKind: SectionMatch.FilePatternMatch));
FindAllDeclarationsTests.cs (1)
709Assert.False(foundDeclarations.Any(decl => decl == null));
Formatter\FormatterTests.cs (2)
198Assert.False(formattingOptions.WrappingPreserveSingleLine); 199Assert.False(formattingOptions.WrappingKeepStatementsOnSingleLine);
ObjectSerializationTests.cs (2)
436Assert.False(reader.ReadBoolean()); 504Assert.False((bool)reader.ReadScalarValue());
Options\OptionKeyTests.cs (8)
146Assert.False(option1.Equals(option2)); 147Assert.False(option2.Equals(option1)); 148Assert.False(FormattingOptions.UseTabs.Equals(option3)); 149Assert.False(option3.Equals(FormattingOptions.UseTabs)); 159Assert.False(option1.Equals(option2)); 160Assert.False(option2.Equals(option1)); 161Assert.False(CSharpFormattingOptions.SpacingAfterMethodDeclarationName.Equals(option3)); 162Assert.False(option3.Equals(CSharpFormattingOptions.SpacingAfterMethodDeclarationName));
SolutionTests\ProjectIdTests.cs (4)
34Assert.False(id1.Equals(id2)); 35Assert.False(id1 == id2); 36Assert.False(id1.GetHashCode() == id2.GetHashCode()); 37Assert.False(id1.Checksum == id2.Checksum);
SolutionTests\SolutionTests.cs (13)
2535Assert.False(project.HasDocuments); 3064Assert.False(project.HasDocuments); 3067Assert.False(sol2.ProjectIds.Any()); 3090Assert.False(sol2.ContainsProject(pid)); 3115Assert.False(sol2.ContainsProject(pid)); 3143Assert.False(document.TryGetSyntaxRoot(out _)); 3199Assert.False(tree2.TryGetText(out _)); 4445Assert.False(frozenDoc1Root.DescendantNodes().Any(n => n.RawKind == StructDeclaration)); 4459Assert.False(frozenDoc1Root.DescendantNodes().Any(n => n.RawKind == ClassDeclaration)); 4737Assert.False(provider.TryGetDiagnosticValue(syntaxTreeAfterAddingEditorConfig, "CA1234", CancellationToken.None, out _)); 4802Assert.False(originalProvider.TryGetGlobalDiagnosticValue("CA1234", default, out _)); 4818Assert.False(finalProvider.TryGetGlobalDiagnosticValue("CA1234", default, out _)); 5219Assert.False(compilation1.References.Any(r => r is CompilationReference));
SolutionTests\SolutionWithSourceGeneratorTests.cs (7)
581Assert.False(project.TryGetCompilation(out _)); 707Assert.False(workspace.IsDocumentOpen(generatedDocument.Identity.DocumentId)); 728Assert.False(generatorRan); 741Assert.False(generatorRan); 768Assert.False(generatorRan); 831Assert.False(generatorRan); 860Assert.False(noTreesPassed!.Value);
SymbolKeyTests.cs (3)
198Assert.False(symbols.Any(s => s is IFieldSymbol { MetadataName: "" })); 228Assert.False(symbols.Any(s => s is IFieldSymbol { MetadataName: "" })); 258Assert.False(symbols.Any(s => s is IFieldSymbol { MetadataName: "" }));
SyntaxPathTests.cs (6)
34Assert.False(path.TryResolve(SyntaxFactory.ParseExpression("Goo()"), out SyntaxNode _)); 54Assert.False(path.TryResolve(root2, out SyntaxNode _)); 64Assert.False(path.TryResolve(root2, out SyntaxNode _)); 259Assert.False(path2.TryResolve(tree, CancellationToken.None, out SyntaxNode _)); 289Assert.False(path2.TryResolve(tree, CancellationToken.None, out SyntaxNode _)); 290Assert.False(path3.TryResolve(tree, CancellationToken.None, out SyntaxNode _));
UtilityTest\CancellationSeriesTests.cs (6)
26Assert.False(token.IsCancellationRequested); 36Assert.False(token1.IsCancellationRequested); 41Assert.False(token2.IsCancellationRequested); 46Assert.False(token3.IsCancellationRequested); 93Assert.False(token.IsCancellationRequested); 108Assert.False(token.IsCancellationRequested);
UtilityTest\FormattingRangeHelperTests.cs (1)
33Assert.False(FormattingRangeHelper.AreTwoTokensOnSameLine(token1, token2));
UtilityTest\IntervalTreeTests.cs (2)
219Assert.False(HasIntervalThatIntersectsWith(tree, -1)); 223Assert.False(HasIntervalThatIntersectsWith(tree, 3));
UtilityTest\NameGeneratorTests.cs (3)
21Assert.False(a.EndsWith("..txt", StringComparison.Ordinal)); 26Assert.False(b.EndsWith("..txt", StringComparison.Ordinal)); 31Assert.False(c.EndsWith("..txt", StringComparison.Ordinal));
UtilityTest\ReferenceHolderTests.cs (2)
101Assert.False(x.Equals(y)); 102Assert.False(y.Equals(x));
UtilityTest\SpecializedTasksTests.cs (22)
120Assert.False(executedTransform); 138Assert.False(task.IsCompleted); 168Assert.False(task.IsCompleted); 173Assert.False(executedTransform); 197Assert.False(executedTransform); 225Assert.False(task.IsCompleted); 230Assert.False(executedTransform); 257Assert.False(executedTransform); 285Assert.False(task.IsCompleted); 294Assert.False(executedTransform); 321Assert.False(executedTransform); 352Assert.False(task.IsCompleted); 358Assert.False(executedTransform); 380Assert.False(executedTransform); 402Assert.False(executedTransform); 427Assert.False(task.IsCompleted); 432Assert.False(executedTransform); 457Assert.False(executedTransform); 482Assert.False(executedTransform); 510Assert.False(task.IsCompleted); 516Assert.False(executedTransform); 550Assert.False(task.IsCompleted);
UtilityTest\SpellCheckerTests.cs (12)
17Assert.False(WordSimilarityChecker.AreSimilar("variabledeclaratorsyntax", "variabledeclaratorsyntaxextensions")); 20Assert.False(WordSimilarityChecker.AreSimilar("expressionsyntax", "expressionsyntaxextensions")); 23Assert.False(WordSimilarityChecker.AreSimilar("expressionsyntax", "expressionsyntaxgeneratorvisitor")); 30Assert.False(WordSimilarityChecker.AreSimilar("propertyblocksyntax", "ipropertysymbol")); 31Assert.False(WordSimilarityChecker.AreSimilar("propertyblocksyntax", "ipropertysymbolextensions")); 32Assert.False(WordSimilarityChecker.AreSimilar("propertyblocksyntax", "typeblocksyntaxextensions")); 34Assert.False(WordSimilarityChecker.AreSimilar("fielddeclarationsyntax", "declarationinfo")); 35Assert.False(WordSimilarityChecker.AreSimilar("fielddeclarationsyntax", "declarationcomputer")); 36Assert.False(WordSimilarityChecker.AreSimilar("fielddeclarationsyntax", "filelinepositionspan")); 38Assert.False(WordSimilarityChecker.AreSimilar("variabledeclaratorsyntax", "visualbasicdeclarationcomputer")); 39Assert.False(WordSimilarityChecker.AreSimilar("variabledeclaratorsyntax", "ilineseparatorservice")); 41Assert.False(WordSimilarityChecker.AreSimilar("expressionsyntax", "awaitexpressioninfo"));
WorkspaceServiceTests\GlobalOptionServiceTests.cs (4)
151Assert.False(optionSet.GetOption(optionvalid, "CS")); 161Assert.False(optionSet.GetOption(option)); 215Assert.False(optionSet.GetOption(option)); 227Assert.False(optionSet.GetOption(optionFalse));
WorkspaceServiceTests\ReferenceCountedDisposableTests.cs (6)
31Assert.False(target.IsDisposed); 71Assert.False(target.IsDisposed); 84Assert.False(target.IsDisposed); 87Assert.False(target.IsDisposed); 110Assert.False(target.IsDisposed); 117Assert.False(target.IsDisposed);
WorkspaceTests\AdhocWorkspaceTests.cs (10)
227Assert.False(doc.TryGetText(out var currentText)); 240Assert.False(doc.TryGetText(out currentText)); 261Assert.False(doc.TryGetText(out var currentText)); 274Assert.False(doc.TryGetText(out currentText)); 300Assert.False(doc.TryGetText(out var currentText)); 313Assert.False(doc.TryGetText(out currentText)); 334Assert.False(doc.TryGetText(out var currentText)); 335Assert.False(doc.TryGetTextVersion(out var currentVersion)); 351Assert.False(newDoc.TryGetText(out currentText)); 363Assert.False(newDoc.TryGetText(out currentText));
Microsoft.Data.Analysis.Tests (31)
DataFrameTests.BinaryOperations.cs (18)
130Assert.False(verify.Any()); 139Assert.False(verify.Any()); 142Assert.False(verify.Any()); 268Assert.False(newCol.All()); 270Assert.False(newCol.All()); 294Assert.False(newCol.All()); 297Assert.False(newCol.All()); 338Assert.False(newCol.All()); 453Assert.False(res.ElementwiseNotEquals(ints).All()); 454Assert.False(res.ElementwiseGreaterThan(ints).All()); 455Assert.False(res.ElementwiseLessThan(ints).All()); 462Assert.False(inPlace.ElementwiseNotEquals(ints).All()); 463Assert.False(inPlace.ElementwiseGreaterThan(ints).All()); 464Assert.False(inPlace.ElementwiseLessThan(ints).All()); 466Assert.False(inPlace.ElementwiseEquals(res).All()); 468Assert.False(inPlace.ElementwiseLessThanOrEqual(res).All()); 471Assert.False(inPlace.ElementwiseLessThan(res).All()); 489Assert.False(reverseInPlace.ElementwiseEquals(reverse).All());
DataFrameTests.Computations.cs (1)
61Assert.False(all);
PrimitiveDataFrameColumnTests.cs (5)
99Assert.False(dataFrameColumn1.IsValid(10)); 119Assert.False(intColumn.IsValid(i)); 167Assert.False(intColumn.IsValid(i)); 192Assert.False(intColumn.IsValid(i)); 257Assert.False(intColumn.IsValid(7));
test\Microsoft.ML.TestFramework\GlobalBase.cs (2)
89Assert.False(_ignoreOne); 94Assert.False(_ignoreOne);
TextFieldParserTests.cs (5)
117Assert.False(parser.HasFieldsEnclosedInQuotes); 125Assert.False(parser.TrimWhiteSpace); 137Assert.False(parser.EndOfData); 151Assert.False(parser.EndOfData); 162Assert.False(parser.EndOfData);
Microsoft.DotNet.Arcade.Sdk.Tests (5)
ValidateLicenseTests.cs (5)
13Assert.False(ValidateLicense.LinesEqual(new[] { "a" }, new[] { "b" })); 14Assert.False(ValidateLicense.LinesEqual(new[] { "a" }, new[] { "A" })); 15Assert.False(ValidateLicense.LinesEqual(new[] { "a" }, new[] { "a", "b" })); 16Assert.False(ValidateLicense.LinesEqual(new[] { "a" }, new[] { "a", "*ignore-line*" })); 17Assert.False(ValidateLicense.LinesEqual(new[] { "*ignore-line*" }, new[] { "a" }));
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
PublishToSymbolServerTest.cs (1)
39Assert.False(Directory.Exists(path));
Microsoft.DotNet.Build.Tasks.Workloads.Tests (1)
CreateVisualStudioWorkloadSetTests.cs (1)
60Assert.False(MsiUtils.HasTable(msi.ItemSpec, "Upgrade"));
Microsoft.DotNet.Open.Api.Tools.Tests (3)
OpenApiAddURLTests.cs (1)
442Assert.False(File.Exists(jsonFile));
OpenApiRemoveTests.cs (2)
56Assert.False(File.Exists(Path.Combine(_tempDir.Root, nswagJsonFile))); 186Assert.False(File.Exists(Path.Combine(_tempDir.Root, nswagJsonFile)));
Microsoft.DotNet.VersionTools.Tests (4)
BuildManifest\ManifestModelTests.cs (4)
527Assert.False(packageArtifact.Equals(otherPackageArtifact)); 569Assert.False(packageArtifact.Equals("thisIsNotAPackageArtifact!")); 636Assert.False(blobArtifact.Equals(otherBlobArtifact)); 675Assert.False(blobArtifact.Equals("thisIsNotABlobArtifact!"));
Microsoft.DotNet.XUnitAssert.Tests (5)
BooleanAssertsTests.cs (2)
12 Assert.False(false); 18 var ex = Record.Exception(() => Assert.False(true));
MultipleAssertsTests.cs (3)
37 () => Assert.False(false) 47 () => Assert.False(true) 60 () => Assert.False(true)
Microsoft.Extensions.ApiDescription.Client.Tests (11)
CSharpIdentifierTest.cs (1)
42Assert.False(result);
GetCurrentOpenApiReferenceTest.cs (1)
42Assert.False(task.Log.HasLoggedErrors);
GetOpenApiReferenceMetadataTest.cs (9)
51Assert.False(task.Log.HasLoggedErrors); 109Assert.False(task.Log.HasLoggedErrors); 167Assert.False(task.Log.HasLoggedErrors); 225Assert.False(task.Log.HasLoggedErrors); 277Assert.False(result); 323Assert.False(result); 375Assert.False(task.Log.HasLoggedErrors); 438Assert.False(task.Log.HasLoggedErrors); 535Assert.False(task.Log.HasLoggedErrors);
Microsoft.Extensions.ApiDescription.Tool.Tests (10)
GetDocumentTests.cs (10)
150Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample.json"))); 151Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample_internal.json"))); 152Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample_invalid.json"))); 180Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample.json"))); 181Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample_internal.json"))); 207Assert.False(File.Exists(Path.Combine(outputPath.FullName, $"{fileName}.json"))); 208Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample.json"))); 209Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample_internal.json"))); 231Assert.False(File.Exists(Path.Combine(outputPath.FullName, ".json"))); 232Assert.False(File.Exists(Path.Combine(outputPath.FullName, "_internal.json")));
Microsoft.Extensions.AsyncState.Tests (7)
AsyncContextTests.cs (2)
92Assert.False(context1.TryGet(out _)); 155Assert.False(context1.TryGet(out var context));
AsyncStateTokenTests.cs (5)
18Assert.False(t1.Equals(string.Empty)); 20Assert.False(t1 != t2); 29Assert.False(t1.Equals(t2)); 31Assert.False(t1.Equals((object)t2)); 32Assert.False(t1 == t2);
Microsoft.Extensions.Caching.Hybrid.Tests (7)
BufferReleaseTests.cs (2)
70Assert.False(cacheItem.TryReserveBuffer(out _)); 221Assert.False(cacheItem.TryReserveBuffer(out _)); // released now
DistributedCacheTests.cs (3)
202Assert.False(cache.TryGet(key, writer)); 328Assert.False(payload.IsSingleSegment); 332Assert.False(MemoryMarshal.TryGetArray(payload.First, out _));
RedisTests.cs (1)
70Assert.False(await redis.GetDatabase().KeyExistsAsync(key));
TypeTests.cs (1)
38Assert.False((bool)typeof(ImmutableTypeCache<>).MakeGenericType(type)
Microsoft.Extensions.Compliance.Abstractions.Tests (6)
Classification\DataClassificationSetTests.cs (1)
30Assert.False(dc1.Equals(null));
Classification\DataClassificationTests.cs (5)
21Assert.False(dc != new DataClassification(TaxonomyName, Value)); 24Assert.False(dc == new DataClassification(TaxonomyName + "x", Value)); 27Assert.False(dc == new DataClassification(TaxonomyName, Value + 1)); 30Assert.False(dc.Equals(new object())); 36Assert.False(dc.Equals(null));
Microsoft.Extensions.Compliance.Testing.Tests (5)
RedactionFakesEventCollectorTests.cs (5)
41Assert.False(first.Equals(third)); 42Assert.False(first.Equals(@object)); 47Assert.False(first == fourth); 62Assert.False(first.Equals(third)); 63Assert.False(first.Equals(@object));
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (23)
DefaultHealthCheckServiceTest.cs (2)
458Assert.False(healthCheck.SyncOrAsyncDisposable.IsDisposed); 589Assert.False(hangs);
HealthCheckPublisherHostedServiceTest.cs (21)
56Assert.False(service.IsTimerRunning); 57Assert.False(service.IsStopping); 62Assert.False(service.IsTimerRunning); 85Assert.False(service.IsStopping); 90Assert.False(service.IsTimerRunning); 130Assert.False(service.IsStopping); 135Assert.False(service.IsTimerRunning); 166Assert.False(service.IsTimerRunning); 176Assert.False(service.IsTimerRunning); 208Assert.False(service.IsStopping); 216Assert.False(service.IsTimerRunning); 363Assert.False(running.IsCompleted); 376Assert.False(service.IsStopping); 381Assert.False(service.IsTimerRunning); 430Assert.False(service.IsStopping); 441Assert.False(service.IsTimerRunning); 476Assert.False(service.IsStopping); 481Assert.False(service.IsTimerRunning); 650Assert.False(service.IsTimerRunning); 687Assert.False(service.IsTimerRunning); 731Assert.False(service.IsTimerRunning);
Microsoft.Extensions.Diagnostics.Probes.Tests (10)
KubernetesProbesExtensionsTests.cs (6)
50Assert.False(livenessConfig.FilterChecks(startupRegistration)); 51Assert.False(livenessConfig.FilterChecks(readinessRegistration)); 55Assert.False(startupConfig.FilterChecks!(livenessRegistration)); 57Assert.False(startupConfig.FilterChecks(readinessRegistration)); 61Assert.False(readinessConfig.FilterChecks!(livenessRegistration)); 62Assert.False(readinessConfig.FilterChecks(startupRegistration));
TcpEndpointProbesServiceTests.cs (4)
40Assert.False(IsTcpOpened(port)); 54Assert.False(IsTcpOpened(port)); 58Assert.False(IsTcpOpened(port)); 94Assert.False(IsTcpOpened(port));
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (4)
ByteArrayEqualityComparerTests.cs (4)
22Assert.False(_comparer.Equals(x, null)); 23Assert.False(_comparer.Equals(null, x)); 31Assert.False(_comparer.Equals(x, y)); 39Assert.False(_comparer.Equals(x, y));
Microsoft.Extensions.Diagnostics.Testing.Tests (9)
Logging\FakeLoggerTests.cs (3)
163Assert.False(logger.IsEnabled(LogLevel.Debug)); 168Assert.False(logger.IsEnabled((LogLevel)42)); 172Assert.False(logger.LatestRecord.LevelEnabled);
Metrics\MetricCollectorTests.cs (6)
252Assert.False(wait.IsCompleted); 255Assert.False(wait.IsCompleted); 260Assert.False(wait.IsFaulted); 267Assert.False(wait.IsFaulted); 313Assert.False(wait.IsCompleted); 317Assert.False(wait.IsCompleted);
Microsoft.Extensions.FileProviders.Embedded.Tests (23)
EmbeddedFileProviderTests.cs (14)
33Assert.False(fileInfo.Exists); 53Assert.False(fileInfo.IsDirectory); 69Assert.False(fileInfo.Exists); 83Assert.False(fileInfo.Exists); 119Assert.False(fileInfo.IsDirectory); 157Assert.False(fileInfo.IsDirectory); 195Assert.False(fileInfo.IsDirectory); 216Assert.False(provider.GetDirectoryContents("file").Exists); 217Assert.False(provider.GetDirectoryContents("file/").Exists); 218Assert.False(provider.GetDirectoryContents("file.txt").Exists); 219Assert.False(provider.GetDirectoryContents("file/txt").Exists); 250Assert.False(files.Exists); 265Assert.False(token.ActiveChangeCallbacks); 266Assert.False(token.HasChanged);
ManifestEmbeddedFileProviderTests.cs (9)
30Assert.False(jqueryValidate.IsDirectory); 37Assert.False(jqueryMin.IsDirectory); 44Assert.False(siteCss.IsDirectory); 67Assert.False(jqueryValidate.IsDirectory); 74Assert.False(jqueryMin.IsDirectory); 81Assert.False(siteCss.IsDirectory); 166Assert.False(jqueryValidate.IsDirectory); 189Assert.False(jqueryValidate.IsDirectory); 440Assert.False(jqueryValidate.IsDirectory);
Microsoft.Extensions.Hosting.Testing.Tests (2)
FakeHostTests.cs (2)
90Assert.False(receivedToken.IsCancellationRequested); 150Assert.False(receivedToken.IsCancellationRequested);
Microsoft.Extensions.Http.Diagnostics.Tests (7)
Latency\HttpClientLatencyTelemetryExtensionsTest.cs (1)
85Assert.False(options.EnableDetailedLatencyBreakdown);
Latency\Internal\HttpLatencyTelemetryHandlerTest.cs (1)
98Assert.False(listener.Enabled);
Latency\Internal\HttpRequestLatencyListenerTest.cs (5)
54Assert.False(es.IsEnabled()); 59Assert.False(esSockets.IsEnabled()); 64Assert.False(esHttp.IsEnabled()); 69Assert.False(esNameRes.IsEnabled()); 87Assert.False(es.IsEnabled());
Microsoft.Extensions.Http.Polly.Tests (1)
PolicyHttpMessageHandlerTest.cs (1)
409Assert.False(hangs);
Microsoft.Extensions.Http.Resilience.Tests (5)
Hedging\HttpClientHedgingResiliencePredicatesTests.cs (3)
23Assert.False(HttpClientHedgingResiliencePredicates.IsTransientHttpException(new InvalidOperationException())); 32Assert.False(HttpClientHedgingResiliencePredicates.IsTransient(Outcome.FromException<HttpResponseMessage>(new InvalidOperationException()))); 33Assert.False(HttpClientHedgingResiliencePredicates.IsTransient(Outcome.FromResult<HttpResponseMessage>(null)));
Hedging\HttpStandardHedgingResilienceOptionsCustomValidatorTests.cs (1)
74Assert.False(validationResult.Failed);
Resilience\HttpStandardResilienceOptionsCustomValidatorTests.cs (1)
75Assert.False(validationResult.Failed);
Microsoft.Extensions.SecretManager.Tools.Tests (1)
InitCommandTest.cs (1)
43Assert.False(string.IsNullOrWhiteSpace(idResolver.Resolve(null, null)));
Microsoft.Extensions.ServiceDiscovery.Tests (1)
ServiceEndpointResolverTests.cs (1)
121Assert.False(tcs.Task.IsCompleted);
Microsoft.Extensions.Telemetry.Abstractions.Tests (13)
Latency\CheckpointTests.cs (5)
30Assert.False(c1.Equals(c3)); 31Assert.False(c1.Equals(c4)); 32Assert.False(c1.Equals(null)); 34Assert.False(c1 != c2); 35Assert.False(c1 == c3);
Latency\MeasureTests.cs (4)
31Assert.False(m1.Equals(m3)); 32Assert.False(m1.Equals(m4)); 33Assert.False(m1.Equals(null)); 35Assert.False(m1 != m2);
Logging\LogPropertiesAttributeTests.cs (3)
14Assert.False(lpa.SkipNullProperties); 24Assert.False(lpa.OmitReferenceName); 34Assert.False(lpa.Transitive);
Logging\TagProviderAttributeTests.cs (1)
17Assert.False(attr.OmitReferenceName);
Microsoft.Extensions.Telemetry.Tests (35)
Enrichment\ApplicationEnricherExtensionsTests.cs (5)
64Assert.False(options.ApplicationName); 65Assert.False(options.EnvironmentName); 66Assert.False(options.BuildVersion); 67Assert.False(options.DeploymentRing); 91Assert.False(options.EnvironmentName);
Enrichment\ApplicationLogEnricherTests.cs (4)
88Assert.False(enrichedState.ContainsKey(ApplicationEnricherTags.ApplicationName)); 97Assert.False(enrichedState.ContainsKey(ApplicationEnricherTags.EnvironmentName)); 106Assert.False(enrichedState.ContainsKey(ApplicationEnricherTags.BuildVersion)); 115Assert.False(enrichedState.ContainsKey(ApplicationEnricherTags.DeploymentRing));
Enrichment\ProcessEnricherExtensionsTests.cs (3)
65Assert.False(options.ProcessId); 66Assert.False(options.ThreadId); 89Assert.False(options.ThreadId);
Enrichment\ProcessLogEnricherTests.cs (3)
38Assert.False(options.ThreadId); 92Assert.False(enrichedState.ContainsKey(ProcessEnricherTagNames.ProcessId)); 93Assert.False(enrichedState.ContainsKey(ProcessEnricherTagNames.ThreadId));
Http\HttpParserTests.cs (2)
30Assert.False(success); 47Assert.False(success);
Latency\Internal\LatencyContextRegistrySetTests.cs (1)
79Assert.False(registry.IsRegistered(notRegsitered));
Latency\Internal\LatencyContextTests.cs (9)
27Assert.False(latencyContext.IsRunning); 35Assert.False(latencyContext.IsDisposed); 49Assert.False(latencyContext.IsRunning); 54Assert.False(latencyContext.IsRunning); 66Assert.False(latencyContext.IsDisposed); 94Assert.False(((LatencyContext)context).IsRunning); 176Assert.False(((LatencyContext)context).IsRunning); 230Assert.False(((LatencyContext)context).IsRunning); 255Assert.False(((LatencyContext)context).IsRunning);
Latency\LatencyConsoleOptionsTests.cs (3)
22Assert.False(o.OutputCheckpoints); 23Assert.False(o.OutputTags); 24Assert.False(o.OutputMeasures);
Latency\LatencyContextExtensionTests.cs (2)
113Assert.False(l.ThrowOnUnregisteredNames); 117Assert.False(o.ThrowOnUnregisteredNames);
Logging\JustInTimeRedactorTests.cs (1)
50Assert.False(r.TryFormat(d, out int _, string.Empty.AsSpan(), CultureInfo.InvariantCulture));
Logging\LoggerEnrichmentOptionsTests.cs (2)
18Assert.False(o.CaptureStackTraces); 19Assert.False(o.UseFileInfoForStackTraces);
Microsoft.Extensions.TimeProvider.Testing.Tests (13)
FakeTimeProviderTests.cs (9)
245Assert.False(delay.IsFaulted); 246Assert.False(delay.IsCanceled); 256Assert.False(delay.IsCompleted); 299Assert.False(t.IsFaulted); 300Assert.False(t.IsCanceled); 319Assert.False(t.IsFaulted); 320Assert.False(t.IsCanceled); 338Assert.False(t.IsCanceled); 490Assert.False(result.IsCompleted);
TimerTests.cs (4)
147Assert.False(cancellationTokenSource.Token.IsCancellationRequested); 197Assert.False(t.Change(TimeSpan.FromMilliseconds(1), TimeSpan.FromMilliseconds(1))); 208Assert.False(t.Change(TimeSpan.FromMilliseconds(1), TimeSpan.FromMilliseconds(1))); 380Assert.False(triggers[j]);
Microsoft.Gen.ContextualOptions.Generated.Tests (1)
ContextualOptionsTests.cs (1)
60Assert.False(typeof(NonPublicStruct).IsPublic);
Microsoft.Gen.ContextualOptions.Unit.Tests (5)
EmitterTests.cs (1)
124Assert.False(hasNamespace);
ParserTests.cs (3)
65Assert.False(result.Single().ShouldEmit); 80Assert.False(result.Single().ShouldEmit); 95Assert.False(result.Single().ShouldEmit);
SyntaxContextReceiverTests.cs (1)
54Assert.False(sut.TryGetTypeDeclarations(comp, out _));
Microsoft.Gen.Logging.Unit.Tests (3)
LogParserUtilitiesTests.cs (2)
74Assert.False(result); 122Assert.False(result);
ParserUtilitiesTests.cs (1)
75Assert.False(result);
Microsoft.Gen.MetricsReports.Unit.Tests (1)
GeneratorTests.cs (1)
94Assert.False(File.Exists(Path.Combine(Path.GetTempPath(), ReportFilename)));
Microsoft.JSInterop.Tests (20)
Infrastructure\DotNetDispatcherTest.cs (8)
141Assert.False(resultDto2Ref.TryGetProperty(nameof(TestDTO.StringVal), out _)); 142Assert.False(resultDto2Ref.TryGetProperty(nameof(TestDTO.IntVal), out _)); 333Assert.False(task.IsCompletedSuccessfully); 396Assert.False(task.IsCompletedSuccessfully); 690Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 712Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 732Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 748Assert.False(jsRuntime.LastCompletionResult.Success); // Fails
JSRuntimeExtensionsTest.cs (2)
123Assert.False(cts.CanBeCanceled); 167Assert.False(cts.CanBeCanceled);
JSRuntimeTest.cs (10)
112Assert.False(unrelatedTask.IsCompleted); 113Assert.False(task.IsCompleted); 122Assert.False(unrelatedTask.IsCompleted); 187Assert.False(unrelatedTask.IsCompleted); 188Assert.False(task.IsCompleted); 198Assert.False(unrelatedTask.IsCompleted); 215Assert.False(unrelatedTask.IsCompleted); 216Assert.False(task.IsCompleted); 225Assert.False(unrelatedTask.IsCompleted); 312Assert.False(call.Success);
Microsoft.ML.AutoML.Tests (48)
ColumnInferenceTests.cs (2)
36Assert.False(col.Source.Length > 1 || col.Source[0].Min != col.Source[0].Max); 71Assert.False(result.TextLoaderOptions.HasHeader);
ConversionTests.cs (2)
55Assert.False(success); 92Assert.False(success);
GetNextPipelineTests.cs (1)
89Assert.False(topStage1TrainerNames.Except(stage2TrainerNames).Any());
MetricsAgentsTests.cs (20)
37Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.Accuracy)); 38Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.AreaUnderRocCurve)); 39Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.AreaUnderPrecisionRecallCurve)); 40Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.F1Score)); 41Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.NegativePrecision)); 42Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.NegativeRecall)); 43Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.PositivePrecision)); 44Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.PositiveRecall)); 76Assert.False(IsPerfectModel(metrics, MulticlassClassificationMetric.MacroAccuracy)); 77Assert.False(IsPerfectModel(metrics, MulticlassClassificationMetric.MicroAccuracy)); 78Assert.False(IsPerfectModel(metrics, MulticlassClassificationMetric.LogLoss)); 79Assert.False(IsPerfectModel(metrics, MulticlassClassificationMetric.LogLossReduction)); 80Assert.False(IsPerfectModel(metrics, MulticlassClassificationMetric.TopKAccuracy)); 108Assert.False(IsPerfectModel(metrics, RegressionMetric.MeanAbsoluteError)); 109Assert.False(IsPerfectModel(metrics, RegressionMetric.MeanSquaredError)); 110Assert.False(IsPerfectModel(metrics, RegressionMetric.RootMeanSquaredError)); 111Assert.False(IsPerfectModel(metrics, RegressionMetric.RSquared)); 146Assert.False(IsPerfectModel(metrics, RankingMetric.Dcg, 3)); 147Assert.False(IsPerfectModel(metrics, RankingMetric.Ndcg, 3)); 156Assert.False(IsPerfectModel(metrics, RankingMetric.Dcg, 3)); //REVIEW: No true Perfect model
SweeperTests.cs (23)
184Assert.False(value1.Equals(value2)); 187Assert.False(value1.Equals((object)value2)); 191Assert.False(value1.Equals(new FloatParameterValue(nameof(value1), 1.0f))); 192Assert.False(value1.Equals((IParameterValue)null)); 193Assert.False(value1.Equals((object)null)); 194Assert.False(value1.Equals(new object())); 207Assert.False(value1.Equals(value2)); 210Assert.False(value1.Equals((object)value2)); 214Assert.False(value1.Equals(new LongParameterValue(nameof(value1), 1))); 215Assert.False(value1.Equals((IParameterValue)null)); 216Assert.False(value1.Equals((object)null)); 217Assert.False(value1.Equals(new object())); 230Assert.False(value1.Equals(value2)); 233Assert.False(value1.Equals((object)value2)); 237Assert.False(value1.Equals(new LongParameterValue(nameof(value1), 1))); 238Assert.False(value1.Equals((IParameterValue)null)); 239Assert.False(value1.Equals((object)null)); 240Assert.False(value1.Equals(new object())); 254Assert.False(parameterSet.Equals(null)); 259Assert.False(parameterSet.Equals(parameterSetNewHash)); 264Assert.False(parameterSet.Equals(parameterSetMoreValues)); 269Assert.False(parameterSet.Equals(parameterSetDifferentName)); 274Assert.False(parameterSet.Equals(parameterSetDifferentValue));
Microsoft.ML.Core.Tests (72)
UnitTests\TestEarlyStoppingCriteria.cs (21)
39Assert.False(shouldStop); 43Assert.False(shouldStop); 44Assert.False(isBestCandidate); 48Assert.False(isBestCandidate); 64Assert.False(shouldStop); 69Assert.False(shouldStop); 72Assert.False(isBestCandidate); 89Assert.False(shouldStop); 96Assert.False(shouldStop); 103Assert.False(isBestCandidate); 104Assert.False(shouldStop); 108Assert.False(isBestCandidate); 125Assert.False(shouldStop); 132Assert.False(shouldStop); 139Assert.False(isBestCandidate); 140Assert.False(shouldStop); 144Assert.False(isBestCandidate); 162Assert.False(shouldStop); 169Assert.False(isBestCandidate); 170Assert.False(shouldStop); 175Assert.False(isBestCandidate);
UnitTests\TestEntryPoints.cs (16)
391Assert.False(EntryPointUtils.IsValueWithinRange(range, 4.9)); 395Assert.False(EntryPointUtils.IsValueWithinRange(range, 5.0)); 396Assert.False(EntryPointUtils.IsValueWithinRange(range, 4.9)); 399Assert.False(EntryPointUtils.IsValueWithinRange(range, 5.1)); 404Assert.False(EntryPointUtils.IsValueWithinRange(range, 5.1)); 405Assert.False(EntryPointUtils.IsValueWithinRange(range, 5.0)); 409Assert.False(EntryPointUtils.IsValueWithinRange(range, -1.1)); 410Assert.False(EntryPointUtils.IsValueWithinRange(range, 1.1)); 5010Assert.False(b); 5240Assert.False(b); 5397Assert.False(b); 5601Assert.False(b); 5806Assert.False(b); 6116Assert.False(b); 6296Assert.False(b); 6468Assert.False(b);
UnitTests\TestLruCache.cs (1)
69Assert.False(success);
UnitTests\TestUtilities.cs (33)
41Assert.False(Utils.IsMonotonicallyIncreasing(x)); 68Assert.False(Utils.IsMonotonicallyIncreasing(x)); 75Assert.False(Utils.IsMonotonicallyIncreasing(x)); 102Assert.False(Utils.IsMonotonicallyIncreasing(x)); 109Assert.False(Utils.IsMonotonicallyIncreasing(x)); 125Assert.False(Utils.IsIncreasing(1, x, 10)); 127Assert.False(Utils.IsIncreasing(0, x, 9)); 139Assert.False(Utils.IsIncreasing(0, x, 10)); 146Assert.False(Utils.IsIncreasing(0, x, 10)); 171Assert.False(Utils.AreEqual(x, y)); 177Assert.False(Utils.AreEqual(x, y)); 183Assert.False(Utils.AreEqual(x, y)); 188Assert.False(Utils.AreEqual(xOfDifferentLength, y)); 191Assert.False(Utils.AreEqual(null, y)); 192Assert.False(Utils.AreEqual(x, null)); 207Assert.False(Utils.AreEqual(x, y)); 213Assert.False(Utils.AreEqual(x, y)); 219Assert.False(Utils.AreEqual(x, y)); 224Assert.False(Utils.AreEqual(xOfDifferentLength, y)); 227Assert.False(Utils.AreEqual(null, y)); 228Assert.False(Utils.AreEqual(x, null)); 243Assert.False(Utils.AreEqual(x, y)); 249Assert.False(Utils.AreEqual(x, y)); 255Assert.False(Utils.AreEqual(x, y)); 260Assert.False(Utils.AreEqual(xOfDifferentLength, y)); 263Assert.False(Utils.AreEqual(null, y)); 264Assert.False(Utils.AreEqual(x, null)); 279Assert.False(Utils.AreEqual(x, y)); 285Assert.False(Utils.AreEqual(x, y)); 291Assert.False(Utils.AreEqual(x, y)); 296Assert.False(Utils.AreEqual(xOfDifferentLength, y)); 299Assert.False(Utils.AreEqual(null, y)); 300Assert.False(Utils.AreEqual(x, null));
UnitTests\TestVBuffer.cs (1)
289Assert.False(a.IsDense);
Microsoft.ML.CpuMath.UnitTests (3)
UnitTests.cs (3)
127Assert.False(System.Runtime.Intrinsics.X86.Avx.IsSupported); 132Assert.False(System.Runtime.Intrinsics.X86.Avx.IsSupported); 133Assert.False(System.Runtime.Intrinsics.X86.Sse.IsSupported);
Microsoft.ML.IntegrationTests (14)
Common.cs (4)
337Assert.False(float.IsNaN(array[i])); 338Assert.False(float.IsInfinity(array[i])); 352Assert.False(double.IsNaN(array[i])); 353Assert.False(double.IsInfinity(array[i]));
IntrospectiveTraining.cs (3)
61Assert.All(tree.CategoricalSplitFlags, flag => Assert.False(flag)); 105Assert.All(tree.CategoricalSplitFlags, flag => Assert.False(flag)); 196Assert.False(ldaDetails.ItemScoresPerTopic == null && ldaDetails.WordScoresPerTopic == null);
ModelFiles.cs (3)
299Assert.False(data.Schema["Features"].HasSlotNames()); 366Assert.False((loadedWithSchema as TransformerChain<ITransformer>).Any()); 372Assert.False((loadedWithLoader as TransformerChain<ITransformer>).Any());
Prediction.cs (4)
74Assert.False(pr.PredictedLabel); 75Assert.False(pr.Score > 0.7); 92Assert.False(pr.PredictedLabel); 136Assert.False((bool)field.GetValue(model));
Microsoft.ML.OnnxTransformerTest (5)
DnnImageFeaturizerTest.cs (1)
89Assert.False(true);
OnnxTransformTests.cs (4)
172Assert.False(true); 802Assert.False(File.Exists(onnxModel.ModelStream.Name)); 1011Assert.False(somethingWrong); 1041Assert.False(somethingWrong);
Microsoft.ML.Predictor.Tests (7)
TestParallelFasttreeInterface.cs (7)
34Assert.False(!_isCache); 105Assert.False(_isInitIteration); 113Assert.False(_isInitEnv); 121Assert.False(_isInitTreeLearner); 137Assert.False(_isInitTreeLearner); 138Assert.False(_isInitIteration); 147Assert.False(_isInitIteration);
Microsoft.ML.Sweeper.Tests (4)
TestSweeper.cs (4)
287Assert.False(task.IsCompleted); 472Assert.False(gridPoint[i][j]); 499Assert.False(gridPoint[i][j]); 531Assert.False(gridPoint[i][j]);
Microsoft.ML.TensorFlow.Tests (1)
TensorFlowEstimatorTests.cs (1)
94Assert.False(true);
Microsoft.ML.TestFramework (3)
DataPipe\TestDataPipeBase.cs (1)
45Assert.False(true);
GlobalBase.cs (2)
89Assert.False(_ignoreOne); 94Assert.False(_ignoreOne);
Microsoft.ML.Tests (23)
AnomalyDetectionTests.cs (6)
166Assert.False(results[i].PredictedLabel); 212Assert.False(results[1].PredictedLabel); 215Assert.False(results[2].PredictedLabel); 222Assert.False(results[4].PredictedLabel); 226Assert.False(results[5].PredictedLabel); 229Assert.False(results[6].PredictedLabel);
ImagesTests.cs (1)
1202Assert.False(prediction.ResizedImage == dataObjects[i].LoadedImage);
Scenarios\GetColumnTests.cs (1)
100Assert.False(true);
SvmLightTests.cs (2)
429Assert.False(curs.MoveNext()); 436Assert.False(curs.MoveNext());
TextLoaderTests.cs (2)
1199Assert.False(true); 1210Assert.False(true);
TrainerEstimators\OlsLinearRegressionTests.cs (1)
28Assert.False(model.Model.HasStatistics);
TrainerEstimators\SdcaTests.cs (2)
151Assert.False(sameScores); 210Assert.False(sameScores);
TrainerEstimators\TreeEstimators.cs (2)
649Assert.False(areEqual); 849Assert.False(row.CategoricalSplitFlags);
Transformers\CopyColumnEstimatorTests.cs (2)
66Assert.False(true); 86Assert.False(true);
Transformers\LineParserTests.cs (1)
48Assert.False(LineParser.ParseKeyThenNumbers(input, true).isSuccess);
Transformers\ValueMappingTests.cs (3)
381Assert.False(dColumn.IsKey); 384Assert.False(eColumn.IsKey); 387Assert.False(fColumn.IsKey);
Microsoft.ML.Tokenizers.Tests (4)
CodeGenTests.cs (3)
970Assert.False(codeGenTokenizer.AddPrefixSpace); 971Assert.False(codeGenTokenizer.AddBeginningOfSentence); 972Assert.False(codeGenTokenizer.AddEndOfSentence);
LlamaTests.cs (1)
374Assert.False(bpe.TreatWhitespaceAsSuffix);
Microsoft.Net.Http.Headers.Tests (46)
CacheControlHeaderValueTest.cs (1)
586Assert.False(CacheControlHeaderValue.TryParse(input, out var result));
ContentRangeHeaderValueTest.cs (1)
203Assert.False(ContentRangeHeaderValue.TryParse(input, out var result));
CookieHeaderValueTest.cs (2)
238Assert.False(CookieHeaderValue.TryParse(value, out var _)); 318Assert.False(result);
DateParserTest.cs (1)
30Assert.False(HeaderUtilities.TryParseDate(input, out var result));
EntityTagHeaderValueTest.cs (11)
100Assert.False(EntityTagHeaderValue.Any.Compare(null, useStrongComparison: true)); 101Assert.False(EntityTagHeaderValue.Any.Compare(null, useStrongComparison: false)); 123Assert.False(left.Compare(right, useStrongComparison: true)); 124Assert.False(right.Compare(left, useStrongComparison: true)); 163Assert.False(left.Compare(right, useStrongComparison: false)); 164Assert.False(right.Compare(left, useStrongComparison: false)); 262Assert.False(EntityTagHeaderValue.TryParseList(null, out var results)); 263Assert.False(EntityTagHeaderValue.TryParseList(new string[0], out results)); 264Assert.False(EntityTagHeaderValue.TryParseList(new string[] { "" }, out results)); 490Assert.False(EntityTagHeaderValue.TryParseStrictList(inputs, out var results)); 512Assert.False(EntityTagHeaderValue.TryParse(input, out var result));
HeaderUtilitiesTest.cs (4)
96Assert.False(HeaderUtilities.TryParseSeconds(new StringValues(headerValues), targetValue!, out value)); 186Assert.False(HeaderUtilities.TryParseNonNegativeInt64(valueString, out value)); 211Assert.False(HeaderUtilities.TryParseNonNegativeInt32(valueString, out value)); 409Assert.False(result);
MediaTypeHeaderValueTest.cs (15)
147Assert.False(mediaType0.IsReadOnly); 176Assert.False(mediaType0.IsReadOnly); 181Assert.False(mediaType0.Parameters.IsReadOnly); 191Assert.False(pair0.IsReadOnly); 208Assert.False(mediaType2.IsReadOnly); 215Assert.False(pair2.IsReadOnly); 535Assert.False(MediaTypeHeaderValue.TryParseList(null, out var results)); 536Assert.False(MediaTypeHeaderValue.TryParseList(new string[0], out results)); 537Assert.False(MediaTypeHeaderValue.TryParseList(new string[] { "" }, out results)); 679Assert.False(MediaTypeHeaderValue.TryParseStrictList(inputs, out var results)); 721Assert.False(matches); 773Assert.False(result); 846Assert.False(isSubset); 890Assert.False(result); 939Assert.False(MediaTypeHeaderValue.TryParse(input, out var result));
NameValueHeaderValueTest.cs (4)
82Assert.False(pair0.IsReadOnly); 115Assert.False(pair0.IsReadOnly); 566Assert.False(NameValueHeaderValue.TryParseStrictList(inputs, out var results)); 669Assert.False(NameValueHeaderValue.TryParse(input, out var result));
RangeConditionHeaderValueTest.cs (1)
149Assert.False(RangeConditionHeaderValue.TryParse(input, out var result));
RangeHeaderValueTest.cs (1)
171Assert.False(RangeHeaderValue.TryParse(input, out var result));
RangeItemHeaderValueTest.cs (1)
125Assert.False(RangeHeaderValue.TryParse("byte=" + input, out result));
SetCookieHeaderValueTest.cs (2)
395Assert.False(SetCookieHeaderValue.TryParse(value, out var _)); 487Assert.False(result);
StringWithQualityHeaderValueTest.cs (2)
462Assert.False(StringWithQualityHeaderValue.TryParseStrictList(inputs, out var results)); 481Assert.False(StringWithQualityHeaderValue.TryParse(input, out var result));
Microsoft.VisualBasic.Tests (16)
Microsoft\VisualBasic\ApplicationServices\SingleInstanceTests.cs (1)
216Assert.False(result);
Microsoft\VisualBasic\MyServices\FileSystemProxyTests.cs (15)
183Assert.False(Directory.Exists(FullPathToNewDirectory)); 214Assert.False(Directory.Exists(FullPathToNewDirectory)); 238Assert.False(File.Exists(testFileSource)); 245Assert.False(_fileSystem.DirectoryExists(Path.Combine(TestDirectory, "NewDirectory"))); 258Assert.False(_fileSystem.FileExists(testFileSource)); 501Assert.False(Directory.Exists(FullPathToSourceDirectory)); 527Assert.False(Directory.Exists(FullPathToSourceDirectory)); 565Assert.False(Directory.Exists(FullPathToSourceDirectory)); 580Assert.False(File.Exists(SourceFileNameWithPath)); 598Assert.False(File.Exists(SourceFileNameWithPath)); 615Assert.False(File.Exists(SourceFileNameWithPath)); 621Assert.False(File.Exists(DestinationFileNameWithPath)); 652Assert.False(Directory.Exists(OrigDirectoryWithPath)); 675Assert.False(File.Exists(OrigFileWithPath)); 697Assert.False(string.IsNullOrEmpty(TestFileName));
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (13)
CodeModel\FileCodeFunctionTests.cs (3)
122Assert.False(testObject.CanOverride); 178Assert.False(testObject.IsOverloaded); 186Assert.False(testObject.IsShared);
CodeModel\FileCodeVariableTests.cs (2)
146Assert.False(testObject.IsConstant); 162Assert.False(testObject.IsShared);
PersistentStorage\AbstractPersistentStorageTests.cs (1)
845Assert.False(location?.StartsWith("/") ?? false);
ProjectSystemShim\CPS\CSharpCompilerOptionsTests.cs (2)
55Assert.False(options.SpecificDiagnosticOptions.ContainsKey("CS1111")); 138Assert.False(projectContext.LastDesignTimeBuildSucceeded);
ProjectSystemShim\CPS\CSharpReferencesTests.cs (4)
82Assert.False(GetProject3ProjectReferences().Any(pr => pr.ProjectId == project1.Id)); 83Assert.False(GetProject3ProjectReferences().Any(pr => pr.ProjectId == project2.Id)); 84Assert.False(GetProject3MetadataReferences().Any(mr => mr.FilePath == metadaRefFilePath)); 149Assert.False(AnalyzersContainsAnalyzer());
ProjectSystemShim\LegacyProject\CSharpCompilerOptionsTests.cs (1)
100Assert.False(options.SpecificDiagnosticOptions.ContainsKey("CS1111"));
Mvc.Analyzers.Test (24)
CodeAnalysisExtensionsTest.cs (10)
484Assert.False(classHasAttribute); 485Assert.False(methodHasAttribute); 486Assert.False(propertyHasAttribute); 537Assert.False(hasAttributeWithoutInherit); 633Assert.False(hasAttributeWithoutInherit); 698Assert.False(hasAttributeWithoutInherit); 722Assert.False(isAssignableFrom); 743Assert.False(isAssignableFrom); 791Assert.False(isAssignableFromDerived); // Inverse shouldn't be true 847Assert.False(isAssignableFromDerived); // Inverse shouldn't be true
TopLevelParameterNameAnalyzerTest.cs (14)
245Assert.False(result); 263Assert.False(result); 281Assert.False(result); 302Assert.False(result); 327p => Assert.False(TopLevelParameterNameAnalyzer.IsProblematicParameter(symbolCache, p)), 328p => Assert.False(TopLevelParameterNameAnalyzer.IsProblematicParameter(symbolCache, p)), 329p => Assert.False(TopLevelParameterNameAnalyzer.IsProblematicParameter(symbolCache, p)), 330p => Assert.False(TopLevelParameterNameAnalyzer.IsProblematicParameter(symbolCache, p)), 331p => Assert.False(TopLevelParameterNameAnalyzer.IsProblematicParameter(symbolCache, p))); 349Assert.False(result); 367Assert.False(result); 386Assert.False(result); 403Assert.False(result); 537Assert.False(result);
Mvc.Api.Analyzers.Test (12)
ActualApiResponseMetadataFactoryTest.cs (3)
289Assert.False(metadata.IsDefaultResponse); 330Assert.False(metadata.IsDefaultResponse); 357Assert.False(metadata.IsDefaultResponse);
ApiControllerFactsTest.cs (4)
43Assert.False(result); 59Assert.False(result); 75Assert.False(result); 91Assert.False(result);
DeclaredApiResponseMetadataTest.cs (3)
91Assert.False(matches); 136Assert.False(matches); 150Assert.False(matches);
MvcFactsTest.cs (2)
74Assert.False(isController); 159Assert.False(isControllerAction);
Roslyn.Test.PdbUtilities (1)
Reader\MockSymUnmanagedReader.cs (1)
396Assert.False(source.IsDefault);
Roslyn.VisualStudio.Next.UnitTests (5)
Options\VisualStudioOptionStorageTests.cs (2)
135Assert.False(configName.StartsWith(OptionDefinition.CSharpConfigNamePrefix, StringComparison.OrdinalIgnoreCase)); 136Assert.False(configName.StartsWith(OptionDefinition.VisualBasicConfigNamePrefix, StringComparison.OrdinalIgnoreCase));
Options\VisualStudioSettingsOptionPersisterTests.cs (1)
228Assert.False(result.HasValue);
Remote\SnapshotSerializationTests.cs (1)
596Assert.False(string.IsNullOrEmpty(xmlDocComment));
Services\SolutionAssetCacheTests.cs (1)
105Assert.False(gotChecksum2);
Shared.Tests (44)
Data.Validation\LengthAttributeTests.cs (14)
39Assert.False(Validator.TryValidateObject(options, context, results, true)); 53Assert.False(Validator.TryValidateObject(options, context, results, true)); 60Assert.False(Validator.TryValidateObject(options, context, results, true)); 95Assert.False(Validator.TryValidateObject(options, context, results, true)); 109Assert.False(Validator.TryValidateObject(options, context, results, true)); 117Assert.False(Validator.TryValidateObject(options, context, results, true)); 168Assert.False(Validator.TryValidateObject(options, context, results, true)); 186Assert.False(Validator.TryValidateObject(options, context, results, true)); 222Assert.False(Validator.TryValidateObject(options, context, results, true)); 234Assert.False(Validator.TryValidateObject(options, context, results, true)); 275Assert.False(Validator.TryValidateObject(options, context, results, true)); 293Assert.False(Validator.TryValidateObject(options, context, results, true)); 393Assert.False(Validator.TryValidateObject(options, context, results, true)); 413Assert.False(Validator.TryValidateObject(options, context, results, true));
Data.Validation\TimeSpanAttributeTests.cs (10)
37Assert.False(Validator.TryValidateObject(options, context, results, true)); 44Assert.False(Validator.TryValidateObject(options, context, results, true)); 62Assert.False(Validator.TryValidateObject(options, context, results, true)); 102Assert.False(Validator.TryValidateObject(options, context, results, true)); 109Assert.False(Validator.TryValidateObject(options, context, results, true)); 123Assert.False(Validator.TryValidateObject(options, context, results, true)); 130Assert.False(Validator.TryValidateObject(options, context, results, true)); 165Assert.False(Validator.TryValidateObject(options, context, results, true)); 172Assert.False(Validator.TryValidateObject(options, context, results, true)); 190Assert.False(Validator.TryValidateObject(options, context, results, true));
Debugger\DebuggerTest.cs (4)
15Assert.False(DebuggerState.System.IsAttached); 17Assert.False(DebuggerState.Detached.IsAttached); 30Assert.False(debugger.IsAttached); 43Assert.False(debugger.IsAttached);
EmptyCollections\EmptyReadonlyDictionaryTests.cs (8)
26Assert.False(instance.ContainsKey(5)); 27Assert.False(instance.TryGetValue(5, out _)); 38Assert.False(dict.Remove(1)); 39Assert.False(dict.Contains(new KeyValuePair<int, string>(1, "One"))); 40Assert.False(dict.ContainsKey(1)); 44Assert.False(dict.TryGetValue(1, out string? value)); 61Assert.False(coll.Remove(new KeyValuePair<int, string>(1, "One"))); 62Assert.False(coll.Contains(new KeyValuePair<int, string>(1, "One")));
EmptyCollections\EmptyReadOnlyListTests.cs (2)
58Assert.False(coll.Remove(1)); 59Assert.False(coll.Contains(1));
Memoization\MemoizeTests.cs (2)
170Assert.False(Args(0).Equals(null)); 228Assert.False(Args(0, 0).Equals(null));
Pools\PoolTests.cs (1)
275Assert.False(o.Busy);
RentedSpan\RentedSpanTest.cs (3)
14Assert.False(rental1.Rented); 18Assert.False(rental2.Rented); 22Assert.False(rental3.Rented);
Sockets.FunctionalTests (11)
src\Servers\Kestrel\test\FunctionalTests\ConnectionMiddlewareTests.cs (1)
77Assert.False(mockDuplexPipe.WasCompleted);
src\Servers\Kestrel\test\FunctionalTests\Http2\ShutdownTests.cs (2)
143Assert.False(requestTask.IsCompleted); 195Assert.False(requestTask.IsCompleted);
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (4)
289Assert.False(loggedHigherThanDebug); 340Assert.False(loggedHigherThanDebug); 399Assert.False(loggedHigherThanDebug); 457Assert.False(loggedHigherThanDebug);
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (4)
134Assert.False(headers.Contains(headerName)); 924Assert.False(requestAborted); 1009Assert.False(requestAborted); 1087Assert.False(requestAborted);
System.Drawing.Common.Tests (108)
mono\System.Drawing\BitmapTests.cs (1)
98Assert.False(nint.Zero.Equals(data.Scan0));
mono\System.Drawing\GraphicsTests.cs (5)
169Assert.False(g.Clip.IsEmpty(g)); 423Assert.False(matrix.IsInvertible); 434Assert.False(matrix.IsInvertible); 1606Assert.False(size.IsEmpty); 1609Assert.False(size.IsEmpty);
mono\System.Imaging\MetafileTest.cs (14)
81Assert.False(header.IsDisplay()); 82Assert.False(header.IsEmf()); 83Assert.False(header.IsEmfOrEmfPlus()); 84Assert.False(header.IsEmfPlus()); 85Assert.False(header.IsEmfPlusDual()); 86Assert.False(header.IsEmfPlusOnly()); 148Assert.False(header.IsDisplay()); 151Assert.False(header.IsEmfPlus()); 152Assert.False(header.IsEmfPlusDual()); 153Assert.False(header.IsEmfPlusOnly()); 154Assert.False(header.IsWmf()); 155Assert.False(header.IsWmfPlaceable()); 309Assert.False(size.IsEmpty); 349Assert.False(g.Transform.IsIdentity);
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (5)
64Assert.False(isClosed); 81Assert.False(isClosed); 91Assert.False(isClosed); 198Assert.False(gpiEmpty.HasCurve()); 199Assert.False(gpiNull.HasCurve());
System\Drawing\Drawing2D\GraphicsPathTests.cs (20)
2252Assert.False(gp.IsOutlineVisible(10, 2, Pens.Red, graphics)); 2256Assert.False(gp.IsOutlineVisible(11.0f, 2.0f, Pens.Red, graphics)); 2259Assert.False(gp.IsOutlineVisible(point, Pens.Red, graphics)); 2266Assert.False(gp.IsOutlineVisible(fPoint, Pens.Red, graphics)); 2280Assert.False(gp.IsOutlineVisible(11, 11, Pens.Red, graphics)); 2284Assert.False(gp.IsOutlineVisible(11.0f, 11.0f, Pens.Red, graphics)); 2291Assert.False(gp.IsOutlineVisible(point, Pens.Red, graphics)); 2294Assert.False(gp.IsOutlineVisible(fPoint, Pens.Red, graphics)); 2305Assert.False(gp.IsVisible(9, 9, graphics)); 2309Assert.False(gp.IsVisible(30, 29, graphics)); 2310Assert.False(gp.IsVisible(29, 30, graphics)); 2311Assert.False(gp.IsVisible(30, 30, graphics)); 2312Assert.False(gp.IsVisible(9.4f, 9.4f, graphics)); 2317Assert.False(gp.IsVisible(29.5f, 29.5f, graphics)); 2318Assert.False(gp.IsVisible(29.5f, 29.4f, graphics)); 2319Assert.False(gp.IsVisible(29.4f, 29.5f, graphics)); 2326Assert.False(gp.IsVisible(10, 10, graphics)); 2328Assert.False(gp.IsVisible(29, 29, graphics)); 2329Assert.False(gp.IsVisible(10f, 10f, graphics)); 2331Assert.False(gp.IsVisible(29.4f, 29.4f, graphics));
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (11)
28Assert.False(brush.GammaCorrection); 34Assert.False(brush.Transform.IsIdentity); 55Assert.False(brush.GammaCorrection); 61Assert.False(brush.Transform.IsIdentity); 89Assert.False(brush.GammaCorrection); 106Assert.False(brush.GammaCorrection); 132Assert.False(brush.GammaCorrection); 149Assert.False(brush.GammaCorrection); 175Assert.False(brush.GammaCorrection); 192Assert.False(brush.GammaCorrection); 640Assert.False(brush.Transform.IsIdentity);
System\Drawing\Drawing2D\MatrixTests.cs (2)
456Assert.False(clone2.IsIdentity); 470Assert.False(clone4.IsIdentity);
System\Drawing\FontTests.cs (3)
48Assert.False(font1.Equals(font2)); 55Assert.False(FontFamily.GenericMonospace.Equals(nullFamily)); 871Assert.False(font.IsSystemFont);
System\Drawing\GraphicsTests.cs (3)
1152Assert.False(graphics.Transform.IsIdentity); 2808Assert.False(graphics.IsClipEmpty); 2809Assert.False(graphics.IsVisibleClipEmpty);
System\Drawing\ImageAnimatorTests.cs (1)
21Assert.False(ImageAnimator.CanAnimate(image));
System\Drawing\Imaging\MetafileTests.cs (6)
1000Assert.False(header.IsDisplay()); 1001Assert.False(header.IsEmf()); 1002Assert.False(header.IsEmfOrEmfPlus()); 1003Assert.False(header.IsEmfPlus()); 1004Assert.False(header.IsEmfPlusDual()); 1005Assert.False(header.IsEmfPlusOnly());
System\Drawing\Printing\MarginsConverterTests.cs (6)
22Assert.False(mc.CanConvertFrom(context, typeof(Guid))); 23Assert.False(mc.CanConvertFrom(context, typeof(object))); 24Assert.False(mc.CanConvertFrom(context, typeof(int))); 37Assert.False(mc.CanConvertTo(context, typeof(Guid))); 38Assert.False(mc.CanConvertTo(context, typeof(object))); 39Assert.False(mc.CanConvertTo(context, typeof(int)));
System\Drawing\Printing\PrintControllerTests.cs (1)
12Assert.False(controller.IsPreview);
System\Drawing\Printing\PrintDocumentTests.cs (5)
43Assert.False(document.OriginAtMargins); 142Assert.False(flag); 160Assert.False(flag); 203Assert.False(flag); 221Assert.False(flag);
System\Drawing\Printing\PrinterSettingsTests.cs (6)
93Assert.False(printerSettings.Collate); 175Assert.False(printerSettings.IsPlotter); 186Assert.False(printerSettings.IsValid); 403Assert.False(printerSettings.IsDirectPrintingSupported(imageFormat)); 411Assert.False(printerSettings.IsDirectPrintingSupported(bitmap)); 450Assert.False(ReferenceEquals(clone, printerSettings));
System\Drawing\RegionTests.cs (19)
45Assert.False(region.IsEmpty(s_graphic)); 60Assert.False(region.IsInfinite(s_graphic)); 76Assert.False(region.IsInfinite(s_graphic)); 376Assert.False(region.IsEmpty(s_graphic)); 377Assert.False(region.IsInfinite(s_graphic)); 1050Assert.False(clipRegion.IsEmpty(s_graphic)); 1051Assert.False(clipRegion.IsInfinite(s_graphic)); 1185Assert.False(region.IsEmpty(s_graphic)); 1186Assert.False(region.IsInfinite(s_graphic)); 1213Assert.False(region.IsEmpty(s_graphic)); 1214Assert.False(region.IsInfinite(s_graphic)); 1444Assert.False(region.IsInfinite(s_graphic)); 1470Assert.False(region.IsEmpty(s_graphic)); 1475Assert.False(region.IsEmpty(s_graphic)); 1855Assert.False(region.IsInfinite(s_graphic)); 1868Assert.False(region.IsInfinite(s_graphic)); 1906Assert.False(region.IsInfinite(s_graphic)); 1929Assert.False(region.IsInfinite(s_graphic)); 1958Assert.False(region.IsInfinite(s_graphic));
System.Private.Windows.Core.Tests (18)
System\Value\StoringBoolean.cs (1)
156Assert.False(value.GetValue<bool?>().HasValue);
System\Value\StoringByte.cs (1)
127Assert.False(value.GetValue<byte?>().HasValue);
System\Value\StoringChar.cs (1)
127Assert.False(value.GetValue<char?>().HasValue);
System\Value\StoringDateTime.cs (1)
79Assert.False(value.GetValue<DateTime?>().HasValue);
System\Value\StoringDateTimeOffset.cs (1)
79Assert.False(value.GetValue<DateTimeOffset?>().HasValue);
System\Value\StoringDecimal.cs (1)
77Assert.False(value.GetValue<decimal?>().HasValue);
System\Value\StoringDouble.cs (1)
131Assert.False(value.GetValue<double?>().HasValue);
System\Value\StoringFloat.cs (1)
131Assert.False(value.GetValue<float?>().HasValue);
System\Value\StoringInt.cs (1)
127Assert.False(value.GetValue<int?>().HasValue);
System\Value\StoringLong.cs (1)
128Assert.False(value.GetValue<long?>().HasValue);
System\Value\StoringNull.cs (1)
18Assert.False(success);
System\Value\StoringObject.cs (2)
17Assert.False(success); 31Assert.False(success);
System\Value\StoringSByte.cs (1)
103Assert.False(value.GetValue<sbyte?>().HasValue);
System\Value\StoringShort.cs (1)
128Assert.False(value.GetValue<short?>().HasValue);
System\Value\StoringUInt.cs (1)
127Assert.False(value.GetValue<uint?>().HasValue);
System\Value\StoringUlong.cs (1)
127Assert.False(value.GetValue<ulong?>().HasValue);
System\Value\StoringUShort.cs (1)
127Assert.False(value.GetValue<ushort?>().HasValue);
System.ServiceModel.Http.Tests (7)
Channels\HttpRequestMessagePropertyTest.cs (1)
21Assert.False(requestMsgProperty.SuppressEntityBody);
Channels\WebSocketTransportSettingsTest.cs (1)
26Assert.False(disablePayloadMasking);
ServiceModel\BasicHttpBindingTest.cs (3)
28Assert.False(binding.AllowCookies); 53Assert.False(binding.AllowCookies); 77Assert.False(binding.AllowCookies);
ServiceModel\BasicHttpsBindingTest.cs (2)
26Assert.False(binding.AllowCookies); 51Assert.False(binding.AllowCookies);
System.ServiceModel.Primitives.Tests (13)
Channels\MessageTest.cs (4)
42Assert.False(message.IsEmpty); 57Assert.False(message.IsEmpty); 92Assert.False(message.IsEmpty); 102Assert.False(message.IsEmpty);
Channels\UnderstoodHeadersTest.cs (2)
38if (String.Equals(mhi.Name, "AlphaHeader")) Assert.False(mhi.MustUnderstand); 39if (String.Equals(mhi.Name, "BravoHeader")) Assert.False(mhi.MustUnderstand);
IdentityModel\SecurityTokenSerializerTest.cs (3)
69Assert.False(sts.WriteTokenCoreCalled); 70Assert.False(sts.WriteKeyIdentifierCoreCalled); 71Assert.False(sts.WriteKeyIdentifierClauseCoreCalled);
Security\SecurityTokenRequirementTest.cs (1)
39Assert.False(tokenrequirement.TryGetProperty("invalidproperty", out string valueIsFalse));
ServiceModel\FaultExceptionTest.cs (2)
122Assert.False(string.IsNullOrEmpty(exception.Message)); 172Assert.False(string.IsNullOrEmpty(exception.Message));
ServiceModel\SynchronizedCollection.cs (1)
116Assert.False(coll.Remove(100000));
System.Windows.Forms.Analyzers.CSharp.Tests (4)
Generators\ProjectFileReaderTests.cs (4)
54Assert.False(result); 55Assert.False(returnedValue); 118Assert.False(result); 177Assert.False(result);
System.Windows.Forms.Design.Tests (285)
ButtonBaseDesignerTests.cs (1)
35Assert.False(button.IsHandleCreated);
System\ComponentModel\Design\ArrayEditorTests.cs (3)
33Assert.False(editor.IsDropDownResizable); 45Assert.False(editor.IsDropDownResizable); 166Assert.False(editor.GetPaintValueSupported(context));
System\ComponentModel\Design\ByteViewerTests.cs (52)
21Assert.False(control.AllowDrop); 23Assert.False(control.AutoScroll); 27Assert.False(control.AutoSize); 37Assert.False(control.CanFocus); 39Assert.False(control.CanSelect); 40Assert.False(control.Capture); 51Assert.False(control.ContainsFocus); 55Assert.False(control.Created); 64Assert.False(control.DesignMode); 77Assert.False(control.Focused); 86Assert.False(control.HScroll); 89Assert.False(control.IsAccessible); 90Assert.False(control.IsMirrored); 104Assert.False(control.RecreatingHandle); 118Assert.False(control.TabStop); 122Assert.False(control.UseWaitCursor); 126Assert.False(control.VScroll); 129Assert.False(control.IsHandleCreated); 149Assert.False(control.IsHandleCreated); 164Assert.False(control.IsHandleCreated); 172Assert.False(control.IsHandleCreated); 224Assert.False(control.GetTopLevel()); 271Assert.False(control.IsHandleCreated); 277Assert.False(control.IsHandleCreated); 343Assert.False(control.IsHandleCreated); 349Assert.False(control.IsHandleCreated); 442Assert.False(control.IsHandleCreated); 448Assert.False(control.IsHandleCreated); 528Assert.False(control.IsHandleCreated); 534Assert.False(control.IsHandleCreated); 639Assert.False(control.IsHandleCreated); 643Assert.False(control.IsHandleCreated); 688Assert.False(control.IsHandleCreated); 693Assert.False(control.IsHandleCreated); 705Assert.False(control.IsHandleCreated); 710Assert.False(control.IsHandleCreated); 730Assert.False(control.IsHandleCreated); 735Assert.False(control.IsHandleCreated); 747Assert.False(control.IsHandleCreated); 752Assert.False(control.IsHandleCreated); 807Assert.False(scrollBar.Visible); 808Assert.False(control.IsHandleCreated); 814Assert.False(scrollBar.Visible); 815Assert.False(control.IsHandleCreated); 837Assert.False(scrollBar.Visible); 838Assert.False(control.IsHandleCreated); 844Assert.False(scrollBar.Visible); 845Assert.False(control.IsHandleCreated); 902Assert.False(control.IsHandleCreated); 906Assert.False(control.IsHandleCreated); 933Assert.False(control.IsHandleCreated); 937Assert.False(control.IsHandleCreated);
System\ComponentModel\Design\CollectionEditorTests.cs (3)
36Assert.False(editor.IsDropDownResizable); 48Assert.False(editor.IsDropDownResizable); 770Assert.False(editor.GetPaintValueSupported(context));
System\ComponentModel\Design\ComponentDesignerTests.cs (1)
25Assert.False(designer.Inherited);
System\ComponentModel\Design\DesignerActionHeaderItemTests.cs (2)
21Assert.False(item.AllowAssociate); 39Assert.False(item.AllowAssociate);
System\ComponentModel\Design\DesignerActionItemCollectionTests.cs (4)
77Assert.False(collection.Contains(value)); 100Assert.False(collection.Contains(value1)); 134Assert.False(collection.Contains(new SubDesignerActionItem("displayName", "category", "description"))); 135Assert.False(collection.Contains(null));
System\ComponentModel\Design\DesignerActionItemTests.cs (1)
21Assert.False(item.AllowAssociate);
System\ComponentModel\Design\DesignerActionListCollectionTests.cs (6)
127Assert.False(collection.Contains(value)); 133Assert.False(collection.Contains(null)); 149Assert.False(collection.Contains(value1)); 157Assert.False(collection.Contains(value2)); 182Assert.False(collection.Contains(new DesignerActionList(null))); 183Assert.False(collection.Contains(null));
System\ComponentModel\Design\DesignerActionListTests.cs (1)
23Assert.False(list.AutoShow);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (9)
29Assert.False(item.AllowAssociate); 54Assert.False(item.IncludeAsDesignerVerb); 55Assert.False(item.AllowAssociate); 81Assert.False(item.AllowAssociate); 106Assert.False(item.IncludeAsDesignerVerb); 107Assert.False(item.AllowAssociate); 133Assert.False(item.AllowAssociate); 158Assert.False(item.IncludeAsDesignerVerb); 159Assert.False(item.AllowAssociate);
System\ComponentModel\Design\DesignerActionPropertyItemTests.cs (3)
22Assert.False(item.AllowAssociate); 42Assert.False(item.AllowAssociate); 62Assert.False(item.AllowAssociate);
System\ComponentModel\Design\DesignerActionServiceTests.cs (34)
173Assert.False(service.Contains(component)); 178Assert.False(service.Contains(component)); 231Assert.False(service.Contains(new Component())); 239Assert.False(service.Contains(new Component())); 500Assert.False(actionList.AutoShow); 506Assert.False(actionItem.AllowAssociate); 508Assert.False(actionItem.IncludeAsDesignerVerb); 668Assert.False(service.Contains(component)); 673Assert.False(service.Contains(component)); 698Assert.False(service.Contains(component1)); 703Assert.False(service.Contains(component1)); 709Assert.False(service.Contains(component2)); 752Assert.False(service.Contains(component1)); 763Assert.False(service.Contains(component1)); 774Assert.False(service.Contains(component1)); 795Assert.False(service.Contains(component1)); 799Assert.False(service.Contains(component3)); 803Assert.False(service.Contains(component2)); 825Assert.False(service.Contains(component1)); 829Assert.False(service.Contains(component3)); 833Assert.False(service.Contains(component2)); 880Assert.False(service.Contains(component1)); 885Assert.False(service.Contains(component1)); 891Assert.False(service.Contains(component2)); 919Assert.False(service.Contains(component1)); 930Assert.False(service.Contains(component1)); 941Assert.False(service.Contains(component1)); 952Assert.False(service.Contains(component1)); 953Assert.False(service.Contains(component2)); 963Assert.False(service.Contains(component1)); 964Assert.False(service.Contains(component2)); 1010Assert.False(service.Contains(component1)); 1015Assert.False(service.Contains(component1)); 1021Assert.False(service.Contains(component2));
System\ComponentModel\Design\DesignerActionTextItemTests.cs (1)
21Assert.False(item.AllowAssociate);
System\ComponentModel\Design\DesignerHostTests.cs (54)
46Assert.False(host.IgnoreErrorsDuringReload); 50Assert.False(host.IgnoreErrorsDuringReload); 54Assert.False(host.IgnoreErrorsDuringReload); 82Assert.False(host.InTransaction); 90Assert.False(hostTransactionState.IsClosingTransaction); 98Assert.False(host.Loading); 793Assert.False(TypeDescriptor.GetProvider(component1).IsSupportedType(typeof(int))); 804Assert.False(TypeDescriptor.GetProvider(component2).IsSupportedType(typeof(int))); 902Assert.False(surface.IsLoaded); 904Assert.False(host.Loading); 1813Assert.False(surface.IsLoaded); 1815Assert.False(host.Loading); 1828Assert.False(surface.IsLoaded); 1830Assert.False(host.Loading); 1841Assert.False(surface.IsLoaded); 1843Assert.False(host.Loading); 1853Assert.False(surface.IsLoaded); 1855Assert.False(host.Loading); 1872Assert.False(transaction1.Canceled); 1873Assert.False(transaction1.Committed); 1879Assert.False(transaction2.Canceled); 1880Assert.False(transaction2.Committed); 1897Assert.False(transaction1.Canceled); 1898Assert.False(transaction1.Committed); 1904Assert.False(transaction2.Canceled); 1905Assert.False(transaction2.Committed); 1969Assert.False(transaction1.Canceled); 1970Assert.False(transaction1.Committed); 1973Assert.False(transaction2.Committed); 1980Assert.False(transaction1.Canceled); 1981Assert.False(transaction1.Committed); 1984Assert.False(transaction2.Committed); 1992Assert.False(transaction1.Committed); 1995Assert.False(transaction2.Committed); 1997Assert.False(host.InTransaction); 2014Assert.False(e.TransactionCommitted); 2022Assert.False(e.TransactionCommitted); 2032Assert.False(transaction1.Canceled); 2039Assert.False(transaction1.Canceled); 2082Assert.False(transaction1.Canceled); 2083Assert.False(transaction1.Committed); 2085Assert.False(transaction2.Canceled); 2093Assert.False(transaction1.Canceled); 2094Assert.False(transaction1.Committed); 2096Assert.False(transaction2.Canceled); 2104Assert.False(transaction1.Canceled); 2107Assert.False(transaction2.Canceled); 2110Assert.False(host.InTransaction); 2145Assert.False(transaction1.Committed); 2152Assert.False(transaction1.Committed); 2224Assert.False(surface.IsLoaded); 2225Assert.False(host.Loading); 2944Assert.False(host.Loading); 3016Assert.False(host.Loading);
System\ComponentModel\Design\DesignerVerbCollectionTests.cs (6)
127Assert.False(collection.Contains(value)); 133Assert.False(collection.Contains(null)); 149Assert.False(collection.Contains(value1)); 157Assert.False(collection.Contains(value2)); 182Assert.False(collection.Contains(new DesignerVerb(null, null))); 183Assert.False(collection.Contains(null));
System\ComponentModel\Design\DesignSurfaceTests.cs (48)
19Assert.False(surface.DtelLoading); 20Assert.False(surface.Host.CanReloadWithErrors); 22Assert.False(surface.Host.Loading); 23Assert.False(surface.Host.IgnoreErrorsDuringReload); 24Assert.False(surface.Host.InTransaction); 25Assert.False(((IDesignerHostTransactionState)surface.Host).IsClosingTransaction); 29Assert.False(surface.IsLoaded); 58Assert.False(surface.DtelLoading); 59Assert.False(surface.Host.CanReloadWithErrors); 61Assert.False(surface.Host.Loading); 62Assert.False(surface.Host.IgnoreErrorsDuringReload); 63Assert.False(surface.Host.InTransaction); 64Assert.False(((IDesignerHostTransactionState)surface.Host).IsClosingTransaction); 68Assert.False(surface.IsLoaded); 80Assert.False(surface.DtelLoading); 81Assert.False(surface.Host.CanReloadWithErrors); 83Assert.False(surface.Host.Loading); 84Assert.False(surface.Host.IgnoreErrorsDuringReload); 85Assert.False(surface.Host.InTransaction); 86Assert.False(((IDesignerHostTransactionState)surface.Host).IsClosingTransaction); 102Assert.False(surface.DtelLoading); 103Assert.False(surface.Host.CanReloadWithErrors); 105Assert.False(surface.Host.Loading); 106Assert.False(surface.Host.IgnoreErrorsDuringReload); 107Assert.False(surface.Host.InTransaction); 108Assert.False(((IDesignerHostTransactionState)surface.Host).IsClosingTransaction); 149Assert.False(surface.DtelLoading); 150Assert.False(surface.Host.CanReloadWithErrors); 152Assert.False(surface.Host.Loading); 153Assert.False(surface.Host.IgnoreErrorsDuringReload); 154Assert.False(surface.Host.InTransaction); 155Assert.False(((IDesignerHostTransactionState)surface.Host).IsClosingTransaction); 419Assert.False(surface.IsLoaded); 443Assert.False(surface.IsLoaded); 444Assert.False(surface.Host.Loading); 469Assert.False(surface.IsLoaded); 472Assert.False(surface.Host.Loading); 489Assert.False(surface.IsLoaded); 491Assert.False(surface.Host.Loading); 521Assert.False(surface.IsLoaded); 533Assert.False(surface.IsLoaded); 569Assert.False(e.HasSucceeded); 586Assert.False(surface.IsLoaded); 588Assert.False(surface.Host.Loading); 597Assert.False(surface.IsLoaded); 598Assert.False(surface.Host.Loading); 933Assert.False(surface.Host.Loading); 934Assert.False(host.Loading);
System\ComponentModel\Design\MultilineStringEditorTests.cs (2)
17Assert.False(editor.IsDropDownResizable); 72Assert.False(editor.GetPaintValueSupported(context));
System\ComponentModel\Design\ObjectSelectorEditorTests.cs (7)
17Assert.False(editor.IsDropDownResizable); 18Assert.False(editor.SubObjectSelector); 26Assert.False(editor.IsDropDownResizable); 82Assert.False(editor.GetPaintValueSupported(context)); 100Assert.False(editor.EqualsToValue("other value")); 101Assert.False(editor.EqualsToValue(null)); 113Assert.False(underTest.SetSelection("other value", null));
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (6)
23Assert.False(manager.RecycleInstances); 65Assert.False(manager.RecycleInstances); 217Assert.False(property.IsReadOnly); 221Assert.False(property.SupportsChangeEvents); 224Assert.False(property.CanResetValue(new Component())); 348Assert.False(manager.RecycleInstances);
System\Drawing\Design\BitmapEditorTests.cs (1)
16Assert.False(editor.IsDropDownResizable);
System\Drawing\Design\ColorEditorTests.cs (1)
17Assert.False(editor.IsDropDownResizable);
System\Drawing\Design\CursorEditorTests.cs (1)
73Assert.False(editor.GetPaintValueSupported(context));
System\Drawing\Design\FontEditorTests.cs (2)
15Assert.False(editor.IsDropDownResizable); 39Assert.False(editor.GetPaintValueSupported(context));
System\Drawing\Design\FontNameEditorTests.cs (1)
24Assert.False(editor.IsDropDownResizable);
System\Drawing\Design\ImageEditorTests.cs (1)
16Assert.False(editor.IsDropDownResizable);
System\Drawing\Design\MetafileEditorTests.cs (1)
17Assert.False(editor.IsDropDownResizable);
System\Drawing\Design\ToolboxItemCollectionTests.cs (2)
48Assert.False(collection.Contains(new ToolboxItem { DisplayName = "Other" })); 49Assert.False(collection.Contains(null));
System\Drawing\Design\ToolboxItemTests.cs (4)
28Assert.False(item.IsTransient); 29Assert.False(item.Locked); 33Assert.False(item.Properties.IsFixedSize); 34Assert.False(item.Properties.IsReadOnly);
System\Windows\Forms\Design\AnchorEditorTests.cs (2)
19Assert.False(editor.IsDropDownResizable); 75Assert.False(editor.GetPaintValueSupported(context));
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (3)
125Assert.False(SnapLine.ShouldSnap(snapLine1, snapLine2)); 143Assert.False(SnapLine.ShouldSnap(snapLine1, snapLine2)); 227Assert.False(SnapLine.ShouldSnap(snapLine1, snapLine2));
System\Windows\Forms\Design\BorderSidesEditorTests.cs (2)
17Assert.False(editor.IsDropDownResizable); 73Assert.False(editor.GetPaintValueSupported(context));
System\Windows\Forms\Design\ColumnHeaderCollectionEditorTests.cs (1)
12Assert.False(editor.IsDropDownResizable);
System\Windows\Forms\Design\DataGridViewCellStyleEditorTests.cs (1)
14Assert.False(editor.IsDropDownResizable);
System\Windows\Forms\Design\DesignerOptionsTests.cs (3)
19Assert.False(options.UseOptimizedCodeGeneration); 20Assert.False(options.UseSmartTags); 21Assert.False(options.UseSnapLines);
System\Windows\Forms\Design\DockEditorTests.cs (2)
17Assert.False(editor.IsDropDownResizable); 73Assert.False(editor.GetPaintValueSupported(context));
System\Windows\Forms\Design\FileNameEditorTests.cs (2)
16Assert.False(editor.IsDropDownResizable); 40Assert.False(editor.GetPaintValueSupported(context));
System\Windows\Forms\Design\FolderNameEditorTests.cs (2)
16Assert.False(editor.IsDropDownResizable); 32Assert.False(editor.GetPaintValueSupported(context));
System\Windows\Forms\Design\ShortcutKeysEditorTests.cs (2)
17Assert.False(editor.IsDropDownResizable); 73Assert.False(editor.GetPaintValueSupported(context));
System\Windows\Forms\Design\WindowsFormsDesignerOptionServiceTests.cs (3)
22Assert.False(options.UseSmartTags); 23Assert.False(options.UseSnapLines); 24Assert.False(options.UseOptimizedCodeGeneration);
ToolStripDesignerTests.cs (4)
49Assert.False(toolStripDesigner.CacheItems); 50Assert.False(toolStripDesigner.DontCloseOverflow); 53Assert.False(toolStripDesigner.EditingCollection); 58Assert.False(toolStripDesigner.FireSyncSelection);
System.Windows.Forms.Primitives.Tests (18)
Interop\Gdi32\GetStockObjectTests.cs (1)
15Assert.False(hgdiobj.IsNull);
Interop\Oleaut32\ITypeInfoTests.cs (1)
307Assert.False(pVarDesc->elemdescVar.tdesc.Anonymous.lpadesc is null);
Interop\User32\LOGFONTWTests.cs (1)
38Assert.False(handle.IsNull);
System\Windows\Forms\DeviceContextScopeTests.cs (1)
47Assert.False(regionScope.IsNull);
System\Windows\Forms\SinglyLinkedListTests.cs (2)
95Assert.False(enumerator.MoveNext()); 143Assert.False(enumerator.MoveNext());
Windows\Win32\RegionTests.cs (7)
15Assert.False(hdc.IsNull); 18Assert.False(hdc.IsNull); 23Assert.False(hregion.IsNull); 35Assert.False(hdc.IsNull); 38Assert.False(hdc.IsNull); 49Assert.False(hdc.IsNull); 52Assert.False(hdc.IsNull);
Windows\Win32\System\Com\SafeArrayScopeTests.cs (5)
25Assert.False(scope.IsNull); 26Assert.False(scope2.IsNull); 39Assert.False(scope.IsNull); 52Assert.False(scope.IsNull); 63Assert.False(scope.IsNull);
System.Windows.Forms.Primitives.TestUtilities (1)
Extensions\AssertExtensions.cs (1)
24Assert.False((bool)accessibleObject.GetPropertyValue(propertyId));
System.Windows.Forms.Primitives.TestUtilities.Tests (1)
Metafiles\Validators\RepeatValidatorTests.cs (1)
19Assert.False(complete);
System.Windows.Forms.Tests (11471)
BindingNavigatorTests.cs (3)
64Assert.False(bn.CountItem.AutoToolTip); 65Assert.False(bn.PositionItem.AutoToolTip); 109Assert.False(bn.PositionItem.AutoSize);
CheckedListBoxTests.cs (10)
169Assert.False(control.IsHandleCreated); 174Assert.False(control.IsHandleCreated); 269Assert.False(control.IsHandleCreated); 274Assert.False(control.IsHandleCreated); 286Assert.False(control.IsHandleCreated); 291Assert.False(control.IsHandleCreated); 373Assert.False(control.IsHandleCreated); 378Assert.False(control.IsHandleCreated); 423Assert.False(control.IsHandleCreated); 466Assert.False(control.IsHandleCreated);
SerializableTypesTests.cs (1)
60Assert.False(streamOut.IsNull);
System\Drawing\Design\UITypeEditorTests.cs (2)
17Assert.False(editor.IsDropDownResizable); 82Assert.False(editor.GetPaintValueSupported(context));
System\Resources\ResXFileRef.ConverterTests.cs (2)
106Assert.False(result.Size.IsEmpty); 131Assert.False(result.Size.IsEmpty);
System\Resources\ResXResourceReaderTests.cs (1)
32Assert.False(enumerator.MoveNext());
System\Windows\Forms\AccessibleObjects\Button.ButtonAccessibleObjectTests.cs (9)
22Assert.False(button.IsHandleCreated); 26Assert.False(button.IsHandleCreated); 58Assert.False(button.IsHandleCreated); 62Assert.False(button.IsHandleCreated); 79Assert.False(button.IsHandleCreated); 84Assert.False(button.IsHandleCreated); 92Assert.False(button.IsHandleCreated); 96Assert.False(button.IsHandleCreated); 125Assert.False(button.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ButtonBase.ButtonBaseAccessibleObjectTests.cs (4)
120Assert.False(control.IsHandleCreated); 124Assert.False(control.IsHandleCreated); 233Assert.False(buttonBase.IsHandleCreated); 244Assert.False(ownerControl.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\CategoryGridEntryAccessibleObjectTests.cs (10)
74Assert.False(control.IsHandleCreated); 75Assert.False(button.IsHandleCreated); 92Assert.False(control.IsHandleCreated); 93Assert.False(button.IsHandleCreated); 109Assert.False(control.IsHandleCreated); 110Assert.False(button.IsHandleCreated); 127Assert.False(control.IsHandleCreated); 128Assert.False(button.IsHandleCreated); 145Assert.False(control.IsHandleCreated); 146Assert.False(button.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\CheckBox.CheckBoxAccessibleObjectTests.cs (20)
29Assert.False(checkBox.IsHandleCreated); 33Assert.False(checkBox.IsHandleCreated); 69Assert.False(checkBox.IsHandleCreated); 73Assert.False(checkBox.IsHandleCreated); 84Assert.False(checkBox.IsHandleCreated); 88Assert.False(checkBox.IsHandleCreated); 183Assert.False(checkBox.IsHandleCreated); 187Assert.False(checkBox.IsHandleCreated); 198Assert.False(checkBox.IsHandleCreated); 202Assert.False(checkBox.IsHandleCreated); 219Assert.False(checkBox.IsHandleCreated); 224Assert.False(checkBox.IsHandleCreated); 233Assert.False(checkBox.IsHandleCreated); 237Assert.False(checkBox.IsHandleCreated); 244Assert.False(checkBox.IsHandleCreated); 246Assert.False(checkBox.Checked); 254Assert.False(checkBox.Checked); 255Assert.False(checkBox.IsHandleCreated); 276Assert.False(checkBox.IsHandleCreated); 304Assert.False(checkBox.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\CheckedListBoxAccessibleObjectTests.cs (5)
84Assert.False(checkedListBox.IsHandleCreated); 121Assert.False(checkedListBox.IsHandleCreated); 130Assert.False(checkedListBox.IsHandleCreated); 146Assert.False(checkedListBox.IsHandleCreated); 162Assert.False(checkedListBox.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\CheckedListBoxItemAccessibleObjectTests.cs (18)
18Assert.False(checkedListBox.IsHandleCreated); 28Assert.False(checkedListBox.IsHandleCreated); 37Assert.False(checkedListBox.IsHandleCreated); 49Assert.False(checkedListBox.IsHandleCreated); 59Assert.False(checkedListBox.IsHandleCreated); 77Assert.False(checkedListBox.IsHandleCreated); 93Assert.False(checkedListBox.IsHandleCreated); 103Assert.False(checkedListBox.IsHandleCreated); 123Assert.False(checkedListBox.IsHandleCreated); 142Assert.False(checkedListBox.IsHandleCreated); 161Assert.False(checkedListBox.IsHandleCreated); 171Assert.False(checkedListBox.IsHandleCreated); 216Assert.False(checkedListBox.IsHandleCreated); 233Assert.False(checkedListBox.IsHandleCreated); 266Assert.False(checkedListBox.IsHandleCreated); 283Assert.False(checkedListBox.IsHandleCreated); 311Assert.False(checkedListBox.IsHandleCreated); 324Assert.False(checkedListBox.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ColumnHeader.ListViewColumnHeaderAccessibleObjectTests.cs (3)
67Assert.False(listView.IsHandleCreated); 81Assert.False(listView.IsHandleCreated); 95Assert.False(listView.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (11)
63Assert.False(control.IsHandleCreated); 74Assert.False(control.IsHandleCreated); 92Assert.False(comboBox.IsHandleCreated); 219Assert.False(comboBox.IsHandleCreated); 236Assert.False(control.IsHandleCreated); 265Assert.False(comboBox.IsHandleCreated); 312Assert.False(comboBox.IsHandleCreated); 321Assert.False(comboBox.IsHandleCreated); 371Assert.False(comboBox.DroppedDown); 375Assert.False(comboBox.DroppedDown); 376Assert.False(comboBox.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (14)
52Assert.False(ownerControl.IsHandleCreated); 121Assert.False(ownerControl.IsHandleCreated); 146Assert.False(ownerControl.IsHandleCreated); 155Assert.False(ownerControl.IsHandleCreated); 177Assert.False(ownerControl.IsHandleCreated); 863Assert.False(ownerControl.IsHandleCreated); 1060Assert.False(ownerControl.IsHandleCreated); 1079Assert.False(ownerControl.IsHandleCreated); 1217Assert.False(expected); 1413Assert.False(control.IsHandleCreated); 1466Assert.False(control.IsHandleCreated); 1485Assert.False(control.IsHandleCreated); 1604Assert.False(ownerControl.IsHandleCreated); 1722Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridView.DataGridViewEditingPanelAccessibleObjectTests.cs (5)
55Assert.False(dataGridView.IsHandleCreated); 56Assert.False(editingPanel.IsHandleCreated); 106Assert.False(editingPanel.IsHandleCreated); 120Assert.False((bool)editingPanel.AccessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsPasswordPropertyId)); 121Assert.False(editingPanel.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (89)
23Assert.False(dataGridView.IsHandleCreated); 43Assert.False(dataGridView.IsHandleCreated); 70Assert.False(dataGridView.IsHandleCreated); 80Assert.False(dataGridView.IsHandleCreated); 92Assert.False(dataGridView.IsHandleCreated); 103Assert.False(dataGridView.IsHandleCreated); 114Assert.False(dataGridView.IsHandleCreated); 127Assert.False(dataGridView.IsHandleCreated); 139Assert.False(dataGridView.IsHandleCreated); 184Assert.False(dataGridView.IsHandleCreated); 195Assert.False(dataGridView.IsHandleCreated); 239Assert.False(dataGridView.IsHandleCreated); 285Assert.False(dataGridView.IsHandleCreated); 298Assert.False(dataGridView.IsHandleCreated); 307Assert.False((bool)accessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsTablePatternAvailablePropertyId)); 308Assert.False(dataGridView.IsHandleCreated); 329Assert.False((bool)isOffscreen); // Within the visible area 350Assert.False(dataGridView.IsHandleCreated); 359Assert.False(accessibilityObject.IsPatternSupported((UIA_PATTERN_ID)UIA_PROPERTY_ID.UIA_IsTablePatternAvailablePropertyId)); 360Assert.False(dataGridView.IsHandleCreated); 371Assert.False(accessibilityObject.IsPatternSupported((UIA_PATTERN_ID)UIA_PROPERTY_ID.UIA_IsTablePatternAvailablePropertyId)); 372Assert.False(dataGridView.IsHandleCreated); 397Assert.False(dataGridView.IsHandleCreated); 422Assert.False(dataGridView.IsHandleCreated); 447Assert.False(dataGridView.IsHandleCreated); 457Assert.False(dataGridView.IsHandleCreated); 478Assert.False(dataGridView.IsHandleCreated); 507Assert.False(dataGridView.IsHandleCreated); 523Assert.False(dataGridView.IsHandleCreated); 539Assert.False(actual); 540Assert.False(dataGridView.IsHandleCreated); 570Assert.False(dataGridView.IsHandleCreated); 588Assert.False(dataGridView.IsHandleCreated); 607Assert.False(dataGridView.IsHandleCreated); 639Assert.False(dataGridView.IsHandleCreated); 658Assert.False(dataGridView.IsHandleCreated); 678Assert.False(dataGridView.IsHandleCreated); 696Assert.False(dataGridView.IsHandleCreated); 714Assert.False(dataGridView.IsHandleCreated); 733Assert.False(dataGridView.IsHandleCreated); 754Assert.False(dataGridView.IsHandleCreated); 775Assert.False(dataGridView.IsHandleCreated); 797Assert.False(dataGridView.IsHandleCreated); 820Assert.False(dataGridView.IsHandleCreated); 843Assert.False(dataGridView.IsHandleCreated); 866Assert.False(dataGridView.IsHandleCreated); 886Assert.False(dataGridView.IsHandleCreated); 906Assert.False(dataGridView.IsHandleCreated); 927Assert.False(dataGridView.IsHandleCreated); 947Assert.False(dataGridView.IsHandleCreated); 967Assert.False(dataGridView.IsHandleCreated); 988Assert.False(dataGridView.IsHandleCreated); 1008Assert.False(dataGridView.IsHandleCreated); 1028Assert.False(dataGridView.IsHandleCreated); 1049Assert.False(dataGridView.IsHandleCreated); 1069Assert.False(dataGridView.IsHandleCreated); 1089Assert.False(dataGridView.IsHandleCreated); 1110Assert.False(dataGridView.IsHandleCreated); 1128Assert.False(dataGridView.IsHandleCreated); 1146Assert.False(dataGridView.IsHandleCreated); 1164Assert.False(dataGridView.IsHandleCreated); 1182Assert.False(dataGridView.IsHandleCreated); 1200Assert.False(dataGridView.IsHandleCreated); 1219Assert.False(dataGridView.IsHandleCreated); 1238Assert.False(dataGridView.IsHandleCreated); 1257Assert.False(dataGridView.IsHandleCreated); 1276Assert.False(dataGridView.IsHandleCreated); 1295Assert.False(dataGridView.IsHandleCreated); 1326Assert.False(dataGridView.IsHandleCreated); 1369Assert.False(dataGridView.IsHandleCreated); 1400Assert.False(dataGridView.IsHandleCreated); 1422Assert.False(dataGridView.IsHandleCreated); 1444Assert.False(dataGridView.IsHandleCreated); 1466Assert.False(dataGridView.IsHandleCreated); 1488Assert.False(dataGridView.IsHandleCreated); 1500Assert.False(dataGridView.IsHandleCreated); 1513Assert.False(dataGridView.IsHandleCreated); 1527Assert.False(dataGridView.IsHandleCreated); 1542Assert.False(dataGridView.IsHandleCreated); 1555Assert.False(dataGridView.IsHandleCreated); 1569Assert.False(dataGridView.IsHandleCreated); 1584Assert.False(dataGridView.IsHandleCreated); 1600Assert.False(dataGridView.IsHandleCreated); 1613Assert.False(dataGridView.IsHandleCreated); 1627Assert.False(dataGridView.IsHandleCreated); 1642Assert.False(dataGridView.IsHandleCreated); 1658Assert.False(dataGridView.IsHandleCreated); 1674Assert.False(dataGridView.IsHandleCreated); 1688Assert.False(dataGridView.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (24)
91Assert.False(dataGridView.IsHandleCreated); 239Assert.False(dataGridView.IsHandleCreated); 258Assert.False(dataGridView.IsHandleCreated); 278Assert.False(dataGridView.IsHandleCreated); 662Assert.False(dataGridView.IsHandleCreated); 686Assert.False(dataGridView.IsHandleCreated); 701Assert.False(dataGridView.IsHandleCreated); 715Assert.False(actual); 716Assert.False(dataGridView.IsHandleCreated); 744Assert.False(dataGridView.IsHandleCreated); 782Assert.False(dataGridView.IsHandleCreated); 802Assert.False(dataGridView.IsHandleCreated); 822Assert.False(dataGridView.IsHandleCreated); 842Assert.False(dataGridView.IsHandleCreated); 880Assert.False(dataGridView.IsHandleCreated); 900Assert.False(dataGridView.IsHandleCreated); 920Assert.False(dataGridView.IsHandleCreated); 940Assert.False(dataGridView.IsHandleCreated); 962Assert.False(dataGridView.IsHandleCreated); 985Assert.False(dataGridView.IsHandleCreated); 1008Assert.False(dataGridView.IsHandleCreated); 1031Assert.False(dataGridView.IsHandleCreated); 1045Assert.False(dataGridView.IsHandleCreated); 1114Assert.False(dataGridView.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridViewCheckBoxCellAccessibleObjectTests.cs (1)
79Assert.False(bool.Parse(((BSTR)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_ValueValuePropertyId)).ToStringAndFree()));
System\Windows\Forms\AccessibleObjects\DataGridViewColumnHeaderCellAccessibleObjectTests.cs (43)
34Assert.False(control.IsHandleCreated); 54Assert.False(control.IsHandleCreated); 67Assert.False(control.IsHandleCreated); 92Assert.False(control.IsHandleCreated); 106Assert.False(control.IsHandleCreated); 119Assert.False(control.IsHandleCreated); 161Assert.False(control.IsHandleCreated); 183Assert.False(control.IsHandleCreated); 203Assert.False(control.IsHandleCreated); 223Assert.False(control.IsHandleCreated); 243Assert.False(control.IsHandleCreated); 268Assert.False(control.IsHandleCreated); 291Assert.False(control.IsHandleCreated); 314Assert.False(control.IsHandleCreated); 337Assert.False(control.IsHandleCreated); 359Assert.False(control.IsHandleCreated); 379Assert.False(control.IsHandleCreated); 399Assert.False(control.IsHandleCreated); 419Assert.False(control.IsHandleCreated); 444Assert.False(control.IsHandleCreated); 467Assert.False(control.IsHandleCreated); 490Assert.False(control.IsHandleCreated); 513Assert.False(control.IsHandleCreated); 525Assert.False(control.IsHandleCreated); 540Assert.False(control.IsHandleCreated); 552Assert.False(control.IsHandleCreated); 567Assert.False(control.IsHandleCreated); 595Assert.False(control.IsHandleCreated); 621Assert.False(control.IsHandleCreated); 647Assert.False(control.IsHandleCreated); 673Assert.False(control.IsHandleCreated); 698Assert.False(control.IsHandleCreated); 721Assert.False(control.IsHandleCreated); 744Assert.False(control.IsHandleCreated); 767Assert.False(control.IsHandleCreated); 795Assert.False(control.IsHandleCreated); 821Assert.False(control.IsHandleCreated); 847Assert.False(control.IsHandleCreated); 873Assert.False(control.IsHandleCreated); 898Assert.False(control.IsHandleCreated); 921Assert.False(control.IsHandleCreated); 944Assert.False(control.IsHandleCreated); 967Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridViewComboBoxEditingControlAccessibleObjectTests.cs (4)
20Assert.False(control.IsHandleCreated); 51Assert.False(control.IsHandleCreated); 80Assert.False(control.IsHandleCreated); 93Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (99)
91Assert.False(dataGridView.IsHandleCreated); 112Assert.False(dataGridView.IsHandleCreated); 133Assert.False(dataGridView.IsHandleCreated); 154Assert.False(dataGridView.IsHandleCreated); 402Assert.False(actualValue); 431Assert.False(dataGridView.IsHandleCreated); 458Assert.False(dataGridView.IsHandleCreated); 485Assert.False(dataGridView.IsHandleCreated); 512Assert.False(dataGridView.IsHandleCreated); 535Assert.False(dataGridView.IsHandleCreated); 556Assert.False(dataGridView.IsHandleCreated); 577Assert.False(dataGridView.IsHandleCreated); 598Assert.False(dataGridView.IsHandleCreated); 624Assert.False(dataGridView.IsHandleCreated); 649Assert.False(dataGridView.IsHandleCreated); 674Assert.False(dataGridView.IsHandleCreated); 699Assert.False(dataGridView.IsHandleCreated); 725Assert.False(dataGridView.IsHandleCreated); 749Assert.False(dataGridView.IsHandleCreated); 773Assert.False(dataGridView.IsHandleCreated); 797Assert.False(dataGridView.IsHandleCreated); 826Assert.False(dataGridView.IsHandleCreated); 853Assert.False(dataGridView.IsHandleCreated); 880Assert.False(dataGridView.IsHandleCreated); 907Assert.False(dataGridView.IsHandleCreated); 930Assert.False(dataGridView.IsHandleCreated); 951Assert.False(dataGridView.IsHandleCreated); 972Assert.False(dataGridView.IsHandleCreated); 993Assert.False(dataGridView.IsHandleCreated); 1019Assert.False(dataGridView.IsHandleCreated); 1044Assert.False(dataGridView.IsHandleCreated); 1069Assert.False(dataGridView.IsHandleCreated); 1094Assert.False(dataGridView.IsHandleCreated); 1120Assert.False(dataGridView.IsHandleCreated); 1144Assert.False(dataGridView.IsHandleCreated); 1168Assert.False(dataGridView.IsHandleCreated); 1192Assert.False(dataGridView.IsHandleCreated); 1207Assert.False(dataGridView.IsHandleCreated); 1221Assert.False(dataGridView.IsHandleCreated); 1239Assert.False(dataGridView.IsHandleCreated); 1257Assert.False(dataGridView.IsHandleCreated); 1275Assert.False(dataGridView.IsHandleCreated); 1293Assert.False(dataGridView.IsHandleCreated); 1311Assert.False(dataGridView.IsHandleCreated); 1329Assert.False(dataGridView.IsHandleCreated); 1347Assert.False(dataGridView.IsHandleCreated); 1366Assert.False(dataGridView.IsHandleCreated); 1386Assert.False(dataGridView.IsHandleCreated); 1407Assert.False(dataGridView.IsHandleCreated); 1428Assert.False(dataGridView.IsHandleCreated); 1449Assert.False(dataGridView.IsHandleCreated); 1469Assert.False(dataGridView.IsHandleCreated); 1490Assert.False(dataGridView.IsHandleCreated); 1511Assert.False(dataGridView.IsHandleCreated); 1532Assert.False(dataGridView.IsHandleCreated); 1546Assert.False(dataGridView.IsHandleCreated); 1564Assert.False(dataGridView.IsHandleCreated); 1582Assert.False(dataGridView.IsHandleCreated); 1600Assert.False(dataGridView.IsHandleCreated); 1618Assert.False(dataGridView.IsHandleCreated); 1636Assert.False(dataGridView.IsHandleCreated); 1654Assert.False(dataGridView.IsHandleCreated); 1672Assert.False(dataGridView.IsHandleCreated); 1691Assert.False(dataGridView.IsHandleCreated); 1711Assert.False(dataGridView.IsHandleCreated); 1732Assert.False(dataGridView.IsHandleCreated); 1753Assert.False(dataGridView.IsHandleCreated); 1774Assert.False(dataGridView.IsHandleCreated); 1794Assert.False(dataGridView.IsHandleCreated); 1815Assert.False(dataGridView.IsHandleCreated); 1836Assert.False(dataGridView.IsHandleCreated); 1857Assert.False(dataGridView.IsHandleCreated); 1876Assert.False(dataGridView.IsHandleCreated); 1896Assert.False(dataGridView.IsHandleCreated); 1915Assert.False(dataGridView.IsHandleCreated); 1934Assert.False(dataGridView.IsHandleCreated); 1953Assert.False(dataGridView.IsHandleCreated); 1975Assert.False(dataGridView.IsHandleCreated); 1995Assert.False(dataGridView.IsHandleCreated); 2016Assert.False(dataGridView.IsHandleCreated); 2037Assert.False(dataGridView.IsHandleCreated); 2058Assert.False(dataGridView.IsHandleCreated); 2081Assert.False(dataGridView.IsHandleCreated); 2103Assert.False(dataGridView.IsHandleCreated); 2125Assert.False(dataGridView.IsHandleCreated); 2147Assert.False(dataGridView.IsHandleCreated); 2172Assert.False(dataGridView.IsHandleCreated); 2196Assert.False(dataGridView.IsHandleCreated); 2220Assert.False(dataGridView.IsHandleCreated); 2244Assert.False(dataGridView.IsHandleCreated); 2258Assert.False(dataGridView.IsHandleCreated); 2273Assert.False(dataGridView.IsHandleCreated); 2289Assert.False(dataGridView.IsHandleCreated); 2306Assert.False(dataGridView.IsHandleCreated); 2320Assert.False(dataGridView.IsHandleCreated); 2335Assert.False(dataGridView.IsHandleCreated); 2351Assert.False(dataGridView.IsHandleCreated); 2368Assert.False(dataGridView.IsHandleCreated); 2385Assert.False(dataGridView.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridViewRowHeaderCellAccessibleObjectTests.cs (8)
34Assert.False(control.IsHandleCreated); 59Assert.False(control.IsHandleCreated); 80Assert.False(control.IsHandleCreated); 95Assert.False(cell.OwningRow.Selected); 114Assert.False(cell.OwningRow.Selected); 118Assert.False(cell.OwningRow.Selected); 119Assert.False(control.IsHandleCreated); 131Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedCellsAccessibleObjectTests.cs (8)
61Assert.False(control.IsHandleCreated); 90Assert.False(control.IsHandleCreated); 108Assert.False(control.IsHandleCreated); 131Assert.False(control.IsHandleCreated); 153Assert.False(control.IsHandleCreated); 168Assert.False(control.IsHandleCreated); 189Assert.False(control.IsHandleCreated); 206Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedRowCellsAccessibleObjectTests.cs (8)
64Assert.False(control.IsHandleCreated); 93Assert.False(control.IsHandleCreated); 111Assert.False(control.IsHandleCreated); 135Assert.False(control.IsHandleCreated); 159Assert.False(control.IsHandleCreated); 175Assert.False(control.IsHandleCreated); 197Assert.False(control.IsHandleCreated); 215Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridViewTextBoxEditingControl.DataGridViewTextBoxEditingControlAccessibleObjectTests.cs (3)
68Assert.False(textCellControl.IsHandleCreated); 116Assert.False(textCellControl.IsHandleCreated); 131Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs (5)
44Assert.False(control.IsHandleCreated); 77Assert.False(control.IsHandleCreated); 109Assert.False(control.IsHandleCreated); 129Assert.False(control.IsHandleCreated); 142Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DataGridViewTopRowAccessibleObjectTests.cs (64)
28Assert.False(dataGridView.IsHandleCreated); 48Assert.False(dataGridView.IsHandleCreated); 64Assert.False(dataGridView.IsHandleCreated); 81Assert.False(dataGridView.IsHandleCreated); 99Assert.False(dataGridView.IsHandleCreated); 117Assert.False(dataGridView.IsHandleCreated); 135Assert.False(dataGridView.IsHandleCreated); 153Assert.False(dataGridView.IsHandleCreated); 171Assert.False(dataGridView.IsHandleCreated); 189Assert.False(dataGridView.IsHandleCreated); 207Assert.False(dataGridView.IsHandleCreated); 226Assert.False(dataGridView.IsHandleCreated); 246Assert.False(dataGridView.IsHandleCreated); 267Assert.False(dataGridView.IsHandleCreated); 288Assert.False(dataGridView.IsHandleCreated); 309Assert.False(dataGridView.IsHandleCreated); 329Assert.False(dataGridView.IsHandleCreated); 350Assert.False(dataGridView.IsHandleCreated); 371Assert.False(dataGridView.IsHandleCreated); 392Assert.False(dataGridView.IsHandleCreated); 409Assert.False(dataGridView.IsHandleCreated); 427Assert.False(dataGridView.IsHandleCreated); 445Assert.False(dataGridView.IsHandleCreated); 463Assert.False(dataGridView.IsHandleCreated); 481Assert.False(dataGridView.IsHandleCreated); 499Assert.False(dataGridView.IsHandleCreated); 517Assert.False(dataGridView.IsHandleCreated); 535Assert.False(dataGridView.IsHandleCreated); 554Assert.False(dataGridView.IsHandleCreated); 574Assert.False(dataGridView.IsHandleCreated); 595Assert.False(dataGridView.IsHandleCreated); 616Assert.False(dataGridView.IsHandleCreated); 637Assert.False(dataGridView.IsHandleCreated); 657Assert.False(dataGridView.IsHandleCreated); 678Assert.False(dataGridView.IsHandleCreated); 699Assert.False(dataGridView.IsHandleCreated); 720Assert.False(dataGridView.IsHandleCreated); 739Assert.False(dataGridView.IsHandleCreated); 759Assert.False(dataGridView.IsHandleCreated); 778Assert.False(dataGridView.IsHandleCreated); 797Assert.False(dataGridView.IsHandleCreated); 816Assert.False(dataGridView.IsHandleCreated); 838Assert.False(dataGridView.IsHandleCreated); 858Assert.False(dataGridView.IsHandleCreated); 879Assert.False(dataGridView.IsHandleCreated); 900Assert.False(dataGridView.IsHandleCreated); 921Assert.False(dataGridView.IsHandleCreated); 944Assert.False(dataGridView.IsHandleCreated); 966Assert.False(dataGridView.IsHandleCreated); 988Assert.False(dataGridView.IsHandleCreated); 1010Assert.False(dataGridView.IsHandleCreated); 1035Assert.False(dataGridView.IsHandleCreated); 1059Assert.False(dataGridView.IsHandleCreated); 1083Assert.False(dataGridView.IsHandleCreated); 1107Assert.False(dataGridView.IsHandleCreated); 1121Assert.False(dataGridView.IsHandleCreated); 1136Assert.False(dataGridView.IsHandleCreated); 1152Assert.False(dataGridView.IsHandleCreated); 1169Assert.False(dataGridView.IsHandleCreated); 1183Assert.False(dataGridView.IsHandleCreated); 1198Assert.False(dataGridView.IsHandleCreated); 1214Assert.False(dataGridView.IsHandleCreated); 1231Assert.False(dataGridView.IsHandleCreated); 1245Assert.False(dataGridView.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DateTimePicker.DateTimePickerAccessibleObjectTests.cs (14)
20Assert.False(dateTimePicker.IsHandleCreated); 32Assert.False(dateTimePicker.IsHandleCreated); 44Assert.False(dateTimePicker.IsHandleCreated); 57Assert.False(dateTimePicker.IsHandleCreated); 86Assert.False(dateTimePicker.IsHandleCreated); 99Assert.False(dateTimePicker.IsHandleCreated); 111Assert.False(dateTimePicker.IsHandleCreated); 132Assert.False(dateTimePicker.IsHandleCreated); 148Assert.False(dateTimePicker.IsHandleCreated); 168Assert.False(dateTimePicker.IsHandleCreated); 259Assert.False(dateTimePicker.IsHandleCreated); 274Assert.False(dateTimePicker.IsHandleCreated); 283Assert.False(dateTimePicker.IsHandleCreated); 293Assert.False(dateTimePicker.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DirectionButtonAccessibleObjectTests.cs (6)
25Assert.False(domainUpDown.IsHandleCreated); 62Assert.False(numericUpDown.IsHandleCreated); 102Assert.False(domainUpDown.IsHandleCreated); 125Assert.False(numericUpDown.IsHandleCreated); 148Assert.False(domainUpDown.IsHandleCreated); 171Assert.False(numericUpDown.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\DomainUpDownAccessibleObjectTests.cs (6)
17Assert.False(domainUpDown.IsHandleCreated); 29Assert.False(domainUpDown.IsHandleCreated); 41Assert.False(domainUpDown.IsHandleCreated); 63Assert.False(isKeyboardFocusable); 92Assert.False(domainUpDown.IsHandleCreated); 113Assert.False(domainUpDown.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ErrorProvider.ControlItem.ControlItemAccessibleObjectTests.cs (9)
37Assert.False(control.IsHandleCreated); 72Assert.False(control.IsHandleCreated); 87Assert.False(control.IsHandleCreated); 127Assert.False(control.IsHandleCreated); 156Assert.False(control.IsHandleCreated); 205Assert.False(control.IsHandleCreated); 220Assert.False(control.IsHandleCreated); 253Assert.False(control.IsHandleCreated); 286Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObjectTests.cs (6)
97Assert.False(control.IsHandleCreated); 115Assert.False(control.IsHandleCreated); 135Assert.False(control.IsHandleCreated); 155Assert.False(control.IsHandleCreated); 174Assert.False(control.IsHandleCreated); 188Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\Form.FormAccessibleObjectTests.cs (6)
20Assert.False(form.IsHandleCreated); 34Assert.False(form.IsHandleCreated); 52Assert.False(form.IsHandleCreated); 70Assert.False(form.IsHandleCreated); 99Assert.False(form.IsHandleCreated); 111Assert.False(form.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\GroupBoxAccessibleObjectTests.cs (8)
27Assert.False(groupBox.IsHandleCreated); 38Assert.False(groupBox.IsHandleCreated); 53Assert.False(groupBox.IsHandleCreated); 66Assert.False(groupBox.IsHandleCreated); 79Assert.False(groupBox.IsHandleCreated); 90Assert.False(groupBox.IsHandleCreated); 119Assert.False(groupBox.IsHandleCreated); 130Assert.False(ownerControl.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\HScrollBar.HScrollBarAccessibleObjectTests.cs (7)
51Assert.False(scrollBar.IsHandleCreated); 66Assert.False(scrollBar.IsHandleCreated); 78Assert.False(scrollBar.IsHandleCreated); 107Assert.False(scrollBar.IsHandleCreated); 174Assert.False(scrollBar.IsHandleCreated); 254Assert.False(scrollBar.IsHandleCreated); 268Assert.False(scrollBar.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (7)
45Assert.False(scrollBar.IsHandleCreated); 67Assert.False(scrollBar.IsHandleCreated); 100Assert.False(scrollBar.IsHandleCreated); 198Assert.False(scrollBar.IsHandleCreated); 267Assert.False(scrollBar.IsHandleCreated); 305Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 329Assert.False(accessibleObject.IsDisplayed);
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (12)
45Assert.False(scrollBar.IsHandleCreated); 56Assert.False(scrollBar.IsHandleCreated); 78Assert.False(scrollBar.IsHandleCreated); 100Assert.False(scrollBar.IsHandleCreated); 122Assert.False(scrollBar.IsHandleCreated); 145Assert.False(scrollBar.IsHandleCreated); 221Assert.False(scrollBar.IsHandleCreated); 290Assert.False(scrollBar.IsHandleCreated); 343Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 356Assert.False(scrollBar.IsHandleCreated); 367Assert.False(accessibleObject.IsDisplayed); 368Assert.False(scrollBar.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (8)
56Assert.False(scrollBar.IsHandleCreated); 78Assert.False(scrollBar.IsHandleCreated); 100Assert.False(scrollBar.IsHandleCreated); 133Assert.False(scrollBar.IsHandleCreated); 208Assert.False(scrollBar.IsHandleCreated); 277Assert.False(scrollBar.IsHandleCreated); 315Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 339Assert.False(accessibleObject.IsDisplayed);
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (11)
45Assert.False(scrollBar.IsHandleCreated); 67Assert.False(scrollBar.IsHandleCreated); 89Assert.False(scrollBar.IsHandleCreated); 111Assert.False(scrollBar.IsHandleCreated); 134Assert.False(scrollBar.IsHandleCreated); 208Assert.False(scrollBar.IsHandleCreated); 277Assert.False(scrollBar.IsHandleCreated); 330Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 343Assert.False(scrollBar.IsHandleCreated); 354Assert.False(accessibleObject.IsDisplayed); 355Assert.False(scrollBar.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (7)
67Assert.False(scrollBar.IsHandleCreated); 89Assert.False(scrollBar.IsHandleCreated); 111Assert.False(scrollBar.IsHandleCreated); 132Assert.False(accessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_InvokePatternId)); 212Assert.False(scrollBar.IsHandleCreated); 235Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 259Assert.False(accessibleObject.IsDisplayed);
System\Windows\Forms\AccessibleObjects\LabelAccessibleObjectTests.cs (7)
28Assert.False(label.IsHandleCreated); 39Assert.False(label.IsHandleCreated); 54Assert.False(label.IsHandleCreated); 67Assert.False(label.IsHandleCreated); 80Assert.False(label.IsHandleCreated); 93Assert.False(label.IsHandleCreated); 122Assert.False(label.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\LinkLabel.Link.LinkAccessibleObjectTests.cs (16)
45Assert.False(linkLabel.IsHandleCreated); 59Assert.False(linkLabel.IsHandleCreated); 81Assert.False(linkLabel.IsHandleCreated); 103Assert.False(linkLabel.IsHandleCreated); 126Assert.False(linkLabel.IsHandleCreated); 139Assert.False(linkLabel.IsHandleCreated); 151Assert.False(linkLabel.IsHandleCreated); 165Assert.False(linkLabel.IsHandleCreated); 177Assert.False(linkLabel.IsHandleCreated); 189Assert.False(linkLabel.IsHandleCreated); 203Assert.False(linkLabel.IsHandleCreated); 227Assert.False(linkLabel.IsHandleCreated); 239Assert.False(linkLabel.IsHandleCreated); 250Assert.False(actual); 251Assert.False(linkLabel.IsHandleCreated); 277Assert.False(linkLabel.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\LinkLabel.LinkLabelAccessibleObjectTests.cs (11)
19Assert.False(linkLabel.IsHandleCreated); 31Assert.False(linkLabel.IsHandleCreated); 60Assert.False(linkLabel.IsHandleCreated); 72Assert.False(linkLabel.IsHandleCreated); 92Assert.False(linkLabel.IsHandleCreated); 115Assert.False(linkLabel.IsHandleCreated); 131Assert.False(linkLabel.IsHandleCreated); 145Assert.False(linkLabel.IsHandleCreated); 160Assert.False(linkLabel.IsHandleCreated); 175Assert.False(linkLabel.IsHandleCreated); 188Assert.False(linkLabel.IsAccessibilityObjectCreated);
System\Windows\Forms\AccessibleObjects\ListBox.ListBoxItemAccessibleObjectTests.cs (8)
45Assert.False(control.IsHandleCreated); 68Assert.False(listBox.IsHandleCreated); 84Assert.False(listBox.IsHandleCreated); 101Assert.False(listBox.IsHandleCreated); 117Assert.False(listBox.IsHandleCreated); 132Assert.False(actual); 133Assert.False(listBox.IsHandleCreated); 160Assert.False(listBox.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (4)
36Assert.False(listBox.IsHandleCreated); 84Assert.False(listBox.IsHandleCreated); 94Assert.False(listBox.IsHandleCreated); 151Assert.False(actual);
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (19)
20Assert.False(listView.IsHandleCreated); 29Assert.False(listView.IsHandleCreated); 54Assert.False(listView.IsHandleCreated); 63Assert.False(listView.IsHandleCreated); 73Assert.False(listView.IsHandleCreated); 156Assert.False(listView.IsHandleCreated); 190Assert.False(listView.IsHandleCreated); 200Assert.False(listView.IsHandleCreated); 225Assert.False(list.IsHandleCreated); 373Assert.False(actual); 623Assert.False(listView.IsHandleCreated); 981Assert.False(listView.IsHandleCreated); 1106Assert.False(listView.IsHandleCreated); 1135Assert.False(listView.IsHandleCreated); 1181Assert.False(listView.IsHandleCreated); 1259Assert.False(listView.IsHandleCreated); 1282Assert.False(listView.IsHandleCreated); 1343Assert.False(listView.IsHandleCreated); 1356Assert.False(listView.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (8)
43Assert.False(list.IsHandleCreated); 58Assert.False(list.IsHandleCreated); 72Assert.False(list.IsHandleCreated); 108Assert.False(list.IsHandleCreated); 122Assert.False(list.IsHandleCreated); 127Assert.False(list.IsHandleCreated); 1374Assert.False(listView.IsHandleCreated); 1388Assert.False(listView.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (17)
41Assert.False(list.IsHandleCreated); 113Assert.False(list.IsHandleCreated); 234Assert.False(listView.IsHandleCreated); 281Assert.False(listView.IsHandleCreated); 780Assert.False(listView.IsHandleCreated); 937Assert.False(listViewItem.Checked); 948Assert.False(listViewItem.Checked); 1555Assert.False(listView.IsHandleCreated); 1570Assert.False(listView.IsHandleCreated); 1589Assert.False(listView.IsHandleCreated); 1607Assert.False(listView.IsHandleCreated); 1629Assert.False(listView.IsHandleCreated); 1647Assert.False(listView.IsHandleCreated); 1867Assert.False(listView.IsHandleCreated); 1881Assert.False(listView.IsHandleCreated); 1895Assert.False(listView.IsHandleCreated); 1909Assert.False(listView.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (23)
27Assert.False(control.IsHandleCreated); 38Assert.False(control.IsHandleCreated); 51Assert.False(control.IsHandleCreated); 62Assert.False(control.IsHandleCreated); 74Assert.False(control.IsHandleCreated); 104Assert.False(accessibleObject.IsItemSelected); 158Assert.False(control.IsHandleCreated); 174Assert.False(control.IsHandleCreated); 188Assert.False(control.IsHandleCreated); 206Assert.False(control.IsHandleCreated); 224Assert.False(control.IsHandleCreated); 237Assert.False(control.IsHandleCreated); 250Assert.False(control.IsHandleCreated); 263Assert.False(control.IsHandleCreated); 276Assert.False(control.IsHandleCreated); 294Assert.False(listView.IsHandleCreated); 308Assert.False(listView.IsHandleCreated); 327Assert.False(listView.IsHandleCreated); 343Assert.False(control.IsHandleCreated); 354Assert.False(control.IsHandleCreated); 367Assert.False(control.IsHandleCreated); 386Assert.False(control.IsHandleCreated); 399Assert.False(listView.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (7)
30Assert.False(control.IsHandleCreated); 46Assert.False(control.IsHandleCreated); 62Assert.False(control.IsHandleCreated); 80Assert.False(control.IsHandleCreated); 93Assert.False(control.IsHandleCreated); 128Assert.False(control.IsHandleCreated); 156Assert.False(listView.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemImageAccessibleObjectTests.cs (2)
58Assert.False((bool)imageAccessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId)); 59Assert.False((bool)imageAccessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsKeyboardFocusablePropertyId));
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemListAccessibleObjectTests.cs (2)
32Assert.False(control.IsHandleCreated); 44Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemWithImageAccessibleObjectTests.cs (3)
23Assert.False(control.IsHandleCreated); 68Assert.False(control.IsHandleCreated); 90Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (13)
266Assert.False(listView.IsHandleCreated); 864Assert.False(listView.IsHandleCreated); 920Assert.False(listView.IsHandleCreated); 935Assert.False(listView.IsHandleCreated); 948Assert.False(actual); 949Assert.False(listView.IsHandleCreated); 977Assert.False(listView.IsHandleCreated); 1087Assert.False(listView.IsHandleCreated); 1103Assert.False(listView.IsHandleCreated); 1119Assert.False(listView.IsHandleCreated); 1135Assert.False(listView.IsHandleCreated); 1151Assert.False(listView.IsHandleCreated); 1168Assert.False(listView.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (3)
38Assert.False((bool)accessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsPasswordPropertyId)); 40Assert.False((bool)accessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsOffscreenPropertyId)); 105Assert.False(elementProvider.IsNull);
System\Windows\Forms\AccessibleObjects\MaskedTextBox.MaskedTextBoxAccessibleObjectTests.cs (7)
73Assert.False(maskedTextBox.IsHandleCreated); 94Assert.False(maskedTextBox.IsHandleCreated); 110Assert.False(maskedTextBox.IsHandleCreated); 126Assert.False(maskedTextBox.IsHandleCreated); 139Assert.False(maskedTextBox.IsHandleCreated); 153Assert.False(maskedTextBox.IsHandleCreated); 168Assert.False(maskedTextBox.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (5)
44Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsContentElementPropertyId)); 95Assert.False(menuStrip.IsHandleCreated); 107Assert.False(menuStrip.IsHandleCreated); 136Assert.False(menuStrip.IsHandleCreated); 158Assert.False(menuStrip.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarAccessibleObjectTests.cs (15)
24Assert.False(control.IsHandleCreated); 119Assert.False(control.IsHandleCreated); 172Assert.False(control.IsHandleCreated); 184Assert.False(control.IsHandleCreated); 199Assert.False(control.IsHandleCreated); 211Assert.False(control.IsHandleCreated); 223Assert.False(control.IsHandleCreated); 235Assert.False(control.IsHandleCreated); 248Assert.False(control.IsHandleCreated); 260Assert.False(control.IsHandleCreated); 272Assert.False(control.IsHandleCreated); 314Assert.False(control.IsHandleCreated); 326Assert.False(control.IsHandleCreated); 422Assert.False(control.IsHandleCreated); 434Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarBodyAccessibleObjectTests.cs (10)
62Assert.False(control.IsHandleCreated); 100Assert.False(control.IsHandleCreated); 112Assert.False(control.IsHandleCreated); 166Assert.False(control.IsHandleCreated); 176Assert.False(control.IsHandleCreated); 186Assert.False(control.IsHandleCreated); 198Assert.False(control.IsHandleCreated); 208Assert.False(control.IsHandleCreated); 222Assert.False(control.IsHandleCreated); 236Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarButtonAccessibleObjectTests.cs (6)
33Assert.False(control.IsHandleCreated); 44Assert.False(control.IsHandleCreated); 57Assert.False(control.IsHandleCreated); 70Assert.False(control.IsHandleCreated); 83Assert.False(control.IsHandleCreated); 96Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarCellAccessibleObjectTests.cs (7)
68Assert.False(control.IsHandleCreated); 82Assert.False(control.IsHandleCreated); 96Assert.False(control.IsHandleCreated); 112Assert.False(control.IsHandleCreated); 133Assert.False(control.IsHandleCreated); 172Assert.False(control.IsHandleCreated); 258Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarDayOfWeekCellAccessibleObjectTests.cs (10)
38Assert.False(control.IsHandleCreated); 48Assert.False(control.IsHandleCreated); 58Assert.False(control.IsHandleCreated); 70Assert.False(control.IsHandleCreated); 81Assert.False(actual); 82Assert.False(control.IsHandleCreated); 94Assert.False(control.IsHandleCreated); 106Assert.False(control.IsHandleCreated); 120Assert.False(control.IsHandleCreated); 206Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarPreviousButtonAccessibleObjectTests.cs (6)
34Assert.False(control.IsHandleCreated); 47Assert.False(control.IsHandleCreated); 60Assert.False(control.IsHandleCreated); 71Assert.False(control.IsHandleCreated); 85Assert.False(control.IsHandleCreated); 97Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarRowAccessibleObjectTests.cs (7)
41Assert.False(control.IsHandleCreated); 53Assert.False(control.IsHandleCreated); 65Assert.False(control.IsHandleCreated); 80Assert.False(control.IsHandleCreated); 92Assert.False(control.IsHandleCreated); 108Assert.False(control.IsHandleCreated); 121Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarTodayLinkAccessibleObjectTests.cs (6)
38Assert.False(control.IsHandleCreated); 69Assert.False(control.IsHandleCreated); 84Assert.False(control.IsHandleCreated); 95Assert.False(control.IsHandleCreated); 109Assert.False(control.IsHandleCreated); 121Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarWeekNumberCellAccessibleObjectTests.cs (12)
20Assert.False(control.IsHandleCreated); 30Assert.False(control.IsHandleCreated); 40Assert.False(control.IsHandleCreated); 50Assert.False(control.IsHandleCreated); 62Assert.False(control.IsHandleCreated); 74Assert.False(control.IsHandleCreated); 85Assert.False(actual); 86Assert.False(control.IsHandleCreated); 98Assert.False(control.IsHandleCreated); 110Assert.False(control.IsHandleCreated); 124Assert.False(control.IsHandleCreated); 196Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarAccessibleObjectTests.cs (11)
33Assert.False(monthCalendar.IsHandleCreated); 45Assert.False(monthCalendar.IsHandleCreated); 74Assert.False(monthCalendar.IsHandleCreated); 86Assert.False(monthCalendar.IsHandleCreated); 99Assert.False(monthCalendar.IsHandleCreated); 109Assert.False(monthCalendar.IsHandleCreated); 118Assert.False(monthCalendar.IsHandleCreated); 137Assert.False(monthCalendar.IsHandleCreated); 149Assert.False(monthCalendar.IsHandleCreated); 174Assert.False(monthCalendar.IsHandleCreated); 185Assert.False(monthCalendar.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarChildAccessibleObjectTests.cs (6)
27Assert.False(control.IsHandleCreated); 47Assert.False(control.IsHandleCreated); 59Assert.False(control.IsHandleCreated); 71Assert.False(control.IsHandleCreated); 87Assert.False(control.IsHandleCreated); 99Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\NumericUpDownAccessibleObjectTests.cs (5)
37Assert.False(isKeyboardFocusable); 49Assert.False(numericUpDown.IsHandleCreated); 61Assert.False(numericUpDown.IsHandleCreated); 90Assert.False(numericUpDown.IsHandleCreated); 103Assert.False(numericUpDown.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (10)
25Assert.False(panel.IsHandleCreated); 41Assert.False(panel.IsHandleCreated); 57Assert.False(panel.IsHandleCreated); 85Assert.False(panel.IsHandleCreated); 114Assert.False(panel.IsHandleCreated); 124Assert.False(panel.IsHandleCreated); 134Assert.False(panel.IsHandleCreated); 161Assert.False(panel.IsHandleCreated); 170Assert.False(panel.IsHandleCreated); 208Assert.False(panel.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (12)
21Assert.False(pictureBox.IsHandleCreated); 25Assert.False(pictureBox.IsHandleCreated); 36Assert.False(pictureBox.IsHandleCreated); 40Assert.False(pictureBox.IsHandleCreated); 51Assert.False(pictureBox.IsHandleCreated); 55Assert.False(pictureBox.IsHandleCreated); 66Assert.False(pictureBox.IsHandleCreated); 70Assert.False(pictureBox.IsHandleCreated); 107Assert.False(pictureBox.IsHandleCreated); 114Assert.False(pictureBox.IsHandleCreated); 118Assert.False(pictureBox.IsHandleCreated); 147Assert.False(pictureBox.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\PrintPreviewControl.PrintPreviewControlAccessibleObjectTests.cs (8)
18Assert.False(control.IsHandleCreated); 32Assert.False(control.IsHandleCreated); 37Assert.False(control.IsHandleCreated); 59Assert.False(control.IsHandleCreated); 63Assert.False(value); 64Assert.False(control.IsHandleCreated); 75Assert.False(control.IsHandleCreated); 104Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ProgressBarAccessibleObjectTests.cs (3)
60Assert.False(ownerControl.IsHandleCreated); 119Assert.False(progressBar.IsHandleCreated); 148Assert.False(progressBar.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
106Assert.False(propertyGrid.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\PropertyGridToolStrip.PropertyGridToolStripAccessibleObjectTests.cs (6)
19Assert.False(propertyGrid.IsHandleCreated); 20Assert.False(propertyGridToolStrip.IsHandleCreated); 33Assert.False(propertyGrid.IsHandleCreated); 34Assert.False(propertyGridToolStrip.IsHandleCreated); 47Assert.False(propertyGrid.IsHandleCreated); 48Assert.False(propertyGridToolStrip.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\PropertyGridToolStripButton.PropertyGridToolStripButtonAccessibleObjectTests.cs (17)
20Assert.False(alphaButtonAccessibleObject.IsItemSelected); 24Assert.False(categoryButtonAccessibleObject.IsItemSelected); 53Assert.False(propertyPagesButtonAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_SelectionItemPatternId)); 80Assert.False(alphaButton.Checked); 85Assert.False(categoryButton.Checked); 92Assert.False(alphaButton.Checked); 108Assert.False(alphaButton.Checked); 113Assert.False(categoryButton.Checked); 120Assert.False(alphaButton.Checked); 136Assert.False(alphaButton.Checked); 142Assert.False(alphaButton.Checked); 158Assert.False(alphaButton.Checked); 163Assert.False(categoryButton.Checked); 170Assert.False(alphaButton.Checked); 184Assert.False(categoryButtonAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId)); 185Assert.False(alphaButtonAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId)); 186Assert.False(propertyPagesButtonAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId));
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (2)
146Assert.False(propertyGrid.IsHandleCreated); 158Assert.False(propertyGrid.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\RadioButton.RadioButtonAccessibleObjectTests.cs (19)
22Assert.False(radioButton.IsHandleCreated); 26Assert.False(radioButton.IsHandleCreated); 37Assert.False(radioButton.IsHandleCreated); 41Assert.False(radioButton.IsHandleCreated); 55Assert.False(radioButton.IsHandleCreated); 66Assert.False(radioButton.IsHandleCreated); 70Assert.False(radioButton.IsHandleCreated); 81Assert.False(radioButton.IsHandleCreated); 85Assert.False(radioButton.IsHandleCreated); 127Assert.False(radioButton.IsHandleCreated); 131Assert.False(radioButton.IsHandleCreated); 138Assert.False(radioButton.IsHandleCreated); 142Assert.False(radioButton.IsHandleCreated); 179Assert.False(radioButtonAccessibleObject.IsItemSelected); 200Assert.False(radioButton.IsHandleCreated); 205Assert.False(radioButton.IsHandleCreated); 218Assert.False(radioButton.IsHandleCreated); 222Assert.False(radioButton.IsHandleCreated); 251Assert.False(radioButton.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ScrollBar.ScrollBarAccessibleObjectTests.cs (6)
67Assert.False(scrollBar.IsHandleCreated); 72Assert.False(scrollBar.IsHandleCreated); 101Assert.False(scrollBar.IsHandleCreated); 112Assert.False(scrollBar.IsHandleCreated); 128Assert.False(scrollBar.IsHandleCreated); 154Assert.False(scrollBar.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ScrollBar.ScrollBarChildAccessibleObjectTests.cs (5)
26Assert.False(control.IsHandleCreated); 59Assert.False(control.IsHandleCreated); 69Assert.False(control.IsHandleCreated); 81Assert.False(control.IsHandleCreated); 100Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\SplitContainer.SplitContainerAccessibleObjectTests.cs (6)
17Assert.False(splitContainer.IsHandleCreated); 72Assert.False(splitContainer.IsHandleCreated); 90Assert.False(control.IsHandleCreated); 99Assert.False(control.IsHandleCreated); 115Assert.False(value); 116Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\Splitter.SplitterAccessibleObjectTests.cs (13)
21Assert.False(splitter.IsHandleCreated); 25Assert.False(splitter.IsHandleCreated); 36Assert.False(splitter.IsHandleCreated); 40Assert.False(splitter.IsHandleCreated); 51Assert.False(splitter.IsHandleCreated); 55Assert.False(splitter.IsHandleCreated); 66Assert.False(splitter.IsHandleCreated); 70Assert.False(splitter.IsHandleCreated); 104Assert.False(splitter.IsHandleCreated); 109Assert.False(splitter.IsHandleCreated); 119Assert.False(splitter.IsHandleCreated); 123Assert.False(splitter.IsHandleCreated); 152Assert.False(splitter.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (4)
75Assert.False(statusStrip.IsHandleCreated); 87Assert.False(statusStrip.IsHandleCreated); 116Assert.False(statusStrip.IsHandleCreated); 138Assert.False(statusStrip.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\TabControl.TabControlAccessibleObjectTests.cs (38)
75Assert.False(tabControl.IsHandleCreated); 141Assert.False(tabControl.IsHandleCreated); 188Assert.False(pages[0].IsHandleCreated); 189Assert.False(pages[1].IsHandleCreated); 190Assert.False(tabControl.IsHandleCreated); 227Assert.False(pages[1].IsHandleCreated); 266Assert.False(pages[0].IsHandleCreated); 267Assert.False(pages[1].IsHandleCreated); 268Assert.False(tabControl.IsHandleCreated); 298Assert.False(pages[1].IsHandleCreated); 316Assert.False(pages[1].IsHandleCreated); 334Assert.False(pages[1].IsHandleCreated); 349Assert.False(pages[0].IsHandleCreated); 350Assert.False(pages[1].IsHandleCreated); 351Assert.False(tabControl.IsHandleCreated); 397Assert.False(pages[1].IsHandleCreated); 398Assert.False(pages[2].IsHandleCreated); 418Assert.False(pages[2].IsHandleCreated); 485Assert.False(pages[0].IsHandleCreated); 486Assert.False(pages[1].IsHandleCreated); 487Assert.False(pages[2].IsHandleCreated); 488Assert.False(tabControl.IsHandleCreated); 512Assert.False(tabControl.IsHandleCreated); 523Assert.False(tabControl.IsHandleCreated); 534Assert.False(tabControl.IsHandleCreated); 545Assert.False(tabControl.IsHandleCreated); 560Assert.False(tabControl.IsHandleCreated); 575Assert.False(tabControl.IsHandleCreated); 590Assert.False(tabControl.IsHandleCreated); 612Assert.False(tabControl.IsHandleCreated); 639Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId)); 640Assert.False(tabControl.IsHandleCreated); 651Assert.False(tabControl.IsHandleCreated); 664Assert.False(tabControl.IsHandleCreated); 733Assert.False(tabControl.IsHandleCreated); 749Assert.False(tabControl.IsHandleCreated); 766Assert.False(tabControl.IsHandleCreated); 791Assert.False(tabControl.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\TabPage.TabAccessibleObjectTests.cs (55)
64Assert.False(pages[0].IsHandleCreated); 65Assert.False(tabControl.IsHandleCreated); 78Assert.False(pages[0].IsHandleCreated); 79Assert.False(tabControl.IsHandleCreated); 136Assert.False(pages[1].IsHandleCreated); 150Assert.False(pages[0].IsHandleCreated); 151Assert.False(tabControl.IsHandleCreated); 164Assert.False(pages[0].IsHandleCreated); 165Assert.False(tabControl.IsHandleCreated); 189Assert.False(pages[0].IsHandleCreated); 190Assert.False(pages[1].IsHandleCreated); 191Assert.False(tabControl.IsHandleCreated); 226Assert.False(pages[1].IsHandleCreated); 267Assert.False(pages[0].IsHandleCreated); 268Assert.False(tabControl.IsHandleCreated); 281Assert.False(pages[0].IsHandleCreated); 282Assert.False(tabControl.IsHandleCreated); 295Assert.False(pages[0].IsHandleCreated); 296Assert.False(tabControl.IsHandleCreated); 309Assert.False(pages[0].IsHandleCreated); 310Assert.False(tabControl.IsHandleCreated); 322Assert.False(accessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_InvokePatternId)); 323Assert.False(pages[0].IsHandleCreated); 324Assert.False(tabControl.IsHandleCreated); 336Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsInvokePatternAvailablePropertyId)); 337Assert.False(pages[0].IsHandleCreated); 338Assert.False(tabControl.IsHandleCreated); 375Assert.False(pages[0].IsHandleCreated); 376Assert.False(pages[1].IsHandleCreated); 377Assert.False(tabControl.IsHandleCreated); 396Assert.False(pages[1].IsHandleCreated); 434Assert.False(pages[0].IsHandleCreated); 435Assert.False(pages[1].IsHandleCreated); 436Assert.False(tabControl.IsHandleCreated); 455Assert.False(pages[1].IsHandleCreated); 493Assert.False(pages[0].IsHandleCreated); 494Assert.False(pages[1].IsHandleCreated); 495Assert.False(tabControl.IsHandleCreated); 514Assert.False(pages[1].IsHandleCreated); 540Assert.False(pages[1].IsHandleCreated); 562Assert.False(pages[1].IsHandleCreated); 578Assert.False(accessibleObject2.IsItemSelected); 582Assert.False(accessibleObject1.IsItemSelected); 599Assert.False(accessibleObject1.IsItemSelected); 600Assert.False(accessibleObject2.IsItemSelected); 601Assert.False(pages[0].IsHandleCreated); 602Assert.False(pages[1].IsHandleCreated); 603Assert.False(tabControl.IsHandleCreated); 1088Assert.False(pages[0].IsHandleCreated); 1089Assert.False(tabControl.IsHandleCreated); 1103Assert.False(pages[0].IsHandleCreated); 1104Assert.False(tabControl.IsHandleCreated); 1117Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId)); 1118Assert.False(pages[0].IsHandleCreated); 1119Assert.False(tabControl.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (21)
78Assert.False(tabPage.IsHandleCreated); 116Assert.False(tabPage.IsHandleCreated); 131Assert.False(tabPage.IsHandleCreated); 163Assert.False(tabPage.IsHandleCreated); 216Assert.False(pages[0].IsHandleCreated); 217Assert.False(tabControl.IsHandleCreated); 255Assert.False(pages[1].IsHandleCreated); 256Assert.False(pages[2].IsHandleCreated); 347Assert.False(tabPage.IsHandleCreated); 357Assert.False(accessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_ValuePatternId)); 358Assert.False(tabPage.IsHandleCreated); 369Assert.False(tabPage.IsHandleCreated); 379Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsValuePatternAvailablePropertyId)); 380Assert.False(tabPage.IsHandleCreated); 390Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId)); 391Assert.False(tabPage.IsHandleCreated); 402Assert.False(tabPage.IsHandleCreated); 419Assert.False(pages[0].IsHandleCreated); 420Assert.False(tabControl.IsHandleCreated); 495Assert.False(tabPage.IsHandleCreated); 520Assert.False(tabPage.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\TextBoxAccessibleObjectTests.cs (4)
20Assert.False(textBox.IsHandleCreated); 35Assert.False(textBox.IsHandleCreated); 90Assert.False(textBox.IsHandleCreated); 159Assert.False(actual);
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (5)
21Assert.False(textBoxBase.IsHandleCreated); 35Assert.False(textBoxBase.IsHandleCreated); 49Assert.False(textBoxBase.IsHandleCreated); 76Assert.False(textBoxBase.IsHandleCreated); 163Assert.False(textBoxBase.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (3)
85Assert.False(toolStrip.IsHandleCreated); 114Assert.False(toolStrip.IsHandleCreated); 136Assert.False(toolStrip.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ToolStripButton.ToolStripButtonAccessibleObjectTests.cs (3)
203Assert.False(toolStripButton.AccessibilityObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId)); 204Assert.False(toolStripButton.Checked); 208Assert.False(toolStripButton.Checked);
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxAccessibleObjectTests.cs (1)
24Assert.False(toolStripComboBox.Control.IsAccessibilityObjectCreated);
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxControlAccessibleObjectTests.cs (2)
99Assert.False(control.IsHandleCreated); 100Assert.False(toolStrip.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ToolStripContainer.ToolStripContainerAccessibleObjectTests.cs (5)
17Assert.False(toolStripContainer.IsHandleCreated); 35Assert.False(control.IsHandleCreated); 44Assert.False(control.IsHandleCreated); 60Assert.False(value); 61Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripControlHostAccessibleObjectTests.cs (5)
26Assert.False(toolStrip.Control.IsHandleCreated); 37Assert.False(toolStrip.Control.IsHandleCreated); 51Assert.False(toolStrip.Control.IsHandleCreated); 63Assert.False(toolStrip.Control.IsHandleCreated); 83Assert.False(toolStripControlHost.Control.IsAccessibilityObjectCreated);
System\Windows\Forms\AccessibleObjects\ToolStripDropDown.ToolStripDropDownAccessibleObjectTests.cs (4)
18Assert.False(toolStripDropDown.IsHandleCreated); 31Assert.False(toolStripDropDown.IsHandleCreated); 44Assert.False(toolStripDropDown.IsHandleCreated); 75Assert.False(toolStripDropDown.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ToolStripDropDownItemAccessibleObjectTests.cs (1)
218Assert.False(toolStripDropDownItem.DropDown.IsAccessibilityObjectCreated);
System\Windows\Forms\AccessibleObjects\ToolStripDropDownMenu.ToolStripDropDownMenuAccessibleObjectTests.cs (2)
305Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsContentElementPropertyId)); 317Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsContentElementPropertyId));
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (7)
176Assert.False((bool)toolStripItem.AccessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsExpandCollapsePatternAvailablePropertyId)); 223Assert.False(toolStrip.IsHandleCreated); 236Assert.False(toolStrip.IsHandleCreated); 261Assert.False(toolStrip.IsHandleCreated); 277Assert.False(toolStrip.IsHandleCreated); 304Assert.False(toolStrip.IsHandleCreated); 339Assert.False(toolStrip.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (5)
19Assert.False(toolStripOverflow.IsHandleCreated); 33Assert.False(toolStripOverflow.IsHandleCreated); 46Assert.False(toolStripOverflow.IsHandleCreated); 78Assert.False(toolStripOverflow.IsHandleCreated); 95Assert.False(toolStripOverflow.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObjectTests.cs (4)
19Assert.False(toolStrip.IsHandleCreated); 32Assert.False(toolStrip.IsHandleCreated); 45Assert.False(toolStrip.IsHandleCreated); 122Assert.False(toolStrip.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ToolStripPanel.ToolStripPanelAccessibleObjectTests.cs (3)
18Assert.False(control.IsHandleCreated); 29Assert.False(value); 30Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ToolStripProgressBar.ToolStripProgressBarControl.ToolStripProgressBarControlAccessibleObjectTests.cs (7)
18Assert.False(toolStripProgressBarControl.IsHandleCreated); 30Assert.False(toolStripProgressBarControl.IsHandleCreated); 80Assert.False(toolStripProgressBarControl.IsHandleCreated); 93Assert.False(control.IsHandleCreated); 109Assert.False(control.IsHandleCreated); 110Assert.False(toolStrip.IsHandleCreated); 135Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ToolStripSplitButton.ToolStripSplitButtonExAccessibleObjectTests.cs (1)
75Assert.False(toolStrip.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxControlAccessibleObjectTests.cs (1)
138Assert.False(toolStripTextBoxControl.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (14)
61Assert.False(ownerControl.IsHandleCreated); 196Assert.False(trackBar.IsHandleCreated); 255Assert.False(trackBar.IsHandleCreated); 267Assert.False(trackBar.IsHandleCreated); 277Assert.False(trackBar.IsHandleCreated); 306Assert.False(trackBar.IsHandleCreated); 318Assert.False(trackBar.IsHandleCreated); 338Assert.False(trackBar.IsHandleCreated); 386Assert.False(trackBar.IsHandleCreated); 396Assert.False(trackBar.IsHandleCreated); 410Assert.False(trackBar.IsHandleCreated); 420Assert.False(trackBar.IsHandleCreated); 438Assert.False(trackBar.IsHandleCreated); 473Assert.False(trackBar.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarChildAccessibleObjectTests.cs (5)
25Assert.False(control.IsHandleCreated); 58Assert.False(control.IsHandleCreated); 68Assert.False(control.IsHandleCreated); 80Assert.False(control.IsHandleCreated); 101Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (5)
42Assert.False(trackBar.IsHandleCreated); 220Assert.False(trackBar.IsHandleCreated); 311Assert.False(trackBar.IsHandleCreated); 345Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 369Assert.False(accessibleObject.IsDisplayed);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (5)
42Assert.False(trackBar.IsHandleCreated); 205Assert.False(trackBar.IsHandleCreated); 312Assert.False(trackBar.IsHandleCreated); 346Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 370Assert.False(accessibleObject.IsDisplayed);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarThumbAccessibleObjectTests.cs (5)
20Assert.False(trackBar.IsHandleCreated); 150Assert.False(trackBar.IsHandleCreated); 184Assert.False(accessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_InvokePatternId)); 208Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 232Assert.False(accessibleObject.IsDisplayed);
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (38)
32Assert.False(control.IsHandleCreated); 50Assert.False(control.IsHandleCreated); 68Assert.False(control.IsHandleCreated); 81Assert.False(control.IsHandleCreated); 96Assert.False(control.IsHandleCreated); 116Assert.False(control.IsHandleCreated); 126Assert.False(control.IsHandleCreated); 138Assert.False(control.IsHandleCreated); 151Assert.False(control.IsHandleCreated); 170Assert.False(control.IsHandleCreated); 189Assert.False(control.IsHandleCreated); 205Assert.False(control.IsHandleCreated); 221Assert.False(control.IsHandleCreated); 236Assert.False(control.IsHandleCreated); 250Assert.False(control.IsHandleCreated); 265Assert.False(control.IsHandleCreated); 280Assert.False(control.IsHandleCreated); 296Assert.False(control.IsHandleCreated); 307Assert.False(control.IsHandleCreated); 317Assert.False(control.IsHandleCreated); 329Assert.False(control.IsHandleCreated); 339Assert.False(control.IsHandleCreated); 349Assert.False(control.IsHandleCreated); 360Assert.False(node.IsExpanded); 365Assert.False(control.IsHandleCreated); 376Assert.False(node.IsExpanded); 380Assert.False(node.IsExpanded); 381Assert.False(control.IsHandleCreated); 397Assert.False(node.IsExpanded); 398Assert.False(control.IsHandleCreated); 408Assert.False(control.IsHandleCreated); 430Assert.False(control.IsHandleCreated); 440Assert.False(control.IsHandleCreated); 455Assert.False(control.IsHandleCreated); 468Assert.False(control.IsHandleCreated); 489Assert.False(control.IsHandleCreated); 500Assert.False(control.IsHandleCreated); 512Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (19)
37Assert.False(control.IsHandleCreated); 61Assert.False(control.IsHandleCreated); 74Assert.False(control.IsHandleCreated); 87Assert.False(control.IsHandleCreated); 107Assert.False(control.IsHandleCreated); 119Assert.False(control.IsHandleCreated); 129Assert.False(control.IsHandleCreated); 139Assert.False(control.IsHandleCreated); 147Assert.False(control.Enabled); 148Assert.False((bool)control.AccessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId)); 149Assert.False(control.IsHandleCreated); 159Assert.False((bool)control.AccessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId)); 160Assert.False(control.IsHandleCreated); 171Assert.False(control.IsHandleCreated); 181Assert.False(control.IsHandleCreated); 189Assert.False(control.AccessibilityObject.IsSelectionRequired); 190Assert.False(control.IsHandleCreated); 199Assert.False(control.IsHandleCreated); 237Assert.False(control.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\TreeViewLabelEditAccessibleObjectTests.cs (3)
37Assert.False((bool)accessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsPasswordPropertyId)); 39Assert.False((bool)accessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsOffscreenPropertyId)); 104Assert.False(provider.IsNull);
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObjectTests.cs (7)
26Assert.False(upDownButtons.IsHandleCreated); 27Assert.False(upDownBase.IsHandleCreated); 51Assert.False(upDownBase.IsHandleCreated); 67Assert.False(upDownButtons.IsHandleCreated); 68Assert.False(upDownBase.IsHandleCreated); 86Assert.False(upDownButtons.IsHandleCreated); 87Assert.False(upDownBase.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObjectTests.cs (16)
22Assert.False(upDownBase.IsHandleCreated); 23Assert.False(upDownButtons.IsHandleCreated); 36Assert.False(upDownBase.IsHandleCreated); 49Assert.False(upDownBase.IsHandleCreated); 79Assert.False(upDownBase.IsHandleCreated); 93Assert.False(upDownBase.IsHandleCreated); 105Assert.False(upDownBase.IsHandleCreated); 117Assert.False(upDownBase.IsHandleCreated); 144Assert.False(upDownBase.IsHandleCreated); 167Assert.False(upDownBase.IsHandleCreated); 178Assert.False(upDownBase.IsHandleCreated); 179Assert.False(upDownButtons.IsHandleCreated); 191Assert.False(upDownBase.IsHandleCreated); 192Assert.False(upDownButtons.IsHandleCreated); 207Assert.False(numericUpDown.IsHandleCreated); 222Assert.False(domainUpDown.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownEdit.UpDownEditAccessibleObjectTests.cs (21)
17Assert.False(upDown.IsHandleCreated); 18Assert.False(upDownEdit.IsHandleCreated); 43Assert.False(upDown.IsHandleCreated); 44Assert.False(upDownEdit.IsHandleCreated); 56Assert.False(upDown.IsHandleCreated); 57Assert.False(upDownEdit.IsHandleCreated); 67Assert.False(upDown.IsHandleCreated); 68Assert.False(upDownEdit.IsHandleCreated); 78Assert.False(upDown.IsHandleCreated); 79Assert.False(upDownEdit.IsHandleCreated); 89Assert.False(upDown.IsHandleCreated); 90Assert.False(upDownEdit.IsHandleCreated); 100Assert.False(upDown.IsHandleCreated); 101Assert.False(upDownEdit.IsHandleCreated); 114Assert.False(upDown.IsHandleCreated); 115Assert.False(upDownEdit.IsHandleCreated); 127Assert.False(upDown.IsHandleCreated); 128Assert.False(upDownEdit.IsHandleCreated); 140Assert.False(upDown.IsHandleCreated); 141Assert.False(upDownEdit.IsHandleCreated); 193Assert.False(upDownEdit.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (7)
45Assert.False(scrollBar.IsHandleCreated); 67Assert.False(scrollBar.IsHandleCreated); 100Assert.False(scrollBar.IsHandleCreated); 198Assert.False(scrollBar.IsHandleCreated); 251Assert.False(scrollBar.IsHandleCreated); 289Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 313Assert.False(accessibleObject.IsDisplayed);
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (12)
45Assert.False(scrollBar.IsHandleCreated); 56Assert.False(scrollBar.IsHandleCreated); 78Assert.False(scrollBar.IsHandleCreated); 100Assert.False(scrollBar.IsHandleCreated); 122Assert.False(scrollBar.IsHandleCreated); 145Assert.False(scrollBar.IsHandleCreated); 221Assert.False(scrollBar.IsHandleCreated); 274Assert.False(scrollBar.IsHandleCreated); 327Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 340Assert.False(scrollBar.IsHandleCreated); 351Assert.False(accessibleObject.IsDisplayed); 352Assert.False(scrollBar.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (8)
56Assert.False(scrollBar.IsHandleCreated); 78Assert.False(scrollBar.IsHandleCreated); 100Assert.False(scrollBar.IsHandleCreated); 133Assert.False(scrollBar.IsHandleCreated); 208Assert.False(scrollBar.IsHandleCreated); 261Assert.False(scrollBar.IsHandleCreated); 299Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 323Assert.False(accessibleObject.IsDisplayed);
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (11)
45Assert.False(scrollBar.IsHandleCreated); 67Assert.False(scrollBar.IsHandleCreated); 89Assert.False(scrollBar.IsHandleCreated); 111Assert.False(scrollBar.IsHandleCreated); 134Assert.False(scrollBar.IsHandleCreated); 208Assert.False(scrollBar.IsHandleCreated); 261Assert.False(scrollBar.IsHandleCreated); 314Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 327Assert.False(scrollBar.IsHandleCreated); 338Assert.False(accessibleObject.IsDisplayed); 339Assert.False(scrollBar.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarThumbAccessibleObjectTests.cs (7)
67Assert.False(scrollBar.IsHandleCreated); 89Assert.False(scrollBar.IsHandleCreated); 111Assert.False(scrollBar.IsHandleCreated); 132Assert.False(accessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_InvokePatternId)); 212Assert.False(scrollBar.IsHandleCreated); 235Assert.False((bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId)); 259Assert.False(accessibleObject.IsDisplayed);
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (6)
50Assert.False(scrollBar.IsHandleCreated); 65Assert.False(scrollBar.IsHandleCreated); 77Assert.False(scrollBar.IsHandleCreated); 106Assert.False(scrollBar.IsHandleCreated); 242Assert.False(scrollBar.IsHandleCreated); 256Assert.False(scrollBar.IsHandleCreated);
System\Windows\Forms\AccessibleObjects\WebBrowser.WebBrowserAccessibleObjectTests.cs (4)
18Assert.False(webBrowser.IsHandleCreated); 36Assert.False(webBrowser.IsHandleCreated); 47Assert.False(value); 48Assert.False(webBrowser.IsHandleCreated);
System\Windows\Forms\Application.ComponentManagerTests.cs (23)
47Assert.False(manager.FRegisterComponent(component, &info, null)); 48Assert.False(manager.FRegisterComponent(component, null, &id)); 61Assert.False(manager.FRegisterComponent(component, &info, &id)); 95Assert.False(manager.FRevokeComponent(UIntPtr.Zero)); 98Assert.False(manager.FRevokeComponent(id)); 112Assert.False(manager.FUpdateComponentRegistration(id, null)); 125Assert.False(manager.FUpdateComponentRegistration(id, &info)); 134Assert.False(manager.FOnComponentActivate(default)); 141Assert.False(manager.FSetTrackingComponent(default, true)); 142Assert.False(manager.FSetTrackingComponent(default, false)); 161Assert.False(manager.FSetTrackingComponent(id, true)); 166Assert.False(manager.FSetTrackingComponent(id, false)); 205Assert.False(manager.FOnComponentExitState(default, default, default, default, null)); 238Assert.False(manager.FInState(0, null)); 258Assert.False(manager.FPushMessageLoop(default, default, null)); 267Assert.False(manager.FCreateSubComponentManager(default, default, null, null)); 271Assert.False(manager.FCreateSubComponentManager(default, default, null, &obj)); 281Assert.False(manager.FGetParentComponentManager(null)); 285Assert.False(manager.FGetParentComponentManager((IMsoComponentManager**)&obj)); 293Assert.False(manager.FGetActiveComponent(msogac.Active, null, null, 0)); 313Assert.False(manager.FGetActiveComponent(msogac.Active, null, null, 0)); 317Assert.False(manager.FGetActiveComponent(msogac.Tracking, null, &info, 0)); 336Assert.False(component.IsNull);
System\Windows\Forms\ApplicationContextTests.cs (2)
266Assert.False(mainForm.IsDisposed); 270Assert.False(mainForm.IsDisposed);
System\Windows\Forms\ApplicationTests.cs (6)
94Assert.False(Application.UseVisualStyles); 95Assert.False(Application.RenderWithVisualStyles); 164Assert.False(Application.IsDarkModeEnabled); 166Assert.False(SystemColors.UseAlternativeColorSet); 174Assert.False(Application.IsDarkModeEnabled ^ systemColorMode == SystemColorMode.Dark); 176Assert.False(SystemColors.UseAlternativeColorSet ^ systemColorMode == SystemColorMode.Dark);
System\Windows\Forms\AutoCompleteStringCollectionTests.cs (15)
15Assert.False(collection.IsReadOnly); 62Assert.False(collection.Contains("anotherValue")); 63Assert.False(collection.Contains(null)); 71Assert.False(collection.Contains("value")); 72Assert.False(collection.Contains(null)); 83Assert.False(collection.Contains("anotherValue")); 91Assert.False(collection.Contains("value")); 281Assert.False(enumerator.MoveNext()); 285Assert.False(enumerator.MoveNext()); 306Assert.False(enumerator.MoveNext()); 310Assert.False(enumerator.MoveNext()); 328Assert.False(enumerator.MoveNext()); 332Assert.False(enumerator.MoveNext()); 354Assert.False(enumerator.MoveNext()); 358Assert.False(enumerator.MoveNext());
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (57)
28Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 30Assert.False(control.IsHandleCreated); 44Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 46Assert.False(control.IsHandleCreated); 57Assert.False(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 60Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 62Assert.False(control.IsHandleCreated); 78Assert.False(control.IsHandleCreated); 89Assert.False(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 94Assert.False(control.IsHandleCreated); 105Assert.False(control.IsHandleCreated); 116Assert.False(control.IsHandleCreated); 127Assert.False(control.IsHandleCreated); 138Assert.False(control.IsHandleCreated); 149Assert.False(control.IsHandleCreated); 190Assert.False(control.IsHandleCreated); 201Assert.False(control.IsHandleCreated); 212Assert.False(control.IsHandleCreated); 223Assert.False(control.IsHandleCreated); 233Assert.False(property.IsReadOnly); 234Assert.False(control.IsHandleCreated); 245Assert.False(control.IsHandleCreated); 256Assert.False(control.IsHandleCreated); 266Assert.False(property.IsBrowsable); 267Assert.False(control.IsHandleCreated); 278Assert.False(control.IsHandleCreated); 289Assert.False(control.IsHandleCreated); 303Assert.False(control.IsHandleCreated); 313Assert.False(property.CanResetValue(control)); 314Assert.False(control.IsHandleCreated); 369Assert.False(control.IsHandleCreated); 383Assert.False(control.IsHandleCreated); 397Assert.False(control.IsHandleCreated); 506Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 508Assert.False(control.IsHandleCreated); 527Assert.False(control.IsHandleCreated); 546Assert.False(control.IsHandleCreated); 574Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 659Assert.False(control.IsHandleCreated); 707Assert.False(control.IsHandleCreated); 759Assert.False(control.IsHandleCreated); 771Assert.False(control.IsHandleCreated); 791Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 793Assert.False(control.IsHandleCreated); 810Assert.False(control.IsHandleCreated); 827Assert.False(control.IsHandleCreated); 856Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 992Assert.False(control.IsHandleCreated); 1036Assert.False(control.IsHandleCreated); 1088Assert.False(control.IsHandleCreated); 1138Assert.False(control.IsHandleCreated); 1186Assert.False(control.IsHandleCreated); 1237Assert.False(control.IsHandleCreated); 1291Assert.False(control.IsHandleCreated); 1344Assert.False(control.IsHandleCreated); 1354Assert.False(property.ShouldSerializeValue(control)); 1355Assert.False(control.IsHandleCreated);
System\Windows\Forms\AxHostTests.cs (115)
34Assert.False(control.AllowDrop); 36Assert.False(control.AutoSize); 44Assert.False(control.CanFocus); 46Assert.False(control.CanSelect); 47Assert.False(control.Capture); 53Assert.False(control.ContainsFocus); 57Assert.False(control.Created); 66Assert.False(control.DesignMode); 69Assert.False(control.DoubleBuffered); 70Assert.False(control.EditMode); 74Assert.False(control.Focused); 78Assert.False(control.HasAboutBox); 79Assert.False(control.HasChildren); 83Assert.False(control.IsAccessible); 84Assert.False(control.IsMirrored); 97Assert.False(control.RecreatingHandle); 99Assert.False(control.ResizeRedraw); 101Assert.False(control.RightToLeft); 112Assert.False(control.UseWaitCursor); 116Assert.False(control.IsHandleCreated); 128Assert.False(control.AllowDrop); 130Assert.False(control.AutoSize); 138Assert.False(control.CanFocus); 140Assert.False(control.CanSelect); 141Assert.False(control.Capture); 147Assert.False(control.ContainsFocus); 151Assert.False(control.Created); 160Assert.False(control.DesignMode); 163Assert.False(control.DoubleBuffered); 164Assert.False(control.EditMode); 168Assert.False(control.Focused); 172Assert.False(control.HasAboutBox); 173Assert.False(control.HasChildren); 177Assert.False(control.IsAccessible); 178Assert.False(control.IsMirrored); 191Assert.False(control.RecreatingHandle); 193Assert.False(control.ResizeRedraw); 195Assert.False(control.RightToLeft); 206Assert.False(control.UseWaitCursor); 210Assert.False(control.IsHandleCreated); 245Assert.False(control.IsHandleCreated); 285Assert.False(control.IsHandleCreated); 312Assert.False(control.IsHandleCreated); 317Assert.False(control.IsHandleCreated); 329Assert.False(control.IsHandleCreated); 334Assert.False(control.IsHandleCreated); 524Assert.False(control.IsHandleCreated); 530Assert.False(control.IsHandleCreated); 615Assert.False(control.IsHandleCreated); 623Assert.False(control.IsHandleCreated); 645Assert.False(control.IsHandleCreated); 651Assert.False(control.IsHandleCreated); 679Assert.False(control.IsHandleCreated); 685Assert.False(control.IsHandleCreated); 707Assert.False(control.IsHandleCreated); 715Assert.False(control.IsHandleCreated); 743Assert.False(control.IsHandleCreated); 749Assert.False(control.IsHandleCreated); 771Assert.False(control.IsHandleCreated); 777Assert.False(control.IsHandleCreated); 889Assert.False(control.IsHandleCreated); 894Assert.False(control.IsHandleCreated); 1273Assert.False(control.Created); 1325Assert.False(parent.IsHandleCreated); 1344Assert.False(control.Created); 1392Assert.False(control.Created); 1401Assert.False(control.Created); 1451Assert.False(iFont.Bold); 1452Assert.False(iFont.Italic); 1453Assert.False(iFont.Underline); 1454Assert.False(iFont.Strikethrough); 1526Assert.False(iFont.Bold); 1527Assert.False(iFont.Italic); 1528Assert.False(iFont.Underline); 1529Assert.False(iFont.Strikethrough); 1798Assert.False(control.IsHandleCreated); 1803Assert.False(control.IsHandleCreated); 1914Assert.False(control.IsHandleCreated); 1920Assert.False(control.IsHandleCreated); 1970Assert.False(control.IsHandleCreated); 1977Assert.False(control.IsHandleCreated); 2028Assert.False(control.IsHandleCreated); 2035Assert.False(control.IsHandleCreated); 2333Assert.False(control.IsHandleCreated); 2338Assert.False(control.IsHandleCreated); 2376Assert.False(control.IsHandleCreated); 2380Assert.False(control.IsHandleCreated); 2416Assert.False(control.IsHandleCreated); 2420Assert.False(control.IsHandleCreated); 2456Assert.False(control.IsHandleCreated); 2460Assert.False(control.IsHandleCreated); 2497Assert.False(control.IsHandleCreated); 2502Assert.False(control.IsHandleCreated); 2541Assert.False(control.IsHandleCreated); 2546Assert.False(control.IsHandleCreated); 2588Assert.False(control.IsHandleCreated); 2592Assert.False(control.IsHandleCreated); 2634Assert.False(control.IsHandleCreated); 2640Assert.False(control.IsHandleCreated); 2690Assert.False(control.IsHandleCreated); 2696Assert.False(control.IsHandleCreated); 2739Assert.False(control.IsHandleCreated); 2745Assert.False(control.IsHandleCreated); 2787Assert.False(control.IsHandleCreated); 2793Assert.False(control.IsHandleCreated); 2834Assert.False(control.IsHandleCreated); 2839Assert.False(control.IsHandleCreated); 2889Assert.False(control.IsHandleCreated); 2895Assert.False(control.IsHandleCreated); 2938Assert.False(control.IsHandleCreated); 2944Assert.False(control.IsHandleCreated); 2986Assert.False(control.IsHandleCreated); 2992Assert.False(control.IsHandleCreated); 3041Assert.False(control.IsHandleCreated); 3045Assert.False(control.IsHandleCreated);
System\Windows\Forms\BaseCollectionTests.cs (2)
15Assert.False(collection.IsReadOnly); 16Assert.False(collection.IsSynchronized);
System\Windows\Forms\BindingCompleteEventArgsTests.cs (1)
25Assert.False(e.Cancel);
System\Windows\Forms\BindingContextTests.cs (13)
18Assert.False(context.IsReadOnly); 26Assert.False(context.IsSynchronized); 233Assert.False(enumerator.MoveNext()); 366Assert.False(context.Contains(1)); 367Assert.False(context.Contains(1, null)); 368Assert.False(context.Contains(1, string.Empty)); 383Assert.False(context.Contains(dataSource1, "Property")); 388Assert.False(context.Contains(dataSource2, "NoSuchProperty")); 389Assert.False(context.Contains(1, "Property")); 786Assert.False(entry1.Key.Equals(entry3.Key)); 787Assert.False(entry1.Key.Equals(entry4.Key)); 789Assert.False(entry1.Key.Equals(new object())); 790Assert.False(entry1.Key.Equals(null));
System\Windows\Forms\BindingsCollectionTests.cs (1)
18Assert.False(collection.ShouldSerializeMyAll());
System\Windows\Forms\BindingSourceTests.cs (65)
33Assert.False(source.DesignMode); 38Assert.False(source.IsFixedSize); 39Assert.False(source.IsReadOnly); 40Assert.False(source.IsSorted); 41Assert.False(source.IsSynchronized); 50Assert.False(source.SupportsAdvancedSorting); 52Assert.False(source.SupportsFiltering); 53Assert.False(source.SupportsSearching); 54Assert.False(source.SupportsSorting); 92Assert.False(source.DesignMode); 97Assert.False(source.IsFixedSize); 98Assert.False(source.IsReadOnly); 99Assert.False(source.IsSorted); 100Assert.False(source.IsSynchronized); 109Assert.False(source.SupportsAdvancedSorting); 111Assert.False(source.SupportsFiltering); 112Assert.False(source.SupportsSearching); 113Assert.False(source.SupportsSorting); 141Assert.False(source.AllowNew); 157Assert.False(source.DesignMode); 163Assert.False(source.IsReadOnly); 164Assert.False(source.IsSorted); 165Assert.False(source.IsSynchronized); 173Assert.False(source.SupportsAdvancedSorting); 175Assert.False(source.SupportsFiltering); 176Assert.False(source.SupportsSearching); 177Assert.False(source.SupportsSorting); 236Assert.False(source.CurrencyManager.IsBindingSuspended); 243Assert.False(source.DesignMode); 247Assert.False(source.IsBindingSuspended); 250Assert.False(source.IsSorted); 259Assert.False(source.SupportsAdvancedSorting); 261Assert.False(source.SupportsFiltering); 262Assert.False(source.SupportsSearching); 263Assert.False(source.SupportsSorting); 306Assert.False(source.CurrencyManager.IsBindingSuspended); 313Assert.False(source.DesignMode); 317Assert.False(source.IsBindingSuspended); 320Assert.False(source.IsSorted); 331Assert.False(source.SupportsAdvancedSorting); 333Assert.False(source.SupportsFiltering); 334Assert.False(source.SupportsSearching); 335Assert.False(source.SupportsSorting); 405Assert.False(source.AllowEdit); 406Assert.False(source.AllowNew); 407Assert.False(source.AllowRemove); 422Assert.False(source.DesignMode); 427Assert.False(source.IsFixedSize); 428Assert.False(source.IsReadOnly); 430Assert.False(source.IsSynchronized); 496Assert.False(source.DesignMode); 501Assert.False(source.IsFixedSize); 502Assert.False(source.IsReadOnly); 503Assert.False(source.IsSorted); 504Assert.False(source.IsSynchronized); 513Assert.False(source.SupportsAdvancedSorting); 515Assert.False(source.SupportsFiltering); 516Assert.False(source.SupportsSearching); 517Assert.False(source.SupportsSorting); 541Assert.False(source.IsInitialized); 615Assert.False(source.IsInitialized); 621Assert.False(source.IsInitialized); 651Assert.False(source.IsInitialized); 691Assert.False(source.IsInitialized); 697Assert.False(source.IsInitialized);
System\Windows\Forms\BindingTests.cs (9)
35Assert.False(binding.FormattingEnabled); 36Assert.False(binding.IsBinding); 65Assert.False(binding.IsBinding); 94Assert.False(binding.IsBinding); 123Assert.False(binding.IsBinding); 152Assert.False(binding.IsBinding); 181Assert.False(binding.IsBinding); 400Assert.False(eventArgs.Cancel); 576Assert.False(e.Cancel);
System\Windows\Forms\ButtonBaseTests.cs (340)
25Assert.False(control.AllowDrop); 27Assert.False(control.AutoEllipsis); 28Assert.False(control.AutoSize); 35Assert.False(control.CanEnableIme); 36Assert.False(control.CanFocus); 39Assert.False(control.Capture); 44Assert.False(control.ContainsFocus); 48Assert.False(control.Created); 57Assert.False(control.DesignMode); 67Assert.False(control.Focused); 71Assert.False(control.HasChildren); 80Assert.False(control.IsAccessible); 81Assert.False(control.IsDefault); 82Assert.False(control.IsMirrored); 99Assert.False(control.RecreatingHandle); 118Assert.False(control.UseWaitCursor); 122Assert.False(control.IsHandleCreated); 142Assert.False(control.IsHandleCreated); 175Assert.False(control.IsHandleCreated); 245Assert.False(control.IsHandleCreated); 257Assert.False(control.IsHandleCreated); 262Assert.False(control.IsHandleCreated); 267Assert.False(control.IsHandleCreated); 318Assert.False(control.AutoEllipsis); 320Assert.False(control.IsHandleCreated); 325Assert.False(control.AutoEllipsis); 327Assert.False(control.IsHandleCreated); 332Assert.False(control.AutoEllipsis); 334Assert.False(control.IsHandleCreated); 352Assert.False(control.IsHandleCreated); 359Assert.False(control.IsHandleCreated); 364Assert.False(control.AutoEllipsis); 366Assert.False(control.IsHandleCreated); 386Assert.False(control.AutoEllipsis); 396Assert.False(control.AutoEllipsis); 406Assert.False(control.AutoEllipsis); 455Assert.False(control.AutoEllipsis); 481Assert.False(control.AutoSize); 486Assert.False(control.AutoSize); 497Assert.False(control.AutoSize); 510Assert.False(control.UseVisualStyleBackColor); 515Assert.False(control.UseVisualStyleBackColor); 528Assert.False(control.UseVisualStyleBackColor); 529Assert.False(control.IsHandleCreated); 534Assert.False(control.UseVisualStyleBackColor); 535Assert.False(control.IsHandleCreated); 574Assert.False(control.UseVisualStyleBackColor); 575Assert.False(control.IsHandleCreated); 580Assert.False(control.UseVisualStyleBackColor); 581Assert.False(control.IsHandleCreated); 621Assert.False(control.IsHandleCreated); 627Assert.False(control.IsHandleCreated); 683Assert.False(control.IsHandleCreated); 689Assert.False(control.IsHandleCreated); 799Assert.False(button.Enabled); 834Assert.False(control.IsHandleCreated); 839Assert.False(control.IsHandleCreated); 844Assert.False(control.IsHandleCreated); 872Assert.False(control.IsHandleCreated); 877Assert.False(control.IsHandleCreated); 882Assert.False(control.IsHandleCreated); 1008Assert.False(control.Enabled); 1013Assert.False(control.Enabled); 1067Assert.False(control.IsHandleCreated); 1075Assert.False(control.IsHandleCreated); 1109Assert.False(control.IsHandleCreated); 1117Assert.False(control.IsHandleCreated); 1164Assert.False(control.IsHandleCreated); 1165Assert.False(parent.IsHandleCreated); 1174Assert.False(control.IsHandleCreated); 1175Assert.False(parent.IsHandleCreated); 1407Assert.False(control.IsHandleCreated); 1413Assert.False(control.IsHandleCreated); 1429Assert.False(control.IsHandleCreated); 1437Assert.False(control.IsHandleCreated); 1453Assert.False(control.IsHandleCreated); 1461Assert.False(control.IsHandleCreated); 1479Assert.False(control.IsHandleCreated); 1488Assert.False(control.IsHandleCreated); 1521Assert.False(control.IsHandleCreated); 1527Assert.False(control.IsHandleCreated); 1575Assert.False(control.IsHandleCreated); 1576Assert.False(parent.IsHandleCreated); 1583Assert.False(control.IsHandleCreated); 1584Assert.False(parent.IsHandleCreated); 1778Assert.False(property.CanResetValue(control)); 1784Assert.False(control.IsHandleCreated); 1788Assert.False(property.CanResetValue(control)); 1789Assert.False(control.IsHandleCreated); 1797Assert.False(property.CanResetValue(control)); 1813Assert.False(property.CanResetValue(control)); 1825Assert.False(property.ShouldSerializeValue(control)); 1834Assert.False(property.ShouldSerializeValue(control)); 1862Assert.False(control.IsHandleCreated); 1868Assert.False(control.IsHandleCreated); 1910Assert.False(control.IsHandleCreated); 1911Assert.False(parent.IsHandleCreated); 1918Assert.False(control.IsHandleCreated); 1919Assert.False(parent.IsHandleCreated); 2065Assert.False(control.IsHandleCreated); 2071Assert.False(control.IsHandleCreated); 2088Assert.False(control.IsHandleCreated); 2095Assert.False(control.IsHandleCreated); 2111Assert.False(control.IsHandleCreated); 2117Assert.False(control.IsHandleCreated); 2135Assert.False(control.IsHandleCreated); 2141Assert.False(control.IsHandleCreated); 2164Assert.False(control.IsHandleCreated); 2170Assert.False(control.IsHandleCreated); 2224Assert.False(control.IsHandleCreated); 2230Assert.False(control.IsHandleCreated); 2246Assert.False(control.IsHandleCreated); 2262Assert.False(control.IsHandleCreated); 2268Assert.False(control.IsHandleCreated); 2284Assert.False(control.IsHandleCreated); 2290Assert.False(control.IsHandleCreated); 2315Assert.False(control.IsHandleCreated); 2321Assert.False(control.IsHandleCreated); 2373Assert.False(control.IsHandleCreated); 2379Assert.False(control.IsHandleCreated); 2395Assert.False(control.IsHandleCreated); 2402Assert.False(control.IsHandleCreated); 2418Assert.False(control.IsHandleCreated); 2424Assert.False(control.IsHandleCreated); 2511Assert.False(imageList.HandleCreated); 2512Assert.False(control.IsHandleCreated); 2528Assert.False(control.IsHandleCreated); 2534Assert.False(control.IsHandleCreated); 2593Assert.False(control.IsHandleCreated); 2600Assert.False(control.IsHandleCreated); 2656Assert.False(control.IsHandleCreated); 2661Assert.False(control.IsHandleCreated); 2726Assert.False(control.IsHandleCreated); 2731Assert.False(control.IsHandleCreated); 2736Assert.False(control.IsHandleCreated); 2819Assert.False(control.IsHandleCreated); 2824Assert.False(control.IsHandleCreated); 2853Assert.False(control.IsHandleCreated); 2858Assert.False(control.IsHandleCreated); 2877Assert.False(control.IsHandleCreated); 2883Assert.False(control.IsHandleCreated); 2896Assert.False(control.IsHandleCreated); 2902Assert.False(control.IsHandleCreated); 3055Assert.False(control.IsHandleCreated); 3061Assert.False(control.IsHandleCreated); 3100Assert.False(control.IsHandleCreated); 3101Assert.False(parent.IsHandleCreated); 3108Assert.False(control.IsHandleCreated); 3109Assert.False(parent.IsHandleCreated); 3289Assert.False(control.IsHandleCreated); 3295Assert.False(control.IsHandleCreated); 3341Assert.False(control.IsHandleCreated); 3342Assert.False(parent.IsHandleCreated); 3349Assert.False(control.IsHandleCreated); 3350Assert.False(parent.IsHandleCreated); 3521Assert.False(control.IsHandleCreated); 3527Assert.False(control.IsHandleCreated); 3574Assert.False(control.IsHandleCreated); 3575Assert.False(parent.IsHandleCreated); 3582Assert.False(control.IsHandleCreated); 3583Assert.False(parent.IsHandleCreated); 3739Assert.False(control.IsHandleCreated); 3744Assert.False(control.IsHandleCreated); 3749Assert.False(control.IsHandleCreated); 3784Assert.False(control.IsHandleCreated); 3791Assert.False(control.IsHandleCreated); 3798Assert.False(control.IsHandleCreated); 3942Assert.False(control.IsHandleCreated); 3948Assert.False(control.IsHandleCreated); 3954Assert.False(control.IsHandleCreated); 3994Assert.False(control.IsHandleCreated); 3995Assert.False(parent.IsHandleCreated); 4002Assert.False(control.IsHandleCreated); 4003Assert.False(parent.IsHandleCreated); 4010Assert.False(control.IsHandleCreated); 4011Assert.False(parent.IsHandleCreated); 4161Assert.False(control.IsHandleCreated); 4166Assert.False(control.IsHandleCreated); 4171Assert.False(control.IsHandleCreated); 4185Assert.False(control.IsHandleCreated); 4190Assert.False(control.IsHandleCreated); 4195Assert.False(control.IsHandleCreated); 4282Assert.False(property.CanResetValue(control)); 4285Assert.False(control.UseVisualStyleBackColor); 4287Assert.False(control.IsHandleCreated); 4291Assert.False(property.CanResetValue(control)); 4292Assert.False(control.IsHandleCreated); 4300Assert.False(property.CanResetValue(control)); 4303Assert.False(control.UseVisualStyleBackColor); 4315Assert.False(property.CanResetValue(control)); 4327Assert.False(property.ShouldSerializeValue(control)); 4330Assert.False(control.UseVisualStyleBackColor); 4335Assert.False(property.ShouldSerializeValue(control)); 4361Assert.False(control.IsHandleCreated); 4366Assert.False(control.IsHandleCreated); 4371Assert.False(control.IsHandleCreated); 4399Assert.False(control.IsHandleCreated); 4404Assert.False(control.IsHandleCreated); 4409Assert.False(control.IsHandleCreated); 4535Assert.False(control.Visible); 4540Assert.False(control.Visible); 4564Assert.False(control.IsHandleCreated); 4579Assert.False(control.Disposing); 4583Assert.False(control.IsHandleCreated); 4590Assert.False(control.Disposing); 4594Assert.False(control.IsHandleCreated); 4616Assert.False(control.IsHandleCreated); 4631Assert.False(control.Disposing); 4635Assert.False(control.IsHandleCreated); 4642Assert.False(control.Disposing); 4646Assert.False(control.IsHandleCreated); 4671Assert.False(control.IsHandleCreated); 4686Assert.False(control.Disposing); 4690Assert.False(control.IsHandleCreated); 4697Assert.False(control.Disposing); 4701Assert.False(control.IsHandleCreated); 4719Assert.False(control.IsHandleCreated); 4734Assert.False(control.Disposing); 4738Assert.False(control.IsHandleCreated); 4745Assert.False(control.Disposing); 4749Assert.False(control.IsHandleCreated); 4771Assert.False(control.IsHandleCreated); 4786Assert.False(control.Disposing); 4790Assert.False(control.IsHandleCreated); 4797Assert.False(control.Disposing); 4801Assert.False(control.IsHandleCreated); 4826Assert.False(control.IsHandleCreated); 4841Assert.False(control.Disposing); 4845Assert.False(control.IsHandleCreated); 4852Assert.False(control.Disposing); 4856Assert.False(control.IsHandleCreated); 4878Assert.False(control.IsDisposed); 4879Assert.False(control.Disposing); 4882Assert.False(control.IsHandleCreated); 4889Assert.False(control.IsDisposed); 4890Assert.False(control.Disposing); 4893Assert.False(control.IsHandleCreated); 4919Assert.False(control.IsDisposed); 4920Assert.False(control.Disposing); 4923Assert.False(control.IsHandleCreated); 4930Assert.False(control.IsDisposed); 4931Assert.False(control.Disposing); 4934Assert.False(control.IsHandleCreated); 4963Assert.False(control.IsDisposed); 4964Assert.False(control.Disposing); 4967Assert.False(control.IsHandleCreated); 4974Assert.False(control.IsDisposed); 4975Assert.False(control.Disposing); 4978Assert.False(control.IsHandleCreated); 5019Assert.False(control.IsHandleCreated); 5023Assert.False(control.IsHandleCreated); 5094Assert.False(control.GetTopLevel()); 5134Assert.False(control.IsHandleCreated); 5140Assert.False(control.IsHandleCreated); 5179Assert.False(control.IsHandleCreated); 5185Assert.False(control.IsHandleCreated); 5322Assert.False(control.IsHandleCreated); 5328Assert.False(control.IsHandleCreated); 5387Assert.False(control.IsHandleCreated); 5393Assert.False(control.IsHandleCreated); 5440Assert.False(control.IsHandleCreated); 5446Assert.False(control.IsHandleCreated); 5558Assert.False(control.IsHandleCreated); 5565Assert.False(control.IsHandleCreated); 5779Assert.False(eventArgs?.Handled ?? false); 5780Assert.False(control.IsHandleCreated); 5786Assert.False(eventArgs?.Handled ?? false); 5787Assert.False(control.IsHandleCreated); 5877Assert.False(eventArgs?.Handled ?? false); 5888Assert.False(eventArgs?.Handled ?? false); 6038Assert.False(control.Capture); 6039Assert.False(control.IsHandleCreated); 6045Assert.False(control.Capture); 6046Assert.False(control.IsHandleCreated); 6073Assert.False(control.Capture); 6083Assert.False(control.Capture); 6130Assert.False(control.IsHandleCreated); 6136Assert.False(control.IsHandleCreated); 6249Assert.False(control.IsHandleCreated); 6255Assert.False(control.IsHandleCreated); 6295Assert.False(control.IsHandleCreated); 6301Assert.False(control.IsHandleCreated); 6545Assert.False(control.IsHandleCreated); 6551Assert.False(control.IsHandleCreated); 6576Assert.False(control.IsHandleCreated); 6582Assert.False(control.IsHandleCreated); 6608Assert.False(control.IsHandleCreated); 6614Assert.False(control.IsHandleCreated); 6865Assert.False(control.IsHandleCreated); 6873Assert.False(control.IsHandleCreated); 6963Assert.False(control.IsHandleCreated); 6969Assert.False(control.IsHandleCreated); 7008Assert.False(control.IsHandleCreated); 7014Assert.False(control.IsHandleCreated); 7166Assert.False(control.IsHandleCreated); 7173Assert.False(control.IsHandleCreated); 7223Assert.False(control.IsHandleCreated); 7224Assert.False(parent.IsHandleCreated); 7231Assert.False(control.IsHandleCreated); 7232Assert.False(parent.IsHandleCreated); 7393Assert.False(control.IsHandleCreated); 7399Assert.False(control.IsHandleCreated); 7438Assert.False(control.IsHandleCreated); 7444Assert.False(control.IsHandleCreated); 7569Assert.False(control.IsHandleCreated); 7573Assert.False(control.IsHandleCreated); 7622Assert.False(control.IsHandleCreated); 7628Assert.False(control.IsHandleCreated); 7653Assert.False(control.IsHandleCreated); 7659Assert.False(control.IsHandleCreated); 7685Assert.False(control.IsHandleCreated); 7691Assert.False(control.IsHandleCreated); 7947Assert.False(control.IsHandleCreated); 7953Assert.False(control.IsHandleCreated); 7983Assert.False(control.IsHandleCreated); 7989Assert.False(control.IsHandleCreated); 8020Assert.False(control.IsHandleCreated); 8026Assert.False(control.IsHandleCreated); 8308Assert.False(control.IsHandleCreated); 8341Assert.False(control.IsHandleCreated); 8452Assert.False(control.IsHandleCreated); 8458Assert.False(control.IsHandleCreated); 8488Assert.False(control.IsHandleCreated); 8494Assert.False(control.IsHandleCreated); 8525Assert.False(control.IsHandleCreated); 8531Assert.False(control.IsHandleCreated); 8898Assert.False(control.Capture); 8899Assert.False(control.Focused); 8934Assert.False(control.Capture); 8935Assert.False(control.Focused); 8963Assert.False(control.Capture); 8964Assert.False(control.Focused); 9004Assert.False(control.Capture); 9005Assert.False(control.Focused); 9048Assert.False(control.Capture); 9049Assert.False(control.Focused); 9085Assert.False(control.Capture); 9086Assert.False(control.Focused); 9143Assert.False(control.IsHandleCreated); 9212Assert.False(control.IsHandleCreated);
System\Windows\Forms\ButtonTests.cs (132)
26Assert.False(control.AllowDrop); 28Assert.False(control.AutoEllipsis); 29Assert.False(control.AutoSize); 37Assert.False(control.CanEnableIme); 38Assert.False(control.CanFocus); 41Assert.False(control.Capture); 46Assert.False(control.ContainsFocus); 50Assert.False(control.Created); 59Assert.False(control.DesignMode); 70Assert.False(control.Focused); 74Assert.False(control.HasChildren); 83Assert.False(control.IsAccessible); 84Assert.False(control.IsDefault); 85Assert.False(control.IsMirrored); 97Assert.False(control.RecreatingHandle); 116Assert.False(control.UseWaitCursor); 120Assert.False(control.IsHandleCreated); 140Assert.False(control.IsHandleCreated); 164Assert.False(control.IsHandleCreated); 197Assert.False(control.IsHandleCreated); 267Assert.False(control.IsHandleCreated); 281Assert.False(control.IsHandleCreated); 288Assert.False(control.IsHandleCreated); 320Assert.False(control.IsHandleCreated); 322Assert.False(parent.IsHandleCreated); 329Assert.False(control.IsHandleCreated); 331Assert.False(parent.IsHandleCreated); 368Assert.False(control.IsHandleCreated); 370Assert.False(parent.IsHandleCreated); 377Assert.False(control.IsHandleCreated); 379Assert.False(parent.IsHandleCreated); 621Assert.False(control.IsHandleCreated); 626Assert.False(control.IsHandleCreated); 676Assert.False(control.IsHandleCreated); 682Assert.False(control.IsHandleCreated); 771Assert.False(control.IsHandleCreated); 777Assert.False(control.IsHandleCreated); 816Assert.False(control.IsHandleCreated); 817Assert.False(parent.IsHandleCreated); 824Assert.False(control.IsHandleCreated); 825Assert.False(parent.IsHandleCreated); 1004Assert.False(control.IsHandleCreated); 1012Assert.False(control.IsHandleCreated); 1102Assert.False(control.IsHandleCreated); 1110Assert.False(control.IsHandleCreated); 1155Assert.False(control.IsHandleCreated); 1206Assert.False(control.IsHandleCreated); 1211Assert.False(control.IsHandleCreated); 1256Assert.False(control.IsHandleCreated); 1261Assert.False(control.IsHandleCreated); 1307Assert.False(control.IsHandleCreated); 1312Assert.False(control.IsHandleCreated); 1342Assert.False(control.IsHandleCreated); 1347Assert.False(control.IsHandleCreated); 1366Assert.False(control.IsHandleCreated); 1371Assert.False(control.IsHandleCreated); 1444Assert.False(control.IsHandleCreated); 1449Assert.False(control.IsHandleCreated); 1523Assert.False(control.IsHandleCreated); 1528Assert.False(control.IsHandleCreated); 1603Assert.False(control.IsHandleCreated); 1608Assert.False(control.IsHandleCreated); 1638Assert.False(control.IsHandleCreated); 1643Assert.False(control.IsHandleCreated); 1662Assert.False(control.IsHandleCreated); 1667Assert.False(control.IsHandleCreated); 1686Assert.False(control.IsHandleCreated); 1691Assert.False(control.IsHandleCreated); 1710Assert.False(control.IsHandleCreated); 1715Assert.False(control.IsHandleCreated); 1734Assert.False(control.IsHandleCreated); 1739Assert.False(control.IsHandleCreated); 1758Assert.False(control.IsHandleCreated); 1763Assert.False(control.IsHandleCreated); 1800Assert.False(control.GetTopLevel()); 1823Assert.False(control.IsHandleCreated); 1828Assert.False(control.IsHandleCreated); 1833Assert.False(control.IsHandleCreated); 1897Assert.False(control.IsHandleCreated); 1901Assert.False(control.IsHandleCreated); 1921Assert.False(control.IsHandleCreated); 1927Assert.False(control.IsHandleCreated); 1958Assert.False(control.IsHandleCreated); 1959Assert.False(parent.IsHandleCreated); 1960Assert.False(form.IsHandleCreated); 1968Assert.False(control.IsHandleCreated); 1969Assert.False(parent.IsHandleCreated); 1970Assert.False(form.IsHandleCreated); 2050Assert.False(parent.IsHandleCreated); 2051Assert.False(form.IsHandleCreated); 2062Assert.False(parent.IsHandleCreated); 2063Assert.False(form.IsHandleCreated); 2107Assert.False(control.IsHandleCreated); 2113Assert.False(control.IsHandleCreated); 2133Assert.False(control.IsHandleCreated); 2139Assert.False(control.IsHandleCreated); 2186Assert.False(control.IsHandleCreated); 2192Assert.False(control.IsHandleCreated); 2282Assert.False(control.IsHandleCreated); 2288Assert.False(control.IsHandleCreated); 2393Assert.False(control.IsHandleCreated); 2399Assert.False(control.IsHandleCreated); 2438Assert.False(control.IsHandleCreated); 2444Assert.False(control.IsHandleCreated); 2680Assert.False(control.IsHandleCreated); 2688Assert.False(control.IsHandleCreated); 2900Assert.False(control.IsHandleCreated); 2907Assert.False(control.IsHandleCreated); 2957Assert.False(control.IsHandleCreated); 2958Assert.False(parent.IsHandleCreated); 2965Assert.False(control.IsHandleCreated); 2966Assert.False(parent.IsHandleCreated); 3106Assert.False(control.IsHandleCreated); 3112Assert.False(control.IsHandleCreated); 3141Assert.False(control.IsHandleCreated); 3142Assert.False(parent.IsHandleCreated); 3143Assert.False(form.IsHandleCreated); 3150Assert.False(control.IsHandleCreated); 3151Assert.False(parent.IsHandleCreated); 3152Assert.False(form.IsHandleCreated); 3230Assert.False(parent.IsHandleCreated); 3231Assert.False(form.IsHandleCreated); 3242Assert.False(parent.IsHandleCreated); 3243Assert.False(form.IsHandleCreated); 3278Assert.False(control.IsHandleCreated); 3306Assert.False(control.ProcessMnemonic(charCode)); 3308Assert.False(control.IsHandleCreated); 3322Assert.False(button.IsHandleCreated); 3347Assert.False(button.IsHandleCreated); 3391Assert.False(control.IsHandleCreated); 3436Assert.False(control.IsHandleCreated); 3621Assert.False(control.IsHandleCreated);
System\Windows\Forms\CheckBoxTests.cs (31)
24Assert.False(control.AllowDrop); 28Assert.False(control.AutoEllipsis); 29Assert.False(control.AutoSize); 36Assert.False(control.CanEnableIme); 37Assert.False(control.CanFocus); 40Assert.False(control.Capture); 43Assert.False(control.Checked); 48Assert.False(control.ContainsFocus); 52Assert.False(control.Created); 61Assert.False(control.DesignMode); 71Assert.False(control.Focused); 75Assert.False(control.HasChildren); 84Assert.False(control.IsAccessible); 85Assert.False(control.IsDefault); 86Assert.False(control.IsMirrored); 99Assert.False(control.RecreatingHandle); 113Assert.False(control.ThreeState); 119Assert.False(control.UseWaitCursor); 123Assert.False(control.IsHandleCreated); 143Assert.False(control.IsHandleCreated); 155Assert.False(control.IsHandleCreated); 160Assert.False(control.IsHandleCreated); 192Assert.False(control.IsHandleCreated); 197Assert.False(control.IsHandleCreated); 274Assert.False(control.IsHandleCreated); 279Assert.False(control.IsHandleCreated); 429Assert.False(control.IsHandleCreated); 434Assert.False(control.IsHandleCreated); 528Assert.False(control.GetTopLevel()); 535Assert.False(checkBox.IsHandleCreated); 545Assert.False(checkBox.IsHandleCreated);
System\Windows\Forms\ColorDialogTests.cs (19)
16Assert.False(dialog.AnyColor); 22Assert.False(dialog.DesignMode); 27Assert.False(dialog.FullOpen); 29Assert.False(dialog.ShowHelp); 30Assert.False(dialog.SolidColorOnly); 40Assert.False(dialog.AnyColor); 46Assert.False(dialog.DesignMode); 49Assert.False(dialog.FullOpen); 53Assert.False(dialog.ShowHelp); 54Assert.False(dialog.SolidColorOnly); 148Assert.False(property.CanResetValue(dialog)); 156Assert.False(property.CanResetValue(dialog)); 164Assert.False(property.ShouldSerializeValue(dialog)); 172Assert.False(property.ShouldSerializeValue(dialog)); 337Assert.False(dialog.AnyColor); 343Assert.False(dialog.DesignMode); 346Assert.False(dialog.FullOpen); 350Assert.False(dialog.ShowHelp); 351Assert.False(dialog.SolidColorOnly);
System\Windows\Forms\ColumnHeaderCollectionTests.cs (14)
31Assert.False(collection.IsFixedSize); 32Assert.False(collection.IsReadOnly); 544Assert.False(collection.Contains(new ColumnHeader())); 545Assert.False(collection.Contains(null)); 554Assert.False(collection.Contains(new ColumnHeader())); 555Assert.False(collection.Contains(null)); 587Assert.False(collection.ContainsKey("text")); 588Assert.False(collection.ContainsKey(null)); 600Assert.False(collection.Contains(new ColumnHeader())); 601Assert.False(collection.Contains(new object())); 602Assert.False(collection.Contains(null)); 611Assert.False(collection.Contains(new ColumnHeader())); 612Assert.False(collection.Contains(new object())); 613Assert.False(collection.Contains(null));
System\Windows\Forms\ColumnHeaderConverterTests.cs (2)
168Assert.False(converter.GetStandardValuesExclusive(null)); 175Assert.False(converter.GetStandardValuesSupported(null));
System\Windows\Forms\ColumnHeaderTests.cs (40)
18Assert.False(header.DesignMode); 44Assert.False(header.DesignMode); 68Assert.False(header.DesignMode); 142Assert.False(listView.IsHandleCreated); 149Assert.False(listView.IsHandleCreated); 241Assert.False(property.ShouldSerializeValue(item)); 245Assert.False(property.ShouldSerializeValue(item)); 262Assert.False(property.CanResetValue(item)); 266Assert.False(property.CanResetValue(item)); 271Assert.False(property.CanResetValue(item)); 275Assert.False(property.CanResetValue(item)); 330Assert.False(listView.IsHandleCreated); 336Assert.False(listView.IsHandleCreated); 356Assert.False(listView.IsHandleCreated); 362Assert.False(listView.IsHandleCreated); 387Assert.False(listView.IsHandleCreated); 393Assert.False(listView.IsHandleCreated); 549Assert.False(listView.IsHandleCreated); 555Assert.False(listView.IsHandleCreated); 573Assert.False(listView.IsHandleCreated); 579Assert.False(listView.IsHandleCreated); 606Assert.False(listView.IsHandleCreated); 612Assert.False(listView.IsHandleCreated); 798Assert.False(listView.IsHandleCreated); 803Assert.False(listView.IsHandleCreated); 860Assert.False(property.CanResetValue(header)); 865Assert.False(property.CanResetValue(header)); 870Assert.False(property.CanResetValue(header)); 875Assert.False(property.CanResetValue(header)); 879Assert.False(property.CanResetValue(header)); 887Assert.False(property.ShouldSerializeValue(header)); 892Assert.False(property.ShouldSerializeValue(header)); 897Assert.False(property.ShouldSerializeValue(header)); 1056Assert.False(property.CanResetValue(header)); 1083Assert.False(property.ShouldSerializeValue(header)); 1137Assert.False(listView.IsHandleCreated); 1142Assert.False(listView.IsHandleCreated); 1307Assert.False(listView.IsHandleCreated); 1312Assert.False(listView.IsHandleCreated); 1551Assert.False(header.DesignMode);
System\Windows\Forms\ColumnReorderedEventArgsTests.cs (1)
24Assert.False(e.Cancel);
System\Windows\Forms\ColumnStyleTests.cs (2)
83Assert.False(control.IsHandleCreated); 89Assert.False(control.IsHandleCreated);
System\Windows\Forms\ColumnWidthChangingEventArgsTests.cs (1)
30Assert.False(e.Cancel);
System\Windows\Forms\ComboBox.ComboBoxChildDropDownButtonUiaProviderTests.cs (1)
100Assert.False(comboBox.IsHandleCreated);
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (39)
22Assert.False(comboBox.IsHandleCreated); 27Assert.False(comboBox.IsHandleCreated); 48Assert.False(provider.IsMultiline); 49Assert.False(comboBox.IsHandleCreated); 64Assert.False(provider.IsReadOnly); 65Assert.False(comboBox.IsHandleCreated); 94Assert.False(provider.IsScrollable); 95Assert.False(comboBox.IsHandleCreated); 111Assert.False(comboBox.IsHandleCreated); 144Assert.False(provider.IsReadingRTL); 145Assert.False(comboBox.IsHandleCreated); 195Assert.False(comboBox.IsHandleCreated); 213Assert.False(uiaTextRange.IsNull); 233Assert.False(comboBox.IsHandleCreated); 249Assert.False(comboBox.IsHandleCreated); 315Assert.False(comboBox.IsHandleCreated); 376Assert.False(comboBox.IsHandleCreated); 394Assert.False(string.IsNullOrEmpty(actual.FaceName.ToString())); 416Assert.False(comboBox.IsHandleCreated); 471Assert.False(comboBox.IsHandleCreated); 548Assert.False(comboBox.IsHandleCreated); 598Assert.False(comboBox.IsHandleCreated); 651Assert.False(comboBox.IsHandleCreated); 683Assert.False(comboBox.IsHandleCreated); 715Assert.False(comboBox.IsHandleCreated); 751Assert.False(comboBox.IsHandleCreated); 830Assert.False(comboBox.IsHandleCreated); 856Assert.False(result.IsEmpty); 876Assert.False(comboBox.IsHandleCreated); 919Assert.False(range.IsNull); 937Assert.False(comboBox.IsHandleCreated); 961Assert.False(selection.IsNull); 985Assert.False(comboBox.IsHandleCreated); 992Assert.False(comboBox.IsHandleCreated); 1019Assert.False(selection.IsEmpty); 1047Assert.False(provider.LineScroll(0, newLine)); 1067Assert.False(provider.LineScroll(0, newLine)); 1069Assert.False(comboBox.IsHandleCreated); 1100Assert.False(comboBox.IsHandleCreated);
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (14)
484Assert.False(comboBoxObjectCollection.Contains("c")); 488Assert.False(comboBoxObjectCollection.Contains(new Entry("a"))); 512Assert.False(comboBoxObjectCollection.Contains(person3)); 516Assert.False(comboBoxObjectCollection.Contains(new Entry(person3))); 1396Assert.False(enumerator.MoveNext()); 1400Assert.False(enumerator.MoveNext()); 1434Assert.False(enumerator.MoveNext()); 1438Assert.False(enumerator.MoveNext()); 1457Assert.False(comboBox.IsAccessibilityObjectCreated); 1458Assert.False(comboBox.IsHandleCreated); 1470Assert.False(comboBox.IsAccessibilityObjectCreated); 1471Assert.False(comboBox.IsHandleCreated); 1483Assert.False(comboBox.IsAccessibilityObjectCreated); 1484Assert.False(comboBox.IsHandleCreated);
System\Windows\Forms\ComboBoxTests.cs (59)
26Assert.False(control.AllowDrop); 33Assert.False(control.AutoSize); 41Assert.False(control.CanFocus); 44Assert.False(control.Capture); 49Assert.False(control.ContainsFocus); 53Assert.False(control.Created); 64Assert.False(control.DesignMode); 68Assert.False(control.DoubleBuffered); 73Assert.False(control.DroppedDown); 78Assert.False(control.Focused); 84Assert.False(control.FormattingEnabled); 85Assert.False(control.HasChildren); 91Assert.False(control.IsAccessible); 92Assert.False(control.IsMirrored); 109Assert.False(control.RecreatingHandle); 111Assert.False(control.ResizeRedraw); 121Assert.False(control.Sorted); 127Assert.False(control.UseWaitCursor); 132Assert.False(control.IsHandleCreated); 152Assert.False(control.IsHandleCreated); 178Assert.False(control.IsHandleCreated); 183Assert.False(control.IsHandleCreated); 281Assert.False(property.CanResetValue(control)); 289Assert.False(property.CanResetValue(control)); 297Assert.False(property.ShouldSerializeValue(control)); 305Assert.False(property.ShouldSerializeValue(control)); 506Assert.False(control.IsHandleCreated); 511Assert.False(control.IsHandleCreated); 565Assert.False(control.IsHandleCreated); 570Assert.False(control.IsHandleCreated); 640Assert.False(control.IsHandleCreated); 647Assert.False(control.IsHandleCreated); 829Assert.False(control.IsHandleCreated); 834Assert.False(control.IsHandleCreated); 863Assert.False(control.IsHandleCreated); 870Assert.False(control.IsHandleCreated); 994Assert.False(control.IsHandleCreated); 1000Assert.False(control.IsHandleCreated); 1063Assert.False(control.IsHandleCreated); 1068Assert.False(control.IsHandleCreated); 1149Assert.False(property.CanResetValue(control)); 1157Assert.False(property.CanResetValue(control)); 1165Assert.False(property.ShouldSerializeValue(control)); 1173Assert.False(property.ShouldSerializeValue(control)); 1185Assert.False(control.IsHandleCreated); 1190Assert.False(control.IsHandleCreated); 1268Assert.False(control.IsHandleCreated); 1273Assert.False(control.IsHandleCreated); 1422Assert.False(control.IsHandleCreated); 1486Assert.False(control.GetTopLevel()); 2156Assert.False(comboBox.IsHandleCreated); 2166Assert.False(control.IsHandleCreated); 2182Assert.False(comboBox.IsAccessibilityObjectCreated); 2224Assert.False(comboBox.IsAccessibilityObjectCreated); 2274Assert.False(comboBox.IsHandleCreated); 2289Assert.False(comboBox.IsAccessibilityObjectCreated); 2329Assert.False(comboBox.IsAccessibilityObjectCreated); 2365Assert.False(comboBox.IsAccessibilityObjectCreated); 2380Assert.False(comboBox.IsAccessibilityObjectCreated);
System\Windows\Forms\CommonDialogTests.cs (1)
19Assert.False(dialog.DesignMode);
System\Windows\Forms\ComponentModel\Com2Interop\COM2PictureConverterTests.cs (4)
131Assert.False(cancelSet); 143Assert.False(cancelSet); 164Assert.False(cancelSet); 185Assert.False(cancelSet);
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (9)
52Assert.False(handleProperty.IsLocalizable); 59Assert.False(handleProperty.CanResetValue(iPictureDisp)); 60Assert.False(handleProperty.ShouldSerializeValue(iPictureDisp)); 70Assert.False(typeProperty.IsLocalizable); 133Assert.False(urlProperty.IsReadOnly); 135Assert.False(urlProperty.IsLocalizable); 141Assert.False(urlProperty.CanResetValue(mediaPlayer)); 142Assert.False(urlProperty.ShouldSerializeValue(mediaPlayer)); 228Assert.False(visible.Visible);
System\Windows\Forms\ContainerControlTests.cs (58)
24Assert.False(control.AllowDrop); 26Assert.False(control.AutoScroll); 33Assert.False(control.AutoSize); 42Assert.False(control.CanEnableIme); 43Assert.False(control.CanFocus); 46Assert.False(control.Capture); 51Assert.False(control.ContainsFocus); 55Assert.False(control.Created); 65Assert.False(control.DesignMode); 74Assert.False(control.DoubleBuffered); 78Assert.False(control.Focused); 82Assert.False(control.HasChildren); 86Assert.False(control.HScroll); 89Assert.False(control.IsAccessible); 90Assert.False(control.IsMirrored); 102Assert.False(control.RecreatingHandle); 104Assert.False(control.ResizeRedraw); 116Assert.False(control.UseWaitCursor); 120Assert.False(control.VScroll); 123Assert.False(control.IsHandleCreated); 143Assert.False(control.IsHandleCreated); 188Assert.False(control.IsHandleCreated); 193Assert.False(control.IsHandleCreated); 229Assert.False(control.IsHandleCreated); 234Assert.False(control.IsHandleCreated); 258Assert.False(control.IsHandleCreated); 265Assert.False(control.IsHandleCreated); 293Assert.False(control.IsHandleCreated); 298Assert.False(control.IsHandleCreated); 332Assert.False(control.AutoSize); 353Assert.False(control.IsHandleCreated); 358Assert.False(control.IsHandleCreated); 363Assert.False(control.IsHandleCreated); 414Assert.False(control.IsHandleCreated); 420Assert.False(control.IsHandleCreated); 436Assert.False(control.IsHandleCreated); 443Assert.False(control.IsHandleCreated); 544Assert.False(control.GetTopLevel()); 657Assert.False(control.Created); 658Assert.False(control.IsHandleCreated); 662Assert.False(control.Created); 663Assert.False(control.IsHandleCreated); 839Assert.False(e.Cancel); 854Assert.False(e.Cancel); 863Assert.False(e.Cancel); 877Assert.False(e.Cancel); 891Assert.False(e.Cancel); 913Assert.False(e.Cancel); 927Assert.False(e.Cancel); 941Assert.False(e.Cancel); 1065Assert.False(e.Cancel); 1080Assert.False(e.Cancel); 1089Assert.False(e.Cancel); 1103Assert.False(e.Cancel); 1117Assert.False(e.Cancel); 1139Assert.False(e.Cancel); 1153Assert.False(e.Cancel); 1167Assert.False(e.Cancel);
System\Windows\Forms\ControlBindingsCollectionTests.cs (1)
131Assert.False(binding.FormattingEnabled);
System\Windows\Forms\ControlPaintTests.cs (7)
37Assert.False(hBitmap.IsNull); 62Assert.False(hBitmap.IsNull); 108Assert.False(hBitmap.IsNull); 140Assert.False(hBitmap.IsNull); 173Assert.False(hBitmap.IsNull); 216Assert.False(hBitmap.IsNull); 241Assert.False(hBitmap.IsNull);
System\Windows\Forms\ControlTests.ControlCollection.cs (164)
21Assert.False(collection.IsReadOnly); 62Assert.False(owner.IsHandleCreated); 63Assert.False(control1.IsHandleCreated); 76Assert.False(owner.IsHandleCreated); 77Assert.False(control1.IsHandleCreated); 78Assert.False(control2.IsHandleCreated); 91Assert.False(owner.IsHandleCreated); 92Assert.False(control1.IsHandleCreated); 93Assert.False(control2.IsHandleCreated); 138Assert.False(owner.IsHandleCreated); 139Assert.False(control1.IsHandleCreated); 152Assert.False(owner.IsHandleCreated); 153Assert.False(control1.IsHandleCreated); 154Assert.False(control2.IsHandleCreated); 168Assert.False(owner.IsHandleCreated); 169Assert.False(control1.IsHandleCreated); 170Assert.False(control2.IsHandleCreated); 212Assert.False(owner2.IsHandleCreated); 213Assert.False(control.IsHandleCreated); 254Assert.False(owner.IsHandleCreated); 255Assert.False(control.IsHandleCreated); 266Assert.False(owner.IsHandleCreated); 267Assert.False(control.IsHandleCreated); 380Assert.False(owner.IsHandleCreated); 756Assert.False(control.Enabled); 758Assert.False(control.Visible); 915Assert.False(control.Enabled); 917Assert.False(control.Visible); 992Assert.False(control.Enabled); 994Assert.False(control.Visible); 1072Assert.False(control.Enabled); 1074Assert.False(control.Visible); 1236Assert.False(owner.IsHandleCreated); 1237Assert.False(child1.IsHandleCreated); 1238Assert.False(child2.IsHandleCreated); 1239Assert.False(child3.IsHandleCreated); 1250Assert.False(owner.IsHandleCreated); 1251Assert.False(child1.IsHandleCreated); 1252Assert.False(child2.IsHandleCreated); 1253Assert.False(child3.IsHandleCreated); 1263Assert.False(owner.IsHandleCreated); 1264Assert.False(child1.IsHandleCreated); 1265Assert.False(child2.IsHandleCreated); 1266Assert.False(child3.IsHandleCreated); 1313Assert.False(owner.IsHandleCreated); 1314Assert.False(child1.IsHandleCreated); 1315Assert.False(child2.IsHandleCreated); 1316Assert.False(child3.IsHandleCreated); 1326Assert.False(owner.IsHandleCreated); 1327Assert.False(child1.IsHandleCreated); 1328Assert.False(child2.IsHandleCreated); 1329Assert.False(child3.IsHandleCreated); 1358Assert.False(collection.IsReadOnly); 1364Assert.False(owner.IsHandleCreated); 1365Assert.False(child1.IsHandleCreated); 1366Assert.False(child2.IsHandleCreated); 1367Assert.False(child3.IsHandleCreated); 1387Assert.False(collection.Contains(new Control())); 1388Assert.False(collection.Contains(null)); 1595Assert.False(enumerator.MoveNext()); 1599Assert.False(enumerator.MoveNext()); 1634Assert.False(enumerator.MoveNext()); 1638Assert.False(enumerator.MoveNext()); 1657Assert.False(enumerator.MoveNext()); 1661Assert.False(enumerator.MoveNext()); 1693Assert.False(enumerator.MoveNext()); 1697Assert.False(enumerator.MoveNext()); 1730Assert.False(enumerator.MoveNext()); 1734Assert.False(enumerator.MoveNext()); 1942Assert.False(owner.IsHandleCreated); 1943Assert.False(child1.IsHandleCreated); 1944Assert.False(child2.IsHandleCreated); 1952Assert.False(owner.IsHandleCreated); 1953Assert.False(child1.IsHandleCreated); 1954Assert.False(child2.IsHandleCreated); 1962Assert.False(owner.IsHandleCreated); 1963Assert.False(child1.IsHandleCreated); 1964Assert.False(child2.IsHandleCreated); 2007Assert.False(owner.IsHandleCreated); 2008Assert.False(child1.IsHandleCreated); 2009Assert.False(child2.IsHandleCreated); 2018Assert.False(owner.IsHandleCreated); 2019Assert.False(child1.IsHandleCreated); 2020Assert.False(child2.IsHandleCreated); 2029Assert.False(owner.IsHandleCreated); 2030Assert.False(child1.IsHandleCreated); 2031Assert.False(child2.IsHandleCreated); 2076Assert.False(owner.IsHandleCreated); 2081Assert.False(child2.IsHandleCreated); 2089Assert.False(owner.IsHandleCreated); 2094Assert.False(child2.IsHandleCreated); 2102Assert.False(owner.IsHandleCreated); 2107Assert.False(child2.IsHandleCreated); 2349Assert.False(control.Enabled); 2351Assert.False(control.Visible); 2493Assert.False(control.Enabled); 2495Assert.False(control.Visible); 2625Assert.False(control.Enabled); 2627Assert.False(control.Visible); 2689Assert.False(control.Enabled); 2691Assert.False(control.Visible); 2876Assert.False(owner.IsHandleCreated); 2877Assert.False(child1.IsHandleCreated); 2878Assert.False(child2.IsHandleCreated); 2887Assert.False(owner.IsHandleCreated); 2888Assert.False(child1.IsHandleCreated); 2889Assert.False(child2.IsHandleCreated); 2971Assert.False(owner.IsHandleCreated); 2972Assert.False(child1.IsHandleCreated); 2973Assert.False(child2.IsHandleCreated); 2974Assert.False(child3.IsHandleCreated); 2984Assert.False(owner.IsHandleCreated); 2985Assert.False(child1.IsHandleCreated); 2986Assert.False(child2.IsHandleCreated); 2987Assert.False(child3.IsHandleCreated); 3066Assert.False(owner.IsHandleCreated); 3067Assert.False(child1.IsHandleCreated); 3068Assert.False(child2.IsHandleCreated); 3069Assert.False(child3.IsHandleCreated); 3076Assert.False(owner.IsHandleCreated); 3077Assert.False(child1.IsHandleCreated); 3078Assert.False(child2.IsHandleCreated); 3079Assert.False(child3.IsHandleCreated); 3086Assert.False(owner.IsHandleCreated); 3087Assert.False(child1.IsHandleCreated); 3088Assert.False(child2.IsHandleCreated); 3089Assert.False(child3.IsHandleCreated); 3134Assert.False(owner.IsHandleCreated); 3135Assert.False(child1.IsHandleCreated); 3136Assert.False(child2.IsHandleCreated); 3137Assert.False(child3.IsHandleCreated); 3144Assert.False(owner.IsHandleCreated); 3145Assert.False(child1.IsHandleCreated); 3146Assert.False(child2.IsHandleCreated); 3147Assert.False(child3.IsHandleCreated); 3194Assert.False(owner.IsHandleCreated); 3199Assert.False(child2.IsHandleCreated); 3200Assert.False(child3.IsHandleCreated); 3207Assert.False(owner.IsHandleCreated); 3212Assert.False(child2.IsHandleCreated); 3213Assert.False(child3.IsHandleCreated); 3220Assert.False(owner.IsHandleCreated); 3225Assert.False(child2.IsHandleCreated); 3226Assert.False(child3.IsHandleCreated); 3372Assert.False(child1.IsHandleCreated); 3385Assert.False(child1.IsHandleCreated); 3398Assert.False(child1.IsHandleCreated); 3461Assert.False(owner.IsHandleCreated); 3462Assert.False(control1.IsHandleCreated); 3476Assert.False(owner.IsHandleCreated); 3477Assert.False(control1.IsHandleCreated); 3478Assert.False(control2.IsHandleCreated); 3492Assert.False(owner.IsHandleCreated); 3493Assert.False(control1.IsHandleCreated); 3494Assert.False(control2.IsHandleCreated); 3543Assert.False(owner.IsHandleCreated); 3544Assert.False(child1.IsHandleCreated); 3545Assert.False(child2.IsHandleCreated); 3553Assert.False(owner.IsHandleCreated); 3554Assert.False(child1.IsHandleCreated); 3555Assert.False(child2.IsHandleCreated); 3563Assert.False(owner.IsHandleCreated); 3564Assert.False(child1.IsHandleCreated); 3565Assert.False(child2.IsHandleCreated);
System\Windows\Forms\ControlTests.cs (87)
21Assert.False(control.AllowDrop); 23Assert.False(control.AutoSize); 31Assert.False(control.CanFocus); 34Assert.False(control.Capture); 39Assert.False(control.ContainsFocus); 43Assert.False(control.Created); 52Assert.False(control.DesignMode); 55Assert.False(control.DoubleBuffered); 59Assert.False(control.Focused); 63Assert.False(control.HasChildren); 67Assert.False(control.IsAccessible); 68Assert.False(control.IsMirrored); 80Assert.False(control.RecreatingHandle); 82Assert.False(control.ResizeRedraw); 94Assert.False(control.UseWaitCursor); 98Assert.False(control.IsHandleCreated); 110Assert.False(control.AllowDrop); 112Assert.False(control.AutoSize); 120Assert.False(control.CanFocus); 123Assert.False(control.Capture); 128Assert.False(control.ContainsFocus); 132Assert.False(control.Created); 141Assert.False(control.DesignMode); 144Assert.False(control.DoubleBuffered); 148Assert.False(control.Focused); 152Assert.False(control.HasChildren); 156Assert.False(control.IsAccessible); 157Assert.False(control.IsMirrored); 169Assert.False(control.RecreatingHandle); 171Assert.False(control.ResizeRedraw); 183Assert.False(control.UseWaitCursor); 187Assert.False(control.IsHandleCreated); 206Assert.False(control.AllowDrop); 208Assert.False(control.AutoSize); 216Assert.False(control.CanFocus); 219Assert.False(control.Capture); 224Assert.False(control.ContainsFocus); 228Assert.False(control.Created); 237Assert.False(control.DesignMode); 240Assert.False(control.DoubleBuffered); 244Assert.False(control.Focused); 248Assert.False(control.HasChildren); 252Assert.False(control.IsAccessible); 253Assert.False(control.IsMirrored); 265Assert.False(control.RecreatingHandle); 267Assert.False(control.ResizeRedraw); 279Assert.False(control.UseWaitCursor); 283Assert.False(control.IsHandleCreated); 302Assert.False(control.AllowDrop); 304Assert.False(control.AutoSize); 312Assert.False(control.CanFocus); 315Assert.False(control.Capture); 320Assert.False(control.ContainsFocus); 324Assert.False(control.Created); 333Assert.False(control.DesignMode); 336Assert.False(control.DoubleBuffered); 340Assert.False(control.Focused); 344Assert.False(control.HasChildren); 348Assert.False(control.IsAccessible); 349Assert.False(control.IsMirrored); 361Assert.False(control.RecreatingHandle); 363Assert.False(control.ResizeRedraw); 375Assert.False(control.UseWaitCursor); 379Assert.False(control.IsHandleCreated); 398Assert.False(control.AllowDrop); 400Assert.False(control.AutoSize); 408Assert.False(control.CanFocus); 411Assert.False(control.Capture); 416Assert.False(control.ContainsFocus); 420Assert.False(control.Created); 429Assert.False(control.DesignMode); 432Assert.False(control.DoubleBuffered); 436Assert.False(control.Focused); 440Assert.False(control.HasChildren); 444Assert.False(control.IsAccessible); 445Assert.False(control.IsMirrored); 457Assert.False(control.RecreatingHandle); 459Assert.False(control.ResizeRedraw); 471Assert.False(control.UseWaitCursor); 475Assert.False(control.IsHandleCreated); 515Assert.False(control.IsHandleCreated); 539Assert.False(control.IsHandleCreated); 565Assert.False(control.IsHandleCreated); 590Assert.False(control.IsHandleCreated); 665Assert.False(control.IsHandleCreated); 691Assert.False(control.IsHandleCreated); 717Assert.False(control.IsHandleCreated);
System\Windows\Forms\ControlTests.Handlers.cs (105)
54Assert.False(control.IsHandleCreated); 60Assert.False(control.IsHandleCreated); 244Assert.False(control.IsHandleCreated); 250Assert.False(control.IsHandleCreated); 447Assert.False(control.IsHandleCreated); 453Assert.False(control.IsHandleCreated); 857Assert.False(control.IsHandleCreated); 867Assert.False(control.IsHandleCreated); 1069Assert.False(control.Created); 1070Assert.False(control.IsHandleCreated); 1073Assert.False(control.Created); 1074Assert.False(control.IsHandleCreated); 1471Assert.False(control.GetStyle(ControlStyles.UserPaint)); 1640Assert.False(control.IsHandleCreated); 1647Assert.False(control.IsHandleCreated); 1671Assert.False(control.IsHandleCreated); 1678Assert.False(control.IsHandleCreated); 1876Assert.False(control.IsHandleCreated); 1882Assert.False(control.IsHandleCreated); 2101Assert.False(control.IsHandleCreated); 2107Assert.False(control.IsHandleCreated); 2127Assert.False(control.Created); 2128Assert.False(control.IsHandleCreated); 2134Assert.False(control.Created); 2135Assert.False(control.IsHandleCreated); 2319Assert.False(control.Created); 2320Assert.False(control.IsHandleCreated); 2326Assert.False(control.Created); 2327Assert.False(control.IsHandleCreated); 2359Assert.False(control.Created); 2360Assert.False(control.IsHandleCreated); 2367Assert.False(control.Created); 2368Assert.False(control.IsHandleCreated); 2402Assert.False(control.Created); 2403Assert.False(control.IsHandleCreated); 2410Assert.False(control.Created); 2411Assert.False(control.IsHandleCreated); 2435Assert.False(control.Created); 2436Assert.False(control.IsHandleCreated); 2443Assert.False(control.Created); 2444Assert.False(control.IsHandleCreated); 2671Assert.False(eventArgs.Handled); 2698Assert.False(eventArgs.Handled); 2707Assert.False(eventArgs.Handled); 2757Assert.False(control.IsHandleCreated); 2763Assert.False(control.IsHandleCreated); 2823Assert.False(control.IsHandleCreated); 2824Assert.False(child1.IsHandleCreated); 2825Assert.False(child2.IsHandleCreated); 2831Assert.False(control.IsHandleCreated); 2832Assert.False(child1.IsHandleCreated); 2833Assert.False(child2.IsHandleCreated); 3007Assert.False(control.IsHandleCreated); 3013Assert.False(control.IsHandleCreated); 3033Assert.False(control.IsHandleCreated); 3039Assert.False(control.IsHandleCreated); 3059Assert.False(control.IsHandleCreated); 3065Assert.False(control.IsHandleCreated); 3381Assert.False(control.IsHandleCreated); 3387Assert.False(control.IsHandleCreated); 3407Assert.False(control.IsHandleCreated); 3413Assert.False(control.IsHandleCreated); 3433Assert.False(control.IsHandleCreated); 3439Assert.False(control.IsHandleCreated); 3459Assert.False(control.IsHandleCreated); 3465Assert.False(control.IsHandleCreated); 3485Assert.False(control.IsHandleCreated); 3491Assert.False(control.IsHandleCreated); 3511Assert.False(control.IsHandleCreated); 3517Assert.False(control.IsHandleCreated); 3537Assert.False(control.IsHandleCreated); 3543Assert.False(control.IsHandleCreated); 3563Assert.False(control.IsHandleCreated); 3569Assert.False(control.IsHandleCreated); 3589Assert.False(control.IsHandleCreated); 3595Assert.False(control.IsHandleCreated); 3615Assert.False(control.IsHandleCreated); 3621Assert.False(control.IsHandleCreated); 3634Assert.False(eventArgs.Handled); 3641Assert.False(eventArgs.Handled); 3642Assert.False(control.IsHandleCreated); 3753Assert.False(control.IsHandleCreated); 3759Assert.False(control.IsHandleCreated); 3875Assert.False(control.IsHandleCreated); 3881Assert.False(control.IsHandleCreated); 4011Assert.False(control.IsHandleCreated); 4019Assert.False(control.IsHandleCreated); 4660Assert.False(control.IsHandleCreated); 4665Assert.False(control.IsHandleCreated); 4859Assert.False(control.IsHandleCreated); 4866Assert.False(control.IsHandleCreated); 4947Assert.False(control.IsHandleCreated); 4954Assert.False(control.IsHandleCreated); 5145Assert.False(control.IsHandleCreated); 5151Assert.False(control.IsHandleCreated); 5308Assert.False(control.IsHandleCreated); 5314Assert.False(control.IsHandleCreated); 5394Assert.False(control.IsHandleCreated); 5395Assert.False(child1.IsHandleCreated); 5396Assert.False(child2.IsHandleCreated); 5404Assert.False(control.IsHandleCreated); 5405Assert.False(child1.IsHandleCreated); 5406Assert.False(child2.IsHandleCreated); 5565Assert.False(control.IsHandleCreated); 5571Assert.False(control.IsHandleCreated);
System\Windows\Forms\ControlTests.Internals.cs (6)
19Assert.False(control.IsHandleCreated); 124Assert.False(control.TabStopInternal); 129Assert.False(control.TabStopInternal); 140Assert.False(control.TabStopInternal); 245Assert.False(control.CanProcessMnemonic()); 257Assert.False(control.CanProcessMnemonic());
System\Windows\Forms\ControlTests.Methods.ClipboardTests.cs (1)
37Assert.False(control.IsHandleCreated);
System\Windows\Forms\ControlTests.Methods.cs (451)
41Assert.False(control.IsHandleCreated); 45Assert.False(control.IsHandleCreated); 88Assert.False(control.IsHandleCreated); 92Assert.False(control.IsHandleCreated); 157Assert.False(child1.IsHandleCreated); 158Assert.False(child2.IsHandleCreated); 159Assert.False(parent.IsHandleCreated); 166Assert.False(child1.IsHandleCreated); 167Assert.False(child2.IsHandleCreated); 168Assert.False(parent.IsHandleCreated); 210Assert.False(child2.IsHandleCreated); 211Assert.False(parent.IsHandleCreated); 222Assert.False(child2.IsHandleCreated); 223Assert.False(parent.IsHandleCreated); 329Assert.False(child1.IsHandleCreated); 341Assert.False(child1.IsHandleCreated); 439Assert.False(control.GetStyle(ControlStyles.UserPaint)); 509Assert.False(parent.Created); 510Assert.False(parent.IsHandleCreated); 532Assert.False(control.Created); 533Assert.False(control.IsHandleCreated); 569Assert.False(control.IsHandleCreated); 614Assert.False(controls.IsReadOnly); 696Assert.False(parent.Created); 697Assert.False(parent.IsHandleCreated); 806Assert.False(parent.Contains(parent)); 811Assert.False(control.Contains(control)); 812Assert.False(control.Contains(parent)); 814Assert.False(control.Contains(emptyControl)); 815Assert.False(control.Contains(otherParent)); 816Assert.False(control.Contains(otherControl)); 817Assert.False(control.Contains(null)); 830Assert.False(control.Created); 831Assert.False(control.IsHandleCreated); 852Assert.False(control.IsHandleCreated); 878Assert.False(control.Created); 879Assert.False(control.IsHandleCreated); 905Assert.False(control.Created); 906Assert.False(control.IsHandleCreated); 922Assert.False(control.Created); 923Assert.False(control.IsHandleCreated); 949Assert.False(control.Created); 950Assert.False(control.IsHandleCreated); 954Assert.False(control.Created); 955Assert.False(control.IsHandleCreated); 966Assert.False(control.Created); 967Assert.False(control.IsHandleCreated); 980Assert.False(control.IsHandleCreated); 995Assert.False(control.Disposing); 997Assert.False(control.IsHandleCreated); 1005Assert.False(control.Disposing); 1007Assert.False(control.IsHandleCreated); 1031Assert.False(control.IsHandleCreated); 1046Assert.False(control.Disposing); 1049Assert.False(control.IsHandleCreated); 1057Assert.False(control.Disposing); 1060Assert.False(control.IsHandleCreated); 1085Assert.False(control.IsHandleCreated); 1106Assert.False(control.Disposing); 1108Assert.False(child1.Disposing); 1110Assert.False(child2.Disposing); 1115Assert.False(control.IsHandleCreated); 1116Assert.False(child1.IsHandleCreated); 1117Assert.False(child2.IsHandleCreated); 1127Assert.False(control.Disposing); 1129Assert.False(child1.Disposing); 1131Assert.False(child2.Disposing); 1136Assert.False(control.IsHandleCreated); 1137Assert.False(child1.IsHandleCreated); 1138Assert.False(child2.IsHandleCreated); 1158Assert.False(control.IsHandleCreated); 1173Assert.False(control.Disposing); 1175Assert.False(control.IsHandleCreated); 1183Assert.False(control.Disposing); 1185Assert.False(control.IsHandleCreated); 1213Assert.False(control.IsHandleCreated); 1228Assert.False(control.Disposing); 1230Assert.False(control.IsHandleCreated); 1242Assert.False(control.Disposing); 1244Assert.False(control.IsHandleCreated); 1282Assert.False(control.IsHandleCreated); 1297Assert.False(control.Disposing); 1299Assert.False(control.IsHandleCreated); 1307Assert.False(control.Disposing); 1309Assert.False(control.IsHandleCreated); 1331Assert.False(control.IsDisposed); 1332Assert.False(control.Disposing); 1334Assert.False(control.IsHandleCreated); 1341Assert.False(control.IsDisposed); 1342Assert.False(control.Disposing); 1344Assert.False(control.IsHandleCreated); 1368Assert.False(control.IsHandleCreated); 1383Assert.False(control.Disposing); 1386Assert.False(control.IsHandleCreated); 1394Assert.False(control.Disposing); 1397Assert.False(control.IsHandleCreated); 1426Assert.False(control.Disposing); 1427Assert.False(control.IsDisposed); 1429Assert.False(control.IsHandleCreated); 1437Assert.False(control.Disposing); 1438Assert.False(control.IsDisposed); 1440Assert.False(control.IsHandleCreated); 1465Assert.False(control.IsHandleCreated); 1486Assert.False(control.Disposing); 1488Assert.False(child1.Disposing); 1490Assert.False(child2.Disposing); 1495Assert.False(control.IsHandleCreated); 1496Assert.False(child1.IsHandleCreated); 1497Assert.False(child2.IsHandleCreated); 1507Assert.False(control.Disposing); 1509Assert.False(child1.Disposing); 1511Assert.False(child2.Disposing); 1516Assert.False(control.IsHandleCreated); 1517Assert.False(child1.IsHandleCreated); 1518Assert.False(child2.IsHandleCreated); 1554Assert.False(control.Disposing); 1555Assert.False(control.IsDisposed); 1556Assert.False(child1.Disposing); 1557Assert.False(child1.IsDisposed); 1558Assert.False(child2.Disposing); 1559Assert.False(child2.IsDisposed); 1563Assert.False(control.IsHandleCreated); 1564Assert.False(child1.IsHandleCreated); 1565Assert.False(child2.IsHandleCreated); 1575Assert.False(control.Disposing); 1576Assert.False(control.IsDisposed); 1577Assert.False(child1.Disposing); 1578Assert.False(child1.IsDisposed); 1579Assert.False(child2.Disposing); 1580Assert.False(child2.IsDisposed); 1584Assert.False(control.IsHandleCreated); 1585Assert.False(child1.IsHandleCreated); 1586Assert.False(child2.IsHandleCreated); 1606Assert.False(control.IsHandleCreated); 1621Assert.False(control.Disposing); 1623Assert.False(control.IsHandleCreated); 1631Assert.False(control.Disposing); 1633Assert.False(control.IsHandleCreated); 1658Assert.False(control.IsDisposed); 1659Assert.False(control.Disposing); 1661Assert.False(control.IsHandleCreated); 1668Assert.False(control.IsDisposed); 1669Assert.False(control.Disposing); 1671Assert.False(control.IsHandleCreated); 1699Assert.False(control.IsHandleCreated); 1714Assert.False(control.Disposing); 1716Assert.False(control.IsHandleCreated); 1728Assert.False(control.Disposing); 1730Assert.False(control.IsHandleCreated); 1766Assert.False(control.IsDisposed); 1767Assert.False(control.Disposing); 1769Assert.False(control.IsHandleCreated); 1780Assert.False(control.IsDisposed); 1781Assert.False(control.Disposing); 1783Assert.False(control.IsHandleCreated); 2061Assert.False(control.Focus()); 2062Assert.False(control.Focused); 2063Assert.False(control.IsHandleCreated); 2329Assert.False(control.IsHandleCreated); 2333Assert.False(control.IsHandleCreated); 2345Assert.False(control.IsHandleCreated); 2349Assert.False(control.IsHandleCreated); 2385Assert.False(control.IsHandleCreated); 2389Assert.False(control.IsHandleCreated); 2433Assert.False(control.IsHandleCreated); 2437Assert.False(control.IsHandleCreated); 2479Assert.False(control.IsHandleCreated); 2483Assert.False(control.IsHandleCreated); 2505Assert.False(control.IsHandleCreated); 2509Assert.False(control.IsHandleCreated); 2557Assert.False(control.IsHandleCreated); 2562Assert.False(control.IsHandleCreated); 2630Assert.False(control.IsHandleCreated); 2636Assert.False(control.IsHandleCreated); 2697Assert.False(control.IsHandleCreated); 2701Assert.False(control.IsHandleCreated); 2747Assert.False(control.IsHandleCreated); 2751Assert.False(control.IsHandleCreated); 2798Assert.False(control.IsHandleCreated); 2802Assert.False(control.IsHandleCreated); 2814Assert.False(control.IsHandleCreated); 2818Assert.False(control.IsHandleCreated); 2855Assert.False(control.GetTopLevel()); 2858Assert.False(control.GetTopLevel()); 2869Assert.False(control.Visible); 2873Assert.False(control.Visible); 2893Assert.False(control.Visible); 2898Assert.False(control.Visible); 2905Assert.False(control.Visible); 2914Assert.False(control.IsHandleCreated); 2918Assert.False(control.IsHandleCreated); 2933Assert.False(control.IsHandleCreated); 2938Assert.False(control.IsHandleCreated); 2978Assert.False(control.IsHandleCreated); 2982Assert.False(control.IsHandleCreated); 3090Assert.False(control.IsHandleCreated); 3094Assert.False(control.IsHandleCreated); 3218Assert.False(control.IsHandleCreated); 3222Assert.False(control.IsHandleCreated); 3356Assert.False(control.IsHandleCreated); 3360Assert.False(control.IsHandleCreated); 3495Assert.False(control.IsHandleCreated); 3499Assert.False(control.IsHandleCreated); 3635Assert.False(control.IsHandleCreated); 3639Assert.False(control.IsHandleCreated); 4450Assert.False(control.IsHandleCreated); 4515Assert.False(control.IsHandleCreated); 4521Assert.False(control.IsHandleCreated); 4581Assert.False(control.IsHandleCreated); 4582Assert.False(child1.IsHandleCreated); 4583Assert.False(child2.IsHandleCreated); 4589Assert.False(control.IsHandleCreated); 4590Assert.False(child1.IsHandleCreated); 4591Assert.False(child2.IsHandleCreated); 4742Assert.False(control.IsHandleCreated); 4747Assert.False(control.IsHandleCreated); 4772Assert.False(control.IsHandleCreated); 4778Assert.False(control.IsHandleCreated); 4803Assert.False(control.IsHandleCreated); 4804Assert.False(parent.IsHandleCreated); 4810Assert.False(control.IsHandleCreated); 4811Assert.False(parent.IsHandleCreated); 4853Assert.False(control.IsHandleCreated); 4854Assert.False(parent.IsHandleCreated); 4861Assert.False(control.IsHandleCreated); 4862Assert.False(parent.IsHandleCreated); 4995Assert.False(control.IsHandleCreated); 5000Assert.False(control.IsHandleCreated); 5026Assert.False(control.IsHandleCreated); 5032Assert.False(control.IsHandleCreated); 5058Assert.False(control.IsHandleCreated); 5059Assert.False(parent.IsHandleCreated); 5065Assert.False(control.IsHandleCreated); 5066Assert.False(parent.IsHandleCreated); 5118Assert.False(control.IsHandleCreated); 5119Assert.False(parent.IsHandleCreated); 5126Assert.False(control.IsHandleCreated); 5127Assert.False(parent.IsHandleCreated); 5322Assert.False(control.PreProcessMessage(ref msg)); 5340Assert.False(control.PreProcessMessage(ref msg)); 5460Assert.False(control.IsHandleCreated); 5499Assert.False(control.ProcessCmdKey(ref m, keyData)); 5500Assert.False(control.IsHandleCreated); 5513Assert.False(control.ProcessCmdKey(ref msg, keyData)); 5514Assert.False(control.IsHandleCreated); 5544Assert.False(control.IsHandleCreated); 5552Assert.False(control.ProcessDialogChar(charCode)); 5553Assert.False(control.IsHandleCreated); 5565Assert.False(control.ProcessDialogChar(charCode)); 5566Assert.False(control.IsHandleCreated); 5592Assert.False(control.IsHandleCreated); 5600Assert.False(control.ProcessDialogKey(keyData)); 5601Assert.False(control.IsHandleCreated); 5613Assert.False(control.ProcessDialogKey(keyData)); 5614Assert.False(control.IsHandleCreated); 5640Assert.False(control.IsHandleCreated); 5701Assert.False(control.IsHandleCreated); 5748Assert.False(control.IsHandleCreated); 5806Assert.False(control.IsHandleCreated); 5835Assert.False(control.IsHandleCreated); 5840Assert.False(control.IsHandleCreated); 5841Assert.False(control.ProcessKeyEventArgs(ref charM)); 5843Assert.False(control.IsHandleCreated); 5846Assert.False(control.IsHandleCreated); 5851Assert.False(control.IsHandleCreated); 5854Assert.False(control.IsHandleCreated); 5855Assert.False(control.ProcessKeyEventArgs(ref charM)); 5857Assert.False(control.IsHandleCreated); 5858Assert.False(control.ProcessKeyEventArgs(ref charM)); 5860Assert.False(control.IsHandleCreated); 5863Assert.False(control.IsHandleCreated); 5904Assert.False(control.IsHandleCreated); 5910Assert.False(control.IsHandleCreated); 5914Assert.False(control.IsHandleCreated); 5918Assert.False(control.IsHandleCreated); 5924Assert.False(control.IsHandleCreated); 5928Assert.False(control.IsHandleCreated); 5932Assert.False(control.IsHandleCreated); 5936Assert.False(control.IsHandleCreated); 5940Assert.False(control.IsHandleCreated); 5992Assert.False(control.IsHandleCreated); 6039Assert.False(control.IsHandleCreated); 6097Assert.False(control.IsHandleCreated); 6126Assert.False(control.IsHandleCreated); 6151Assert.False(control.IsHandleCreated); 6193Assert.False(control.IsHandleCreated); 6201Assert.False(control.ProcessKeyPreview(ref m)); 6213Assert.False(control.ProcessKeyPreview(ref m)); 6214Assert.False(control.IsHandleCreated); 6243Assert.False(control.IsHandleCreated); 6252Assert.False(control.ProcessMnemonic(charCode)); 6253Assert.False(control.IsHandleCreated); 6283Assert.False(control.IsHandleCreated); 6287Assert.False(control.IsHandleCreated); 6295Assert.False(control.IsHandleCreated); 6299Assert.False(control.IsHandleCreated); 6336Assert.False(control.IsHandleCreated); 6340Assert.False(control.IsHandleCreated); 6464Assert.False(control.IsHandleCreated); 6468Assert.False(control.IsHandleCreated); 6566Assert.False(control.IsHandleCreated); 6571Assert.False(control.IsHandleCreated); 6596Assert.False(control.IsHandleCreated); 6601Assert.False(control.IsHandleCreated); 6616Assert.False(control.IsHandleCreated); 6621Assert.False(control.IsHandleCreated); 6646Assert.False(control.IsHandleCreated); 6651Assert.False(control.IsHandleCreated); 6677Assert.False(control.IsHandleCreated); 6682Assert.False(control.IsHandleCreated); 6699Assert.False(control.IsHandleCreated); 6704Assert.False(control.IsHandleCreated); 6728Assert.False(control.IsHandleCreated); 6734Assert.False(control.IsHandleCreated); 6747Assert.False(control.IsHandleCreated); 6752Assert.False(control.IsHandleCreated); 6774Assert.False(control.IsHandleCreated); 6780Assert.False(control.IsHandleCreated); 6833Assert.False(control.IsHandleCreated); 6837Assert.False(control.IsHandleCreated); 6849Assert.False(control.IsHandleCreated); 6853Assert.False(control.IsHandleCreated); 6865Assert.False(control.IsHandleCreated); 6869Assert.False(control.IsHandleCreated); 6900Assert.False(control.IsHandleCreated); 6904Assert.False(control.IsHandleCreated); 6928Assert.False(control.IsHandleCreated); 6932Assert.False(control.IsHandleCreated); 6957Assert.False(control.IsHandleCreated); 6961Assert.False(control.IsHandleCreated); 7011Assert.False(child1.IsHandleCreated); 7012Assert.False(child2.IsHandleCreated); 7013Assert.False(parent.IsHandleCreated); 7020Assert.False(child1.IsHandleCreated); 7021Assert.False(child2.IsHandleCreated); 7022Assert.False(parent.IsHandleCreated); 7064Assert.False(child2.IsHandleCreated); 7065Assert.False(parent.IsHandleCreated); 7076Assert.False(child2.IsHandleCreated); 7077Assert.False(parent.IsHandleCreated); 7183Assert.False(child1.IsHandleCreated); 7195Assert.False(child1.IsHandleCreated); 7261Assert.False(control.IsHandleCreated); 7266Assert.False(control.IsHandleCreated); 7283Assert.False(control.IsHandleCreated); 7289Assert.False(control.IsHandleCreated); 7398Assert.False(control.IsHandleCreated); 7417Assert.False(control.IsHandleCreated); 7509Assert.False(control.IsHandleCreated); 7528Assert.False(control.IsHandleCreated); 7607Assert.False(control.IsHandleCreated); 7626Assert.False(control.IsHandleCreated); 7726Assert.False(control.IsHandleCreated); 7746Assert.False(control.IsHandleCreated); 8185Assert.False(control.IsHandleCreated); 8204Assert.False(control.IsHandleCreated); 8296Assert.False(control.IsHandleCreated); 8315Assert.False(control.IsHandleCreated); 8394Assert.False(control.IsHandleCreated); 8413Assert.False(control.IsHandleCreated); 8583Assert.False(control.IsHandleCreated); 8603Assert.False(control.IsHandleCreated); 9001Assert.False(control.IsHandleCreated); 9022Assert.False(control.IsHandleCreated); 9143Assert.False(control.IsHandleCreated); 9164Assert.False(control.IsHandleCreated); 9272Assert.False(control.IsHandleCreated); 9293Assert.False(control.IsHandleCreated); 9410Assert.False(control.IsHandleCreated); 9432Assert.False(control.IsHandleCreated); 9788Assert.False(control.IsHandleCreated); 9798Assert.False(control.IsHandleCreated); 9828Assert.False(control.IsHandleCreated); 9844Assert.False(control.IsHandleCreated); 9963Assert.False(control.IsHandleCreated); 10091Assert.False(control.GetTopLevel()); 10107Assert.False(control.IsHandleCreated); 10111Assert.False(control.IsHandleCreated); 10121Assert.False(control.IsHandleCreated); 10125Assert.False(control.IsHandleCreated); 10193Assert.False(control.IsHandleCreated); 10198Assert.False(control.IsHandleCreated); 10242Assert.False(control.IsHandleCreated); 10247Assert.False(control.IsHandleCreated); 10292Assert.False(control.IsHandleCreated); 10296Assert.False(control.IsHandleCreated); 10354Assert.False(control.IsHandleCreated); 10373Assert.False(control.IsHandleCreated); 10528Assert.False(control.IsHandleCreated); 10547Assert.False(control.IsHandleCreated); 10620Assert.False(control.IsHandleCreated); 10639Assert.False(control.IsHandleCreated); 10968Assert.False(control.IsHandleCreated); 10987Assert.False(control.IsHandleCreated); 11079Assert.False(control.IsHandleCreated); 11098Assert.False(control.IsHandleCreated); 11177Assert.False(control.IsHandleCreated); 11196Assert.False(control.IsHandleCreated); 11287Assert.False(control.IsHandleCreated); 11307Assert.False(control.IsHandleCreated); 11663Assert.False(control.IsHandleCreated); 11682Assert.False(control.IsHandleCreated); 11773Assert.False(control.IsHandleCreated); 11793Assert.False(control.IsHandleCreated); 12095Assert.False(control.IsHandleCreated); 12101Assert.False(control.IsHandleCreated); 12138Assert.False(control.IsHandleCreated); 12142Assert.False(control.IsHandleCreated); 12155Assert.False(control.IsHandleCreated); 12156Assert.False(parent.IsHandleCreated); 12160Assert.False(control.IsHandleCreated); 12161Assert.False(parent.IsHandleCreated); 12185Assert.False(parent.IsHandleCreated); 12193Assert.False(parent.IsHandleCreated); 12214Assert.False(control.IsHandleCreated); 12222Assert.False(control.IsHandleCreated); 12345Assert.False(child1.IsHandleCreated); 12357Assert.False(child1.IsHandleCreated); 12389Assert.False(control.IsHandleCreated); 12443Assert.False(control.IsHandleCreated); 12506Assert.False(control.IsHandleCreated); 12548Assert.False(menu.Visible); 12628Assert.False(menu.Visible); 12663Assert.False(control.IsHandleCreated); 12745Assert.False(control.IsHandleCreated); 12993Assert.False(control.IsHandleCreated); 13038Assert.False(control.IsHandleCreated); 13091Assert.False(control.IsHandleCreated); 13154Assert.False(control.IsHandleCreated); 13177Assert.False(control.IsHandleCreated); 13215Assert.False(control.IsHandleCreated); 13461Assert.False(control.Focused); 13497Assert.False(control.Focused); 13530Assert.False(control.Focused); 13571Assert.False(control.Focused); 13615Assert.False(control.Focused); 13656Assert.False(control.Focused); 13684Assert.False(control.IsHandleCreated); 13795Assert.False(control.Capture); 13796Assert.False(control.Focused); 13831Assert.False(control.Capture); 13832Assert.False(control.Focused); 13860Assert.False(control.Capture); 13861Assert.False(control.Focused); 13901Assert.False(control.Capture); 13902Assert.False(control.Focused); 13945Assert.False(control.Capture); 13946Assert.False(control.Focused); 13982Assert.False(control.Capture); 13983Assert.False(control.Focused); 14348Assert.False(control.IsHandleCreated);
System\Windows\Forms\ControlTests.Properties.cs (381)
75Assert.False(control.IsHandleCreated); 92Assert.False(control.IsHandleCreated); 112Assert.False(control.IsHandleCreated); 117Assert.False(control.IsHandleCreated); 129Assert.False(control.IsHandleCreated); 134Assert.False(control.IsHandleCreated); 146Assert.False(control.IsHandleCreated); 151Assert.False(control.IsHandleCreated); 163Assert.False(control.IsHandleCreated); 168Assert.False(control.IsHandleCreated); 188Assert.False(control.IsHandleCreated); 193Assert.False(control.IsHandleCreated); 198Assert.False(control.IsHandleCreated); 292Assert.False(control.AllowDrop); 300Assert.False(control.AllowDrop); 345Assert.False(control.IsHandleCreated); 352Assert.False(control.IsHandleCreated); 370Assert.False(control.IsHandleCreated); 377Assert.False(control.IsHandleCreated); 435Assert.False(control.IsHandleCreated); 443Assert.False(control.IsHandleCreated); 491Assert.False(control.IsHandleCreated); 499Assert.False(control.IsHandleCreated); 582Assert.False(control.IsHandleCreated); 590Assert.False(control.IsHandleCreated); 716Assert.False(control.IsHandleCreated); 725Assert.False(control.IsHandleCreated); 778Assert.False(control.IsHandleCreated); 785Assert.False(control.IsHandleCreated); 849Assert.False(control.IsHandleCreated); 857Assert.False(control.IsHandleCreated); 925Assert.False(control.IsHandleCreated); 931Assert.False(control.IsHandleCreated); 937Assert.False(control.IsHandleCreated); 970Assert.False(control.IsHandleCreated); 971Assert.False(parent.IsHandleCreated); 978Assert.False(control.IsHandleCreated); 979Assert.False(parent.IsHandleCreated); 986Assert.False(control.IsHandleCreated); 987Assert.False(parent.IsHandleCreated); 1033Assert.False(control.IsHandleCreated); 1034Assert.False(parent.IsHandleCreated); 1042Assert.False(control.IsHandleCreated); 1043Assert.False(parent.IsHandleCreated); 1051Assert.False(control.IsHandleCreated); 1052Assert.False(parent.IsHandleCreated); 1205Assert.False(control.AutoSize); 1210Assert.False(control.AutoSize); 1221Assert.False(control.AutoSize); 1234Assert.False(control.IsHandleCreated); 1239Assert.False(control.IsHandleCreated); 1253Assert.False(control.IsHandleCreated); 1258Assert.False(control.IsHandleCreated); 1277Assert.False(control.IsHandleCreated); 1282Assert.False(control.IsHandleCreated); 1299Assert.False(control.IsHandleCreated); 1306Assert.False(control.IsHandleCreated); 1329Assert.False(control.IsHandleCreated); 1336Assert.False(control.IsHandleCreated); 1606Assert.False(property.CanResetValue(control)); 1614Assert.False(property.CanResetValue(control)); 1622Assert.False(property.ShouldSerializeValue(control)); 1630Assert.False(property.ShouldSerializeValue(control)); 1642Assert.False(control.IsHandleCreated); 1647Assert.False(control.IsHandleCreated); 1992Assert.False(control.DoubleBuffered); 1993Assert.False(control.IsHandleCreated); 1998Assert.False(control.DoubleBuffered); 1999Assert.False(control.IsHandleCreated); 2021Assert.False(control.DoubleBuffered); 2030Assert.False(control.DoubleBuffered); 2183Assert.False(control.IsHandleCreated); 2188Assert.False(control.IsHandleCreated); 2202Assert.False(control.IsHandleCreated); 2207Assert.False(control.IsHandleCreated); 2493Assert.False(control.IsHandleCreated); 2512Assert.False(control.IsHandleCreated); 2582Assert.False(control.IsHandleCreated); 2601Assert.False(control.IsHandleCreated); 2667Assert.False(control.IsHandleCreated); 2686Assert.False(control.IsHandleCreated); 2773Assert.False(control.IsHandleCreated); 2793Assert.False(control.IsHandleCreated); 3053Assert.False(control.CanFocus); 3194Assert.False(control.IsHandleCreated); 3199Assert.False(control.IsHandleCreated); 3204Assert.False(control.IsHandleCreated); 3262Assert.False(control.CausesValidation); 3267Assert.False(control.CausesValidation); 3278Assert.False(control.CausesValidation); 3343Assert.False(control.IsHandleCreated); 3353Assert.False(control.IsHandleCreated); 3393Assert.False(control.IsHandleCreated); 3409Assert.False(control.IsHandleCreated); 3543Assert.False(control.IsHandleCreated); 3548Assert.False(control.IsHandleCreated); 3562Assert.False(control.IsHandleCreated); 3567Assert.False(control.IsHandleCreated); 3660Assert.False(control.IsHandleCreated); 3675Assert.False(property.CanResetValue(control)); 3678Assert.False(property.CanResetValue(control)); 3683Assert.False(property.CanResetValue(control)); 3687Assert.False(property.CanResetValue(control)); 3813Assert.False(control.IsHandleCreated); 3818Assert.False(control.IsHandleCreated); 4134Assert.False(control.IsHandleCreated); 4141Assert.False(control.IsHandleCreated); 4159Assert.False(control.IsHandleCreated); 4166Assert.False(control.IsHandleCreated); 4208Assert.False(control.IsHandleCreated); 4216Assert.False(control.IsHandleCreated); 4299Assert.False(control.IsHandleCreated); 4307Assert.False(control.IsHandleCreated); 4445Assert.False(control.IsHandleCreated); 4451Assert.False(control.IsHandleCreated); 4457Assert.False(control.IsHandleCreated); 4509Assert.False(control.IsHandleCreated); 4514Assert.False(control.IsHandleCreated); 4519Assert.False(control.IsHandleCreated); 4582Assert.False(control.Enabled); 4587Assert.False(control.Enabled); 4598Assert.False(control.Enabled); 4641Assert.False(control.Enabled); 4642Assert.False(child1.Enabled); 4643Assert.False(child2.Enabled); 4650Assert.False(control.Enabled); 4651Assert.False(child1.Enabled); 4652Assert.False(child2.Enabled); 4671Assert.False(control.Enabled); 4672Assert.False(child1.Enabled); 4673Assert.False(child2.Enabled); 4724Assert.False(control.Enabled); 4725Assert.False(child1.Enabled); 4726Assert.False(child2.Enabled); 4733Assert.False(control.Enabled); 4734Assert.False(child1.Enabled); 4735Assert.False(child2.Enabled); 4743Assert.False(child1.Enabled); 4744Assert.False(child2.Enabled); 4754Assert.False(control.Enabled); 4755Assert.False(child1.Enabled); 4756Assert.False(child2.Enabled); 4767Assert.False(property.CanResetValue(control)); 4770Assert.False(control.Enabled); 4775Assert.False(property.CanResetValue(control)); 4783Assert.False(property.ShouldSerializeValue(control)); 4786Assert.False(control.Enabled); 4791Assert.False(property.ShouldSerializeValue(control)); 4844Assert.False(control.IsHandleCreated); 4850Assert.False(control.IsHandleCreated); 4871Assert.False(control.IsHandleCreated); 4877Assert.False(control.IsHandleCreated); 4900Assert.False(control.IsHandleCreated); 4906Assert.False(control.IsHandleCreated); 4921Assert.False(control.IsHandleCreated); 4927Assert.False(control.IsHandleCreated); 5244Assert.False(property.CanResetValue(control)); 5253Assert.False(property.CanResetValue(control)); 5261Assert.False(property.CanResetValue(control)); 5269Assert.False(property.ShouldSerializeValue(control)); 5278Assert.False(property.ShouldSerializeValue(control)); 5286Assert.False(property.ShouldSerializeValue(control)); 5298Assert.False(control.IsHandleCreated); 5303Assert.False(control.IsHandleCreated); 5317Assert.False(control.IsHandleCreated); 5322Assert.False(control.IsHandleCreated); 5339Assert.False(control.IsHandleCreated); 5346Assert.False(control.IsHandleCreated); 5369Assert.False(control.IsHandleCreated); 5376Assert.False(control.IsHandleCreated); 5640Assert.False(property.CanResetValue(control)); 5648Assert.False(property.CanResetValue(control)); 5656Assert.False(property.ShouldSerializeValue(control)); 5664Assert.False(property.ShouldSerializeValue(control)); 5743Assert.False(control.IsHandleCreated); 5762Assert.False(control.IsHandleCreated); 5853Assert.False(control.IsHandleCreated); 5872Assert.False(control.IsHandleCreated); 5941Assert.False(control.IsHandleCreated); 5960Assert.False(control.IsHandleCreated); 6050Assert.False(control.IsHandleCreated); 6070Assert.False(control.IsHandleCreated); 6368Assert.False(control.IsHandleCreated); 6373Assert.False(control.IsHandleCreated); 6475Assert.False(control.IsHandleCreated); 6480Assert.False(control.IsHandleCreated); 6560Assert.False(control.InvokeRequired); 6573Assert.False(control.InvokeRequired); 6590Assert.False(control.IsHandleCreated); 6595Assert.False(control.IsHandleCreated); 6600Assert.False(control.IsHandleCreated); 6607Assert.False(control.IsMirrored); 6610Assert.False(control.IsMirrored); 6639Assert.False(control.IsMirrored); 6642Assert.False(control.IsMirrored); 6709Assert.False(control.IsHandleCreated); 6731Assert.False(control.IsHandleCreated); 6801Assert.False(control.IsHandleCreated); 6823Assert.False(control.IsHandleCreated); 7190Assert.False(control.IsHandleCreated); 7212Assert.False(control.IsHandleCreated); 7281Assert.False(control.IsHandleCreated); 7304Assert.False(control.IsHandleCreated); 7714Assert.False(control.IsHandleCreated); 7720Assert.False(control.IsHandleCreated); 7741Assert.False(control.IsHandleCreated); 7742Assert.False(parent.IsHandleCreated); 7749Assert.False(control.IsHandleCreated); 7750Assert.False(parent.IsHandleCreated); 7852Assert.False(property.CanResetValue(control)); 7860Assert.False(property.CanResetValue(control)); 7868Assert.False(property.ShouldSerializeValue(control)); 7876Assert.False(property.ShouldSerializeValue(control)); 7937Assert.False(control.IsHandleCreated); 7944Assert.False(control.IsHandleCreated); 7962Assert.False(control.IsHandleCreated); 7969Assert.False(control.IsHandleCreated); 8014Assert.False(control.IsHandleCreated); 8021Assert.False(control.IsHandleCreated); 8039Assert.False(control.IsHandleCreated); 8046Assert.False(control.IsHandleCreated); 8071Assert.False(control.IsHandleCreated); 8078Assert.False(control.IsHandleCreated); 8123Assert.False(control.IsHandleCreated); 8131Assert.False(control.IsHandleCreated); 8179Assert.False(control.IsHandleCreated); 8180Assert.False(parent.IsHandleCreated); 8188Assert.False(control.IsHandleCreated); 8189Assert.False(parent.IsHandleCreated); 8445Assert.False(property.CanResetValue(control)); 8461Assert.False(property.CanResetValue(control)); 8469Assert.False(property.ShouldSerializeValue(control)); 8485Assert.False(property.ShouldSerializeValue(control)); 8552Assert.False(control.IsHandleCreated); 8559Assert.False(control.IsHandleCreated); 8599Assert.False(control.IsHandleCreated); 8606Assert.False(control.IsHandleCreated); 8652Assert.False(control.IsHandleCreated); 8659Assert.False(control.IsHandleCreated); 8683Assert.False(control.IsHandleCreated); 8690Assert.False(control.IsHandleCreated); 8715Assert.False(control.IsHandleCreated); 8722Assert.False(control.IsHandleCreated); 8773Assert.False(control.IsHandleCreated); 8781Assert.False(control.IsHandleCreated); 8835Assert.False(control.IsHandleCreated); 8836Assert.False(parent.IsHandleCreated); 8844Assert.False(control.IsHandleCreated); 8845Assert.False(parent.IsHandleCreated); 9215Assert.False(property.CanResetValue(control)); 9231Assert.False(property.CanResetValue(control)); 9239Assert.False(property.ShouldSerializeValue(control)); 9255Assert.False(property.ShouldSerializeValue(control)); 9321Assert.False(control.IsHandleCreated); 9326Assert.False(control.IsHandleCreated); 9340Assert.False(control.IsHandleCreated); 9345Assert.False(control.IsHandleCreated); 9374Assert.False(control.IsHandleCreated); 9379Assert.False(control.IsHandleCreated); 9426Assert.False(control.IsHandleCreated); 9432Assert.False(control.IsHandleCreated); 9467Assert.False(control.IsHandleCreated); 9468Assert.False(parent.IsHandleCreated); 9475Assert.False(control.IsHandleCreated); 9476Assert.False(parent.IsHandleCreated); 9647Assert.False(property.CanResetValue(control)); 9655Assert.False(property.CanResetValue(control)); 9663Assert.False(property.ShouldSerializeValue(control)); 9671Assert.False(property.ShouldSerializeValue(control)); 9690Assert.False(control.IsHandleCreated); 9695Assert.False(control.IsHandleCreated); 9711Assert.False(control.IsHandleCreated); 9717Assert.False(control.IsHandleCreated); 9730Assert.False(control.IsHandleCreated); 9736Assert.False(control.IsHandleCreated); 9883Assert.False(control.IsHandleCreated); 9888Assert.False(control.IsHandleCreated); 9905Assert.False(control.IsHandleCreated); 9911Assert.False(control.IsHandleCreated); 10011Assert.False(control.RecreatingHandle); 10062Assert.False(control.IsHandleCreated); 10067Assert.False(control.IsHandleCreated); 10081Assert.False(control.IsHandleCreated); 10086Assert.False(control.IsHandleCreated); 10103Assert.False(control.IsHandleCreated); 10110Assert.False(control.IsHandleCreated); 10133Assert.False(control.IsHandleCreated); 10140Assert.False(control.IsHandleCreated); 10444Assert.False(property.CanResetValue(control)); 10456Assert.False(property.CanResetValue(control)); 10464Assert.False(property.CanResetValue(control)); 10472Assert.False(property.ShouldSerializeValue(control)); 10484Assert.False(property.ShouldSerializeValue(control)); 10492Assert.False(property.ShouldSerializeValue(control)); 10654Assert.False(control.IsHandleCreated); 10659Assert.False(control.IsHandleCreated); 11127Assert.False(control.IsHandleCreated); 11146Assert.False(control.IsHandleCreated); 11238Assert.False(control.IsHandleCreated); 11257Assert.False(control.IsHandleCreated); 11333Assert.False(control.IsHandleCreated); 11352Assert.False(control.IsHandleCreated); 11449Assert.False(control.IsHandleCreated); 11469Assert.False(control.IsHandleCreated); 11755Assert.False(property.CanResetValue(control)); 11771Assert.False(property.CanResetValue(control)); 11779Assert.False(property.ShouldSerializeValue(control)); 11795Assert.False(property.ShouldSerializeValue(control)); 11809Assert.False(control.IsHandleCreated); 11814Assert.False(control.IsHandleCreated); 11871Assert.False(control.IsHandleCreated); 11876Assert.False(control.IsHandleCreated); 11881Assert.False(control.IsHandleCreated); 11939Assert.False(control.TabStop); 11944Assert.False(control.TabStop); 11955Assert.False(control.TabStop); 11968Assert.False(control.IsHandleCreated); 11973Assert.False(control.IsHandleCreated); 12045Assert.False(property.CanResetValue(control)); 12050Assert.False(property.CanResetValue(control)); 12055Assert.False(property.CanResetValue(control)); 12064Assert.False(property.CanResetValue(control)); 12072Assert.False(property.ShouldSerializeValue(control)); 12077Assert.False(property.ShouldSerializeValue(control)); 12082Assert.False(property.ShouldSerializeValue(control)); 12091Assert.False(property.ShouldSerializeValue(control)); 12144Assert.False(control.IsHandleCreated); 12165Assert.False(control.IsHandleCreated); 12235Assert.False(control.IsHandleCreated); 12257Assert.False(control.IsHandleCreated); 12608Assert.False(control.IsHandleCreated); 12613Assert.False(control.IsHandleCreated); 12618Assert.False(control.IsHandleCreated); 12635Assert.False(control.IsHandleCreated); 12642Assert.False(control.IsHandleCreated); 12649Assert.False(control.IsHandleCreated); 12720Assert.False(control.IsHandleCreated); 12725Assert.False(control.IsHandleCreated); 12730Assert.False(control.IsHandleCreated); 12744Assert.False(control.IsHandleCreated); 12745Assert.False(parent.IsHandleCreated); 12750Assert.False(control.IsHandleCreated); 12751Assert.False(parent.IsHandleCreated); 12757Assert.False(parent.IsHandleCreated); 12884Assert.False(control.Visible); 12889Assert.False(control.Visible); 12900Assert.False(control.Visible); 12943Assert.False(control.Visible); 12944Assert.False(child1.Visible); 12945Assert.False(child2.Visible); 12952Assert.False(control.Visible); 12953Assert.False(child1.Visible); 12954Assert.False(child2.Visible); 12973Assert.False(control.Visible); 12974Assert.False(child1.Visible); 12975Assert.False(child2.Visible); 13026Assert.False(control.Visible); 13027Assert.False(child1.Visible); 13028Assert.False(child2.Visible); 13035Assert.False(control.Visible); 13036Assert.False(child1.Visible); 13037Assert.False(child2.Visible); 13045Assert.False(child1.Visible); 13046Assert.False(child2.Visible); 13056Assert.False(control.Visible); 13057Assert.False(child1.Visible); 13058Assert.False(child2.Visible); 13069Assert.False(property.CanResetValue(control)); 13072Assert.False(control.Visible); 13077Assert.False(property.CanResetValue(control)); 13085Assert.False(property.ShouldSerializeValue(control)); 13088Assert.False(control.Visible); 13093Assert.False(property.ShouldSerializeValue(control)); 13162Assert.False(control.IsHandleCreated); 13181Assert.False(control.IsHandleCreated); 13272Assert.False(control.IsHandleCreated); 13291Assert.False(control.IsHandleCreated); 13360Assert.False(control.IsHandleCreated); 13379Assert.False(control.IsHandleCreated); 13469Assert.False(control.IsHandleCreated); 13489Assert.False(control.IsHandleCreated);
System\Windows\Forms\DataGridView.DataGridViewControlCollectionTests.cs (1)
15Assert.False(collection.IsReadOnly);
System\Windows\Forms\DataGridViewCellCancelEventArgsTests.cs (1)
18Assert.False(e.Cancel);
System\Windows\Forms\DataGridViewCellFormattingEventArgsTests.cs (1)
26Assert.False(e.FormattingApplied);
System\Windows\Forms\DataGridViewCellPaintingEventArgsTests.cs (1)
38Assert.False(e.Handled);
System\Windows\Forms\DataGridViewCellParsingEventArgsTests.cs (1)
27Assert.False(e.ParsingApplied);
System\Windows\Forms\DataGridViewCellStyleTests.cs (19)
66Assert.False(style.IsDataSourceNullValueDefault); 67Assert.False(style.IsFormatProviderDefault); 68Assert.False(style.IsNullValueDefault); 229Assert.False(style.IsDataSourceNullValueDefault); 242Assert.False(style.IsDataSourceNullValueDefault); 451Assert.False(style.IsNullValueDefault); 464Assert.False(style.IsNullValueDefault); 644Assert.False(style.IsDataSourceNullValueDefault); 645Assert.False(style.IsFormatProviderDefault); 646Assert.False(style.IsNullValueDefault); 686Assert.False(style.IsDataSourceNullValueDefault); 687Assert.False(style.IsFormatProviderDefault); 688Assert.False(style.IsNullValueDefault); 734Assert.False(style.IsDataSourceNullValueDefault); 735Assert.False(style.IsFormatProviderDefault); 736Assert.False(style.IsNullValueDefault); 800Assert.False(style.IsDataSourceNullValueDefault); 801Assert.False(style.IsFormatProviderDefault); 802Assert.False(style.IsNullValueDefault);
System\Windows\Forms\DataGridViewCellTests.cs (151)
25Assert.False(cell.Displayed); 31Assert.False(cell.Frozen); 32Assert.False(cell.HasStyle); 34Assert.False(cell.IsInEditMode); 38Assert.False(cell.ReadOnly); 39Assert.False(cell.Resizable); 41Assert.False(cell.Selected); 50Assert.False(cell.Visible); 288Assert.False(control.IsHandleCreated); 293Assert.False(control.IsHandleCreated); 354Assert.False(menu.IsDisposed); 399Assert.False(cell.Displayed); 443Assert.False(cell.Displayed); 444Assert.False(control.IsHandleCreated); 485Assert.False(cell.Displayed); 486Assert.False(control.IsHandleCreated); 1019Assert.False(control.IsHandleCreated); 1025Assert.False(control.IsHandleCreated); 1047Assert.False(control.IsHandleCreated); 1053Assert.False(control.IsHandleCreated); 1074Assert.False(control.IsHandleCreated); 1080Assert.False(control.IsHandleCreated); 1102Assert.False(control.IsHandleCreated); 1108Assert.False(control.IsHandleCreated); 1385Assert.False(control.IsHandleCreated); 1402Assert.False(cell.Frozen); 1403Assert.False(control.IsHandleCreated); 1537Assert.False(cell.IsInEditMode); 1546Assert.False(cell.IsInEditMode); 1560Assert.False(cell.IsInEditMode); 1630Assert.False(control.IsHandleCreated); 1653Assert.False(cell.ReadOnly); 1661Assert.False(cell.ReadOnly); 1664Assert.False(cell.ReadOnly); 1677Assert.False(row.ReadOnly); 1683Assert.False(row.ReadOnly); 1689Assert.False(row.ReadOnly); 1721Assert.False(row.ReadOnly); 1758Assert.False(row.ReadOnly); 1791Assert.False(row.ReadOnly); 1793Assert.False(control.IsHandleCreated); 1798Assert.False(row.ReadOnly); 1800Assert.False(control.IsHandleCreated); 1805Assert.False(row.ReadOnly); 1807Assert.False(control.IsHandleCreated); 1839Assert.False(control.IsHandleCreated); 1846Assert.False(control.IsHandleCreated); 1853Assert.False(control.IsHandleCreated); 1892Assert.False(control.IsHandleCreated); 1900Assert.False(control.IsHandleCreated); 1908Assert.False(control.IsHandleCreated); 1945Assert.False(cell.ReadOnly); 1968Assert.False(control.IsHandleCreated); 2024Assert.False(control.IsHandleCreated); 2041Assert.False(cell.Resizable); 2042Assert.False(control.IsHandleCreated); 2065Assert.False(cell.Selected); 2087Assert.False(control.IsHandleCreated); 2104Assert.False(cell.Selected); 2105Assert.False(control.IsHandleCreated); 2113Assert.False(cell.Selected); 2116Assert.False(cell.Selected); 2127Assert.False(cell.Selected); 2130Assert.False(cell.Selected); 2142Assert.False(cell.Selected); 2161Assert.False(control.IsHandleCreated); 2167Assert.False(control.IsHandleCreated); 2173Assert.False(control.IsHandleCreated); 2190Assert.False(cell.Selected); 2191Assert.False(control.IsHandleCreated); 2228Assert.False(cell.Selected); 2690Assert.False(control.IsHandleCreated); 2695Assert.False(control.IsHandleCreated); 2714Assert.False(control.IsHandleCreated); 2719Assert.False(control.IsHandleCreated); 2737Assert.False(control.IsHandleCreated); 2742Assert.False(control.IsHandleCreated); 2761Assert.False(control.IsHandleCreated); 2766Assert.False(control.IsHandleCreated); 2805Assert.False(control.IsHandleCreated); 2944Assert.False(control.IsHandleCreated); 2950Assert.False(control.IsHandleCreated); 2970Assert.False(control.IsHandleCreated); 2976Assert.False(control.IsHandleCreated); 3043Assert.False(control.IsHandleCreated); 3061Assert.False(cell.Visible); 3062Assert.False(control.IsHandleCreated); 3310Assert.False(cell.ClickUnsharesRow(null)); 3336Assert.False(menu.IsDisposed); 3346Assert.False(cell.Frozen); 3348Assert.False(cell.IsInEditMode); 3350Assert.False(cell.ReadOnly); 3351Assert.False(cell.Resizable); 3353Assert.False(cell.Selected); 3360Assert.False(cell.Visible); 3383Assert.False(cell.Frozen); 3384Assert.False(cell.HasStyle); 3385Assert.False(cell.IsInEditMode); 3387Assert.False(cell.ReadOnly); 3388Assert.False(cell.Resizable); 3390Assert.False(cell.Selected); 3396Assert.False(cell.Visible); 3403Assert.False(cell.ContentClickUnsharesRow(null)); 3410Assert.False(cell.ContentDoubleClickUnsharesRow(null)); 3506Assert.False(menu.IsDisposed); 3511Assert.False(menu.IsDisposed); 3543Assert.False(menu.IsDisposed); 3548Assert.False(menu.IsDisposed); 3560Assert.False(cell.DoubleClickUnsharesRow(null)); 3567Assert.False(cell.EnterUnsharesRow(-1, true)); 3747Assert.False(control.IsHandleCreated); 3765Assert.False(control.IsHandleCreated); 3921Assert.False(control.IsHandleCreated); 3950Assert.False(control.IsHandleCreated); 4461Assert.False(control.IsHandleCreated); 4810Assert.False(neighbors00.Contains(control.Rows[1].Cells[1].AccessibilityObject.Bounds)); 4811Assert.False(neighbors00.Contains(control.Rows[1].Cells[0].AccessibilityObject.Bounds)); 4818Assert.False(neighbors21.Contains(control.Rows[1].Cells[1].AccessibilityObject.Bounds)); 4823Assert.False(neighbors33.Contains(control.Rows[2].Cells[2].AccessibilityObject.Bounds)); 4875Assert.False(control.IsHandleCreated); 4894Assert.False(control.IsHandleCreated); 5217Assert.False(cell.KeyDownUnsharesRow(null, -1)); 5224Assert.False(cell.KeyEntersEditMode(null)); 5231Assert.False(cell.KeyPressUnsharesRow(null, -1)); 5238Assert.False(cell.KeyUpUnsharesRow(null, -1)); 5245Assert.False(cell.LeaveUnsharesRow(-1, true)); 5259Assert.False(widthTruncated); 5484Assert.False(cell.MouseClickUnsharesRow(null)); 5491Assert.False(cell.MouseDoubleClickUnsharesRow(null)); 5522Assert.False(cell.MouseDownUnsharesRow(e)); 5566Assert.False(cell.MouseDownUnsharesRow(e)); 5567Assert.False(control.IsHandleCreated); 5578Assert.False(cell.MouseEnterUnsharesRow(rowIndex)); 5603Assert.False(cell.MouseEnterUnsharesRow(rowIndex)); 5604Assert.False(control.IsHandleCreated); 5615Assert.False(cell.MouseLeaveUnsharesRow(rowIndex)); 5640Assert.False(cell.MouseLeaveUnsharesRow(rowIndex)); 5641Assert.False(control.IsHandleCreated); 5649Assert.False(cell.MouseMoveUnsharesRow(e)); 5667Assert.False(cell.MouseMoveUnsharesRow(e)); 5668Assert.False(control.IsHandleCreated); 5676Assert.False(cell.MouseUpUnsharesRow(e)); 5694Assert.False(cell.MouseUpUnsharesRow(e)); 5695Assert.False(control.IsHandleCreated); 5822Assert.False(control.IsHandleCreated); 5849Assert.False(control.IsHandleCreated); 5876Assert.False(control.IsHandleCreated); 5913Assert.False(control.IsHandleCreated); 5950Assert.False(control.IsHandleCreated); 5977Assert.False(control.IsHandleCreated); 6004Assert.False(control.IsHandleCreated);
System\Windows\Forms\DataGridViewColumnCollectionTests.cs (16)
19Assert.False(collection.IsReadOnly); 20Assert.False(collection.IsSynchronized); 49Assert.False(control.IsHandleCreated); 60Assert.False(control.IsHandleCreated); 77Assert.False(control.IsHandleCreated); 88Assert.False(control.IsHandleCreated); 127Assert.False(control.IsHandleCreated); 138Assert.False(control.IsHandleCreated); 201Assert.False(control.IsHandleCreated); 212Assert.False(control.IsHandleCreated); 235Assert.False(control.IsHandleCreated); 246Assert.False(control.IsHandleCreated); 277Assert.False(control.IsHandleCreated); 288Assert.False(control.IsHandleCreated); 302Assert.False(control.IsHandleCreated); 322Assert.False(control.IsHandleCreated);
System\Windows\Forms\DataGridViewColumnTests.cs (42)
24Assert.False(column.Displayed); 27Assert.False(column.Frozen); 37Assert.False(column.IsDataBound); 38Assert.False(column.IsRow); 41Assert.False(column.ReadOnly); 43Assert.False(column.Selected); 75Assert.False(column.Displayed); 78Assert.False(column.Frozen); 84Assert.False(column.IsDataBound); 85Assert.False(column.IsRow); 88Assert.False(column.ReadOnly); 90Assert.False(column.Selected); 570Assert.False(control.IsHandleCreated); 575Assert.False(control.IsHandleCreated); 687Assert.False(control.IsHandleCreated); 692Assert.False(control.IsHandleCreated); 801Assert.False(control.IsHandleCreated); 807Assert.False(control.IsHandleCreated); 830Assert.False(control.IsHandleCreated); 836Assert.False(control.IsHandleCreated); 1024Assert.False(column.Displayed); 1062Assert.False(control.IsHandleCreated); 1067Assert.False(control.IsHandleCreated); 1145Assert.False(control.Columns[0].Frozen); 1269Assert.False(column4.Frozen); 1276Assert.False(column4.Frozen); 1289Assert.False(column3.Frozen); 1290Assert.False(column4.Frozen); 1294Assert.False(column1.Frozen); 1295Assert.False(column2.Frozen); 1296Assert.False(column3.Frozen); 1297Assert.False(column4.Frozen); 1324Assert.False(column.Frozen); 1329Assert.False(column.Frozen); 1340Assert.False(column.Frozen); 1508Assert.False(column.ReadOnly); 1690Assert.False(column3.Visible); 1695Assert.False(column1.Visible); 1697Assert.False(column3.Visible); 1725Assert.False(column.Visible); 1730Assert.False(column.Visible); 1741Assert.False(column.Visible);
System\Windows\Forms\DataGridViewDataErrorEventArgsTests.cs (3)
25Assert.False(e.Cancel); 26Assert.False(e.ThrowException); 54Assert.False(e.ThrowException);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (146)
24Assert.False(cell.Displayed); 29Assert.False(cell.Frozen); 30Assert.False(cell.HasStyle); 32Assert.False(cell.IsInEditMode); 37Assert.False(cell.Resizable); 39Assert.False(cell.Selected); 48Assert.False(cell.Visible); 61Assert.False(cell.Displayed); 74Assert.False(cell.Displayed); 87Assert.False(cell.Displayed); 131Assert.False(cell.Displayed); 132Assert.False(control.IsHandleCreated); 154Assert.False(cell.Displayed); 155Assert.False(control.IsHandleCreated); 180Assert.False(cell.Displayed); 181Assert.False(control.IsHandleCreated); 210Assert.False(cell.Displayed); 211Assert.False(control.IsHandleCreated); 261Assert.False(control.IsHandleCreated); 505Assert.False(control.IsHandleCreated); 523Assert.False(control.IsHandleCreated); 541Assert.False(control.IsHandleCreated); 630Assert.False(control.IsHandleCreated); 653Assert.False(control.IsHandleCreated); 676Assert.False(control.IsHandleCreated); 690Assert.False(control.IsHandleCreated); 773Assert.False(control.IsHandleCreated); 793Assert.False(control.IsHandleCreated); 812Assert.False(control.IsHandleCreated); 826Assert.False(control.IsHandleCreated); 842Assert.False(control.IsHandleCreated); 942Assert.False(control.IsHandleCreated); 967Assert.False(control.IsHandleCreated); 1009Assert.False(control.IsHandleCreated); 1042Assert.False(control.IsHandleCreated); 1060Assert.False(control.IsHandleCreated); 1074Assert.False(cell.Selected); 1083Assert.False(cell.Selected); 1092Assert.False(cell.Selected); 1101Assert.False(cell.Selected); 1122Assert.False(cell.Selected); 1123Assert.False(control.IsHandleCreated); 1145Assert.False(cell.Selected); 1146Assert.False(control.IsHandleCreated); 1168Assert.False(cell.Selected); 1169Assert.False(control.IsHandleCreated); 1180Assert.False(cell.Selected); 1181Assert.False(control.IsHandleCreated); 1198Assert.False(cell.Selected); 1207Assert.False(cell.Selected); 1219Assert.False(cell.Selected); 1231Assert.False(cell.Selected); 1243Assert.False(cell.Selected); 1260Assert.False(cell.Selected); 1261Assert.False(control.IsHandleCreated); 1280Assert.False(cell.Selected); 1281Assert.False(control.IsHandleCreated); 1299Assert.False(cell.Selected); 1300Assert.False(control.IsHandleCreated); 1314Assert.False(cell.Selected); 1315Assert.False(control.IsHandleCreated); 1332Assert.False(cell.Selected); 1333Assert.False(control.IsHandleCreated); 1381Assert.False(control.IsHandleCreated); 1400Assert.False(control.IsHandleCreated); 1418Assert.False(control.IsHandleCreated); 1430Assert.False(control.IsHandleCreated); 1618Assert.False(control.IsHandleCreated); 1624Assert.False(control.IsHandleCreated); 1646Assert.False(control.IsHandleCreated); 1652Assert.False(control.IsHandleCreated); 1675Assert.False(control.IsHandleCreated); 1681Assert.False(control.IsHandleCreated); 1705Assert.False(control.IsHandleCreated); 1711Assert.False(control.IsHandleCreated); 1733Assert.False(control.IsHandleCreated); 1739Assert.False(control.IsHandleCreated); 1762Assert.False(control.IsHandleCreated); 1768Assert.False(control.IsHandleCreated); 1787Assert.False(control.IsHandleCreated); 1793Assert.False(control.IsHandleCreated); 1813Assert.False(control.IsHandleCreated); 1819Assert.False(control.IsHandleCreated); 1833Assert.False(cell.Visible); 1914Assert.False(control.IsHandleCreated); 1940Assert.False(control.IsHandleCreated); 1966Assert.False(control.IsHandleCreated); 1993Assert.False(control.IsHandleCreated); 2012Assert.False(control.IsHandleCreated); 2038Assert.False(menu.IsDisposed); 2048Assert.False(cell.Frozen); 2050Assert.False(cell.IsInEditMode); 2053Assert.False(cell.Resizable); 2055Assert.False(cell.Selected); 2062Assert.False(cell.Visible); 2085Assert.False(cell.Frozen); 2086Assert.False(cell.HasStyle); 2087Assert.False(cell.IsInEditMode); 2090Assert.False(cell.Resizable); 2092Assert.False(cell.Selected); 2098Assert.False(cell.Visible); 2124Assert.False(menu.IsDisposed); 2134Assert.False(cell.Frozen); 2136Assert.False(cell.IsInEditMode); 2139Assert.False(cell.Resizable); 2141Assert.False(cell.Selected); 2148Assert.False(cell.Visible); 2171Assert.False(cell.Frozen); 2172Assert.False(cell.HasStyle); 2173Assert.False(cell.IsInEditMode); 2176Assert.False(cell.Resizable); 2178Assert.False(cell.Selected); 2184Assert.False(cell.Visible); 2513Assert.False(control.IsHandleCreated); 2562Assert.False(control.IsHandleCreated); 2580Assert.False(control.IsHandleCreated); 2606Assert.False(control.IsHandleCreated); 2623Assert.False(control.IsHandleCreated); 2674Assert.False(control.IsHandleCreated); 2706Assert.False(control.IsHandleCreated); 3178Assert.False(control.IsHandleCreated); 3202Assert.False(control.IsHandleCreated); 3226Assert.False(control.IsHandleCreated); 3240Assert.False(control.IsHandleCreated); 3261Assert.False(control.IsHandleCreated); 3833Assert.False(cell.MouseDownUnsharesRow(e)); 3889Assert.False(control.IsHandleCreated); 3909Assert.False(cell.MouseDownUnsharesRow(e)); 3917Assert.False(cell.MouseDownUnsharesRow(null)); 3929Assert.False(cell.MouseEnterUnsharesRow(rowIndex)); 3955Assert.False(cell.MouseEnterUnsharesRow(rowIndex)); 3957Assert.False(control.IsHandleCreated); 3968Assert.False(cell.MouseLeaveUnsharesRow(rowIndex)); 3994Assert.False(cell.MouseLeaveUnsharesRow(rowIndex)); 3996Assert.False(control.IsHandleCreated); 4039Assert.False(control.IsHandleCreated); 4048Assert.False(cell.MouseUpUnsharesRow(e)); 4079Assert.False(control.IsHandleCreated); 4088Assert.False(cell.MouseUpUnsharesRow(null)); 4097Assert.False(cell.MouseUpUnsharesRow(e)); 4186Assert.False(control.IsHandleCreated); 4271Assert.False(control.IsHandleCreated); 4339Assert.False(control.IsHandleCreated); 4398Assert.False(control.IsHandleCreated); 4486Assert.False(control.IsHandleCreated); 4569Assert.False(control.IsHandleCreated);
System\Windows\Forms\DataGridViewRowCancelEventArgsTests.cs (1)
23Assert.False(e.Cancel);
System\Windows\Forms\DataGridViewRowPrePaintEventArgsTests.cs (1)
34Assert.False(e.Handled);
System\Windows\Forms\DataGridViewRowTests.cs (106)
24Assert.False(row.Displayed); 27Assert.False(row.Frozen); 38Assert.False(row.IsNewRow); 40Assert.False(row.ReadOnly); 42Assert.False(row.Selected); 198Assert.False(control.IsHandleCreated); 203Assert.False(control.IsHandleCreated); 219Assert.False(control.IsHandleCreated); 224Assert.False(control.IsHandleCreated); 450Assert.False(control.IsHandleCreated); 456Assert.False(control.IsHandleCreated); 478Assert.False(control.IsHandleCreated); 484Assert.False(control.IsHandleCreated); 745Assert.False(row.Displayed); 819Assert.False(control.IsHandleCreated); 824Assert.False(control.IsHandleCreated); 1024Assert.False(control.IsHandleCreated); 1029Assert.False(control.IsHandleCreated); 1046Assert.False(control.IsHandleCreated); 1051Assert.False(control.IsHandleCreated); 1137Assert.False(control.Rows[0].Frozen); 1200Assert.False(control.IsHandleCreated); 1206Assert.False(control.IsHandleCreated); 1212Assert.False(control.IsHandleCreated); 1284Assert.False(row4.Frozen); 1291Assert.False(row4.Frozen); 1304Assert.False(row3.Frozen); 1305Assert.False(row4.Frozen); 1309Assert.False(row1.Frozen); 1310Assert.False(row2.Frozen); 1311Assert.False(row3.Frozen); 1312Assert.False(row4.Frozen); 1346Assert.False(row.Frozen); 1961Assert.False(control.IsHandleCreated); 1966Assert.False(control.IsHandleCreated); 2209Assert.False(row.IsNewRow); 2233Assert.False(row.IsNewRow); 2245Assert.False(row.IsNewRow); 2427Assert.False(control.IsHandleCreated); 2433Assert.False(control.IsHandleCreated); 2583Assert.False(control.IsHandleCreated); 2588Assert.False(control.IsHandleCreated); 2593Assert.False(control.IsHandleCreated); 2611Assert.False(row.ReadOnly); 2626Assert.False(row.ReadOnly); 2627Assert.False(cell1.ReadOnly); 2638Assert.False(row.ReadOnly); 2639Assert.False(cell1.ReadOnly); 2640Assert.False(cell2.ReadOnly); 2656Assert.False(row.ReadOnly); 2657Assert.False(row.Cells[0].ReadOnly); 2658Assert.False(row.Cells[1].ReadOnly); 2668Assert.False(row.ReadOnly); 2669Assert.False(row.Cells[0].ReadOnly); 2670Assert.False(row.Cells[1].ReadOnly); 2704Assert.False(row.ReadOnly); 2823Assert.False(control.IsHandleCreated); 2828Assert.False(control.IsHandleCreated); 2887Assert.False(control.IsHandleCreated); 2892Assert.False(control.IsHandleCreated); 2912Assert.False(row.Selected); 2932Assert.False(row.Selected); 2935Assert.False(row.Selected); 2967Assert.False((control.SelectedRows).Contains(row)); 2968Assert.False(row.Selected); 2987Assert.False(row2.Selected); 2991Assert.False(row1.Selected); 2996Assert.False(row1.Selected); 2997Assert.False(row2.Selected); 3001Assert.False(row1.Selected); 3002Assert.False(row2.Selected); 3021Assert.False(row2.Selected); 3030Assert.False(row1.Selected); 3035Assert.False(row1.Selected); 3036Assert.False(row2.Selected); 3145Assert.False(control.IsHandleCreated); 3150Assert.False(control.IsHandleCreated); 3167Assert.False(control.IsHandleCreated); 3172Assert.False(control.IsHandleCreated); 3188Assert.False(control.IsHandleCreated); 3193Assert.False(control.IsHandleCreated); 3210Assert.False(control.IsHandleCreated); 3215Assert.False(control.IsHandleCreated); 3288Assert.False(control.IsHandleCreated); 3294Assert.False(control.IsHandleCreated); 3300Assert.False(control.IsHandleCreated); 3324Assert.False(row.Visible); 3329Assert.False(row.Visible); 3910Assert.False(row.Frozen); 3914Assert.False(row.ReadOnly); 3916Assert.False(row.Selected); 3954Assert.False(row.ReadOnly); 3956Assert.False(row.Selected); 3957Assert.False(row.Visible); 3997Assert.False(row.ReadOnly); 3999Assert.False(row.Selected); 4000Assert.False(row.Visible); 4048Assert.False(row.Selected); 4049Assert.False(row.Visible); 4284Assert.False(control.IsHandleCreated); 4414Assert.False(control.IsHandleCreated); 4526Assert.False(control.IsHandleCreated); 4539Assert.False(control.IsHandleCreated); 4819Assert.False(e.IsLastVisibleRow); 4821Assert.False(e.Handled); 4896Assert.False(e.IsLastVisibleRow);
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (16)
16Assert.False(collection.IsReadOnly); 17Assert.False(collection.IsSynchronized); 36Assert.False(collection.IsReadOnly); 37Assert.False(collection.IsSynchronized); 112Assert.False(collection.Contains(control.Rows[1].Cells[0])); 114Assert.False(collection.Contains(new SubDataGridViewCell())); 115Assert.False(collection.Contains(null)); 130Assert.False(collection.Contains(dataGridViewCell)); 189Assert.False(iList.IsSynchronized); 211Assert.False(iList.IsSynchronized); 354Assert.False(iList.Contains(value)); 373Assert.False(iList.Contains(control.Rows[1].Cells[0])); 375Assert.False(iList.Contains(new SubDataGridViewCell())); 376Assert.False(iList.Contains(null)); 390Assert.False(enumerator.MoveNext()); 424Assert.False(enumerator.MoveNext());
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (16)
16Assert.False(collection.IsReadOnly); 17Assert.False(collection.IsSynchronized); 40Assert.False(collection.IsReadOnly); 41Assert.False(collection.IsSynchronized); 128Assert.False(collection.Contains(control.Columns[1])); 130Assert.False(collection.Contains(new DataGridViewColumn())); 131Assert.False(collection.Contains(null)); 146Assert.False(collection.Contains(dataGridViewColumn)); 209Assert.False(iList.IsSynchronized); 235Assert.False(iList.IsSynchronized); 390Assert.False(iList.Contains(value)); 413Assert.False(iList.Contains(control.Columns[1])); 415Assert.False(iList.Contains(new DataGridViewColumn())); 416Assert.False(iList.Contains(null)); 430Assert.False(enumerator.MoveNext()); 468Assert.False(enumerator.MoveNext());
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (16)
16Assert.False(collection.IsReadOnly); 17Assert.False(collection.IsSynchronized); 35Assert.False(collection.IsReadOnly); 36Assert.False(collection.IsSynchronized); 108Assert.False(collection.Contains(control.Rows[1])); 110Assert.False(collection.Contains(new DataGridViewRow())); 111Assert.False(collection.Contains(null)); 126Assert.False(collection.Contains(dataGridViewRow)); 184Assert.False(iList.IsSynchronized); 205Assert.False(iList.IsSynchronized); 345Assert.False(iList.Contains(value)); 363Assert.False(iList.Contains(control.Rows[1])); 365Assert.False(iList.Contains(new DataGridViewRow())); 366Assert.False(iList.Contains(null)); 380Assert.False(enumerator.MoveNext()); 413Assert.False(enumerator.MoveNext());
System\Windows\Forms\DataGridViewTests.cs (55)
77Assert.False(control.IsHandleCreated); 83Assert.False(control.IsHandleCreated); 140Assert.False(control.IsHandleCreated); 147Assert.False(control.IsHandleCreated); 516Assert.False(control.IsHandleCreated); 522Assert.False(control.IsHandleCreated); 830Assert.False(control.IsHandleCreated); 835Assert.False(control.IsHandleCreated); 851Assert.False(control.IsHandleCreated); 857Assert.False(control.IsHandleCreated); 870Assert.False(control.IsHandleCreated); 876Assert.False(control.IsHandleCreated); 991Assert.False(control.IsHandleCreated); 997Assert.False(control.IsHandleCreated); 1057Assert.False(control.IsHandleCreated); 1064Assert.False(control.IsHandleCreated); 1444Assert.False(control.IsHandleCreated); 1450Assert.False(control.IsHandleCreated); 1746Assert.False(control.IsHandleCreated); 1754Assert.False(control.IsHandleCreated); 1766Assert.False(control.IsHandleCreated); 1781Assert.False(control.IsHandleCreated); 1873Assert.False(control.IsHandleCreated); 1946Assert.False(control.IsHandleCreated); 1952Assert.False(control.IsHandleCreated); 2014Assert.False(control.IsHandleCreated); 2020Assert.False(control.IsHandleCreated); 2042Assert.False(control.IsHandleCreated); 2048Assert.False(control.IsHandleCreated); 2088Assert.False(control.IsHandleCreated); 2094Assert.False(control.IsHandleCreated); 2130Assert.False(control.IsHandleCreated); 2137Assert.False(control.IsHandleCreated); 2220Assert.False(control.IsHandleCreated); 2227Assert.False(control.IsHandleCreated); 2248Assert.False(control.IsHandleCreated); 2254Assert.False(control.IsHandleCreated); 2294Assert.False(control.IsHandleCreated); 2301Assert.False(control.IsHandleCreated); 2420Assert.False(control.IsHandleCreated); 2426Assert.False(control.IsHandleCreated); 2487Assert.False(control.IsHandleCreated); 2493Assert.False(control.IsHandleCreated); 2515Assert.False(control.IsHandleCreated); 2521Assert.False(control.IsHandleCreated); 2561Assert.False(control.IsHandleCreated); 2567Assert.False(control.IsHandleCreated); 2607Assert.False(control.IsHandleCreated); 2614Assert.False(control.IsHandleCreated); 2701Assert.False(control.IsHandleCreated); 2708Assert.False(control.IsHandleCreated); 2729Assert.False(control.IsHandleCreated); 2735Assert.False(control.IsHandleCreated); 2775Assert.False(control.IsHandleCreated); 2782Assert.False(control.IsHandleCreated);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (97)
20Assert.False(control.AcceptsReturn); 21Assert.False(control.AcceptsTab); 26Assert.False(control.AllowDrop); 40Assert.False(control.CanFocus); 43Assert.False(control.CanUndo); 44Assert.False(control.Capture); 50Assert.False(control.ContainsFocus); 63Assert.False(control.DesignMode); 66Assert.False(control.DoubleBuffered); 70Assert.False(control.EditingControlValueChanged); 75Assert.False(control.Focused); 79Assert.False(control.HasChildren); 82Assert.False(control.IsAccessible); 83Assert.False(control.IsMirrored); 93Assert.False(control.Modified); 94Assert.False(control.Multiline); 101Assert.False(control.ReadOnly); 102Assert.False(control.RecreatingHandle); 104Assert.False(control.RepositionEditingControlOnValueChange); 105Assert.False(control.ResizeRedraw); 118Assert.False(control.TabStop); 124Assert.False(control.UseSystemPasswordChar); 125Assert.False(control.UseWaitCursor); 130Assert.False(control.IsHandleCreated); 150Assert.False(control.IsHandleCreated); 168Assert.False(control.IsHandleCreated); 173Assert.False(control.IsHandleCreated); 212Assert.False(control.IsHandleCreated); 220Assert.False(control.IsHandleCreated); 243Assert.False(control.IsHandleCreated); 252Assert.False(control.IsHandleCreated); 269Assert.False(control.IsHandleCreated); 278Assert.False(control.IsHandleCreated); 300Assert.False(control.IsHandleCreated); 305Assert.False(control.IsHandleCreated); 317Assert.False(control.IsHandleCreated); 322Assert.False(control.IsHandleCreated); 327Assert.False(control.IsHandleCreated); 344Assert.False(control.IsHandleCreated); 352Assert.False(control.IsHandleCreated); 375Assert.False(control.IsHandleCreated); 384Assert.False(control.IsHandleCreated); 401Assert.False(control.IsHandleCreated); 410Assert.False(control.IsHandleCreated); 750Assert.False(control.IsHandleCreated); 962Assert.False(control.IsHandleCreated); 1062Assert.False(control.IsHandleCreated); 1066Assert.False(control.IsHandleCreated); 1131Assert.False(control.GetTopLevel()); 1152Assert.False(control.IsHandleCreated); 1159Assert.False(control.IsHandleCreated); 1219Assert.False(control.IsHandleCreated); 1226Assert.False(control.IsHandleCreated); 1251Assert.False(control.IsHandleCreated); 1258Assert.False(control.IsHandleCreated); 1370Assert.False(control.IsHandleCreated); 1377Assert.False(control.IsHandleCreated); 1401Assert.False(control.IsHandleCreated); 1409Assert.False(control.IsHandleCreated); 1435Assert.False(control.IsHandleCreated); 1443Assert.False(control.IsHandleCreated); 1462Assert.False(control.IsHandleCreated); 1469Assert.False(control.IsHandleCreated); 1476Assert.False(control.IsHandleCreated); 1495Assert.False(control.IsHandleCreated); 1502Assert.False(control.IsHandleCreated); 1509Assert.False(control.IsHandleCreated); 1580Assert.False(control.IsHandleCreated); 1627Assert.False(control.IsHandleCreated); 1685Assert.False(control.IsHandleCreated); 1714Assert.False(control.IsHandleCreated); 1719Assert.False(control.IsHandleCreated); 1720Assert.False(control.ProcessKeyEventArgs(ref charM)); 1722Assert.False(control.IsHandleCreated); 1725Assert.False(control.IsHandleCreated); 1730Assert.False(control.IsHandleCreated); 1733Assert.False(control.IsHandleCreated); 1734Assert.False(control.ProcessKeyEventArgs(ref charM)); 1736Assert.False(control.IsHandleCreated); 1737Assert.False(control.ProcessKeyEventArgs(ref charM)); 1739Assert.False(control.IsHandleCreated); 1742Assert.False(control.IsHandleCreated); 1783Assert.False(control.IsHandleCreated); 1789Assert.False(control.IsHandleCreated); 1793Assert.False(control.IsHandleCreated); 1797Assert.False(control.IsHandleCreated); 1803Assert.False(control.IsHandleCreated); 1807Assert.False(control.IsHandleCreated); 1811Assert.False(control.IsHandleCreated); 1815Assert.False(control.IsHandleCreated); 1819Assert.False(control.IsHandleCreated); 1871Assert.False(control.IsHandleCreated); 1918Assert.False(control.IsHandleCreated); 1976Assert.False(control.IsHandleCreated); 2005Assert.False(control.IsHandleCreated); 2030Assert.False(control.IsHandleCreated); 2072Assert.False(control.IsHandleCreated);
System\Windows\Forms\DateTimePickerTests.cs (21)
28Assert.False(control.AllowDrop); 30Assert.False(control.AutoSize); 44Assert.False(control.CanFocus); 47Assert.False(control.Capture); 53Assert.False(control.ContainsFocus); 57Assert.False(control.Created); 67Assert.False(control.DesignMode); 70Assert.False(control.DoubleBuffered); 75Assert.False(control.Focused); 80Assert.False(control.HasChildren); 84Assert.False(control.IsAccessible); 85Assert.False(control.IsMirrored); 101Assert.False(control.RecreatingHandle); 103Assert.False(control.ResizeRedraw); 106Assert.False(control.RightToLeftLayout); 107Assert.False(control.ShowCheckBox); 110Assert.False(control.ShowUpDown); 118Assert.False(control.UseWaitCursor); 123Assert.False(control.IsHandleCreated); 143Assert.False(control.IsHandleCreated); 894Assert.False(control.GetTopLevel());
System\Windows\Forms\Design\ComponentEditorFormTests.cs (37)
25Assert.False(control.AllowDrop); 26Assert.False(control.AllowTransparency); 36Assert.False(control.AutoScroll); 40Assert.False(control.AutoSize); 50Assert.False(control.CanEnableIme); 51Assert.False(control.CanFocus); 53Assert.False(control.CanSelect); 54Assert.False(control.Capture); 59Assert.False(control.ContainsFocus); 64Assert.False(control.Created); 75Assert.False(control.DesignMode); 87Assert.False(control.DoubleBuffered); 91Assert.False(control.Focused); 98Assert.False(control.HelpButton); 101Assert.False(control.HScroll); 105Assert.False(control.IsAccessible); 106Assert.False(control.IsMdiChild); 107Assert.False(control.IsMdiContainer); 108Assert.False(control.IsMirrored); 109Assert.False(control.IsRestrictedWindow); 110Assert.False(control.KeyPreview); 120Assert.False(control.MaximizeBox); 122Assert.False(control.MinimizeBox); 124Assert.False(control.Modal); 133Assert.False(control.RecreatingHandle); 135Assert.False(control.ResizeRedraw); 139Assert.False(control.RightToLeftLayout); 142Assert.False(control.ShowInTaskbar); 144Assert.False(control.ShowWithoutActivation); 155Assert.False(control.TopMost); 157Assert.False(control.UseWaitCursor); 158Assert.False(control.Visible); 161Assert.False(control.VScroll); 165Assert.False(control.IsHandleCreated); 186Assert.False(control.IsHandleCreated); 327Assert.False(control.IsHandleCreated); 333Assert.False(control.IsHandleCreated);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (79)
22Assert.False(control.AllowDrop); 24Assert.False(control.AutoScroll); 28Assert.False(control.AutoSize); 38Assert.False(control.CanFocus); 40Assert.False(control.CanSelect); 41Assert.False(control.Capture); 45Assert.False(control.CommitOnDeactivate); 48Assert.False(control.ContainsFocus); 52Assert.False(control.Created); 61Assert.False(control.DesignMode); 70Assert.False(control.DoubleBuffered); 75Assert.False(control.Focused); 79Assert.False(control.HasChildren); 83Assert.False(control.HScroll); 88Assert.False(control.IsAccessible); 89Assert.False(control.IsMirrored); 94Assert.False(control.LoadRequired); 104Assert.False(control.RecreatingHandle); 106Assert.False(control.ResizeRedraw); 114Assert.False(control.TabStop); 119Assert.False(control.UseWaitCursor); 120Assert.False(control.Visible); 123Assert.False(control.VScroll); 126Assert.False(control.IsHandleCreated); 146Assert.False(control.IsHandleCreated); 160Assert.False(control.IsHandleCreated); 166Assert.False(control.IsHandleCreated); 172Assert.False(control.IsHandleCreated); 193Assert.False(control.AutoSize); 198Assert.False(control.AutoSize); 209Assert.False(control.AutoSize); 222Assert.False(control.IsHandleCreated); 227Assert.False(control.IsHandleCreated); 232Assert.False(control.IsHandleCreated); 254Assert.False(control.IsHandleCreated); 260Assert.False(control.IsHandleCreated); 272Assert.False(control.IsHandleCreated); 277Assert.False(control.IsHandleCreated); 282Assert.False(control.IsHandleCreated); 294Assert.False(control.IsHandleCreated); 299Assert.False(control.IsHandleCreated); 306Assert.False(control.IsHandleCreated); 321Assert.False(control.IsHandleCreated); 327Assert.False(control.IsHandleCreated); 339Assert.False(control.IsHandleCreated); 344Assert.False(control.IsHandleCreated); 349Assert.False(control.IsHandleCreated); 368Assert.False(control.IsHandleCreated); 373Assert.False(control.IsHandleCreated); 386Assert.False(control.IsHandleCreated); 392Assert.False(control.IsHandleCreated); 477Assert.False(control.LoadRequired); 479Assert.False(control.IsHandleCreated); 485Assert.False(control.LoadRequired); 487Assert.False(control.IsHandleCreated); 502Assert.False(control.IsHandleCreated); 509Assert.False(control.IsHandleCreated); 524Assert.False(control.LoadRequired); 526Assert.False(control.IsHandleCreated); 531Assert.False(control.LoadRequired); 532Assert.False(control.Visible); 533Assert.False(control.IsHandleCreated); 539Assert.False(control.LoadRequired); 540Assert.False(control.Visible); 541Assert.False(control.IsHandleCreated); 556Assert.False(control.Visible); 557Assert.False(control.IsHandleCreated); 564Assert.False(control.Visible); 565Assert.False(control.IsHandleCreated); 619Assert.False(control.IsHandleCreated); 626Assert.False(control.IsLoading()); 627Assert.False(control.IsHandleCreated); 709Assert.False(control.GetTopLevel()); 820Assert.False(control.LoadRequired); 828Assert.False(control.LoadRequired); 836Assert.False(control.LoadRequired); 844Assert.False(control.LoadRequired); 861Assert.False(control.SupportsHelp()); 864Assert.False(control.SupportsHelp());
System\Windows\Forms\Design\WindowsFormsComponentEditorTests.cs (3)
30Assert.False(editor.EditComponent(component, owner)); 51Assert.False(editor.EditComponent(context, component)); 73Assert.False(editor.EditComponent(context, component, owner));
System\Windows\Forms\DrawListViewColumnHeaderEventArgsTests.cs (1)
34Assert.False(e.DrawDefault);
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (1)
32Assert.False(e.DrawDefault);
System\Windows\Forms\DrawListViewSubItemEventArgsTests.cs (1)
35Assert.False(e.DrawDefault);
System\Windows\Forms\ErrorProviderTests.cs (20)
24Assert.False(provider.DesignMode); 47Assert.False(provider.DesignMode); 74Assert.False(provider.DesignMode); 309Assert.False(property.ShouldSerializeValue(provider)); 320Assert.False(property.CanResetValue(provider)); 511Assert.False(property.ShouldSerializeValue(provider)); 522Assert.False(property.CanResetValue(provider)); 528Assert.False(property.CanResetValue(provider)); 558Assert.False(property.ShouldSerializeValue(provider)); 570Assert.False(property.CanResetValue(provider)); 577Assert.False(property.CanResetValue(provider)); 625Assert.False(provider.RightToLeft); 630Assert.False(provider.RightToLeft); 641Assert.False(provider.RightToLeft); 1220Assert.False(provider.HasErrors); 1244Assert.False(provider.HasErrors); 1257Assert.False(provider.HasErrors); 1270Assert.False(provider.HasErrors); 1286Assert.False(provider.HasErrors); 1309Assert.False(provider.HasErrors);
System\Windows\Forms\FileDialogTests.cs (27)
19Assert.False(dialog.CheckFileExists); 24Assert.False(dialog.DesignMode); 35Assert.False(dialog.OkRequiresInteraction); 37Assert.False(dialog.RestoreDirectory); 38Assert.False(dialog.ShowHelp); 39Assert.False(dialog.ShowHiddenFiles); 40Assert.False(dialog.SupportMultiDottedExtensions); 53Assert.False(dialog.AddExtension); 57Assert.False(dialog.CheckFileExists); 58Assert.False(dialog.CheckPathExists); 62Assert.False(dialog.DesignMode); 73Assert.False(dialog.OkRequiresInteraction); 75Assert.False(dialog.RestoreDirectory); 76Assert.False(dialog.ShowHelp); 77Assert.False(dialog.ShowHiddenFiles); 79Assert.False(dialog.SupportMultiDottedExtensions); 611Assert.False(dialog.AutoUpgradeEnabled); 613Assert.False(dialog.CheckFileExists); 618Assert.False(dialog.DesignMode); 629Assert.False(dialog.OkRequiresInteraction); 631Assert.False(dialog.RestoreDirectory); 632Assert.False(dialog.ShowHelp); 633Assert.False(dialog.ShowHiddenFiles); 635Assert.False(dialog.SupportMultiDottedExtensions); 672Assert.False(o.lpfnHook is null); 729Assert.False(o.lpfnHook is null); 768Assert.False(o.lpfnHook is null);
System\Windows\Forms\FlowLayoutPanelTests.cs (45)
21Assert.False(control.AllowDrop); 23Assert.False(control.AutoScroll); 27Assert.False(control.AutoSize); 37Assert.False(control.CanFocus); 39Assert.False(control.CanSelect); 40Assert.False(control.Capture); 44Assert.False(control.Created); 46Assert.False(control.ContainsFocus); 58Assert.False(control.DesignMode); 67Assert.False(control.DoubleBuffered); 72Assert.False(control.Focused); 76Assert.False(control.HasChildren); 80Assert.False(control.HScroll); 83Assert.False(control.IsAccessible); 84Assert.False(control.IsMirrored); 96Assert.False(control.RecreatingHandle); 98Assert.False(control.ResizeRedraw); 106Assert.False(control.TabStop); 110Assert.False(control.UseWaitCursor); 114Assert.False(control.VScroll); 118Assert.False(control.IsHandleCreated); 138Assert.False(control.IsHandleCreated); 161Assert.False(control.IsHandleCreated); 167Assert.False(control.IsHandleCreated); 196Assert.False(control.IsHandleCreated); 202Assert.False(control.IsHandleCreated); 208Assert.False(control.IsHandleCreated); 237Assert.False(extenderProvider.CanExtend(extendee)); 252Assert.False(control.GetFlowBreak(child)); 311Assert.False(control.GetTopLevel()); 329Assert.False(control.IsHandleCreated); 330Assert.False(child.IsHandleCreated); 337Assert.False(control.IsHandleCreated); 338Assert.False(child.IsHandleCreated); 345Assert.False(control.IsHandleCreated); 346Assert.False(child.IsHandleCreated); 382Assert.False(control.IsHandleCreated); 383Assert.False(child.IsHandleCreated); 384Assert.False(parent.IsHandleCreated); 392Assert.False(control.IsHandleCreated); 393Assert.False(child.IsHandleCreated); 394Assert.False(parent.IsHandleCreated); 402Assert.False(control.IsHandleCreated); 403Assert.False(child.IsHandleCreated); 404Assert.False(parent.IsHandleCreated);
System\Windows\Forms\FlowLayoutSettingsTests.cs (18)
34Assert.False(control.IsHandleCreated); 40Assert.False(control.IsHandleCreated); 77Assert.False(control.IsHandleCreated); 83Assert.False(control.IsHandleCreated); 89Assert.False(control.IsHandleCreated); 100Assert.False(settings.GetFlowBreak(new Control())); 144Assert.False(control.IsHandleCreated); 145Assert.False(child.IsHandleCreated); 152Assert.False(control.IsHandleCreated); 153Assert.False(child.IsHandleCreated); 160Assert.False(control.IsHandleCreated); 161Assert.False(child.IsHandleCreated); 201Assert.False(control.IsHandleCreated); 202Assert.False(child.IsHandleCreated); 210Assert.False(control.IsHandleCreated); 211Assert.False(child.IsHandleCreated); 219Assert.False(control.IsHandleCreated); 220Assert.False(child.IsHandleCreated);
System\Windows\Forms\FolderBrowserDialogTests.cs (8)
18Assert.False(dialog.OkRequiresInteraction); 19Assert.False(dialog.Multiselect); 23Assert.False(dialog.ShowHiddenFiles); 28Assert.False(dialog.UseDescriptionForTitle); 291Assert.False(dialog.AutoUpgradeEnabled); 296Assert.False(dialog.OkRequiresInteraction); 297Assert.False(dialog.Multiselect); 301Assert.False(dialog.ShowHiddenFiles);
System\Windows\Forms\FontDialogTests.cs (26)
22Assert.False(dialog.DesignMode); 25Assert.False(dialog.FixedPitchOnly); 27Assert.False(dialog.FontMustExist); 31Assert.False(dialog.ScriptsOnly); 32Assert.False(dialog.ShowApply); 33Assert.False(dialog.ShowColor); 35Assert.False(dialog.ShowHelp); 52Assert.False(dialog.DesignMode); 55Assert.False(dialog.FixedPitchOnly); 57Assert.False(dialog.FontMustExist); 61Assert.False(dialog.ScriptsOnly); 62Assert.False(dialog.ShowApply); 63Assert.False(dialog.ShowColor); 64Assert.False(dialog.ShowEffects); 65Assert.False(dialog.ShowHelp); 333Assert.False(property.CanResetValue(dialog)); 342Assert.False(property.CanResetValue(dialog)); 350Assert.False(property.ShouldSerializeValue(dialog)); 359Assert.False(property.ShouldSerializeValue(dialog)); 611Assert.False(dialog.DesignMode); 614Assert.False(dialog.FixedPitchOnly); 616Assert.False(dialog.FontMustExist); 620Assert.False(dialog.ScriptsOnly); 621Assert.False(dialog.ShowApply); 622Assert.False(dialog.ShowColor); 624Assert.False(dialog.ShowHelp);
System\Windows\Forms\Form.ControlCollectionTests.cs (1)
15Assert.False(collection.IsReadOnly);
System\Windows\Forms\FormTests.cs (105)
23Assert.False(control.AllowDrop); 24Assert.False(control.AllowTransparency); 34Assert.False(control.AutoScroll); 38Assert.False(control.AutoSize); 48Assert.False(control.CanEnableIme); 49Assert.False(control.CanFocus); 51Assert.False(control.CanSelect); 52Assert.False(control.Capture); 58Assert.False(control.ContainsFocus); 63Assert.False(control.Created); 74Assert.False(control.DesignMode); 89Assert.False(control.DoubleBuffered); 93Assert.False(control.Focused); 98Assert.False(control.HasChildren); 100Assert.False(control.HelpButton); 103Assert.False(control.HScroll); 107Assert.False(control.IsAccessible); 108Assert.False(control.IsMdiChild); 109Assert.False(control.IsMdiContainer); 110Assert.False(control.IsMirrored); 111Assert.False(control.IsRestrictedWindow); 112Assert.False(control.KeyPreview); 126Assert.False(control.Modal); 135Assert.False(control.RecreatingHandle); 137Assert.False(control.ResizeRedraw); 141Assert.False(control.RightToLeftLayout); 146Assert.False(control.ShowWithoutActivation); 157Assert.False(control.TopMost); 159Assert.False(control.UseWaitCursor); 160Assert.False(control.Visible); 163Assert.False(control.VScroll); 167Assert.False(control.IsHandleCreated); 187Assert.False(control.IsHandleCreated); 197Assert.False(hSmallIcon.IsNull); 200Assert.False(hLargeIcon.IsNull); 204Assert.False(extendedStyle.HasFlag(WINDOW_EX_STYLE.WS_EX_DLGMODALFRAME)); 317Assert.False(control.IsHandleCreated); 324Assert.False(control.IsHandleCreated); 331Assert.False(control.IsHandleCreated); 353Assert.False(control.IsHandleCreated); 360Assert.False(control.IsHandleCreated); 367Assert.False(control.IsHandleCreated); 382Assert.False(control.IsHandleCreated); 389Assert.False(control.IsHandleCreated); 396Assert.False(control.IsHandleCreated); 666Assert.False(control.IsHandleCreated); 673Assert.False(control.IsHandleCreated); 940Assert.False(control.IsHandleCreated); 946Assert.False(control.IsHandleCreated); 964Assert.False(control.IsHandleCreated); 971Assert.False(control.IsHandleCreated); 1055Assert.False(extendedStyle.HasFlag(WINDOW_EX_STYLE.WS_EX_DLGMODALFRAME)); 1087Assert.False(control.IsHandleCreated); 1093Assert.False(control.IsHandleCreated); 1107Assert.False(control.IsHandleCreated); 1113Assert.False(control.IsHandleCreated); 1254Assert.False(menuStrip.Items[0].Visible); 1258Assert.False(hSmallIcon.IsNull); 1260Assert.False(hLargeIcon.IsNull); 1286Assert.False(control.IsHandleCreated); 1293Assert.False(control.IsHandleCreated); 1320Assert.False(control.IsHandleCreated); 1327Assert.False(control.IsHandleCreated); 1353Assert.False(control.IsHandleCreated); 1360Assert.False(control.IsHandleCreated); 1386Assert.False(control.IsHandleCreated); 1392Assert.False(control.IsHandleCreated); 1408Assert.False(control.IsHandleCreated); 1415Assert.False(control.IsHandleCreated); 1431Assert.False(control.AllowTransparency); 1441Assert.False(control.AllowTransparency); 2012Assert.False(control.Visible); 2013Assert.False(control.IsHandleCreated); 2017Assert.False(control.Visible); 2018Assert.False(control.IsHandleCreated); 2055Assert.False(control.Visible); 2056Assert.False(control.IsHandleCreated); 2060Assert.False(control.Visible); 2061Assert.False(control.IsHandleCreated); 2074Assert.False(control.Visible); 2075Assert.False(control.IsHandleCreated); 2079Assert.False(control.Visible); 2080Assert.False(control.IsHandleCreated); 2097Assert.False(control.Visible); 2098Assert.False(control.IsHandleCreated); 2102Assert.False(control.Visible); 2103Assert.False(control.IsHandleCreated); 2107Assert.False(control.Visible); 2108Assert.False(control.IsHandleCreated); 2112Assert.False(control.Visible); 2113Assert.False(control.IsHandleCreated); 2214Assert.False(control.Visible); 2219Assert.False(control.Visible); 2230Assert.False(control.Visible); 2256Assert.False(control.Visible); 2261Assert.False(control.Visible); 2266Assert.False(control.Visible); 2271Assert.False(control.Visible); 2276Assert.False(control.Visible); 2282Assert.False(control.Visible); 2482Assert.False(control.IsHandleCreated); 2488Assert.False(control.IsHandleCreated); 2535Assert.False(control.IsHandleCreated); 2541Assert.False(control.IsHandleCreated); 2616Assert.False(child.IsHandleCreated);
System\Windows\Forms\GridItemCollectionTests.cs (2)
25Assert.False(collection.IsSynchronized); 46Assert.False(enumerator.MoveNext());
System\Windows\Forms\GridItemTests.cs (2)
15Assert.False(item.Expandable); 22Assert.False(item.Expanded);
System\Windows\Forms\GroupBoxTests.cs (68)
23Assert.False(control.AllowDrop); 25Assert.False(control.AutoSize); 34Assert.False(control.CanFocus); 36Assert.False(control.CanSelect); 37Assert.False(control.Capture); 42Assert.False(control.ContainsFocus); 46Assert.False(control.Created); 55Assert.False(control.DesignMode); 58Assert.False(control.DoubleBuffered); 63Assert.False(control.Focused); 67Assert.False(control.HasChildren); 71Assert.False(control.IsAccessible); 72Assert.False(control.IsMirrored); 84Assert.False(control.RecreatingHandle); 94Assert.False(control.TabStop); 99Assert.False(control.UseWaitCursor); 103Assert.False(control.IsHandleCreated); 123Assert.False(control.IsHandleCreated); 151Assert.False(control.IsHandleCreated); 163Assert.False(control.IsHandleCreated); 168Assert.False(control.IsHandleCreated); 173Assert.False(control.IsHandleCreated); 187Assert.False(control.IsHandleCreated); 193Assert.False(control.IsHandleCreated); 199Assert.False(control.IsHandleCreated); 220Assert.False(control.AutoSize); 225Assert.False(control.AutoSize); 236Assert.False(control.AutoSize); 251Assert.False(control.IsHandleCreated); 258Assert.False(control.IsHandleCreated); 290Assert.False(control.IsHandleCreated); 292Assert.False(parent.IsHandleCreated); 299Assert.False(control.IsHandleCreated); 301Assert.False(parent.IsHandleCreated); 338Assert.False(control.IsHandleCreated); 340Assert.False(parent.IsHandleCreated); 347Assert.False(control.IsHandleCreated); 349Assert.False(parent.IsHandleCreated); 634Assert.False(control.IsHandleCreated); 644Assert.False(control.IsHandleCreated); 679Assert.False(control.IsHandleCreated); 689Assert.False(control.IsHandleCreated); 966Assert.False(control.IsHandleCreated); 971Assert.False(control.IsHandleCreated); 976Assert.False(control.IsHandleCreated); 1034Assert.False(control.TabStop); 1039Assert.False(control.TabStop); 1050Assert.False(control.TabStop); 1063Assert.False(control.IsHandleCreated); 1068Assert.False(control.IsHandleCreated); 1081Assert.False(control.IsHandleCreated); 1086Assert.False(control.IsHandleCreated); 1198Assert.False(control.IsHandleCreated); 1203Assert.False(control.IsHandleCreated); 1208Assert.False(control.IsHandleCreated); 1243Assert.False(control.IsHandleCreated); 1250Assert.False(control.IsHandleCreated); 1257Assert.False(control.IsHandleCreated); 1446Assert.False(control.GetTopLevel()); 1516Assert.False(control.IsHandleCreated); 1524Assert.False(control.IsHandleCreated); 1874Assert.False(control.IsHandleCreated); 1880Assert.False(control.IsHandleCreated); 2008Assert.False(control.ProcessMnemonic(charCode)); 2020Assert.False(control.ProcessMnemonic(charCode)); 2036Assert.False(control.ProcessMnemonic(charCode)); 2052Assert.False(control.ProcessMnemonic(charCode)); 2165Assert.False(control.IsHandleCreated);
System\Windows\Forms\HandledMouseEventArgsTests.cs (1)
24Assert.False(e.Handled);
System\Windows\Forms\HelpEventArgsTests.cs (1)
24Assert.False(e.Handled);
System\Windows\Forms\HelpProviderTests.cs (8)
17Assert.False(provider.DesignMode); 132Assert.False(provider.GetShowHelp(new Control())); 150Assert.False(provider.GetShowHelp(control)); 151Assert.False(provider.ShouldSerializeShowHelp(control)); 160Assert.False(provider.GetShowHelp(control)); 161Assert.False(provider.ShouldSerializeShowHelp(control)); 490Assert.False(provider.ShouldSerializeShowHelp(new Control())); 551Assert.False(e.Handled);
System\Windows\Forms\HScrollBarTests.cs (22)
21Assert.False(control.AllowDrop); 23Assert.False(control.AutoSize); 33Assert.False(control.CanEnableIme); 34Assert.False(control.CanFocus); 37Assert.False(control.Capture); 46Assert.False(control.ContainsFocus); 50Assert.False(control.Created); 60Assert.False(control.DesignMode); 66Assert.False(control.DoubleBuffered); 70Assert.False(control.Focused); 74Assert.False(control.HasChildren); 78Assert.False(control.IsAccessible); 79Assert.False(control.IsMirrored); 95Assert.False(control.RecreatingHandle); 97Assert.False(control.ResizeRedraw); 108Assert.False(control.TabStop); 112Assert.False(control.UseWaitCursor); 117Assert.False(control.IsHandleCreated); 137Assert.False(control.IsHandleCreated); 149Assert.False(control.IsHandleCreated); 154Assert.False(control.IsHandleCreated); 241Assert.False(control.GetTopLevel());
System\Windows\Forms\HScrollPropertiesTests.cs (1)
26Assert.False(properties.Visible);
System\Windows\Forms\HtmlDocumentTests.cs (8)
565Assert.False(domDocument is IHTMLDOMNode.Interface); 684Assert.False(document.Focused); 704Assert.False(document.Focused); 1064Assert.False(document.RightToLeft); 1646Assert.False(document.Equals(newDocument)); 1648Assert.False(document.Equals(null)); 1965Assert.False(document == newDocument); 1984Assert.False(document != document);
System\Windows\Forms\HtmlElementTests.cs (7)
98Assert.False(element.CanHaveChildren); 1814Assert.False(element1.Equals(element3)); 1815Assert.False(element1.Equals(new object())); 1816Assert.False(element1.Equals(null)); 2509Assert.False(element1 == element3); 2530Assert.False(element1 != element1); 2531Assert.False(element1 != element2);
System\Windows\Forms\ImageList.ImageCollectionTests.cs (85)
39Assert.False(collection.IsReadOnly); 62Assert.False(list.HandleCreated); 447Assert.False(collection.Empty); 449Assert.False(list.HandleCreated); 454Assert.False(collection.Empty); 456Assert.False(list.HandleCreated); 462Assert.False(list.HandleCreated); 467Assert.False(collection.Empty); 469Assert.False(list.HandleCreated); 474Assert.False(collection.Empty); 476Assert.False(list.HandleCreated); 492Assert.False(collection.Empty); 499Assert.False(collection.Empty); 512Assert.False(collection.Empty); 519Assert.False(collection.Empty); 536Assert.False(collection.Empty); 538Assert.False(list.HandleCreated); 543Assert.False(collection.Empty); 545Assert.False(list.HandleCreated); 561Assert.False(collection.Empty); 568Assert.False(collection.Empty); 605Assert.False(collection.Empty); 607Assert.False(list.HandleCreated); 612Assert.False(collection.Empty); 614Assert.False(list.HandleCreated); 630Assert.False(collection.Empty); 637Assert.False(collection.Empty); 662Assert.False(collection.Empty); 664Assert.False(list.HandleCreated); 669Assert.False(collection.Empty); 671Assert.False(list.HandleCreated); 677Assert.False(list.HandleCreated); 682Assert.False(collection.Empty); 684Assert.False(list.HandleCreated); 689Assert.False(collection.Empty); 691Assert.False(list.HandleCreated); 707Assert.False(collection.Empty); 714Assert.False(collection.Empty); 727Assert.False(collection.Empty); 734Assert.False(collection.Empty); 751Assert.False(collection.Empty); 753Assert.False(list.HandleCreated); 758Assert.False(collection.Empty); 760Assert.False(list.HandleCreated); 776Assert.False(collection.Empty); 783Assert.False(collection.Empty); 824Assert.False(collection.Empty); 826Assert.False(list.HandleCreated); 831Assert.False(collection.Empty); 833Assert.False(list.HandleCreated); 849Assert.False(collection.Empty); 856Assert.False(collection.Empty); 913Assert.False(collection.Empty); 915Assert.False(list.HandleCreated); 931Assert.False(collection.Empty); 978Assert.False(list.HandleCreated); 985Assert.False(list.HandleCreated); 1000Assert.False(list.HandleCreated); 1007Assert.False(list.HandleCreated); 1095Assert.False(collection.ContainsKey("NoSuchKey")); 1105Assert.False(collection.ContainsKey(key)); 1108Assert.False(collection.ContainsKey(key)); 1109Assert.False(collection.ContainsKey("NoSuchKey")); 1119Assert.False(list.HandleCreated); 1124Assert.False(enumerator.MoveNext()); 1144Assert.False(enumerator.MoveNext()); 1181Assert.False(enumerator.MoveNext()); 1219Assert.False(enumerator.MoveNext()); 1319Assert.False(collection.Empty); 1325Assert.False(collection.Empty); 1357Assert.False(collection.Empty); 1365Assert.False(collection.Empty); 1417Assert.False(collection.Empty); 1423Assert.False(collection.Empty); 1429Assert.False(collection.Empty); 1461Assert.False(collection.Empty); 1469Assert.False(collection.Empty); 1477Assert.False(collection.Empty); 1512Assert.False(collection.Empty); 1521Assert.False(collection.Empty); 1551Assert.False(list.HandleCreated); 1556Assert.False(list.HandleCreated); 1609Assert.False(collection.IsFixedSize); 1617Assert.False(collection.IsSynchronized); 1755Assert.False(collection.Contains(value));
System\Windows\Forms\ImageListTests.cs (46)
27Assert.False(list.HandleCreated); 45Assert.False(list.HandleCreated); 63Assert.False(list.HandleCreated); 68Assert.False(list.HandleCreated); 81Assert.False(list.HandleCreated); 87Assert.False(list.HandleCreated); 93Assert.False(list.HandleCreated); 100Assert.False(list.HandleCreated); 201Assert.False(property.ShouldSerializeValue(list)); 244Assert.False(list.HandleCreated); 249Assert.False(list.HandleCreated); 263Assert.False(list.HandleCreated); 269Assert.False(list.HandleCreated); 275Assert.False(list.HandleCreated); 282Assert.False(list.HandleCreated); 395Assert.False(property.ShouldSerializeValue(list)); 435Assert.False(list.HandleCreated); 512Assert.False(list.HandleCreated); 537Assert.False(list.HandleCreated); 586Assert.False(list.HandleCreated); 587Assert.False(sourceList.HandleCreated); 611Assert.False(sourceList.HandleCreated); 622Assert.False(list.HandleCreated); 628Assert.False(list.HandleCreated); 640Assert.False(list.HandleCreated); 647Assert.False(list.HandleCreated); 684Assert.False(list.HandleCreated); 689Assert.False(list.HandleCreated); 703Assert.False(list.HandleCreated); 709Assert.False(list.HandleCreated); 715Assert.False(list.HandleCreated); 722Assert.False(list.HandleCreated); 790Assert.False(property.CanResetValue(list)); 807Assert.False(property.ShouldSerializeValue(list)); 811Assert.False(property.ShouldSerializeValue(list)); 820Assert.False(list.HandleCreated); 824Assert.False(list.HandleCreated); 837Assert.False(list.HandleCreated); 844Assert.False(list.HandleCreated); 846Assert.False(list.HandleCreated); 860Assert.False(list.HandleCreated); 865Assert.False(list.HandleCreated); 876Assert.False(list.HandleCreated); 880Assert.False(list.HandleCreated); 895Assert.False(list.HandleCreated); 900Assert.False(list.HandleCreated);
System\Windows\Forms\InputLanguageChangingEventArgsTests.cs (1)
25Assert.False(e.Cancel);
System\Windows\Forms\KeyEventArgsTests.cs (2)
31Assert.False(e.Handled); 32Assert.False(e.SuppressKeyPress);
System\Windows\Forms\KeyPressEventArgsTests.cs (1)
16Assert.False(e.Handled);
System\Windows\Forms\LabelEditEventArgsTests.cs (2)
18Assert.False(e.CancelEdit); 30Assert.False(e.CancelEdit);
System\Windows\Forms\LabelTests.cs (29)
22Assert.False(control.AllowDrop); 24Assert.False(control.AutoEllipsis); 25Assert.False(control.AutoSize); 33Assert.False(control.CanEnableIme); 34Assert.False(control.CanFocus); 36Assert.False(control.CanSelect); 37Assert.False(control.Capture); 42Assert.False(control.ContainsFocus); 46Assert.False(control.Created); 55Assert.False(control.DesignMode); 63Assert.False(control.Focused); 67Assert.False(control.HasChildren); 76Assert.False(control.IsAccessible); 77Assert.False(control.IsMirrored); 92Assert.False(control.RecreatingHandle); 94Assert.False(control.RenderTransparent); 103Assert.False(control.TabStop); 110Assert.False(control.UseWaitCursor); 114Assert.False(control.IsHandleCreated); 134Assert.False(control.IsHandleCreated); 178Assert.False(control.GetTopLevel()); 232Assert.False(actual); 274Assert.False(control.IsHandleCreated); 280Assert.False(control.IsHandleCreated); 329Assert.False(control.IsHandleCreated); 336Assert.False(control.IsHandleCreated); 345Assert.False(control.IsHandleCreated); 490Assert.False(label.AutoEllipsis); 858Assert.False(label.UseCompatibleTextRendering);
System\Windows\Forms\Layout\LayoutEngineTests.cs (1)
35Assert.False(engine.Layout(new ScrollableControl(), new LayoutEventArgs(new Component(), "affectedProperty")));
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (86)
65Assert.False(control.IsHandleCreated); 71Assert.False(control.IsHandleCreated); 102Assert.False(control.IsHandleCreated); 108Assert.False(control.IsHandleCreated); 139Assert.False(control.IsHandleCreated); 145Assert.False(control.IsHandleCreated); 472Assert.False(control.IsHandleCreated); 473Assert.False(child.IsHandleCreated); 480Assert.False(control.IsHandleCreated); 481Assert.False(child.IsHandleCreated); 526Assert.False(control.IsHandleCreated); 527Assert.False(child.IsHandleCreated); 528Assert.False(parent.IsHandleCreated); 536Assert.False(control.IsHandleCreated); 537Assert.False(child.IsHandleCreated); 538Assert.False(parent.IsHandleCreated); 559Assert.False(child.IsHandleCreated); 565Assert.False(child.IsHandleCreated); 598Assert.False(child.IsHandleCreated); 599Assert.False(parent.IsHandleCreated); 606Assert.False(child.IsHandleCreated); 607Assert.False(parent.IsHandleCreated); 696Assert.False(control.IsHandleCreated); 697Assert.False(child.IsHandleCreated); 704Assert.False(control.IsHandleCreated); 705Assert.False(child.IsHandleCreated); 745Assert.False(control.IsHandleCreated); 746Assert.False(child.IsHandleCreated); 747Assert.False(parent.IsHandleCreated); 755Assert.False(control.IsHandleCreated); 756Assert.False(child.IsHandleCreated); 757Assert.False(parent.IsHandleCreated); 782Assert.False(child.IsHandleCreated); 788Assert.False(child.IsHandleCreated); 818Assert.False(child.IsHandleCreated); 819Assert.False(parent.IsHandleCreated); 826Assert.False(child.IsHandleCreated); 827Assert.False(parent.IsHandleCreated); 934Assert.False(control.IsHandleCreated); 935Assert.False(child.IsHandleCreated); 942Assert.False(control.IsHandleCreated); 943Assert.False(child.IsHandleCreated); 980Assert.False(control.IsHandleCreated); 981Assert.False(child.IsHandleCreated); 982Assert.False(parent.IsHandleCreated); 990Assert.False(control.IsHandleCreated); 991Assert.False(child.IsHandleCreated); 992Assert.False(parent.IsHandleCreated); 1015Assert.False(child.IsHandleCreated); 1021Assert.False(child.IsHandleCreated); 1049Assert.False(child.IsHandleCreated); 1050Assert.False(parent.IsHandleCreated); 1057Assert.False(child.IsHandleCreated); 1058Assert.False(parent.IsHandleCreated); 1172Assert.False(control.IsHandleCreated); 1173Assert.False(child.IsHandleCreated); 1180Assert.False(control.IsHandleCreated); 1181Assert.False(child.IsHandleCreated); 1221Assert.False(control.IsHandleCreated); 1222Assert.False(child.IsHandleCreated); 1223Assert.False(parent.IsHandleCreated); 1231Assert.False(control.IsHandleCreated); 1232Assert.False(child.IsHandleCreated); 1233Assert.False(parent.IsHandleCreated); 1258Assert.False(child.IsHandleCreated); 1264Assert.False(child.IsHandleCreated); 1294Assert.False(child.IsHandleCreated); 1295Assert.False(parent.IsHandleCreated); 1302Assert.False(child.IsHandleCreated); 1303Assert.False(parent.IsHandleCreated); 1410Assert.False(control.IsHandleCreated); 1411Assert.False(child.IsHandleCreated); 1418Assert.False(control.IsHandleCreated); 1419Assert.False(child.IsHandleCreated); 1456Assert.False(control.IsHandleCreated); 1457Assert.False(child.IsHandleCreated); 1458Assert.False(parent.IsHandleCreated); 1466Assert.False(control.IsHandleCreated); 1467Assert.False(child.IsHandleCreated); 1468Assert.False(parent.IsHandleCreated); 1491Assert.False(child.IsHandleCreated); 1497Assert.False(child.IsHandleCreated); 1525Assert.False(child.IsHandleCreated); 1526Assert.False(parent.IsHandleCreated); 1533Assert.False(child.IsHandleCreated); 1534Assert.False(parent.IsHandleCreated);
System\Windows\Forms\LinkConverterTests.cs (2)
126Assert.False(converter.GetCreateInstanceSupported()); 133Assert.False(converter.GetPropertiesSupported());
System\Windows\Forms\LinkTests.cs (3)
20Assert.False(link.Visited); 39Assert.False(link.Visited); 58Assert.False(link.Visited);
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (114)
41Assert.False(collection.IsFixedSize); 42Assert.False(collection.IsReadOnly); 95Assert.False(owner.IsHandleCreated); 101Assert.False(owner.IsHandleCreated); 107Assert.False(owner.IsHandleCreated); 121Assert.False(owner.IsHandleCreated); 127Assert.False(owner.IsHandleCreated); 133Assert.False(owner.IsHandleCreated); 264Assert.False(owner.IsHandleCreated); 271Assert.False(owner.IsHandleCreated); 278Assert.False(owner.IsHandleCreated); 285Assert.False(owner.IsHandleCreated); 307Assert.False(owner.IsHandleCreated); 314Assert.False(owner.IsHandleCreated); 321Assert.False(owner.IsHandleCreated); 328Assert.False(owner.IsHandleCreated); 473Assert.False(owner.IsHandleCreated); 480Assert.False(owner.IsHandleCreated); 501Assert.False(owner.IsHandleCreated); 508Assert.False(owner.IsHandleCreated); 614Assert.False(owner.IsHandleCreated); 621Assert.False(owner.IsHandleCreated); 645Assert.False(owner.IsHandleCreated); 652Assert.False(owner.IsHandleCreated); 757Assert.False(collection.Contains(0)); 758Assert.False(collection.Contains(1)); 759Assert.False(owner.IsHandleCreated); 771Assert.False(collection.Contains(0)); 773Assert.False(collection.Contains(2)); 774Assert.False(owner.IsHandleCreated); 780Assert.False(collection.Contains(2)); 781Assert.False(owner.IsHandleCreated); 794Assert.False(owner.IsHandleCreated); 802Assert.False(owner.IsHandleCreated); 815Assert.False(owner.IsHandleCreated); 823Assert.False(owner.IsHandleCreated); 840Assert.False(owner.IsHandleCreated); 848Assert.False(owner.IsHandleCreated); 863Assert.False(owner.IsHandleCreated); 871Assert.False(owner.IsHandleCreated); 1066Assert.False(owner.IsHandleCreated); 1081Assert.False(owner.IsHandleCreated); 1088Assert.False(owner.IsHandleCreated); 1111Assert.False(owner.IsHandleCreated); 1118Assert.False(owner.IsHandleCreated); 1125Assert.False(owner.IsHandleCreated); 1132Assert.False(owner.IsHandleCreated); 1155Assert.False(owner.IsHandleCreated); 1162Assert.False(owner.IsHandleCreated); 1169Assert.False(owner.IsHandleCreated); 1176Assert.False(owner.IsHandleCreated); 1325Assert.False(owner.IsHandleCreated); 1332Assert.False(owner.IsHandleCreated); 1339Assert.False(owner.IsHandleCreated); 1362Assert.False(owner.IsHandleCreated); 1369Assert.False(owner.IsHandleCreated); 1376Assert.False(owner.IsHandleCreated); 1568Assert.False(owner.IsHandleCreated); 1574Assert.False(owner.IsHandleCreated); 1580Assert.False(owner.IsHandleCreated); 1597Assert.False(owner.IsHandleCreated); 1603Assert.False(owner.IsHandleCreated); 1609Assert.False(owner.IsHandleCreated); 1762Assert.False(owner.IsHandleCreated); 1769Assert.False(owner.IsHandleCreated); 1776Assert.False(owner.IsHandleCreated); 1783Assert.False(owner.IsHandleCreated); 1805Assert.False(owner.IsHandleCreated); 1812Assert.False(owner.IsHandleCreated); 1819Assert.False(owner.IsHandleCreated); 1826Assert.False(owner.IsHandleCreated); 1968Assert.False(collection.Contains(0)); 1969Assert.False(collection.Contains(1)); 1970Assert.False(collection.Contains(new object())); 1971Assert.False(collection.Contains(null)); 1972Assert.False(owner.IsHandleCreated); 1984Assert.False(collection.Contains(0)); 1986Assert.False(collection.Contains(2)); 1987Assert.False(collection.Contains(new object())); 1988Assert.False(collection.Contains(null)); 1989Assert.False(owner.IsHandleCreated); 1995Assert.False(collection.Contains(2)); 1996Assert.False(collection.Contains(new object())); 1997Assert.False(collection.Contains(null)); 1998Assert.False(owner.IsHandleCreated); 2011Assert.False(owner.IsHandleCreated); 2019Assert.False(owner.IsHandleCreated); 2032Assert.False(owner.IsHandleCreated); 2040Assert.False(owner.IsHandleCreated); 2057Assert.False(owner.IsHandleCreated); 2065Assert.False(owner.IsHandleCreated); 2080Assert.False(owner.IsHandleCreated); 2088Assert.False(owner.IsHandleCreated); 2244Assert.False(enumerator.MoveNext()); 2248Assert.False(enumerator.MoveNext()); 2273Assert.False(enumerator.MoveNext()); 2277Assert.False(enumerator.MoveNext()); 2294Assert.False(owner.IsHandleCreated); 2311Assert.False(owner.IsHandleCreated); 2320Assert.False(owner.IsHandleCreated); 2348Assert.False(owner.IsHandleCreated); 2355Assert.False(owner.IsHandleCreated); 2362Assert.False(owner.IsHandleCreated); 2369Assert.False(owner.IsHandleCreated); 2395Assert.False(owner.IsHandleCreated); 2402Assert.False(owner.IsHandleCreated); 2409Assert.False(owner.IsHandleCreated); 2416Assert.False(owner.IsHandleCreated); 2588Assert.False(owner.IsHandleCreated); 2595Assert.False(owner.IsHandleCreated); 2602Assert.False(owner.IsHandleCreated); 2628Assert.False(owner.IsHandleCreated); 2635Assert.False(owner.IsHandleCreated); 2642Assert.False(owner.IsHandleCreated);
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (380)
18Assert.False(collection.IsReadOnly); 29Assert.False(collection.IsReadOnly); 42Assert.False(collection.IsReadOnly); 69Assert.False(emptyCollection.IsReadOnly); 88Assert.False(collection.IsSynchronized); 98Assert.False(collection.IsFixedSize); 99Assert.False(collection.IsReadOnly); 100Assert.False(collection.IsSynchronized); 172Assert.False(owner.IsHandleCreated); 179Assert.False(owner.IsHandleCreated); 186Assert.False(owner.IsHandleCreated); 193Assert.False(owner.IsHandleCreated); 213Assert.False(owner.IsHandleCreated); 220Assert.False(owner.IsHandleCreated); 227Assert.False(owner.IsHandleCreated); 234Assert.False(owner.IsHandleCreated); 251Assert.False(owner.IsHandleCreated); 258Assert.False(owner.IsHandleCreated); 265Assert.False(owner.IsHandleCreated); 272Assert.False(owner.IsHandleCreated); 292Assert.False(owner.IsHandleCreated); 299Assert.False(owner.IsHandleCreated); 306Assert.False(owner.IsHandleCreated); 313Assert.False(owner.IsHandleCreated); 687Assert.False(owner.IsHandleCreated); 695Assert.False(owner.IsHandleCreated); 703Assert.False(owner.IsHandleCreated); 711Assert.False(owner.IsHandleCreated); 736Assert.False(owner.IsHandleCreated); 744Assert.False(owner.IsHandleCreated); 752Assert.False(owner.IsHandleCreated); 760Assert.False(owner.IsHandleCreated); 789Assert.False(owner.IsHandleCreated); 797Assert.False(owner.IsHandleCreated); 805Assert.False(owner.IsHandleCreated); 813Assert.False(owner.IsHandleCreated); 821Assert.False(owner.IsHandleCreated); 829Assert.False(owner.IsHandleCreated); 859Assert.False(owner.IsHandleCreated); 867Assert.False(owner.IsHandleCreated); 875Assert.False(owner.IsHandleCreated); 883Assert.False(owner.IsHandleCreated); 891Assert.False(owner.IsHandleCreated); 899Assert.False(owner.IsHandleCreated); 1310Assert.False(owner.IsHandleCreated); 1318Assert.False(owner.IsHandleCreated); 1326Assert.False(owner.IsHandleCreated); 1334Assert.False(owner.IsHandleCreated); 1351Assert.False(owner.IsHandleCreated); 1359Assert.False(owner.IsHandleCreated); 1367Assert.False(owner.IsHandleCreated); 1375Assert.False(owner.IsHandleCreated); 1395Assert.False(owner.IsHandleCreated); 1403Assert.False(owner.IsHandleCreated); 1411Assert.False(owner.IsHandleCreated); 1419Assert.False(owner.IsHandleCreated); 1439Assert.False(owner.IsHandleCreated); 1447Assert.False(owner.IsHandleCreated); 1455Assert.False(owner.IsHandleCreated); 1463Assert.False(owner.IsHandleCreated); 1806Assert.False(owner.IsHandleCreated); 1814Assert.False(owner.IsHandleCreated); 1838Assert.False(owner.IsHandleCreated); 1846Assert.False(owner.IsHandleCreated); 1874Assert.False(owner.IsHandleCreated); 1882Assert.False(owner.IsHandleCreated); 1890Assert.False(owner.IsHandleCreated); 1917Assert.False(owner.IsHandleCreated); 1924Assert.False(owner.IsHandleCreated); 1931Assert.False(owner.IsHandleCreated); 2228Assert.False(owner.IsHandleCreated); 2236Assert.False(owner.IsHandleCreated); 2252Assert.False(owner.IsHandleCreated); 2260Assert.False(owner.IsHandleCreated); 2279Assert.False(owner.IsHandleCreated); 2287Assert.False(owner.IsHandleCreated); 2306Assert.False(owner.IsHandleCreated); 2314Assert.False(owner.IsHandleCreated); 2548Assert.False(owner.IsHandleCreated); 2556Assert.False(owner.IsHandleCreated); 2579Assert.False(owner.IsHandleCreated); 2587Assert.False(owner.IsHandleCreated); 2614Assert.False(owner.IsHandleCreated); 2622Assert.False(owner.IsHandleCreated); 2648Assert.False(owner.IsHandleCreated); 2655Assert.False(owner.IsHandleCreated); 2885Assert.False(owner.IsHandleCreated); 2895Assert.False(owner.IsHandleCreated); 2914Assert.False(owner.IsHandleCreated); 2924Assert.False(owner.IsHandleCreated); 2946Assert.False(owner.IsHandleCreated); 2956Assert.False(owner.IsHandleCreated); 2978Assert.False(owner.IsHandleCreated); 2988Assert.False(owner.IsHandleCreated); 3245Assert.False(owner.IsHandleCreated); 3255Assert.False(owner.IsHandleCreated); 3281Assert.False(owner.IsHandleCreated); 3291Assert.False(owner.IsHandleCreated); 3321Assert.False(owner.IsHandleCreated); 3331Assert.False(owner.IsHandleCreated); 3360Assert.False(owner.IsHandleCreated); 3369Assert.False(owner.IsHandleCreated); 3708Assert.False(owner.IsHandleCreated); 3716Assert.False(owner.IsHandleCreated); 3729Assert.False(owner.IsHandleCreated); 3737Assert.False(owner.IsHandleCreated); 3754Assert.False(owner.IsHandleCreated); 3762Assert.False(owner.IsHandleCreated); 3777Assert.False(owner.IsHandleCreated); 3785Assert.False(owner.IsHandleCreated); 3943Assert.False(collection.Contains(0)); 3944Assert.False(collection.Contains(1)); 3945Assert.False(collection.Contains(new object())); 3946Assert.False(owner.IsHandleCreated); 3958Assert.False(collection.Contains(0)); 3960Assert.False(collection.Contains(2)); 3961Assert.False(collection.Contains(new object())); 3962Assert.False(owner.IsHandleCreated); 3968Assert.False(collection.Contains(2)); 3969Assert.False(collection.Contains(new object())); 3970Assert.False(owner.IsHandleCreated); 4035Assert.False(enumerator.MoveNext()); 4039Assert.False(enumerator.MoveNext()); 4064Assert.False(enumerator.MoveNext()); 4068Assert.False(enumerator.MoveNext()); 4084Assert.False(owner.IsHandleCreated); 4100Assert.False(owner.IsHandleCreated); 4108Assert.False(owner.IsHandleCreated); 4133Assert.False(owner.IsHandleCreated); 4141Assert.False(owner.IsHandleCreated); 4149Assert.False(owner.IsHandleCreated); 4157Assert.False(owner.IsHandleCreated); 4174Assert.False(owner.IsHandleCreated); 4182Assert.False(owner.IsHandleCreated); 4190Assert.False(owner.IsHandleCreated); 4198Assert.False(owner.IsHandleCreated); 4218Assert.False(owner.IsHandleCreated); 4226Assert.False(owner.IsHandleCreated); 4234Assert.False(owner.IsHandleCreated); 4242Assert.False(owner.IsHandleCreated); 4262Assert.False(owner.IsHandleCreated); 4270Assert.False(owner.IsHandleCreated); 4278Assert.False(owner.IsHandleCreated); 4286Assert.False(owner.IsHandleCreated); 4629Assert.False(owner.IsHandleCreated); 4637Assert.False(owner.IsHandleCreated); 4657Assert.False(owner.IsHandleCreated); 4663Assert.False(owner.IsHandleCreated); 4691Assert.False(owner.IsHandleCreated); 4699Assert.False(owner.IsHandleCreated); 4707Assert.False(owner.IsHandleCreated); 4732Assert.False(owner.IsHandleCreated); 4739Assert.False(owner.IsHandleCreated); 4746Assert.False(owner.IsHandleCreated); 5072Assert.False(owner.IsHandleCreated); 5080Assert.False(owner.IsHandleCreated); 5088Assert.False(owner.IsHandleCreated); 5096Assert.False(owner.IsHandleCreated); 5115Assert.False(owner.IsHandleCreated); 5122Assert.False(owner.IsHandleCreated); 5129Assert.False(owner.IsHandleCreated); 5137Assert.False(owner.IsHandleCreated); 5162Assert.False(owner.IsHandleCreated); 5170Assert.False(owner.IsHandleCreated); 5178Assert.False(owner.IsHandleCreated); 5186Assert.False(owner.IsHandleCreated); 5208Assert.False(owner.IsHandleCreated); 5215Assert.False(owner.IsHandleCreated); 5222Assert.False(owner.IsHandleCreated); 5230Assert.False(owner.IsHandleCreated); 5556Assert.False(owner.IsHandleCreated); 5564Assert.False(owner.IsHandleCreated); 5572Assert.False(owner.IsHandleCreated); 5597Assert.False(owner.IsHandleCreated); 5605Assert.False(owner.IsHandleCreated); 5613Assert.False(owner.IsHandleCreated); 5642Assert.False(owner.IsHandleCreated); 5650Assert.False(owner.IsHandleCreated); 5658Assert.False(owner.IsHandleCreated); 5665Assert.False(owner.IsHandleCreated); 5694Assert.False(owner.IsHandleCreated); 5702Assert.False(owner.IsHandleCreated); 5710Assert.False(owner.IsHandleCreated); 5717Assert.False(owner.IsHandleCreated); 6019Assert.False(owner.IsHandleCreated); 6027Assert.False(owner.IsHandleCreated); 6035Assert.False(owner.IsHandleCreated); 6054Assert.False(owner.IsHandleCreated); 6061Assert.False(owner.IsHandleCreated); 6069Assert.False(owner.IsHandleCreated); 6094Assert.False(owner.IsHandleCreated); 6102Assert.False(owner.IsHandleCreated); 6110Assert.False(owner.IsHandleCreated); 6132Assert.False(owner.IsHandleCreated); 6139Assert.False(owner.IsHandleCreated); 6147Assert.False(owner.IsHandleCreated); 6411Assert.False(owner.IsHandleCreated); 6419Assert.False(owner.IsHandleCreated); 6427Assert.False(owner.IsHandleCreated); 6452Assert.False(owner.IsHandleCreated); 6460Assert.False(owner.IsHandleCreated); 6468Assert.False(owner.IsHandleCreated); 6497Assert.False(owner.IsHandleCreated); 6505Assert.False(owner.IsHandleCreated); 6513Assert.False(owner.IsHandleCreated); 6520Assert.False(owner.IsHandleCreated); 6549Assert.False(owner.IsHandleCreated); 6557Assert.False(owner.IsHandleCreated); 6565Assert.False(owner.IsHandleCreated); 6572Assert.False(owner.IsHandleCreated); 6961Assert.False(owner.IsHandleCreated); 6968Assert.False(owner.IsHandleCreated); 6975Assert.False(owner.IsHandleCreated); 6982Assert.False(owner.IsHandleCreated); 7006Assert.False(owner.IsHandleCreated); 7013Assert.False(owner.IsHandleCreated); 7020Assert.False(owner.IsHandleCreated); 7027Assert.False(owner.IsHandleCreated); 7046Assert.False(owner.IsHandleCreated); 7053Assert.False(owner.IsHandleCreated); 7060Assert.False(owner.IsHandleCreated); 7067Assert.False(owner.IsHandleCreated); 7089Assert.False(owner.IsHandleCreated); 7096Assert.False(owner.IsHandleCreated); 7103Assert.False(owner.IsHandleCreated); 7110Assert.False(owner.IsHandleCreated); 7492Assert.False(owner.IsHandleCreated); 7500Assert.False(owner.IsHandleCreated); 7508Assert.False(owner.IsHandleCreated); 7516Assert.False(owner.IsHandleCreated); 7541Assert.False(owner.IsHandleCreated); 7549Assert.False(owner.IsHandleCreated); 7557Assert.False(owner.IsHandleCreated); 7565Assert.False(owner.IsHandleCreated); 7594Assert.False(owner.IsHandleCreated); 7602Assert.False(owner.IsHandleCreated); 7610Assert.False(owner.IsHandleCreated); 7618Assert.False(owner.IsHandleCreated); 7626Assert.False(owner.IsHandleCreated); 7634Assert.False(owner.IsHandleCreated); 7664Assert.False(owner.IsHandleCreated); 7672Assert.False(owner.IsHandleCreated); 7680Assert.False(owner.IsHandleCreated); 7688Assert.False(owner.IsHandleCreated); 7696Assert.False(owner.IsHandleCreated); 7704Assert.False(owner.IsHandleCreated); 8115Assert.False(owner.IsHandleCreated); 8123Assert.False(owner.IsHandleCreated); 8131Assert.False(owner.IsHandleCreated); 8139Assert.False(owner.IsHandleCreated); 8156Assert.False(owner.IsHandleCreated); 8164Assert.False(owner.IsHandleCreated); 8172Assert.False(owner.IsHandleCreated); 8180Assert.False(owner.IsHandleCreated); 8200Assert.False(owner.IsHandleCreated); 8208Assert.False(owner.IsHandleCreated); 8216Assert.False(owner.IsHandleCreated); 8224Assert.False(owner.IsHandleCreated); 8244Assert.False(owner.IsHandleCreated); 8252Assert.False(owner.IsHandleCreated); 8260Assert.False(owner.IsHandleCreated); 8268Assert.False(owner.IsHandleCreated); 8611Assert.False(owner.IsHandleCreated); 8619Assert.False(owner.IsHandleCreated); 8643Assert.False(owner.IsHandleCreated); 8651Assert.False(owner.IsHandleCreated); 8679Assert.False(owner.IsHandleCreated); 8687Assert.False(owner.IsHandleCreated); 8695Assert.False(owner.IsHandleCreated); 8722Assert.False(owner.IsHandleCreated); 8729Assert.False(owner.IsHandleCreated); 8736Assert.False(owner.IsHandleCreated); 9030Assert.False(owner.IsHandleCreated); 9038Assert.False(owner.IsHandleCreated); 9051Assert.False(owner.IsHandleCreated); 9059Assert.False(owner.IsHandleCreated); 9076Assert.False(owner.IsHandleCreated); 9084Assert.False(owner.IsHandleCreated); 9099Assert.False(owner.IsHandleCreated); 9107Assert.False(owner.IsHandleCreated); 9265Assert.False(collection.Contains(0)); 9266Assert.False(collection.Contains(1)); 9267Assert.False(collection.Contains(new object())); 9268Assert.False(owner.IsHandleCreated); 9280Assert.False(collection.Contains(0)); 9282Assert.False(collection.Contains(2)); 9283Assert.False(collection.Contains(new object())); 9284Assert.False(owner.IsHandleCreated); 9290Assert.False(collection.Contains(2)); 9291Assert.False(collection.Contains(new object())); 9292Assert.False(owner.IsHandleCreated); 9357Assert.False(enumerator.MoveNext()); 9361Assert.False(enumerator.MoveNext()); 9386Assert.False(enumerator.MoveNext()); 9390Assert.False(enumerator.MoveNext()); 9406Assert.False(owner.IsHandleCreated); 9422Assert.False(owner.IsHandleCreated); 9430Assert.False(owner.IsHandleCreated); 9455Assert.False(owner.IsHandleCreated); 9463Assert.False(owner.IsHandleCreated); 9471Assert.False(owner.IsHandleCreated); 9479Assert.False(owner.IsHandleCreated); 9496Assert.False(owner.IsHandleCreated); 9504Assert.False(owner.IsHandleCreated); 9512Assert.False(owner.IsHandleCreated); 9520Assert.False(owner.IsHandleCreated); 9540Assert.False(owner.IsHandleCreated); 9548Assert.False(owner.IsHandleCreated); 9556Assert.False(owner.IsHandleCreated); 9564Assert.False(owner.IsHandleCreated); 9584Assert.False(owner.IsHandleCreated); 9592Assert.False(owner.IsHandleCreated); 9600Assert.False(owner.IsHandleCreated); 9608Assert.False(owner.IsHandleCreated); 9951Assert.False(owner.IsHandleCreated); 9959Assert.False(owner.IsHandleCreated); 9979Assert.False(owner.IsHandleCreated); 9985Assert.False(owner.IsHandleCreated); 10013Assert.False(owner.IsHandleCreated); 10021Assert.False(owner.IsHandleCreated); 10029Assert.False(owner.IsHandleCreated); 10054Assert.False(owner.IsHandleCreated); 10061Assert.False(owner.IsHandleCreated); 10068Assert.False(owner.IsHandleCreated); 10394Assert.False(owner.IsHandleCreated); 10402Assert.False(owner.IsHandleCreated); 10410Assert.False(owner.IsHandleCreated); 10418Assert.False(owner.IsHandleCreated); 10437Assert.False(owner.IsHandleCreated); 10444Assert.False(owner.IsHandleCreated); 10451Assert.False(owner.IsHandleCreated); 10459Assert.False(owner.IsHandleCreated); 10484Assert.False(owner.IsHandleCreated); 10492Assert.False(owner.IsHandleCreated); 10500Assert.False(owner.IsHandleCreated); 10508Assert.False(owner.IsHandleCreated); 10530Assert.False(owner.IsHandleCreated); 10537Assert.False(owner.IsHandleCreated); 10544Assert.False(owner.IsHandleCreated); 10552Assert.False(owner.IsHandleCreated); 10878Assert.False(owner.IsHandleCreated); 10886Assert.False(owner.IsHandleCreated); 10894Assert.False(owner.IsHandleCreated); 10919Assert.False(owner.IsHandleCreated); 10927Assert.False(owner.IsHandleCreated); 10935Assert.False(owner.IsHandleCreated); 10964Assert.False(owner.IsHandleCreated); 10972Assert.False(owner.IsHandleCreated); 10980Assert.False(owner.IsHandleCreated); 10987Assert.False(owner.IsHandleCreated); 11016Assert.False(owner.IsHandleCreated); 11024Assert.False(owner.IsHandleCreated); 11032Assert.False(owner.IsHandleCreated); 11039Assert.False(owner.IsHandleCreated); 11341Assert.False(owner.IsHandleCreated); 11349Assert.False(owner.IsHandleCreated); 11357Assert.False(owner.IsHandleCreated); 11376Assert.False(owner.IsHandleCreated); 11383Assert.False(owner.IsHandleCreated); 11391Assert.False(owner.IsHandleCreated); 11416Assert.False(owner.IsHandleCreated); 11424Assert.False(owner.IsHandleCreated); 11432Assert.False(owner.IsHandleCreated); 11454Assert.False(owner.IsHandleCreated); 11461Assert.False(owner.IsHandleCreated); 11469Assert.False(owner.IsHandleCreated); 11733Assert.False(owner.IsHandleCreated); 11741Assert.False(owner.IsHandleCreated); 11749Assert.False(owner.IsHandleCreated); 11774Assert.False(owner.IsHandleCreated); 11782Assert.False(owner.IsHandleCreated); 11790Assert.False(owner.IsHandleCreated); 11819Assert.False(owner.IsHandleCreated); 11827Assert.False(owner.IsHandleCreated); 11835Assert.False(owner.IsHandleCreated); 11842Assert.False(owner.IsHandleCreated); 11871Assert.False(owner.IsHandleCreated); 11879Assert.False(owner.IsHandleCreated); 11887Assert.False(owner.IsHandleCreated); 11894Assert.False(owner.IsHandleCreated);
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (2)
32Assert.False(collection.IsSynchronized); 44Assert.False(collection.IsSynchronized);
System\Windows\Forms\ListBoxTests.cs (200)
23Assert.False(control.AllowDrop); 26Assert.False(control.AutoSize); 35Assert.False(control.CanFocus); 38Assert.False(control.Capture); 44Assert.False(control.ContainsFocus); 48Assert.False(control.Created); 61Assert.False(control.DesignMode); 65Assert.False(control.DoubleBuffered); 70Assert.False(control.Focused); 76Assert.False(control.FormattingEnabled); 77Assert.False(control.HasChildren); 80Assert.False(control.HorizontalScrollbar); 84Assert.False(control.IsAccessible); 85Assert.False(control.IsMirrored); 96Assert.False(control.MultiColumn); 102Assert.False(control.RecreatingHandle); 104Assert.False(control.ResizeRedraw); 107Assert.False(control.ScrollAlwaysVisible); 121Assert.False(control.Sorted); 128Assert.False(control.UseCustomTabOffsets); 130Assert.False(control.UseWaitCursor); 135Assert.False(control.IsHandleCreated); 155Assert.False(control.IsHandleCreated); 181Assert.False(control.IsHandleCreated); 207Assert.False(control.IsHandleCreated); 233Assert.False(control.IsHandleCreated); 260Assert.False(control.IsHandleCreated); 289Assert.False(control.IsHandleCreated); 317Assert.False(control.IsHandleCreated); 344Assert.False(control.IsHandleCreated); 362Assert.False(control.IsHandleCreated); 367Assert.False(control.IsHandleCreated); 445Assert.False(property.CanResetValue(control)); 453Assert.False(property.CanResetValue(control)); 461Assert.False(property.ShouldSerializeValue(control)); 469Assert.False(property.ShouldSerializeValue(control)); 481Assert.False(control.IsHandleCreated); 486Assert.False(control.IsHandleCreated); 540Assert.False(control.IsHandleCreated); 545Assert.False(control.IsHandleCreated); 601Assert.False(control.IsHandleCreated); 607Assert.False(control.IsHandleCreated); 663Assert.False(control.IsHandleCreated); 667Assert.False(control.IsHandleCreated); 684Assert.False(control.IsHandleCreated); 688Assert.False(control.IsHandleCreated); 804Assert.False(control.IsHandleCreated); 811Assert.False(control.IsHandleCreated); 899Assert.False(control.IsHandleCreated); 905Assert.False(control.IsHandleCreated); 954Assert.False(control.IsHandleCreated); 955Assert.False(parent.IsHandleCreated); 962Assert.False(control.IsHandleCreated); 963Assert.False(parent.IsHandleCreated); 1062Assert.False(control.IsHandleCreated); 1070Assert.False(control.IsHandleCreated); 1090Assert.False(control.IsHandleCreated); 1098Assert.False(control.IsHandleCreated); 1256Assert.False(control.IsHandleCreated); 1261Assert.False(control.IsHandleCreated); 1342Assert.False(property.CanResetValue(control)); 1350Assert.False(property.CanResetValue(control)); 1358Assert.False(property.ShouldSerializeValue(control)); 1366Assert.False(property.ShouldSerializeValue(control)); 1393Assert.False(control.IsHandleCreated); 1398Assert.False(control.IsHandleCreated); 1487Assert.False(control.IsHandleCreated); 1493Assert.False(control.IsHandleCreated); 1499Assert.False(control.IsHandleCreated); 1517Assert.False(control.IsHandleCreated); 1523Assert.False(control.IsHandleCreated); 1529Assert.False(control.IsHandleCreated); 1647Assert.False(control.IsHandleCreated); 1653Assert.False(control.IsHandleCreated); 1659Assert.False(control.IsHandleCreated); 1728Assert.False(control.IsHandleCreated); 1734Assert.False(control.IsHandleCreated); 1819Assert.False(property.CanResetValue(control)); 1823Assert.False(property.CanResetValue(control)); 1827Assert.False(property.CanResetValue(control)); 1835Assert.False(property.ShouldSerializeValue(control)); 1839Assert.False(property.ShouldSerializeValue(control)); 1843Assert.False(property.ShouldSerializeValue(control)); 1862Assert.False(control.IsHandleCreated); 1890Assert.False(control.IsHandleCreated); 1895Assert.False(control.IsHandleCreated); 1900Assert.False(control.IsHandleCreated); 1959Assert.False(control.MultiColumn); 1962Assert.False(control.MultiColumn); 1974Assert.False(control.IsHandleCreated); 1979Assert.False(control.IsHandleCreated); 2074Assert.False(control.IsHandleCreated); 2105Assert.False(control.IsHandleCreated); 2182Assert.False(control.IsHandleCreated); 2187Assert.False(control.IsHandleCreated); 2242Assert.False(control.IsHandleCreated); 2247Assert.False(control.IsHandleCreated); 2252Assert.False(control.IsHandleCreated); 2335Assert.False(control.IsHandleCreated); 2343Assert.False(control.IsHandleCreated); 2363Assert.False(control.IsHandleCreated); 2371Assert.False(control.IsHandleCreated); 2378Assert.False(control.IsHandleCreated); 2386Assert.False(control.IsHandleCreated); 2408Assert.False(control.IsHandleCreated); 2416Assert.False(control.IsHandleCreated); 2424Assert.False(control.IsHandleCreated); 2432Assert.False(control.IsHandleCreated); 2459Assert.False(control.IsHandleCreated); 2468Assert.False(control.IsHandleCreated); 2477Assert.False(control.IsHandleCreated); 2486Assert.False(control.IsHandleCreated); 2801Assert.False(control.IsHandleCreated); 2809Assert.False(control.IsHandleCreated); 2829Assert.False(control.IsHandleCreated); 2837Assert.False(control.IsHandleCreated); 2845Assert.False(control.IsHandleCreated); 2852Assert.False(control.IsHandleCreated); 2860Assert.False(control.IsHandleCreated); 2882Assert.False(control.IsHandleCreated); 2890Assert.False(control.IsHandleCreated); 2898Assert.False(control.IsHandleCreated); 2906Assert.False(control.IsHandleCreated); 2914Assert.False(control.IsHandleCreated); 2941Assert.False(control.IsHandleCreated); 2950Assert.False(control.IsHandleCreated); 2959Assert.False(control.IsHandleCreated); 2968Assert.False(control.IsHandleCreated); 2977Assert.False(control.IsHandleCreated); 3368Assert.False(control.IsHandleCreated); 3377Assert.False(control.IsHandleCreated); 3406Assert.False(control.IsHandleCreated); 3415Assert.False(control.IsHandleCreated); 3435Assert.False(control.IsHandleCreated); 3444Assert.False(control.IsHandleCreated); 3453Assert.False(control.IsHandleCreated); 3471Assert.False(control.IsHandleCreated); 3480Assert.False(control.IsHandleCreated); 3489Assert.False(control.IsHandleCreated); 3513Assert.False(control.IsHandleCreated); 3522Assert.False(control.IsHandleCreated); 3531Assert.False(control.IsHandleCreated); 3555Assert.False(control.IsHandleCreated); 3564Assert.False(control.IsHandleCreated); 3573Assert.False(control.IsHandleCreated); 3918Assert.False(control.IsHandleCreated); 3924Assert.False(control.IsHandleCreated); 3930Assert.False(control.IsHandleCreated); 3943Assert.False(control.IsHandleCreated); 3949Assert.False(control.IsHandleCreated); 3955Assert.False(control.IsHandleCreated); 3975Assert.False(control.IsHandleCreated); 3981Assert.False(control.IsHandleCreated); 3987Assert.False(control.IsHandleCreated); 4123Assert.False(control.IsHandleCreated); 4129Assert.False(control.IsHandleCreated); 4171Assert.False(control.IsHandleCreated); 4177Assert.False(control.IsHandleCreated); 4223Assert.False(control.IsHandleCreated); 4229Assert.False(control.IsHandleCreated); 4320Assert.False(control.IsHandleCreated); 4325Assert.False(control.IsHandleCreated); 4343Assert.False(control.IsHandleCreated); 4348Assert.False(control.IsHandleCreated); 4443Assert.False(control.IsHandleCreated); 4448Assert.False(control.IsHandleCreated); 4453Assert.False(control.IsHandleCreated); 4503Assert.False(control.IsHandleCreated); 4508Assert.False(control.IsHandleCreated); 4513Assert.False(control.IsHandleCreated); 4562Assert.False(control.IsHandleCreated); 4567Assert.False(control.IsHandleCreated); 4572Assert.False(control.IsHandleCreated); 4577Assert.False(control.IsHandleCreated); 4630Assert.False(control.IsHandleCreated); 4634Assert.False(control.IsHandleCreated); 4638Assert.False(control.IsHandleCreated); 4642Assert.False(control.IsHandleCreated); 4692Assert.False(control.IsHandleCreated); 4696Assert.False(control.IsHandleCreated); 4700Assert.False(control.IsHandleCreated); 4704Assert.False(control.IsHandleCreated); 4775Assert.False(items.IsReadOnly); 4807Assert.False(control.IsHandleCreated); 4811Assert.False(control.IsHandleCreated); 4824Assert.False(control.IsHandleCreated); 4828Assert.False(control.IsHandleCreated); 4930Assert.False(control.GetTopLevel()); 5150Assert.False(control.IsHandleCreated); 5173Assert.False(control.IsHandleCreated); 5590Assert.False(control.IsHandleCreated); 5596Assert.False(control.IsHandleCreated); 5743Assert.False(control.IsHandleCreated); 5750Assert.False(control.IsHandleCreated); 5888Assert.False(control.IsHandleCreated); 5893Assert.False(control.IsHandleCreated); 5905Assert.False(control.IsHandleCreated); 5910Assert.False(control.IsHandleCreated); 6022Assert.False(control.IsHandleCreated); 6027Assert.False(control.IsHandleCreated);
System\Windows\Forms\ListControlTests.cs (85)
24Assert.False(control.AllowDrop); 27Assert.False(control.AutoSize); 35Assert.False(control.CanFocus); 38Assert.False(control.Capture); 43Assert.False(control.ContainsFocus); 47Assert.False(control.Created); 58Assert.False(control.DesignMode); 62Assert.False(control.DoubleBuffered); 66Assert.False(control.Focused); 72Assert.False(control.FormattingEnabled); 73Assert.False(control.HasChildren); 77Assert.False(control.IsAccessible); 78Assert.False(control.IsMirrored); 90Assert.False(control.RecreatingHandle); 92Assert.False(control.ResizeRedraw); 106Assert.False(control.UseWaitCursor); 111Assert.False(control.IsHandleCreated); 131Assert.False(control.IsHandleCreated); 152Assert.False(control.IsHandleCreated); 160Assert.False(control.IsHandleCreated); 177Assert.False(control.IsHandleCreated); 185Assert.False(control.IsHandleCreated); 203Assert.False(control.IsHandleCreated); 211Assert.False(control.IsHandleCreated); 230Assert.False(control.IsHandleCreated); 238Assert.False(control.IsHandleCreated); 258Assert.False(control.IsHandleCreated); 266Assert.False(control.IsHandleCreated); 287Assert.False(control.IsHandleCreated); 294Assert.False(control.IsHandleCreated); 571Assert.False(control.IsHandleCreated); 578Assert.False(control.IsHandleCreated); 594Assert.False(control.IsHandleCreated); 601Assert.False(control.IsHandleCreated); 617Assert.False(control.IsHandleCreated); 624Assert.False(control.IsHandleCreated); 642Assert.False(control.IsHandleCreated); 649Assert.False(control.IsHandleCreated); 1079Assert.False(control.IsHandleCreated); 1086Assert.False(control.IsHandleCreated); 1102Assert.False(control.IsHandleCreated); 1109Assert.False(control.IsHandleCreated); 1126Assert.False(control.IsHandleCreated); 1133Assert.False(control.IsHandleCreated); 1150Assert.False(control.IsHandleCreated); 1157Assert.False(control.IsHandleCreated); 1176Assert.False(control.IsHandleCreated); 1183Assert.False(control.IsHandleCreated); 1205Assert.False(control.IsHandleCreated); 1212Assert.False(control.IsHandleCreated); 1240Assert.False(control.IsHandleCreated); 1255Assert.False(control.IsHandleCreated); 1367Assert.False(control.IsHandleCreated); 1372Assert.False(control.IsHandleCreated); 1386Assert.False(control.IsHandleCreated); 1391Assert.False(control.IsHandleCreated); 1471Assert.False(control.IsHandleCreated); 1476Assert.False(control.IsHandleCreated); 1490Assert.False(control.IsHandleCreated); 1495Assert.False(control.IsHandleCreated); 1585Assert.False(control.IsHandleCreated); 1590Assert.False(control.IsHandleCreated); 1595Assert.False(control.IsHandleCreated); 1609Assert.False(control.IsHandleCreated); 1614Assert.False(control.IsHandleCreated); 1619Assert.False(control.IsHandleCreated); 1641Assert.False(control.FormattingEnabled); 1670Assert.False(control.FormattingEnabled); 1692Assert.False(control.IsHandleCreated); 1700Assert.False(control.IsHandleCreated); 1717Assert.False(control.IsHandleCreated); 1725Assert.False(control.IsHandleCreated); 1743Assert.False(control.IsHandleCreated); 1751Assert.False(control.IsHandleCreated); 1774Assert.False(control.IsHandleCreated); 1782Assert.False(control.IsHandleCreated); 1822Assert.False(control.IsHandleCreated); 1830Assert.False(control.IsHandleCreated); 1929Assert.False(control.IsHandleCreated); 1935Assert.False(control.IsHandleCreated); 1962Assert.False(control.IsHandleCreated); 1968Assert.False(control.IsHandleCreated); 1987Assert.False(control.IsHandleCreated); 1993Assert.False(control.IsHandleCreated); 2595Assert.False(control.GetTopLevel());
System\Windows\Forms\ListViewGroupCollectionTests.cs (12)
16Assert.False(collection.IsFixedSize); 17Assert.False(collection.IsReadOnly); 649Assert.False(collection.Contains(new ListViewGroup())); 650Assert.False(collection.Contains(null)); 659Assert.False(collection.Contains(new ListViewGroup())); 660Assert.False(collection.Contains(null)); 672Assert.False(collection.Contains(new ListViewGroup())); 673Assert.False(collection.Contains(new object())); 674Assert.False(collection.Contains(null)); 683Assert.False(collection.Contains(new ListViewGroup())); 684Assert.False(collection.Contains(new object())); 685Assert.False(collection.Contains(null));
System\Windows\Forms\ListViewGroupConverterTests.cs (1)
244Assert.False(converter.GetPropertiesSupported(null));
System\Windows\Forms\ListViewGroupTests.cs (18)
161Assert.False(listView.IsHandleCreated); 166Assert.False(listView.IsHandleCreated); 299Assert.False(listView.IsHandleCreated); 304Assert.False(listView.IsHandleCreated); 431Assert.False(listView.IsHandleCreated); 436Assert.False(listView.IsHandleCreated); 553Assert.False(listView.IsHandleCreated); 558Assert.False(listView.IsHandleCreated); 682Assert.False(listView.IsHandleCreated); 688Assert.False(listView.IsHandleCreated); 814Assert.False(listView.IsHandleCreated); 819Assert.False(listView.IsHandleCreated); 934Assert.False(listView.IsHandleCreated); 940Assert.False(listView.IsHandleCreated); 1075Assert.False(listView.IsHandleCreated); 1081Assert.False(listView.IsHandleCreated); 1218Assert.False(listView.IsHandleCreated); 1223Assert.False(listView.IsHandleCreated);
System\Windows\Forms\ListViewInsertionMarkTests.cs (10)
17Assert.False(insertionMark.AppearsAfterItem); 18Assert.False(control.IsHandleCreated); 30Assert.False(control.IsHandleCreated); 35Assert.False(control.IsHandleCreated); 40Assert.False(control.IsHandleCreated); 319Assert.False(control.IsHandleCreated); 324Assert.False(control.IsHandleCreated); 401Assert.False(control.IsHandleCreated); 413Assert.False(control.IsHandleCreated); 418Assert.False(control.IsHandleCreated);
System\Windows\Forms\ListViewItemConverterTests.cs (2)
321Assert.False(converter.GetStandardValuesExclusive(null)); 328Assert.False(converter.GetStandardValuesSupported(null));
System\Windows\Forms\ListViewItemTests.cs (66)
18Assert.False(item.Checked); 19Assert.False(item.Focused); 31Assert.False(item.Selected); 57Assert.False(item.Checked); 58Assert.False(item.Focused); 70Assert.False(item.Selected); 95Assert.False(item.Checked); 96Assert.False(item.Focused); 108Assert.False(item.Selected); 133Assert.False(item.Checked); 134Assert.False(item.Focused); 146Assert.False(item.Selected); 171Assert.False(item.Checked); 172Assert.False(item.Focused); 184Assert.False(item.Selected); 208Assert.False(item.Checked); 209Assert.False(item.Focused); 221Assert.False(item.Selected); 245Assert.False(item.Checked); 246Assert.False(item.Focused); 258Assert.False(item.Selected); 283Assert.False(item.Checked); 284Assert.False(item.Focused); 296Assert.False(item.Selected); 321Assert.False(item.Checked); 322Assert.False(item.Focused); 334Assert.False(item.Selected); 358Assert.False(item.Checked); 359Assert.False(item.Focused); 371Assert.False(item.Selected); 396Assert.False(item.Checked); 397Assert.False(item.Focused); 409Assert.False(item.Selected); 434Assert.False(item.Checked); 435Assert.False(item.Focused); 447Assert.False(item.Selected); 471Assert.False(item.Checked); 472Assert.False(item.Focused); 484Assert.False(item.Selected); 509Assert.False(item.Checked); 510Assert.False(item.Focused); 522Assert.False(item.Selected); 547Assert.False(item.Checked); 548Assert.False(item.Focused); 560Assert.False(item.Selected); 585Assert.False(item.Checked); 586Assert.False(item.Focused); 598Assert.False(item.Selected); 622Assert.False(item.Checked); 623Assert.False(item.Focused); 635Assert.False(item.Selected); 660Assert.False(item.Checked); 661Assert.False(item.Focused); 673Assert.False(item.Selected); 698Assert.False(item.Checked); 699Assert.False(item.Focused); 711Assert.False(item.Selected); 735Assert.False(item.Checked); 736Assert.False(item.Focused); 748Assert.False(item.Selected); 774Assert.False(item.Checked); 775Assert.False(item.Focused); 787Assert.False(item.Selected); 804Assert.False(item.Checked); 805Assert.False(item.Focused); 817Assert.False(item.Selected);
System\Windows\Forms\ListViewSubItemCollectionTests.cs (14)
32Assert.False(collection.IsFixedSize); 33Assert.False(collection.IsReadOnly); 459Assert.False(collection.Contains(new ListViewItem.ListViewSubItem())); 460Assert.False(collection.Contains(null)); 469Assert.False(collection.Contains(new ListViewItem.ListViewSubItem())); 470Assert.False(collection.Contains(null)); 502Assert.False(collection.ContainsKey("text")); 503Assert.False(collection.ContainsKey(null)); 515Assert.False(collection.Contains(new ListViewItem.ListViewSubItem())); 516Assert.False(collection.Contains(new object())); 517Assert.False(collection.Contains(null)); 526Assert.False(collection.Contains(new ListViewItem.ListViewSubItem())); 527Assert.False(collection.Contains(new object())); 528Assert.False(collection.Contains(null));
System\Windows\Forms\ListViewSubItemConverterTests.cs (2)
134Assert.False(converter.GetStandardValuesExclusive(null)); 141Assert.False(converter.GetStandardValuesSupported(null));
System\Windows\Forms\ListViewTests.cs (164)
28Assert.False(control.AllowColumnReorder); 29Assert.False(control.AllowDrop); 32Assert.False(control.AutoSize); 36Assert.False(control.BackgroundImageTiled); 42Assert.False(control.CanFocus); 45Assert.False(control.Capture); 47Assert.False(control.CheckBoxes); 57Assert.False(control.ContainsFocus); 61Assert.False(control.Created); 70Assert.False(control.DesignMode); 73Assert.False(control.DoubleBuffered); 77Assert.False(control.Focused); 82Assert.False(control.FullRowSelect); 83Assert.False(control.GridLines); 87Assert.False(control.HasChildren); 90Assert.False(control.HideSelection); 91Assert.False(control.HotTracking); 92Assert.False(control.HoverSelection); 97Assert.False(control.IsAccessible); 98Assert.False(control.IsMirrored); 101Assert.False(control.LabelEdit); 113Assert.False(control.OwnerDraw); 118Assert.False(control.RecreatingHandle); 120Assert.False(control.ResizeRedraw); 123Assert.False(control.RightToLeftLayout); 131Assert.False(control.ShowItemToolTips); 146Assert.False(control.UseWaitCursor); 149Assert.False(control.VirtualMode); 153Assert.False(control.IsHandleCreated); 173Assert.False(control.IsHandleCreated); 185Assert.False(listView.IsHandleCreated); 190Assert.False(listView.IsHandleCreated); 233Assert.False(listView.IsHandleCreated); 238Assert.False(listView.IsHandleCreated); 282Assert.False(listView.IsHandleCreated); 287Assert.False(listView.IsHandleCreated); 339Assert.False(listView.IsHandleCreated); 344Assert.False(listView.IsHandleCreated); 349Assert.False(listView.IsHandleCreated); 399Assert.False(listView.IsHandleCreated); 404Assert.False(listView.IsHandleCreated); 409Assert.False(listView.IsHandleCreated); 465Assert.False(control.IsHandleCreated); 470Assert.False(control.IsHandleCreated); 562Assert.False(control.DoubleBuffered); 563Assert.False(control.IsHandleCreated); 568Assert.False(control.DoubleBuffered); 569Assert.False(control.IsHandleCreated); 624Assert.False(listView.IsHandleCreated); 629Assert.False(listView.IsHandleCreated); 634Assert.False(listView.IsHandleCreated); 647Assert.False(listView.IsHandleCreated); 652Assert.False(listView.IsHandleCreated); 657Assert.False(listView.IsHandleCreated); 746Assert.False(listView.IsHandleCreated); 751Assert.False(listView.IsHandleCreated); 826Assert.False(listView.IsHandleCreated); 831Assert.False(listView.IsHandleCreated); 836Assert.False(listView.IsHandleCreated); 853Assert.False(listView.IsHandleCreated); 858Assert.False(listView.IsHandleCreated); 863Assert.False(listView.IsHandleCreated); 883Assert.False(item2.Checked); 884Assert.False(listView.IsHandleCreated); 890Assert.False(item2.Checked); 891Assert.False(listView.IsHandleCreated); 897Assert.False(item2.Checked); 898Assert.False(listView.IsHandleCreated); 1057Assert.False(item2.Checked); 1064Assert.False(item2.Checked); 1071Assert.False(item2.Checked); 1085Assert.False(listView.CheckBoxes); 1088Assert.False(listView.CheckBoxes); 1120Assert.False(listViewRef.IsAlive); 1160Assert.False(control.IsHandleCreated); 1166Assert.False(control.IsHandleCreated); 1172Assert.False(control.IsHandleCreated); 1231Assert.False(control.IsHandleCreated); 1237Assert.False(control.IsHandleCreated); 1250Assert.False(control.Focused); 1251Assert.False(control.IsHandleCreated); 1256Assert.False(control.Focused); 1257Assert.False(control.IsHandleCreated); 1262Assert.False(control.Focused); 1263Assert.False(control.IsHandleCreated); 1324Assert.False(control.IsHandleCreated); 1329Assert.False(control.IsHandleCreated); 1424Assert.False(listView.IsHandleCreated); 1429Assert.False(listView.IsHandleCreated); 1434Assert.False(listView.IsHandleCreated); 1484Assert.False(listView.IsHandleCreated); 1489Assert.False(listView.IsHandleCreated); 1494Assert.False(listView.IsHandleCreated); 1568Assert.False(listView.IsHandleCreated); 1573Assert.False(listView.IsHandleCreated); 1591Assert.False(listView.IsHandleCreated); 1596Assert.False(listView.IsHandleCreated); 1787Assert.False(listView.IsHandleCreated); 2044Assert.False(listView.IsHandleCreated); 2049Assert.False(listView.IsHandleCreated); 2134Assert.False(listView.IsHandleCreated); 2139Assert.False(listView.IsHandleCreated); 2144Assert.False(listView.IsHandleCreated); 2194Assert.False(listView.IsHandleCreated); 2199Assert.False(listView.IsHandleCreated); 2204Assert.False(listView.IsHandleCreated); 2255Assert.False(listView.IsHandleCreated); 2262Assert.False(listView.IsHandleCreated); 2266Assert.False(listView.HotTracking); 2269Assert.False(listView.IsHandleCreated); 2281Assert.False(listView.IsHandleCreated); 2286Assert.False(listView.IsHandleCreated); 2291Assert.False(listView.IsHandleCreated); 2341Assert.False(listView.IsHandleCreated); 2346Assert.False(listView.IsHandleCreated); 2369Assert.False(listView.IsHandleCreated); 2374Assert.False(listView.IsHandleCreated); 2379Assert.False(listView.IsHandleCreated); 2429Assert.False(listView.IsHandleCreated); 2434Assert.False(listView.IsHandleCreated); 2439Assert.False(listView.IsHandleCreated); 2512Assert.False(listView.IsHandleCreated); 2517Assert.False(listView.IsHandleCreated); 2535Assert.False(listView.IsHandleCreated); 2540Assert.False(listView.IsHandleCreated); 2730Assert.False(listView.IsHandleCreated); 2790Assert.False(listView.IsHandleCreated); 2795Assert.False(listView.IsHandleCreated); 2800Assert.False(listView.IsHandleCreated); 2850Assert.False(listView.IsHandleCreated); 2855Assert.False(listView.IsHandleCreated); 2860Assert.False(listView.IsHandleCreated); 2910Assert.False(listView.IsHandleCreated); 2915Assert.False(listView.IsHandleCreated); 2920Assert.False(listView.IsHandleCreated); 2970Assert.False(listView.IsHandleCreated); 2975Assert.False(listView.IsHandleCreated); 2980Assert.False(listView.IsHandleCreated); 2993Assert.False(listView.IsHandleCreated); 2998Assert.False(listView.IsHandleCreated); 3003Assert.False(listView.IsHandleCreated); 3093Assert.False(listView.IsHandleCreated); 3098Assert.False(listView.IsHandleCreated); 3103Assert.False(listView.IsHandleCreated); 3176Assert.False(listView.IsHandleCreated); 3181Assert.False(listView.IsHandleCreated); 3199Assert.False(listView.IsHandleCreated); 3204Assert.False(listView.IsHandleCreated); 3446Assert.False(listView.IsHandleCreated); 3541Assert.False(listView.IsHandleCreated); 3546Assert.False(listView.IsHandleCreated); 3566Assert.False(listView.IsHandleCreated); 3571Assert.False(listView.IsHandleCreated); 3968Assert.False(listView.IsHandleCreated); 4031Assert.False(listView.IsHandleCreated); 4036Assert.False(listView.IsHandleCreated); 4041Assert.False(listView.IsHandleCreated); 4287Assert.False(control.GetTopLevel()); 4596Assert.False(control.GroupsEnabled); 4669Assert.False(item2.Checked); 4744Assert.False(listView.SelectedIndices.Contains(-1)); 4745Assert.False(listView.SelectedIndices.Contains(1)); 4945Assert.False((bool)KeyboardToolTipStateMachine.Instance.TestAccessor().Dynamic.IsToolTracked(listViewItem)); 5157Assert.False(listView.IsHandleCreated);
System\Windows\Forms\MdiClient.ControlCollectionTests.cs (1)
15Assert.False(collection.IsReadOnly);
System\Windows\Forms\MdiClientTests.cs (34)
23Assert.False(control.AllowDrop); 25Assert.False(control.AutoSize); 32Assert.False(control.CanFocus); 33Assert.False(control.CanSelect); 34Assert.False(control.Capture); 39Assert.False(control.ContainsFocus); 44Assert.False(control.Created); 49Assert.False(control.Focused); 52Assert.False(control.HasChildren); 55Assert.False(control.IsAccessible); 56Assert.False(control.IsMirrored); 70Assert.False(control.RecreatingHandle); 83Assert.False(control.UseWaitCursor); 87Assert.False(control.IsHandleCreated); 99Assert.False(control.IsHandleCreated); 104Assert.False(control.IsHandleCreated); 147Assert.False(property.CanResetValue(control)); 163Assert.False(property.ShouldSerializeValue(control)); 203Assert.False(control.IsHandleCreated); 208Assert.False(control.IsHandleCreated); 282Assert.False(control.IsHandleCreated); 287Assert.False(control.IsHandleCreated); 552Assert.False(control.IsHandleCreated); 571Assert.False(control.IsHandleCreated); 1150Assert.False(property.CanResetValue(control)); 1154Assert.False(property.CanResetValue(control)); 1158Assert.False(property.CanResetValue(control)); 1162Assert.False(property.CanResetValue(control)); 1166Assert.False(property.CanResetValue(control)); 1174Assert.False(property.ShouldSerializeValue(control)); 1178Assert.False(property.ShouldSerializeValue(control)); 1182Assert.False(property.ShouldSerializeValue(control)); 1186Assert.False(property.ShouldSerializeValue(control)); 1190Assert.False(property.ShouldSerializeValue(control));
System\Windows\Forms\MdiControlStripTests.cs (5)
64Assert.False(mdiControlStrip.DefaultShowItemToolTips); 65Assert.False(mdiControlStrip.DesignMode); 92Assert.False(mdiControlStrip.HScroll); 129Assert.False(mdiControlStrip.ResizeRedraw); 148Assert.False(mdiControlStrip.VScroll);
System\Windows\Forms\MenuStripTests.cs (49)
21Assert.False(control.AllowDrop); 22Assert.False(control.AllowItemReorder); 25Assert.False(control.AutoScroll); 37Assert.False(control.CanFocus); 38Assert.False(control.CanOverflow); 40Assert.False(control.CanSelect); 41Assert.False(control.Capture); 42Assert.False(control.CausesValidation); 46Assert.False(control.ContainsFocus); 50Assert.False(control.Created); 62Assert.False(control.DefaultShowItemToolTips); 63Assert.False(control.DesignMode); 78Assert.False(control.Focused); 86Assert.False(control.HasChildren); 90Assert.False(control.HScroll); 95Assert.False(control.IsAccessible); 96Assert.False(control.IsCurrentlyDragging); 97Assert.False(control.IsDropDown); 98Assert.False(control.IsMirrored); 121Assert.False(control.RecreatingHandle); 127Assert.False(control.ResizeRedraw); 131Assert.False(control.ShowItemToolTips); 137Assert.False(control.TabStop); 142Assert.False(control.UseWaitCursor); 146Assert.False(control.VScroll); 149Assert.False(control.IsHandleCreated); 163Assert.False(control.IsHandleCreated); 169Assert.False(control.IsHandleCreated); 175Assert.False(control.IsHandleCreated); 255Assert.False(control.IsHandleCreated); 261Assert.False(control.IsHandleCreated); 319Assert.False(control.IsHandleCreated); 324Assert.False(control.IsHandleCreated); 336Assert.False(control.IsHandleCreated); 341Assert.False(control.IsHandleCreated); 347Assert.False(control.IsHandleCreated); 359Assert.False(control.IsHandleCreated); 364Assert.False(control.IsHandleCreated); 369Assert.False(control.IsHandleCreated); 544Assert.False(control.GetTopLevel()); 564Assert.False(control.IsHandleCreated); 570Assert.False(control.IsHandleCreated); 630Assert.False(control.IsHandleCreated); 636Assert.False(control.IsHandleCreated); 685Assert.False(control.ProcessCmdKey(ref m, keyData)); 686Assert.False(control.IsHandleCreated); 703Assert.False(control.ProcessCmdKey(ref msg, keyData)); 704Assert.False(control.IsHandleCreated); 742Assert.False(control.IsHandleCreated);
System\Windows\Forms\MonthCalendarTests.cs (134)
25Assert.False(control.AllowDrop); 29Assert.False(control.AutoSize); 42Assert.False(control.CanEnableIme); 43Assert.False(control.CanFocus); 46Assert.False(control.Capture); 55Assert.False(control.ContainsFocus); 59Assert.False(control.Created); 69Assert.False(control.DesignMode); 75Assert.False(control.DoubleBuffered); 80Assert.False(control.Focused); 84Assert.False(control.HasChildren); 88Assert.False(control.IsAccessible); 89Assert.False(control.IsMirrored); 107Assert.False(control.RecreatingHandle); 109Assert.False(control.ResizeRedraw); 112Assert.False(control.RightToLeftLayout); 123Assert.False(control.ShowWeekNumbers); 134Assert.False(control.TodayDateSet); 138Assert.False(control.UseWaitCursor); 142Assert.False(control.IsHandleCreated); 162Assert.False(control.IsHandleCreated); 212Assert.False(calendar.IsHandleCreated); 227Assert.False(calendar.IsHandleCreated); 294Assert.False(control.IsHandleCreated); 299Assert.False(control.IsHandleCreated); 381Assert.False(control.IsHandleCreated); 386Assert.False(control.IsHandleCreated); 440Assert.False(control.DoubleBuffered); 441Assert.False(control.IsHandleCreated); 446Assert.False(control.DoubleBuffered); 447Assert.False(control.IsHandleCreated); 540Assert.False(calendar.IsHandleCreated); 555Assert.False(calendar.IsHandleCreated); 629Assert.False(calendar.IsHandleCreated); 634Assert.False(calendar.IsHandleCreated); 649Assert.False(calendar.IsHandleCreated); 657Assert.False(calendar.IsHandleCreated); 752Assert.False(control.IsHandleCreated); 758Assert.False(control.IsHandleCreated); 764Assert.False(control.IsHandleCreated); 816Assert.False(calendar.IsHandleCreated); 821Assert.False(calendar.IsHandleCreated); 835Assert.False(calendar.IsHandleCreated); 840Assert.False(calendar.IsHandleCreated); 937Assert.False(control.IsHandleCreated); 942Assert.False(control.IsHandleCreated); 1229Assert.False(control.IsHandleCreated); 1234Assert.False(control.IsHandleCreated); 1329Assert.False(calendar.IsHandleCreated); 1336Assert.False(calendar.IsHandleCreated); 1397Assert.False(calendar.IsHandleCreated); 1402Assert.False(calendar.IsHandleCreated); 1462Assert.False(calendar.IsHandleCreated); 1469Assert.False(calendar.IsHandleCreated); 1566Assert.False(calendar.IsHandleCreated); 1581Assert.False(calendar.IsHandleCreated); 1642Assert.False(control.IsHandleCreated); 1647Assert.False(control.IsHandleCreated); 1741Assert.False(control.IsHandleCreated); 1747Assert.False(control.IsHandleCreated); 1753Assert.False(control.IsHandleCreated); 1830Assert.False(control.RightToLeftLayout); 1835Assert.False(control.RightToLeftLayout); 1846Assert.False(control.RightToLeftLayout); 1895Assert.False(calendar.IsHandleCreated); 1900Assert.False(calendar.IsHandleCreated); 1963Assert.False(calendar.IsHandleCreated); 1969Assert.False(calendar.IsHandleCreated); 2045Assert.False(calendar.IsHandleCreated); 2051Assert.False(calendar.IsHandleCreated); 2145Assert.False(calendar.IsHandleCreated); 2154Assert.False(calendar.IsHandleCreated); 2237Assert.False(control.IsHandleCreated); 2242Assert.False(control.IsHandleCreated); 2247Assert.False(control.IsHandleCreated); 2309Assert.False(control.IsHandleCreated); 2314Assert.False(control.IsHandleCreated); 2319Assert.False(control.IsHandleCreated); 2369Assert.False(control.IsHandleCreated); 2374Assert.False(control.IsHandleCreated); 2379Assert.False(control.IsHandleCreated); 2531Assert.False(control.IsHandleCreated); 2540Assert.False(control.IsHandleCreated); 2640Assert.False(control.IsHandleCreated); 2645Assert.False(control.IsHandleCreated); 2727Assert.False(calendar.IsHandleCreated); 2732Assert.False(calendar.IsHandleCreated); 2786Assert.False(calendar.IsHandleCreated); 2791Assert.False(calendar.IsHandleCreated); 2836Assert.False(control.TodayDateSet); 2863Assert.False(calendar.IsHandleCreated); 2869Assert.False(calendar.IsHandleCreated); 2940Assert.False(calendar.IsHandleCreated); 2945Assert.False(calendar.IsHandleCreated); 2990Assert.False(calendar.IsHandleCreated); 2995Assert.False(calendar.IsHandleCreated); 3000Assert.False(calendar.IsHandleCreated); 3005Assert.False(calendar.IsHandleCreated); 3010Assert.False(calendar.IsHandleCreated); 3015Assert.False(calendar.IsHandleCreated); 3020Assert.False(calendar.IsHandleCreated); 3097Assert.False(calendar.IsHandleCreated); 3102Assert.False(calendar.IsHandleCreated); 3107Assert.False(calendar.IsHandleCreated); 3112Assert.False(calendar.IsHandleCreated); 3117Assert.False(calendar.IsHandleCreated); 3122Assert.False(calendar.IsHandleCreated); 3127Assert.False(calendar.IsHandleCreated); 3204Assert.False(calendar.IsHandleCreated); 3209Assert.False(calendar.IsHandleCreated); 3214Assert.False(calendar.IsHandleCreated); 3219Assert.False(calendar.IsHandleCreated); 3224Assert.False(calendar.IsHandleCreated); 3229Assert.False(calendar.IsHandleCreated); 3234Assert.False(calendar.IsHandleCreated); 3356Assert.False(control.GetTopLevel()); 3376Assert.False(control.IsHandleCreated); 3382Assert.False(control.IsHandleCreated); 3549Assert.False(control.IsHandleCreated); 3555Assert.False(control.IsHandleCreated); 3620Assert.False(control.IsHandleCreated); 3626Assert.False(control.IsHandleCreated); 3673Assert.False(control.IsHandleCreated); 3679Assert.False(control.IsHandleCreated); 3811Assert.False(control.IsHandleCreated); 3817Assert.False(control.IsHandleCreated); 3926Assert.False(control.IsHandleCreated); 3930Assert.False(control.IsHandleCreated); 3941Assert.False(control.IsHandleCreated); 3945Assert.False(control.IsHandleCreated); 3972Assert.False(calendar.IsHandleCreated); 3980Assert.False(calendar.IsHandleCreated); 4079Assert.False(calendar.IsHandleCreated); 4087Assert.False(calendar.IsHandleCreated);
System\Windows\Forms\NodeLabelEditEventArgsTests.cs (2)
22Assert.False(e.CancelEdit); 39Assert.False(e.CancelEdit);
System\Windows\Forms\NotifyIconTests.cs (4)
25Assert.False(notifyIcon.Visible); 42Assert.False(notifyIcon.Visible); 737Assert.False(notifyIcon.Visible); 751Assert.False(notifyIcon.Visible);
System\Windows\Forms\OpacityConverterTests.cs (2)
120Assert.False(converter.GetCreateInstanceSupported()); 127Assert.False(converter.GetPropertiesSupported());
System\Windows\Forms\OpenFileDialogTests.cs (8)
13Assert.False(dialog.Multiselect); 14Assert.False(dialog.ReadOnlyChecked); 16Assert.False(dialog.ShowPreview); 17Assert.False(dialog.ShowReadOnly); 149Assert.False(dialog.Multiselect); 150Assert.False(dialog.ReadOnlyChecked); 152Assert.False(dialog.ShowPreview); 153Assert.False(dialog.ShowReadOnly);
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (2)
88Assert.False(bag.IsEmpty()); 127Assert.False(bag.IsEmpty());
System\Windows\Forms\PaddingTests.cs (2)
99Assert.False(property.CanResetValue(boxedPadding)); 100Assert.False(property.ShouldSerializeValue(boxedPadding));
System\Windows\Forms\PageSetupDialogTests.cs (9)
21Assert.False(dialog.EnableMetric); 26Assert.False(dialog.ShowHelp); 226Assert.False(property.CanResetValue(dialog)); 233Assert.False(property.CanResetValue(dialog)); 255Assert.False(property.ShouldSerializeValue(dialog)); 392Assert.False(dialog.EnableMetric); 397Assert.False(dialog.ShowHelp); 428Assert.False(dialog.EnableMetric); 433Assert.False(dialog.ShowHelp);
System\Windows\Forms\PanelTests.cs (51)
22Assert.False(control.AllowDrop); 24Assert.False(control.AutoScroll); 28Assert.False(control.AutoSize); 38Assert.False(control.CanFocus); 40Assert.False(control.CanSelect); 41Assert.False(control.Capture); 46Assert.False(control.ContainsFocus); 50Assert.False(control.Created); 59Assert.False(control.DesignMode); 68Assert.False(control.DoubleBuffered); 72Assert.False(control.Focused); 76Assert.False(control.HasChildren); 80Assert.False(control.HScroll); 83Assert.False(control.IsAccessible); 84Assert.False(control.IsMirrored); 96Assert.False(control.RecreatingHandle); 98Assert.False(control.ResizeRedraw); 105Assert.False(control.TabStop); 109Assert.False(control.UseWaitCursor); 113Assert.False(control.VScroll); 116Assert.False(control.IsHandleCreated); 136Assert.False(control.IsHandleCreated); 175Assert.False(control.IsHandleCreated); 181Assert.False(control.IsHandleCreated); 187Assert.False(control.IsHandleCreated); 208Assert.False(control.AutoSize); 213Assert.False(control.AutoSize); 224Assert.False(control.AutoSize); 239Assert.False(control.IsHandleCreated); 246Assert.False(control.IsHandleCreated); 278Assert.False(control.IsHandleCreated); 280Assert.False(parent.IsHandleCreated); 287Assert.False(control.IsHandleCreated); 289Assert.False(parent.IsHandleCreated); 326Assert.False(control.IsHandleCreated); 328Assert.False(parent.IsHandleCreated); 335Assert.False(control.IsHandleCreated); 337Assert.False(parent.IsHandleCreated); 561Assert.False(control.IsHandleCreated); 566Assert.False(control.IsHandleCreated); 660Assert.False(control.IsHandleCreated); 665Assert.False(control.IsHandleCreated); 670Assert.False(control.IsHandleCreated); 728Assert.False(control.TabStop); 733Assert.False(control.TabStop); 744Assert.False(control.TabStop); 757Assert.False(control.IsHandleCreated); 762Assert.False(control.IsHandleCreated); 885Assert.False(control.GetTopLevel()); 986Assert.False(control.IsHandleCreated); 993Assert.False(control.IsHandleCreated);
System\Windows\Forms\PictureBoxTests.cs (67)
26Assert.False(control.AllowDrop); 28Assert.False(control.AutoSize); 36Assert.False(control.CanEnableIme); 37Assert.False(control.CanFocus); 39Assert.False(control.CanSelect); 40Assert.False(control.Capture); 45Assert.False(control.ContainsFocus); 49Assert.False(control.IsHandleCreated); 58Assert.False(control.DesignMode); 67Assert.False(control.Focused); 71Assert.False(control.HasChildren); 78Assert.False(control.IsAccessible); 79Assert.False(control.IsMirrored); 91Assert.False(control.RecreatingHandle); 93Assert.False(control.ResizeRedraw); 102Assert.False(control.TabStop); 106Assert.False(control.UseWaitCursor); 108Assert.False(control.WaitOnLoad); 111Assert.False(control.IsHandleCreated); 214Assert.False(control.CausesValidation); 219Assert.False(control.CausesValidation); 230Assert.False(control.CausesValidation); 290Assert.False(control.Enabled); 295Assert.False(control.Enabled); 306Assert.False(control.Enabled); 389Assert.False(property.CanResetValue(pictureBox)); 397Assert.False(property.CanResetValue(pictureBox)); 406Assert.False(property.ShouldSerializeValue(pictureBox)); 414Assert.False(property.ShouldSerializeValue(pictureBox)); 477Assert.False(control.IsHandleCreated); 483Assert.False(control.IsHandleCreated); 599Assert.False(property.CanResetValue(pictureBox)); 607Assert.False(property.CanResetValue(pictureBox)); 616Assert.False(property.ShouldSerializeValue(pictureBox)); 624Assert.False(property.ShouldSerializeValue(pictureBox)); 927Assert.False(control.IsHandleCreated); 932Assert.False(control.IsHandleCreated); 1086Assert.False(property.CanResetValue(pictureBox)); 1094Assert.False(property.CanResetValue(pictureBox)); 1103Assert.False(property.ShouldSerializeValue(pictureBox)); 1111Assert.False(property.ShouldSerializeValue(pictureBox)); 1226Assert.False(control.IsHandleCreated); 1231Assert.False(control.IsHandleCreated); 1403Assert.False(control.IsHandleCreated); 1408Assert.False(control.IsHandleCreated); 1465Assert.False(control.IsHandleCreated); 1470Assert.False(control.IsHandleCreated); 1475Assert.False(control.IsHandleCreated); 1531Assert.False(control.TabStop); 1536Assert.False(control.TabStop); 1547Assert.False(control.TabStop); 1560Assert.False(control.IsHandleCreated); 1565Assert.False(control.IsHandleCreated); 1688Assert.False(control.Visible); 1693Assert.False(control.Visible); 1704Assert.False(control.Visible); 1901Assert.False(control.GetTopLevel()); 2201Assert.False(control.IsHandleCreated); 2202Assert.False(control.IsHandleCreated); 2208Assert.False(control.IsHandleCreated); 2209Assert.False(control.IsHandleCreated); 2260Assert.False(control.IsHandleCreated); 2261Assert.False(control.IsHandleCreated); 2267Assert.False(control.IsHandleCreated); 2268Assert.False(control.IsHandleCreated); 2659Assert.False(control.IsHandleCreated); 2666Assert.False(control.IsHandleCreated);
System\Windows\Forms\PopupEventArgsTests.cs (1)
26Assert.False(e.Cancel);
System\Windows\Forms\PowerStatusTests.cs (1)
20Assert.False(EnumIsDefined((BatteryChargeStatus)67));
System\Windows\Forms\PreviewKeyDownEventArgsTests.cs (1)
31Assert.False(e.IsInputKey);
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibilityObjectTests.cs (8)
22Assert.False(control.IsHandleCreated); 39Assert.False(control.IsHandleCreated); 61Assert.False(control.IsHandleCreated); 92Assert.False(control.IsHandleCreated); 154Assert.False(accessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_ScrollPatternId)); 159Assert.False((bool)scrollProvider.HorizontallyScrollable); 168Assert.False(accessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_ScrollPatternId)); 173Assert.False((bool)scrollProvider.VerticallyScrollable);
System\Windows\Forms\Printing\PrintPreviewControlTests.cs (2)
34Assert.False(SystemColors.AppWorkspace.ToArgb().Equals(actualBackColorArgb)); 41Assert.False(SystemColors.AppWorkspace.ToArgb().Equals(actualBackColorArgb));
System\Windows\Forms\PrintPreviewDialogTests.cs (1)
31Assert.False(testPrintPreviewDialog.TestProcessDialogKey(arrowKey));
System\Windows\Forms\ProfessionalColorTableTests.cs (1)
16Assert.False(table.UseSystemColors);
System\Windows\Forms\ProgressBarTests.cs (97)
23Assert.False(control.AllowDrop); 25Assert.False(control.AutoSize); 32Assert.False(control.CanEnableIme); 33Assert.False(control.CanFocus); 35Assert.False(control.CanSelect); 36Assert.False(control.Capture); 41Assert.False(control.ContainsFocus); 45Assert.False(control.Created); 54Assert.False(control.DesignMode); 56Assert.False(control.DoubleBuffered); 60Assert.False(control.Focused); 64Assert.False(control.HasChildren); 68Assert.False(control.IsAccessible); 69Assert.False(control.IsMirrored); 81Assert.False(control.RecreatingHandle); 83Assert.False(control.ResizeRedraw); 86Assert.False(control.RightToLeftLayout); 98Assert.False(control.UseWaitCursor); 103Assert.False(control.IsHandleCreated); 202Assert.False(control.IsHandleCreated); 207Assert.False(control.IsHandleCreated); 212Assert.False(control.IsHandleCreated); 224Assert.False(control.IsHandleCreated); 229Assert.False(control.IsHandleCreated); 284Assert.False(control.DoubleBuffered); 285Assert.False(control.IsHandleCreated); 290Assert.False(control.DoubleBuffered); 291Assert.False(control.IsHandleCreated); 347Assert.False(control.IsHandleCreated); 352Assert.False(control.IsHandleCreated); 357Assert.False(control.IsHandleCreated); 378Assert.False(control.CausesValidation); 383Assert.False(control.CausesValidation); 394Assert.False(control.CausesValidation); 417Assert.False(control.IsHandleCreated); 423Assert.False(control.IsHandleCreated); 429Assert.False(control.IsHandleCreated); 482Assert.False(control.IsHandleCreated); 488Assert.False(control.IsHandleCreated); 542Assert.False(control.IsHandleCreated); 547Assert.False(control.IsHandleCreated); 626Assert.False(property.CanResetValue(control)); 634Assert.False(property.CanResetValue(control)); 642Assert.False(property.ShouldSerializeValue(control)); 650Assert.False(property.ShouldSerializeValue(control)); 680Assert.False(control.IsHandleCreated); 685Assert.False(control.IsHandleCreated); 781Assert.False(control.IsHandleCreated); 786Assert.False(control.IsHandleCreated); 810Assert.False(control.IsHandleCreated); 815Assert.False(control.IsHandleCreated); 919Assert.False(control.IsHandleCreated); 926Assert.False(control.IsHandleCreated); 1017Assert.False(control.IsHandleCreated); 1024Assert.False(control.IsHandleCreated); 1107Assert.False(control.IsHandleCreated); 1112Assert.False(control.IsHandleCreated); 1206Assert.False(control.IsHandleCreated); 1212Assert.False(control.IsHandleCreated); 1218Assert.False(control.IsHandleCreated); 1295Assert.False(control.RightToLeftLayout); 1300Assert.False(control.RightToLeftLayout); 1311Assert.False(control.RightToLeftLayout); 1360Assert.False(control.IsHandleCreated); 1365Assert.False(control.IsHandleCreated); 1409Assert.False(control.IsHandleCreated); 1414Assert.False(control.IsHandleCreated); 1427Assert.False(control.IsHandleCreated); 1432Assert.False(control.IsHandleCreated); 1517Assert.False(control.IsHandleCreated); 1522Assert.False(control.IsHandleCreated); 1527Assert.False(control.IsHandleCreated); 1585Assert.False(control.TabStop); 1590Assert.False(control.TabStop); 1601Assert.False(control.TabStop); 1614Assert.False(control.IsHandleCreated); 1619Assert.False(control.IsHandleCreated); 1703Assert.False(control.IsHandleCreated); 1710Assert.False(control.IsHandleCreated); 1830Assert.False(control.GetTopLevel()); 1859Assert.False(control.IsHandleCreated); 1917Assert.False(control.IsHandleCreated); 1923Assert.False(control.IsHandleCreated); 2036Assert.False(control.IsHandleCreated); 2042Assert.False(control.IsHandleCreated); 2121Assert.False(control.Created); 2122Assert.False(control.IsHandleCreated); 2128Assert.False(control.Created); 2129Assert.False(control.IsHandleCreated); 2141Assert.False(control.GetStyle(ControlStyles.UserPaint)); 2183Assert.False(control.Created); 2184Assert.False(control.IsHandleCreated); 2190Assert.False(control.Created); 2191Assert.False(control.IsHandleCreated); 2398Assert.False(control.IsHandleCreated); 2404Assert.False(control.IsHandleCreated); 2513Assert.False(control.IsHandleCreated);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\CommandsPane.CommandsPaneAccessibleObjectTests.cs (5)
19Assert.False(propertyGrid.IsHandleCreated); 20Assert.False(commandsPane.IsHandleCreated); 32Assert.False(propertyGrid.IsHandleCreated); 33Assert.False(commandsPane.IsHandleCreated); 53Assert.False(propertyGrid.IsHandleCreated);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\DetailsButton.DetailsButtonAccessibleObjectTests.cs (8)
19Assert.False(propertyGrid.IsHandleCreated); 20Assert.False(gridErrorDlg.IsHandleCreated); 21Assert.False(detailsButton.IsHandleCreated); 35Assert.False(propertyGrid.IsHandleCreated); 36Assert.False(gridErrorDlg.IsHandleCreated); 37Assert.False(detailsButton.IsHandleCreated); 58Assert.False(propertyGrid.IsHandleCreated); 59Assert.False(gridErrorDlg.IsHandleCreated);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\DropDownButton.DropDownButtonAccessibleObjectTests.cs (6)
19Assert.False(dropDownButton.IsHandleCreated); 31Assert.False(dropDownButton.IsHandleCreated); 52Assert.False(dropDownButton.IsHandleCreated); 64Assert.False(dropDownButton.IsHandleCreated); 77Assert.False(dropDownButton.IsHandleCreated); 95Assert.False(control.IsHandleCreated);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\HelpPane.HelpPaneAccessibleObjectTests.cs (5)
19Assert.False(propertyGrid.IsHandleCreated); 20Assert.False(helpPane.IsHandleCreated); 33Assert.False(propertyGrid.IsHandleCreated); 34Assert.False(helpPane.IsHandleCreated); 54Assert.False(propertyGrid.IsHandleCreated);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (4)
101Assert.False(propertyGrid.IsHandleCreated); 102Assert.False(propertyGridView.IsHandleCreated); 120Assert.False(propertyGrid.IsHandleCreated); 121Assert.False(propertyGridView.IsHandleCreated);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (2)
76Assert.False(propertyGrid.IsHandleCreated); 77Assert.False(dropDownControlHolder.IsHandleCreated);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewListBoxAccessibleObjectTests.cs (3)
23Assert.False(propertyGrid.IsHandleCreated); 38Assert.False(propertyGrid.IsHandleCreated); 59Assert.False(propertyGrid.IsHandleCreated);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (4)
81Assert.False(previousAccessibleObject.IsNull); 153Assert.False(propertyGrid.IsHandleCreated); 164Assert.False(propertyGrid.IsHandleCreated); 185Assert.False(propertyGrid.IsHandleCreated);
System\Windows\Forms\PropertyGridTests.cs (247)
29Assert.False(control.AllowDrop); 31Assert.False(control.AutoScroll); 38Assert.False(control.AutoSize); 49Assert.False(control.CanEnableIme); 50Assert.False(control.CanFocus); 53Assert.False(control.CanShowCommands); 55Assert.False(control.Capture); 67Assert.False(control.CommandsVisible); 70Assert.False(control.ContainsFocus); 75Assert.False(control.Created); 86Assert.False(control.DesignMode); 96Assert.False(control.DoubleBuffered); 97Assert.False(control.DrawFlatToolbar); 101Assert.False(control.Focused); 113Assert.False(control.HScroll); 116Assert.False(control.IsAccessible); 117Assert.False(control.IsMirrored); 118Assert.False(control.LargeButtons); 134Assert.False(control.RecreatingHandle); 136Assert.False(control.ResizeRedraw); 158Assert.False(control.UseWaitCursor); 165Assert.False(control.VScroll); 171Assert.False(control.IsHandleCreated); 191Assert.False(control.IsHandleCreated); 213Assert.False(control.IsHandleCreated); 220Assert.False(control.IsHandleCreated); 227Assert.False(control.IsHandleCreated); 292Assert.False(control.IsHandleCreated); 298Assert.False(control.IsHandleCreated); 380Assert.False(property.CanResetValue(control)); 388Assert.False(property.CanResetValue(control)); 396Assert.False(property.ShouldSerializeValue(control)); 404Assert.False(property.ShouldSerializeValue(control)); 416Assert.False(control.IsHandleCreated); 421Assert.False(control.IsHandleCreated); 477Assert.False(control.IsHandleCreated); 482Assert.False(control.IsHandleCreated); 550Assert.False(control.IsHandleCreated); 557Assert.False(control.IsHandleCreated); 572Assert.False(control.IsHandleCreated); 579Assert.False(control.IsHandleCreated); 594Assert.False(control.IsHandleCreated); 601Assert.False(control.IsHandleCreated); 646Assert.False(control.IsHandleCreated); 651Assert.False(control.IsHandleCreated); 656Assert.False(control.IsHandleCreated); 712Assert.False(control.IsHandleCreated); 717Assert.False(control.IsHandleCreated); 754Assert.False(property.CanResetValue(control)); 762Assert.False(property.CanResetValue(control)); 770Assert.False(property.ShouldSerializeValue(control)); 778Assert.False(property.ShouldSerializeValue(control)); 790Assert.False(control.IsHandleCreated); 795Assert.False(control.IsHandleCreated); 832Assert.False(property.CanResetValue(control)); 840Assert.False(property.CanResetValue(control)); 848Assert.False(property.ShouldSerializeValue(control)); 856Assert.False(property.ShouldSerializeValue(control)); 875Assert.False(control.IsHandleCreated); 880Assert.False(control.IsHandleCreated); 917Assert.False(property.CanResetValue(control)); 925Assert.False(property.CanResetValue(control)); 933Assert.False(property.ShouldSerializeValue(control)); 941Assert.False(property.ShouldSerializeValue(control)); 953Assert.False(control.IsHandleCreated); 958Assert.False(control.IsHandleCreated); 995Assert.False(property.CanResetValue(control)); 1003Assert.False(property.CanResetValue(control)); 1011Assert.False(property.ShouldSerializeValue(control)); 1019Assert.False(property.ShouldSerializeValue(control)); 1038Assert.False(control.IsHandleCreated); 1043Assert.False(control.IsHandleCreated); 1080Assert.False(property.CanResetValue(control)); 1088Assert.False(property.CanResetValue(control)); 1096Assert.False(property.ShouldSerializeValue(control)); 1104Assert.False(property.ShouldSerializeValue(control)); 1123Assert.False(control.IsHandleCreated); 1128Assert.False(control.IsHandleCreated); 1165Assert.False(property.CanResetValue(control)); 1173Assert.False(property.CanResetValue(control)); 1181Assert.False(property.ShouldSerializeValue(control)); 1189Assert.False(property.ShouldSerializeValue(control)); 1201Assert.False(control.IsHandleCreated); 1206Assert.False(control.IsHandleCreated); 1243Assert.False(property.CanResetValue(control)); 1251Assert.False(property.CanResetValue(control)); 1259Assert.False(property.ShouldSerializeValue(control)); 1267Assert.False(property.ShouldSerializeValue(control)); 1286Assert.False(control.IsHandleCreated); 1291Assert.False(control.IsHandleCreated); 1328Assert.False(property.CanResetValue(control)); 1336Assert.False(property.CanResetValue(control)); 1344Assert.False(property.ShouldSerializeValue(control)); 1352Assert.False(property.ShouldSerializeValue(control)); 1371Assert.False(control.CommandsVisible); 1373Assert.False(control.IsHandleCreated); 1378Assert.False(control.CommandsVisible); 1380Assert.False(control.IsHandleCreated); 1385Assert.False(control.CommandsVisible); 1387Assert.False(control.IsHandleCreated); 1413Assert.False(control.CommandsVisible); 1423Assert.False(control.CommandsVisible); 1433Assert.False(control.CommandsVisible); 1450Assert.False(control.IsHandleCreated); 1455Assert.False(control.IsHandleCreated); 1492Assert.False(property.CanResetValue(control)); 1500Assert.False(property.CanResetValue(control)); 1508Assert.False(property.ShouldSerializeValue(control)); 1516Assert.False(property.ShouldSerializeValue(control)); 1528Assert.False(control.IsHandleCreated); 1533Assert.False(control.IsHandleCreated); 1538Assert.False(control.IsHandleCreated); 1561Assert.False(control.IsHandleCreated); 1565Assert.False(control.DrawFlatToolbar); 1571Assert.False(control.IsHandleCreated); 1620Assert.False(control.IsHandleCreated); 1625Assert.False(control.IsHandleCreated); 1705Assert.False(property.CanResetValue(control)); 1713Assert.False(property.CanResetValue(control)); 1721Assert.False(property.ShouldSerializeValue(control)); 1729Assert.False(property.ShouldSerializeValue(control)); 1741Assert.False(control.IsHandleCreated); 1746Assert.False(control.IsHandleCreated); 1783Assert.False(property.CanResetValue(control)); 1791Assert.False(property.CanResetValue(control)); 1799Assert.False(property.ShouldSerializeValue(control)); 1807Assert.False(property.ShouldSerializeValue(control)); 1826Assert.False(control.IsHandleCreated); 1831Assert.False(control.IsHandleCreated); 1868Assert.False(property.CanResetValue(control)); 1876Assert.False(property.CanResetValue(control)); 1884Assert.False(property.ShouldSerializeValue(control)); 1892Assert.False(property.ShouldSerializeValue(control)); 1904Assert.False(control.IsHandleCreated); 1909Assert.False(control.IsHandleCreated); 1946Assert.False(property.CanResetValue(control)); 1954Assert.False(property.CanResetValue(control)); 1962Assert.False(property.ShouldSerializeValue(control)); 1970Assert.False(property.ShouldSerializeValue(control)); 1989Assert.False(control.CommandsVisible); 1991Assert.False(control.IsHandleCreated); 1996Assert.False(control.CommandsVisible); 1998Assert.False(control.IsHandleCreated); 2003Assert.False(control.CommandsVisible); 2005Assert.False(control.IsHandleCreated); 2037Assert.False(control.CommandsVisible); 2047Assert.False(control.CommandsVisible); 2057Assert.False(control.CommandsVisible); 2081Assert.False(control.CommandsVisible); 2083Assert.False(control.IsHandleCreated); 2088Assert.False(control.CommandsVisible); 2090Assert.False(control.IsHandleCreated); 2095Assert.False(control.CommandsVisible); 2097Assert.False(control.IsHandleCreated); 2123Assert.False(control.CommandsVisible); 2133Assert.False(control.CommandsVisible); 2143Assert.False(control.CommandsVisible); 2160Assert.False(control.IsHandleCreated); 2165Assert.False(control.IsHandleCreated); 2202Assert.False(property.CanResetValue(control)); 2210Assert.False(property.CanResetValue(control)); 2218Assert.False(property.ShouldSerializeValue(control)); 2226Assert.False(property.ShouldSerializeValue(control)); 2238Assert.False(control.IsHandleCreated); 2243Assert.False(control.IsHandleCreated); 2324Assert.False(control.IsHandleCreated); 2329Assert.False(control.IsHandleCreated); 2407Assert.False(control.IsHandleCreated); 2412Assert.False(control.IsHandleCreated); 2449Assert.False(property.CanResetValue(control)); 2457Assert.False(property.CanResetValue(control)); 2465Assert.False(property.ShouldSerializeValue(control)); 2473Assert.False(property.ShouldSerializeValue(control)); 2485Assert.False(control.IsHandleCreated); 2490Assert.False(control.IsHandleCreated); 2527Assert.False(property.CanResetValue(control)); 2535Assert.False(property.CanResetValue(control)); 2543Assert.False(property.ShouldSerializeValue(control)); 2551Assert.False(property.ShouldSerializeValue(control)); 2570Assert.False(control.IsHandleCreated); 2576Assert.False(control.IsHandleCreated); 2633Assert.False(control.IsHandleCreated); 2641Assert.False(control.IsHandleCreated); 2658Assert.False(control.IsHandleCreated); 2666Assert.False(control.IsHandleCreated); 2777Assert.False(isInvokeMethodSuccessful); 2871Assert.False(control.IsHandleCreated); 2876Assert.False(control.IsHandleCreated); 2924Assert.False(control.IsHandleCreated); 2929Assert.False(control.IsHandleCreated); 2958Assert.False(control.IsHandleCreated); 2963Assert.False(control.IsHandleCreated); 2992Assert.False(control.IsHandleCreated); 2997Assert.False(control.IsHandleCreated); 3009Assert.False(control.IsHandleCreated); 3014Assert.False(control.IsHandleCreated); 3101Assert.False(control.CommandsVisible); 3103Assert.False(control.IsHandleCreated); 3109Assert.False(control.CommandsVisible); 3111Assert.False(control.IsHandleCreated); 3117Assert.False(control.CommandsVisible); 3119Assert.False(control.IsHandleCreated); 3147Assert.False(control.CommandsVisible); 3158Assert.False(control.CommandsVisible); 3169Assert.False(control.CommandsVisible); 3187Assert.False(control.IsHandleCreated); 3192Assert.False(control.IsHandleCreated); 3198Assert.False(control.IsHandleCreated); 3211Assert.False(control.IsHandleCreated); 3216Assert.False(control.IsHandleCreated); 3253Assert.False(property.CanResetValue(control)); 3261Assert.False(property.CanResetValue(control)); 3269Assert.False(property.ShouldSerializeValue(control)); 3277Assert.False(property.ShouldSerializeValue(control)); 3296Assert.False(control.IsHandleCreated); 3301Assert.False(control.IsHandleCreated); 3338Assert.False(property.CanResetValue(control)); 3346Assert.False(property.CanResetValue(control)); 3354Assert.False(property.ShouldSerializeValue(control)); 3362Assert.False(property.ShouldSerializeValue(control)); 3381Assert.False(control.IsHandleCreated); 3386Assert.False(control.IsHandleCreated); 3423Assert.False(property.CanResetValue(control)); 3431Assert.False(property.CanResetValue(control)); 3439Assert.False(property.ShouldSerializeValue(control)); 3447Assert.False(property.ShouldSerializeValue(control)); 3506Assert.False(control.GetTopLevel()); 3527Assert.False(control.IsHandleCreated); 3533Assert.False(control.IsHandleCreated); 3581Assert.False(control.IsHandleCreated); 3587Assert.False(control.IsHandleCreated); 3636Assert.False(control.IsHandleCreated); 3642Assert.False(control.IsHandleCreated); 3663Assert.False(control.IsHandleCreated); 3669Assert.False(control.IsHandleCreated); 3690Assert.False(control.IsHandleCreated); 3696Assert.False(control.IsHandleCreated); 3764Assert.False(control.IsHandleCreated); 3770Assert.False(control.IsHandleCreated); 3791Assert.False(control.IsHandleCreated); 3797Assert.False(control.IsHandleCreated); 3830Assert.False(control.IsHandleCreated); 3836Assert.False(control.IsHandleCreated); 3864Assert.False(control.IsHandleCreated); 3870Assert.False(control.IsHandleCreated); 3920Assert.False(propertyGrid.IsHandleCreated); 3921Assert.False(button.IsHandleCreated);
System\Windows\Forms\QuestionEventArgsTests.cs (1)
13Assert.False(e.Response);
System\Windows\Forms\RadioButtonTests.cs (62)
24Assert.False(control.AllowDrop); 28Assert.False(control.AutoEllipsis); 29Assert.False(control.AutoSize); 36Assert.False(control.CanEnableIme); 37Assert.False(control.CanFocus); 40Assert.False(control.Capture); 43Assert.False(control.Checked); 47Assert.False(control.ContainsFocus); 51Assert.False(control.Created); 60Assert.False(control.DesignMode); 70Assert.False(control.Focused); 74Assert.False(control.HasChildren); 83Assert.False(control.IsAccessible); 84Assert.False(control.IsDefault); 85Assert.False(control.IsMirrored); 97Assert.False(control.RecreatingHandle); 107Assert.False(control.TabStop); 116Assert.False(control.UseWaitCursor); 120Assert.False(control.IsHandleCreated); 140Assert.False(control.IsHandleCreated); 164Assert.False(control.IsHandleCreated); 210Assert.False(control.IsHandleCreated); 215Assert.False(control.IsHandleCreated); 220Assert.False(control.IsHandleCreated); 278Assert.False(control.TabStop); 283Assert.False(control.TabStop); 294Assert.False(control.TabStop); 327Assert.False(control.IsHandleCreated); 333Assert.False(control.IsHandleCreated); 427Assert.False(control.IsHandleCreated); 429Assert.False(control.IsHandleCreated); 472Assert.False(control.IsHandleCreated); 474Assert.False(control.IsHandleCreated); 559Assert.False(control.IsHandleCreated); 561Assert.False(control.IsHandleCreated); 655Assert.False(control.GetTopLevel()); 675Assert.False(control.IsHandleCreated); 681Assert.False(control.IsHandleCreated); 756Assert.False(control.IsHandleCreated); 763Assert.False(control.IsHandleCreated); 836Assert.False(control.IsHandleCreated); 842Assert.False(control.IsHandleCreated); 862Assert.False(control.IsHandleCreated); 868Assert.False(control.IsHandleCreated); 929Assert.False(control.IsHandleCreated); 935Assert.False(control.IsHandleCreated); 982Assert.False(control.IsHandleCreated); 988Assert.False(control.IsHandleCreated); 1035Assert.False(control.IsHandleCreated); 1041Assert.False(control.IsHandleCreated); 1085Assert.False(control.IsHandleCreated); 1093Assert.False(control.IsHandleCreated); 1289Assert.False(control.IsHandleCreated); 1295Assert.False(control.IsHandleCreated); 1362Assert.False(control.IsHandleCreated); 1390Assert.False(control.ProcessMnemonic(charCode)); 1392Assert.False(control.IsHandleCreated); 1468Assert.False(control.ProcessMnemonic(charCode)); 1480Assert.False(radioButton.IsHandleCreated); 1490Assert.False(radioButton.IsHandleCreated); 1501Assert.False(control.IsHandleCreated); 1505Assert.False(control.IsHandleCreated);
System\Windows\Forms\ReadOnlyControlCollectionTests.cs (1)
15Assert.False(collection.IsReadOnly);
System\Windows\Forms\RichTextBoxTests.cs (296)
28Assert.False(control.AcceptsTab); 33Assert.False(control.AllowDrop); 35Assert.False(control.AutoSize); 36Assert.False(control.AutoWordSelection); 46Assert.False(control.CanFocus); 48Assert.False(control.CanRedo); 50Assert.False(control.CanUndo); 51Assert.False(control.Capture); 56Assert.False(control.ContainsFocus); 60Assert.False(control.Created); 69Assert.False(control.DesignMode); 73Assert.False(control.DoubleBuffered); 74Assert.False(control.EnableAutoDragDrop); 76Assert.False(control.EnableAutoDragDrop); 79Assert.False(control.Focused); 83Assert.False(control.HasChildren); 88Assert.False(control.IsAccessible); 89Assert.False(control.IsMirrored); 100Assert.False(control.Modified); 109Assert.False(control.ReadOnly); 110Assert.False(control.RecreatingHandle); 112Assert.False(control.ResizeRedraw); 120Assert.False(control.ShowSelectionMargin); 131Assert.False(control.UseWaitCursor); 137Assert.False(control.IsHandleCreated); 157Assert.False(control.IsHandleCreated); 183Assert.False(control.IsHandleCreated); 237Assert.False(control.IsHandleCreated); 249Assert.False(control.IsHandleCreated); 254Assert.False(control.IsHandleCreated); 259Assert.False(control.IsHandleCreated); 388Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 391Assert.False(control.IsHandleCreated); 397Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 400Assert.False(control.IsHandleCreated); 406Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 409Assert.False(control.IsHandleCreated); 433Assert.False(control.Multiline); 435Assert.False(control.IsHandleCreated); 442Assert.False(control.Multiline); 444Assert.False(control.IsHandleCreated); 451Assert.False(control.Multiline); 453Assert.False(control.IsHandleCreated); 476Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 479Assert.False(control.IsHandleCreated); 480Assert.False(parent.IsHandleCreated); 486Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 489Assert.False(control.IsHandleCreated); 490Assert.False(parent.IsHandleCreated); 496Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 499Assert.False(control.IsHandleCreated); 500Assert.False(parent.IsHandleCreated); 526Assert.False(control.AutoSize); 531Assert.False(control.AutoSize); 542Assert.False(control.AutoSize); 558Assert.False(control.AutoWordSelection); 566Assert.False(control.AutoWordSelection); 582Assert.False(control.IsHandleCreated); 587Assert.False(control.IsHandleCreated); 592Assert.False(control.IsHandleCreated); 659Assert.False(control.IsHandleCreated); 664Assert.False(control.IsHandleCreated); 746Assert.False(control.IsHandleCreated); 751Assert.False(control.IsHandleCreated); 805Assert.False(control.DoubleBuffered); 806Assert.False(control.IsHandleCreated); 811Assert.False(control.DoubleBuffered); 812Assert.False(control.IsHandleCreated); 864Assert.False(control.IsHandleCreated); 869Assert.False(control.IsHandleCreated); 892Assert.False(control.SelectionBullet); 902Assert.False(control.SelectionBullet); 967Assert.False(control.CanRedo); 1012Assert.False(control.CanRedo); 1013Assert.False(control.IsHandleCreated); 1021Assert.False(control.CanRedo); 1036Assert.False(control.CanUndo); 1081Assert.False(control.CanUndo); 1082Assert.False(control.IsHandleCreated); 1090Assert.False(control.CanUndo); 1129Assert.False(control.IsHandleCreated); 1134Assert.False(control.IsHandleCreated); 1139Assert.False(control.IsHandleCreated); 1201Assert.False(control.IsHandleCreated); 1206Assert.False(control.IsHandleCreated); 1211Assert.False(control.IsHandleCreated); 1339Assert.False(control.IsHandleCreated); 1345Assert.False(control.IsHandleCreated); 1359Assert.False(control.IsHandleCreated); 1365Assert.False(control.IsHandleCreated); 1381Assert.False(control.IsHandleCreated); 1387Assert.False(control.IsHandleCreated); 1404Assert.False(control.IsHandleCreated); 1410Assert.False(control.IsHandleCreated); 1693Assert.False(control.IsHandleCreated); 1698Assert.False(control.IsHandleCreated); 1863Assert.False(control.IsHandleCreated); 1868Assert.False(control.IsHandleCreated); 1959Assert.False(control.IsHandleCreated); 1964Assert.False(control.IsHandleCreated); 1977Assert.False(control.IsHandleCreated); 2068Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 2069Assert.False(control.AutoSize); 2070Assert.False(control.IsHandleCreated); 2076Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 2077Assert.False(control.AutoSize); 2078Assert.False(control.IsHandleCreated); 2084Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 2085Assert.False(control.AutoSize); 2086Assert.False(control.IsHandleCreated); 2108Assert.False(control.IsHandleCreated); 2116Assert.False(control.IsHandleCreated); 2124Assert.False(control.IsHandleCreated); 2145Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 2146Assert.False(control.AutoSize); 2148Assert.False(control.IsHandleCreated); 2149Assert.False(parent.IsHandleCreated); 2155Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 2156Assert.False(control.AutoSize); 2158Assert.False(control.IsHandleCreated); 2159Assert.False(parent.IsHandleCreated); 2165Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 2166Assert.False(control.AutoSize); 2168Assert.False(control.IsHandleCreated); 2169Assert.False(parent.IsHandleCreated); 2212Assert.False(control.IsHandleCreated); 2213Assert.False(parent.IsHandleCreated); 2222Assert.False(control.IsHandleCreated); 2223Assert.False(parent.IsHandleCreated); 2232Assert.False(control.IsHandleCreated); 2233Assert.False(parent.IsHandleCreated); 2297Assert.False(control.Multiline); 2302Assert.False(control.Multiline); 2313Assert.False(control.Multiline); 2389Assert.False(control.IsHandleCreated); 2409Assert.False(control.IsHandleCreated); 2414Assert.False(control.IsHandleCreated); 2419Assert.False(control.IsHandleCreated); 2491Assert.False(control.IsHandleCreated); 2496Assert.False(control.IsHandleCreated); 2514Assert.False(control.IsHandleCreated); 2519Assert.False(control.IsHandleCreated); 2681Assert.False(control.IsHandleCreated); 2886Assert.False(control.IsHandleCreated); 2891Assert.False(control.IsHandleCreated); 2929Assert.False(control.IsHandleCreated); 2936Assert.False(control.IsHandleCreated); 2988Assert.False(control.IsHandleCreated); 2996Assert.False(control.IsHandleCreated); 3253Assert.False(control.IsHandleCreated); 3393Assert.False(control.IsHandleCreated); 3398Assert.False(control.IsHandleCreated); 3706Assert.False(control.IsHandleCreated); 3800Assert.False(control.IsHandleCreated); 3805Assert.False(control.IsHandleCreated); 3894Assert.False(control.IsHandleCreated); 3921Assert.False(control.IsHandleCreated); 3926Assert.False(control.IsHandleCreated); 3994Assert.False(control.IsHandleCreated); 3999Assert.False(control.IsHandleCreated); 4011Assert.False(control.IsHandleCreated); 4016Assert.False(control.IsHandleCreated); 4023Assert.False(control.SelectionBullet); 4027Assert.False(control.SelectionBullet); 4043Assert.False(control.SelectionBullet); 4050Assert.False(control.SelectionBullet); 4094Assert.False(control.SelectionBullet); 4095Assert.False(control.IsHandleCreated); 4249Assert.False(control.SelectionBullet); 4250Assert.False(control.IsHandleCreated); 4254Assert.False(control.SelectionBullet); 4255Assert.False(control.IsHandleCreated); 4259Assert.False(control.SelectionBullet); 4260Assert.False(control.IsHandleCreated); 4356Assert.False(control.IsHandleCreated); 4454Assert.False(control.IsHandleCreated); 4459Assert.False(control.IsHandleCreated); 4546Assert.False(control.IsHandleCreated); 4639Assert.False(control.IsHandleCreated); 4644Assert.False(control.IsHandleCreated); 4801Assert.False(control.IsHandleCreated); 4896Assert.False(control.IsHandleCreated); 4901Assert.False(control.IsHandleCreated); 5021Assert.False(control.IsHandleCreated); 5048Assert.False(control.SelectionBullet); 5055Assert.False(control.SelectionBullet); 5081Assert.False(control.SelectionBullet); 5091Assert.False(control.SelectionBullet); 5169Assert.False(control.IsHandleCreated); 5174Assert.False(control.IsHandleCreated); 5260Assert.False(control.IsHandleCreated); 5360Assert.False(control.IsHandleCreated); 5365Assert.False(control.IsHandleCreated); 5422Assert.False(control.IsHandleCreated); 5571Assert.False(control.IsHandleCreated); 5576Assert.False(control.IsHandleCreated); 5593Assert.False(control.SelectionProtected); 5597Assert.False(control.SelectionProtected); 5613Assert.False(control.SelectionProtected); 5620Assert.False(control.SelectionProtected); 5661Assert.False(control.SelectionProtected); 5662Assert.False(control.IsHandleCreated); 5755Assert.False(control.SelectionProtected); 5756Assert.False(control.IsHandleCreated); 5760Assert.False(control.SelectionProtected); 5761Assert.False(control.IsHandleCreated); 5765Assert.False(control.SelectionProtected); 5766Assert.False(control.IsHandleCreated); 5850Assert.False(control.IsHandleCreated); 5950Assert.False(control.IsHandleCreated); 5955Assert.False(control.IsHandleCreated); 6011Assert.False(control.IsHandleCreated); 6154Assert.False(control.IsHandleCreated); 6159Assert.False(control.IsHandleCreated); 6248Assert.False(control.IsHandleCreated); 6411Assert.False(control.IsHandleCreated); 6416Assert.False(control.IsHandleCreated); 6549Assert.False(control.IsHandleCreated); 6572Assert.False(control.ShowSelectionMargin); 6580Assert.False(control.ShowSelectionMargin); 6596Assert.False(control.IsHandleCreated); 6601Assert.False(control.IsHandleCreated); 6606Assert.False(control.IsHandleCreated); 6938Assert.False(control.IsHandleCreated); 6949Assert.False(control.IsHandleCreated); 6955Assert.False(riched20.IsHandleCreated); 6960Assert.False(riched20.IsHandleCreated); 6992Assert.False(control.IsHandleCreated); 7037Assert.False(control.Modified); 7038Assert.False(control.CanUndo); 7040Assert.False(control.IsHandleCreated); 7045Assert.False(control.Modified); 7046Assert.False(control.CanUndo); 7048Assert.False(control.IsHandleCreated); 7067Assert.False(control.Modified); 7068Assert.False(control.CanUndo); 7080Assert.False(control.Modified); 7081Assert.False(control.CanUndo); 7123Assert.False(control.Modified); 7124Assert.False(control.CanUndo); 7127Assert.False(control.IsHandleCreated); 7132Assert.False(control.Modified); 7133Assert.False(control.CanUndo); 7136Assert.False(control.IsHandleCreated); 7182Assert.False(control.Modified); 7183Assert.False(control.CanUndo); 7193Assert.False(control.Modified); 7194Assert.False(control.CanUndo); 7215Assert.False(control.CanUndo); 7225Assert.False(control.Modified); 7226Assert.False(control.CanUndo); 7254Assert.False(control.Modified); 7268Assert.False(control.Modified); 7300Assert.False(control.Modified); 7301Assert.False(control.CanUndo); 7316Assert.False(control.Modified); 7317Assert.False(control.CanUndo); 7358Assert.False(control.Modified); 7359Assert.False(control.CanUndo); 7370Assert.False(control.Modified); 7371Assert.False(control.CanUndo); 7409Assert.False(control.Modified); 7422Assert.False(control.Modified); 7474Assert.False(control.Modified); 7475Assert.False(control.CanUndo); 7488Assert.False(control.Modified); 7489Assert.False(control.CanUndo); 7597Assert.False(control.IsHandleCreated); 7602Assert.False(control.IsHandleCreated); 7614Assert.False(control.IsHandleCreated); 7619Assert.False(control.IsHandleCreated); 7694Assert.False(control.IsHandleCreated); 7785Assert.False(control.IsHandleCreated); 7790Assert.False(control.IsHandleCreated); 8770Assert.False(control.IsHandleCreated); 8781Assert.False(control.IsHandleCreated); 9003Assert.False(control.GetTopLevel()); 9023Assert.False(control.IsHandleCreated); 9029Assert.False(control.IsHandleCreated); 9101Assert.False(control.IsHandleCreated); 9109Assert.False(control.IsHandleCreated); 9129Assert.False(control.IsHandleCreated); 9135Assert.False(control.IsHandleCreated); 9155Assert.False(control.IsHandleCreated); 9161Assert.False(control.IsHandleCreated); 9191Assert.False(control.IsHandleCreated); 9197Assert.False(control.IsHandleCreated); 9232Assert.False(control.IsHandleCreated); 9238Assert.False(control.IsHandleCreated); 9258Assert.False(control.IsHandleCreated); 9264Assert.False(control.IsHandleCreated); 9284Assert.False(control.IsHandleCreated); 9290Assert.False(control.IsHandleCreated); 9734Assert.False(control.IsHandleCreated); 9788Assert.False(control.IsHandleCreated); 9845Assert.False(control.IsHandleCreated);
System\Windows\Forms\RowStyleTests.cs (2)
83Assert.False(control.IsHandleCreated); 89Assert.False(control.IsHandleCreated);
System\Windows\Forms\SaveFileDialogTests.cs (2)
13Assert.False(dialog.CreatePrompt); 107Assert.False(dialog.CreatePrompt);
System\Windows\Forms\ScrollableControlTests.cs (84)
23Assert.False(control.AllowDrop); 25Assert.False(control.AutoScroll); 29Assert.False(control.AutoSize); 37Assert.False(control.CanFocus); 40Assert.False(control.Capture); 45Assert.False(control.ContainsFocus); 49Assert.False(control.Created); 58Assert.False(control.DesignMode); 67Assert.False(control.DoubleBuffered); 71Assert.False(control.Focused); 75Assert.False(control.HasChildren); 79Assert.False(control.HScroll); 82Assert.False(control.IsAccessible); 83Assert.False(control.IsMirrored); 95Assert.False(control.RecreatingHandle); 97Assert.False(control.ResizeRedraw); 109Assert.False(control.UseWaitCursor); 113Assert.False(control.VScroll); 116Assert.False(control.IsHandleCreated); 136Assert.False(control.IsHandleCreated); 163Assert.False(control.IsHandleCreated); 190Assert.False(control.IsHandleCreated); 257Assert.False(control.IsHandleCreated); 264Assert.False(control.IsHandleCreated); 271Assert.False(control.IsHandleCreated); 359Assert.False(control.IsHandleCreated); 366Assert.False(control.IsHandleCreated); 418Assert.False(property.CanResetValue(control)); 434Assert.False(property.CanResetValue(control)); 442Assert.False(property.ShouldSerializeValue(control)); 458Assert.False(property.ShouldSerializeValue(control)); 480Assert.False(control.IsHandleCreated); 485Assert.False(control.IsHandleCreated); 527Assert.False(control.IsHandleCreated); 532Assert.False(control.IsHandleCreated); 545Assert.False(control.IsHandleCreated); 550Assert.False(control.IsHandleCreated); 587Assert.False(control.IsHandleCreated); 594Assert.False(control.IsHandleCreated); 659Assert.False(property.CanResetValue(control)); 675Assert.False(property.CanResetValue(control)); 683Assert.False(property.ShouldSerializeValue(control)); 699Assert.False(property.ShouldSerializeValue(control)); 733Assert.False(control.IsHandleCreated); 739Assert.False(control.IsHandleCreated); 745Assert.False(control.IsHandleCreated); 805Assert.False(control.IsHandleCreated); 811Assert.False(control.IsHandleCreated); 895Assert.False(control.IsHandleCreated); 901Assert.False(control.IsHandleCreated); 907Assert.False(control.IsHandleCreated); 1038Assert.False(control.HorizontalScroll.Visible); 1041Assert.False(control.VerticalScroll.Visible); 1042Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1043Assert.False(control.IsHandleCreated); 1063Assert.False(control.HorizontalScroll.Visible); 1066Assert.False(control.VerticalScroll.Visible); 1067Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1068Assert.False(control.IsHandleCreated); 1134Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1135Assert.False(control.IsHandleCreated); 1203Assert.False(control.HorizontalScroll.Visible); 1206Assert.False(control.VerticalScroll.Visible); 1207Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1238Assert.False(control.HorizontalScroll.Visible); 1241Assert.False(control.VerticalScroll.Visible); 1242Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1319Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1382Assert.False(control.GetTopLevel()); 1420Assert.False(control.IsHandleCreated); 1426Assert.False(control.IsHandleCreated); 1446Assert.False(control.IsHandleCreated); 1452Assert.False(control.IsHandleCreated); 1555Assert.False(control.IsHandleCreated); 1561Assert.False(control.IsHandleCreated); 1714Assert.False(control.IsHandleCreated); 1722Assert.False(control.IsHandleCreated); 1915Assert.False(control.IsHandleCreated); 1922Assert.False(control.IsHandleCreated); 2009Assert.False(control.IsHandleCreated); 2015Assert.False(control.IsHandleCreated); 2252Assert.False(control.IsHandleCreated); 2441Assert.False(control.IsHandleCreated); 2446Assert.False(control.IsHandleCreated);
System\Windows\Forms\ScrollBarTests.cs (85)
22Assert.False(control.AllowDrop); 24Assert.False(control.AutoSize); 31Assert.False(control.CanEnableIme); 32Assert.False(control.CanFocus); 35Assert.False(control.Capture); 40Assert.False(control.ContainsFocus); 44Assert.False(control.Created); 53Assert.False(control.DesignMode); 56Assert.False(control.DoubleBuffered); 60Assert.False(control.Focused); 64Assert.False(control.HasChildren); 68Assert.False(control.IsAccessible); 69Assert.False(control.IsMirrored); 84Assert.False(control.RecreatingHandle); 86Assert.False(control.ResizeRedraw); 96Assert.False(control.TabStop); 100Assert.False(control.UseWaitCursor); 105Assert.False(control.IsHandleCreated); 125Assert.False(control.IsHandleCreated); 139Assert.False(control.IsHandleCreated); 145Assert.False(control.IsHandleCreated); 151Assert.False(control.IsHandleCreated); 172Assert.False(control.AutoSize); 177Assert.False(control.AutoSize); 188Assert.False(control.AutoSize); 201Assert.False(control.IsHandleCreated); 206Assert.False(control.IsHandleCreated); 253Assert.False(control.IsHandleCreated); 258Assert.False(control.IsHandleCreated); 312Assert.False(control.IsHandleCreated); 317Assert.False(control.IsHandleCreated); 372Assert.False(control.IsHandleCreated); 377Assert.False(control.IsHandleCreated); 382Assert.False(control.IsHandleCreated); 460Assert.False(control.Enabled); 465Assert.False(control.Enabled); 476Assert.False(control.Enabled); 490Assert.False(control.IsHandleCreated); 496Assert.False(control.IsHandleCreated); 550Assert.False(control.IsHandleCreated); 555Assert.False(control.IsHandleCreated); 631Assert.False(control.IsHandleCreated); 636Assert.False(control.IsHandleCreated); 695Assert.False(control.IsHandleCreated); 700Assert.False(control.IsHandleCreated); 713Assert.False(control.IsHandleCreated); 718Assert.False(control.IsHandleCreated); 842Assert.False(control.IsHandleCreated); 851Assert.False(control.IsHandleCreated); 992Assert.False(control.IsHandleCreated); 1007Assert.False(control.IsHandleCreated); 1026Assert.False(control.IsHandleCreated); 1035Assert.False(control.IsHandleCreated); 1177Assert.False(control.IsHandleCreated); 1189Assert.False(control.IsHandleCreated); 1194Assert.False(control.IsHandleCreated); 1249Assert.False(control.IsHandleCreated); 1254Assert.False(control.IsHandleCreated); 1259Assert.False(control.IsHandleCreated); 1275Assert.False(control.IsHandleCreated); 1280Assert.False(control.IsHandleCreated); 1292Assert.False(control.IsHandleCreated); 1297Assert.False(control.IsHandleCreated); 1386Assert.False(control.IsHandleCreated); 1391Assert.False(control.IsHandleCreated); 1396Assert.False(control.IsHandleCreated); 1454Assert.False(control.TabStop); 1459Assert.False(control.TabStop); 1470Assert.False(control.TabStop); 1483Assert.False(control.IsHandleCreated); 1488Assert.False(control.IsHandleCreated); 1572Assert.False(control.IsHandleCreated); 1581Assert.False(control.IsHandleCreated); 1805Assert.False(control.IsHandleCreated); 1809Assert.False(control.IsHandleCreated); 1853Assert.False(control.IsHandleCreated); 1857Assert.False(control.IsHandleCreated); 1894Assert.False(control.GetTopLevel()); 1962Assert.False(control.IsHandleCreated); 1968Assert.False(control.IsHandleCreated); 2027Assert.False(control.IsHandleCreated); 2033Assert.False(control.IsHandleCreated); 2601Assert.False(control.IsHandleCreated); 2613Assert.False(control.IsHandleCreated); 2702Assert.False(control.IsHandleCreated);
System\Windows\Forms\ScrollPropertiesTests.cs (4)
26Assert.False(properties.Visible); 549Assert.False(properties.Visible); 553Assert.False(properties.Visible); 557Assert.False(properties.Visible);
System\Windows\Forms\SplitContainer.SplitContainerTypedControlCollectionTests.cs (1)
15Assert.False(collection.IsReadOnly);
System\Windows\Forms\SplitterCancelEventArgsTests.cs (1)
20Assert.False(e.Cancel);
System\Windows\Forms\SplitterPanelTests.cs (64)
28Assert.False(control.AllowDrop); 30Assert.False(control.AutoScroll); 34Assert.False(control.AutoSize); 43Assert.False(control.CanFocus); 44Assert.False(control.CanSelect); 45Assert.False(control.Capture); 50Assert.False(control.ContainsFocus); 54Assert.False(control.Created); 65Assert.False(control.Focused); 68Assert.False(control.HasChildren); 73Assert.False(control.IsAccessible); 74Assert.False(control.IsMirrored); 86Assert.False(control.RecreatingHandle); 92Assert.False(control.TabStop); 96Assert.False(control.UseWaitCursor); 102Assert.False(control.IsHandleCreated); 115Assert.False(control.IsHandleCreated); 121Assert.False(control.IsHandleCreated); 135Assert.False(control.IsHandleCreated); 141Assert.False(control.IsHandleCreated); 147Assert.False(control.IsHandleCreated); 168Assert.False(control.AutoSize); 173Assert.False(control.AutoSize); 184Assert.False(control.AutoSize); 199Assert.False(control.IsHandleCreated); 205Assert.False(control.IsHandleCreated); 226Assert.False(control.IsHandleCreated); 228Assert.False(parent.IsHandleCreated); 234Assert.False(control.IsHandleCreated); 236Assert.False(parent.IsHandleCreated); 335Assert.False(control.IsHandleCreated); 340Assert.False(control.IsHandleCreated); 478Assert.False(control.IsHandleCreated); 497Assert.False(control.IsHandleCreated); 558Assert.False(control.IsHandleCreated); 580Assert.False(control.IsHandleCreated); 652Assert.False(control.IsHandleCreated); 659Assert.False(control.IsHandleCreated); 683Assert.False(control.IsHandleCreated); 690Assert.False(control.IsHandleCreated); 702Assert.False(control.IsHandleCreated); 707Assert.False(control.IsHandleCreated); 726Assert.False(control.IsHandleCreated); 731Assert.False(control.IsHandleCreated); 843Assert.False(control.IsHandleCreated); 862Assert.False(control.IsHandleCreated); 876Assert.False(control.IsHandleCreated); 881Assert.False(control.IsHandleCreated); 938Assert.False(control.IsHandleCreated); 943Assert.False(control.IsHandleCreated); 948Assert.False(control.IsHandleCreated); 1006Assert.False(control.TabStop); 1011Assert.False(control.TabStop); 1022Assert.False(control.TabStop); 1035Assert.False(control.IsHandleCreated); 1040Assert.False(control.IsHandleCreated); 1116Assert.False(control.IsHandleCreated); 1121Assert.False(control.IsHandleCreated); 1126Assert.False(control.IsHandleCreated); 1147Assert.False(control.Visible); 1152Assert.False(control.Visible); 1163Assert.False(control.Visible); 1200Assert.False(control.IsHandleCreated); 1219Assert.False(control.IsHandleCreated);
System\Windows\Forms\SplitterTests.cs (89)
22Assert.False(control.AllowDrop); 24Assert.False(control.AutoSize); 32Assert.False(control.CanEnableIme); 33Assert.False(control.CanFocus); 35Assert.False(control.CanSelect); 36Assert.False(control.Capture); 41Assert.False(control.ContainsFocus); 45Assert.False(control.Created); 54Assert.False(control.DesignMode); 57Assert.False(control.DoubleBuffered); 61Assert.False(control.Focused); 65Assert.False(control.HasChildren); 69Assert.False(control.IsAccessible); 70Assert.False(control.IsMirrored); 84Assert.False(control.RecreatingHandle); 86Assert.False(control.ResizeRedraw); 95Assert.False(control.TabStop); 99Assert.False(control.UseWaitCursor); 103Assert.False(control.IsHandleCreated); 123Assert.False(control.IsHandleCreated); 150Assert.False(control.IsHandleCreated); 162Assert.False(control.IsHandleCreated); 167Assert.False(control.IsHandleCreated); 172Assert.False(control.IsHandleCreated); 188Assert.False(control.IsHandleCreated); 195Assert.False(control.IsHandleCreated); 207Assert.False(control.IsHandleCreated); 212Assert.False(control.IsHandleCreated); 266Assert.False(control.DoubleBuffered); 267Assert.False(control.IsHandleCreated); 272Assert.False(control.DoubleBuffered); 273Assert.False(control.IsHandleCreated); 322Assert.False(control.IsHandleCreated); 328Assert.False(control.IsHandleCreated); 409Assert.False(control.IsHandleCreated); 418Assert.False(control.IsHandleCreated); 442Assert.False(control.IsHandleCreated); 451Assert.False(control.IsHandleCreated); 474Assert.False(control.IsHandleCreated); 483Assert.False(control.IsHandleCreated); 508Assert.False(control.IsHandleCreated); 517Assert.False(control.IsHandleCreated); 557Assert.False(control.IsHandleCreated); 565Assert.False(control.IsHandleCreated); 626Assert.False(control.IsHandleCreated); 634Assert.False(control.IsHandleCreated); 742Assert.False(control.IsHandleCreated); 748Assert.False(control.IsHandleCreated); 802Assert.False(control.IsHandleCreated); 807Assert.False(control.IsHandleCreated); 908Assert.False(control.IsHandleCreated); 913Assert.False(control.IsHandleCreated); 1000Assert.False(control.IsHandleCreated); 1005Assert.False(control.IsHandleCreated); 1052Assert.False(control.IsHandleCreated); 1057Assert.False(control.IsHandleCreated); 1128Assert.False(control.IsHandleCreated); 1133Assert.False(control.IsHandleCreated); 1155Assert.False(control.IsHandleCreated); 1156Assert.False(parent.IsHandleCreated); 1161Assert.False(control.IsHandleCreated); 1162Assert.False(parent.IsHandleCreated); 1217Assert.False(control.IsHandleCreated); 1218Assert.False(child.IsHandleCreated); 1219Assert.False(parent.IsHandleCreated); 1224Assert.False(control.IsHandleCreated); 1225Assert.False(child.IsHandleCreated); 1226Assert.False(parent.IsHandleCreated); 1262Assert.False(control.IsHandleCreated); 1263Assert.False(child.IsHandleCreated); 1264Assert.False(parent.IsHandleCreated); 1269Assert.False(control.IsHandleCreated); 1270Assert.False(child.IsHandleCreated); 1271Assert.False(parent.IsHandleCreated); 1463Assert.False(control.IsHandleCreated); 1468Assert.False(control.IsHandleCreated); 1473Assert.False(control.IsHandleCreated); 1531Assert.False(control.TabStop); 1536Assert.False(control.TabStop); 1547Assert.False(control.TabStop); 1560Assert.False(control.IsHandleCreated); 1565Assert.False(control.IsHandleCreated); 1673Assert.False(control.GetTopLevel()); 1717Assert.False(control.IsHandleCreated); 1723Assert.False(control.IsHandleCreated); 1770Assert.False(control.IsHandleCreated); 1776Assert.False(control.IsHandleCreated); 1984Assert.False(control.IsHandleCreated); 1992Assert.False(control.IsHandleCreated);
System\Windows\Forms\StatusStripTests.cs (75)
21Assert.False(control.AllowDrop); 22Assert.False(control.AllowItemReorder); 25Assert.False(control.AutoScroll); 37Assert.False(control.CanFocus); 38Assert.False(control.CanOverflow); 40Assert.False(control.CanSelect); 41Assert.False(control.Capture); 42Assert.False(control.CausesValidation); 46Assert.False(control.ContainsFocus); 50Assert.False(control.Created); 62Assert.False(control.DefaultShowItemToolTips); 63Assert.False(control.DesignMode); 78Assert.False(control.Focused); 86Assert.False(control.HasChildren); 90Assert.False(control.HScroll); 95Assert.False(control.IsAccessible); 96Assert.False(control.IsCurrentlyDragging); 97Assert.False(control.IsDropDown); 98Assert.False(control.IsMirrored); 120Assert.False(control.RecreatingHandle); 132Assert.False(control.ShowItemToolTips); 140Assert.False(control.TabStop); 145Assert.False(control.UseWaitCursor); 149Assert.False(control.VScroll); 152Assert.False(control.IsHandleCreated); 172Assert.False(control.IsHandleCreated); 186Assert.False(control.IsHandleCreated); 192Assert.False(control.IsHandleCreated); 198Assert.False(control.IsHandleCreated); 307Assert.False(control.IsHandleCreated); 316Assert.False(control.IsHandleCreated); 337Assert.False(control.IsHandleCreated); 343Assert.False(control.IsHandleCreated); 383Assert.False(control.IsHandleCreated); 391Assert.False(control.IsHandleCreated); 420Assert.False(control.IsHandleCreated); 426Assert.False(control.IsHandleCreated); 551Assert.False(property.CanResetValue(control)); 563Assert.False(property.CanResetValue(control)); 567Assert.False(property.CanResetValue(control)); 571Assert.False(property.CanResetValue(control)); 579Assert.False(property.ShouldSerializeValue(control)); 591Assert.False(property.ShouldSerializeValue(control)); 595Assert.False(property.ShouldSerializeValue(control)); 599Assert.False(property.ShouldSerializeValue(control)); 707Assert.False(control.IsHandleCreated); 713Assert.False(control.IsHandleCreated); 719Assert.False(control.IsHandleCreated); 744Assert.False(control.IsHandleCreated); 750Assert.False(control.IsHandleCreated); 756Assert.False(control.IsHandleCreated); 779Assert.False(control.IsHandleCreated); 785Assert.False(control.IsHandleCreated); 791Assert.False(control.IsHandleCreated); 844Assert.False(control.IsHandleCreated); 849Assert.False(control.IsHandleCreated); 855Assert.False(control.IsHandleCreated); 915Assert.False(control.IsHandleCreated); 931Assert.False(control.Disposing); 933Assert.False(control.IsHandleCreated); 942Assert.False(control.Disposing); 944Assert.False(control.IsHandleCreated); 968Assert.False(control.IsHandleCreated); 984Assert.False(control.Disposing); 986Assert.False(control.IsHandleCreated); 995Assert.False(control.Disposing); 997Assert.False(control.IsHandleCreated); 1036Assert.False(control.IsDisposed); 1037Assert.False(control.Disposing); 1039Assert.False(control.IsHandleCreated); 1047Assert.False(control.IsDisposed); 1048Assert.False(control.Disposing); 1050Assert.False(control.IsHandleCreated); 1231Assert.False(control.IsHandleCreated); 1237Assert.False(control.IsHandleCreated);
System\Windows\Forms\TabControl.ControlCollectionTests.cs (69)
19Assert.False(collection.IsReadOnly); 71Assert.False(value1.Visible); 81Assert.False(value1.IsHandleCreated); 82Assert.False(owner.IsHandleCreated); 89Assert.False(value1.Visible); 93Assert.False(value2.Visible); 108Assert.False(value1.IsHandleCreated); 109Assert.False(value2.IsHandleCreated); 110Assert.False(owner.IsHandleCreated); 117Assert.False(value1.Visible); 121Assert.False(value2.Visible); 137Assert.False(value1.IsHandleCreated); 138Assert.False(value2.IsHandleCreated); 139Assert.False(owner.IsHandleCreated); 232Assert.False(value2.Visible); 258Assert.False(value2.IsHandleCreated); 269Assert.False(value1.Visible); 273Assert.False(value2.Visible); 307Assert.False(value2.IsHandleCreated); 368Assert.False(value1.Visible); 382Assert.False(owner.IsHandleCreated); 389Assert.False(value1.Visible); 393Assert.False(value2.Visible); 416Assert.False(owner.IsHandleCreated); 423Assert.False(value1.Visible); 427Assert.False(value2.Visible); 451Assert.False(owner.IsHandleCreated); 550Assert.False(value2.Visible); 593Assert.False(value1.Visible); 597Assert.False(value2.Visible); 924Assert.False(value1.Visible); 928Assert.False(value2.Visible); 935Assert.False(value1.IsHandleCreated); 936Assert.False(value2.IsHandleCreated); 937Assert.False(owner.IsHandleCreated); 944Assert.False(value1.Visible); 948Assert.False(value2.Visible); 955Assert.False(value1.IsHandleCreated); 956Assert.False(value2.IsHandleCreated); 957Assert.False(owner.IsHandleCreated); 964Assert.False(value1.Visible); 968Assert.False(value2.Visible); 975Assert.False(value1.IsHandleCreated); 976Assert.False(value2.IsHandleCreated); 977Assert.False(owner.IsHandleCreated); 1036Assert.False(value1.Visible); 1040Assert.False(value2.Visible); 1052Assert.False(owner.IsHandleCreated); 1059Assert.False(value1.Visible); 1063Assert.False(value2.Visible); 1078Assert.False(owner.IsHandleCreated); 1085Assert.False(value1.Visible); 1089Assert.False(value2.Visible); 1104Assert.False(owner.IsHandleCreated); 1158Assert.False(value2.Visible); 1166Assert.False(value2.IsHandleCreated); 1181Assert.False(value2.Visible); 1189Assert.False(value2.IsHandleCreated); 1204Assert.False(value2.Visible); 1212Assert.False(value2.IsHandleCreated); 1273Assert.False(value1.Visible); 1277Assert.False(value2.Visible); 1289Assert.False(owner.IsHandleCreated); 1296Assert.False(value1.Visible); 1300Assert.False(value2.Visible); 1315Assert.False(owner.IsHandleCreated); 1322Assert.False(value1.Visible); 1326Assert.False(value2.Visible); 1341Assert.False(owner.IsHandleCreated);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (244)
57Assert.False(value1.Visible); 67Assert.False(value1.IsHandleCreated); 68Assert.False(owner.IsHandleCreated); 76Assert.False(value1.Visible); 80Assert.False(value2.Visible); 95Assert.False(value1.IsHandleCreated); 96Assert.False(value2.IsHandleCreated); 97Assert.False(owner.IsHandleCreated); 105Assert.False(value1.Visible); 109Assert.False(value2.Visible); 125Assert.False(value1.IsHandleCreated); 126Assert.False(value2.IsHandleCreated); 127Assert.False(owner.IsHandleCreated); 222Assert.False(value2.Visible); 248Assert.False(value2.IsHandleCreated); 260Assert.False(value1.Visible); 264Assert.False(value2.Visible); 298Assert.False(value2.IsHandleCreated); 360Assert.False(value1.Visible); 374Assert.False(owner.IsHandleCreated); 382Assert.False(value1.Visible); 386Assert.False(value2.Visible); 409Assert.False(owner.IsHandleCreated); 417Assert.False(value1.Visible); 421Assert.False(value2.Visible); 445Assert.False(owner.IsHandleCreated); 546Assert.False(value2.Visible); 590Assert.False(value1.Visible); 594Assert.False(value2.Visible); 902Assert.False(page.Visible); 923Assert.False(page.Visible); 944Assert.False(page.Visible); 965Assert.False(page.Visible); 1004Assert.False(value1.Visible); 1014Assert.False(value1.IsHandleCreated); 1015Assert.False(owner.IsHandleCreated); 1022Assert.False(value1.Visible); 1026Assert.False(value2.Visible); 1041Assert.False(value1.IsHandleCreated); 1042Assert.False(value2.IsHandleCreated); 1043Assert.False(owner.IsHandleCreated); 1050Assert.False(value1.Visible); 1054Assert.False(value2.Visible); 1070Assert.False(value1.IsHandleCreated); 1071Assert.False(value2.IsHandleCreated); 1072Assert.False(owner.IsHandleCreated); 1120Assert.False(owner.IsHandleCreated); 1121Assert.False(child1.IsHandleCreated); 1122Assert.False(child2.IsHandleCreated); 1123Assert.False(child3.IsHandleCreated); 1132Assert.False(owner.IsHandleCreated); 1133Assert.False(child1.IsHandleCreated); 1134Assert.False(child2.IsHandleCreated); 1135Assert.False(child3.IsHandleCreated); 1145Assert.False(owner.IsHandleCreated); 1146Assert.False(child1.IsHandleCreated); 1147Assert.False(child2.IsHandleCreated); 1148Assert.False(child3.IsHandleCreated); 1171Assert.False(iList.IsFixedSize); 1172Assert.False(collection.IsReadOnly); 1173Assert.False(iList.IsReadOnly); 1174Assert.False(iList.IsSynchronized); 1315Assert.False(owner.IsHandleCreated); 1324Assert.False(owner.IsHandleCreated); 1369Assert.False(owner.IsHandleCreated); 1370Assert.False(child1.IsHandleCreated); 1371Assert.False(child2.IsHandleCreated); 1372Assert.False(child3.IsHandleCreated); 1384Assert.False(owner.IsHandleCreated); 1385Assert.False(child1.IsHandleCreated); 1386Assert.False(child2.IsHandleCreated); 1387Assert.False(child3.IsHandleCreated); 1495Assert.False(child2.IsHandleCreated); 1496Assert.False(child3.IsHandleCreated); 1513Assert.False(child2.IsHandleCreated); 1514Assert.False(child3.IsHandleCreated); 1555Assert.False(collection.Contains(new TabPage())); 1563Assert.False(collection.Contains(new TabPage())); 1587Assert.False(iList.Contains(new TabPage())); 1588Assert.False(iList.Contains(new Control())); 1589Assert.False(iList.Contains(new object())); 1590Assert.False(iList.Contains(null)); 1599Assert.False(iList.Contains(new TabPage())); 1600Assert.False(iList.Contains(new Control())); 1601Assert.False(iList.Contains(new object())); 1602Assert.False(iList.Contains(null)); 1641Assert.False(collection.ContainsKey("NoSuchKey")); 1651Assert.False(collection.ContainsKey(key)); 1654Assert.False(collection.ContainsKey(key)); 1655Assert.False(collection.ContainsKey("NoSuchKey")); 1668Assert.False(enumerator.MoveNext()); 1672Assert.False(enumerator.MoveNext()); 1707Assert.False(enumerator.MoveNext()); 1711Assert.False(enumerator.MoveNext()); 1730Assert.False(enumerator.MoveNext()); 1734Assert.False(enumerator.MoveNext()); 1769Assert.False(enumerator.MoveNext()); 1773Assert.False(enumerator.MoveNext()); 1806Assert.False(enumerator.MoveNext()); 1810Assert.False(enumerator.MoveNext()); 1827Assert.False(enumerator.MoveNext()); 1831Assert.False(enumerator.MoveNext()); 1999Assert.False(value1.Visible); 2009Assert.False(value1.IsHandleCreated); 2010Assert.False(owner.IsHandleCreated); 2018Assert.False(value1.Visible); 2022Assert.False(value2.Visible); 2039Assert.False(value1.IsHandleCreated); 2040Assert.False(value2.IsHandleCreated); 2041Assert.False(owner.IsHandleCreated); 2049Assert.False(value1.Visible); 2053Assert.False(value2.Visible); 2073Assert.False(value1.IsHandleCreated); 2074Assert.False(value2.IsHandleCreated); 2075Assert.False(owner.IsHandleCreated); 2159Assert.False(value2.Visible); 2187Assert.False(value2.IsHandleCreated); 2199Assert.False(value1.Visible); 2203Assert.False(value2.Visible); 2241Assert.False(value2.IsHandleCreated); 2303Assert.False(value1.Visible); 2317Assert.False(owner.IsHandleCreated); 2325Assert.False(value1.Visible); 2329Assert.False(value2.Visible); 2354Assert.False(owner.IsHandleCreated); 2362Assert.False(value1.Visible); 2366Assert.False(value2.Visible); 2394Assert.False(owner.IsHandleCreated); 2495Assert.False(value2.Visible); 2541Assert.False(value1.Visible); 2545Assert.False(value2.Visible); 3045Assert.False(value1.Visible); 3055Assert.False(value1.IsHandleCreated); 3056Assert.False(owner.IsHandleCreated); 3064Assert.False(value1.Visible); 3068Assert.False(value2.Visible); 3085Assert.False(value1.IsHandleCreated); 3086Assert.False(value2.IsHandleCreated); 3087Assert.False(owner.IsHandleCreated); 3095Assert.False(value1.Visible); 3099Assert.False(value2.Visible); 3119Assert.False(value1.IsHandleCreated); 3120Assert.False(value2.IsHandleCreated); 3121Assert.False(owner.IsHandleCreated); 3379Assert.False(page1.IsHandleCreated); 3380Assert.False(page2.IsHandleCreated); 3381Assert.False(page3.IsHandleCreated); 3382Assert.False(newPage.IsHandleCreated); 3383Assert.False(owner.IsHandleCreated); 3424Assert.False(page1.IsHandleCreated); 3425Assert.False(page2.IsHandleCreated); 3426Assert.False(page3.IsHandleCreated); 3427Assert.False(newPage.IsHandleCreated); 3428Assert.False(owner.IsHandleCreated); 3465Assert.False(page2.IsHandleCreated); 3466Assert.False(page3.IsHandleCreated); 3467Assert.False(newPage.IsHandleCreated); 3521Assert.False(page2.IsHandleCreated); 3522Assert.False(page3.IsHandleCreated); 3523Assert.False(newPage.IsHandleCreated); 3778Assert.False(page1.IsHandleCreated); 3779Assert.False(page2.IsHandleCreated); 3780Assert.False(page3.IsHandleCreated); 3781Assert.False(newPage.IsHandleCreated); 3782Assert.False(owner.IsHandleCreated); 3822Assert.False(page1.IsHandleCreated); 3823Assert.False(page2.IsHandleCreated); 3824Assert.False(page3.IsHandleCreated); 3825Assert.False(newPage.IsHandleCreated); 3826Assert.False(owner.IsHandleCreated); 3862Assert.False(page2.IsHandleCreated); 3863Assert.False(page3.IsHandleCreated); 3864Assert.False(newPage.IsHandleCreated); 3917Assert.False(page2.IsHandleCreated); 3918Assert.False(page3.IsHandleCreated); 3919Assert.False(newPage.IsHandleCreated); 4011Assert.False(value1.Visible); 4015Assert.False(value2.Visible); 4022Assert.False(value1.IsHandleCreated); 4023Assert.False(value2.IsHandleCreated); 4024Assert.False(owner.IsHandleCreated); 4032Assert.False(value1.Visible); 4036Assert.False(value2.Visible); 4043Assert.False(value1.IsHandleCreated); 4044Assert.False(value2.IsHandleCreated); 4045Assert.False(owner.IsHandleCreated); 4053Assert.False(value1.Visible); 4057Assert.False(value2.Visible); 4064Assert.False(value1.IsHandleCreated); 4065Assert.False(value2.IsHandleCreated); 4066Assert.False(owner.IsHandleCreated); 4126Assert.False(value1.Visible); 4130Assert.False(value2.Visible); 4142Assert.False(owner.IsHandleCreated); 4150Assert.False(value1.Visible); 4154Assert.False(value2.Visible); 4169Assert.False(owner.IsHandleCreated); 4177Assert.False(value1.Visible); 4181Assert.False(value2.Visible); 4196Assert.False(owner.IsHandleCreated); 4253Assert.False(value2.Visible); 4261Assert.False(value2.IsHandleCreated); 4277Assert.False(value2.Visible); 4285Assert.False(value2.IsHandleCreated); 4301Assert.False(value2.Visible); 4309Assert.False(value2.IsHandleCreated); 4373Assert.False(value1.Visible); 4377Assert.False(value2.Visible); 4389Assert.False(owner.IsHandleCreated); 4397Assert.False(value1.Visible); 4401Assert.False(value2.Visible); 4416Assert.False(owner.IsHandleCreated); 4424Assert.False(value1.Visible); 4428Assert.False(value2.Visible); 4443Assert.False(owner.IsHandleCreated); 4730Assert.False(value1.Visible); 4734Assert.False(value2.Visible); 4741Assert.False(value1.IsHandleCreated); 4742Assert.False(value2.IsHandleCreated); 4743Assert.False(owner.IsHandleCreated); 4750Assert.False(value1.Visible); 4754Assert.False(value2.Visible); 4761Assert.False(value1.IsHandleCreated); 4762Assert.False(value2.IsHandleCreated); 4763Assert.False(owner.IsHandleCreated); 4770Assert.False(value1.Visible); 4774Assert.False(value2.Visible); 4781Assert.False(value1.IsHandleCreated); 4782Assert.False(value2.IsHandleCreated); 4783Assert.False(owner.IsHandleCreated); 4842Assert.False(owner.IsHandleCreated); 4843Assert.False(child1.IsHandleCreated); 4844Assert.False(child2.IsHandleCreated); 4853Assert.False(owner.IsHandleCreated); 4854Assert.False(child1.IsHandleCreated); 4855Assert.False(child2.IsHandleCreated); 4937Assert.False(owner.IsHandleCreated); 4938Assert.False(child1.IsHandleCreated); 4939Assert.False(child2.IsHandleCreated); 4940Assert.False(child3.IsHandleCreated); 4950Assert.False(owner.IsHandleCreated); 4951Assert.False(child1.IsHandleCreated); 4952Assert.False(child2.IsHandleCreated); 4953Assert.False(child3.IsHandleCreated);
System\Windows\Forms\TabControlTests.cs (307)
24Assert.False(control.AllowDrop); 27Assert.False(control.AutoSize); 35Assert.False(control.CanFocus); 38Assert.False(control.Capture); 43Assert.False(control.ContainsFocus); 47Assert.False(control.Created); 56Assert.False(control.DesignMode); 58Assert.False(control.DoubleBuffered); 63Assert.False(control.Focused); 67Assert.False(control.HasChildren); 69Assert.False(control.HotTrack); 73Assert.False(control.IsAccessible); 74Assert.False(control.IsMirrored); 83Assert.False(control.Multiline); 88Assert.False(control.RecreatingHandle); 90Assert.False(control.ResizeRedraw); 93Assert.False(control.RightToLeftLayout); 98Assert.False(control.ShowToolTips); 110Assert.False(control.UseWaitCursor); 114Assert.False(control.IsHandleCreated); 134Assert.False(control.IsHandleCreated); 385Assert.False(control.IsHandleCreated); 391Assert.False(control.IsHandleCreated); 462Assert.False(control.IsHandleCreated); 467Assert.False(control.IsHandleCreated); 479Assert.False(control.IsHandleCreated); 484Assert.False(control.IsHandleCreated); 542Assert.False(control.IsHandleCreated); 547Assert.False(control.IsHandleCreated); 624Assert.False(control.IsHandleCreated); 629Assert.False(control.IsHandleCreated); 684Assert.False(control.DoubleBuffered); 685Assert.False(control.IsHandleCreated); 690Assert.False(control.DoubleBuffered); 691Assert.False(control.IsHandleCreated); 787Assert.False(control.IsHandleCreated); 810Assert.False(control.IsHandleCreated); 816Assert.False(control.IsHandleCreated); 822Assert.False(control.IsHandleCreated); 874Assert.False(control.IsHandleCreated); 879Assert.False(control.IsHandleCreated); 929Assert.False(control.IsHandleCreated); 934Assert.False(control.IsHandleCreated); 1099Assert.False(control.IsHandleCreated); 1104Assert.False(control.IsHandleCreated); 1109Assert.False(control.IsHandleCreated); 1165Assert.False(control.IsHandleCreated); 1170Assert.False(control.IsHandleCreated); 1185Assert.False(control.IsHandleCreated); 1190Assert.False(control.IsHandleCreated); 1273Assert.False(control.IsHandleCreated); 1278Assert.False(control.IsHandleCreated); 1288Assert.False(control.IsHandleCreated); 1321Assert.False(control.IsHandleCreated); 1327Assert.False(control.IsHandleCreated); 1385Assert.False(control.IsHandleCreated); 1392Assert.False(control.IsHandleCreated); 1484Assert.False(control.IsHandleCreated); 1489Assert.False(control.IsHandleCreated); 1559Assert.False(property.CanResetValue(control)); 1575Assert.False(property.CanResetValue(control)); 1583Assert.False(property.ShouldSerializeValue(control)); 1599Assert.False(property.ShouldSerializeValue(control)); 1639Assert.False(control.IsHandleCreated); 1645Assert.False(control.IsHandleCreated); 1651Assert.False(control.IsHandleCreated); 1726Assert.False(control.IsHandleCreated); 1731Assert.False(control.IsHandleCreated); 1768Assert.False(property.CanResetValue(control)); 1784Assert.False(property.CanResetValue(control)); 1792Assert.False(property.ShouldSerializeValue(control)); 1808Assert.False(property.ShouldSerializeValue(control)); 1850Assert.False(control.IsHandleCreated); 1856Assert.False(control.IsHandleCreated); 1862Assert.False(control.IsHandleCreated); 1939Assert.False(control.RightToLeftLayout); 1944Assert.False(control.RightToLeftLayout); 1955Assert.False(control.RightToLeftLayout); 2036Assert.False(control.IsHandleCreated); 2041Assert.False(control.IsHandleCreated); 2059Assert.False(page1.Visible); 2060Assert.False(page2.Visible); 2061Assert.False(control.IsHandleCreated); 2062Assert.False(page1.IsHandleCreated); 2063Assert.False(page2.IsHandleCreated); 2069Assert.False(page1.Visible); 2070Assert.False(page2.Visible); 2071Assert.False(control.IsHandleCreated); 2072Assert.False(page1.IsHandleCreated); 2073Assert.False(page2.IsHandleCreated); 2226Assert.False(e.Cancel); 2252Assert.False(e.Cancel); 2339Assert.False(e.Cancel); 2417Assert.False(e.Cancel); 2443Assert.False(e.Cancel); 2529Assert.False(page2.IsHandleCreated); 2564Assert.False(control.IsHandleCreated); 2570Assert.False(control.IsHandleCreated); 2587Assert.False(page1.Visible); 2588Assert.False(page2.Visible); 2589Assert.False(control.IsHandleCreated); 2590Assert.False(page1.IsHandleCreated); 2591Assert.False(page2.IsHandleCreated); 2597Assert.False(page1.Visible); 2598Assert.False(page2.Visible); 2599Assert.False(control.IsHandleCreated); 2600Assert.False(page1.IsHandleCreated); 2601Assert.False(page2.IsHandleCreated); 2607Assert.False(page1.Visible); 2608Assert.False(page2.Visible); 2609Assert.False(control.IsHandleCreated); 2610Assert.False(page1.IsHandleCreated); 2611Assert.False(page2.IsHandleCreated); 2617Assert.False(page1.Visible); 2618Assert.False(page2.Visible); 2619Assert.False(control.IsHandleCreated); 2620Assert.False(page1.IsHandleCreated); 2621Assert.False(page2.IsHandleCreated); 2627Assert.False(page1.Visible); 2628Assert.False(page2.Visible); 2629Assert.False(control.IsHandleCreated); 2630Assert.False(page1.IsHandleCreated); 2631Assert.False(page2.IsHandleCreated); 2694Assert.False(page2.IsHandleCreated); 2700Assert.False(page1.Visible); 2719Assert.False(page1.Visible); 2738Assert.False(page1.Visible); 2739Assert.False(page2.Visible); 2758Assert.False(page2.Visible); 2776Assert.False(page1.Visible); 2777Assert.False(page2.Visible); 2801Assert.False(control.IsHandleCreated); 2806Assert.False(control.IsHandleCreated); 2857Assert.False(control.IsHandleCreated); 2862Assert.False(control.IsHandleCreated); 2867Assert.False(control.IsHandleCreated); 2917Assert.False(control.IsHandleCreated); 2922Assert.False(control.IsHandleCreated); 2997Assert.False(controls.IsReadOnly); 3006Assert.False(control.Created); 3024Assert.False(page1.Visible); 3025Assert.False(page2.Visible); 3026Assert.False(control.IsHandleCreated); 3027Assert.False(page1.IsHandleCreated); 3028Assert.False(page2.IsHandleCreated); 3035Assert.False(page1.Visible); 3036Assert.False(page2.Visible); 3037Assert.False(control.IsHandleCreated); 3038Assert.False(page1.IsHandleCreated); 3039Assert.False(page2.IsHandleCreated); 3045Assert.False(page1.Visible); 3046Assert.False(page2.Visible); 3047Assert.False(control.IsHandleCreated); 3048Assert.False(page1.IsHandleCreated); 3049Assert.False(page2.IsHandleCreated); 3055Assert.False(page1.Visible); 3056Assert.False(page2.Visible); 3057Assert.False(control.IsHandleCreated); 3058Assert.False(page1.IsHandleCreated); 3059Assert.False(page2.IsHandleCreated); 3090Assert.False(page2.IsHandleCreated); 3096Assert.False(page1.Visible); 3116Assert.False(page1.Visible); 3135Assert.False(page1.Visible); 3155Assert.False(page2.Visible); 3209Assert.False(page1.Visible); 3210Assert.False(page2.Visible); 3211Assert.False(control.IsHandleCreated); 3212Assert.False(page1.IsHandleCreated); 3213Assert.False(page2.IsHandleCreated); 3220Assert.False(page1.Visible); 3221Assert.False(page2.Visible); 3222Assert.False(control.IsHandleCreated); 3223Assert.False(page1.IsHandleCreated); 3224Assert.False(page2.IsHandleCreated); 3230Assert.False(page1.Visible); 3231Assert.False(page2.Visible); 3232Assert.False(control.IsHandleCreated); 3233Assert.False(page1.IsHandleCreated); 3234Assert.False(page2.IsHandleCreated); 3240Assert.False(page1.Visible); 3241Assert.False(page2.Visible); 3242Assert.False(control.IsHandleCreated); 3243Assert.False(page1.IsHandleCreated); 3244Assert.False(page2.IsHandleCreated); 3281Assert.False(page2.IsHandleCreated); 3287Assert.False(page1.Visible); 3307Assert.False(page1.Visible); 3326Assert.False(page1.Visible); 3346Assert.False(page2.Visible); 3403Assert.False(page1.Visible); 3404Assert.False(page2.Visible); 3405Assert.False(control.IsHandleCreated); 3406Assert.False(page1.IsHandleCreated); 3407Assert.False(page2.IsHandleCreated); 3414Assert.False(page1.Visible); 3415Assert.False(page2.Visible); 3416Assert.False(control.IsHandleCreated); 3417Assert.False(page1.IsHandleCreated); 3418Assert.False(page2.IsHandleCreated); 3424Assert.False(page1.Visible); 3425Assert.False(page2.Visible); 3426Assert.False(control.IsHandleCreated); 3427Assert.False(page1.IsHandleCreated); 3428Assert.False(page2.IsHandleCreated); 3434Assert.False(page1.Visible); 3435Assert.False(page2.Visible); 3436Assert.False(control.IsHandleCreated); 3437Assert.False(page1.IsHandleCreated); 3438Assert.False(page2.IsHandleCreated); 3469Assert.False(page2.IsHandleCreated); 3475Assert.False(page1.Visible); 3495Assert.False(page1.Visible); 3514Assert.False(page1.Visible); 3534Assert.False(page2.Visible); 3623Assert.False(control.IsHandleCreated); 3962Assert.False(control.GetTopLevel()); 4086Assert.False(control.IsHandleCreated); 4335Assert.False(control.IsHandleCreated); 4341Assert.False(control.IsHandleCreated); 4388Assert.False(control.IsHandleCreated); 4394Assert.False(control.IsHandleCreated); 4523Assert.False(control.IsHandleCreated); 4529Assert.False(control.IsHandleCreated); 4677Assert.False(control.IsHandleCreated); 4683Assert.False(control.IsHandleCreated); 4707Assert.False(control.IsHandleCreated); 4708Assert.False(page1.Visible); 4709Assert.False(page2.Visible); 4715Assert.False(control.IsHandleCreated); 4716Assert.False(page1.Visible); 4717Assert.False(page2.Visible); 4800Assert.False(page2.Visible); 4811Assert.False(page2.Visible); 4843Assert.False(control.IsHandleCreated); 4847Assert.False(control.IsHandleCreated); 4982Assert.False(control.IsHandleCreated); 4990Assert.False(control.IsHandleCreated); 5031Assert.False(control.IsHandleCreated); 5032Assert.False(child1.IsHandleCreated); 5033Assert.False(child2.IsHandleCreated); 5034Assert.False(child3.IsHandleCreated); 5045Assert.False(control.IsHandleCreated); 5046Assert.False(child1.IsHandleCreated); 5047Assert.False(child2.IsHandleCreated); 5048Assert.False(child3.IsHandleCreated); 5149Assert.False(child2.IsHandleCreated); 5150Assert.False(child3.IsHandleCreated); 5166Assert.False(child2.IsHandleCreated); 5167Assert.False(child3.IsHandleCreated); 5204Assert.False(page1.Visible); 5205Assert.False(page2.Visible); 5206Assert.False(control.IsHandleCreated); 5207Assert.False(page1.IsHandleCreated); 5208Assert.False(page2.IsHandleCreated); 5214Assert.False(page1.Visible); 5215Assert.False(page2.Visible); 5216Assert.False(control.IsHandleCreated); 5217Assert.False(page1.IsHandleCreated); 5218Assert.False(page2.IsHandleCreated); 5224Assert.False(page1.Visible); 5225Assert.False(page2.Visible); 5226Assert.False(control.IsHandleCreated); 5227Assert.False(page1.IsHandleCreated); 5228Assert.False(page2.IsHandleCreated); 5259Assert.False(page2.IsHandleCreated); 5265Assert.False(page1.Visible); 5284Assert.False(page1.Visible); 5304Assert.False(page2.Visible); 5365Assert.False(page1.Visible); 5366Assert.False(page2.Visible); 5367Assert.False(control.IsHandleCreated); 5368Assert.False(page1.IsHandleCreated); 5369Assert.False(page2.IsHandleCreated); 5375Assert.False(page1.Visible); 5376Assert.False(page2.Visible); 5377Assert.False(control.IsHandleCreated); 5378Assert.False(page1.IsHandleCreated); 5379Assert.False(page2.IsHandleCreated); 5385Assert.False(page1.Visible); 5386Assert.False(page2.Visible); 5387Assert.False(control.IsHandleCreated); 5388Assert.False(page1.IsHandleCreated); 5389Assert.False(page2.IsHandleCreated); 5426Assert.False(page2.IsHandleCreated); 5432Assert.False(page1.Visible); 5451Assert.False(page1.Visible); 5471Assert.False(page2.Visible); 5529Assert.False(page1.Visible); 5530Assert.False(page2.Visible); 5531Assert.False(control.IsHandleCreated); 5532Assert.False(page1.IsHandleCreated); 5533Assert.False(page2.IsHandleCreated); 5539Assert.False(page1.Visible); 5540Assert.False(page2.Visible); 5541Assert.False(control.IsHandleCreated); 5542Assert.False(page1.IsHandleCreated); 5543Assert.False(page2.IsHandleCreated); 5549Assert.False(page1.Visible); 5550Assert.False(page2.Visible); 5551Assert.False(control.IsHandleCreated); 5552Assert.False(page1.IsHandleCreated); 5553Assert.False(page2.IsHandleCreated); 5584Assert.False(page2.IsHandleCreated); 5590Assert.False(page1.Visible); 5609Assert.False(page1.Visible); 5629Assert.False(page2.Visible);
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (2)
92Assert.False(collection.Contains(new ColumnStyle())); 93Assert.False(collection.Contains(null));
System\Windows\Forms\TableLayoutPanel.TableLayoutPanelAccessibleObectTests.cs (1)
72Assert.False(tableLayoutPanel.IsHandleCreated);
System\Windows\Forms\TableLayoutPanelTests.cs (107)
23Assert.False(control.AllowDrop); 25Assert.False(control.AutoScroll); 29Assert.False(control.AutoSize); 39Assert.False(control.CanFocus); 41Assert.False(control.CanSelect); 42Assert.False(control.Capture); 51Assert.False(control.ContainsFocus); 55Assert.False(control.Created); 64Assert.False(control.DesignMode); 73Assert.False(control.DoubleBuffered); 77Assert.False(control.Focused); 82Assert.False(control.HasChildren); 86Assert.False(control.HScroll); 89Assert.False(control.IsAccessible); 90Assert.False(control.IsMirrored); 104Assert.False(control.RecreatingHandle); 106Assert.False(control.ResizeRedraw); 116Assert.False(control.TabStop); 120Assert.False(control.UseWaitCursor); 124Assert.False(control.VScroll); 127Assert.False(control.IsHandleCreated); 147Assert.False(control.IsHandleCreated); 159Assert.False(control.IsHandleCreated); 164Assert.False(control.IsHandleCreated); 239Assert.False(control.IsHandleCreated); 246Assert.False(control.IsHandleCreated); 317Assert.False(control.IsHandleCreated); 323Assert.False(control.IsHandleCreated); 338Assert.False(property.CanResetValue(control)); 341Assert.False(property.CanResetValue(control)); 346Assert.False(property.CanResetValue(control)); 350Assert.False(property.CanResetValue(control)); 358Assert.False(property.ShouldSerializeValue(control)); 361Assert.False(property.ShouldSerializeValue(control)); 392Assert.False(control.IsHandleCreated); 398Assert.False(control.IsHandleCreated); 430Assert.False(control.IsHandleCreated); 438Assert.False(control.IsHandleCreated); 466Assert.False(control.IsHandleCreated); 474Assert.False(control.IsHandleCreated); 525Assert.False(control.IsHandleCreated); 533Assert.False(control.IsHandleCreated); 564Assert.False(control.IsHandleCreated); 572Assert.False(control.IsHandleCreated); 609Assert.False(control.IsHandleCreated); 615Assert.False(control.IsHandleCreated); 632Assert.False(controls.IsReadOnly); 1201Assert.False(control.GetTopLevel()); 1281Assert.False(control.IsHandleCreated); 1287Assert.False(control.IsHandleCreated); 1353Assert.False(control.IsHandleCreated); 1359Assert.False(control.IsHandleCreated); 1455Assert.False(control.IsHandleCreated); 1462Assert.False(control.IsHandleCreated); 1525Assert.False(control.IsHandleCreated); 1532Assert.False(control.IsHandleCreated); 1566Assert.False(control.IsHandleCreated); 1567Assert.False(child.IsHandleCreated); 1574Assert.False(control.IsHandleCreated); 1575Assert.False(child.IsHandleCreated); 1619Assert.False(control.IsHandleCreated); 1620Assert.False(child.IsHandleCreated); 1621Assert.False(parent.IsHandleCreated); 1629Assert.False(control.IsHandleCreated); 1630Assert.False(child.IsHandleCreated); 1631Assert.False(parent.IsHandleCreated); 1677Assert.False(control.IsHandleCreated); 1678Assert.False(child.IsHandleCreated); 1685Assert.False(control.IsHandleCreated); 1686Assert.False(child.IsHandleCreated); 1725Assert.False(control.IsHandleCreated); 1726Assert.False(child.IsHandleCreated); 1727Assert.False(parent.IsHandleCreated); 1735Assert.False(control.IsHandleCreated); 1736Assert.False(child.IsHandleCreated); 1737Assert.False(parent.IsHandleCreated); 1788Assert.False(control.IsHandleCreated); 1789Assert.False(child.IsHandleCreated); 1796Assert.False(control.IsHandleCreated); 1797Assert.False(child.IsHandleCreated); 1834Assert.False(control.IsHandleCreated); 1835Assert.False(child.IsHandleCreated); 1836Assert.False(parent.IsHandleCreated); 1844Assert.False(control.IsHandleCreated); 1845Assert.False(child.IsHandleCreated); 1846Assert.False(parent.IsHandleCreated); 1904Assert.False(control.IsHandleCreated); 1905Assert.False(child.IsHandleCreated); 1912Assert.False(control.IsHandleCreated); 1913Assert.False(child.IsHandleCreated); 1952Assert.False(control.IsHandleCreated); 1953Assert.False(child.IsHandleCreated); 1954Assert.False(parent.IsHandleCreated); 1962Assert.False(control.IsHandleCreated); 1963Assert.False(child.IsHandleCreated); 1964Assert.False(parent.IsHandleCreated); 2015Assert.False(control.IsHandleCreated); 2016Assert.False(child.IsHandleCreated); 2023Assert.False(control.IsHandleCreated); 2024Assert.False(child.IsHandleCreated); 2061Assert.False(control.IsHandleCreated); 2062Assert.False(child.IsHandleCreated); 2063Assert.False(parent.IsHandleCreated); 2071Assert.False(control.IsHandleCreated); 2072Assert.False(child.IsHandleCreated); 2073Assert.False(parent.IsHandleCreated); 2135Assert.False(extenderProvider.CanExtend(obj));
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (2)
92Assert.False(collection.Contains(new RowStyle())); 93Assert.False(collection.Contains(null));
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (6)
17Assert.False(collection.IsFixedSize); 18Assert.False(collection.IsReadOnly); 19Assert.False(collection.IsSynchronized); 262Assert.False(collection.Contains(new ColumnStyle())); 263Assert.False(collection.Contains(new RowStyle())); 264Assert.False(collection.Contains(null));
System\Windows\Forms\TableLayoutStyleTests.cs (2)
58Assert.False(control.IsHandleCreated); 64Assert.False(control.IsHandleCreated);
System\Windows\Forms\TabPageTests.cs (191)
26Assert.False(control.AllowDrop); 28Assert.False(control.AutoScroll); 32Assert.False(control.AutoSize); 42Assert.False(control.CanFocus); 44Assert.False(control.CanSelect); 45Assert.False(control.Capture); 50Assert.False(control.ContainsFocus); 55Assert.False(control.Created); 64Assert.False(control.DesignMode); 73Assert.False(control.DoubleBuffered); 77Assert.False(control.Focused); 81Assert.False(control.HasChildren); 85Assert.False(control.HScroll); 88Assert.False(control.IsAccessible); 89Assert.False(control.IsMirrored); 101Assert.False(control.RecreatingHandle); 103Assert.False(control.ResizeRedraw); 111Assert.False(control.TabStop); 115Assert.False(control.UseVisualStyleBackColor); 116Assert.False(control.UseWaitCursor); 120Assert.False(control.VScroll); 123Assert.False(control.IsHandleCreated); 135Assert.False(control.AllowDrop); 137Assert.False(control.AutoScroll); 141Assert.False(control.AutoSize); 151Assert.False(control.CanFocus); 153Assert.False(control.CanSelect); 154Assert.False(control.Capture); 159Assert.False(control.ContainsFocus); 164Assert.False(control.Created); 173Assert.False(control.DesignMode); 182Assert.False(control.DoubleBuffered); 186Assert.False(control.Focused); 190Assert.False(control.HasChildren); 194Assert.False(control.HScroll); 197Assert.False(control.IsAccessible); 198Assert.False(control.IsMirrored); 210Assert.False(control.RecreatingHandle); 212Assert.False(control.ResizeRedraw); 220Assert.False(control.TabStop); 224Assert.False(control.UseVisualStyleBackColor); 225Assert.False(control.UseWaitCursor); 229Assert.False(control.VScroll); 232Assert.False(control.IsHandleCreated); 252Assert.False(control.IsHandleCreated); 265Assert.False(control.IsHandleCreated); 271Assert.False(control.IsHandleCreated); 286Assert.False(control.IsHandleCreated); 292Assert.False(control.IsHandleCreated); 307Assert.False(control.IsHandleCreated); 313Assert.False(control.IsHandleCreated); 327Assert.False(control.IsHandleCreated); 333Assert.False(control.IsHandleCreated); 339Assert.False(control.IsHandleCreated); 360Assert.False(control.AutoSize); 365Assert.False(control.AutoSize); 376Assert.False(control.AutoSize); 392Assert.False(control.IsHandleCreated); 399Assert.False(control.IsHandleCreated); 421Assert.False(control.IsHandleCreated); 423Assert.False(parent.IsHandleCreated); 430Assert.False(control.IsHandleCreated); 432Assert.False(parent.IsHandleCreated); 652Assert.False(control.UseVisualStyleBackColor); 657Assert.False(control.UseVisualStyleBackColor); 670Assert.False(control.UseVisualStyleBackColor); 671Assert.False(control.IsHandleCreated); 676Assert.False(control.UseVisualStyleBackColor); 677Assert.False(control.IsHandleCreated); 712Assert.False(control.UseVisualStyleBackColor); 713Assert.False(control.IsHandleCreated); 718Assert.False(control.UseVisualStyleBackColor); 719Assert.False(control.IsHandleCreated); 756Assert.False(control.IsHandleCreated); 762Assert.False(control.IsHandleCreated); 815Assert.False(control.IsHandleCreated); 821Assert.False(control.IsHandleCreated); 1004Assert.False(control.IsHandleCreated); 1009Assert.False(control.IsHandleCreated); 1014Assert.False(control.IsHandleCreated); 1077Assert.False(control.Enabled); 1082Assert.False(control.Enabled); 1093Assert.False(control.Enabled); 1110Assert.False(control.IsHandleCreated); 1117Assert.False(control.IsHandleCreated); 1134Assert.False(control.Visible); 1135Assert.False(control.IsHandleCreated); 1136Assert.False(parent.IsHandleCreated); 1142Assert.False(control.Visible); 1143Assert.False(control.IsHandleCreated); 1144Assert.False(parent.IsHandleCreated); 1174Assert.False(control.Visible); 1175Assert.False(control.IsHandleCreated); 1176Assert.False(parent.IsHandleCreated); 1182Assert.False(control.Visible); 1183Assert.False(control.IsHandleCreated); 1184Assert.False(parent.IsHandleCreated); 1201Assert.False(control.IsHandleCreated); 1208Assert.False(control.IsHandleCreated); 1504Assert.False(control.IsHandleCreated); 1511Assert.False(control.IsHandleCreated); 1526Assert.False(control.IsHandleCreated); 1527Assert.False(parent.IsHandleCreated); 1534Assert.False(control.IsHandleCreated); 1535Assert.False(parent.IsHandleCreated); 1563Assert.False(control.IsHandleCreated); 1564Assert.False(parent.IsHandleCreated); 1571Assert.False(control.IsHandleCreated); 1572Assert.False(parent.IsHandleCreated); 1916Assert.False(control.IsHandleCreated); 1938Assert.False(control.IsHandleCreated); 2007Assert.False(control.IsHandleCreated); 2030Assert.False(control.IsHandleCreated); 2366Assert.False(property.CanResetValue(control)); 2370Assert.False(property.CanResetValue(control)); 2374Assert.False(property.CanResetValue(control)); 2378Assert.False(property.CanResetValue(control)); 2382Assert.False(property.CanResetValue(control)); 2386Assert.False(property.CanResetValue(control)); 2394Assert.False(property.ShouldSerializeValue(control)); 2414Assert.False(property.ShouldSerializeValue(control)); 2432Assert.False(control.IsHandleCreated); 2439Assert.False(control.IsHandleCreated); 2463Assert.False(control.IsHandleCreated); 2470Assert.False(control.IsHandleCreated); 2488Assert.False(control.IsHandleCreated); 2493Assert.False(control.IsHandleCreated); 2509Assert.False(control.IsHandleCreated); 2515Assert.False(control.IsHandleCreated); 2528Assert.False(control.IsHandleCreated); 2534Assert.False(control.IsHandleCreated); 2630Assert.False(control.IsHandleCreated); 2635Assert.False(control.IsHandleCreated); 2692Assert.False(control.IsHandleCreated); 2697Assert.False(control.IsHandleCreated); 2702Assert.False(control.IsHandleCreated); 2760Assert.False(control.TabStop); 2765Assert.False(control.TabStop); 2776Assert.False(control.TabStop); 2789Assert.False(control.IsHandleCreated); 2794Assert.False(control.IsHandleCreated); 2808Assert.False(control.Visible); 2809Assert.False(control.IsHandleCreated); 2810Assert.False(parent.IsHandleCreated); 2815Assert.False(control.Visible); 2816Assert.False(control.IsHandleCreated); 2817Assert.False(parent.IsHandleCreated); 2844Assert.False(control.Visible); 2845Assert.False(control.IsHandleCreated); 2846Assert.False(parent.IsHandleCreated); 2851Assert.False(control.Visible); 2852Assert.False(control.IsHandleCreated); 2853Assert.False(parent.IsHandleCreated); 3161Assert.False(control.IsHandleCreated); 3166Assert.False(control.IsHandleCreated); 3180Assert.False(control.Visible); 3181Assert.False(control.IsHandleCreated); 3182Assert.False(parent.IsHandleCreated); 3187Assert.False(control.Visible); 3188Assert.False(control.IsHandleCreated); 3189Assert.False(parent.IsHandleCreated); 3216Assert.False(control.Visible); 3217Assert.False(control.IsHandleCreated); 3218Assert.False(parent.IsHandleCreated); 3223Assert.False(control.Visible); 3224Assert.False(control.IsHandleCreated); 3225Assert.False(parent.IsHandleCreated); 3496Assert.False(control.IsHandleCreated); 3501Assert.False(control.IsHandleCreated); 3506Assert.False(control.IsHandleCreated); 3556Assert.False(control.IsHandleCreated); 3561Assert.False(control.IsHandleCreated); 3566Assert.False(control.IsHandleCreated); 3581Assert.False(parent.IsHandleCreated); 3587Assert.False(parent.IsHandleCreated); 3593Assert.False(parent.IsHandleCreated); 3720Assert.False(control.Visible); 3725Assert.False(control.Visible); 3736Assert.False(control.Visible); 3747Assert.False(controls.IsReadOnly); 3807Assert.False(control.GetTopLevel()); 3997Assert.False(control.IsHandleCreated); 4003Assert.False(control.IsHandleCreated); 4087Assert.False(control.IsHandleCreated); 4095Assert.False(control.IsHandleCreated); 4362Assert.False(control.IsHandleCreated); 4383Assert.False(control.IsHandleCreated); 4500Assert.False(control.IsHandleCreated); 4522Assert.False(control.IsHandleCreated); 4978Assert.False(neighborsRectangles.Contains(GetTabRect(i))); // check the rest lefts 4988Assert.False(neighborsRectangles.Contains(GetTabRect(i))); // check the rest rights
System\Windows\Forms\TabPageTests.TabPageControlCollection.cs (9)
14Assert.False(collection.IsReadOnly); 57Assert.False(owner.IsHandleCreated); 58Assert.False(control1.IsHandleCreated); 71Assert.False(owner.IsHandleCreated); 72Assert.False(control1.IsHandleCreated); 73Assert.False(control2.IsHandleCreated); 87Assert.False(owner.IsHandleCreated); 88Assert.False(control1.IsHandleCreated); 89Assert.False(control2.IsHandleCreated);
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (41)
18Assert.False(textBoxBase.IsHandleCreated); 21Assert.False(textBoxBase.IsHandleCreated); 37Assert.False(provider.IsMultiline); 42Assert.False(textBoxBase.IsHandleCreated); 55Assert.False(textBoxBase.IsHandleCreated); 73Assert.False(provider.IsScrollable); 74Assert.False(textBoxBase.IsHandleCreated); 83Assert.False(textBoxBase.IsHandleCreated); 108Assert.False(provider.IsReadingRTL); 109Assert.False(textBoxBase.IsHandleCreated); 118Assert.False(documentRange.IsNull); 119Assert.False(textBoxBase.IsHandleCreated); 129Assert.False(textBoxBase.IsHandleCreated); 141Assert.False(uiaTextRange.IsNull); 154Assert.False(textBoxBase.IsHandleCreated); 182Assert.False(textBoxBase.IsHandleCreated); 220Assert.False(textBoxBase.IsHandleCreated); 264Assert.False(textBoxBase.IsHandleCreated); 304Assert.False(textBoxBase.IsHandleCreated); 352Assert.False(textBoxBase.IsHandleCreated); 367Assert.False(string.IsNullOrEmpty(actual.FaceName.ToString())); 383Assert.False(textBoxBase.IsHandleCreated); 420Assert.False(textBoxBase.IsHandleCreated); 464Assert.False(textBoxBase.IsHandleCreated); 512Assert.False(textBoxBase.IsHandleCreated); 544Assert.False(textBoxBase.IsHandleCreated); 583Assert.False(textBoxBase.IsHandleCreated); 606Assert.False(textBoxBase.IsHandleCreated); 705Assert.False(textBoxBase.IsHandleCreated); 729Assert.False(scope.IsEmpty); 747Assert.False(textBoxBase.IsHandleCreated); 760Assert.False(range.IsNull); 795Assert.False(range.IsNull); 811Assert.False(textBoxBase.IsHandleCreated); 826Assert.False(selection.IsEmpty); 847Assert.False(textBoxBase.IsHandleCreated); 851Assert.False(textBoxBase.IsHandleCreated); 868Assert.False(selection.IsEmpty); 913Assert.False(provider.LineScroll(0, expectedLine)); 915Assert.False(textBoxBase.IsHandleCreated); 936Assert.False(textBoxBase.IsHandleCreated);
System\Windows\Forms\TimerTests.cs (15)
16Assert.False(timer.DesignMode); 17Assert.False(timer.Enabled); 29Assert.False(timer.DesignMode); 30Assert.False(timer.Enabled); 287Assert.False(timer.Enabled); 339Assert.False(timer.Enabled); 347Assert.False(timer.Enabled); 373Assert.False(timer.Enabled); 377Assert.False(timer.Enabled); 414Assert.False(timer.Enabled); 418Assert.False(timer.Enabled); 428Assert.False(timer.Enabled); 432Assert.False(timer.Enabled); 443Assert.False(timer.Enabled); 447Assert.False(timer.Enabled);
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (3)
37Assert.False(toolStrip.IsHandleCreated); 53Assert.False(toolStrip.IsHandleCreated); 85Assert.False(toolStrip.IsHandleCreated);
System\Windows\Forms\ToolStripButtonTests.cs (95)
25Assert.False(item.AllowDrop); 36Assert.False(item.Checked); 37Assert.False(item.CheckOnClick); 46Assert.False(item.DesignMode); 50Assert.False(item.DoubleClickEnabled); 65Assert.False(item.IsDisposed); 66Assert.False(item.IsOnDropDown); 67Assert.False(item.IsOnOverflow); 77Assert.False(item.Pressed); 79Assert.False(item.RightToLeftAutoMirrorImage); 80Assert.False(item.Selected); 90Assert.False(item.Visible); 106Assert.False(item.AllowDrop); 117Assert.False(item.Checked); 118Assert.False(item.CheckOnClick); 127Assert.False(item.DesignMode); 131Assert.False(item.DoubleClickEnabled); 146Assert.False(item.IsDisposed); 147Assert.False(item.IsOnDropDown); 148Assert.False(item.IsOnOverflow); 158Assert.False(item.Pressed); 160Assert.False(item.RightToLeftAutoMirrorImage); 161Assert.False(item.Selected); 171Assert.False(item.Visible); 193Assert.False(item.AllowDrop); 204Assert.False(item.Checked); 205Assert.False(item.CheckOnClick); 214Assert.False(item.DesignMode); 218Assert.False(item.DoubleClickEnabled); 233Assert.False(item.IsDisposed); 234Assert.False(item.IsOnDropDown); 235Assert.False(item.IsOnOverflow); 245Assert.False(item.Pressed); 247Assert.False(item.RightToLeftAutoMirrorImage); 248Assert.False(item.Selected); 258Assert.False(item.Visible); 283Assert.False(item.AllowDrop); 294Assert.False(item.Checked); 295Assert.False(item.CheckOnClick); 304Assert.False(item.DesignMode); 308Assert.False(item.DoubleClickEnabled); 323Assert.False(item.IsDisposed); 324Assert.False(item.IsOnDropDown); 325Assert.False(item.IsOnOverflow); 335Assert.False(item.Pressed); 337Assert.False(item.RightToLeftAutoMirrorImage); 338Assert.False(item.Selected); 348Assert.False(item.Visible); 372Assert.False(item.AllowDrop); 382Assert.False(item.Checked); 383Assert.False(item.CheckOnClick); 392Assert.False(item.DesignMode); 396Assert.False(item.DoubleClickEnabled); 411Assert.False(item.IsDisposed); 412Assert.False(item.IsOnDropDown); 413Assert.False(item.IsOnOverflow); 423Assert.False(item.Pressed); 425Assert.False(item.RightToLeftAutoMirrorImage); 426Assert.False(item.Selected); 436Assert.False(item.Visible); 470Assert.False(item.AllowDrop); 480Assert.False(item.Checked); 481Assert.False(item.CheckOnClick); 490Assert.False(item.DesignMode); 494Assert.False(item.DoubleClickEnabled); 509Assert.False(item.IsDisposed); 510Assert.False(item.IsOnDropDown); 511Assert.False(item.IsOnOverflow); 521Assert.False(item.Pressed); 523Assert.False(item.RightToLeftAutoMirrorImage); 524Assert.False(item.Selected); 534Assert.False(item.Visible); 604Assert.False(button.Enabled); 671Assert.False(owner.IsHandleCreated); 677Assert.False(owner.IsHandleCreated); 683Assert.False(owner.IsHandleCreated); 744Assert.False(parent.IsHandleCreated); 750Assert.False(parent.IsHandleCreated); 756Assert.False(parent.IsHandleCreated); 830Assert.False(item.Checked); 836Assert.False(item.Checked); 849Assert.False(item.Checked); 890Assert.False(owner.IsHandleCreated); 896Assert.False(owner.IsHandleCreated); 1161Assert.False(item.Checked); 1167Assert.False(item.Checked); 1196Assert.False(item.Checked); 1533Assert.False(item.Pressed); 1560Assert.False(item.Pressed); 1587Assert.False(item.Pressed); 1612Assert.False(item.Pressed); 1639Assert.False(item.Pressed); 1666Assert.False(item.Pressed); 1678Assert.False(item.ProcessDialogKey(keyData)); 1680Assert.False(item.Pressed);
System\Windows\Forms\ToolStripContentPanelRenderEventArgsTests.cs (1)
36Assert.False(e.Handled);
System\Windows\Forms\ToolStripContentPanelTests.cs (107)
24Assert.False(control.AllowDrop); 26Assert.False(control.AutoScroll); 30Assert.False(control.AutoSize); 40Assert.False(control.CanFocus); 42Assert.False(control.CanSelect); 43Assert.False(control.Capture); 48Assert.False(control.ContainsFocus); 52Assert.False(control.Created); 61Assert.False(control.DesignMode); 70Assert.False(control.DoubleBuffered); 74Assert.False(control.Focused); 78Assert.False(control.HasChildren); 82Assert.False(control.HScroll); 85Assert.False(control.IsAccessible); 86Assert.False(control.IsMirrored); 98Assert.False(control.RecreatingHandle); 110Assert.False(control.TabStop); 114Assert.False(control.UseWaitCursor); 118Assert.False(control.VScroll); 121Assert.False(control.IsHandleCreated); 134Assert.False(control.IsHandleCreated); 140Assert.False(control.IsHandleCreated); 162Assert.False(control.IsHandleCreated); 169Assert.False(control.IsHandleCreated); 176Assert.False(control.IsHandleCreated); 264Assert.False(control.IsHandleCreated); 271Assert.False(control.IsHandleCreated); 352Assert.False(control.IsHandleCreated); 359Assert.False(control.IsHandleCreated); 415Assert.False(control.IsHandleCreated); 421Assert.False(control.IsHandleCreated); 427Assert.False(control.IsHandleCreated); 448Assert.False(control.AutoSize); 453Assert.False(control.AutoSize); 464Assert.False(control.AutoSize); 479Assert.False(control.IsHandleCreated); 485Assert.False(control.IsHandleCreated); 506Assert.False(control.IsHandleCreated); 508Assert.False(parent.IsHandleCreated); 514Assert.False(control.IsHandleCreated); 516Assert.False(parent.IsHandleCreated); 615Assert.False(control.IsHandleCreated); 620Assert.False(control.IsHandleCreated); 645Assert.False(control.IsHandleCreated); 646Assert.False(parent.IsHandleCreated); 651Assert.False(control.IsHandleCreated); 652Assert.False(parent.IsHandleCreated); 675Assert.False(control.IsHandleCreated); 676Assert.False(parent.IsHandleCreated); 681Assert.False(control.IsHandleCreated); 682Assert.False(parent.IsHandleCreated); 729Assert.False(control.IsHandleCreated); 734Assert.False(control.IsHandleCreated); 785Assert.False(control.IsHandleCreated); 790Assert.False(control.IsHandleCreated); 795Assert.False(control.IsHandleCreated); 816Assert.False(control.CausesValidation); 821Assert.False(control.CausesValidation); 832Assert.False(control.CausesValidation); 957Assert.False(control.IsHandleCreated); 979Assert.False(control.IsHandleCreated); 1051Assert.False(control.IsHandleCreated); 1058Assert.False(control.IsHandleCreated); 1082Assert.False(control.IsHandleCreated); 1089Assert.False(control.IsHandleCreated); 1101Assert.False(control.IsHandleCreated); 1106Assert.False(control.IsHandleCreated); 1154Assert.False(control.IsHandleCreated); 1161Assert.False(control.IsHandleCreated); 1170Assert.False(control.IsHandleCreated); 1305Assert.False(control.IsHandleCreated); 1312Assert.False(control.IsHandleCreated); 1319Assert.False(control.IsHandleCreated); 1343Assert.False(control.IsHandleCreated); 1350Assert.False(control.IsHandleCreated); 1359Assert.False(control.IsHandleCreated); 1437Assert.False(property.CanResetValue(item)); 1445Assert.False(property.CanResetValue(item)); 1449Assert.False(property.CanResetValue(item)); 1457Assert.False(property.CanResetValue(item)); 1465Assert.False(property.ShouldSerializeValue(item)); 1473Assert.False(property.ShouldSerializeValue(item)); 1477Assert.False(property.ShouldSerializeValue(item)); 1485Assert.False(property.ShouldSerializeValue(item)); 1499Assert.False(control.IsHandleCreated); 1504Assert.False(control.IsHandleCreated); 1561Assert.False(control.IsHandleCreated); 1566Assert.False(control.IsHandleCreated); 1571Assert.False(control.IsHandleCreated); 1629Assert.False(control.TabStop); 1634Assert.False(control.TabStop); 1645Assert.False(control.TabStop); 1705Assert.False(control.GetTopLevel()); 1717Assert.False(control.IsHandleCreated); 1722Assert.False(control.IsHandleCreated); 1727Assert.False(control.IsHandleCreated); 1739Assert.False(control.IsHandleCreated); 1744Assert.False(control.IsHandleCreated); 1749Assert.False(control.IsHandleCreated); 1770Assert.False(control.Visible); 1775Assert.False(control.Visible); 1786Assert.False(control.Visible); 1815Assert.False(control.IsHandleCreated); 1822Assert.False(control.IsHandleCreated); 1869Assert.False(e.Handled); 1927Assert.False(control.IsHandleCreated); 1934Assert.False(control.IsHandleCreated);
System\Windows\Forms\ToolStripControlHostTests.cs (177)
55Assert.False(item.AllowDrop); 58Assert.False(item.AutoToolTip); 71Assert.False(item.DefaultAutoToolTip); 76Assert.False(item.DesignMode); 80Assert.False(item.DoubleClickEnabled); 94Assert.False(item.IsDisposed); 95Assert.False(item.IsOnDropDown); 96Assert.False(item.IsOnOverflow); 106Assert.False(item.Pressed); 108Assert.False(item.RightToLeftAutoMirrorImage); 119Assert.False(item.Visible); 123Assert.False(c.IsHandleCreated); 144Assert.False(c.IsHandleCreated); 150Assert.False(c.IsHandleCreated); 174Assert.False(c.IsHandleCreated); 180Assert.False(c.IsHandleCreated); 204Assert.False(c.IsHandleCreated); 210Assert.False(c.IsHandleCreated); 234Assert.False(c.IsHandleCreated); 240Assert.False(c.IsHandleCreated); 273Assert.False(c.IsHandleCreated); 279Assert.False(c.IsHandleCreated); 334Assert.False(property.CanResetValue(item)); 342Assert.False(property.CanResetValue(item)); 352Assert.False(property.CanResetValue(item)); 356Assert.False(property.CanResetValue(item)); 365Assert.False(property.ShouldSerializeValue(item)); 373Assert.False(property.ShouldSerializeValue(item)); 383Assert.False(property.ShouldSerializeValue(item)); 415Assert.False(c.IsHandleCreated); 421Assert.False(c.IsHandleCreated); 456Assert.False(c.IsHandleCreated); 462Assert.False(c.IsHandleCreated); 509Assert.False(item.CanSelect); 523Assert.False(c.IsHandleCreated); 529Assert.False(c.IsHandleCreated); 535Assert.False(c.IsHandleCreated); 582Assert.False(c.CausesValidation); 583Assert.False(item.CausesValidation); 599Assert.False(c.Enabled); 600Assert.False(item.Enabled); 682Assert.False(c.Visible); 683Assert.False(item.Available); 684Assert.False(item.Visible); 690Assert.False(item.Visible); 709Assert.False(c.IsHandleCreated); 716Assert.False(c.IsHandleCreated); 729Assert.False(c.IsHandleCreated); 734Assert.False(c.IsHandleCreated); 768Assert.False(c.IsHandleCreated); 773Assert.False(c.IsHandleCreated); 830Assert.False(c.IsHandleCreated); 835Assert.False(c.IsHandleCreated); 873Assert.False(c.IsHandleCreated); 879Assert.False(c.IsHandleCreated); 885Assert.False(c.IsHandleCreated); 904Assert.False(item.Enabled); 909Assert.False(item.Enabled); 975Assert.False(c.IsHandleCreated); 981Assert.False(c.IsHandleCreated); 1001Assert.False(property.CanResetValue(item)); 1010Assert.False(property.CanResetValue(item)); 1018Assert.False(property.CanResetValue(item)); 1028Assert.False(property.CanResetValue(item)); 1032Assert.False(property.CanResetValue(item)); 1041Assert.False(property.ShouldSerializeValue(item)); 1050Assert.False(property.ShouldSerializeValue(item)); 1058Assert.False(property.ShouldSerializeValue(item)); 1068Assert.False(property.ShouldSerializeValue(item)); 1092Assert.False(c.IsHandleCreated); 1098Assert.False(c.IsHandleCreated); 1153Assert.False(property.CanResetValue(item)); 1161Assert.False(property.CanResetValue(item)); 1171Assert.False(property.CanResetValue(item)); 1175Assert.False(property.CanResetValue(item)); 1184Assert.False(property.ShouldSerializeValue(item)); 1192Assert.False(property.ShouldSerializeValue(item)); 1202Assert.False(property.ShouldSerializeValue(item)); 1229Assert.False(c.IsHandleCreated); 1235Assert.False(c.IsHandleCreated); 1248Assert.False(c.IsHandleCreated); 1253Assert.False(c.IsHandleCreated); 1281Assert.False(c.IsHandleCreated); 1288Assert.False(c.IsHandleCreated); 1303Assert.False(c.IsHandleCreated); 1310Assert.False(c.IsHandleCreated); 1323Assert.False(c.IsHandleCreated); 1328Assert.False(c.IsHandleCreated); 1354Assert.False(c.IsHandleCreated); 1359Assert.False(c.IsHandleCreated); 1564Assert.False(c.IsHandleCreated); 1570Assert.False(c.IsHandleCreated); 1584Assert.False(c.IsHandleCreated); 1590Assert.False(c.IsHandleCreated); 1644Assert.False(property.CanResetValue(item)); 1656Assert.False(property.CanResetValue(item)); 1664Assert.False(property.CanResetValue(item)); 1675Assert.False(property.CanResetValue(item)); 1678Assert.False(property.CanResetValue(item)); 1687Assert.False(property.ShouldSerializeValue(item)); 1699Assert.False(property.ShouldSerializeValue(item)); 1707Assert.False(property.ShouldSerializeValue(item)); 1718Assert.False(property.ShouldSerializeValue(item)); 1731Assert.False(c.IsHandleCreated); 1736Assert.False(c.IsHandleCreated); 1741Assert.False(c.IsHandleCreated); 1751Assert.False(item.Selected); 1794Assert.False(c.IsHandleCreated); 1804Assert.False(c.IsHandleCreated); 1810Assert.False(c.IsHandleCreated); 1852Assert.False(oldSite.DesignMode); 1903Assert.False(c.IsHandleCreated); 1910Assert.False(c.IsHandleCreated); 1962Assert.False(c.IsHandleCreated); 1980Assert.False(c.IsHandleCreated); 2001Assert.False(c.IsHandleCreated); 2256Assert.False(c.IsHandleCreated); 2262Assert.False(c.IsHandleCreated); 2413Assert.False(item.Visible); 2416Assert.False(item.Selected); 2420Assert.False(item.Visible); 2423Assert.False(item.Selected); 2427Assert.False(item.Visible); 2430Assert.False(item.Selected); 2449Assert.False(item.Available); 2454Assert.False(item.Available); 2465Assert.False(item.Available); 2485Assert.False(item.Available); 2490Assert.False(item.Available); 2501Assert.False(item.Available); 2583Assert.False(c.IsDisposed); 2594Assert.False(item.IsDisposed); 2602Assert.False(item.IsDisposed); 2625Assert.False(c.IsDisposed); 2636Assert.False(item.IsDisposed); 2644Assert.False(item.IsDisposed); 2668Assert.False(item.IsDisposed); 2669Assert.False(c.IsDisposed); 2676Assert.False(item.IsDisposed); 2677Assert.False(c.IsDisposed); 2694Assert.False(c.Focused); 2695Assert.False(c.IsHandleCreated); 2780Assert.False(c.IsHandleCreated); 2786Assert.False(c.IsHandleCreated); 3068Assert.False(c.IsHandleCreated); 3090Assert.False(c.IsHandleCreated); 3257Assert.False(c.IsHandleCreated); 3279Assert.False(c.IsHandleCreated); 4202Assert.False(item.ProcessCmdKey(ref m, keyData)); 4203Assert.False(c.IsHandleCreated); 4227Assert.False(item.ProcessCmdKey(ref m, keyData)); 4229Assert.False(c.IsHandleCreated); 4245Assert.False(item.ProcessCmdKey(ref m, keyData)); 4261Assert.False(item.ProcessDialogKey(keyData)); 4263Assert.False(c.IsHandleCreated); 4286Assert.False(item.ProcessDialogKey(keyData)); 4289Assert.False(c.IsHandleCreated); 4306Assert.False(item.ProcessDialogKey(keyData)); 4320Assert.False(item.ProcessMnemonic(charCode)); 4322Assert.False(c.IsHandleCreated); 4349Assert.False(c.IsHandleCreated); 4367Assert.False(item.Pressed); 4464Assert.False(item.Visible); 4466Assert.False(item.Selected); 4467Assert.False(c.IsHandleCreated); 4472Assert.False(item.Visible); 4474Assert.False(item.Selected); 4475Assert.False(c.IsHandleCreated); 4480Assert.False(item.Visible); 4482Assert.False(item.Selected); 4483Assert.False(c.IsHandleCreated); 4502Assert.False(item.Available); 4507Assert.False(item.Available); 4518Assert.False(item.Available); 4538Assert.False(item.Available); 4543Assert.False(item.Available); 4554Assert.False(item.Available);
System\Windows\Forms\ToolStripDropDownClosingEventArgsTests.cs (1)
16Assert.False(e.Cancel);
System\Windows\Forms\ToolStripDropDownItemTests.cs (55)
24Assert.False(item.AllowDrop); 27Assert.False(item.AutoToolTip); 37Assert.False(item.DefaultAutoToolTip); 42Assert.False(item.DesignMode); 46Assert.False(item.DoubleClickEnabled); 56Assert.False(item.HasDropDownItems); 57Assert.False(item.HasDropDown); 65Assert.False(item.IsDisposed); 66Assert.False(item.IsOnDropDown); 67Assert.False(item.IsOnOverflow); 77Assert.False(item.Pressed); 79Assert.False(item.RightToLeftAutoMirrorImage); 80Assert.False(item.Selected); 90Assert.False(item.Visible); 114Assert.False(item.AllowDrop); 117Assert.False(item.AutoToolTip); 126Assert.False(item.DefaultAutoToolTip); 131Assert.False(item.DesignMode); 135Assert.False(item.DoubleClickEnabled); 145Assert.False(item.HasDropDownItems); 146Assert.False(item.HasDropDown); 154Assert.False(item.IsDisposed); 155Assert.False(item.IsOnDropDown); 156Assert.False(item.IsOnOverflow); 166Assert.False(item.Pressed); 168Assert.False(item.RightToLeftAutoMirrorImage); 169Assert.False(item.Selected); 179Assert.False(item.Visible); 213Assert.False(item.AllowDrop); 216Assert.False(item.AutoToolTip); 225Assert.False(item.DefaultAutoToolTip); 230Assert.False(item.DesignMode); 234Assert.False(item.DoubleClickEnabled); 244Assert.False(item.HasDropDownItems); 245Assert.False(item.HasDropDown); 253Assert.False(item.IsDisposed); 254Assert.False(item.IsOnDropDown); 255Assert.False(item.IsOnOverflow); 265Assert.False(item.Pressed); 267Assert.False(item.RightToLeftAutoMirrorImage); 268Assert.False(item.Selected); 278Assert.False(item.Visible); 313Assert.False(item.AllowDrop); 316Assert.False(item.AutoToolTip); 325Assert.False(item.DefaultAutoToolTip); 330Assert.False(item.DesignMode); 334Assert.False(item.DoubleClickEnabled); 361Assert.False(item.IsDisposed); 362Assert.False(item.IsOnDropDown); 363Assert.False(item.IsOnOverflow); 373Assert.False(item.Pressed); 375Assert.False(item.RightToLeftAutoMirrorImage); 376Assert.False(item.Selected); 386Assert.False(item.Visible); 468Assert.False(item.HasDropDown);
System\Windows\Forms\ToolStripDropDownTests.cs (219)
23Assert.False(control.AllowDrop); 24Assert.False(control.AllowItemReorder); 26Assert.False(control.AllowTransparency); 29Assert.False(control.AutoScroll); 41Assert.False(control.CanFocus); 42Assert.False(control.CanOverflow); 44Assert.False(control.CanSelect); 45Assert.False(control.Capture); 46Assert.False(control.CausesValidation); 50Assert.False(control.ContainsFocus); 54Assert.False(control.Created); 67Assert.False(control.DesignMode); 83Assert.False(control.Focused); 91Assert.False(control.HasChildren); 95Assert.False(control.HScroll); 100Assert.False(control.IsAccessible); 101Assert.False(control.IsAutoGenerated); 102Assert.False(control.IsCurrentlyDragging); 104Assert.False(control.IsMirrored); 129Assert.False(control.RecreatingHandle); 143Assert.False(control.Stretch); 145Assert.False(control.TabStop); 152Assert.False(control.UseWaitCursor); 155Assert.False(control.Visible); 156Assert.False(control.VScroll); 159Assert.False(control.IsHandleCreated); 179Assert.False(control.IsHandleCreated); 210Assert.False(control.IsHandleCreated); 244Assert.False(control.IsHandleCreated); 256Assert.False(control.IsHandleCreated); 261Assert.False(control.IsHandleCreated); 266Assert.False(control.IsHandleCreated); 290Assert.False(control.AllowItemReorder); 342Assert.False(control.AllowItemReorder); 345Assert.False(control.AllowItemReorder); 358Assert.False(control.IsHandleCreated); 364Assert.False(control.IsHandleCreated); 370Assert.False(control.IsHandleCreated); 390Assert.False(control.IsHandleCreated); 396Assert.False(control.IsHandleCreated); 402Assert.False(control.IsHandleCreated); 416Assert.False(control.IsHandleCreated); 422Assert.False(control.IsHandleCreated); 428Assert.False(control.IsHandleCreated); 609Assert.False(control.IsHandleCreated); 616Assert.False(control.IsHandleCreated); 650Assert.False(control.IsHandleCreated); 655Assert.False(control.IsHandleCreated); 660Assert.False(control.IsHandleCreated); 681Assert.False(control.IsHandleCreated); 687Assert.False(control.IsHandleCreated); 693Assert.False(control.IsHandleCreated); 729Assert.False(control.IsHandleCreated); 730Assert.False(parent.IsHandleCreated); 737Assert.False(control.IsHandleCreated); 738Assert.False(parent.IsHandleCreated); 745Assert.False(control.IsHandleCreated); 746Assert.False(parent.IsHandleCreated); 772Assert.False(control.AutoSize); 777Assert.False(control.AutoSize); 788Assert.False(control.AutoSize); 801Assert.False(control.IsHandleCreated); 806Assert.False(control.IsHandleCreated); 861Assert.False(control.IsHandleCreated); 867Assert.False(control.IsHandleCreated); 920Assert.False(control.IsHandleCreated); 925Assert.False(control.IsHandleCreated); 981Assert.False(control.IsHandleCreated); 987Assert.False(control.IsHandleCreated); 993Assert.False(control.IsHandleCreated); 1060Assert.False(control.IsHandleCreated); 1065Assert.False(control.IsHandleCreated); 1391Assert.False(control.IsHandleCreated); 1396Assert.False(control.IsHandleCreated); 1433Assert.False(property.CanResetValue(control)); 1437Assert.False(property.CanResetValue(control)); 1441Assert.False(property.CanResetValue(control)); 1449Assert.False(property.ShouldSerializeValue(control)); 1461Assert.False(property.ShouldSerializeValue(control)); 1532Assert.False(control.IsHandleCreated); 1538Assert.False(control.IsHandleCreated); 1714Assert.False(control.IsHandleCreated); 1719Assert.False(control.IsHandleCreated); 1764Assert.False(control.IsHandleCreated); 1769Assert.False(control.IsHandleCreated); 1790Assert.False(control.IsHandleCreated); 1796Assert.False(control.IsHandleCreated); 1836Assert.False(control.IsHandleCreated); 1841Assert.False(control.IsHandleCreated); 1983Assert.False(control.IsHandleCreated); 2005Assert.False(control.IsHandleCreated); 2031Assert.False(control.IsHandleCreated); 2037Assert.False(control.IsHandleCreated); 2052Assert.False(control.IsHandleCreated); 2058Assert.False(control.IsHandleCreated); 2244Assert.False(control.IsHandleCreated); 2249Assert.False(control.IsHandleCreated); 2313Assert.False(control.RecreatingHandle); 2394Assert.False(control.IsHandleCreated); 2400Assert.False(control.IsHandleCreated); 2455Assert.False(control.IsHandleCreated); 2460Assert.False(control.IsHandleCreated); 2465Assert.False(control.IsHandleCreated); 2516Assert.False(control.IsHandleCreated); 2521Assert.False(control.IsHandleCreated); 2578Assert.False(control.IsHandleCreated); 2583Assert.False(control.IsHandleCreated); 2588Assert.False(control.IsHandleCreated); 2646Assert.False(control.TabStop); 2651Assert.False(control.TabStop); 2662Assert.False(control.TabStop); 2675Assert.False(control.IsHandleCreated); 2680Assert.False(control.IsHandleCreated); 2767Assert.False(control.IsHandleCreated); 2773Assert.False(control.IsHandleCreated); 2839Assert.False(control.IsHandleCreated); 2848Assert.False(control.IsHandleCreated); 2857Assert.False(control.IsHandleCreated); 2918Assert.False(control.GetTopLevel()); 3007Assert.False(settings.WrapContents); 3047Assert.False(control.IsHandleCreated); 3049Assert.False(control.Visible); 3064Assert.False(control.Disposing); 3065Assert.False(control.Visible); 3067Assert.False(control.IsHandleCreated); 3076Assert.False(control.Disposing); 3077Assert.False(control.Visible); 3079Assert.False(control.IsHandleCreated); 3103Assert.False(control.IsHandleCreated); 3106Assert.False(control.Visible); 3121Assert.False(control.Disposing); 3123Assert.False(control.Visible); 3125Assert.False(control.IsHandleCreated); 3134Assert.False(control.Disposing); 3136Assert.False(control.Visible); 3138Assert.False(control.IsHandleCreated); 3160Assert.False(control.IsHandleCreated); 3162Assert.False(control.Visible); 3177Assert.False(control.Disposing); 3178Assert.False(control.Visible); 3180Assert.False(control.IsHandleCreated); 3189Assert.False(control.Disposing); 3190Assert.False(control.Visible); 3192Assert.False(control.IsHandleCreated); 3220Assert.False(control.IsHandleCreated); 3222Assert.False(control.Visible); 3245Assert.False(control.Disposing); 3246Assert.False(control.Visible); 3252Assert.False(control.IsHandleCreated); 3265Assert.False(control.Disposing); 3266Assert.False(control.Visible); 3272Assert.False(control.IsHandleCreated); 3291Assert.False(control.IsHandleCreated); 3293Assert.False(control.Visible); 3308Assert.False(control.Disposing); 3309Assert.False(control.Visible); 3311Assert.False(control.IsHandleCreated); 3320Assert.False(control.Disposing); 3321Assert.False(control.Visible); 3323Assert.False(control.IsHandleCreated); 3346Assert.False(control.IsDisposed); 3347Assert.False(control.Disposing); 3349Assert.False(control.IsHandleCreated); 3357Assert.False(control.IsDisposed); 3358Assert.False(control.Disposing); 3360Assert.False(control.IsHandleCreated); 3384Assert.False(control.IsHandleCreated); 3387Assert.False(control.Visible); 3402Assert.False(control.Disposing); 3404Assert.False(control.Visible); 3406Assert.False(control.IsHandleCreated); 3415Assert.False(control.Disposing); 3417Assert.False(control.Visible); 3419Assert.False(control.IsHandleCreated); 3447Assert.False(control.IsDisposed); 3448Assert.False(control.Disposing); 3450Assert.False(control.Visible); 3452Assert.False(control.IsHandleCreated); 3460Assert.False(control.IsDisposed); 3461Assert.False(control.Disposing); 3463Assert.False(control.Visible); 3465Assert.False(control.IsHandleCreated); 3493Assert.False(control.IsHandleCreated); 3495Assert.False(control.Visible); 3518Assert.False(control.Disposing); 3519Assert.False(control.Visible); 3525Assert.False(control.IsHandleCreated); 3538Assert.False(control.Disposing); 3539Assert.False(control.Visible); 3542Assert.False(control.Visible); 3546Assert.False(control.IsHandleCreated); 3586Assert.False(control.IsDisposed); 3587Assert.False(control.Disposing); 3588Assert.False(item1.IsDisposed); 3589Assert.False(item2.IsDisposed); 3593Assert.False(control.IsHandleCreated); 3605Assert.False(control.IsDisposed); 3606Assert.False(control.Disposing); 3607Assert.False(item1.IsDisposed); 3608Assert.False(item2.IsDisposed); 3612Assert.False(control.IsHandleCreated); 3752Assert.False(control.IsHandleCreated); 3758Assert.False(control.IsHandleCreated); 3927Assert.False(control.IsHandleCreated); 3934Assert.False(control.IsHandleCreated); 3994Assert.False(control.IsHandleCreated); 4000Assert.False(control.IsHandleCreated); 4170Assert.False(control.IsHandleCreated); 4177Assert.False(control.IsHandleCreated); 4219Assert.False(control.IsHandleCreated); 4226Assert.False(control.IsHandleCreated); 4258Assert.False(control.IsHandleCreated); 4265Assert.False(control.IsHandleCreated); 4313Assert.False(control.IsHandleCreated); 4322Assert.False(control.IsHandleCreated); 4637Assert.False(control.IsHandleCreated); 4643Assert.False(control.IsHandleCreated); 4751Assert.False(control.IsHandleCreated); 4758Assert.False(control.IsHandleCreated);
System\Windows\Forms\ToolStripItemTests.cs (642)
27Assert.False(item.AllowDrop); 30Assert.False(item.AutoToolTip); 40Assert.False(item.DefaultAutoToolTip); 45Assert.False(item.DesignMode); 49Assert.False(item.DoubleClickEnabled); 64Assert.False(item.IsDisposed); 65Assert.False(item.IsOnDropDown); 66Assert.False(item.IsOnOverflow); 76Assert.False(item.Pressed); 78Assert.False(item.RightToLeftAutoMirrorImage); 79Assert.False(item.Selected); 89Assert.False(item.Visible); 113Assert.False(item.AllowDrop); 116Assert.False(item.AutoToolTip); 125Assert.False(item.DefaultAutoToolTip); 130Assert.False(item.DesignMode); 134Assert.False(item.DoubleClickEnabled); 149Assert.False(item.IsDisposed); 150Assert.False(item.IsOnDropDown); 151Assert.False(item.IsOnOverflow); 161Assert.False(item.Pressed); 163Assert.False(item.RightToLeftAutoMirrorImage); 164Assert.False(item.Selected); 174Assert.False(item.Visible); 208Assert.False(item.AllowDrop); 211Assert.False(item.AutoToolTip); 220Assert.False(item.DefaultAutoToolTip); 225Assert.False(item.DesignMode); 229Assert.False(item.DoubleClickEnabled); 244Assert.False(item.IsDisposed); 245Assert.False(item.IsOnDropDown); 246Assert.False(item.IsOnOverflow); 256Assert.False(item.Pressed); 258Assert.False(item.RightToLeftAutoMirrorImage); 259Assert.False(item.Selected); 269Assert.False(item.Visible); 415Assert.False(parent.IsHandleCreated); 421Assert.False(parent.IsHandleCreated); 495Assert.False(owner.IsHandleCreated); 501Assert.False(owner.IsHandleCreated); 592Assert.False(owner.AllowDrop); 593Assert.False(owner.IsHandleCreated); 598Assert.False(owner.AllowDrop); 599Assert.False(owner.IsHandleCreated); 604Assert.False(owner.AllowDrop); 605Assert.False(owner.IsHandleCreated); 627Assert.False(owner.AllowDrop); 636Assert.False(owner.AllowDrop); 645Assert.False(owner.AllowDrop); 663Assert.False(parent.AllowDrop); 664Assert.False(parent.IsHandleCreated); 669Assert.False(parent.AllowDrop); 670Assert.False(parent.IsHandleCreated); 675Assert.False(parent.AllowDrop); 676Assert.False(parent.IsHandleCreated); 698Assert.False(parent.AllowDrop); 707Assert.False(parent.AllowDrop); 716Assert.False(parent.AllowDrop); 764Assert.False(item.AllowDrop); 772Assert.False(item.AllowDrop); 822Assert.False(owner.IsHandleCreated); 828Assert.False(owner.IsHandleCreated); 854Assert.False(parent.IsHandleCreated); 860Assert.False(parent.IsHandleCreated); 913Assert.False(owner.IsHandleCreated); 919Assert.False(owner.IsHandleCreated); 925Assert.False(owner.IsHandleCreated); 1013Assert.False(parent.IsHandleCreated); 1019Assert.False(parent.IsHandleCreated); 1025Assert.False(parent.IsHandleCreated); 1129Assert.False(item.Visible); 1130Assert.False(item.Selected); 1135Assert.False(item.Visible); 1136Assert.False(item.Selected); 1141Assert.False(item.Visible); 1142Assert.False(item.Selected); 1167Assert.False(item.Visible); 1168Assert.False(item.Selected); 1173Assert.False(item.Visible); 1174Assert.False(item.Selected); 1179Assert.False(item.Visible); 1180Assert.False(item.Selected); 1193Assert.False(item.Visible); 1199Assert.False(item.Visible); 1205Assert.False(item.Visible); 1206Assert.False(item.Selected); 1223Assert.False(item.Visible); 1224Assert.False(item.Selected); 1225Assert.False(owner.IsHandleCreated); 1230Assert.False(item.Visible); 1231Assert.False(item.Selected); 1232Assert.False(owner.IsHandleCreated); 1237Assert.False(item.Visible); 1238Assert.False(item.Selected); 1239Assert.False(owner.IsHandleCreated); 1267Assert.False(item.Visible); 1268Assert.False(item.Selected); 1269Assert.False(owner.IsHandleCreated); 1274Assert.False(item.Visible); 1275Assert.False(item.Selected); 1276Assert.False(owner.IsHandleCreated); 1281Assert.False(item.Visible); 1282Assert.False(item.Selected); 1283Assert.False(owner.IsHandleCreated); 1319Assert.False(item.Visible); 1320Assert.False(item.Selected); 1329Assert.False(item.Visible); 1330Assert.False(item.Selected); 1340Assert.False(item.Selected); 1362Assert.False(item.Selected); 1363Assert.False(parent.IsHandleCreated); 1369Assert.False(item.Selected); 1370Assert.False(parent.IsHandleCreated); 1376Assert.False(item.Selected); 1377Assert.False(parent.IsHandleCreated); 1406Assert.False(item.Selected); 1407Assert.False(parent.IsHandleCreated); 1413Assert.False(item.Selected); 1414Assert.False(parent.IsHandleCreated); 1420Assert.False(item.Selected); 1421Assert.False(parent.IsHandleCreated); 1446Assert.False(item.Selected); 1456Assert.False(item.Selected); 1466Assert.False(item.Selected); 1488Assert.False(item.Available); 1493Assert.False(item.Available); 1504Assert.False(item.Available); 1523Assert.False(item.Available); 1528Assert.False(item.Available); 1539Assert.False(item.Available); 1598Assert.False(owner.IsHandleCreated); 1603Assert.False(owner.IsHandleCreated); 1651Assert.False(parent.IsHandleCreated); 1656Assert.False(parent.IsHandleCreated); 1738Assert.False(property.CanResetValue(item)); 1746Assert.False(property.CanResetValue(item)); 1754Assert.False(property.ShouldSerializeValue(item)); 1762Assert.False(property.ShouldSerializeValue(item)); 1800Assert.False(owner.IsHandleCreated); 1805Assert.False(owner.IsHandleCreated); 1853Assert.False(parent.IsHandleCreated); 1858Assert.False(parent.IsHandleCreated); 1929Assert.False(owner.IsHandleCreated); 1934Assert.False(owner.IsHandleCreated); 1982Assert.False(parent.IsHandleCreated); 1987Assert.False(parent.IsHandleCreated); 2154Assert.False(owner.IsHandleCreated); 2159Assert.False(owner.IsHandleCreated); 2238Assert.False(parent.IsHandleCreated); 2243Assert.False(parent.IsHandleCreated); 2331Assert.False(property.CanResetValue(item)); 2339Assert.False(property.CanResetValue(item)); 2347Assert.False(property.ShouldSerializeValue(item)); 2355Assert.False(property.ShouldSerializeValue(item)); 2392Assert.False(owner.IsHandleCreated); 2398Assert.False(owner.IsHandleCreated); 2425Assert.False(parent.IsHandleCreated); 2431Assert.False(parent.IsHandleCreated); 2559Assert.False(item.Selected); 2571Assert.False(item.Pressed); 2627Assert.False(owner.IsHandleCreated); 2632Assert.False(owner.IsHandleCreated); 2637Assert.False(owner.IsHandleCreated); 2654Assert.False(owner.IsHandleCreated); 2659Assert.False(owner.IsHandleCreated); 2664Assert.False(owner.IsHandleCreated); 2692Assert.False(owner.IsHandleCreated); 2697Assert.False(owner.IsHandleCreated); 2702Assert.False(owner.IsHandleCreated); 2762Assert.False(parent.IsHandleCreated); 2767Assert.False(parent.IsHandleCreated); 2772Assert.False(parent.IsHandleCreated); 2789Assert.False(parent.IsHandleCreated); 2794Assert.False(parent.IsHandleCreated); 2799Assert.False(parent.IsHandleCreated); 2827Assert.False(parent.IsHandleCreated); 2832Assert.False(parent.IsHandleCreated); 2837Assert.False(parent.IsHandleCreated); 2910Assert.False(item.Enabled); 2915Assert.False(item.Enabled); 3028Assert.False(owner.IsHandleCreated); 3034Assert.False(owner.IsHandleCreated); 3115Assert.False(parent.IsHandleCreated); 3121Assert.False(parent.IsHandleCreated); 3180Assert.False(property.CanResetValue(item)); 3191Assert.False(property.CanResetValue(item)); 3201Assert.False(property.CanResetValue(item)); 3209Assert.False(property.ShouldSerializeValue(item)); 3220Assert.False(property.ShouldSerializeValue(item)); 3230Assert.False(property.ShouldSerializeValue(item)); 3288Assert.False(owner.IsHandleCreated); 3293Assert.False(owner.IsHandleCreated); 3341Assert.False(parent.IsHandleCreated); 3346Assert.False(parent.IsHandleCreated); 3431Assert.False(property.CanResetValue(item)); 3439Assert.False(property.CanResetValue(item)); 3447Assert.False(property.ShouldSerializeValue(item)); 3455Assert.False(property.ShouldSerializeValue(item)); 3497Assert.False(owner.IsHandleCreated); 3504Assert.False(owner.IsHandleCreated); 3592Assert.False(parent.IsHandleCreated); 3599Assert.False(parent.IsHandleCreated); 3924Assert.False(owner.IsHandleCreated); 3931Assert.False(owner.IsHandleCreated); 4017Assert.False(parent.IsHandleCreated); 4024Assert.False(parent.IsHandleCreated); 4085Assert.False(property.CanResetValue(item)); 4094Assert.False(property.CanResetValue(item)); 4113Assert.False(property.CanResetValue(item)); 4122Assert.False(property.CanResetValue(item)); 4130Assert.False(property.ShouldSerializeValue(item)); 4139Assert.False(property.ShouldSerializeValue(item)); 4158Assert.False(property.ShouldSerializeValue(item)); 4167Assert.False(property.ShouldSerializeValue(item)); 4218Assert.False(owner.IsHandleCreated); 4224Assert.False(owner.IsHandleCreated); 4310Assert.False(parent.IsHandleCreated); 4316Assert.False(parent.IsHandleCreated); 4477Assert.False(owner.IsHandleCreated); 4484Assert.False(owner.IsHandleCreated); 4527Assert.False(owner.IsHandleCreated); 4535Assert.False(owner.IsHandleCreated); 4620Assert.False(parent.IsHandleCreated); 4627Assert.False(parent.IsHandleCreated); 4662Assert.False(parent.IsHandleCreated); 4669Assert.False(parent.IsHandleCreated); 4738Assert.False(property.CanResetValue(item)); 4742Assert.False(property.CanResetValue(item)); 4747Assert.False(property.CanResetValue(item)); 4751Assert.False(property.CanResetValue(item)); 4763Assert.False(property.CanResetValue(item)); 4767Assert.False(property.CanResetValue(item)); 4772Assert.False(property.CanResetValue(item)); 4776Assert.False(property.CanResetValue(item)); 4794Assert.False(property.CanResetValue(item)); 4798Assert.False(property.CanResetValue(item)); 4802Assert.False(property.CanResetValue(item)); 4806Assert.False(property.CanResetValue(item)); 4810Assert.False(property.CanResetValue(item)); 4818Assert.False(property.ShouldSerializeValue(item)); 4821Assert.False(property.ShouldSerializeValue(item)); 4826Assert.False(property.ShouldSerializeValue(item)); 4830Assert.False(property.ShouldSerializeValue(item)); 4842Assert.False(property.ShouldSerializeValue(item)); 4845Assert.False(property.ShouldSerializeValue(item)); 4850Assert.False(property.ShouldSerializeValue(item)); 4854Assert.False(property.ShouldSerializeValue(item)); 4872Assert.False(property.ShouldSerializeValue(item)); 4884Assert.False(property.ShouldSerializeValue(item)); 4888Assert.False(property.ShouldSerializeValue(item)); 4977Assert.False(owner.IsHandleCreated); 4984Assert.False(owner.IsHandleCreated); 5029Assert.False(owner.IsHandleCreated); 5037Assert.False(owner.IsHandleCreated); 5118Assert.False(parent.IsHandleCreated); 5125Assert.False(parent.IsHandleCreated); 5158Assert.False(parent.IsHandleCreated); 5165Assert.False(parent.IsHandleCreated); 5225Assert.False(property.CanResetValue(item)); 5230Assert.False(property.CanResetValue(item)); 5235Assert.False(property.CanResetValue(item)); 5240Assert.False(property.CanResetValue(item)); 5244Assert.False(property.CanResetValue(item)); 5256Assert.False(property.CanResetValue(item)); 5261Assert.False(property.CanResetValue(item)); 5266Assert.False(property.CanResetValue(item)); 5271Assert.False(property.CanResetValue(item)); 5275Assert.False(property.CanResetValue(item)); 5293Assert.False(property.CanResetValue(item)); 5297Assert.False(property.CanResetValue(item)); 5301Assert.False(property.CanResetValue(item)); 5305Assert.False(property.CanResetValue(item)); 5309Assert.False(property.CanResetValue(item)); 5317Assert.False(property.ShouldSerializeValue(item)); 5322Assert.False(property.ShouldSerializeValue(item)); 5327Assert.False(property.ShouldSerializeValue(item)); 5332Assert.False(property.ShouldSerializeValue(item)); 5336Assert.False(property.ShouldSerializeValue(item)); 5348Assert.False(property.ShouldSerializeValue(item)); 5353Assert.False(property.ShouldSerializeValue(item)); 5358Assert.False(property.ShouldSerializeValue(item)); 5363Assert.False(property.ShouldSerializeValue(item)); 5367Assert.False(property.ShouldSerializeValue(item)); 5385Assert.False(property.ShouldSerializeValue(item)); 5393Assert.False(property.ShouldSerializeValue(item)); 5397Assert.False(property.ShouldSerializeValue(item)); 5401Assert.False(property.ShouldSerializeValue(item)); 5445Assert.False(owner.IsHandleCreated); 5451Assert.False(owner.IsHandleCreated); 5530Assert.False(parent.IsHandleCreated); 5536Assert.False(parent.IsHandleCreated); 5656Assert.False(owner.IsHandleCreated); 5661Assert.False(owner.IsHandleCreated); 5723Assert.False(parent.IsHandleCreated); 5728Assert.False(parent.IsHandleCreated); 5782Assert.False(property.CanResetValue(item)); 5790Assert.False(property.CanResetValue(item)); 5798Assert.False(property.ShouldSerializeValue(item)); 5806Assert.False(property.ShouldSerializeValue(item)); 5817Assert.False(item.IsOnDropDown); 5842Assert.False(item.IsOnDropDown); 5855Assert.False(item.IsOnDropDown); 5880Assert.False(item.IsOnDropDown); 5882Assert.False(item.IsOnDropDown); 5937Assert.False(owner.IsHandleCreated); 5943Assert.False(owner.IsHandleCreated); 6028Assert.False(parent.IsHandleCreated); 6034Assert.False(parent.IsHandleCreated); 6099Assert.False(property.CanResetValue(item)); 6107Assert.False(property.CanResetValue(item)); 6115Assert.False(property.ShouldSerializeValue(item)); 6123Assert.False(property.ShouldSerializeValue(item)); 6234Assert.False(item.IsOnOverflow); 6239Assert.False(item.IsOnOverflow); 6271Assert.False(owner.IsHandleCreated); 6279Assert.False(owner.IsHandleCreated); 6362Assert.False(item.IsOnOverflow); 6365Assert.False(parent.IsHandleCreated); 6370Assert.False(item.IsOnOverflow); 6373Assert.False(parent.IsHandleCreated); 6405Assert.False(item.IsOnOverflow); 6416Assert.False(item.IsOnOverflow); 6766Assert.False(owner.IsHandleCreated); 6772Assert.False(owner.IsHandleCreated); 6850Assert.False(parent.IsHandleCreated); 6856Assert.False(parent.IsHandleCreated); 6914Assert.False(property.CanResetValue(item)); 6922Assert.False(property.CanResetValue(item)); 6930Assert.False(property.ShouldSerializeValue(item)); 6938Assert.False(property.ShouldSerializeValue(item)); 7203Assert.False(owner.IsHandleCreated); 7209Assert.False(owner.IsHandleCreated); 7306Assert.False(parent.IsHandleCreated); 7312Assert.False(parent.IsHandleCreated); 7416Assert.False(property.CanResetValue(item)); 7428Assert.False(property.CanResetValue(item)); 7436Assert.False(property.CanResetValue(item)); 7444Assert.False(property.ShouldSerializeValue(item)); 7456Assert.False(property.ShouldSerializeValue(item)); 7464Assert.False(property.ShouldSerializeValue(item)); 7504Assert.False(owner.IsHandleCreated); 7510Assert.False(owner.IsHandleCreated); 7516Assert.False(owner.IsHandleCreated); 7603Assert.False(parent.IsHandleCreated); 7609Assert.False(parent.IsHandleCreated); 7615Assert.False(parent.IsHandleCreated); 7682Assert.False(item.Selected); 7702Assert.False(item.Selected); 7713Assert.False(item.Selected); 7725Assert.False(item.Selected); 7740Assert.False(item.Selected); 7751Assert.False(item.Selected); 7763Assert.False(item.Selected); 7778Assert.False(item.Selected); 7874Assert.False(owner.IsHandleCreated); 7881Assert.False(owner.IsHandleCreated); 7976Assert.False(parent.IsHandleCreated); 7983Assert.False(parent.IsHandleCreated); 8104Assert.False(owner.IsHandleCreated); 8109Assert.False(owner.IsHandleCreated); 8111Assert.False(owner.IsHandleCreated); 8191Assert.False(parent.IsHandleCreated); 8196Assert.False(parent.IsHandleCreated); 8198Assert.False(parent.IsHandleCreated); 8334Assert.False(owner.IsHandleCreated); 8340Assert.False(owner.IsHandleCreated); 8426Assert.False(parent.IsHandleCreated); 8432Assert.False(parent.IsHandleCreated); 8609Assert.False(owner.IsHandleCreated); 8615Assert.False(owner.IsHandleCreated); 8699Assert.False(parent.IsHandleCreated); 8705Assert.False(parent.IsHandleCreated); 8774Assert.False(property.CanResetValue(item)); 8790Assert.False(property.CanResetValue(item)); 8798Assert.False(property.ShouldSerializeValue(item)); 8814Assert.False(property.ShouldSerializeValue(item)); 8861Assert.False(owner.IsHandleCreated); 8867Assert.False(owner.IsHandleCreated); 8949Assert.False(parent.IsHandleCreated); 8955Assert.False(parent.IsHandleCreated); 9075Assert.False(property.CanResetValue(item)); 9080Assert.False(property.CanResetValue(item)); 9085Assert.False(property.CanResetValue(item)); 9094Assert.False(property.CanResetValue(item)); 9102Assert.False(property.ShouldSerializeValue(item)); 9107Assert.False(property.ShouldSerializeValue(item)); 9112Assert.False(property.ShouldSerializeValue(item)); 9121Assert.False(property.ShouldSerializeValue(item)); 9139Assert.False(item.Visible); 9143Assert.False(item.Visible); 9178Assert.False(item.Visible); 9180Assert.False(item.Selected); 9184Assert.False(item.Visible); 9186Assert.False(item.Selected); 9190Assert.False(item.Visible); 9192Assert.False(item.Selected); 9216Assert.False(item.Visible); 9218Assert.False(item.Selected); 9222Assert.False(item.Visible); 9224Assert.False(item.Selected); 9228Assert.False(item.Visible); 9230Assert.False(item.Selected); 9242Assert.False(item.Visible); 9248Assert.False(item.Visible); 9254Assert.False(item.Visible); 9256Assert.False(item.Selected); 9272Assert.False(item.Visible); 9274Assert.False(item.Selected); 9275Assert.False(owner.IsHandleCreated); 9279Assert.False(item.Visible); 9281Assert.False(item.Selected); 9282Assert.False(owner.IsHandleCreated); 9286Assert.False(item.Visible); 9288Assert.False(item.Selected); 9289Assert.False(owner.IsHandleCreated); 9316Assert.False(item.Visible); 9318Assert.False(item.Selected); 9319Assert.False(owner.IsHandleCreated); 9323Assert.False(item.Visible); 9325Assert.False(item.Selected); 9326Assert.False(owner.IsHandleCreated); 9330Assert.False(item.Visible); 9332Assert.False(item.Selected); 9333Assert.False(owner.IsHandleCreated); 9368Assert.False(item.Visible); 9370Assert.False(item.Selected); 9378Assert.False(item.Visible); 9380Assert.False(item.Selected); 9390Assert.False(item.Selected); 9412Assert.False(item.Selected); 9413Assert.False(parent.IsHandleCreated); 9419Assert.False(item.Selected); 9420Assert.False(parent.IsHandleCreated); 9426Assert.False(item.Selected); 9427Assert.False(parent.IsHandleCreated); 9456Assert.False(item.Selected); 9457Assert.False(parent.IsHandleCreated); 9463Assert.False(item.Selected); 9464Assert.False(parent.IsHandleCreated); 9470Assert.False(item.Selected); 9471Assert.False(parent.IsHandleCreated); 9496Assert.False(item.Selected); 9506Assert.False(item.Selected); 9516Assert.False(item.Selected); 9538Assert.False(item.Available); 9543Assert.False(item.Available); 9554Assert.False(item.Available); 9573Assert.False(item.Available); 9578Assert.False(item.Available); 9589Assert.False(item.Available); 9598Assert.False(property.CanResetValue(item)); 9601Assert.False(item.Visible); 9602Assert.False(property.CanResetValue(item)); 9605Assert.False(item.Visible); 9606Assert.False(property.CanResetValue(item)); 9614Assert.False(property.ShouldSerializeValue(item)); 9617Assert.False(item.Visible); 9621Assert.False(item.Visible); 9664Assert.False(owner.IsHandleCreated); 9671Assert.False(owner.IsHandleCreated); 9759Assert.False(parent.IsHandleCreated); 9766Assert.False(parent.IsHandleCreated); 9855Assert.False(item.IsDisposed); 9861Assert.False(item.IsDisposed); 9891Assert.False(item.IsDisposed); 9897Assert.False(item.IsDisposed); 9971Assert.False(item.IsDisposed); 9979Assert.False(item.IsDisposed); 10004Assert.False(item.IsDisposed); 10010Assert.False(item.IsDisposed); 10042Assert.False(item.IsDisposed); 10048Assert.False(item.IsDisposed); 10126Assert.False(item.IsDisposed); 10134Assert.False(item.IsDisposed); 10179Assert.False(parent.IsHandleCreated); 10196Assert.False(parent.IsHandleCreated); 10210Assert.False(owner.IsHandleCreated); 10227Assert.False(owner.IsHandleCreated); 10352Assert.False(item.IsInputChar(charCode)); 10364Assert.False(item.IsInputKey(keyData)); 10386Assert.False(owner.IsHandleCreated); 10390Assert.False(owner.IsHandleCreated); 10432Assert.False(parent.IsHandleCreated); 10436Assert.False(parent.IsHandleCreated); 10496Assert.False(owner.IsHandleCreated); 10500Assert.False(owner.IsHandleCreated); 10544Assert.False(parent.IsHandleCreated); 10548Assert.False(parent.IsHandleCreated); 10651Assert.False(owner.IsHandleCreated); 10657Assert.False(owner.IsHandleCreated); 10725Assert.False(parent.IsHandleCreated); 10731Assert.False(parent.IsHandleCreated); 10801Assert.False(owner.IsHandleCreated); 10866Assert.False(parent.IsHandleCreated); 10925Assert.False(item.Pressed); 11187Assert.False(owner.IsHandleCreated); 11193Assert.False(owner.IsHandleCreated); 11266Assert.False(parent.IsHandleCreated); 11272Assert.False(parent.IsHandleCreated); 11382Assert.False(owner.IsHandleCreated); 11387Assert.False(owner.IsHandleCreated); 11464Assert.False(parent.IsHandleCreated); 11469Assert.False(parent.IsHandleCreated); 11566Assert.False(owner.IsHandleCreated); 11572Assert.False(owner.IsHandleCreated); 11640Assert.False(parent.IsHandleCreated); 11646Assert.False(parent.IsHandleCreated); 12292Assert.False(owner.IsHandleCreated); 12297Assert.False(owner.IsHandleCreated); 12305Assert.False(owner.IsHandleCreated); 12396Assert.False(parent.IsHandleCreated); 12401Assert.False(parent.IsHandleCreated); 12407Assert.False(parent.IsHandleCreated); 12770Assert.False(owner.IsHandleCreated); 12777Assert.False(owner.IsHandleCreated); 12876Assert.False(parent.IsHandleCreated); 12883Assert.False(parent.IsHandleCreated); 13006Assert.False(owner.IsHandleCreated); 13013Assert.False(owner.IsHandleCreated); 13112Assert.False(parent.IsHandleCreated); 13119Assert.False(parent.IsHandleCreated); 13286Assert.False(owner.IsHandleCreated); 13292Assert.False(owner.IsHandleCreated); 13406Assert.False(owner.IsHandleCreated); 13416Assert.False(owner.IsHandleCreated); 13471Assert.False(owner.IsHandleCreated); 13481Assert.False(owner.IsHandleCreated); 13522Assert.False(parent.IsHandleCreated); 13528Assert.False(parent.IsHandleCreated); 13624Assert.False(item.Pressed); 13630Assert.False(item.Pressed); 13650Assert.False(item.Pressed); 13658Assert.False(item.Pressed); 13664Assert.False(item.Pressed); 13681Assert.False(grip.Pressed); 13693Assert.False(grip.Pressed); 13694Assert.False(control.IsHandleCreated); 13701Assert.False(grip.Pressed); 13702Assert.False(control.IsHandleCreated); 13720Assert.False(item.Pressed); 13728Assert.False(item.Pressed); 13734Assert.False(item.Pressed); 13769Assert.False(item.Pressed); 13770Assert.False(owner.IsHandleCreated); 13777Assert.False(item.Pressed); 13778Assert.False(owner.IsHandleCreated); 13785Assert.False(item.Pressed); 13786Assert.False(owner.IsHandleCreated); 13828Assert.False(item.Pressed); 13839Assert.False(item.Pressed); 13850Assert.False(item.Pressed); 13882Assert.False(item.Pressed); 13883Assert.False(parent.IsHandleCreated); 13890Assert.False(item.Pressed); 13891Assert.False(parent.IsHandleCreated); 13926Assert.False(item.Pressed); 13937Assert.False(item.Pressed); 13954Assert.False(item.ProcessCmdKey(ref message, keyData)); 13979Assert.False(item.Pressed); 14006Assert.False(item.Pressed); 14033Assert.False(item.Pressed); 14046Assert.False(item.ProcessDialogKey(keyData)); 14048Assert.False(item.Pressed); 14073Assert.False(item.Pressed); 14298Assert.False(item.Selected); 14302Assert.False(item.Selected); 14345Assert.False(ownerItem.Selected); 14350Assert.False(ownerItem.Selected); 14364Assert.False(owner.IsHandleCreated); 14369Assert.False(owner.IsHandleCreated); 14415Assert.False(item.Selected); 14419Assert.False(item.Selected); 14435Assert.False(item.Selected); 14439Assert.False(item.Selected); 14453Assert.False(parent.IsHandleCreated); 14458Assert.False(parent.IsHandleCreated); 14524Assert.False(item.Selected); 14528Assert.False(item.Selected); 14603Assert.False(owner.IsHandleCreated); 14613Assert.False(owner.IsHandleCreated); 14731Assert.False(parent.IsHandleCreated); 14741Assert.False(parent.IsHandleCreated); 14839Assert.False(item.Visible); 14841Assert.False(item.Selected); 14845Assert.False(item.Visible); 14847Assert.False(item.Selected); 14851Assert.False(item.Visible); 14853Assert.False(item.Selected); 14878Assert.False(item.Visible); 14880Assert.False(item.Selected); 14884Assert.False(item.Visible); 14886Assert.False(item.Selected); 14890Assert.False(item.Visible); 14892Assert.False(item.Selected); 14904Assert.False(item.Visible); 14910Assert.False(item.Visible); 14916Assert.False(item.Visible); 14918Assert.False(item.Selected); 14934Assert.False(item.Visible); 14936Assert.False(item.Selected); 14937Assert.False(owner.IsHandleCreated); 14941Assert.False(item.Visible); 14943Assert.False(item.Selected); 14944Assert.False(owner.IsHandleCreated); 14948Assert.False(item.Visible); 14950Assert.False(item.Selected); 14951Assert.False(owner.IsHandleCreated); 14978Assert.False(item.Visible); 14980Assert.False(item.Selected); 14981Assert.False(owner.IsHandleCreated); 14985Assert.False(item.Visible); 14987Assert.False(item.Selected); 14988Assert.False(owner.IsHandleCreated); 14992Assert.False(item.Visible); 14994Assert.False(item.Selected); 14995Assert.False(owner.IsHandleCreated); 15030Assert.False(item.Visible); 15032Assert.False(item.Selected); 15040Assert.False(item.Visible); 15042Assert.False(item.Selected); 15052Assert.False(item.Selected); 15074Assert.False(item.Selected); 15075Assert.False(parent.IsHandleCreated); 15081Assert.False(item.Selected); 15082Assert.False(parent.IsHandleCreated); 15088Assert.False(item.Selected); 15089Assert.False(parent.IsHandleCreated); 15118Assert.False(item.Selected); 15119Assert.False(parent.IsHandleCreated); 15125Assert.False(item.Selected); 15126Assert.False(parent.IsHandleCreated); 15132Assert.False(item.Selected); 15133Assert.False(parent.IsHandleCreated); 15158Assert.False(item.Selected); 15168Assert.False(item.Selected); 15178Assert.False(item.Selected); 15200Assert.False(item.Available); 15205Assert.False(item.Available); 15216Assert.False(item.Available); 15235Assert.False(item.Available); 15240Assert.False(item.Available); 15251Assert.False(item.Available);
System\Windows\Forms\ToolStripMenuItemTests.cs (17)
25Assert.False(item.AllowDrop); 28Assert.False(item.AutoToolTip); 38Assert.False(item.DefaultAutoToolTip); 43Assert.False(item.DesignMode); 47Assert.False(item.DoubleClickEnabled); 50Assert.False(item.Checked); 51Assert.False(item.CheckOnClick); 60Assert.False(item.HasDropDownItems); 61Assert.False(item.HasDropDown); 69Assert.False(item.IsDisposed); 70Assert.False(item.IsMdiWindowListEntry); 71Assert.False(item.IsOnDropDown); 72Assert.False(item.IsOnOverflow); 84Assert.False(item.Pressed); 86Assert.False(item.RightToLeftAutoMirrorImage); 87Assert.False(item.Selected); 99Assert.False(item.Visible);
System\Windows\Forms\ToolStripPanelRenderEventArgsTests.cs (1)
36Assert.False(e.Handled);
System\Windows\Forms\ToolStripPanelTests.cs (29)
21Assert.False(control.AllowDrop); 23Assert.False(control.AutoScroll); 38Assert.False(control.CanEnableIme); 39Assert.False(control.CanFocus); 41Assert.False(control.CanSelect); 42Assert.False(control.Capture); 47Assert.False(control.ContainsFocus); 51Assert.False(control.Created); 61Assert.False(control.DesignMode); 74Assert.False(control.Focused); 78Assert.False(control.HasChildren); 82Assert.False(control.HScroll); 85Assert.False(control.IsAccessible); 86Assert.False(control.IsMirrored); 98Assert.False(control.RecreatingHandle); 109Assert.False(control.TabStop); 113Assert.False(control.UseWaitCursor); 117Assert.False(control.VScroll); 120Assert.False(control.IsHandleCreated); 151Assert.False(panel.IsHandleCreated); 156Assert.False(panel.IsHandleCreated); 161Assert.False(panel.IsHandleCreated); 230Assert.False(control.IsHandleCreated); 236Assert.False(control.IsHandleCreated); 242Assert.False(control.IsHandleCreated); 263Assert.False(control.AutoSize); 268Assert.False(control.AutoSize); 279Assert.False(control.AutoSize); 339Assert.False(control.GetTopLevel());
System\Windows\Forms\ToolStripSeparatorTests.cs (30)
25Assert.False(item.AllowDrop); 28Assert.False(item.AutoToolTip); 34Assert.False(item.CanSelect); 38Assert.False(item.DefaultAutoToolTip); 43Assert.False(item.DesignMode); 47Assert.False(item.DoubleClickEnabled); 62Assert.False(item.IsDisposed); 63Assert.False(item.IsOnDropDown); 64Assert.False(item.IsOnOverflow); 74Assert.False(item.Pressed); 76Assert.False(item.RightToLeftAutoMirrorImage); 77Assert.False(item.Selected); 87Assert.False(item.Visible); 288Assert.False(item.Enabled); 293Assert.False(item.Enabled); 388Assert.False(property.CanResetValue(item)); 404Assert.False(property.ShouldSerializeValue(item)); 955Assert.False(owner.IsHandleCreated); 960Assert.False(owner.IsHandleCreated); 1030Assert.False(parent.IsHandleCreated); 1035Assert.False(parent.IsHandleCreated); 1310Assert.False(e.Vertical); 1423Assert.False(owner.IsHandleCreated); 1433Assert.False(owner.IsHandleCreated); 1485Assert.False(owner.IsHandleCreated); 1495Assert.False(owner.IsHandleCreated); 1553Assert.False(parent.IsHandleCreated); 1563Assert.False(parent.IsHandleCreated); 1607Assert.False(parent.IsHandleCreated); 1617Assert.False(parent.IsHandleCreated);
System\Windows\Forms\ToolStripSettingsManagerTests.cs (1)
29Assert.False(toolStrip.Visible);
System\Windows\Forms\ToolStripTests.cs (296)
25Assert.False(control.AllowDrop); 26Assert.False(control.AllowItemReorder); 29Assert.False(control.AutoScroll); 41Assert.False(control.CanFocus); 44Assert.False(control.CanSelect); 45Assert.False(control.Capture); 46Assert.False(control.CausesValidation); 50Assert.False(control.ContainsFocus); 54Assert.False(control.Created); 67Assert.False(control.DesignMode); 93Assert.False(control.Focused); 104Assert.False(control.HasChildren); 108Assert.False(control.HScroll); 113Assert.False(control.IsAccessible); 114Assert.False(control.IsCurrentlyDragging); 115Assert.False(control.IsDropDown); 116Assert.False(control.IsMirrored); 137Assert.False(control.RecreatingHandle); 143Assert.False(control.ResizeRedraw); 151Assert.False(control.Stretch); 153Assert.False(control.TabStop); 158Assert.False(control.UseWaitCursor); 162Assert.False(control.VScroll); 165Assert.False(control.IsHandleCreated); 183Assert.False(control.AllowDrop); 184Assert.False(control.AllowItemReorder); 187Assert.False(control.AutoScroll); 199Assert.False(control.CanFocus); 200Assert.False(control.CanSelect); 201Assert.False(control.Capture); 204Assert.False(control.CausesValidation); 207Assert.False(control.Created); 209Assert.False(control.ContainsFocus); 224Assert.False(control.DesignMode); 247Assert.False(control.Focused); 258Assert.False(control.HasChildren); 262Assert.False(control.HScroll); 267Assert.False(control.IsAccessible); 268Assert.False(control.IsCurrentlyDragging); 269Assert.False(control.IsDropDown); 270Assert.False(control.IsMirrored); 292Assert.False(control.RecreatingHandle); 298Assert.False(control.ResizeRedraw); 306Assert.False(control.Stretch); 308Assert.False(control.TabStop); 313Assert.False(control.UseWaitCursor); 317Assert.False(control.VScroll); 320Assert.False(control.IsHandleCreated); 352Assert.False(control.IsHandleCreated); 364Assert.False(control.IsHandleCreated); 369Assert.False(control.IsHandleCreated); 374Assert.False(control.IsHandleCreated); 394Assert.False(control.IsHandleCreated); 400Assert.False(control.IsHandleCreated); 406Assert.False(control.IsHandleCreated); 507Assert.False(control.AllowDrop); 515Assert.False(control.AllowDrop); 578Assert.False(control.AllowDrop); 581Assert.False(control.AllowDrop); 593Assert.False(control.IsHandleCreated); 598Assert.False(control.IsHandleCreated); 603Assert.False(control.IsHandleCreated); 627Assert.False(control.AllowItemReorder); 679Assert.False(control.AllowItemReorder); 682Assert.False(control.AllowItemReorder); 694Assert.False(control.IsHandleCreated); 699Assert.False(control.IsHandleCreated); 704Assert.False(control.IsHandleCreated); 788Assert.False(control.IsHandleCreated); 795Assert.False(control.IsHandleCreated); 804Assert.False(control.AutoScroll); 831Assert.False(control.AutoScroll); 833Assert.False(control.IsHandleCreated); 838Assert.False(control.AutoScroll); 840Assert.False(control.IsHandleCreated); 852Assert.False(control.AutoScroll); 854Assert.False(control.IsHandleCreated); 859Assert.False(control.AutoScroll); 861Assert.False(control.IsHandleCreated); 873Assert.False(control.IsHandleCreated); 878Assert.False(control.IsHandleCreated); 892Assert.False(control.IsHandleCreated); 898Assert.False(control.IsHandleCreated); 904Assert.False(control.IsHandleCreated); 940Assert.False(control.IsHandleCreated); 941Assert.False(parent.IsHandleCreated); 948Assert.False(control.IsHandleCreated); 949Assert.False(parent.IsHandleCreated); 956Assert.False(control.IsHandleCreated); 957Assert.False(parent.IsHandleCreated); 994Assert.False(control.IsHandleCreated); 995Assert.False(parent.IsHandleCreated); 1002Assert.False(control.IsHandleCreated); 1003Assert.False(parent.IsHandleCreated); 1010Assert.False(control.IsHandleCreated); 1011Assert.False(parent.IsHandleCreated); 1037Assert.False(control.AutoSize); 1042Assert.False(control.AutoSize); 1053Assert.False(control.AutoSize); 1072Assert.False(control.IsHandleCreated); 1077Assert.False(control.IsHandleCreated); 1125Assert.False(control.IsHandleCreated); 1130Assert.False(control.IsHandleCreated); 1144Assert.False(control.IsHandleCreated); 1149Assert.False(control.IsHandleCreated); 1205Assert.False(control.IsHandleCreated); 1211Assert.False(control.IsHandleCreated); 1217Assert.False(control.IsHandleCreated); 1278Assert.False(control.IsHandleCreated); 1283Assert.False(control.IsHandleCreated); 1288Assert.False(control.IsHandleCreated); 1309Assert.False(control.CausesValidation); 1314Assert.False(control.CausesValidation); 1325Assert.False(control.CausesValidation); 1338Assert.False(control.IsHandleCreated); 1343Assert.False(control.IsHandleCreated); 1448Assert.False(control.IsHandleCreated); 1454Assert.False(control.IsHandleCreated); 2164Assert.False(control.IsHandleCreated); 2169Assert.False(control.IsHandleCreated); 2206Assert.False(property.CanResetValue(control)); 2210Assert.False(property.CanResetValue(control)); 2214Assert.False(property.CanResetValue(control)); 2222Assert.False(property.ShouldSerializeValue(control)); 2234Assert.False(property.ShouldSerializeValue(control)); 2314Assert.False(control.IsHandleCreated); 2400Assert.False(control.IsHandleCreated); 2409Assert.False(control.IsHandleCreated); 2500Assert.False(control.IsHandleCreated); 2510Assert.False(control.IsHandleCreated); 2606Assert.False(control.IsHandleCreated); 2616Assert.False(control.IsHandleCreated); 2679Assert.False(control.IsHandleCreated); 2684Assert.False(control.IsHandleCreated); 2729Assert.False(control.IsHandleCreated); 2734Assert.False(control.IsHandleCreated); 2750Assert.False(control.IsHandleCreated); 2756Assert.False(control.IsHandleCreated); 2777Assert.False(control.IsHandleCreated); 2783Assert.False(control.IsHandleCreated); 2809Assert.False(control.IsHandleCreated); 2816Assert.False(control.IsHandleCreated); 2904Assert.False(control.IsHandleCreated); 2912Assert.False(control.IsHandleCreated); 2939Assert.False(control.IsHandleCreated); 2940Assert.False(parent.IsHandleCreated); 2949Assert.False(control.IsHandleCreated); 2950Assert.False(parent.IsHandleCreated); 3003Assert.False(control.IsHandleCreated); 3004Assert.False(parent.IsHandleCreated); 3013Assert.False(control.IsHandleCreated); 3014Assert.False(parent.IsHandleCreated); 3100Assert.False(control.IsHandleCreated); 3108Assert.False(control.IsHandleCreated); 3377Assert.False(property.CanResetValue(control)); 3389Assert.False(property.CanResetValue(control)); 3393Assert.False(property.CanResetValue(control)); 3397Assert.False(property.CanResetValue(control)); 3405Assert.False(property.ShouldSerializeValue(control)); 3417Assert.False(property.ShouldSerializeValue(control)); 3421Assert.False(property.ShouldSerializeValue(control)); 3425Assert.False(property.ShouldSerializeValue(control)); 3462Assert.False(control.IsHandleCreated); 3468Assert.False(control.IsHandleCreated); 3485Assert.False(control.IsHandleCreated); 3492Assert.False(control.IsHandleCreated); 3515Assert.False(control.IsHandleCreated); 3522Assert.False(control.IsHandleCreated); 3572Assert.False(control.ShowItemToolTips); 3589Assert.False(control.IsHandleCreated); 3594Assert.False(control.IsHandleCreated); 3600Assert.False(control.IsHandleCreated); 3613Assert.False(control.IsHandleCreated); 3618Assert.False(control.IsHandleCreated); 3624Assert.False(control.IsHandleCreated); 3637Assert.False(control.IsHandleCreated); 3643Assert.False(control.IsHandleCreated); 3649Assert.False(control.IsHandleCreated); 3661Assert.False(control.IsHandleCreated); 3666Assert.False(control.IsHandleCreated); 3671Assert.False(control.IsHandleCreated); 3721Assert.False(control.IsHandleCreated); 3727Assert.False(control.IsHandleCreated); 3733Assert.False(control.IsHandleCreated); 3794Assert.False(control.TabStop); 3799Assert.False(control.TabStop); 3810Assert.False(control.TabStop); 3834Assert.False(control.IsHandleCreated); 3840Assert.False(control.IsHandleCreated); 3911Assert.False(control.IsHandleCreated); 3919Assert.False(control.IsHandleCreated); 3954Assert.False(control.IsHandleCreated); 3962Assert.False(control.IsHandleCreated); 4106Assert.False(control.IsHandleCreated); 4111Assert.False(control.IsHandleCreated); 4116Assert.False(control.IsHandleCreated); 4184Assert.False(control.Visible); 4189Assert.False(control.Visible); 4200Assert.False(control.Visible); 4262Assert.False(controls.IsReadOnly); 4365Assert.False(control.IsHandleCreated); 4382Assert.False(control.Disposing); 4385Assert.False(control.IsHandleCreated); 4394Assert.False(control.Disposing); 4397Assert.False(control.IsHandleCreated); 4419Assert.False(control.IsHandleCreated); 4421Assert.False(control.Visible); 4436Assert.False(control.Disposing); 4437Assert.False(control.Visible); 4439Assert.False(control.IsHandleCreated); 4448Assert.False(control.Disposing); 4449Assert.False(control.Visible); 4451Assert.False(control.IsHandleCreated); 4479Assert.False(control.IsHandleCreated); 4504Assert.False(control.Disposing); 4511Assert.False(control.IsHandleCreated); 4524Assert.False(control.Disposing); 4531Assert.False(control.IsHandleCreated); 4550Assert.False(control.IsHandleCreated); 4567Assert.False(control.Disposing); 4570Assert.False(control.IsHandleCreated); 4579Assert.False(control.Disposing); 4582Assert.False(control.IsHandleCreated); 4605Assert.False(control.IsDisposed); 4606Assert.False(control.Disposing); 4608Assert.False(control.IsHandleCreated); 4616Assert.False(control.IsDisposed); 4617Assert.False(control.Disposing); 4619Assert.False(control.IsHandleCreated); 4647Assert.False(control.IsHandleCreated); 4672Assert.False(control.Disposing); 4679Assert.False(control.IsHandleCreated); 4692Assert.False(control.Disposing); 4700Assert.False(control.IsHandleCreated); 4740Assert.False(control.IsDisposed); 4741Assert.False(control.Disposing); 4742Assert.False(item1.IsDisposed); 4743Assert.False(item2.IsDisposed); 4747Assert.False(control.IsHandleCreated); 4759Assert.False(control.IsDisposed); 4760Assert.False(control.Disposing); 4761Assert.False(item1.IsDisposed); 4762Assert.False(item2.IsDisposed); 4766Assert.False(control.IsHandleCreated); 4824Assert.False(toolStrip.IsHandleCreated); 4849Assert.False(toolStrip.IsHandleCreated); 4870Assert.False(toolStrip.IsHandleCreated); 4895Assert.False(toolStrip.IsHandleCreated); 4954Assert.False(control.GetTopLevel()); 4975Assert.False(control.IsHandleCreated); 4982Assert.False(control.IsHandleCreated); 5123Assert.False(control.IsCurrentlyDragging); 5124Assert.False(control.IsHandleCreated); 5130Assert.False(control.IsCurrentlyDragging); 5131Assert.False(control.IsHandleCreated); 5152Assert.False(control.IsCurrentlyDragging); 5153Assert.False(control.IsHandleCreated); 5159Assert.False(control.IsCurrentlyDragging); 5160Assert.False(control.IsHandleCreated); 5188Assert.False(control.IsCurrentlyDragging); 5198Assert.False(control.IsCurrentlyDragging); 5231Assert.False(control.IsCurrentlyDragging); 5241Assert.False(control.IsCurrentlyDragging); 5266Assert.False(control.IsHandleCreated); 5273Assert.False(control.IsHandleCreated); 5367Assert.False(control.IsHandleCreated); 5374Assert.False(control.IsHandleCreated); 5403Assert.False(control.IsHandleCreated); 5410Assert.False(control.IsHandleCreated); 5439Assert.False(control.IsHandleCreated); 5446Assert.False(control.IsHandleCreated); 5491Assert.False(control.IsHandleCreated); 5500Assert.False(control.IsHandleCreated); 5835Assert.False(item.Selected); 5896Assert.False(control.IsHandleCreated); 5902Assert.False(control.IsHandleCreated); 6054Assert.False(control.IsHandleCreated); 6062Assert.False(control.IsHandleCreated); 6248Assert.False(control.IsHandleCreated); 6254Assert.False(control.IsHandleCreated); 6333Assert.False(control.IsHandleCreated); 6340Assert.False(control.IsHandleCreated); 6600Assert.False(control.IsHandleCreated); 6607Assert.False(control.IsHandleCreated); 6708Assert.False(control.IsHandleCreated); 6907Assert.False(control.ProcessCmdKey(ref m, keyData)); 6908Assert.False(control.IsHandleCreated); 6925Assert.False(control.ProcessCmdKey(ref msg, keyData)); 6926Assert.False(control.IsHandleCreated); 6964Assert.False(control.IsHandleCreated); 6975Assert.False(control.IsHandleCreated); 6979Assert.False(control.IsHandleCreated); 7023Assert.False(control.IsHandleCreated); 7030Assert.False(control.IsHandleCreated); 7304Assert.False(toolStrip.IsHandleCreated); 7329Assert.False(currentItemWR.TryGetTarget(out _));
System\Windows\Forms\ToolTipTests.cs (31)
24Assert.False(toolTip.DesignMode); 29Assert.False(toolTip.IsBalloon); 30Assert.False(toolTip.OwnerDraw); 32Assert.False(toolTip.ShowAlways); 34Assert.False(toolTip.StripAmpersands); 40Assert.False(toolTip.GetHandleCreated()); 54Assert.False(toolTip.DesignMode); 59Assert.False(toolTip.IsBalloon); 60Assert.False(toolTip.OwnerDraw); 62Assert.False(toolTip.ShowAlways); 64Assert.False(toolTip.StripAmpersands); 70Assert.False(toolTip.GetHandleCreated()); 115Assert.False(toolTip.GetHandleCreated()); 140Assert.False(toolTip.GetHandleCreated()); 192Assert.False(automaticProperty.ShouldSerializeValue(toolTip)); 193Assert.False(initialProperty.ShouldSerializeValue(toolTip)); 194Assert.False(reshowProperty.ShouldSerializeValue(toolTip)); 195Assert.False(autoPopProperty.ShouldSerializeValue(toolTip)); 200Assert.False(automaticProperty.ShouldSerializeValue(toolTip)); 201Assert.False(initialProperty.ShouldSerializeValue(toolTip)); 202Assert.False(reshowProperty.ShouldSerializeValue(toolTip)); 203Assert.False(autoPopProperty.ShouldSerializeValue(toolTip)); 209Assert.False(initialProperty.ShouldSerializeValue(toolTip)); 210Assert.False(reshowProperty.ShouldSerializeValue(toolTip)); 211Assert.False(autoPopProperty.ShouldSerializeValue(toolTip)); 221Assert.False(toolTip.GetHandleCreated()); 262Assert.False(property.ShouldSerializeValue(toolTip)); 327Assert.False(toolTip.IsPersistent); 331Assert.False(toolTip.IsPersistent); 387Assert.False(property.ShouldSerializeValue(toolTip)); 472Assert.False(property.ShouldSerializeValue(toolTip));
System\Windows\Forms\TreeNodeCollectionTests.cs (4)
24Assert.False(treeNode.Checked); 32Assert.False(treeNode.IsEditing); 33Assert.False(treeNode.IsExpanded); 34Assert.False(treeNode.IsSelected);
System\Windows\Forms\TreeNodeTests.cs (170)
19Assert.False(node.Checked); 27Assert.False(node.IsEditing); 28Assert.False(node.IsExpanded); 29Assert.False(node.IsSelected); 30Assert.False(node.IsVisible); 59Assert.False(node.Checked); 67Assert.False(node.IsEditing); 68Assert.False(node.IsExpanded); 69Assert.False(node.IsSelected); 70Assert.False(node.IsVisible); 107Assert.False(node.Checked); 115Assert.False(node.IsEditing); 116Assert.False(node.IsExpanded); 117Assert.False(node.IsSelected); 118Assert.False(node.IsVisible); 150Assert.False(node.Checked); 158Assert.False(node.IsEditing); 159Assert.False(node.IsExpanded); 160Assert.False(node.IsSelected); 161Assert.False(node.IsVisible); 198Assert.False(node.Checked); 206Assert.False(node.IsEditing); 207Assert.False(node.IsExpanded); 208Assert.False(node.IsSelected); 209Assert.False(node.IsVisible); 286Assert.False(control.IsHandleCreated); 291Assert.False(control.IsHandleCreated); 368Assert.False(control.IsHandleCreated); 373Assert.False(control.IsHandleCreated); 422Assert.False(property.CanResetValue(node)); 426Assert.False(property.CanResetValue(node)); 430Assert.False(property.CanResetValue(node)); 438Assert.False(property.ShouldSerializeValue(node)); 549Assert.False(control.IsHandleCreated); 587Assert.False(control.IsHandleCreated); 592Assert.False(control.IsHandleCreated); 597Assert.False(control.IsHandleCreated); 689Assert.False(control.IsHandleCreated); 694Assert.False(control.IsHandleCreated); 699Assert.False(control.IsHandleCreated); 727Assert.False(control.IsHandleCreated); 732Assert.False(control.IsHandleCreated); 809Assert.False(control.IsHandleCreated); 814Assert.False(control.IsHandleCreated); 863Assert.False(property.CanResetValue(node)); 867Assert.False(property.CanResetValue(node)); 871Assert.False(property.CanResetValue(node)); 879Assert.False(property.ShouldSerializeValue(node)); 956Assert.False(control.IsHandleCreated); 990Assert.False(control.IsHandleCreated); 997Assert.False(control.IsHandleCreated); 1004Assert.False(control.IsHandleCreated); 1029Assert.False(control.IsHandleCreated); 1036Assert.False(control.IsHandleCreated); 1043Assert.False(control.IsHandleCreated); 1057Assert.False(control.IsHandleCreated); 1063Assert.False(control.IsHandleCreated); 1070Assert.False(control.IsHandleCreated); 1077Assert.False(control.IsHandleCreated); 1095Assert.False(control.IsHandleCreated); 1101Assert.False(control.IsHandleCreated); 1108Assert.False(control.IsHandleCreated); 1134Assert.False(control.IsHandleCreated); 1140Assert.False(control.IsHandleCreated); 1291Assert.False(control.IsHandleCreated); 1296Assert.False(control.IsHandleCreated); 1368Assert.False(control.IsHandleCreated); 1374Assert.False(control.IsHandleCreated); 1392Assert.False(control.IsHandleCreated); 1398Assert.False(control.IsHandleCreated); 1425Assert.False(control.IsHandleCreated); 1431Assert.False(control.IsHandleCreated); 1565Assert.False(control.IsHandleCreated); 1570Assert.False(control.IsHandleCreated); 1594Assert.False(control.IsHandleCreated); 1655Assert.False(control.IsHandleCreated); 1697Assert.False(node.IsEditing); 1698Assert.False(control.IsHandleCreated); 1715Assert.False(node.IsEditing); 1731Assert.False(node.IsEditing); 1732Assert.False(control.IsHandleCreated); 1742Assert.False(node.IsExpanded); 1743Assert.False(control.IsHandleCreated); 1760Assert.False(node.IsExpanded); 1815Assert.False(node.IsExpanded); 1816Assert.False(control.IsHandleCreated); 1826Assert.False(node.IsSelected); 1827Assert.False(control.IsHandleCreated); 1844Assert.False(node.IsSelected); 1897Assert.False(node.IsSelected); 1898Assert.False(control.IsHandleCreated); 1908Assert.False(node.IsVisible); 1909Assert.False(control.IsHandleCreated); 1980Assert.False(node.IsVisible); 1992Assert.False(node.IsVisible); 1993Assert.False(control.IsHandleCreated); 2004Assert.False(control.IsHandleCreated); 2065Assert.False(control.IsHandleCreated); 2123Assert.False(control.IsHandleCreated); 2184Assert.False(control.IsHandleCreated); 2261Assert.False(control.IsHandleCreated); 2412Assert.False(control.IsHandleCreated); 2473Assert.False(control.IsHandleCreated); 2516Assert.False(control.IsHandleCreated); 2577Assert.False(control.IsHandleCreated); 2654Assert.False(control.IsHandleCreated); 2822Assert.False(control.IsHandleCreated); 2827Assert.False(control.IsHandleCreated); 2899Assert.False(control.IsHandleCreated); 2904Assert.False(control.IsHandleCreated); 2972Assert.False(control.IsHandleCreated); 2979Assert.False(control.IsHandleCreated); 2986Assert.False(control.IsHandleCreated); 3011Assert.False(control.IsHandleCreated); 3018Assert.False(control.IsHandleCreated); 3025Assert.False(control.IsHandleCreated); 3039Assert.False(control.IsHandleCreated); 3045Assert.False(control.IsHandleCreated); 3052Assert.False(control.IsHandleCreated); 3059Assert.False(control.IsHandleCreated); 3077Assert.False(control.IsHandleCreated); 3083Assert.False(control.IsHandleCreated); 3090Assert.False(control.IsHandleCreated); 3116Assert.False(control.IsHandleCreated); 3122Assert.False(control.IsHandleCreated); 3275Assert.False(control.IsHandleCreated); 3280Assert.False(control.IsHandleCreated); 3352Assert.False(control.IsHandleCreated); 3358Assert.False(control.IsHandleCreated); 3376Assert.False(control.IsHandleCreated); 3382Assert.False(control.IsHandleCreated); 3409Assert.False(control.IsHandleCreated); 3415Assert.False(control.IsHandleCreated); 3549Assert.False(control.IsHandleCreated); 3554Assert.False(control.IsHandleCreated); 3595Assert.False(control.IsHandleCreated); 3602Assert.False(control.IsHandleCreated); 3609Assert.False(control.IsHandleCreated); 3638Assert.False(control.IsHandleCreated); 3645Assert.False(control.IsHandleCreated); 3652Assert.False(control.IsHandleCreated); 3681Assert.False(control.IsHandleCreated); 3687Assert.False(control.IsHandleCreated); 3694Assert.False(control.IsHandleCreated); 3701Assert.False(control.IsHandleCreated); 3720Assert.False(control.IsHandleCreated); 3726Assert.False(control.IsHandleCreated); 3733Assert.False(control.IsHandleCreated); 3768Assert.False(control.IsHandleCreated); 3774Assert.False(control.IsHandleCreated); 3950Assert.False(control.IsHandleCreated); 3956Assert.False(control.IsHandleCreated); 3963Assert.False(control.IsHandleCreated); 3970Assert.False(control.IsHandleCreated); 4085Assert.False(control.IsHandleCreated); 4091Assert.False(control.IsHandleCreated); 4116Assert.False(control.IsHandleCreated); 4122Assert.False(control.IsHandleCreated); 4158Assert.False(control.IsHandleCreated); 4164Assert.False(control.IsHandleCreated); 4321Assert.False(control.IsHandleCreated); 4326Assert.False(control.IsHandleCreated); 4395Assert.False(control.IsHandleCreated); 4400Assert.False(control.IsHandleCreated); 4479Assert.False(control.IsHandleCreated); 4484Assert.False(control.IsHandleCreated); 4510Assert.False(control.IsHandleCreated); 4571Assert.False(control.IsHandleCreated); 4631Assert.False((bool)KeyboardToolTipStateMachine.Instance.TestAccessor().Dynamic.IsToolTracked(treeNode)); 4632Assert.False((bool)KeyboardToolTipStateMachine.Instance.TestAccessor().Dynamic.IsToolTracked(treeSubNode));
System\Windows\Forms\TreeViewTests.cs (109)
22Assert.False(control.AllowDrop); 24Assert.False(control.AutoSize); 33Assert.False(control.CanFocus); 36Assert.False(control.Capture); 38Assert.False(control.CheckBoxes); 43Assert.False(control.ContainsFocus); 47Assert.False(control.Created); 56Assert.False(control.DesignMode); 59Assert.False(control.DoubleBuffered); 64Assert.False(control.Focused); 68Assert.False(control.FullRowSelect); 69Assert.False(control.HasChildren); 72Assert.False(control.HotTracking); 79Assert.False(control.IsAccessible); 80Assert.False(control.IsMirrored); 82Assert.False(control.LabelEdit); 98Assert.False(control.RecreatingHandle); 100Assert.False(control.ResizeRedraw); 103Assert.False(control.RightToLeftLayout); 111Assert.False(control.ShowNodeToolTips); 116Assert.False(control.Sorted); 125Assert.False(control.UseWaitCursor); 130Assert.False(control.IsHandleCreated); 150Assert.False(control.IsHandleCreated); 208Assert.False(control.IsHandleCreated); 234Assert.False(control.IsHandleCreated); 260Assert.False(control.IsHandleCreated); 286Assert.False(control.IsHandleCreated); 312Assert.False(control.IsHandleCreated); 338Assert.False(control.IsHandleCreated); 364Assert.False(control.IsHandleCreated); 390Assert.False(control.IsHandleCreated); 416Assert.False(control.IsHandleCreated); 442Assert.False(control.IsHandleCreated); 554Assert.False(control.IsHandleCreated); 628Assert.False(control.IsHandleCreated); 711Assert.False(control.IsHandleCreated); 716Assert.False(control.IsHandleCreated); 798Assert.False(control.IsHandleCreated); 803Assert.False(control.IsHandleCreated); 857Assert.False(control.IsHandleCreated); 862Assert.False(control.IsHandleCreated); 1110Assert.False(treeView.CheckBoxes); 1162Assert.False(treeView.CheckBoxes); 1251Assert.False(treeView.DoubleBuffered); 1303Assert.False(treeView.DoubleBuffered); 1607Assert.False(treeView.FullRowSelect); 1659Assert.False(treeView.FullRowSelect); 1792Assert.False(treeView.HideSelection); 1798Assert.False(treeView.HideSelection); 1812Assert.False(treeView.HideSelection); 1844Assert.False(treeView.HideSelection); 1850Assert.False(treeView.HideSelection); 1864Assert.False(treeView.HideSelection); 1945Assert.False(treeView.HotTracking); 1997Assert.False(treeView.HotTracking); 2749Assert.False(control.IsHandleCreated); 2754Assert.False(control.IsHandleCreated); 2889Assert.False(treeView.LabelEdit); 2941Assert.False(treeView.LabelEdit); 2993Assert.False(control.IsHandleCreated); 2998Assert.False(control.IsHandleCreated); 3092Assert.False(control.IsHandleCreated); 3098Assert.False(control.IsHandleCreated); 3104Assert.False(control.IsHandleCreated); 3181Assert.False(control.RightToLeftLayout); 3186Assert.False(control.RightToLeftLayout); 3197Assert.False(control.RightToLeftLayout); 3293Assert.False(treeView.Scrollable); 3299Assert.False(treeView.Scrollable); 3313Assert.False(treeView.Scrollable); 3345Assert.False(treeView.Scrollable); 3351Assert.False(treeView.Scrollable); 3365Assert.False(treeView.Scrollable); 3841Assert.False(treeView.ShowLines); 3881Assert.False(treeView.ShowLines); 3887Assert.False(treeView.ShowLines); 3901Assert.False(treeView.ShowLines); 3982Assert.False(treeView.ShowNodeToolTips); 4034Assert.False(treeView.ShowNodeToolTips); 4111Assert.False(treeView.ShowPlusMinus); 4117Assert.False(treeView.ShowPlusMinus); 4131Assert.False(treeView.ShowPlusMinus); 4163Assert.False(treeView.ShowPlusMinus); 4169Assert.False(treeView.ShowPlusMinus); 4183Assert.False(treeView.ShowPlusMinus); 4252Assert.False(treeView.ShowRootLines); 4258Assert.False(treeView.ShowRootLines); 4272Assert.False(treeView.ShowRootLines); 4304Assert.False(treeView.ShowRootLines); 4310Assert.False(treeView.ShowRootLines); 4324Assert.False(treeView.ShowRootLines); 4405Assert.False(treeView.Sorted); 4457Assert.False(treeView.Sorted); 4622Assert.False(control.IsHandleCreated); 4627Assert.False(control.IsHandleCreated); 4735Assert.False(treeView.Sorted); 5077Assert.False(control.GetTopLevel()); 5799Assert.False(e.Cancel); 5825Assert.False(node.Checked); 5976Assert.False(control.GetStyle(ControlStyles.UserPaint)); 6032Assert.False(control.GetStyle(ControlStyles.UserPaint)); 6113Assert.False(control.GetStyle(ControlStyles.UserPaint)); 6530Assert.False(control.IsHandleCreated); 6536Assert.False(control.IsHandleCreated); 6874Assert.False(node.IsSelected); 6940Assert.False(node.IsSelected); 6973Assert.False(treeNode.Nodes[0].IsSelected); 7294Assert.False(parent.Nodes.ContainsKey("Node1"));
System\Windows\Forms\TypedControlCollectionTests.cs (1)
15Assert.False(collection.IsReadOnly);
System\Windows\Forms\TypeValidationEventArgsTests.cs (1)
20Assert.False(e.Cancel);
System\Windows\Forms\UpDownBaseTests.cs (133)
19Assert.False(control.AllowDrop); 21Assert.False(control.AutoScroll); 28Assert.False(control.AutoSize); 37Assert.False(control.CanEnableIme); 38Assert.False(control.CanFocus); 41Assert.False(control.ChangingText); 58Assert.False(control.ContainsFocus); 62Assert.False(control.Created); 72Assert.False(control.DesignMode); 80Assert.False(control.DoubleBuffered); 84Assert.False(control.Focused); 92Assert.False(control.HScroll); 96Assert.False(control.InvokeRequired); 97Assert.False(control.IsAccessible); 98Assert.False(control.IsMirrored); 110Assert.False(control.ReadOnly); 111Assert.False(control.RecreatingHandle); 127Assert.False(control.UserEdit); 128Assert.False(control.UseWaitCursor); 132Assert.False(control.VScroll); 135Assert.False(control.IsHandleCreated); 166Assert.False(control.IsHandleCreated); 208Assert.False(control.AutoScroll); 209Assert.False(control.GetScrollState(SubUpDownBase.ScrollStateAutoScrolling)); 211Assert.False(control.IsHandleCreated); 215Assert.False(control.AutoScroll); 216Assert.False(control.GetScrollState(SubUpDownBase.ScrollStateAutoScrolling)); 218Assert.False(control.IsHandleCreated); 222Assert.False(control.AutoScroll); 223Assert.False(control.GetScrollState(SubUpDownBase.ScrollStateAutoScrolling)); 225Assert.False(control.IsHandleCreated); 244Assert.False(control.AutoScroll); 245Assert.False(control.GetScrollState(SubUpDownBase.ScrollStateAutoScrolling)); 254Assert.False(control.AutoScroll); 255Assert.False(control.GetScrollState(SubUpDownBase.ScrollStateAutoScrolling)); 264Assert.False(control.AutoScroll); 265Assert.False(control.GetScrollState(SubUpDownBase.ScrollStateAutoScrolling)); 304Assert.False(control.AutoScroll); 306Assert.False(control.IsHandleCreated); 311Assert.False(control.AutoScroll); 313Assert.False(control.IsHandleCreated); 342Assert.False(control.AutoScroll); 352Assert.False(control.AutoScroll); 389Assert.False(control.AutoScroll); 391Assert.False(control.IsHandleCreated); 396Assert.False(control.AutoScroll); 398Assert.False(control.IsHandleCreated); 425Assert.False(control.AutoScroll); 435Assert.False(control.AutoScroll); 454Assert.False(control.IsHandleCreated); 460Assert.False(control.IsHandleCreated); 466Assert.False(control.IsHandleCreated); 487Assert.False(control.AutoSize); 492Assert.False(control.AutoSize); 503Assert.False(control.AutoSize); 522Assert.False(control.IsHandleCreated); 527Assert.False(control.IsHandleCreated); 609Assert.False(control.IsHandleCreated); 614Assert.False(control.IsHandleCreated); 669Assert.False(control.DoubleBuffered); 670Assert.False(control.IsHandleCreated); 675Assert.False(control.DoubleBuffered); 676Assert.False(control.IsHandleCreated); 742Assert.False(control.IsHandleCreated); 749Assert.False(control.IsHandleCreated); 818Assert.False(control.IsHandleCreated); 823Assert.False(control.IsHandleCreated); 828Assert.False(control.IsHandleCreated); 883Assert.False(control.IsHandleCreated); 888Assert.False(control.IsHandleCreated); 951Assert.False(control.IsHandleCreated); 956Assert.False(control.IsHandleCreated); 1032Assert.False(control.IsHandleCreated); 1037Assert.False(control.IsHandleCreated); 1042Assert.False(control.IsHandleCreated); 1116Assert.False(control.IsHandleCreated); 1123Assert.False(control.IsHandleCreated); 1160Assert.False(control.IsHandleCreated); 1167Assert.False(control.IsHandleCreated); 1179Assert.False(control.IsHandleCreated); 1184Assert.False(control.IsHandleCreated); 1189Assert.False(control.IsHandleCreated); 1268Assert.False(control.ChangingText); 1272Assert.False(control.IsHandleCreated); 1277Assert.False(control.ChangingText); 1281Assert.False(control.IsHandleCreated); 1315Assert.False(control.ChangingText); 1327Assert.False(control.ChangingText); 1382Assert.False(control.IsHandleCreated); 1387Assert.False(control.IsHandleCreated); 1450Assert.False(control.IsHandleCreated); 1455Assert.False(control.IsHandleCreated); 1520Assert.False(control.IsHandleCreated); 1525Assert.False(control.IsHandleCreated); 1530Assert.False(control.IsHandleCreated); 1600Assert.False(control.IsHandleCreated); 1615Assert.False(control.IsHandleCreated); 1619Assert.False(control.IsHandleCreated); 1658Assert.False(control.IsHandleCreated); 1662Assert.False(control.IsHandleCreated); 1714Assert.False(control.GetTopLevel()); 1729Assert.False(control.IsHandleCreated); 1733Assert.False(control.IsHandleCreated); 1803Assert.False(control.IsHandleCreated); 1810Assert.False(control.IsHandleCreated); 1850Assert.False(control.Created); 1851Assert.False(control.IsHandleCreated); 1857Assert.False(control.Created); 1858Assert.False(control.IsHandleCreated); 1913Assert.False(control.Created); 1914Assert.False(control.IsHandleCreated); 1920Assert.False(control.Created); 1921Assert.False(control.IsHandleCreated); 1991Assert.False(control.IsHandleCreated); 1997Assert.False(control.IsHandleCreated); 2268Assert.False(control.IsHandleCreated); 2274Assert.False(control.IsHandleCreated); 2450Assert.False(eventArgs?.Handled ?? false); 2456Assert.False(eventArgs?.Handled ?? false); 2530Assert.False(control.IsHandleCreated); 2535Assert.False(control.IsHandleCreated); 2581Assert.False(control.ChangingText); 2589Assert.False(control.ChangingText); 2604Assert.False(control.IsHandleCreated); 2608Assert.False(control.IsHandleCreated); 2623Assert.False(control.IsHandleCreated); 2627Assert.False(control.IsHandleCreated); 2780Assert.False(control.IsHandleCreated); 2812Assert.False(control.IsHandleCreated); 2820Assert.False(control.IsHandleCreated); 2824Assert.False(control.IsHandleCreated); 2869Assert.False(control.IsHandleCreated); 2922Assert.False(control.IsHandleCreated);
System\Windows\Forms\UserControlTests.cs (78)
25Assert.False(control.AllowDrop); 27Assert.False(control.AutoScroll); 34Assert.False(control.AutoSize); 42Assert.False(control.CanEnableIme); 43Assert.False(control.CanFocus); 46Assert.False(control.Capture); 51Assert.False(control.ContainsFocus); 55Assert.False(control.Created); 65Assert.False(control.DesignMode); 74Assert.False(control.DoubleBuffered); 78Assert.False(control.Focused); 82Assert.False(control.HasChildren); 86Assert.False(control.HScroll); 89Assert.False(control.IsAccessible); 90Assert.False(control.IsMirrored); 102Assert.False(control.RecreatingHandle); 104Assert.False(control.ResizeRedraw); 116Assert.False(control.UseWaitCursor); 120Assert.False(control.VScroll); 123Assert.False(control.IsHandleCreated); 143Assert.False(control.IsHandleCreated); 169Assert.False(control.IsHandleCreated); 183Assert.False(control.IsHandleCreated); 189Assert.False(control.IsHandleCreated); 195Assert.False(control.IsHandleCreated); 216Assert.False(control.AutoSize); 221Assert.False(control.AutoSize); 232Assert.False(control.AutoSize); 254Assert.False(control.IsHandleCreated); 261Assert.False(control.IsHandleCreated); 296Assert.False(control.IsHandleCreated); 303Assert.False(control.IsHandleCreated); 335Assert.False(control.IsHandleCreated); 337Assert.False(parent.IsHandleCreated); 344Assert.False(control.IsHandleCreated); 346Assert.False(parent.IsHandleCreated); 393Assert.False(control.IsHandleCreated); 395Assert.False(parent.IsHandleCreated); 402Assert.False(control.IsHandleCreated); 404Assert.False(parent.IsHandleCreated); 441Assert.False(control.IsHandleCreated); 443Assert.False(parent.IsHandleCreated); 450Assert.False(control.IsHandleCreated); 452Assert.False(parent.IsHandleCreated); 684Assert.False(control.IsHandleCreated); 689Assert.False(control.IsHandleCreated); 723Assert.False(control.AutoSize); 744Assert.False(control.IsHandleCreated); 749Assert.False(control.IsHandleCreated); 800Assert.False(control.IsHandleCreated); 805Assert.False(control.IsHandleCreated); 929Assert.False(control.GetTopLevel()); 953Assert.False(control.Created); 954Assert.False(control.IsHandleCreated); 959Assert.False(control.Created); 960Assert.False(control.IsHandleCreated); 1006Assert.False(control.IsHandleCreated); 1012Assert.False(control.IsHandleCreated); 1080Assert.False(control.IsHandleCreated); 1087Assert.False(control.IsHandleCreated); 1120Assert.False(control.IsHandleCreated); 1127Assert.False(control.IsHandleCreated); 1305Assert.False(e.Cancel); 1320Assert.False(e.Cancel); 1329Assert.False(e.Cancel); 1343Assert.False(e.Cancel); 1357Assert.False(e.Cancel); 1379Assert.False(e.Cancel); 1393Assert.False(e.Cancel); 1407Assert.False(e.Cancel); 1531Assert.False(e.Cancel); 1546Assert.False(e.Cancel); 1555Assert.False(e.Cancel); 1569Assert.False(e.Cancel); 1583Assert.False(e.Cancel); 1605Assert.False(e.Cancel); 1619Assert.False(e.Cancel); 1633Assert.False(e.Cancel);
System\Windows\Forms\VisualStyles\TextMetricsTests.cs (3)
25Assert.False(metric.Italic); 29Assert.False(metric.StruckOut); 30Assert.False(metric.Underlined);
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (2)
356Assert.False(childControl.IsHandleCreated); 564Assert.False(renderer.IsBackgroundPartiallyTransparent());
System\Windows\Forms\VScrollBarTests.cs (20)
20Assert.False(control.AllowDrop); 22Assert.False(control.AutoSize); 32Assert.False(control.CanEnableIme); 33Assert.False(control.CanFocus); 36Assert.False(control.Capture); 45Assert.False(control.ContainsFocus); 49Assert.False(control.Created); 59Assert.False(control.DesignMode); 65Assert.False(control.DoubleBuffered); 69Assert.False(control.Focused); 73Assert.False(control.HasChildren); 77Assert.False(control.IsAccessible); 78Assert.False(control.IsMirrored); 94Assert.False(control.RecreatingHandle); 96Assert.False(control.ResizeRedraw); 107Assert.False(control.TabStop); 111Assert.False(control.UseWaitCursor); 116Assert.False(control.IsHandleCreated); 136Assert.False(control.IsHandleCreated); 231Assert.False(control.GetTopLevel());
System\Windows\Forms\VScrollPropertiesTests.cs (1)
27Assert.False(properties.Visible);
System\Windows\Forms\WebBrowserTests.cs (138)
22Assert.False(control.AllowDrop); 25Assert.False(control.AutoSize); 32Assert.False(control.CanGoBack); 33Assert.False(control.CanGoForward); 36Assert.False(control.CanSelect); 44Assert.False(control.Created); 53Assert.False(control.DesignMode); 56Assert.False(control.DoubleBuffered); 63Assert.False(control.HasChildren); 80Assert.False(control.RecreatingHandle); 82Assert.False(control.ResizeRedraw); 99Assert.False(control.IsHandleCreated); 119Assert.False(control.IsHandleCreated); 140Assert.False(control.IsHandleCreated); 146Assert.False(control.IsHandleCreated); 152Assert.False(control.IsHandleCreated); 361Assert.False(control.CanGoBack); 388Assert.False(control.CanGoBack); 402Assert.False(control.CanGoForward); 423Assert.False(control.CanGoForward); 743Assert.False(e.Cancel); 1056Assert.False(control.Focused); 1058Assert.False(control.IsHandleCreated); 1070Assert.False(control.Focused); 1087Assert.False(control.Focused); 1099Assert.False(control.IsBusy); 1113Assert.False(control.IsBusy); 1134Assert.False(control.IsBusy); 1165Assert.False(control.IsOffline); 1179Assert.False(control.IsOffline); 1218Assert.False(control.IsHandleCreated); 1224Assert.False(control.IsHandleCreated); 1230Assert.False(control.IsHandleCreated); 1277Assert.False(control.IsHandleCreated); 1283Assert.False(control.IsHandleCreated); 1323Assert.False(control.IsHandleCreated); 1328Assert.False(control.IsHandleCreated); 1446Assert.False(control.IsHandleCreated); 1452Assert.False(control.IsHandleCreated); 1466Assert.False(control.IsHandleCreated); 1472Assert.False(control.IsHandleCreated); 1529Assert.False(control.IsHandleCreated); 1535Assert.False(control.IsHandleCreated); 1652Assert.False(control.ScriptErrorsSuppressed); 1666Assert.False(control.ScriptErrorsSuppressed); 1982Assert.False(e.Cancel); 2140Assert.False(control.IsHandleCreated); 2146Assert.False(control.IsHandleCreated); 2162Assert.False(control.Visible); 2164Assert.False(control.IsHandleCreated); 2198Assert.False(control.Visible); 2227Assert.False(control.Visible); 2232Assert.False(control.Visible); 2243Assert.False(control.Visible); 2257Assert.False(control.IsHandleCreated); 2263Assert.False(control.IsHandleCreated); 2269Assert.False(control.IsHandleCreated); 2408Assert.False(control.IsHandleCreated); 2412Assert.False(control.IsHandleCreated); 2430Assert.False(control.IsHandleCreated); 2435Assert.False(control.IsHandleCreated); 2512Assert.False(control.IsHandleCreated); 2517Assert.False(control.IsHandleCreated); 2530Assert.False(control.IsHandleCreated); 2546Assert.False(control.Disposing); 2549Assert.False(control.IsHandleCreated); 2557Assert.False(control.Disposing); 2560Assert.False(control.IsHandleCreated); 2585Assert.False(control.IsHandleCreated); 2601Assert.False(control.Disposing); 2604Assert.False(control.IsHandleCreated); 2612Assert.False(control.Disposing); 2615Assert.False(control.IsHandleCreated); 2633Assert.False(control.IsHandleCreated); 2649Assert.False(control.Disposing); 2652Assert.False(control.IsHandleCreated); 2660Assert.False(control.Disposing); 2663Assert.False(control.IsHandleCreated); 2692Assert.False(control.IsDisposed); 2693Assert.False(control.Disposing); 2696Assert.False(control.IsHandleCreated); 2703Assert.False(control.IsDisposed); 2704Assert.False(control.Disposing); 2707Assert.False(control.IsHandleCreated); 2732Assert.False(control.IsHandleCreated); 2748Assert.False(control.Disposing); 2751Assert.False(control.IsHandleCreated); 2759Assert.False(control.Disposing); 2762Assert.False(control.IsHandleCreated); 2784Assert.False(control.IsDisposed); 2785Assert.False(control.Disposing); 2788Assert.False(control.IsHandleCreated); 2795Assert.False(control.IsDisposed); 2796Assert.False(control.Disposing); 2799Assert.False(control.IsHandleCreated); 2853Assert.False(control.GoBack()); 2874Assert.False(control.GoBack()); 2911Assert.False(control.CanGoBack); 2912Assert.False(control.CanGoForward); 2922Assert.False(control.CanGoForward); 2932Assert.False(control.CanGoForward); 2949Assert.False(control.CanGoBack); 2955Assert.False(control.GoBack()); 2956Assert.False(control.CanGoBack); 2971Assert.False(control.GoBack()); 2978Assert.False(control.GoForward()); 2993Assert.False(control.GoForward()); 3037Assert.False(control.CanGoForward); 3047Assert.False(control.CanGoForward); 3065Assert.False(control.CanGoForward); 3070Assert.False(control.GoForward()); 3072Assert.False(control.CanGoForward); 3086Assert.False(control.GoForward()); 3204Assert.False(e.Cancel); 3316Assert.False(e.Cancel); 3515Assert.False(control.IsHandleCreated); 3522Assert.False(control.IsHandleCreated); 3543Assert.False(control.IsHandleCreated); 3550Assert.False(control.IsHandleCreated); 3681Assert.False(control.IsHandleCreated); 3688Assert.False(control.IsHandleCreated); 3709Assert.False(control.IsHandleCreated); 3716Assert.False(control.IsHandleCreated); 3737Assert.False(control.IsHandleCreated); 3744Assert.False(control.IsHandleCreated); 3772Assert.False(control.IsHandleCreated); 3779Assert.False(control.IsHandleCreated); 3807Assert.False(control.IsHandleCreated); 3814Assert.False(control.IsHandleCreated); 3842Assert.False(control.IsHandleCreated); 3849Assert.False(control.IsHandleCreated); 3878Assert.False(control.IsHandleCreated); 3885Assert.False(control.IsHandleCreated); 3906Assert.False(control.IsHandleCreated); 3913Assert.False(control.IsHandleCreated); 4517Assert.False(control.IsHandleCreated); 4559Assert.False(menu.Visible); 4639Assert.False(menu.Visible);
TextBoxBaseTests.cs (286)
35Assert.False(control.IsHandleCreated); 61Assert.False(control.IsHandleCreated); 87Assert.False(control.IsHandleCreated); 113Assert.False(control.IsHandleCreated); 142Assert.False(control.IsHandleCreated); 154Assert.False(control.IsHandleCreated); 159Assert.False(control.IsHandleCreated); 164Assert.False(control.IsHandleCreated); 185Assert.False(control.AcceptsTab); 190Assert.False(control.AcceptsTab); 201Assert.False(control.AcceptsTab); 217Assert.False(control.Multiline); 219Assert.False(control.IsHandleCreated); 226Assert.False(control.Multiline); 228Assert.False(control.IsHandleCreated); 235Assert.False(control.Multiline); 237Assert.False(control.IsHandleCreated); 254Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 258Assert.False(control.IsHandleCreated); 264Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 268Assert.False(control.IsHandleCreated); 274Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 278Assert.False(control.IsHandleCreated); 304Assert.False(control.IsHandleCreated); 305Assert.False(parent.IsHandleCreated); 314Assert.False(control.IsHandleCreated); 315Assert.False(parent.IsHandleCreated); 324Assert.False(control.IsHandleCreated); 325Assert.False(parent.IsHandleCreated); 351Assert.False(control.AutoSize); 356Assert.False(control.AutoSize); 367Assert.False(control.AutoSize); 396Assert.False(control.IsHandleCreated); 401Assert.False(control.IsHandleCreated); 448Assert.False(control.IsHandleCreated); 453Assert.False(control.IsHandleCreated); 507Assert.False(control.DoubleBuffered); 508Assert.False(control.IsHandleCreated); 513Assert.False(control.DoubleBuffered); 514Assert.False(control.IsHandleCreated); 562Assert.False(control.IsHandleCreated); 567Assert.False(control.IsHandleCreated); 601Assert.False(control.IsHandleCreated); 602Assert.False(parent.IsHandleCreated); 608Assert.False(control.IsHandleCreated); 609Assert.False(parent.IsHandleCreated); 703Assert.False(control.CanUndo); 748Assert.False(control.CanUndo); 749Assert.False(control.IsHandleCreated); 790Assert.False(control.CanUndo); 812Assert.False(control.IsHandleCreated); 818Assert.False(control.IsHandleCreated); 824Assert.False(control.IsHandleCreated); 877Assert.False(control.IsHandleCreated); 883Assert.False(control.IsHandleCreated); 897Assert.False(control.IsHandleCreated); 903Assert.False(control.IsHandleCreated); 919Assert.False(control.IsHandleCreated); 925Assert.False(control.IsHandleCreated); 942Assert.False(control.IsHandleCreated); 948Assert.False(control.IsHandleCreated); 1177Assert.False(control.IsHandleCreated); 1182Assert.False(control.IsHandleCreated); 1314Assert.False(control.IsHandleCreated); 1319Assert.False(control.IsHandleCreated); 1324Assert.False(control.IsHandleCreated); 1383Assert.False(control.HideSelection); 1388Assert.False(control.HideSelection); 1399Assert.False(control.HideSelection); 1448Assert.False(control.IsHandleCreated); 1453Assert.False(control.IsHandleCreated); 1479Assert.False(control.IsHandleCreated); 1484Assert.False(control.IsHandleCreated); 1511Assert.False(control.IsHandleCreated); 1516Assert.False(control.IsHandleCreated); 1644Assert.False(control.IsHandleCreated); 1650Assert.False(control.IsHandleCreated); 1693Assert.False(control.IsHandleCreated); 1698Assert.False(control.IsHandleCreated); 1711Assert.False(control.IsHandleCreated); 1811Assert.False(control.Modified); 1838Assert.False(control.IsHandleCreated); 1843Assert.False(control.IsHandleCreated); 1848Assert.False(control.IsHandleCreated); 1918Assert.False(control.Modified); 1923Assert.False(control.Modified); 1934Assert.False(control.Modified); 1950Assert.False(control.IsHandleCreated); 1958Assert.False(control.IsHandleCreated); 1966Assert.False(control.IsHandleCreated); 1980Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 1981Assert.False(control.AutoSize); 1982Assert.False(control.IsHandleCreated); 1988Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 1989Assert.False(control.AutoSize); 1990Assert.False(control.IsHandleCreated); 1996Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 1997Assert.False(control.AutoSize); 1998Assert.False(control.IsHandleCreated); 2031Assert.False(control.IsHandleCreated); 2032Assert.False(parent.IsHandleCreated); 2041Assert.False(control.IsHandleCreated); 2042Assert.False(parent.IsHandleCreated); 2051Assert.False(control.IsHandleCreated); 2052Assert.False(parent.IsHandleCreated); 2080Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 2081Assert.False(control.AutoSize); 2083Assert.False(control.IsHandleCreated); 2084Assert.False(parent.IsHandleCreated); 2090Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 2091Assert.False(control.AutoSize); 2093Assert.False(control.IsHandleCreated); 2094Assert.False(parent.IsHandleCreated); 2100Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 2101Assert.False(control.AutoSize); 2103Assert.False(control.IsHandleCreated); 2104Assert.False(parent.IsHandleCreated); 2168Assert.False(control.Multiline); 2173Assert.False(control.Multiline); 2184Assert.False(control.Multiline); 2198Assert.False(control.IsHandleCreated); 2204Assert.False(control.IsHandleCreated); 2313Assert.False(control.ReadOnly); 2324Assert.False(control.ReadOnly); 2340Assert.False(control.IsHandleCreated); 2345Assert.False(control.IsHandleCreated); 2426Assert.False(control.ReadOnly); 2431Assert.False(control.ReadOnly); 2442Assert.False(control.ReadOnly); 2467Assert.False(control.ReadOnly); 2473Assert.False(control.ReadOnly); 2486Assert.False(control.ReadOnly); 2512Assert.False(control.ReadOnly); 2518Assert.False(control.ReadOnly); 2531Assert.False(control.ReadOnly); 2567Assert.False(control.IsHandleCreated); 2596Assert.False(control.CanUndo); 2598Assert.False(control.Modified); 2650Assert.False(control.CanUndo); 2652Assert.False(control.Modified); 2672Assert.False(control.CanUndo); 2674Assert.False(control.Modified); 2694Assert.False(control.CanUndo); 2696Assert.False(control.Modified); 2723Assert.False(control.CanUndo); 2725Assert.False(control.Modified); 2739Assert.False(control.IsHandleCreated); 2744Assert.False(control.IsHandleCreated); 2787Assert.False(control.IsHandleCreated); 2817Assert.False(control.IsHandleCreated); 2824Assert.False(control.IsHandleCreated); 2845Assert.False(control.IsHandleCreated); 2851Assert.False(control.IsHandleCreated); 2963Assert.False(control.IsHandleCreated); 2993Assert.False(control.IsHandleCreated); 3000Assert.False(control.IsHandleCreated); 3021Assert.False(control.IsHandleCreated); 3027Assert.False(control.IsHandleCreated); 3117Assert.False(control.IsHandleCreated); 3122Assert.False(control.IsHandleCreated); 3135Assert.False(control.IsHandleCreated); 3140Assert.False(control.IsHandleCreated); 3157Assert.False(control.IsHandleCreated); 3162Assert.False(control.IsHandleCreated); 3167Assert.False(control.IsHandleCreated); 3201Assert.False(control.IsHandleCreated); 3225Assert.False(control.Modified); 3226Assert.False(control.CanUndo); 3227Assert.False(control.IsHandleCreated); 3236Assert.False(control.Modified); 3237Assert.False(control.CanUndo); 3238Assert.False(control.IsHandleCreated); 3279Assert.False(control.Modified); 3280Assert.False(control.CanUndo); 3281Assert.False(control.IsHandleCreated); 3290Assert.False(control.Modified); 3291Assert.False(control.CanUndo); 3292Assert.False(control.IsHandleCreated); 3310Assert.False(control.CanUndo); 3311Assert.False(control.IsHandleCreated); 3321Assert.False(control.CanUndo); 3322Assert.False(control.IsHandleCreated); 3344Assert.False(control.Modified); 3357Assert.False(control.Modified); 3453Assert.False(control.Modified); 3454Assert.False(control.CanUndo); 3467Assert.False(control.Modified); 3468Assert.False(control.CanUndo); 3576Assert.False(control.IsHandleCreated); 3581Assert.False(control.IsHandleCreated); 3593Assert.False(control.IsHandleCreated); 3598Assert.False(control.IsHandleCreated); 3606Assert.False(control.IsHandleCreated); 3610Assert.False(control.IsHandleCreated); 3651Assert.False(control.IsHandleCreated); 3683Assert.False(control.IsHandleCreated); 3705Assert.False(control.IsHandleCreated); 3711Assert.False(control.IsHandleCreated); 3717Assert.False(control.IsHandleCreated); 3748Assert.False(control.IsHandleCreated); 3749Assert.False(parent.IsHandleCreated); 3755Assert.False(control.IsHandleCreated); 3756Assert.False(parent.IsHandleCreated); 3762Assert.False(control.IsHandleCreated); 3763Assert.False(parent.IsHandleCreated); 3793Assert.False(control.IsHandleCreated); 3794Assert.False(parent.IsHandleCreated); 3801Assert.False(control.IsHandleCreated); 3802Assert.False(parent.IsHandleCreated); 3809Assert.False(control.IsHandleCreated); 3810Assert.False(parent.IsHandleCreated); 4013Assert.False(control.IsHandleCreated); 4017Assert.False(control.IsHandleCreated); 4030Assert.False(control.IsHandleCreated); 4034Assert.False(control.IsHandleCreated); 4099Assert.False(control.CanUndo); 4100Assert.False(control.IsHandleCreated); 4103Assert.False(control.CanUndo); 4104Assert.False(control.IsHandleCreated); 4120Assert.False(control.CanUndo); 4127Assert.False(control.CanUndo); 4218Assert.False(control.IsHandleCreated); 4234Assert.False(control.IsHandleCreated); 4841Assert.False(control.IsHandleCreated); 4872Assert.False(control.IsHandleCreated); 5028Assert.False(control.IsHandleCreated); 5032Assert.False(control.IsHandleCreated); 5048Assert.False(control.IsHandleCreated); 5052Assert.False(control.IsHandleCreated); 5088Assert.False(control.IsHandleCreated); 5092Assert.False(control.IsHandleCreated); 5110Assert.False(control.IsHandleCreated); 5116Assert.False(control.IsHandleCreated); 5132Assert.False(control.IsHandleCreated); 5137Assert.False(control.IsHandleCreated); 5174Assert.False(control.GetTopLevel()); 5232Assert.False(control.IsHandleCreated); 5383Assert.False(control.IsHandleCreated); 5390Assert.False(control.IsHandleCreated); 5439Assert.False(control.IsHandleCreated); 5445Assert.False(control.IsHandleCreated); 5793Assert.False(control.IsHandleCreated); 5799Assert.False(control.IsHandleCreated); 5854Assert.False(control.IsHandleCreated); 5870Assert.False(control.IsHandleCreated); 5879Assert.False(control.ProcessCmdKey(ref m, keyData)); 5880Assert.False(control.IsHandleCreated); 5922Assert.False(control.IsHandleCreated); 5956Assert.False(control.ProcessCmdKey(ref message, Keys.Control | Keys.Back)); 6025Assert.False(control.ProcessDialogKey(keyData)); 6026Assert.False(control.IsHandleCreated); 6046Assert.False(control.ProcessDialogKey(keyData)); 6047Assert.False(control.IsHandleCreated); 6080Assert.False(control.IsHandleCreated); 6098Assert.False(control.IsHandleCreated); 6235Assert.False(control.IsHandleCreated); 6242Assert.False(control.IsHandleCreated); 6325Assert.False(control.IsHandleCreated); 6332Assert.False(control.IsHandleCreated); 6346Assert.False(control.IsHandleCreated); 6353Assert.False(control.IsHandleCreated); 6553Assert.False(control.IsHandleCreated); 6574Assert.False(control.IsHandleCreated); 6687Assert.False(control.IsHandleCreated); 6708Assert.False(control.IsHandleCreated); 6803Assert.False(control.IsHandleCreated); 6824Assert.False(control.IsHandleCreated); 6860Assert.False(control.CanUndo); 6861Assert.False(control.Modified); 6876Assert.False(control.CanUndo); 6877Assert.False(control.Modified); 6895Assert.False(control.CanUndo); 6896Assert.False(control.Modified); 6922Assert.False(control.CanUndo); 6923Assert.False(control.Modified); 6966Assert.False(control.IsHandleCreated); 7014Assert.False(menu.Visible); 7101Assert.False(menu.Visible); 7132Assert.False(control.IsHandleCreated); 7282Assert.False(control.Focused); 7318Assert.False(control.Focused); 7351Assert.False(control.Focused); 7392Assert.False(control.Focused); 7436Assert.False(control.Focused); 7477Assert.False(control.Focused); 7557Assert.False(control.IsHandleCreated);
TextBoxTests.cs (33)
19Assert.False(control.AcceptsReturn); 20Assert.False(control.AcceptsTab); 25Assert.False(control.AllowDrop); 39Assert.False(control.CanFocus); 42Assert.False(control.CanUndo); 43Assert.False(control.Capture); 49Assert.False(control.ContainsFocus); 53Assert.False(control.Created); 62Assert.False(control.DesignMode); 65Assert.False(control.DoubleBuffered); 69Assert.False(control.Focused); 73Assert.False(control.HasChildren); 76Assert.False(control.IsAccessible); 77Assert.False(control.IsMirrored); 87Assert.False(control.Modified); 88Assert.False(control.Multiline); 95Assert.False(control.ReadOnly); 96Assert.False(control.RecreatingHandle); 98Assert.False(control.ResizeRedraw); 117Assert.False(control.UseSystemPasswordChar); 118Assert.False(control.UseWaitCursor); 123Assert.False(control.IsHandleCreated); 143Assert.False(control.IsHandleCreated); 340Assert.False(string.IsNullOrEmpty(tb.PlaceholderText)); 358Assert.False(eventRaised); 426Assert.False(string.IsNullOrEmpty(tb.PlaceholderText)); 445Assert.False(string.IsNullOrEmpty(tb.PlaceholderText)); 483Assert.False(control.IsHandleCreated); 527Assert.False(control.GetTopLevel()); 548Assert.False(control.IsHandleCreated); 555Assert.False(control.IsHandleCreated); 604Assert.False(control.IsHandleCreated); 610Assert.False(control.IsHandleCreated);
ThreadContextTests.cs (3)
23Assert.False(threadContext.PreTranslateMessage(ref msg)); 42Assert.False(threadContext.PreTranslateMessage(ref msg)); 88Assert.False(threadContext.PreTranslateMessage(ref msg));
TrackBarTests.cs (113)
24Assert.False(control.AllowDrop); 33Assert.False(control.CanEnableIme); 34Assert.False(control.CanFocus); 37Assert.False(control.Capture); 42Assert.False(control.ContainsFocus); 46Assert.False(control.Created); 55Assert.False(control.DesignMode); 58Assert.False(control.DoubleBuffered); 62Assert.False(control.Focused); 66Assert.False(control.HasChildren); 70Assert.False(control.IsAccessible); 71Assert.False(control.IsMirrored); 87Assert.False(control.RecreatingHandle); 89Assert.False(control.ResizeRedraw); 92Assert.False(control.RightToLeftLayout); 105Assert.False(control.UseWaitCursor); 110Assert.False(control.IsHandleCreated); 130Assert.False(control.IsHandleCreated); 158Assert.False(control.IsHandleCreated); 184Assert.False(control.IsHandleCreated); 215Assert.False(control.IsHandleCreated); 229Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 230Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 232Assert.False(control.IsHandleCreated); 238Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 239Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 241Assert.False(control.IsHandleCreated); 247Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 250Assert.False(control.IsHandleCreated); 268Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 270Assert.False(control.IsHandleCreated); 277Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 279Assert.False(control.IsHandleCreated); 286Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 288Assert.False(control.IsHandleCreated); 309Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 310Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 321Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 322Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 333Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 364Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 376Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 388Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 414Assert.False(control.AutoSize); 419Assert.False(control.AutoSize); 430Assert.False(control.AutoSize); 443Assert.False(control.IsHandleCreated); 448Assert.False(control.IsHandleCreated); 502Assert.False(control.DoubleBuffered); 503Assert.False(control.IsHandleCreated); 508Assert.False(control.DoubleBuffered); 509Assert.False(control.IsHandleCreated); 566Assert.False(control.IsHandleCreated); 572Assert.False(control.IsHandleCreated); 578Assert.False(control.IsHandleCreated); 631Assert.False(control.IsHandleCreated); 637Assert.False(control.IsHandleCreated); 700Assert.False(control.IsHandleCreated); 705Assert.False(control.IsHandleCreated); 895Assert.False(control.IsHandleCreated); 900Assert.False(control.IsHandleCreated); 987Assert.False(control.IsHandleCreated); 992Assert.False(control.IsHandleCreated); 1053Assert.False(control.IsHandleCreated); 1062Assert.False(control.IsHandleCreated); 1125Assert.False(control.IsHandleCreated); 1171Assert.False(control.IsHandleCreated); 1190Assert.False(control.IsHandleCreated); 1199Assert.False(control.IsHandleCreated); 1263Assert.False(control.IsHandleCreated); 1317Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 1318Assert.False(control.IsHandleCreated); 1325Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 1326Assert.False(control.IsHandleCreated); 1352Assert.False(control.IsHandleCreated); 1360Assert.False(control.IsHandleCreated); 1473Assert.False(control.IsHandleCreated); 1478Assert.False(control.IsHandleCreated); 1572Assert.False(control.IsHandleCreated); 1578Assert.False(control.IsHandleCreated); 1584Assert.False(control.IsHandleCreated); 1661Assert.False(control.RightToLeftLayout); 1666Assert.False(control.RightToLeftLayout); 1677Assert.False(control.RightToLeftLayout); 1721Assert.False(control.IsHandleCreated); 1726Assert.False(control.IsHandleCreated); 1780Assert.False(control.IsHandleCreated); 1785Assert.False(control.IsHandleCreated); 1865Assert.False(control.IsHandleCreated); 1870Assert.False(control.IsHandleCreated); 1915Assert.False(control.IsHandleCreated); 1920Assert.False(control.IsHandleCreated); 1997Assert.False(control.IsHandleCreated); 2006Assert.False(control.IsHandleCreated); 2028Assert.False(control.IsHandleCreated); 2037Assert.False(control.IsHandleCreated); 2231Assert.False(control.IsHandleCreated); 2236Assert.False(control.IsHandleCreated); 2256Assert.False(control.IsHandleCreated); 2261Assert.False(control.IsHandleCreated); 2305Assert.False(control.GetTopLevel()); 2320Assert.False(control.IsHandleCreated); 2340Assert.False(control.IsHandleCreated); 2346Assert.False(control.IsHandleCreated); 2454Assert.False(control.IsHandleCreated); 2460Assert.False(control.IsHandleCreated); 2633Assert.False(control.IsHandleCreated); 2639Assert.False(control.IsHandleCreated); 2762Assert.False(control.IsHandleCreated); 2768Assert.False(control.IsHandleCreated); 3013Assert.False(control.IsHandleCreated); 3034Assert.False(control.IsHandleCreated); 3063Assert.False(control.IsHandleCreated);
WebBrowserBaseTests.cs (13)
90Assert.False(control.IsHandleCreated); 109Assert.False(control.IsHandleCreated); 260Assert.False(control.IsHandleCreated); 265Assert.False(control.IsHandleCreated); 277Assert.False(control.IsHandleCreated); 282Assert.False(control.IsHandleCreated); 796Assert.False(control.GetTopLevel()); 804Assert.False(control.ProcessDialogKey(keyData)); 805Assert.False(control.IsHandleCreated); 820Assert.False(control.ProcessDialogKey(keyData)); 821Assert.False(control.IsHandleCreated); 848Assert.False(control.IsHandleCreated); 855Assert.False(control.UseWaitCursor);
System.Windows.Forms.UI.IntegrationTests (31)
ButtonTests.cs (3)
71Assert.False(form.Visible); 108Assert.False(form.Visible); 391Assert.False(wasClicked);
Dpi\SplitContainerTests.cs (1)
27Assert.False(sc.SplitterRectangle.IsEmpty);
DragDropTests.cs (6)
174Assert.False(uiAutomation.IsNull); 178Assert.False(uiAutomationElement.IsNull); 444Assert.False(string.IsNullOrWhiteSpace(form.RichTextBoxDropTarget.Rtf)); 445Assert.False(string.IsNullOrWhiteSpace(form.RichTextBoxDropTarget.Text)); 487Assert.False(string.IsNullOrWhiteSpace(form.RichTextBoxDropTarget.Rtf)); 488Assert.False(string.IsNullOrWhiteSpace(form.RichTextBoxDropTarget.Text));
Infra\ScreenRecordService.cs (2)
453Assert.False(ihdr.IsEmpty); 455Assert.False(iend.IsEmpty);
ListViewTests.cs (17)
65Assert.False(item1.Selected); 67Assert.False(item3.Selected); 68Assert.False(collapsedStateChangedFired); 71Assert.False(item1.Selected); 72Assert.False(item2.Selected); 74Assert.False(collapsedStateChangedFired); 77Assert.False(item1.Selected); 78Assert.False(item2.Selected); 80Assert.False(collapsedStateChangedFired); 84Assert.False(item2.Selected); 85Assert.False(item3.Selected); 86Assert.False(collapsedStateChangedFired); 90Assert.False(item2.Selected); 91Assert.False(item3.Selected); 92Assert.False(collapsedStateChangedFired); 99Assert.False(collapsedStateChangedFired); 491Assert.False(item.Selected);
TabControlTests.cs (2)
48Assert.False(result); 63Assert.False(result);
System.Xaml.Tests (7)
System\Windows\Markup\ValueSerializerTests.cs (4)
26Assert.False(serializer.CanConvertToString(value, null)); 27Assert.False(serializer.CanConvertToString(value, new CustomValueSerializerContext())); 59Assert.False(serializer.CanConvertFromString(value, null)); 60Assert.False(serializer.CanConvertFromString(value, new CustomValueSerializerContext()));
System\Windows\Markup\XamlSetMarkupExtensionEventArgsTests.cs (1)
28Assert.False(e.Handled);
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
31Assert.False(e.Handled);
System\Windows\Markup\XamlSetValueEventArgsTests.cs (1)
26Assert.False(e.Handled);
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\Project.cs (1)
349Assert.False(profilesEnumerator.MoveNext());
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\ProjectTemplates\Shared\Project.cs (1)
349Assert.False(profilesEnumerator.MoveNext());
src\Shared\E2ETesting\WaitAssert.cs (1)
39=> WaitAssertCore(driver, () => Assert.False(actual()));
Templates.Blazor.WebAssembly.Tests (2)
src\ProjectTemplates\Shared\Project.cs (1)
349Assert.False(profilesEnumerator.MoveNext());
src\Shared\E2ETesting\WaitAssert.cs (1)
39=> WaitAssertCore(driver, () => Assert.False(actual()));
Templates.Mvc.Tests (2)
src\ProjectTemplates\Shared\Project.cs (1)
349Assert.False(profilesEnumerator.MoveNext());
src\Shared\E2ETesting\WaitAssert.cs (1)
39=> WaitAssertCore(driver, () => Assert.False(actual()));
Templates.Tests (4)
ByteOrderMarkTest.cs (2)
68Assert.False(filesWithBOMCharactersPresent); 101Assert.False(nonBOMFilesPresent);
src\ProjectTemplates\Shared\Project.cs (1)
349Assert.False(profilesEnumerator.MoveNext());
src\Shared\E2ETesting\WaitAssert.cs (1)
39=> WaitAssertCore(driver, () => Assert.False(actual()));
VBCSCompiler.UnitTests (31)
AnalyzerConsistencyCheckerTests.cs (2)
159Assert.False(result); 230Assert.False(result);
BuildClientTests.cs (10)
146Assert.False(await tryConnectToNamedPipe((int)oneSec.TotalMilliseconds, cancellationToken: default)); 151Assert.False(connection.IsCompleted); 248Assert.False(Parse(optionPrefix + "shared:", "test.cs")); 249Assert.False(_hasShared); 259Assert.False(_hasShared); 269Assert.False(_hasShared); 285Assert.False(Parse(optionPrefix + "keepalive", "test.cs")); 288Assert.False(Parse(optionPrefix + "keepalive:", "test.cs")); 291Assert.False(Parse(optionPrefix + "keepalive:-100", "test.cs")); 294Assert.False(Parse(optionPrefix + "keepalive:100", "test.cs"));
BuildServerConnectionTests.cs (1)
86Assert.False(ran);
ClientConnectionHandlerTests.cs (2)
109Assert.False(hitCompilation); 142Assert.False(hitCompilation);
CompilerServerTests.cs (8)
559Assert.False(File.Exists(Path.Combine(_tempDirectory.Path, "hello.exe"))); 589Assert.False(File.Exists(Path.Combine(_tempDirectory.Path, "hello.exe"))); 606Assert.False(File.Exists(Path.Combine(_tempDirectory.Path, "missingfile.exe"))); 624Assert.False(File.Exists(Path.Combine(_tempDirectory.Path, "hello.exe"))); 649Assert.False(File.Exists(Path.Combine(_tempDirectory.Path, "app.exe"))); 667Assert.False(File.Exists(Path.Combine(_tempDirectory.Path, "missingfile.exe"))); 696Assert.False(File.Exists(Path.Combine(_tempDirectory.Path, "hellovb.exe"))); 725Assert.False(File.Exists(Path.Combine(_tempDirectory.Path, "app.exe")));
NamedPipeClientConnectionHostTests.cs (3)
81Assert.False(namedPipeClientConnection.IsDisposed); 140Assert.False(stream.IsConnected); 154Assert.False(_host.IsListening);
VBCSCompilerServerTests.cs (5)
44Assert.False(task.IsFaulted); 423Assert.False(_shutdown); 431Assert.False(_shutdown); 453Assert.False(Parse("-invalid")); 454Assert.False(Parse("name"));