228 references to Contains
aspire (3)
Backchannel\ExtensionBackchannel.cs (1)
501return capabilities.Contains(capability);
src\Shared\LocaleHelpers.cs (2)
27if (SupportedLocales.Contains(cultureInfo.Name) || 28SupportedLocales.Contains(cultureInfo.TwoLetterISOLanguageName))
Aspire.Dashboard (3)
Model\ConnectionStringParser.cs (1)
364if (s_knownProtocols.Contains(prefix))
src\Shared\LocaleHelpers.cs (2)
27if (SupportedLocales.Contains(cultureInfo.Name) || 28SupportedLocales.Contains(cultureInfo.TwoLetterISOLanguageName))
Aspire.Hosting (4)
Dcp\DcpHost.cs (1)
217if (key is not null && val is not null && !s_doNotInheritEnvironmentVars.Contains(key))
DistributedApplicationBuilder.cs (1)
518if (options.Args.Contains("--start-resource"))
src\Shared\LocaleHelpers.cs (2)
27if (SupportedLocales.Contains(cultureInfo.Name) || 28SupportedLocales.Contains(cultureInfo.TwoLetterISOLanguageName))
Aspire.Hosting.Azure (1)
Provisioning\BicepUtilities.cs (1)
36(s_knownParameterNames.Contains(parameter.Key) || IsParameterWithGeneratedValue(parameter.Value)))
Aspire.Templates.Tests (1)
TemplateTestsBase.cs (1)
389else if (s_charsToReplace.Contains((char)b))
blazor-devserver (1)
Server\Program.cs (1)
41["ApplyCopHeaders"] = args.Contains("--apply-cop-headers").ToString()
ClientSample (1)
Program.cs (1)
15if (args.Contains("--debug"))
CodeGenerator (20)
FeatureCollectionGenerator.cs (3)
35internal protected {feature}? _current{feature};")}{(allFeatures.Where(f => !implementedFeatures.Contains(f)).FirstOrDefault() is not null ? @" 37// Other reserved feature slots" : "")}{Each(allFeatures.Where(f => !implementedFeatures.Contains(f)), feature => $@" 47{Each(allFeatures.Where(f => !implementedFeatures.Contains(f)), feature => $@"
src\Servers\Kestrel\shared\KnownHeaders.cs (17)
177.OrderBy(header => !requestPrimaryHeaders.Contains(header)) 184PrimaryHeader = requestPrimaryHeaders.Contains(header), 185ExistenceCheck = requestHeadersExistence.Contains(header), 186FastCount = requestHeadersCount.Contains(header), 193PrimaryHeader = requestPrimaryHeaders.Contains(HeaderNames.ContentLength) 248.OrderBy(header => !responsePrimaryHeaders.Contains(header)) 255EnhancedSetter = enhancedHeaders.Contains(header), 256ExistenceCheck = responseHeadersExistence.Contains(header), 257PrimaryHeader = responsePrimaryHeaders.Contains(header) 264EnhancedSetter = enhancedHeaders.Contains(HeaderNames.ContentLength), 265PrimaryHeader = responsePrimaryHeaders.Contains(HeaderNames.ContentLength) 275.OrderBy(header => !responsePrimaryHeaders.Contains(header)) 282EnhancedSetter = enhancedHeaders.Contains(header), 283ExistenceCheck = responseHeadersExistence.Contains(header), 284PrimaryHeader = responsePrimaryHeaders.Contains(header) 298.Where(header => invalidH2H3ResponseHeaders.Contains(header.Name)) 906{Each(loop.Headers.Where(header => header.Name != HeaderNames.ContentLength && !NonApiHeaders.Contains(header.Identifier)), header => $@"
DatabaseMigration.ApiService (1)
Program.cs (1)
10if (args.Contains("--postgres"))
DatabaseMigration.AppHost (1)
Program.cs (1)
8if (args.Contains("--postgres"))
dotnet-dev-certs (1)
Program.cs (1)
52if (args.Contains("--debug"))
GenerateDocumentationAndConfigFiles (2)
Program.cs (1)
817if (!actualContent.Contains(line))
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
635if (pathParts.Contains(ThisDirectory))
GenerateRulesMissingDocumentation (1)
Program.cs (1)
84if (!actualContent.Contains(line))
Identity.DefaultUI.WebSite (2)
Program.cs (1)
17if (!args.Contains("--use-startup=false"))
src\Identity\test\InMemory.Test\InMemoryUserStore.cs (1)
417if (splitCodes.Contains(code))
IIS.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
32if (!enabledCodes.Contains(code.ToString(CultureInfo.InvariantCulture)))
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestPathBaseTests.cs (1)
93if (headers.Contains("Transfer-Encoding: chunked"))
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (2)
311if (headers.Contains("Content-Length: 5")) 802if (headers.Contains("Transfer-Encoding: chunked"))
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
32if (!enabledCodes.Contains(code.ToString(CultureInfo.InvariantCulture)))
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
32if (!enabledCodes.Contains(code.ToString(CultureInfo.InvariantCulture)))
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
32if (!enabledCodes.Contains(code.ToString(CultureInfo.InvariantCulture)))
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
32if (!enabledCodes.Contains(code.ToString(CultureInfo.InvariantCulture)))
IISExpress.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
32if (!enabledCodes.Contains(code.ToString(CultureInfo.InvariantCulture)))
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestPathBaseTests.cs (1)
93if (headers.Contains("Transfer-Encoding: chunked"))
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (2)
311if (headers.Contains("Content-Length: 5")) 802if (headers.Contains("Transfer-Encoding: chunked"))
installer.tasks (7)
RegenerateDownloadTable.cs (6)
56if (readmeLines.Contains(Begin(LinksComment)) && 57readmeLines.Contains(End(LinksComment))) 85if (readmeLines.Contains(Begin(TableComment)) && 86readmeLines.Contains(End(TableComment))) 148if (links.Contains(link)) 152if (links.Contains(checksum))
StaticFileRegeneration\TpnSectionHeader.cs (1)
18return line.Length > 2 && line.All(c => SectionSeparatorChars.Contains(c));
KeyManagementSimulator (1)
Program.cs (1)
154var otherInstanceHasSameDefaultKey = defaultKeyIds.Contains(newDefaultKeyId);
Microsoft.AspNetCore.Components.Server (1)
Circuits\ServerComponentDeserializer.cs (1)
314if (seenSsrComponentIds[0..currentSsrComponentIdIndex].Contains(operation.SsrComponentId))
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
DbUtil.cs (2)
48if (!columns.Contains(property.GetColumnName(StoreObjectIdentifier.Table(table, property.DeclaringType.GetSchema())))) 73if (!columns.Contains(reader.GetString(0)))
Microsoft.AspNetCore.Identity.InMemory.Test (1)
InMemoryUserStore.cs (1)
417if (splitCodes.Contains(code))
Microsoft.AspNetCore.InternalTesting (1)
TestFileOutputContext.cs (1)
129if (InvalidFileChars.Contains(c))
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
DefaultHtmlGenerator.cs (2)
1174if (_placeholderInputTypes.Contains(suppliedTypeString)) 1179if (_maxLengthInputTypes.Contains(suppliedTypeString))
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http2\Http2Stream.cs (1)
420var pathEncoded = pathSegment.Contains('%');
Internal\Http3\Http3Stream.cs (1)
1184var pathEncoded = pathSegment.Contains('%');
Internal\Infrastructure\HttpUtilities.cs (2)
94if (source.Contains((byte)0) 132: ((ReadOnlySpan<char>)result).Contains('\0');
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (17)
src\Servers\Kestrel\shared\KnownHeaders.cs (17)
177.OrderBy(header => !requestPrimaryHeaders.Contains(header)) 184PrimaryHeader = requestPrimaryHeaders.Contains(header), 185ExistenceCheck = requestHeadersExistence.Contains(header), 186FastCount = requestHeadersCount.Contains(header), 193PrimaryHeader = requestPrimaryHeaders.Contains(HeaderNames.ContentLength) 248.OrderBy(header => !responsePrimaryHeaders.Contains(header)) 255EnhancedSetter = enhancedHeaders.Contains(header), 256ExistenceCheck = responseHeadersExistence.Contains(header), 257PrimaryHeader = responsePrimaryHeaders.Contains(header) 264EnhancedSetter = enhancedHeaders.Contains(HeaderNames.ContentLength), 265PrimaryHeader = responsePrimaryHeaders.Contains(HeaderNames.ContentLength) 275.OrderBy(header => !responsePrimaryHeaders.Contains(header)) 282EnhancedSetter = enhancedHeaders.Contains(header), 283ExistenceCheck = responseHeadersExistence.Contains(header), 284PrimaryHeader = responsePrimaryHeaders.Contains(header) 298.Where(header => invalidH2H3ResponseHeaders.Contains(header.Name)) 906{Each(loop.Headers.Where(header => header.Name != HeaderNames.ContentLength && !NonApiHeaders.Contains(header.Identifier)), header => $@"
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineParser.cs (1)
1097else if (!inQuotes && separators.Contains(c))
MetadataReader\MetadataHelpers.cs (1)
315Debug.Assert(i == _input.Length || s_typeNameDelimiters.Contains(_input[i]));
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCompiler.cs (1)
268return args.Any(arg => new[] { "/noconfig", "-noconfig" }.Contains(arg.ToLowerInvariant()));
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTests.cs (4)
2438if (expectedEmbedded.Contains("embed.cs")) 2443if (expectedEmbedded.Contains("embed2.cs")) 2448if (expectedEmbedded.Contains("embed.xyz")) 11622var isDeterministic = extraArgs.Contains("/deterministic");
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (39)
Attributes\AttributeTests_Nullable.cs (2)
5396Assert.False(attributes.Contains("NullableContextAttribute")); 5397Assert.False(attributes.Contains("NullableAttribute"));
Semantics\OutVarTests.cs (19)
20902compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 21015compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 21116compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 21214compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 21348compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 21579compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 21776compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 21978compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 22129compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 22224compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 22391compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 22558compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 22652compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 22766compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 22857compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 22941compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 23002compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 31261compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 31434compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify(
Semantics\PatternMatchingTests_Scope.cs (18)
11789compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 11880compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 11975compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 12067compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 12189compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 12409compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 12600compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 12799compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 12944compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 13033compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 13194compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 13355compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 13438compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 13517compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 13603compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 13682compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 13743compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify( 13918compilation.GetDiagnostics().Where(d => !exclude.Contains(d.Code)).Verify(
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\LocalFunctionTests.cs (2)
7665Assert.Equal(findAnyways, model.LookupSymbols(tParameterUsage.Position).ToTestDisplayStrings().Contains("TParameter")); 8784Assert.False(model.LookupSymbols(nameofExpression.ArgumentList.CloseParenToken.SpanStart).ToTestDisplayStrings().Contains("parameter"));
Semantics\LookupPositionTests.cs (1)
3177string[] curr = prev.Where(x => !removed.Contains(x)).ToArray();
Semantics\NullableContextTests.cs (2)
576Assert.Equal(isNullableEnabledForMethod, actualAnalyzedKeys.Contains("Main")); 734bool expectedAnalysis = expectedAnalyzedKeys.Contains(methodDeclaration.Identifier.Text);
Semantics\VarianceTests.cs (2)
115if (!validAssignments[i].Contains(j)) 228if (!validAssignments[i].Contains(j))
Microsoft.CodeAnalysis.Features (3)
Common\GlyphExtensions.cs (2)
56return allTags.Contains(LanguageNames.VisualBasic) ? Glyph.BasicFile : Glyph.CSharpFile; 59return allTags.Contains(LanguageNames.VisualBasic) ? Glyph.BasicProject : Glyph.CSharpProject;
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
505possibleTypeNames.Contains(containingTypeName) &&
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
ProtocolConversionsTests.cs (1)
34if (invalidFileNameChars.Contains(c))
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
DeterministicKeyBuilderTests.cs (1)
58.Where(x => ignoreSections.Contains(x.Name))
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\AssetProvider.cs (1)
302Contract.ThrowIfTrue(missingChecksumsMemory.Span.Contains(Checksum.Null));
Microsoft.CodeAnalysis.Test.Utilities (1)
TargetFrameworkUtil.cs (1)
402.Where(x => !(x is PortableExecutableReference pe && excludeReferenceNames.Contains(pe.FilePath)));
Microsoft.CodeAnalysis.Workspaces (4)
CodeFixes\ExportCodeFixProviderAttribute.cs (1)
53if (kind == null || !s_documentKindNames.Contains(kind))
CodeRefactorings\ExportCodeRefactoringProviderAttribute.cs (1)
49if (kind == null || !s_documentKindNames.Contains(kind))
Shared\TestHooks\AsynchronousOperationListenerProvider.cs (1)
244return _singletonListeners.Where(kv => featureNames.Contains(kv.Key)).Select(kv => (IAsynchronousOperationWaiter)kv.Value);
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
635if (pathParts.Contains(ThisDirectory))
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\NamingStyleTestUtilities.cs (1)
38if (excludeNodes != null && excludeNodes.Contains(element.Name.LocalName))
Microsoft.Extensions.Identity.Stores (1)
UserStoreBase.cs (1)
976if (splitCodes.Contains(code))
Microsoft.Extensions.Validation (1)
ValidateContext.cs (1)
111if (ValidationErrors.TryGetValue(key, out var existingErrors) && !existingErrors.Contains(error))
Mvc.RoutingWebSite (1)
RemoveControllerActionDescriptorProvider.cs (1)
33if (controllerToRemove.Actions == null || controllerToRemove.Actions.Contains(controllerActionDescriptor.ActionName))
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\ReflectionUtils.cs (1)
69if (escapedComma != -1 || fullName.Contains('\\'))
PresentationFramework (2)
System\Windows\Documents\FixedTextBuilder.cs (1)
98internal static bool IsHyphen(char target) => HyphenSet.Contains(target);
System\Windows\Documents\TextPointerBase.cs (1)
640internal static bool IsCharUnicodeNewLine(char ch) => NextLineCharacters.Contains(ch);
System.Diagnostics.Process (2)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.ParseMapModules.cs (2)
150return span.Contains('r') && span.Contains('x');
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceUtils.cs (1)
22if (supportedAttributes is null || !supportedAttributes.Contains(key))
System.Drawing.Common.Tests (1)
System\Drawing\Printing\PrinterSettingsTests.cs (1)
194Assert.True(validValues.Contains(printerSettings.LandscapeAngle), $"PrinterSettings.LandscapeAngle ({printerSettings.LandscapeAngle}) must be 0, 90, or 270 degrees.");
System.Formats.Tar (1)
System\Formats\Tar\TarHeader.Write.cs (1)
632Debug.Assert(prefix.Length != 1 || !PathInternal.Utf8DirectorySeparators.Contains(prefix[0]));
System.Net.NetworkInformation (3)
System\Net\NetworkInformation\PhysicalAddress.cs (3)
104if (address.Contains('-')) 115else if (address.Contains(':')) 130else if (address.Contains('.'))
System.Net.Primitives (3)
System\Net\Cookie.cs (1)
348&& domain.Contains('.') // In case of single-label domains, there should be an exact match.
System\Net\IPAddressParser.cs (2)
24if (ipSpan.Contains(TChar.CreateTruncating(':'))) 42if (ipSpan.Contains(TChar.CreateTruncating(':')))
System.Net.WebHeaderCollection (1)
System\Net\HeaderInfoTable.cs (1)
69if (!lastElement.Contains(','))
System.Numerics.Tensors (7)
System\Numerics\Tensors\netcore\Tensor.cs (6)
1327if (!tensor.IsDense && !tensor.Strides.Contains(0)) 1362else if (tensor.Strides.Contains(0)) 1400if (!tensor.IsDense && !tensor.Strides.Contains(0)) 1435else if (tensor.Strides.Contains(0)) 1476if (!tensor.IsDense && !tensor.Strides.Contains(0)) 1512else if (tensor.Strides.Contains(0))
System\Numerics\Tensors\netcore\TensorShape.cs (1)
978Debug.Assert(IsBroadcast == Strides.Contains(0));
System.Private.CoreLib (10)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadDir.cs (1)
47Debug.Assert(!result.Contains('\0'), "should not have embedded nulls");
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (4)
315/// <inheritdoc cref="Contains{T}(ReadOnlySpan{T}, T)"/> 319Contains((ReadOnlySpan<T>)span, value); 1245if (!values.Contains(span[i])) 1825if (!values.Contains(span[i]))
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Trim.cs (2)
480if (!trimElements.Contains(span[start])) 504if (!trimElements.Contains(span[end]))
src\libraries\System.Private.CoreLib\src\System\SearchValues\SearchValues.cs (1)
275if (seenValues.Contains(false))
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (1)
204if (value.AsSpan(0, n).Contains('\0'))
src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
379if (input.Slice(buildEnd + 1).Contains(TChar.CastFrom('.')))
System.Private.Uri (1)
System\DomainNameHelper.cs (1)
61Debug.Assert(!str.AsSpan(start, index).Contains(':'),
System.Private.Windows.Core.Tests (1)
System\Private\Windows\Ole\ClipboardCoreTests.cs (1)
239outData1!.GetFormats().Contains(format).Should().BeTrue();
System.Security.Cryptography (2)
System\Security\Cryptography\PemEncoding.cs (1)
330return whitespace.Contains(ch);
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (1)
315if (!tempChain.Contains(downloadedCert.Handle))
System.Windows.Forms (1)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
2988if (args?.Length == 0 && s_propertiesWithArguments.Contains(name))
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ToolStripContentPanelDesignerTests.cs (1)
41bool containsPaddingSnapLines = snapLines.Any(snapLine => paddingFilters.Contains(snapLine.Filter));
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\ReflectionUtils.cs (1)
69if (escapedComma != -1 || fullName.Contains('\\'))
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
63var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
63var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
Templates.Blazor.WebAssembly.Tests (1)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
63var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
Templates.Mvc.Tests (15)
BlazorTemplateTest.cs (11)
59var expectedLaunchProfileNames = args.Contains(ArgConstants.NoHttps) 69if (!args.Contains(ArgConstants.IndividualAuth)) 78if (args.Contains(ArgConstants.UseLocalDb)) 108if (args.Contains(ArgConstants.IndividualAuth) && !args.Contains(ArgConstants.Empty)) 130if (args.Contains(ArgConstants.IndividualAuth)) 138if (args.Contains(ArgConstants.Empty)) 145if (args.Contains(ArgConstants.NoInteractivity)) 155if (!args.Contains(ArgConstants.IndividualAuth)) 161if (args.Contains(ArgConstants.Empty)) 168if (args.Contains(ArgConstants.NoInteractivity))
MvcTemplateTest.cs (1)
62var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
63var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
WebApiTemplateTest.cs (2)
198var noHttps = args.Contains(ArgConstants.NoHttps); 223var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
Templates.Tests (4)
EmptyWebTemplateTest.cs (1)
82var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
GrpcTemplateTest.cs (1)
71var nativeAot = args?.Contains(ArgConstants.PublishNativeAot) ?? false;
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
63var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
WorkerTemplateTest.cs (1)
51var nativeAot = args?.Contains(ArgConstants.PublishNativeAot) ?? false;
Test.Utilities (1)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
635if (pathParts.Contains(ThisDirectory))
TestingAppHost1.AppHost (7)
Program.cs (7)
16if (args.Contains("--add-redis")) 33if (args.Contains("--add-unknown-container")) 42if (args.Contains("--crash-before-build")) 49if (args.Contains("--crash-after-build")) 56if (args.Contains("--wait-for-healthy")) 63if (args.Contains("--crash-after-start")) 70if (args.Contains("--crash-after-shutdown"))
WinFormsControlsTest (1)
Calendar.cs (1)
22if (monthCalendar1.BoldedDates.Contains(e.Start))