207 references to Contains
aspire (10)
Backchannel\ExtensionBackchannel.cs (1)
635return capabilities.Contains(capability);
Diagnostics\FileLoggerProvider.cs (1)
232public bool IsEnabled(LogLevel logLevel) => logLevel != LogLevel.None && !s_suppressedCategories.Contains(categoryName);
Mcp\Docs\DocsIndexService.cs (2)
340var hasWhatsNewTokens = queryTokens.Contains("what") && queryTokens.Contains("new");
Mcp\Docs\LlmsTxtParser.cs (1)
676if (!needsProcessing && !span.Contains(' '))
Program.cs (1)
568var isInformationalCommand = args.Any(a => CommonOptionNames.InformationalOptionNames.Contains(a));
src\Shared\Export\ExportArchive.cs (1)
136sanitized.Append(invalidChars.Contains(c) ? '_' : c);
src\Shared\LocaleHelpers.cs (2)
27if (SupportedLocales.Contains(cultureInfo.Name) || 28SupportedLocales.Contains(cultureInfo.TwoLetterISOLanguageName))
Telemetry\TelemetryManager.cs (1)
43var hasOptOutArg = args?.Any(a => CommonOptionNames.InformationalOptionNames.Contains(a)) ?? false;
Aspire.Cli.Tests (9)
Projects\ProjectUpdaterTests.cs (8)
980if (properties.Contains("AspireHostingSDKVersion")) 987if (properties.Contains("AspireVersion")) 1097if (properties.Contains("AspireHostingSDKVersion")) 1105if (properties.Contains("AspireVersion")) 1110if (properties.Contains("AspireUnstableVersion")) 1217if (properties.Contains("AspireHostingSDKVersion")) 1224if (properties.Contains("InvalidVersionProperty")) 1330if (properties.Contains("AspireHostingSDKVersion"))
TestServices\TestExtensionBackchannel.cs (1)
245return capabilities.Contains(capability);
Aspire.Dashboard (6)
Model\Assistant\AssistantChatViewModel.cs (1)
382.Where(m => !s_oldModels.Contains(m.Family!))
Model\ConnectionStringParser.cs (1)
364if (s_knownProtocols.Contains(prefix))
Model\ResourceViewModel.cs (1)
262return s_knownResourceCommands.Contains(command);
src\Shared\Export\ExportArchive.cs (1)
136sanitized.Append(invalidChars.Contains(c) ? '_' : c);
src\Shared\LocaleHelpers.cs (2)
27if (SupportedLocales.Contains(cultureInfo.Name) || 28SupportedLocales.Contains(cultureInfo.TwoLetterISOLanguageName))
Aspire.Hosting (5)
Dcp\DcpHost.cs (1)
281if (key is not null && val is not null && !s_doNotInheritEnvironmentVars.Contains(key))
DistributedApplicationBuilder.cs (1)
719if (options.Args.Contains("--start-resource"))
src\Shared\LocaleHelpers.cs (2)
27if (SupportedLocales.Contains(cultureInfo.Name) || 28SupportedLocales.Contains(cultureInfo.TwoLetterISOLanguageName))
Utils\ExtensionUtils.cs (1)
23|| (supportedLaunchConfigurations is not null && supportedLaunchConfigurations.Contains(supportsDebuggingAnnotation.LaunchConfigurationType)));
Aspire.Hosting.Azure (1)
Provisioning\BicepUtilities.cs (1)
40if (skipKnownValues && s_knownParameterNames.Contains(parameter.Key) && parameterValue is null)
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
1092&& !info.SupportedLaunchConfigurations.Contains(BrowserCapability))
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()
cdac-build-tool (1)
DataDescriptorModel.cs (1)
175if (baselines.BaselineNames.Contains(baseline))
DatabaseMigration.ApiService (1)
Program.cs (1)
10if (args.Contains("--postgres"))
DatabaseMigration.AppHost (1)
Program.cs (1)
8if (args.Contains("--postgres"))
dotnet (10)
Commands\New\MSBuildEvaluation\CapabilityExpressionEvaluator.cs (1)
73return !DisallowedCharacters.Contains(ch);
Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.cs (1)
637var isRetry = parseResult.GetArguments().Contains("--retry-failed-tests");
Commands\Test\MTP\Terminal\AnsiTerminal.cs (1)
178bool linkToFile = !string.IsNullOrWhiteSpace(extension) && KnownFileExtensions.Contains(extension);
Commands\Test\MTP\ValidationUtility.cs (2)
112if (!CliConstants.SolutionExtensions.Contains(Path.GetExtension(solutionFileOrDirectory))) 130isSolution = CliConstants.SolutionExtensions.Contains(extension);
Commands\Tool\Restore\ToolPackageRestorer.cs (2)
116return !commandsFromManifest.Any(cmd => !commandsFromPackage.Contains(cmd)) && !commandsFromPackage.Any(cmd => !commandsFromManifest.Contains(cmd));
Commands\VSTest\VSTestCommand.cs (1)
54args = args.Where(a => !loggerValues.Contains(a) && !definition.TestLoggerOption.Name.Equals(a) && !definition.TestLoggerOption.Aliases.Contains(a));
ShellShim\ShellShimTemplateFinder.cs (1)
48if (!validRids.Contains(rid))
ToolManifest\ToolManifestFinder.cs (1)
116if (package.CommandNames.Contains(toolCommandName))
dotnet-aot (1)
src\sdk\src\Cli\dotnet\ToolManifest\ToolManifestFinder.cs (1)
116if (package.CommandNames.Contains(toolCommandName))
dotnet-dev-certs (1)
Program.cs (1)
51if (args.Contains("--debug"))
dotnet-format (4)
Analyzers\AnalyzerFinderHelpers.cs (1)
28return exportAttribute is not null && exportAttribute.Languages.Contains(language);
Analyzers\AnalyzerFormatter.cs (1)
369.Any(attribute => attribute.Languages.Contains(language));
Commands\FormatCommandCommon.cs (2)
233if (include.Length == 1 && standardInputKeywords.Contains(include[0])) 241if (exclude.Length == 1 && standardInputKeywords.Contains(exclude[0]))
GenerateDocumentationAndConfigFiles (2)
Program.cs (1)
819if (!actualContent.Contains(line))
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
660if (pathParts.Contains(ThisDirectory))
ILAssembler (1)
StringHelpers.cs (1)
36if (!content.Contains('\\'))
installer.tasks (1)
StaticFileRegeneration\TpnSectionHeader.cs (1)
18return line.Length > 2 && line.All(c => SectionSeparatorChars.Contains(c));
Microsoft.Agents.AI.ProjectTemplates.Tests (3)
TemplateTestUtilities.cs (3)
90args.Contains($"{option}={value}"); 94args.Contains(option) || args.Contains($"{option}=true");
Microsoft.AspNetCore.Components.Server (1)
Circuits\ServerComponentDeserializer.cs (1)
313if (seenSsrComponentIds[0..currentSsrComponentIdIndex].Contains(operation.SsrComponentId))
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)
427var pathEncoded = pathSegment.Contains('%');
Internal\Http3\Http3Stream.cs (1)
1254var pathEncoded = pathSegment.Contains('%');
Internal\Infrastructure\HttpUtilities.cs (2)
94if (source.Contains((byte)0) 132: ((ReadOnlySpan<char>)result).Contains('\0');
Microsoft.Build.Framework (4)
Utilities\FrameworkLocationHelper.cs (4)
671if (!visualStudioSpec.SupportedDotNetFrameworkVersions.Contains(dotNetFrameworkVersion)) 686if (!visualStudioSpec.SupportedDotNetFrameworkVersions.Contains(dotNetFrameworkVersion)) 716if (!visualStudioSpec.SupportedDotNetFrameworkVersions.Contains(dotNetFrameworkVersion)) 731if (!visualStudioSpec.SupportedDotNetFrameworkVersions.Contains(dotNetFrameworkVersion))
Microsoft.Build.Tasks.Core (1)
AssemblyDependency\ReferenceTable.cs (1)
1006if ((_enableCustomCulture && !_nonCultureResourceDirectories.Contains(cultureName))
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineParser.cs (1)
1098else if (!inQuotes && separators.Contains(c))
MetadataReader\MetadataHelpers.cs (1)
325Debug.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.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.Razor.Compiler (1)
Language\Legacy\HtmlMarkupParser.cs (1)
1833ValidAfterTypeAttributeNameCharacters.Contains(trimmedStartContent[4])))
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\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
660if (pathParts.Contains(ThisDirectory))
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
660if (pathParts.Contains(ThisDirectory))
Microsoft.Diagnostics.DataContractReader.Contracts (6)
Contracts\GC\GC_1.cs (6)
304if (identifiers.Contains(GCIdentifiers.Workstation)) 308else if (identifiers.Contains(GCIdentifiers.Server)) 321return identifiers.Contains(GCIdentifiers.Background); 327return identifiers.Contains(GCIdentifiers.DynamicHeapCount); 385bool regions = ((IGC)this).GetGCIdentifiers().Contains(GCIdentifiers.Regions); 501IEnumerable<GCHeapData> heaps = gcIdentifiers.Contains(GCIdentifiers.Workstation)
Microsoft.Diagnostics.DataContractReader.Legacy (29)
Dbi\DacDbiImpl.cs (4)
5091bool regions = gcIdentifiers.Contains(GCIdentifiers.Regions); 5092bool isWorkstation = gcIdentifiers.Contains(GCIdentifiers.Workstation); 5749bool isServer = identifiers.Contains(GCIdentifiers.Server); 5751pHeapInfo->concurrent = identifiers.Contains(GCIdentifiers.Background) ? Interop.BOOL.TRUE : Interop.BOOL.FALSE;
SOSDacImpl.cs (24)
1284if (!heapType.Contains(GCIdentifiers.Workstation) && !heapType.Contains(GCIdentifiers.Server)) 1292data->bServerMode = heapType.Contains(GCIdentifiers.Server) ? 1 : 0; 1329if (!heapType.Contains(GCIdentifiers.Server)) 1397if (!gcIdentifiers.Contains(GCIdentifiers.Server)) 1408if (gcIdentifiers.Contains(GCIdentifiers.Background)) 1431if (gcIdentifiers.Contains(GCIdentifiers.Regions)) 1440if (gcIdentifiers.Contains(GCIdentifiers.Background)) 1531if (!gcIdentifiers.Contains(GCIdentifiers.Workstation)) 1542if (gcIdentifiers.Contains(GCIdentifiers.Background)) 1565if (gcIdentifiers.Contains(GCIdentifiers.Regions)) 1574if (gcIdentifiers.Contains(GCIdentifiers.Background)) 1968if (!gcIdentifiers.Contains(GCIdentifiers.Server)) 2014if (!gcIdentifiers.Contains(GCIdentifiers.Workstation)) 2077GCHeapData heapData = gcIdentifiers.Contains(GCIdentifiers.Server) ? gc.GetHeapData(segmentData.Heap) : gc.GetHeapData(); 3580if (!gcIdentifiers.Contains(GCIdentifiers.Server)) 3632if (!gcIdentifiers.Contains(GCIdentifiers.Workstation)) 5181if (!gcIdentifiers.Contains(GCIdentifiers.Server)) 5224if (!gcIdentifiers.Contains(GCIdentifiers.Workstation)) 5852GCHeapData heapData = gcIdentifiers.Contains(GCIdentifiers.Server) 5888if (gcIdentifiers.Contains(GCIdentifiers.Server)) 5958if (gcIdentifiers.Contains(GCIdentifiers.Server)) 6021if (!gcIdentifiers.Contains(GCIdentifiers.Server)) 6091if (!gcIdentifiers.Contains(GCIdentifiers.Server))
TypeNameBuilder.cs (1)
657return TypeNameReservedChars().Contains(c);
Microsoft.DotNet.ApiSymbolExtensions (1)
AssemblySymbolLoader.cs (1)
98!assembliesToExclude.Contains(assemblySymbol.Name))
Microsoft.DotNet.Build.Tasks.Workloads (1)
Swix\SwixComponent.cs (1)
200if (pack.IsAlias && pack.AliasTo != null && !pack.AliasTo.Keys.Any(rid => s_SupportedRids.Contains(rid)))
Microsoft.DotNet.Cli.Utils (1)
StreamForwarder.cs (1)
75else if (!s_ignoreCharacters.Contains(currentCharacter))
Microsoft.DotNet.GenFacades (1)
GenPartialFacadeSourceGenerator.cs (1)
53referenceTypes = referenceTypes.Where(type => !OmitTypes.Contains(type));
Microsoft.DotNet.HotReload.Watch (1)
src\sdk\src\Dotnet.Watch\AspireService\Helpers\SocketUtilities.cs (1)
68if (endPointUsed is not null && !s_unsafePorts.Contains(endPointUsed.Port))
Microsoft.DotNet.TemplateLocator (1)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadResolver.cs (1)
737w.workload.Platforms == null || w.workload.Platforms.Count == 0 || w.workload.Platforms.Any(platform => _currentRuntimeIdentifiers.Contains(platform)));
Microsoft.DotNet.XliffTasks (1)
Model\XamlRuleDocument.cs (1)
110if (localizableProperties.Contains(attribute.Name.LocalName))
Microsoft.Extensions.AI.Templates.Tests (3)
TemplateTestUtilities.cs (3)
90args.Contains($"{option}={value}"); 94args.Contains(option) || args.Contains($"{option}=true");
Microsoft.Extensions.Identity.Stores (1)
UserStoreBase.cs (1)
976if (splitCodes.Contains(code))
Microsoft.Maui.Controls.Xaml (1)
ApplyPropertiesVisitor.cs (1)
291 attributes.FirstOrDefault(cad => ContentPropertyAttribute.ContentPropertyTypes.Contains(cad.AttributeType.FullName));
Microsoft.ML.GenAI.LLaMA (1)
Llama3_1ChatTemplateBuilder.cs (1)
28if (messages.Any(m => m.GetRole() is null || availableRoles.Contains(m.GetRole()!.Value) == false))
Microsoft.ML.GenAI.Phi (1)
Phi3\Phi3ChatTemplateBuilder.cs (1)
33if (messages.Any(m => m.GetRole() is null || availableRoles.Contains(m.GetRole()!.Value) == false))
Microsoft.NET.Build.Tasks (1)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadResolver.cs (1)
737w.workload.Platforms == null || w.workload.Platforms.Count == 0 || w.workload.Platforms.Any(platform => _currentRuntimeIdentifiers.Contains(platform)));
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (1)
BrotliCompress.cs (1)
132builder.Append(InvalidPathChars.Contains(c) ? '+' : c);
Microsoft.NET.Sdk.WorkloadManifestReader (1)
WorkloadResolver.cs (1)
737w.workload.Platforms == null || w.workload.Platforms.Count == 0 || w.workload.Platforms.Any(platform => _currentRuntimeIdentifiers.Contains(platform)));
Microsoft.TemplateEngine.Core (1)
Expressions\Cpp\CppStyleEvaluatorDefinition.cs (1)
534if (literal.Length < 2 || literal[0] != literal[literal.Length - 1] || !SupportedQuotes.Contains(literal[0]))
Microsoft.TemplateSearch.Common (1)
TemplateSearchCache\TemplateSearchCache.Json.cs (1)
118if (SupportedVersions.Contains(version))
NuGet.CommandLine.XPlat (2)
Commands\PackageSearch\Table.cs (1)
145if (_columnsToHighlight.Contains(column) && highlight[column].Contains(CharacterIndex))
Program.cs (1)
76if (args.Contains(DebugOption) || string.Equals(bool.TrueString, debugNuGetXPlat, StringComparison.OrdinalIgnoreCase))
NuGet.Packaging (2)
Signing\Timestamp\Rfc3161TimestampProvider.cs (1)
176if (!spec.AllowedHashAlgorithmOids.Contains(signerInfo.DigestAlgorithm.Value))
Signing\Utility\VerificationUtility.cs (1)
144if (!spec.AllowedHashAlgorithmOids.Contains(signerInfo.DigestAlgorithm.Value))
NuGet.Protocol (1)
Utility\CachingUtility.cs (1)
92value.Select(ch => invalid.Contains(ch) ? '_' : ch).ToArray()
PresentationBuildTasks (1)
src\wpf\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);
sdk-tasks (2)
OverrideAndCreateBundledNETCoreAppPackageVersion.cs (2)
102if (matchAttrs.Contains(attr.Name.LocalName) || updateAttrs.Contains(attr.Name.LocalName))
System.Diagnostics.Process (2)
src\runtime\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.Formats.Tar (1)
System\Formats\Tar\TarHeader.Write.cs (1)
597Debug.Assert(prefix.Length != 1 || !PathInternal.Utf8DirectorySeparators.Contains(prefix[0]));
System.IO.Packaging (1)
System\IO\Packaging\ContentType.cs (1)
288typeAndSubType.Slice(forwardSlashPos + 1).Contains('/')) // more than one slash
System.Memory (1)
System\Buffers\SequenceReader.Search.cs (1)
613for (i = CurrentSpanIndex; i < CurrentSpan.Length && values.Contains(CurrentSpan[i]); i++)
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)
22if (ipSpan.Contains(TChar.CreateTruncating(':'))) 38if (ipSpan.Contains(TChar.CreateTruncating(':')))
System.Net.ServerSentEvents (1)
System\Net\ServerSentEvents\SseParser_1.cs (1)
436if (!fieldValue.Contains((byte)'\0'))
System.Net.WebHeaderCollection (1)
System\Net\HeaderInfoTable.cs (1)
69if (!lastElement.Contains(','))
System.Numerics.Tensors (7)
System\Numerics\Tensors\netcore\Tensor.cs (6)
1382if (!tensor.IsDense && !tensor.Strides.Contains(0)) 1417else if (tensor.Strides.Contains(0)) 1455if (!tensor.IsDense && !tensor.Strides.Contains(0)) 1490else if (tensor.Strides.Contains(0)) 1531if (!tensor.IsDense && !tensor.Strides.Contains(0)) 1567else if (tensor.Strides.Contains(0))
System\Numerics\Tensors\netcore\TensorShape.cs (1)
996Debug.Assert(IsBroadcast == Strides.Contains(0));
System.Private.CoreLib (12)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.IsMemberOfGroup.cs (1)
36return groups.Slice(0, rv).Contains(gid);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadDir.cs (1)
47Debug.Assert(!result.Contains('\0'), "should not have embedded nulls");
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemName.cs (1)
281name.Slice(nameOffset).Contains('.');
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (4)
315/// <inheritdoc cref="Contains{T}(ReadOnlySpan{T}, T)"/> 319Contains((ReadOnlySpan<T>)span, value); 1249if (!values.Contains(span[i])) 1829if (!values.Contains(span[i]))
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Trim.cs (2)
480if (!trimElements.Contains(span[start])) 504if (!trimElements.Contains(span[end]))
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\SearchValues.cs (1)
266if (seenValues.Contains(false))
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (1)
192if (value.AsSpan(0, n).Contains('\0'))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
380if (input.Slice(buildEnd + 1).Contains(TChar.CastFrom('.')))
System.Private.Uri (2)
System\DomainNameHelper.cs (1)
61Debug.Assert(!str.AsSpan(start, index).Contains(':'),
System\Uri.cs (1)
2297Debug.Assert(str.AsSpan(idx).Contains('@'));
System.Security.Cryptography (1)
System\Security\Cryptography\PemEncoding.cs (1)
330return whitespace.Contains(ch);
System.Text.Json (10)
System\Text\Json\Document\JsonDocument.cs (1)
412Debug.Assert(!segment.Contains(JsonConstants.BackSlash));
System\Text\Json\Reader\Utf8JsonReader.cs (3)
1266JsonConstants.Delimiters.Contains(_buffer[_consumed])) 1607if (JsonConstants.Delimiters.Contains(nextByte)) 1663if (JsonConstants.Delimiters.Contains(nextByte))
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (4)
704JsonConstants.Delimiters.Contains(_buffer[_consumed])) 1309if (JsonConstants.Delimiters.Contains(nextByte)) 1338if (JsonConstants.Delimiters.Contains(nextByte)) 1425if (JsonConstants.Delimiters.Contains(nextByte))
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (2)
46Debug.Assert(!span.Contains(JsonConstants.BackSlash)); 841Debug.Assert(!span.Contains(JsonConstants.BackSlash));
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexInterpreter.cs (1)
302!equivalences.Contains(inputSpan[pos]))
System.Windows.Forms (1)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
2988if (args?.Length == 0 && s_propertiesWithArguments.Contains(name))
System.Xaml (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\ReflectionUtils.cs (1)
69if (escapedComma != -1 || fullName.Contains('\\'))
TestingAppHost1.AppHost (7)
Program.cs (7)
18if (args.Contains("--add-redis")) 38if (args.Contains("--add-unknown-container")) 47if (args.Contains("--crash-before-build")) 54if (args.Contains("--crash-after-build")) 61if (args.Contains("--wait-for-healthy")) 68if (args.Contains("--crash-after-start")) 75if (args.Contains("--crash-after-shutdown"))
vstest.console (1)
CommandLine\Executor.cs (1)
152if (args != null && args.Length != 0 && args.Contains("--nologo"))
vstest.console.arm64 (1)
src\vstest\src\vstest.console\CommandLine\Executor.cs (1)
152if (args != null && args.Length != 0 && args.Contains("--nologo"))