507 references to False
Aspire.Dashboard.Tests (1)
Aspire.Hosting.Tests (4)
Aspire.Workload.Tests (1)
BinaryFormatTests (2)
Binding.Http.IntegrationTests (1)
Binding.Tcp.IntegrationTests (1)
Contract.Message.IntegrationTests (2)
dotnet-svcutil-lib.Tests (12)
IIS.ShadowCopy.Tests (4)
InMemory.FunctionalTests (10)
Interop.FunctionalTests (1)
Microsoft.Arcade.Test.Common (1)
Microsoft.AspNetCore.Authentication.Negotiate.Test (12)
Microsoft.AspNetCore.Components.Server.Tests (2)
Microsoft.AspNetCore.DataProtection.Extensions.Tests (2)
Microsoft.AspNetCore.DataProtection.Tests (2)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
Microsoft.AspNetCore.Identity.InMemory.Test (2)
Microsoft.AspNetCore.Identity.Test (2)
Microsoft.AspNetCore.InternalTesting.Tests (14)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.Mvc.Cors.Test (1)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (25)
ResponseBodyTests.cs (8)
36Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
123Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
155Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
180Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
202Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
338Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
366Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
393Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
ResponseSendFileTests.cs (8)
74Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
93Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
112Assert.False(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
132Assert.False(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
151Assert.False(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
208Assert.False(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
299Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
322Assert.False(response.Content.Headers.TryGetValues("content-length", out var contentLength), "Content-Length");
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
Microsoft.AspNetCore.TestHost.Tests (2)
Microsoft.AspNetCore.WebUtilities.Tests (2)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Engine.UnitTests (7)
Microsoft.Build.Tasks.UnitTests (6)
Microsoft.Build.Utilities.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (14)
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (30)
Compilation\GetSemanticInfoTests.cs (16)
4998Assert.False(symbolInfo.IsDefined, "must not be defined");
5002Assert.False(symbolInfo.IsDefined, "must not be defined");
5006Assert.False(symbolInfo.IsDefined, "must not be defined");
5010Assert.False(symbolInfo.IsDefined, "must not be defined");
5027Assert.False(symbolInfo.IsDefined, "must not be defined");
5105Assert.False(symbolInfo.IsDefined, "must not be defined");
5155Assert.False(symbolInfo.IsDefined, "must not be defined");
5171Assert.False(symbolInfo.IsDefined, "must not be defined");
5238Assert.False(symbolInfo.IsDefined, "must not be defined");
5254Assert.False(symbolInfo.IsDefined, "must not be defined");
5270Assert.False(symbolInfo.IsDefined, "must not be defined");
5286Assert.False(symbolInfo.IsDefined, "must not be defined");
5337Assert.False(symbolInfo.IsDefined, "must not be defined");
5354Assert.False(symbolInfo.IsDefined, "must not be defined");
5371Assert.False(symbolInfo.IsDefined, "must not be defined");
5388Assert.False(symbolInfo.IsDefined, "must not be defined");
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (12)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (5)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (12)
Diagnostics\IDEDiagnosticIDConfigurationTests.cs (8)
134Assert.False(true, $@"Missing entry:
144Assert.False(true, $@"Mismatch for '{diagnosticId}'
155Assert.False(true, $"Test Baseline:{baseline}");
168Assert.False(true, $@"Unexpected entries:{extraEntitiesBuilder.ToString()}");
731Assert.False(true,
745Assert.False(true,
772Assert.False(true, $@"Missing entry: {diagnosticId}, {optionName}, {optionValue}");
778Assert.False(true, $@"Mismatch for: {diagnosticId}, {optionName}, {optionValue}");
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.Features.UnitTests (4)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (2)
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
Microsoft.CodeAnalysis.Test.Utilities (19)
Microsoft.CodeAnalysis.UnitTests (19)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (3)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.DotNet.NuGetRepack.Tests (1)
Microsoft.DotNet.XUnitAssert.Tests (2)
Microsoft.Extensions.Caching.Hybrid.Tests (4)
Microsoft.Extensions.Compliance.Testing.Tests (1)
Microsoft.Extensions.ML.Tests (1)
Microsoft.Extensions.ObjectPool.Tests (1)
Microsoft.ML.Benchmarks.Tests (1)
Microsoft.ML.TestFrameworkCommon (3)
Microsoft.ML.Tests (1)
Microsoft.Net.Http.Headers.Tests (66)
Microsoft.VisualBasic.Tests (1)
PresentationCore.Tests (2)
Sockets.FunctionalTests (3)
System.Drawing.Common.Tests (83)
System\Drawing\IconConverterTests.cs (32)
40Assert.False(_icoConv.CanConvertFrom(null, typeof(string)), "string");
41Assert.False(_icoConv.CanConvertFrom(null, typeof(Rectangle)), "Rectangle");
42Assert.False(_icoConv.CanConvertFrom(null, typeof(Point)), "Point");
43Assert.False(_icoConv.CanConvertFrom(null, typeof(PointF)), "PointF");
44Assert.False(_icoConv.CanConvertFrom(null, typeof(Size)), "Size");
45Assert.False(_icoConv.CanConvertFrom(null, typeof(SizeF)), "SizeF");
46Assert.False(_icoConv.CanConvertFrom(null, typeof(object)), "object");
47Assert.False(_icoConv.CanConvertFrom(null, typeof(int)), "int");
48Assert.False(_icoConv.CanConvertFrom(null, typeof(Metafile)), "Metafile");
53Assert.False(_icoConvFrmTD.CanConvertFrom(null, typeof(string)), "TD string");
54Assert.False(_icoConvFrmTD.CanConvertFrom(null, typeof(Rectangle)), "TD Rectangle");
55Assert.False(_icoConvFrmTD.CanConvertFrom(null, typeof(Point)), "TD Point");
56Assert.False(_icoConvFrmTD.CanConvertFrom(null, typeof(PointF)), "TD PointF");
57Assert.False(_icoConvFrmTD.CanConvertFrom(null, typeof(Size)), "TD Size");
58Assert.False(_icoConvFrmTD.CanConvertFrom(null, typeof(SizeF)), "TD SizeF");
59Assert.False(_icoConvFrmTD.CanConvertFrom(null, typeof(object)), "TD object");
60Assert.False(_icoConvFrmTD.CanConvertFrom(null, typeof(int)), "TD int");
61Assert.False(_icoConvFrmTD.CanConvertFrom(null, typeof(Metafile)), "TD Metafile");
77Assert.False(_icoConv.CanConvertTo(null, typeof(Rectangle)), "Rectangle");
78Assert.False(_icoConv.CanConvertTo(null, typeof(Point)), "Point");
79Assert.False(_icoConv.CanConvertTo(null, typeof(PointF)), "PointF");
80Assert.False(_icoConv.CanConvertTo(null, typeof(Size)), "Size");
81Assert.False(_icoConv.CanConvertTo(null, typeof(SizeF)), "SizeF");
82Assert.False(_icoConv.CanConvertTo(null, typeof(object)), "object");
83Assert.False(_icoConv.CanConvertTo(null, typeof(int)), "int");
95Assert.False(_icoConvFrmTD.CanConvertTo(null, typeof(Rectangle)), "TD Rectangle");
96Assert.False(_icoConvFrmTD.CanConvertTo(null, typeof(Point)), "TD Point");
97Assert.False(_icoConvFrmTD.CanConvertTo(null, typeof(PointF)), "TD PointF");
98Assert.False(_icoConvFrmTD.CanConvertTo(null, typeof(Size)), "TD Size");
99Assert.False(_icoConvFrmTD.CanConvertTo(null, typeof(SizeF)), "TD SizeF");
100Assert.False(_icoConvFrmTD.CanConvertTo(null, typeof(object)), "TD object");
101Assert.False(_icoConvFrmTD.CanConvertTo(null, typeof(int)), "TD int");
System\Drawing\ImageConverterTests.cs (32)
66Assert.False(_imgConv.CanConvertFrom(null, typeof(string)), "string");
67Assert.False(_imgConv.CanConvertFrom(null, typeof(Rectangle)), "Rectangle");
68Assert.False(_imgConv.CanConvertFrom(null, typeof(Point)), "Point");
69Assert.False(_imgConv.CanConvertFrom(null, typeof(PointF)), "PointF");
70Assert.False(_imgConv.CanConvertFrom(null, typeof(Size)), "Size");
71Assert.False(_imgConv.CanConvertFrom(null, typeof(SizeF)), "SizeF");
72Assert.False(_imgConv.CanConvertFrom(null, typeof(object)), "object");
73Assert.False(_imgConv.CanConvertFrom(null, typeof(int)), "int");
74Assert.False(_imgConv.CanConvertFrom(null, typeof(Metafile)), "Mefafile");
79Assert.False(_imgConvFrmTD.CanConvertFrom(null, typeof(string)), "TD string");
80Assert.False(_imgConvFrmTD.CanConvertFrom(null, typeof(Rectangle)), "TD Rectangle");
81Assert.False(_imgConvFrmTD.CanConvertFrom(null, typeof(Point)), "TD Point");
82Assert.False(_imgConvFrmTD.CanConvertFrom(null, typeof(PointF)), "TD PointF");
83Assert.False(_imgConvFrmTD.CanConvertFrom(null, typeof(Size)), "TD Size");
84Assert.False(_imgConvFrmTD.CanConvertFrom(null, typeof(SizeF)), "TD SizeF");
85Assert.False(_imgConvFrmTD.CanConvertFrom(null, typeof(object)), "TD object");
86Assert.False(_imgConvFrmTD.CanConvertFrom(null, typeof(int)), "TD int");
87Assert.False(_imgConvFrmTD.CanConvertFrom(null, typeof(Metafile)), "TD Metafile");
99Assert.False(_imgConv.CanConvertTo(null, typeof(Rectangle)), "Rectangle");
100Assert.False(_imgConv.CanConvertTo(null, typeof(Point)), "Point");
101Assert.False(_imgConv.CanConvertTo(null, typeof(PointF)), "PointF");
102Assert.False(_imgConv.CanConvertTo(null, typeof(Size)), "Size");
103Assert.False(_imgConv.CanConvertTo(null, typeof(SizeF)), "SizeF");
104Assert.False(_imgConv.CanConvertTo(null, typeof(object)), "object");
105Assert.False(_imgConv.CanConvertTo(null, typeof(int)), "int");
113Assert.False(_imgConvFrmTD.CanConvertTo(null, typeof(Rectangle)), "TD Rectangle");
114Assert.False(_imgConvFrmTD.CanConvertTo(null, typeof(Point)), "TD Point");
115Assert.False(_imgConvFrmTD.CanConvertTo(null, typeof(PointF)), "TD PointF");
116Assert.False(_imgConvFrmTD.CanConvertTo(null, typeof(Size)), "TD Size");
117Assert.False(_imgConvFrmTD.CanConvertTo(null, typeof(SizeF)), "TD SizeF");
118Assert.False(_imgConvFrmTD.CanConvertTo(null, typeof(object)), "TD object");
119Assert.False(_imgConvFrmTD.CanConvertTo(null, typeof(int)), "TD int");
System\Drawing\ImageFormatConverterTests.cs (16)
31Assert.False(_imgFmtConv.CanConvertFrom(null, typeof(ImageFormat)), "ImageFormat");
32Assert.False(_imgFmtConv.CanConvertFrom(null, typeof(Guid)), "Guid");
33Assert.False(_imgFmtConv.CanConvertFrom(null, typeof(object)), "object");
34Assert.False(_imgFmtConv.CanConvertFrom(null, typeof(int)), "int");
38Assert.False(_imgFmtConvFrmTD.CanConvertFrom(null, typeof(ImageFormat)), "TD ImageFormat");
39Assert.False(_imgFmtConvFrmTD.CanConvertFrom(null, typeof(Guid)), "TD Guid");
40Assert.False(_imgFmtConvFrmTD.CanConvertFrom(null, typeof(object)), "TD object");
41Assert.False(_imgFmtConvFrmTD.CanConvertFrom(null, typeof(int)), "TD int");
49Assert.False(_imgFmtConv.CanConvertTo(null, typeof(ImageFormat)), "ImageFormat");
50Assert.False(_imgFmtConv.CanConvertTo(null, typeof(Guid)), "Guid");
51Assert.False(_imgFmtConv.CanConvertTo(null, typeof(object)), "object");
52Assert.False(_imgFmtConv.CanConvertTo(null, typeof(int)), "int");
56Assert.False(_imgFmtConvFrmTD.CanConvertTo(null, typeof(ImageFormat)), "TD ImageFormat");
57Assert.False(_imgFmtConvFrmTD.CanConvertTo(null, typeof(Guid)), "TD Guid");
58Assert.False(_imgFmtConvFrmTD.CanConvertTo(null, typeof(object)), "TD object");
59Assert.False(_imgFmtConvFrmTD.CanConvertTo(null, typeof(int)), "TD int");
System.ServiceModel.Primitives.Tests (4)
System.Windows.Forms.Primitives.TestUtilities (2)
System.Windows.Forms.PrivateSourceGenerators.Tests (1)
System.Windows.Forms.Tests (2)
System.Windows.Forms.UI.IntegrationTests (2)
Templates.Blazor.Tests (4)
Templates.Blazor.WebAssembly.Auth.Tests (2)
Templates.Blazor.WebAssembly.Tests (6)
Templates.Mvc.Tests (16)
Templates.Tests (13)