Implemented interface member:

method
Add
System.Collections.Generic.IDictionary<TKey, TValue>.Add(TKey, TValue)
3783 references to Add
AnalyzerRunner (2)
Aspire.Dashboard (6)
Aspire.Hosting (4)
Aspire.Hosting.Azure.EventHubs (3)
Aspire.Hosting.Azure.ServiceBus (3)
Aspire.Hosting.Docker (1)
Aspire.Hosting.Kafka (4)
KafkaBuilderExtensions.cs (4)
142context.EnvironmentVariables.Add($"KAFKA_CLUSTERS_{index}_NAME", endpoint.Resource.Name);
143context.EnvironmentVariables.Add($"KAFKA_CLUSTERS_{index}_BOOTSTRAPSERVERS", bootstrapServers);
205context.EnvironmentVariables.Add($"KAFKA_LISTENERS", $"PLAINTEXT://localhost:29092,CONTROLLER://localhost:29093,PLAINTEXT_HOST://0.0.0.0:{KafkaBrokerPort},PLAINTEXT_INTERNAL://0.0.0.0:{KafkaInternalBrokerPort}");
207context.EnvironmentVariables.Add("KAFKA_LISTENER_SECURITY_PROTOCOL_MAP", "CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT,PLAINTEXT_INTERNAL:PLAINTEXT");
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Milvus (1)
Aspire.Hosting.MongoDB (5)
Aspire.Hosting.MySql (3)
Aspire.Hosting.PostgreSQL (4)
Aspire.Hosting.Redis (4)
BoundTreeGenerator (1)
BuildBoss (2)
BuildValidator (1)
ConfigurationSchemaGenerator (3)
CSharpSyntaxGenerator (44)
Grammar\GrammarGenerator.cs (43)
137rules.Add("Utf8StringLiteralToken", [Sequence([RuleReference("StringLiteralToken"), utf8Suffix])]);
138rules.Add("Utf8MultiLineRawStringLiteralToken", [Sequence([RuleReference("MultiLineRawStringLiteralToken"), utf8Suffix])]);
139rules.Add("Utf8SingleLineRawStringLiteralToken", [Sequence([RuleReference("SingleLineRawStringLiteralToken"), utf8Suffix])]);
149rules.Add("Modifier", JoinWords(modifierWords));
153rules.Add("Keyword", keywords);
156rules.Add("OperatorToken", JoinWords(operatorTokens.Select(SyntaxFacts.GetText)));
158rules.Add("PunctuationToken", JoinWords(GetMembers<SyntaxKind>()
165rules.Add("IdentifierToken", [Sequence([Text("@").Optional, RuleReference("IdentifierStartCharacter"), RuleReference("IdentifierPartCharacter")])]);
166rules.Add("IdentifierStartCharacter", [RuleReference("LetterCharacter"), RuleReference("UnderscoreCharacter")]);
167rules.Add("IdentifierPartCharacter", [RuleReference("LetterCharacter"), RuleReference("DecimalDigitCharacter"), RuleReference("ConnectingCharacter"), RuleReference("CombiningCharacter"), RuleReference("FormattingCharacter")]);
168rules.Add("UnderscoreCharacter", [Text("_"), new("""'\\u005' /* unicode_escape_sequence for underscore */""")]);
169rules.Add("LetterCharacter", [
173rules.Add("CombiningCharacter", [
177rules.Add("DecimalDigitCharacter", [
181rules.Add("ConnectingCharacter", [
185rules.Add("FormattingCharacter", [
198rules.Add("RealLiteralToken", [
205rules.Add("ExponentPart", [Sequence([Choice(anyCasing("E")), Choice([Text("+"), Text("-")]).Optional, decimalDigitPlus])]);
206rules.Add("RealTypeSuffix", [.. anyCasing("F"), .. anyCasing("D"), .. anyCasing("M")]);
211rules.Add("NumericLiteralToken", [RuleReference("IntegerLiteralToken"), RuleReference("RealLiteralToken")]);
220rules.Add("IntegerLiteralToken", [RuleReference("DecimalIntegerLiteralToken"), RuleReference("HexadecimalIntegerLiteralToken")]);
221rules.Add("DecimalIntegerLiteralToken", [Sequence([decimalDigitPlus, integerTypeSuffixOpt])]);
222rules.Add("IntegerTypeSuffix", [.. anyCasing("U"), .. anyCasing("L"), .. anyCasing("UL"), .. anyCasing("LU")]);
223rules.Add("DecimalDigit", [.. productionRange('0', '9')]);
224rules.Add("HexadecimalDigit", [decimalDigit, .. productionRange('A', 'F'), .. productionRange('a', 'f')]);
225rules.Add("HexadecimalIntegerLiteralToken", [Sequence([Choice([Text("0x"), Text("0X")]), RuleReference("HexadecimalDigit").OneOrMany, integerTypeSuffixOpt])]);
233rules.Add("SimpleEscapeSequence", [Text(@"\'"), Text(@"\"""), Text(@"\\"), Text(@"\0"), Text(@"\a"), Text(@"\b"), Text(@"\f"), Text(@"\n"), Text(@"\r"), Text(@"\t"), Text(@"\v")]);
234rules.Add("HexadecimalEscapeSequence", [Sequence([Text(@"\x"), hexDigit, .. repeat(hexDigitOpt, 3)])]);
235rules.Add("UnicodeEscapeSequence", [Sequence([Text(@"\u"), .. repeat(hexDigit, 4)]), Sequence([Text(@"\U"), .. repeat(hexDigit, 8)])]);
240rules.Add("StringLiteralToken", [RuleReference("RegularStringLiteralToken"), RuleReference("VerbatimStringLiteralToken")]);
242rules.Add("RegularStringLiteralToken", [Sequence([Text("\""), RuleReference("RegularStringLiteralCharacter").ZeroOrMany, Text("\"")])]);
243rules.Add("RegularStringLiteralCharacter", [RuleReference("SingleRegularStringLiteralCharacter"), RuleReference("SimpleEscapeSequence"), RuleReference("HexadecimalEscapeSequence"), RuleReference("UnicodeEscapeSequence")]);
244rules.Add("SingleRegularStringLiteralCharacter", [new("""/* ~["\\\u000D\u000A\u0085\u2028\u2029] anything but ", \, and new_line_character */""")]);
246rules.Add("VerbatimStringLiteralToken", [Sequence([Text("@\""), RuleReference("VerbatimStringLiteralCharacter").ZeroOrMany, Text("\"")])]);
247rules.Add("VerbatimStringLiteralCharacter", [RuleReference("SingleVerbatimStringLiteralCharacter"), RuleReference("QuoteEscapeSequence")]);
248rules.Add("SingleVerbatimStringLiteralCharacter", [new("/* anything but quotation mark (U+0022) */")]);
250rules.Add("QuoteEscapeSequence", [Text("\"\"")]);
252rules.Add("InterpolatedMultiLineRawStringStartToken", [new(""""'$'+ '"""' '"'*"""")]);
253rules.Add("InterpolatedRawStringEndToken", [new(""""'"""' '"'* /* must match number of quotes in raw_string_start_token */"""")]);
254rules.Add("InterpolatedSingleLineRawStringStartToken", [new(""""'$'+ '"""' '"'*"""")]);
259rules.Add("CharacterLiteralToken", [Sequence([Text("'"), RuleReference("Character"), Text("'")])]);
260rules.Add("Character", [RuleReference("SingleCharacter"), RuleReference("SimpleEscapeSequence"), RuleReference("HexadecimalEscapeSequence"), RuleReference("UnicodeEscapeSequence")]);
261rules.Add("SingleCharacter", [new("""/* ~['\\\u000D\u000A\u0085\u2028\u2029] anything but ', \\, and new_line_character */""")]);
dotnet-svcutil.xmlserializer (3)
dotnet-svcutil-lib (237)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (19)
67_clrNamespaces.Add(clrNamespace, dataContract.StableName.Namespace);
68_namespaces.Add(dataContract.StableName.Namespace, clrNamespace);
91_clrNamespaces.Add(clrNamespace, dataContractNamespace);
99_namespaces.Add(dataContractNamespace, clrNamespace);
103_namespaces.Add(dataContractNamespace, clrNamespace);
113_clrNamespaces.Add(ns, null);
308contractNamesInHierarchy.Add(classContract.StableName, null);
770_clrNamespaces.Add(typeName, null);
947handledContracts.Add(dataContract, null);
989dataContract.KnownDataContracts.Add(pair.Key, pair.Value);
1028contractCodeDomInfo.GetMemberNames().Add(extensionDataObjectField.Name, null);
1031contractCodeDomInfo.GetMemberNames().Add(extensionDataObjectProperty.Name, null);
1047contractCodeDomInfo.GetMemberNames().Add(memberEvent.Name, null);
1048contractCodeDomInfo.GetMemberNames().Add(raisePropertyChangedEventMethod.Name, null);
1306contractCodeDomInfo.GetMemberNames().Add(memberName, null);
1318memberNames.Add(pair.Key, pair.Value);
1399Namespaces.Add(dataContractNamespace, clrNamespace);
1400ClrNamespaces.Add(clrNamespace, dataContractNamespace);
1514fragments.Add(nsFragment, null);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (27)
130s_essentialExceptionFields.Add("_className", "ClassName");
131s_essentialExceptionFields.Add("_message", "Message");
132s_essentialExceptionFields.Add("_data", "Data");
133s_essentialExceptionFields.Add("_innerException", "InnerException");
134s_essentialExceptionFields.Add("_helpURL", "HelpURL");
135s_essentialExceptionFields.Add("_stackTraceString", "StackTraceString");
136s_essentialExceptionFields.Add("_remoteStackTraceString", "RemoteStackTraceString");
137s_essentialExceptionFields.Add("_remoteStackIndex", "RemoteStackIndex");
138s_essentialExceptionFields.Add("_exceptionMethodString", "ExceptionMethod");
139s_essentialExceptionFields.Add("_HResult", "HResult");
140s_essentialExceptionFields.Add("_source", "Source");
141s_essentialExceptionFields.Add("_watsonBuckets", "WatsonBuckets");
331this.KnownDataContracts.Add(dataDataContract.StableName, dataDataContract);
462memberNamesTable.Add(memberContract.Name, memberContract);
489fieldToValueDictionary.Add("_className", value.GetType().ToString());
490fieldToValueDictionary.Add("_message", messageValue); //Thick framework retrieves the System.Exception implementation of message
491fieldToValueDictionary.Add("_data", value.Data);
492fieldToValueDictionary.Add("_innerException", value.InnerException);
493fieldToValueDictionary.Add("_helpURL", value.HelpLink);
494fieldToValueDictionary.Add("_stackTraceString", value.StackTrace);
495fieldToValueDictionary.Add("_remoteStackTraceString", null);
496fieldToValueDictionary.Add("_remoteStackIndex", 0);
497fieldToValueDictionary.Add("_exceptionMethodString", null);
498fieldToValueDictionary.Add("_HResult", value.HResult);
499fieldToValueDictionary.Add("_source", null); //value.source caused transparency error on build.
500fieldToValueDictionary.Add("_watsonBuckets", null);
604mapDict.Add(valString, key);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (7)
199previousCollectionTypes.Add(dataContract.OriginalUnderlyingType, dataContract.OriginalUnderlyingType);
232knownDataContracts.Add(dataContract.StableName, dataContract);
246schemaObjects.Add(SchemaExporter.AnytypeQualifiedName, new SchemaObjectInfo(null, null, null, knownTypesForObject));
268schemaObjects.Add(currentTypeName, new SchemaObjectInfo(schemaType, null, schema, null));
285schemaObjects.Add(baseTypeName, baseTypeInfo);
305schemaObjects.Add(currentElementName, new SchemaObjectInfo(null, schemaElement, schema, null));
931knownDataContracts.Add(dataContract.StableName, dataContract);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeaderCollection.cs (1)
158headers.Add(key, 1);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (15)
339_importedPortTypes.Add(wsdlPortTypeQName, contractContext);
420_importedBindings.Add(wsdlBindingQName, bindingEndpointContext);
477_importedPorts.Add(wsdlPort, endpoint);
615_policyDocuments.Add(doc.Identifier, TryConvert<XmlElement>(doc));
1694unique.Add(element, element);
1872_warnings.Add(warningMessage, warningMessage);
1890_importErrors.Add(item, wie);
2004_policyDictionary.PolicySourceTable.Add(element, wsdl);
2221policyAlternatives.OperationBindingAlternatives.Add(operation, operationAlternatives);
2252policyAlternatives.MessageBindingAlternatives.Add(message, messageAlternatives);
2268policyAlternatives.FaultBindingAlternatives.Add(fault, faultAlternatives);
2335_embeddedPolicyDictionary.Add(wsdl, wsdlPolicyDictionary);
2345wsdlPolicyDictionary.Add(key, element);
2346_policySourceTable.Add(element, wsdl);
2374_externalPolicyDictionary.Add(key, policyDocument.Value);
dotnet-user-jwts (1)
FilesWebSite (1)
GenerateDocumentationAndConfigFiles (45)
HelixTestRunner (10)
TestRunner.cs (10)
27EnvironmentVariables.Add("DOTNET_CLI_HOME", Options.HELIX_WORKITEM_ROOT);
28EnvironmentVariables.Add("PATH", Options.Path);
29EnvironmentVariables.Add("helix", Options.HelixQueue);
34EnvironmentVariables.Add("HELIX_DIR", helixDir);
35EnvironmentVariables.Add("NUGET_FALLBACK_PACKAGES", helixDir);
37EnvironmentVariables.Add("NUGET_RESTORE", nugetRestore);
40EnvironmentVariables.Add("DotNetEfFullPath", dotnetEFFullPath);
43EnvironmentVariables.Add("VSTEST_DUMP_PATH", dumpPath);
44EnvironmentVariables.Add("DOTNET_CLI_VSTEST_TRACE", "1");
51EnvironmentVariables.Add("PLAYWRIGHT_BROWSERS_PATH", playwrightBrowsers);
IIS.LongTests (11)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (11)
575dictionary.Add("Empty process path",
580dictionary.Add("Unknown hostingModel",
585dictionary.Add("environmentVariables with add",
612dictionary.Add("App in bin subdirectory full path to dll using exec and quotes",
620dictionary.Add("App in subdirectory with space",
628dictionary.Add("App in subdirectory with space and full path to dll",
636dictionary.Add("App in bin subdirectory with space full path to dll using exec and quotes",
644dictionary.Add("App in bin subdirectory and quoted argument",
652dictionary.Add("App in bin subdirectory full path to dll",
683dictionary.Add("App in subdirectory",
692dictionary.Add("App in bin subdirectory full path",
IIS.NewHandler.FunctionalTests (11)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (11)
575dictionary.Add("Empty process path",
580dictionary.Add("Unknown hostingModel",
585dictionary.Add("environmentVariables with add",
612dictionary.Add("App in bin subdirectory full path to dll using exec and quotes",
620dictionary.Add("App in subdirectory with space",
628dictionary.Add("App in subdirectory with space and full path to dll",
636dictionary.Add("App in bin subdirectory with space full path to dll using exec and quotes",
644dictionary.Add("App in bin subdirectory and quoted argument",
652dictionary.Add("App in bin subdirectory full path to dll",
683dictionary.Add("App in subdirectory",
692dictionary.Add("App in bin subdirectory full path",
IIS.NewShim.FunctionalTests (11)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (11)
575dictionary.Add("Empty process path",
580dictionary.Add("Unknown hostingModel",
585dictionary.Add("environmentVariables with add",
612dictionary.Add("App in bin subdirectory full path to dll using exec and quotes",
620dictionary.Add("App in subdirectory with space",
628dictionary.Add("App in subdirectory with space and full path to dll",
636dictionary.Add("App in bin subdirectory with space full path to dll using exec and quotes",
644dictionary.Add("App in bin subdirectory and quoted argument",
652dictionary.Add("App in bin subdirectory full path to dll",
683dictionary.Add("App in subdirectory",
692dictionary.Add("App in bin subdirectory full path",
IISExpress.FunctionalTests (11)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (11)
575dictionary.Add("Empty process path",
580dictionary.Add("Unknown hostingModel",
585dictionary.Add("environmentVariables with add",
612dictionary.Add("App in bin subdirectory full path to dll using exec and quotes",
620dictionary.Add("App in subdirectory with space",
628dictionary.Add("App in subdirectory with space and full path to dll",
636dictionary.Add("App in bin subdirectory with space full path to dll using exec and quotes",
644dictionary.Add("App in bin subdirectory and quoted argument",
652dictionary.Add("App in bin subdirectory full path to dll",
683dictionary.Add("App in subdirectory",
692dictionary.Add("App in bin subdirectory full path",
illink (46)
Linker\LinkContext.cs (11)
444_isTrimmable.Add(assembly, false);
469_isTrimmable.Add(assembly, isTrimmable);
833methodresolveCache.Add(methodReference, md);
854methodresolveCache.Add(methodReference, md);
880fieldresolveCache.Add(fieldReference, fd);
899fieldresolveCache.Add(fieldReference, fd);
933typeresolveCache.Add(typeReference, td);
972typeresolveCache.Add(typeReference, td);
1001exportedTypeResolveCache.Add(et, td);
1118perAssembly.Add(assemblyContext, new Pair(optimizations, optimizations));
1136perAssembly.Add(assemblyContext, new Pair(optimizations, 0));
ILLink.RoslynAnalyzer (16)
ILLink.Tasks (1)
Infrastructure.Common (1)
InMemory.FunctionalTests (3)
InProcessWebSite (1)
IOperationGenerator (1)
Metrics (44)
Metrics.Legacy (44)
Microsoft.Analyzers.Extra (5)
Microsoft.Analyzers.Local (7)
Microsoft.AspNetCore.Analyzer.Testing (1)
Microsoft.AspNetCore.Analyzers (1)
Microsoft.AspNetCore.Authentication (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.BrowserTesting (1)
Microsoft.AspNetCore.Components (19)
RenderTree\Renderer.cs (5)
396_componentStateById.Add(componentId, componentState);
397_componentStateByComponent.Add(component, componentState);
689_eventBindings.Add(id, (renderedByComponentId, callback, frame.AttributeName));
697_eventBindings.Add(id, (renderedByComponentId, new EventCallback(@delegate.Target as IHandleEvent, @delegate), frame.AttributeName));
738_eventHandlerIdReplacements.Add(oldEventHandlerId, newEventHandlerId);
Microsoft.AspNetCore.Components.Authorization.Tests (2)
Microsoft.AspNetCore.Components.Endpoints (33)
FormMapping\WellKnownConverters.cs (22)
56converters.Add(typeof(char?), new NullableConverter<char>((FormDataConverter<char>)converters[typeof(char)]));
57converters.Add(typeof(bool?), new NullableConverter<bool>((FormDataConverter<bool>)converters[typeof(bool)]));
58converters.Add(typeof(byte?), new NullableConverter<byte>((FormDataConverter<byte>)converters[typeof(byte)]));
59converters.Add(typeof(sbyte?), new NullableConverter<sbyte>((FormDataConverter<sbyte>)converters[typeof(sbyte)]));
60converters.Add(typeof(ushort?), new NullableConverter<ushort>((FormDataConverter<ushort>)converters[typeof(ushort)]));
61converters.Add(typeof(uint?), new NullableConverter<uint>((FormDataConverter<uint>)converters[typeof(uint)]));
62converters.Add(typeof(ulong?), new NullableConverter<ulong>((FormDataConverter<ulong>)converters[typeof(ulong)]));
63converters.Add(typeof(Int128?), new NullableConverter<Int128>((FormDataConverter<Int128>)converters[typeof(Int128)]));
64converters.Add(typeof(short?), new NullableConverter<short>((FormDataConverter<short>)converters[typeof(short)]));
65converters.Add(typeof(int?), new NullableConverter<int>((FormDataConverter<int>)converters[typeof(int)]));
66converters.Add(typeof(long?), new NullableConverter<long>((FormDataConverter<long>)converters[typeof(long)]));
67converters.Add(typeof(UInt128?), new NullableConverter<UInt128>((FormDataConverter<UInt128>)converters[typeof(UInt128)]));
68converters.Add(typeof(Half?), new NullableConverter<Half>((FormDataConverter<Half>)converters[typeof(Half)]));
69converters.Add(typeof(float?), new NullableConverter<float>((FormDataConverter<float>)converters[typeof(float)]));
70converters.Add(typeof(double?), new NullableConverter<double>((FormDataConverter<double>)converters[typeof(double)]));
71converters.Add(typeof(decimal?), new NullableConverter<decimal>((FormDataConverter<decimal>)converters[typeof(decimal)]));
72converters.Add(typeof(DateOnly?), new NullableConverter<DateOnly>((FormDataConverter<DateOnly>)converters[typeof(DateOnly)]));
73converters.Add(typeof(DateTime?), new NullableConverter<DateTime>((FormDataConverter<DateTime>)converters[typeof(DateTime)]));
74converters.Add(typeof(DateTimeOffset?), new NullableConverter<DateTimeOffset>((FormDataConverter<DateTimeOffset>)converters[typeof(DateTimeOffset)]));
75converters.Add(typeof(TimeSpan?), new NullableConverter<TimeSpan>((FormDataConverter<TimeSpan>)converters[typeof(TimeSpan)]));
76converters.Add(typeof(TimeOnly?), new NullableConverter<TimeOnly>((FormDataConverter<TimeOnly>)converters[typeof(TimeOnly)]));
77converters.Add(typeof(Guid?), new NullableConverter<Guid>((FormDataConverter<Guid>)converters[typeof(Guid)]));
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.AspNetCore.Components.Forms (2)
Microsoft.AspNetCore.Components.Forms.Tests (2)
Microsoft.AspNetCore.Components.QuickGrid (1)
Microsoft.AspNetCore.Components.Server (7)
Microsoft.AspNetCore.Components.Tests (3)
Microsoft.AspNetCore.Components.Web (7)
Microsoft.AspNetCore.Components.Web.Tests (2)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Components.WebView.Test (2)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (4)
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Microsoft.AspNetCore.Grpc.Swagger (1)
Microsoft.AspNetCore.Http (5)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Http.Extensions (43)
RequestDelegateFactory.cs (18)
723factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.RouteAttribute);
733factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.QueryAttribute);
738factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.HeaderAttribute);
743factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.BodyAttribute);
804factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.ServiceAttribute);
885factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.RouteParameter);
890factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.QueryStringParameter);
895factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.RouteOrQueryStringParameter);
906factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.QueryStringParameter);
915factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.ServiceParameter);
921factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.BodyParameter);
1628factoryContext.TrackedParameters.Add(parameter.Name!, RequestDelegateFactoryConstants.PropertyAsParameter);
2061factoryContext.TrackedParameters.Add(parameter.Name!, RequestDelegateFactoryConstants.FormCollectionParameter);
2079factoryContext.TrackedParameters.Add(key, RequestDelegateFactoryConstants.FormAttribute);
2233dictionary.Add(new FormKey(key.AsMemory()), value);
2244factoryContext.TrackedParameters.Add(parameter.Name!, RequestDelegateFactoryConstants.FormFileParameter);
2264factoryContext.TrackedParameters.Add(key, trackedParameterSource);
2287factoryContext.TrackedParameters.Add(parameterName, "UNKNOWN");
src\Components\Endpoints\src\FormMapping\Converters\DictionaryAdapters\ReadOnlyDictionaryBufferAdapter.cs (1)
14buffer.Add(key, value);
src\Components\Endpoints\src\FormMapping\WellKnownConverters.cs (22)
56converters.Add(typeof(char?), new NullableConverter<char>((FormDataConverter<char>)converters[typeof(char)]));
57converters.Add(typeof(bool?), new NullableConverter<bool>((FormDataConverter<bool>)converters[typeof(bool)]));
58converters.Add(typeof(byte?), new NullableConverter<byte>((FormDataConverter<byte>)converters[typeof(byte)]));
59converters.Add(typeof(sbyte?), new NullableConverter<sbyte>((FormDataConverter<sbyte>)converters[typeof(sbyte)]));
60converters.Add(typeof(ushort?), new NullableConverter<ushort>((FormDataConverter<ushort>)converters[typeof(ushort)]));
61converters.Add(typeof(uint?), new NullableConverter<uint>((FormDataConverter<uint>)converters[typeof(uint)]));
62converters.Add(typeof(ulong?), new NullableConverter<ulong>((FormDataConverter<ulong>)converters[typeof(ulong)]));
63converters.Add(typeof(Int128?), new NullableConverter<Int128>((FormDataConverter<Int128>)converters[typeof(Int128)]));
64converters.Add(typeof(short?), new NullableConverter<short>((FormDataConverter<short>)converters[typeof(short)]));
65converters.Add(typeof(int?), new NullableConverter<int>((FormDataConverter<int>)converters[typeof(int)]));
66converters.Add(typeof(long?), new NullableConverter<long>((FormDataConverter<long>)converters[typeof(long)]));
67converters.Add(typeof(UInt128?), new NullableConverter<UInt128>((FormDataConverter<UInt128>)converters[typeof(UInt128)]));
68converters.Add(typeof(Half?), new NullableConverter<Half>((FormDataConverter<Half>)converters[typeof(Half)]));
69converters.Add(typeof(float?), new NullableConverter<float>((FormDataConverter<float>)converters[typeof(float)]));
70converters.Add(typeof(double?), new NullableConverter<double>((FormDataConverter<double>)converters[typeof(double)]));
71converters.Add(typeof(decimal?), new NullableConverter<decimal>((FormDataConverter<decimal>)converters[typeof(decimal)]));
72converters.Add(typeof(DateOnly?), new NullableConverter<DateOnly>((FormDataConverter<DateOnly>)converters[typeof(DateOnly)]));
73converters.Add(typeof(DateTime?), new NullableConverter<DateTime>((FormDataConverter<DateTime>)converters[typeof(DateTime)]));
74converters.Add(typeof(DateTimeOffset?), new NullableConverter<DateTimeOffset>((FormDataConverter<DateTimeOffset>)converters[typeof(DateTimeOffset)]));
75converters.Add(typeof(TimeSpan?), new NullableConverter<TimeSpan>((FormDataConverter<TimeSpan>)converters[typeof(TimeSpan)]));
76converters.Add(typeof(TimeOnly?), new NullableConverter<TimeOnly>((FormDataConverter<TimeOnly>)converters[typeof(TimeOnly)]));
77converters.Add(typeof(Guid?), new NullableConverter<Guid>((FormDataConverter<Guid>)converters[typeof(Guid)]));
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
Microsoft.AspNetCore.Identity.Test (2)
Microsoft.AspNetCore.Identity.UI (6)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (4)
Microsoft.AspNetCore.JsonPatch.Tests (4)
Microsoft.AspNetCore.Mvc.Abstractions (2)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
Microsoft.AspNetCore.Mvc.Core (14)
Microsoft.AspNetCore.Mvc.Core.Test (10)
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (5)
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Microsoft.AspNetCore.OpenApi (6)
Services\OpenApiDocumentService.cs (2)
253paths.Add(descriptions.Key, new OpenApiPathItem { Operations = await GetOperationsAsync(descriptions, document, scopedServiceProvider, operationTransformers, schemaTransformers, cancellationToken) });
386responses.Add(responseKey, await GetResponseAsync(document, description, responseType.StatusCode, responseType, scopedServiceProvider, schemaTransformers, cancellationToken));
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
Microsoft.AspNetCore.RateLimiting (4)
Microsoft.AspNetCore.Razor.Runtime (1)
Microsoft.AspNetCore.Razor.Runtime.Test (1)
Microsoft.AspNetCore.Rewrite.Tests (7)
Microsoft.AspNetCore.Routing (35)
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
Microsoft.AspNetCore.Routing.Tests (18)
DecisionTreeBuilderTest.cs (17)
46item.Criteria.Add("area", new DecisionCriterionValue(value: "Admin"));
47item.Criteria.Add("controller", new DecisionCriterionValue(value: "Users"));
48item.Criteria.Add("action", new DecisionCriterionValue(value: "AddUser"));
87item1.Criteria.Add("controller", new DecisionCriterionValue(value: "Store"));
88item1.Criteria.Add("action", new DecisionCriterionValue(value: "Buy"));
92item2.Criteria.Add("controller", new DecisionCriterionValue(value: "Store"));
93item2.Criteria.Add("action", new DecisionCriterionValue(value: "Checkout"));
135item1.Criteria.Add("controller", new DecisionCriterionValue(value: "Store"));
136item1.Criteria.Add("action", new DecisionCriterionValue(value: "Buy"));
140item2.Criteria.Add("controller", new DecisionCriterionValue(value: "Store"));
141item2.Criteria.Add("action", new DecisionCriterionValue(value: "Checkout"));
145item3.Criteria.Add("action", new DecisionCriterionValue(value: "Buy"));
168item1.Criteria.Add("controller", new DecisionCriterionValue(value: "Store"));
169item1.Criteria.Add("action", new DecisionCriterionValue(value: "Buy"));
173item2.Criteria.Add("controller", new DecisionCriterionValue(value: "Store"));
174item2.Criteria.Add("action", new DecisionCriterionValue(value: "Checkout"));
178item3.Criteria.Add("stub", new DecisionCriterionValue(value: "Bleh"));
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
Microsoft.AspNetCore.Shared.Tests (4)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
Microsoft.Build (67)
Microsoft.Build.Engine.OM.UnitTests (21)
Definition\Project_Tests.cs (12)
813globalProperties.Add("g1", "v1");
814globalProperties.Add("g2", "v2");
830globalProperties.Add("g1", "v1");
833globalProperties.Add("g2", "v2");
961initial.Add("p0", "v0");
962initial.Add("p1", "v1");
989initial.Add("p0", "v0");
990initial.Add("p1", "v1");
2421globalProperties.Add("msbuildprojectdirectory", "x");
2435globalProperties.Add("msbuildprojectdirectory", "x");
2459globalProperties.Add("Target", "x");
2529globalProperties.Add("Target", "x");
Microsoft.Build.Engine.UnitTests (40)
Definition\Toolset_Tests.cs (5)
104subToolsets.Add("dogfood", new SubToolset("dogfood", subToolsetProperties));
533subToolsets.Add("12.0", new SubToolset("12.0", subToolset12Properties));
534subToolsets.Add("v11.0", new SubToolset("v11.0", subToolset11Properties));
535subToolsets.Add("FakeSubToolset", new SubToolset("FakeSubToolset", fakeSubToolsetProperties));
536subToolsets.Add("v13.0", new SubToolset("v13.0", subToolset13Properties));
Microsoft.Build.Framework (10)
Microsoft.Build.Tasks.CodeAnalysis (2)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
Microsoft.Build.Tasks.Core (43)
ManifestUtil\ApplicationManifest.cs (7)
451clsidList.Add(key, comInfo);
463tlbidList.Add(key, comInfo);
485clsidList.Add(key, new ComInfo(outputFileName, file.TargetPath, comClass.ClsId, null));
500tlbidList.Add(key, new ComInfo(outputFileName, file.TargetPath, null, typeLib.TlbId));
587usedExtensions.Add(fileAssociation.Extension, fileAssociation);
665targetPathList.Add(key, false);
711targetPathList.Add(key, false);
Microsoft.Build.Tasks.UnitTests (12)
GetSDKReference_Tests.cs (4)
266pathToReferenceMetadata.Add("first", new("dat", "dat2", true, false));
267pathToReferenceMetadata.Add("second", new("inf", "inf2", false, false));
269directoryToFileList.Add("third", new List<string>() { "a", "b", "c" });
270directoryToFileList.Add("fourth", new List<string>() { "1", "2", "3" });
Microsoft.Build.UnitTests.Shared (1)
Microsoft.Build.Utilities.Core (34)
ToolLocationHelper.cs (11)
631filteredExtensionSdks.Add(sdk.Key, sdk.Value);
907s_cachedTargetPlatformReferences.Add(cacheKey, targetPlatformReferences);
996s_cachedExtensionSdkReferences.Add(cacheKey, extensionSdkReferences);
2474s_cachedTargetPlatforms.Add(cachedTargetPlatformsKey, collection);
2485s_cachedExtensionSdks.Add(cachedExtensionSdksKey, extensionSdk);
2555targetPlatformSDK.ExtensionSDKs.Add(SDKKey, FileUtilities.EnsureTrailingSlash(sdkVersionDirectory.FullName));
2635platformSDKs.Add(targetPlatformSDK, targetPlatformSDK);
2755platformMonikers.Add(targetPlatformSDK, targetPlatformSDK);
2828targetPlatformSDK.ExtensionSDKs.Add(sdkKey, FileUtilities.EnsureTrailingSlash(directoryName));
3058sdk.Platforms.Add(sdkKey, FileUtilities.EnsureTrailingSlash(platformVersion.FullName));
3696s_cachedHighestFrameworkNameForTargetFrameworkIdentifier.Add(key, highestFrameworkName);
TrackedDependencies\CanonicalTrackedInputFiles.cs (11)
454sourceDependencies.Add(dependee, new TaskItem(dependee));
695primaryFiles.Add(FileUtilities.NormalizePath(file.ItemSpec), null);
701primaryFiles.Add(tlogEntry, null);
717dependencies.Add(tlogEntry, null);
720DependencyTable.Add(tlogEntry, dependencies);
745dependencies.Add(tlogEntry, null);
781DependencyTable.Add(tlogEntry, dependencies);
789dependencies.Add(tlogEntry, null);
1077fileCache.Add(file, fileExists);
1083dependenciesWithoutMissingFiles.Add(file, kvp.Value);
1088dependenciesWithoutMissingFiles.Add(file, file);
Microsoft.Build.Utilities.UnitTests (1)
Microsoft.Cci.Extensions (11)
Microsoft.CodeAnalysis (116)
Emit\EditAndContinue\DeltaMetadataWriter.cs (16)
185addedOrChangedMethodsByIndex.Add(MetadataTokens.GetRowNumber(GetMethodDefinitionHandle(pair.Key)), pair.Value);
255result.Add(pair.Key, pair.Value);
524result.Add(typeDef, deletedMethodDefs);
677_deletedTypeMembers.Add(typeDef, newMethodDefs.ToImmutable());
747_firstParamRowMap.Add(GetMethodDefinitionHandle(methodDef), _parameterDefs.NextRowId);
751_parameterDefList.Add(paramDef, methodDef);
795_existingParameterDefs.Add(paramDef, MetadataTokens.GetRowNumber(param));
796_parameterDefList.Add(paramDef, methodDef);
809_existingParameterDefs.Add(paramDef, firstRowId++);
810_parameterDefList.Add(paramDef, methodDef);
912_addedOrChangedMethods.Add(body.MethodDefinition, info);
1051_customAttributesAdded.Add(parentHandle, previouslyAddedRowIds.AddRange(_customAttributeRowIds.Skip(previousCustomAttributeRowIdsCount)));
1592this.added.Add(item, index);
1751this.added.Add(item, index);
1789this.added.Add(item, index);
1825this.added.Add(item, index);
PEWriter\MetadataWriter.cs (13)
685_fileRefIndex.Add(key, _fileRefList.Count);
718_customAttributeSignatureIndex.Add(customAttribute, result);
821_fieldSignatureIndex.Add(fieldReference, result);
848_fileRefIndex.Add(key, index = _fileRefList.Count);
1061_methodInstanceSignatureIndex.Add(methodInstanceReference, result);
1077_marshallingDescriptorIndex.Add(marshallingInformation, result);
1654_typeSpecSignatureIndex.Add(typeReference, result);
3040_smallMethodBodies.Add(smallBodyKey, encodedBody.Offset);
4277_index.Add(item, index);
4304_index.Add(item, index);
4328_instanceIndex.Add(item, index);
4336_instanceIndex.Add(item, index);
4337_structuralIndex.Add(item, index);
Microsoft.CodeAnalysis.Analyzers (48)
Microsoft.CodeAnalysis.AnalyzerUtilities (71)
Microsoft.CodeAnalysis.BannedApiAnalyzers (45)
Microsoft.CodeAnalysis.CodeStyle (41)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (1)
Microsoft.CodeAnalysis.Collections.Package (7)
Microsoft.CodeAnalysis.CSharp (65)
Lowering\StateMachineRewriter\StateMachineRewriter.cs (5)
231proxiesBuilder.Add(local, new CapturedToStateMachineFieldReplacement(field, isReusable: false));
241proxiesBuilder.Add(parameter, new CapturedToStateMachineFieldReplacement(proxyField, isReusable: false));
248initialParameters.Add(parameter, new CapturedToStateMachineFieldReplacement(initialThis, isReusable: false));
256proxiesBuilder.Add(parameter, new CapturedToStateMachineFieldReplacement(proxyField, isReusable: false));
261initialParameters.Add(parameter, new CapturedToStateMachineFieldReplacement(field, isReusable: false));
Symbols\Source\SourceMemberContainerSymbol.cs (8)
1362conflictDict.Add(key, t);
2110conversionsAsMethods.Add(conversion, conversion);
2146methodsBySignature.Add(method, method);
2446membersByName.Add(pair.Key, concatMembers([], extension, pair.Value, ref membersUnordered));
2984instanceMap.Add(this, this);
3026instanceMap.Add(tOriginal, t);
3171membersByName.Add(name, typesAsSymbols);
4054membersBySignature.Add(symbol, symbol);
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.DeclarationFinder.cs (1)
38_map.Add(identifier, list);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (24)
Diagnostics\DiagnosticAnalyzerTests.cs (18)
317specificDiagOptions.Add(noneDiagDescriptor.Id, ReportDiagnostic.Error);
318specificDiagOptions.Add(infoDiagDescriptor.Id, ReportDiagnostic.Error);
319specificDiagOptions.Add(warningDiagDescriptor.Id, ReportDiagnostic.Error);
332specificDiagOptions.Add(noneDiagDescriptor.Id, ReportDiagnostic.Suppress);
333specificDiagOptions.Add(infoDiagDescriptor.Id, ReportDiagnostic.Suppress);
334specificDiagOptions.Add(warningDiagDescriptor.Id, ReportDiagnostic.Suppress);
335specificDiagOptions.Add(errorDiagDescriptor.Id, ReportDiagnostic.Suppress);
344specificDiagOptions.Add(noneDiagDescriptor.Id, ReportDiagnostic.Info);
345specificDiagOptions.Add(infoDiagDescriptor.Id, ReportDiagnostic.Hidden);
346specificDiagOptions.Add(warningDiagDescriptor.Id, ReportDiagnostic.Error);
347specificDiagOptions.Add(errorDiagDescriptor.Id, ReportDiagnostic.Warn);
459specificDiagOptions.Add(disabledDiagDescriptor.Id, ReportDiagnostic.Warn);
460specificDiagOptions.Add(enabledDiagDescriptor.Id, ReportDiagnostic.Suppress);
531specificDiagOptions.Add(FullyDisabledAnalyzer.desc1.Id, ReportDiagnostic.Warn);
532specificDiagOptions.Add(PartiallyDisabledAnalyzer.desc2.Id, ReportDiagnostic.Suppress);
540specificDiagOptions.Add(FullyDisabledAnalyzer.desc3.Id, ReportDiagnostic.Warn);
1141specificDiagOptions.Add(NotConfigurableDiagnosticAnalyzer.EnabledRule.Id, ReportDiagnostic.Suppress);
1150specificDiagOptions.Add(NotConfigurableDiagnosticAnalyzer.DisabledRule.Id, ReportDiagnostic.Warn);
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.DeclarationFinder.cs (1)
38_map.Add(identifier, list);
Microsoft.CodeAnalysis.Debugging.Package (3)
Microsoft.CodeAnalysis.EditorFeatures (4)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (3)
Microsoft.CodeAnalysis.Extensions.Package (8)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Microsoft.CodeAnalysis.Features (129)
ExtractMethod\ExtractMethodMatrix.cs (72)
107s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: false, writtenInside: true, readOutside: false, writtenOutside: false), VariableStyle.InputOnly);
108s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: false, writtenInside: true, readOutside: false, writtenOutside: true), VariableStyle.InputOnly);
109s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: false, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.InputOnly);
110s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: false, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.InputOnly);
111s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: false, writtenOutside: false), VariableStyle.MoveIn);
112s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: false, writtenOutside: true), VariableStyle.InputOnly);
113s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.SplitIn);
114s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.InputOnly);
115s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: true, readInside: false, writtenInside: false, readOutside: false, writtenOutside: true), VariableStyle.MoveOut);
116s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: true, readInside: false, writtenInside: false, readOutside: true, writtenOutside: true), VariableStyle.MoveOut);
117s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: true, readInside: false, writtenInside: true, readOutside: false, writtenOutside: false), VariableStyle.None);
118s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: true, readInside: false, writtenInside: true, readOutside: false, writtenOutside: true), VariableStyle.SplitOut);
119s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: true, readInside: false, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.SplitOut);
120s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: true, readInside: true, writtenInside: false, readOutside: false, writtenOutside: false), VariableStyle.None);
121s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: true, readInside: true, writtenInside: false, readOutside: false, writtenOutside: true), VariableStyle.SplitOut);
122s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: true, readInside: true, writtenInside: false, readOutside: true, writtenOutside: true), VariableStyle.SplitOut);
123s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: true, readInside: true, writtenInside: true, readOutside: false, writtenOutside: false), VariableStyle.None);
124s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: true, readInside: true, writtenInside: true, readOutside: false, writtenOutside: true), VariableStyle.SplitOut);
125s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: false, variableDeclared: true, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.SplitOut);
126s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: false, writtenInside: true, readOutside: false, writtenOutside: false), VariableStyle.MoveIn);
127s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: false, writtenInside: true, readOutside: false, writtenOutside: true), VariableStyle.SplitIn);
128s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: false, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.SplitIn);
129s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: false, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.SplitIn);
130s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: false, readOutside: false, writtenOutside: true), VariableStyle.InputOnly);
131s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: false, readOutside: true, writtenOutside: true), VariableStyle.Ref);
132s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: false, writtenOutside: false), VariableStyle.MoveIn);
133s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: false, writtenOutside: true), VariableStyle.SplitIn);
134s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.SplitIn);
135s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.SplitIn);
136s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: true, readInside: false, writtenInside: true, readOutside: false, writtenOutside: false), VariableStyle.None);
137s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: true, readInside: false, writtenInside: true, readOutside: false, writtenOutside: true), VariableStyle.SplitOut);
138s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: true, readInside: false, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.SplitOut);
139s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: true, readInside: true, writtenInside: true, readOutside: false, writtenOutside: false), VariableStyle.None);
140s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: true, readInside: true, writtenInside: true, readOutside: false, writtenOutside: true), VariableStyle.SplitOut);
141s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: false, alwaysAssigned: true, variableDeclared: true, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.SplitOut);
142s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: false, readInside: false, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.Ref);
143s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: false, readInside: false, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.Ref);
144s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.Ref);
145s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.Ref);
146s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: true, readInside: false, writtenInside: false, readOutside: true, writtenOutside: false), VariableStyle.NotUsed);
147s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: true, readInside: false, writtenInside: false, readOutside: true, writtenOutside: true), VariableStyle.NotUsed);
148s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: true, readInside: false, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.OutWithMoveOut);
149s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: true, readInside: false, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.OutWithMoveOut);
150s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: true, readInside: true, writtenInside: false, readOutside: true, writtenOutside: false), VariableStyle.OutWithMoveOut);
151s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: true, readInside: true, writtenInside: false, readOutside: true, writtenOutside: true), VariableStyle.OutWithMoveOut);
152s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: true, readInside: true, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.OutWithMoveOut);
153s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: false, variableDeclared: true, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.OutWithMoveOut);
154s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: true, variableDeclared: false, readInside: false, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.Out);
155s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: true, variableDeclared: false, readInside: false, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.Out);
156s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.Out);
157s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.Out);
158s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: true, variableDeclared: true, readInside: false, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.OutWithMoveOut);
159s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: true, variableDeclared: true, readInside: false, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.OutWithMoveOut);
160s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: true, variableDeclared: true, readInside: true, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.OutWithMoveOut);
161s_matrix.Add(new Key(dataFlowIn: false, dataFlowOut: true, alwaysAssigned: true, variableDeclared: true, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.OutWithMoveOut);
162s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: false, readOutside: false, writtenOutside: false), VariableStyle.InputOnly);
163s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: false, readOutside: false, writtenOutside: true), VariableStyle.InputOnly);
164s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: false, readOutside: true, writtenOutside: false), VariableStyle.InputOnly);
165s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: false, readOutside: true, writtenOutside: true), VariableStyle.InputOnly);
166s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: false, writtenOutside: false), VariableStyle.InputOnly);
167s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: false, writtenOutside: true), VariableStyle.InputOnly);
168s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.InputOnly);
169s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.InputOnly);
170s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: false, writtenOutside: false), VariableStyle.InputOnly);
171s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: false, writtenOutside: true), VariableStyle.InputOnly);
172s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.InputOnly);
173s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: false, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.InputOnly);
174s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: true, alwaysAssigned: false, variableDeclared: false, readInside: false, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.Ref);
175s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: true, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.OutWithErrorInput);
176s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: true, alwaysAssigned: false, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.Ref);
177s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: true, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: false), VariableStyle.OutWithErrorInput);
178s_matrix.Add(new Key(dataFlowIn: true, dataFlowOut: true, alwaysAssigned: true, variableDeclared: false, readInside: true, writtenInside: true, readOutside: true, writtenOutside: true), VariableStyle.Ref);
Microsoft.CodeAnalysis.Features.Test.Utilities (4)
Microsoft.CodeAnalysis.InteractiveHost (7)
Microsoft.CodeAnalysis.LanguageServer (4)
Microsoft.CodeAnalysis.LanguageServer.Protocol (16)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (44)
Microsoft.CodeAnalysis.PooledObjects.Package (3)
Microsoft.CodeAnalysis.PublicApiAnalyzers (47)
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (1)
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
Microsoft.CodeAnalysis.Remote.ServiceHub (4)
Microsoft.CodeAnalysis.Remote.ServiceHub.UnitTests (4)
TelemetryLoggerTests.cs (4)
45p.Add("test1", 1);
47p.Add("test3", new object[] { 3, new PiiValue(4) });
67logger.LogBlockStart(FunctionId.Debugging_EncSession_EditSession_EmitDeltaErrorId, KeyValueLogMessage.Create(p => p.Add("test", "start"), logLevel: LogLevel.Information), blockId: 1, CancellationToken.None);
72logger.LogBlockEnd(FunctionId.Debugging_EncSession_EditSession_EmitDeltaErrorId, KeyValueLogMessage.Create(p => p.Add("test", "end")), blockId: 1, delta: 100, CancellationToken.None);
Microsoft.CodeAnalysis.ResxSourceGenerator (44)
Microsoft.CodeAnalysis.Scripting (5)
Microsoft.CodeAnalysis.Test.Utilities (18)
Microsoft.CodeAnalysis.Threading.Package (7)
Microsoft.CodeAnalysis.UnitTests (5)
CachingLookupTests.cs (4)
159dict.Add(k, Values(k, numbers, false));
191dict.Add(k, Values(k, numbers, false));
223dict.Add(k, Values(k, numbers, false));
253dict.Add(k, Values(k, numbers, false));
Microsoft.CodeAnalysis.VisualBasic (11)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (8)
Microsoft.CodeAnalysis.Workspaces (87)
Microsoft.CodeAnalysis.Workspaces.MSBuild (6)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (11)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (8)
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
Microsoft.CommonLanguageServerProtocol.Framework.Package (4)
Microsoft.CSharp (10)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeTable.cs (5)
78s_aggregateTable.Add(MakeKey(aggregate, MakeKey(outer, args)), ats);
93s_arrayTable.Add(new KeyPair<CType, int>(elementType, rankNum), pArray);
107s_parameterModifierTable.Add(new KeyPair<CType, bool>(elementType, isOut), parameterModifier);
119s_pointerTable.Add(elementType, pointer);
131s_nullableTable.Add(underlyingType, nullable);
Microsoft.Data.Analysis (8)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.ArcadeLogging (1)
Microsoft.DotNet.Build.Manifest (3)
Microsoft.DotNet.Build.Tasks.Feed (3)
Microsoft.DotNet.Build.Tasks.Feed.Tests (2)
Microsoft.DotNet.Build.Tasks.Installers (1)
Microsoft.DotNet.Build.Tasks.Packaging (18)
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
Microsoft.DotNet.Build.Tasks.Workloads (1)
Microsoft.DotNet.GenFacades (1)
Microsoft.DotNet.Helix.Client (1)
Microsoft.DotNet.Helix.Sdk (1)
Microsoft.DotNet.Helix.Sdk.Tests (5)
Microsoft.DotNet.NuGetRepack.Tasks (1)
Microsoft.DotNet.PackageTesting (2)
Microsoft.DotNet.SharedFramework.Sdk (1)
Microsoft.DotNet.SignCheckLibrary (1)
Microsoft.DotNet.SignTool (10)
Microsoft.DotNet.SignTool.Tests (1)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Microsoft.DotNet.XliffTasks (2)
Microsoft.DotNet.XUnitExtensions (1)
Microsoft.Extensions.AI.Abstractions (2)
Microsoft.Extensions.AI.Integration.Tests (1)
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Compliance.Redaction (1)
Microsoft.Extensions.Configuration (1)
Microsoft.Extensions.Configuration.CommandLine (1)
Microsoft.Extensions.Configuration.KeyPerFile (1)
Microsoft.Extensions.Configuration.Xml (4)
Microsoft.Extensions.DependencyInjection (2)
Microsoft.Extensions.DependencyModel (1)
Microsoft.Extensions.Diagnostics (2)
Microsoft.Extensions.Diagnostics.ExceptionSummarization (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Http.Diagnostics (2)
Microsoft.Extensions.Options.SourceGeneration (4)
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Microsoft.Extensions.Telemetry (1)
Microsoft.Extensions.Telemetry.Tests (12)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
Microsoft.Gen.Logging (1)
Microsoft.Gen.MetadataExtractor (3)
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
Microsoft.Gen.Metrics (5)
Microsoft.Gen.MetricsReports (3)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
Microsoft.Interop.ComInterfaceGenerator (14)
Analyzers\RuntimeComApiUsageWithSourceGeneratedComAnalyzer.cs (13)
59methodsOfInterest.Add(marshalType.GetMembers("SetComObjectData")[0], firstArgumentTypeLookupOnly);
60methodsOfInterest.Add(marshalType.GetMembers("GetComObjectData")[0], firstArgumentTypeLookupOnly);
61methodsOfInterest.Add(marshalType.GetMembers("ReleaseComObject")[0], firstArgumentTypeLookupOnly);
62methodsOfInterest.Add(marshalType.GetMembers("FinalReleaseComObject")[0], firstArgumentTypeLookupOnly);
68methodsOfInterest.Add(createAggregatedObject, ImmutableArray.Create(CreateTypeArgumentTypeLookup(0), CreateArgumentTypeLookup(1)));
72methodsOfInterest.Add(createAggregatedObject, ImmutableArray.Create(CreateArgumentTypeLookup(1)));
80methodsOfInterest.Add(createWrapperOfType, ImmutableArray.Create(CreateTypeArgumentTypeLookup(0), CreateTypeArgumentTypeLookup(1), firstArgumentTypeLookup));
84methodsOfInterest.Add(createWrapperOfType, ImmutableArray.Create(firstArgumentTypeLookup, CreateTypeOfArgumentTypeLookup(1)));
88methodsOfInterest.Add(marshalType.GetMembers("GetTypedObjectForIUnknown")[0], ImmutableArray.Create(CreateTypeOfArgumentTypeLookup(1)));
89methodsOfInterest.Add(marshalType.GetMembers("GetIUnknownForObject")[0], firstArgumentTypeLookupOnly);
90methodsOfInterest.Add(marshalType.GetMembers("GetIDispatchForObject")[0], firstArgumentTypeLookupOnly);
96methodsOfInterest.Add(getComInterfaceForObject, ImmutableArray.Create(CreateTypeArgumentTypeLookup(0), CreateTypeArgumentTypeLookup(1), firstArgumentTypeLookup));
100methodsOfInterest.Add(getComInterfaceForObject, ImmutableArray.Create(CreateArgumentTypeLookup(0), CreateTypeOfArgumentTypeLookup(1)));
Microsoft.Interop.SourceGeneration (2)
Microsoft.JSInterop (2)
Microsoft.Maui (2)
Microsoft.Maui.Controls (17)
Microsoft.Maui.Controls.SourceGen (1)
Microsoft.Maui.Controls.Xaml (7)
Microsoft.Maui.Resizetizer (11)
Microsoft.ML.AutoML (4)
Microsoft.ML.CodeGenerator (2)
Microsoft.ML.Core (10)
Microsoft.ML.Core.Tests (2)
Microsoft.ML.Data (46)
Microsoft.ML.EntryPoints (43)
CrossValidationMacro.cs (21)
183inputBindingMap.Add(nameof(splitArgs.Data), new List<ParameterBinding>() { paramBinding });
188outputMap.Add(nameof(CVSplit.Output.TrainData), splitOutputTrainData.VarName);
189outputMap.Add(nameof(CVSplit.Output.TestData), splitOutputTestData.VarName);
242inputBindingMap.Add(nameof(args.TrainingData), new List<ParameterBinding> { trainingData });
245inputBindingMap.Add(nameof(args.TestingData), new List<ParameterBinding> { testingData });
250outputMap.Add(nameof(TrainTestMacro.Output.PredictorModel), predModelVar.VarName);
261inputBindingMap.Add(nameof(combineModelsArgs.TransformModel), new List<ParameterBinding>() { paramBinding });
264inputBindingMap.Add(nameof(combineModelsArgs.PredictorModel), new List<ParameterBinding>() { paramBinding });
270outputMap.Add(nameof(ModelOperations.PredictorModelOutput.PredictorModel), combineNodeOutputPredictorModel.VarName);
277outputMap.Add(nameof(TrainTestMacro.Output.Warnings), warningVar.VarName);
280outputMap.Add(nameof(TrainTestMacro.Output.OverallMetrics), overallMetric.VarName);
283outputMap.Add(nameof(TrainTestMacro.Output.PerInstanceMetrics), instanceMetric.VarName);
286outputMap.Add(nameof(TrainTestMacro.Output.ConfusionMatrix), confusionMatrix.VarName);
322combineInputBindingMap.Add(nameof(combineArgs.Warnings), new List<ParameterBinding> { warningsArray });
325combineInputBindingMap.Add(nameof(combineArgs.OverallMetrics), new List<ParameterBinding> { overallArray });
328combineInputBindingMap.Add(nameof(combineArgs.PerInstanceMetrics), new List<ParameterBinding> { combinePerInstArray });
333combineInputBindingMap.Add(nameof(combineArgs.ConfusionMatrix), new List<ParameterBinding> { combineConfArray });
340combineOutputMap.Add(nameof(Output.Warnings), combineWarningVar.VarName);
343combineOutputMap.Add(nameof(Output.OverallMetrics), combineOverallMetric.VarName);
346combineOutputMap.Add(nameof(Output.PerInstanceMetrics), combineInstanceMetric.VarName);
351combineOutputMap.Add(nameof(TrainTestMacro.Output.ConfusionMatrix), combineConfusionMatrix.VarName);
TrainTestMacro.cs (13)
174inputBindingMap.Add(nameof(combineArgs.TransformModel), new List<ParameterBinding>() { paramBinding });
177inputBindingMap.Add(nameof(combineArgs.PredictorModel), new List<ParameterBinding>() { paramBinding });
183outputMap.Add(nameof(ModelOperations.PredictorModelOutput.PredictorModel), combineNodeOutputPredictorModel.VarName);
194inputBindingMap.Add(nameof(args.Data), new List<ParameterBinding>() { paramBinding });
198inputBindingMap.Add(nameof(args.PredictorModel), new List<ParameterBinding>() { paramBinding });
204outputMap.Add(nameof(ScoreModel.Output.ScoredData), scoreNodeOutputScoredData.VarName);
205outputMap.Add(nameof(ScoreModel.Output.ScoringTransform), scoreNodeOutputScoringTransform.VarName);
228inputBindingMap.Add(nameof(args.Data), new List<ParameterBinding>() { paramBinding });
232inputBindingMap.Add(nameof(args.PredictorModel), new List<ParameterBinding>() { paramBinding });
238outputMap.Add(nameof(ScoreModel.Output.ScoredData), scoreNodeOutputScoredData.VarName);
239outputMap.Add(nameof(ScoreModel.Output.ScoringTransform), scoreNodeOutputScoringTransform.VarName);
252inputBindingMap.Add(nameof(evalTrainingArgs.Data), new List<ParameterBinding>() { paramBinding });
274inputBindingMap.Add(nameof(evalArgs.Data), new List<ParameterBinding>() { paramBinding });
Microsoft.ML.Fairlearn (4)
Microsoft.ML.FastTree (9)
Microsoft.ML.GenAI.Core (1)
Microsoft.ML.LightGbm (27)
Microsoft.ML.NugetPackageVersionUpdater (1)
Microsoft.ML.ResultProcessor (4)
Microsoft.ML.Samples (66)
Dynamic\Transforms\TimeSeries\LocalizeRootCause.cs (30)
43dic1.Add("Country", "UK");
44dic1.Add("DeviceType", "Laptop");
45dic1.Add("DataCenter", "DC1");
49dic2.Add("Country", "UK");
50dic2.Add("DeviceType", "Mobile");
51dic2.Add("DataCenter", "DC1");
55dic3.Add("Country", "UK");
56dic3.Add("DeviceType", AGG_SYMBOL);
57dic3.Add("DataCenter", "DC1");
61dic4.Add("Country", "UK");
62dic4.Add("DeviceType", "Laptop");
63dic4.Add("DataCenter", "DC2");
67dic5.Add("Country", "UK");
68dic5.Add("DeviceType", "Mobile");
69dic5.Add("DataCenter", "DC2");
73dic6.Add("Country", "UK");
74dic6.Add("DeviceType", AGG_SYMBOL);
75dic6.Add("DataCenter", "DC2");
79dic7.Add("Country", "UK");
80dic7.Add("DeviceType", AGG_SYMBOL);
81dic7.Add("DataCenter", AGG_SYMBOL);
85dic8.Add("Country", "UK");
86dic8.Add("DeviceType", "Laptop");
87dic8.Add("DataCenter", AGG_SYMBOL);
91dic9.Add("Country", "UK");
92dic9.Add("DeviceType", "Mobile");
93dic9.Add("DataCenter", AGG_SYMBOL);
102dim.Add("Country", "UK");
103dim.Add("DeviceType", AGG_SYMBOL);
104dim.Add("DataCenter", AGG_SYMBOL);
Dynamic\Transforms\TimeSeries\LocalizeRootCauseMultidimension.cs (36)
57dic2.Add("Country", "UK");
58dic2.Add("DeviceType", "Mobile");
59dic2.Add("DataCenter", "DC1");
63dic3.Add("Country", "UK");
64dic3.Add("DeviceType", AGG_SYMBOL);
65dic3.Add("DataCenter", "DC1");
69dic4.Add("Country", "UK");
70dic4.Add("DeviceType", "Laptop");
71dic4.Add("DataCenter", "DC2");
75dic5.Add("Country", "UK");
76dic5.Add("DeviceType", "Mobile");
77dic5.Add("DataCenter", "DC2");
81dic6.Add("Country", "UK");
82dic6.Add("DeviceType", AGG_SYMBOL);
83dic6.Add("DataCenter", "DC2");
87dic7.Add("Country", "UK");
88dic7.Add("DeviceType", AGG_SYMBOL);
89dic7.Add("DataCenter", AGG_SYMBOL);
93dic8.Add("Country", "UK");
94dic8.Add("DeviceType", "Laptop");
95dic8.Add("DataCenter", AGG_SYMBOL);
99dic9.Add("Country", "UK");
100dic9.Add("DeviceType", "Mobile");
101dic9.Add("DataCenter", AGG_SYMBOL);
105dic10.Add("Country", "UK");
106dic10.Add("DeviceType", "Mobile");
107dic10.Add("DataCenter", "DC3");
111dic11.Add("Country", "UK");
112dic11.Add("DeviceType", "Laptop");
113dic11.Add("DataCenter", "DC3");
117dic12.Add("Country", "UK");
118dic12.Add("DeviceType", AGG_SYMBOL);
119dic12.Add("DataCenter", "DC3");
128dim.Add("Country", "UK");
129dim.Add("DeviceType", AGG_SYMBOL);
130dim.Add("DataCenter", AGG_SYMBOL);
Microsoft.ML.SearchSpace (4)
Microsoft.ML.Sweeper (1)
Microsoft.ML.TimeSeries (8)
Microsoft.ML.TimeSeries.Tests (84)
TimeSeriesDirectApi.cs (84)
971expectedDim.Add("Country", "UK");
972expectedDim.Add("DeviceType", _rootCauseAggSymbol);
973expectedDim.Add("DataCenter", "DC1");
1000expectedDim.Add("Country", "UK");
1001expectedDim.Add("DeviceType", _rootCauseAggSymbol);
1002expectedDim.Add("DataCenter", "DC1");
1016expectedDim.Add("Country", "UK");
1017expectedDim.Add("DeviceType", "Mobile");
1018expectedDim.Add("DataCenter", _rootCauseAggSymbol);
1088dic1.Add("Country", "UK");
1089dic1.Add("DeviceType", "Laptop");
1090dic1.Add("DataCenter", "DC1");
1094dic2.Add("Country", "UK");
1095dic2.Add("DeviceType", "Mobile");
1096dic2.Add("DataCenter", "DC1");
1100dic3.Add("Country", "UK");
1101dic3.Add("DeviceType", aggSymbol);
1102dic3.Add("DataCenter", "DC1");
1106dic4.Add("Country", "UK");
1107dic4.Add("DeviceType", "Laptop");
1108dic4.Add("DataCenter", "DC2");
1112dic5.Add("Country", "UK");
1113dic5.Add("DeviceType", "Mobile");
1114dic5.Add("DataCenter", "DC2");
1118dic6.Add("Country", "UK");
1119dic6.Add("DeviceType", aggSymbol);
1120dic6.Add("DataCenter", "DC2");
1124dic7.Add("Country", "UK");
1125dic7.Add("DeviceType", aggSymbol);
1126dic7.Add("DataCenter", aggSymbol);
1130dic8.Add("Country", "UK");
1131dic8.Add("DeviceType", "Laptop");
1132dic8.Add("DataCenter", aggSymbol);
1136dic9.Add("Country", "UK");
1137dic9.Add("DeviceType", "Mobile");
1138dic9.Add("DataCenter", aggSymbol);
1142dic10.Add("Country", "UK");
1143dic10.Add("DeviceType", "Mobile");
1144dic10.Add("DataCenter", "DC3");
1148dic11.Add("Country", "UK");
1149dic11.Add("DeviceType", "Laptop");
1150dic11.Add("DataCenter", "DC3");
1154dic12.Add("Country", "UK");
1155dic12.Add("DeviceType", aggSymbol);
1156dic12.Add("DataCenter", "DC3");
1165dim.Add("Country", val);
1166dim.Add("DeviceType", aggSymbol);
1167dim.Add("DataCenter", aggSymbol);
1232dic1.Add("Country", 10);
1233dic1.Add("DeviceType", 20);
1234dic1.Add("DataCenter", 30);
1238dic2.Add("Country", 10);
1239dic2.Add("DeviceType", 21);
1240dic2.Add("DataCenter", 30);
1244dic3.Add("Country", 10);
1245dic3.Add("DeviceType", _rootCauseAggSymbolForIntDimValue);
1246dic3.Add("DataCenter", 30);
1250dic4.Add("Country", 10);
1251dic4.Add("DeviceType", 20);
1252dic4.Add("DataCenter", 31);
1256dic5.Add("Country", 10);
1257dic5.Add("DeviceType", 21);
1258dic5.Add("DataCenter", 31);
1262dic6.Add("Country", 10);
1263dic6.Add("DeviceType", _rootCauseAggSymbolForIntDimValue);
1264dic6.Add("DataCenter", 31);
1268dic7.Add("Country", 10);
1269dic7.Add("DeviceType", _rootCauseAggSymbolForIntDimValue);
1270dic7.Add("DataCenter", _rootCauseAggSymbolForIntDimValue);
1274dic8.Add("Country", 10);
1275dic8.Add("DeviceType", 20);
1276dic8.Add("DataCenter", _rootCauseAggSymbolForIntDimValue);
1280dic9.Add("Country", 10);
1281dic9.Add("DeviceType", 21);
1282dic9.Add("DataCenter", _rootCauseAggSymbolForIntDimValue);
1286dic10.Add("Country", 10);
1287dic10.Add("DeviceType", 21);
1288dic10.Add("DataCenter", 32);
1292dic11.Add("Country", 10);
1293dic11.Add("DeviceType", 20);
1294dic11.Add("DataCenter", 32);
1298dic12.Add("Country", 10);
1299dic12.Add("DeviceType", _rootCauseAggSymbolForIntDimValue);
1300dic12.Add("DataCenter", 32);
Microsoft.ML.Tokenizers (17)
Model\SentencePieceBpeModel.cs (4)
31_vocab.Add(new StringSpanOrdinalKey(piece.Piece), (i, piece.Score, (byte)piece.Type));
32_vocabReverse.Add(i, piece.Piece);
54vocab.Add(item.Key.ToString(), item.Value.Id);
1211revMerge.Add((symbols[left].pieceSpan.Index, pieceLength), (symbols[left].pieceSpan.Index, symbols[left].pieceSpan.Length, symbols[right].pieceSpan.Index, symbols[right].pieceSpan.Length));
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.ML.TorchSharp (5)
Microsoft.ML.Transforms (9)
Microsoft.VisualBasic.Core (2)
Microsoft.VisualStudio.LanguageServices (15)
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Microsoft.VisualStudio.LanguageServices.Xaml (1)
MSBuild (5)
MSBuildTaskHost (12)
PresentationBuildTasks (17)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (12)
59_elementHandler.Add(AlternateContent, new HandleElementCallback(HandleAlternateContent));
60_elementHandler.Add(Choice, new HandleElementCallback(HandleChoice));
61_elementHandler.Add(Fallback, new HandleElementCallback(HandleFallback));
63_attributeHandler.Add(Ignorable, new HandleAttributeCallback(HandleIgnorable));
64_attributeHandler.Add(MustUnderstand, new HandleAttributeCallback(HandleMustUnderstand));
65_attributeHandler.Add(ProcessContent, new HandleAttributeCallback(HandleProcessContent));
66_attributeHandler.Add(PreserveElements, new HandleAttributeCallback(HandlePreserveElements));
67_attributeHandler.Add(PreserveAttributes, new HandleAttributeCallback(HandlePreserveAttributes));
1852_processContents.Add(namespaceName, processContentSet);
1869_preserveElements.Add(namespaceName, preserveElementSet);
1886_preserveAttributes.Add(namespaceName, preserveAttributeSet);
2053_names.Add(itemName, itemName);
PresentationCore (21)
PresentationFramework (73)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (14)
1794bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
1884bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
2827bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
2973bamlType.Constructors.Add(2, new Baml6ConstructorInfo(
3355bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
4351bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
9166bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
9173bamlType.Constructors.Add(3, new Baml6ConstructorInfo(
10450bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
10471bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
10955bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
11195bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
11827bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
13164bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
PresentationUI (4)
ReachFramework (12)
Roslyn.Compilers.Extension (3)
Roslyn.Diagnostics.Analyzers (44)
Roslyn.Diagnostics.CSharp.Analyzers (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.DeclarationFinder.cs (1)
38_map.Add(identifier, list);
Roslyn.Test.PdbUtilities (2)
Shared (2)
Shared.Tests (1)
Swaggatherer (1)
System.Collections.Immutable (2)
System.ComponentModel.Composition (18)
System.ComponentModel.Composition.Registration (4)
System.ComponentModel.TypeConverter (1)
System.Composition.Convention (3)
System.Composition.Hosting (1)
System.Composition.TypedParts (5)
System.Configuration.ConfigurationManager (2)
System.Console (1)
System.Data.Common (10)
System.Data.Odbc (3)
System.Diagnostics.DiagnosticSource (3)
System.Diagnostics.Process (2)
System.Formats.Tar (3)
System.IO.FileSystem.Watcher (1)
System.IO.Packaging (22)
System\IO\Packaging\XmlCompatibilityReader.cs (11)
43_elementHandler.Add(AlternateContent, new HandleElementCallback(HandleAlternateContent));
44_elementHandler.Add(Choice, new HandleElementCallback(HandleChoice));
45_elementHandler.Add(Fallback, new HandleElementCallback(HandleFallback));
47_attributeHandler.Add(Ignorable, new HandleAttributeCallback(HandleIgnorable));
48_attributeHandler.Add(MustUnderstand, new HandleAttributeCallback(HandleMustUnderstand));
49_attributeHandler.Add(ProcessContent, new HandleAttributeCallback(HandleProcessContent));
50_attributeHandler.Add(PreserveElements, new HandleAttributeCallback(HandlePreserveElements));
51_attributeHandler.Add(PreserveAttributes, new HandleAttributeCallback(HandlePreserveAttributes));
1658_processContents.Add(namespaceName, processContentSet);
1670_preserveElements.Add(namespaceName, preserveElementSet);
1682_preserveAttributes.Add(namespaceName, preserveAttributeSet);
System.IO.Pipes (1)
System.Linq (4)
System.Linq.AsyncEnumerable (5)
System.Linq.Expressions (23)
System.Linq.Parallel (3)
System.Linq.Queryable (2)
System.Net.Http (8)
System.Net.Mail (2)
System.Net.NetworkInformation (1)
System.Net.Primitives (2)
System.ObjectModel (3)
System.Private.CoreLib (28)
System.Private.DataContractSerialization (33)
System\Runtime\Serialization\SchemaImporter.cs (7)
198previousCollectionTypes.Add(dataContract.OriginalUnderlyingType, dataContract.OriginalUnderlyingType);
232knownDataContracts.Add(dataContract.XmlName, dataContract);
246schemaObjects.Add(SchemaExporter.AnytypeQualifiedName, new SchemaObjectInfo(null, null, null, knownTypesForObject));
267schemaObjects.Add(currentTypeName, new SchemaObjectInfo(schemaType, null, schema, null));
281schemaObjects.Add(baseTypeName, baseTypeInfo);
300schemaObjects.Add(currentElementName, new SchemaObjectInfo(null, schemaElement, schema, null));
913knownDataContracts.Add(dataContract.XmlName, dataContract);
System.Private.Windows.Core (7)
System.Private.Xml (145)
System\Xml\XPath\Internal\XPathParser.cs (40)
815table.Add("last", new ParamInfo(Function.FunctionType.FuncLast, 0, 0, s_temparray1));
816table.Add("position", new ParamInfo(Function.FunctionType.FuncPosition, 0, 0, s_temparray1));
817table.Add("name", new ParamInfo(Function.FunctionType.FuncName, 0, 1, s_temparray2));
818table.Add("namespace-uri", new ParamInfo(Function.FunctionType.FuncNameSpaceUri, 0, 1, s_temparray2));
819table.Add("local-name", new ParamInfo(Function.FunctionType.FuncLocalName, 0, 1, s_temparray2));
820table.Add("count", new ParamInfo(Function.FunctionType.FuncCount, 1, 1, s_temparray2));
821table.Add("id", new ParamInfo(Function.FunctionType.FuncID, 1, 1, s_temparray3));
822table.Add("string", new ParamInfo(Function.FunctionType.FuncString, 0, 1, s_temparray3));
823table.Add("concat", new ParamInfo(Function.FunctionType.FuncConcat, 2, 100, s_temparray4));
824table.Add("starts-with", new ParamInfo(Function.FunctionType.FuncStartsWith, 2, 2, s_temparray5));
825table.Add("contains", new ParamInfo(Function.FunctionType.FuncContains, 2, 2, s_temparray5));
826table.Add("substring-before", new ParamInfo(Function.FunctionType.FuncSubstringBefore, 2, 2, s_temparray5));
827table.Add("substring-after", new ParamInfo(Function.FunctionType.FuncSubstringAfter, 2, 2, s_temparray5));
828table.Add("substring", new ParamInfo(Function.FunctionType.FuncSubstring, 2, 3, s_temparray6));
829table.Add("string-length", new ParamInfo(Function.FunctionType.FuncStringLength, 0, 1, s_temparray4));
830table.Add("normalize-space", new ParamInfo(Function.FunctionType.FuncNormalize, 0, 1, s_temparray4));
831table.Add("translate", new ParamInfo(Function.FunctionType.FuncTranslate, 3, 3, s_temparray7));
832table.Add("boolean", new ParamInfo(Function.FunctionType.FuncBoolean, 1, 1, s_temparray3));
833table.Add("not", new ParamInfo(Function.FunctionType.FuncNot, 1, 1, s_temparray8));
834table.Add("true", new ParamInfo(Function.FunctionType.FuncTrue, 0, 0, s_temparray8));
835table.Add("false", new ParamInfo(Function.FunctionType.FuncFalse, 0, 0, s_temparray8));
836table.Add("lang", new ParamInfo(Function.FunctionType.FuncLang, 1, 1, s_temparray4));
837table.Add("number", new ParamInfo(Function.FunctionType.FuncNumber, 0, 1, s_temparray3));
838table.Add("sum", new ParamInfo(Function.FunctionType.FuncSum, 1, 1, s_temparray2));
839table.Add("floor", new ParamInfo(Function.FunctionType.FuncFloor, 1, 1, s_temparray9));
840table.Add("ceiling", new ParamInfo(Function.FunctionType.FuncCeiling, 1, 1, s_temparray9));
841table.Add("round", new ParamInfo(Function.FunctionType.FuncRound, 1, 1, s_temparray9));
849table.Add("ancestor", Axis.AxisType.Ancestor);
850table.Add("ancestor-or-self", Axis.AxisType.AncestorOrSelf);
851table.Add("attribute", Axis.AxisType.Attribute);
852table.Add("child", Axis.AxisType.Child);
853table.Add("descendant", Axis.AxisType.Descendant);
854table.Add("descendant-or-self", Axis.AxisType.DescendantOrSelf);
855table.Add("following", Axis.AxisType.Following);
856table.Add("following-sibling", Axis.AxisType.FollowingSibling);
857table.Add("namespace", Axis.AxisType.Namespace);
858table.Add("parent", Axis.AxisType.Parent);
859table.Add("preceding", Axis.AxisType.Preceding);
860table.Add("preceding-sibling", Axis.AxisType.PrecedingSibling);
861table.Add("self", Axis.AxisType.Self);
System\Xml\Xsl\XPath\XPathBuilder.cs (27)
791table.Add("last", new FunctionInfo(FuncId.Last, 0, 0, null));
792table.Add("position", new FunctionInfo(FuncId.Position, 0, 0, null));
793table.Add("name", new FunctionInfo(FuncId.Name, 0, 1, argNodeSet));
794table.Add("namespace-uri", new FunctionInfo(FuncId.NamespaceUri, 0, 1, argNodeSet));
795table.Add("local-name", new FunctionInfo(FuncId.LocalName, 0, 1, argNodeSet));
796table.Add("count", new FunctionInfo(FuncId.Count, 1, 1, argNodeSet));
797table.Add("id", new FunctionInfo(FuncId.Id, 1, 1, argAny));
798table.Add("string", new FunctionInfo(FuncId.String, 0, 1, argAny));
799table.Add("concat", new FunctionInfo(FuncId.Concat, 2, FunctionInfo.Infinity, null));
800table.Add("starts-with", new FunctionInfo(FuncId.StartsWith, 2, 2, argString2));
801table.Add("contains", new FunctionInfo(FuncId.Contains, 2, 2, argString2));
802table.Add("substring-before", new FunctionInfo(FuncId.SubstringBefore, 2, 2, argString2));
803table.Add("substring-after", new FunctionInfo(FuncId.SubstringAfter, 2, 2, argString2));
804table.Add("substring", new FunctionInfo(FuncId.Substring, 2, 3, argFnSubstr));
805table.Add("string-length", new FunctionInfo(FuncId.StringLength, 0, 1, argString));
806table.Add("normalize-space", new FunctionInfo(FuncId.Normalize, 0, 1, argString));
807table.Add("translate", new FunctionInfo(FuncId.Translate, 3, 3, argString3));
808table.Add("boolean", new FunctionInfo(FuncId.Boolean, 1, 1, argAny));
809table.Add("not", new FunctionInfo(FuncId.Not, 1, 1, argBoolean));
810table.Add("true", new FunctionInfo(FuncId.True, 0, 0, null));
811table.Add("false", new FunctionInfo(FuncId.False, 0, 0, null));
812table.Add("lang", new FunctionInfo(FuncId.Lang, 1, 1, argString));
813table.Add("number", new FunctionInfo(FuncId.Number, 0, 1, argAny));
814table.Add("sum", new FunctionInfo(FuncId.Sum, 1, 1, argNodeSet));
815table.Add("floor", new FunctionInfo(FuncId.Floor, 1, 1, argDouble));
816table.Add("ceiling", new FunctionInfo(FuncId.Ceiling, 1, 1, argDouble));
817table.Add("round", new FunctionInfo(FuncId.Round, 1, 1, argDouble));
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (9)
304table.Add("current", new FunctionInfo(FuncId.Current, 0, 0, null));
305table.Add("document", new FunctionInfo(FuncId.Document, 1, 2, s_argFnDocument));
306table.Add("key", new FunctionInfo(FuncId.Key, 2, 2, s_argFnKey));
307table.Add("format-number", new FunctionInfo(FuncId.FormatNumber, 2, 3, s_argFnFormatNumber));
308table.Add("unparsed-entity-uri", new FunctionInfo(FuncId.UnparsedEntityUri, 1, 1, XPathBuilder.argString));
309table.Add("generate-id", new FunctionInfo(FuncId.GenerateId, 0, 1, XPathBuilder.argNodeSet));
310table.Add("system-property", new FunctionInfo(FuncId.SystemProperty, 1, 1, XPathBuilder.argString));
311table.Add("element-available", new FunctionInfo(FuncId.ElementAvailable, 1, 1, XPathBuilder.argString));
312table.Add("function-available", new FunctionInfo(FuncId.FunctionAvailable, 1, 1, XPathBuilder.argString));
System.Reflection.Emit (9)
System.Reflection.Metadata (12)
System.Reflection.MetadataLoadContext (1)
System.Resources.Extensions (12)
System.Resources.Writer (7)
System.Runtime.Serialization.Schema (16)
System\Runtime\Serialization\Schema\CodeExporter.cs (16)
62_clrNamespaces.Add(clrNamespace, dataContract.XmlName.Namespace);
63_namespaces.Add(dataContract.XmlName.Namespace, clrNamespace);
84_clrNamespaces.Add(clrNamespace, dataContractNamespace);
92_namespaces.Add(dataContractNamespace, clrNamespace);
96_namespaces.Add(dataContractNamespace, clrNamespace);
106_clrNamespaces.Add(ns, null);
266contractNamesInHierarchy.Add(classContract.XmlName, null);
402_dataContractSet.ProcessedContracts.Add(dataContract, contractCodeDomInfo);
741_clrNamespaces.Add(typeName, null);
940handledContracts.Add(classDataContract, null);
978classDataContract.KnownDataContracts.Add(pair.Key, pair.Value);
1181_dataContractSet.ProcessedContracts.Add(keyValueContract, contractCodeDomInfo);
1488Namespaces.Add(dataContractNamespace, clrNamespace);
1489ClrNamespaces.Add(clrNamespace, dataContractNamespace);
1606fragments.Add(nsFragment, null);
1623previousCollectionTypes.Add(dataContract.OriginalUnderlyingType, dataContract.OriginalUnderlyingType);
System.Security.Cryptography (134)
System\Security\Cryptography\CryptoConfig.cs (121)
56ht.Add("SHA", OID_OIWSEC_SHA1);
57ht.Add("SHA1", OID_OIWSEC_SHA1);
58ht.Add("System.Security.Cryptography.SHA1", OID_OIWSEC_SHA1);
59ht.Add("System.Security.Cryptography.SHA1CryptoServiceProvider", OID_OIWSEC_SHA1);
60ht.Add("System.Security.Cryptography.SHA1Cng", OID_OIWSEC_SHA1);
61ht.Add("System.Security.Cryptography.SHA1Managed", OID_OIWSEC_SHA1);
63ht.Add("SHA256", OID_OIWSEC_SHA256);
64ht.Add("System.Security.Cryptography.SHA256", OID_OIWSEC_SHA256);
65ht.Add("System.Security.Cryptography.SHA256CryptoServiceProvider", OID_OIWSEC_SHA256);
66ht.Add("System.Security.Cryptography.SHA256Cng", OID_OIWSEC_SHA256);
67ht.Add("System.Security.Cryptography.SHA256Managed", OID_OIWSEC_SHA256);
69ht.Add("SHA384", OID_OIWSEC_SHA384);
70ht.Add("System.Security.Cryptography.SHA384", OID_OIWSEC_SHA384);
71ht.Add("System.Security.Cryptography.SHA384CryptoServiceProvider", OID_OIWSEC_SHA384);
72ht.Add("System.Security.Cryptography.SHA384Cng", OID_OIWSEC_SHA384);
73ht.Add("System.Security.Cryptography.SHA384Managed", OID_OIWSEC_SHA384);
75ht.Add("SHA512", OID_OIWSEC_SHA512);
76ht.Add("System.Security.Cryptography.SHA512", OID_OIWSEC_SHA512);
77ht.Add("System.Security.Cryptography.SHA512CryptoServiceProvider", OID_OIWSEC_SHA512);
78ht.Add("System.Security.Cryptography.SHA512Cng", OID_OIWSEC_SHA512);
79ht.Add("System.Security.Cryptography.SHA512Managed", OID_OIWSEC_SHA512);
81ht.Add("RIPEMD160", OID_OIWSEC_RIPEMD160);
82ht.Add("System.Security.Cryptography.RIPEMD160", OID_OIWSEC_RIPEMD160);
83ht.Add("System.Security.Cryptography.RIPEMD160Managed", OID_OIWSEC_RIPEMD160);
85ht.Add("MD5", OID_RSA_MD5);
86ht.Add("System.Security.Cryptography.MD5", OID_RSA_MD5);
87ht.Add("System.Security.Cryptography.MD5CryptoServiceProvider", OID_RSA_MD5);
88ht.Add("System.Security.Cryptography.MD5Managed", OID_RSA_MD5);
90ht.Add("TripleDESKeyWrap", OID_RSA_SMIMEalgCMS3DESwrap);
92ht.Add("RC2", OID_RSA_RC2CBC);
93ht.Add("System.Security.Cryptography.RC2CryptoServiceProvider", OID_RSA_RC2CBC);
95ht.Add("DES", OID_OIWSEC_desCBC);
96ht.Add("System.Security.Cryptography.DESCryptoServiceProvider", OID_OIWSEC_desCBC);
98ht.Add("TripleDES", OID_RSA_DES_EDE3_CBC);
99ht.Add("System.Security.Cryptography.TripleDESCryptoServiceProvider", OID_RSA_DES_EDE3_CBC);
149ht.Add("RandomNumberGenerator", RNGCryptoServiceProviderType);
150ht.Add("System.Security.Cryptography.RandomNumberGenerator", RNGCryptoServiceProviderType);
153ht.Add("SHA", SHA1CryptoServiceProviderType);
154ht.Add("SHA1", SHA1CryptoServiceProviderType);
155ht.Add("System.Security.Cryptography.SHA1", SHA1CryptoServiceProviderType);
156ht.Add("System.Security.Cryptography.HashAlgorithm", SHA1CryptoServiceProviderType);
158ht.Add("MD5", MD5CryptoServiceProviderType);
159ht.Add("System.Security.Cryptography.MD5", MD5CryptoServiceProviderType);
161ht.Add("SHA256", SHA256DefaultType);
162ht.Add("SHA-256", SHA256DefaultType);
163ht.Add("System.Security.Cryptography.SHA256", SHA256DefaultType);
165ht.Add("SHA384", SHA384DefaultType);
166ht.Add("SHA-384", SHA384DefaultType);
167ht.Add("System.Security.Cryptography.SHA384", SHA384DefaultType);
169ht.Add("SHA512", SHA512DefaultType);
170ht.Add("SHA-512", SHA512DefaultType);
171ht.Add("System.Security.Cryptography.SHA512", SHA512DefaultType);
174ht.Add("System.Security.Cryptography.HMAC", HMACSHA1Type);
175ht.Add("System.Security.Cryptography.KeyedHashAlgorithm", HMACSHA1Type);
176ht.Add("HMACMD5", HMACMD5Type);
177ht.Add("System.Security.Cryptography.HMACMD5", HMACMD5Type);
178ht.Add("HMACSHA1", HMACSHA1Type);
179ht.Add("System.Security.Cryptography.HMACSHA1", HMACSHA1Type);
180ht.Add("HMACSHA256", HMACSHA256Type);
181ht.Add("System.Security.Cryptography.HMACSHA256", HMACSHA256Type);
182ht.Add("HMACSHA384", HMACSHA384Type);
183ht.Add("System.Security.Cryptography.HMACSHA384", HMACSHA384Type);
184ht.Add("HMACSHA512", HMACSHA512Type);
185ht.Add("System.Security.Cryptography.HMACSHA512", HMACSHA512Type);
188ht.Add("RSA", RSACryptoServiceProviderType);
189ht.Add("System.Security.Cryptography.RSA", RSACryptoServiceProviderType);
190ht.Add("System.Security.Cryptography.AsymmetricAlgorithm", RSACryptoServiceProviderType);
195ht.Add("DSA", DSACryptoServiceProviderType);
196ht.Add("System.Security.Cryptography.DSA", DSACryptoServiceProviderType);
202ht.Add(ECDsaIdentifier, ECDsaCngType);
205ht.Add("ECDsaCng", ECDsaCngType);
206ht.Add("System.Security.Cryptography.ECDsaCng", ECDsaCngType);
209ht.Add("DES", DESCryptoServiceProviderType);
210ht.Add("System.Security.Cryptography.DES", DESCryptoServiceProviderType);
212ht.Add("3DES", TripleDESCryptoServiceProviderType);
213ht.Add("TripleDES", TripleDESCryptoServiceProviderType);
214ht.Add("Triple DES", TripleDESCryptoServiceProviderType);
215ht.Add("System.Security.Cryptography.TripleDES", TripleDESCryptoServiceProviderType);
217ht.Add("RC2", RC2CryptoServiceProviderType);
218ht.Add("System.Security.Cryptography.RC2", RC2CryptoServiceProviderType);
220ht.Add("Rijndael", RijndaelManagedType);
221ht.Add("System.Security.Cryptography.Rijndael", RijndaelManagedType);
223ht.Add("System.Security.Cryptography.SymmetricAlgorithm", RijndaelManagedType);
225ht.Add("AES", AesCryptoServiceProviderType);
226ht.Add("AesCryptoServiceProvider", AesCryptoServiceProviderType);
227ht.Add("System.Security.Cryptography.AesCryptoServiceProvider", AesCryptoServiceProviderType);
228ht.Add("AesManaged", AesManagedType);
229ht.Add("System.Security.Cryptography.AesManaged", AesManagedType);
232ht.Add("http://www.w3.org/2000/09/xmldsig#sha1", SHA1CryptoServiceProviderType);
234ht.Add("http://www.w3.org/2001/04/xmlenc#sha256", SHA256DefaultType);
235ht.Add("http://www.w3.org/2001/04/xmlenc#sha512", SHA512DefaultType);
238ht.Add("http://www.w3.org/2001/04/xmlenc#des-cbc", DESCryptoServiceProviderType);
239ht.Add("http://www.w3.org/2001/04/xmlenc#tripledes-cbc", TripleDESCryptoServiceProviderType);
240ht.Add("http://www.w3.org/2001/04/xmlenc#kw-tripledes", TripleDESCryptoServiceProviderType);
242ht.Add("http://www.w3.org/2001/04/xmlenc#aes128-cbc", RijndaelManagedType);
243ht.Add("http://www.w3.org/2001/04/xmlenc#kw-aes128", RijndaelManagedType);
244ht.Add("http://www.w3.org/2001/04/xmlenc#aes192-cbc", RijndaelManagedType);
245ht.Add("http://www.w3.org/2001/04/xmlenc#kw-aes192", RijndaelManagedType);
246ht.Add("http://www.w3.org/2001/04/xmlenc#aes256-cbc", RijndaelManagedType);
247ht.Add("http://www.w3.org/2001/04/xmlenc#kw-aes256", RijndaelManagedType);
250ht.Add("http://www.w3.org/2000/09/xmldsig#hmac-sha1", HMACSHA1Type);
253ht.Add("http://www.w3.org/2001/04/xmldsig-more#md5", MD5CryptoServiceProviderType);
254ht.Add("http://www.w3.org/2001/04/xmldsig-more#sha384", SHA384DefaultType);
255ht.Add("http://www.w3.org/2001/04/xmldsig-more#hmac-md5", HMACMD5Type);
256ht.Add("http://www.w3.org/2001/04/xmldsig-more#hmac-sha256", HMACSHA256Type);
257ht.Add("http://www.w3.org/2001/04/xmldsig-more#hmac-sha384", HMACSHA384Type);
258ht.Add("http://www.w3.org/2001/04/xmldsig-more#hmac-sha512", HMACSHA512Type);
260ht.Add("2.5.29.10", typeof(X509Certificates.X509BasicConstraintsExtension));
261ht.Add("2.5.29.19", typeof(X509Certificates.X509BasicConstraintsExtension));
262ht.Add("2.5.29.14", typeof(X509Certificates.X509SubjectKeyIdentifierExtension));
263ht.Add("2.5.29.15", typeof(X509Certificates.X509KeyUsageExtension));
264ht.Add("2.5.29.35", typeof(X509Certificates.X509AuthorityKeyIdentifierExtension));
265ht.Add("2.5.29.37", typeof(X509Certificates.X509EnhancedKeyUsageExtension));
266ht.Add(Oids.AuthorityInformationAccess, typeof(X509Certificates.X509AuthorityInformationAccessExtension));
267ht.Add(Oids.SubjectAltName, typeof(X509Certificates.X509SubjectAlternativeNameExtension));
270ht.Add("X509Chain", typeof(X509Certificates.X509Chain));
273ht.Add("1.2.840.113549.1.9.3", "System.Security.Cryptography.Pkcs.Pkcs9ContentType, " + AssemblyName_Pkcs);
274ht.Add("1.2.840.113549.1.9.4", "System.Security.Cryptography.Pkcs.Pkcs9MessageDigest, " + AssemblyName_Pkcs);
275ht.Add("1.2.840.113549.1.9.5", "System.Security.Cryptography.Pkcs.Pkcs9SigningTime, " + AssemblyName_Pkcs);
276ht.Add("1.3.6.1.4.1.311.88.2.1", "System.Security.Cryptography.Pkcs.Pkcs9DocumentName, " + AssemblyName_Pkcs);
277ht.Add("1.3.6.1.4.1.311.88.2.2", "System.Security.Cryptography.Pkcs.Pkcs9DocumentDescription, " + AssemblyName_Pkcs);
System.Security.Cryptography.Cose (1)
System.Security.Cryptography.Pkcs (44)
System\Security\Cryptography\Pkcs\CmsSignature.DSA.cs (5)
18lookup.Add(Oids.DsaWithSha1, new DSACmsSignature(Oids.DsaWithSha1, HashAlgorithmName.SHA1));
19lookup.Add(Oids.DsaWithSha256, new DSACmsSignature(Oids.DsaWithSha256, HashAlgorithmName.SHA256));
20lookup.Add(Oids.DsaWithSha384, new DSACmsSignature(Oids.DsaWithSha384, HashAlgorithmName.SHA384));
21lookup.Add(Oids.DsaWithSha512, new DSACmsSignature(Oids.DsaWithSha512, HashAlgorithmName.SHA512));
22lookup.Add(Oids.Dsa, new DSACmsSignature(null, default));
System\Security\Cryptography\Pkcs\CmsSignature.ECDsa.cs (8)
16lookup.Add(Oids.ECDsaWithSha1, new ECDsaCmsSignature(Oids.ECDsaWithSha1, HashAlgorithmName.SHA1));
17lookup.Add(Oids.ECDsaWithSha256, new ECDsaCmsSignature(Oids.ECDsaWithSha256, HashAlgorithmName.SHA256));
18lookup.Add(Oids.ECDsaWithSha384, new ECDsaCmsSignature(Oids.ECDsaWithSha384, HashAlgorithmName.SHA384));
19lookup.Add(Oids.ECDsaWithSha512, new ECDsaCmsSignature(Oids.ECDsaWithSha512, HashAlgorithmName.SHA512));
21lookup.Add(Oids.ECDsaWithSha3_256, new ECDsaCmsSignature(Oids.ECDsaWithSha3_256, HashAlgorithmName.SHA3_256));
22lookup.Add(Oids.ECDsaWithSha3_384, new ECDsaCmsSignature(Oids.ECDsaWithSha3_384, HashAlgorithmName.SHA3_384));
23lookup.Add(Oids.ECDsaWithSha3_512, new ECDsaCmsSignature(Oids.ECDsaWithSha3_512, HashAlgorithmName.SHA3_512));
25lookup.Add(Oids.EcPublicKey, new ECDsaCmsSignature(null, null));
System\Security\Cryptography\Pkcs\CmsSignature.RSA.cs (9)
18lookup.Add(Oids.Rsa, new RSAPkcs1CmsSignature(null, null));
19lookup.Add(Oids.RsaPkcs1Sha1, new RSAPkcs1CmsSignature(Oids.RsaPkcs1Sha1, HashAlgorithmName.SHA1));
20lookup.Add(Oids.RsaPkcs1Sha256, new RSAPkcs1CmsSignature(Oids.RsaPkcs1Sha256, HashAlgorithmName.SHA256));
21lookup.Add(Oids.RsaPkcs1Sha384, new RSAPkcs1CmsSignature(Oids.RsaPkcs1Sha384, HashAlgorithmName.SHA384));
22lookup.Add(Oids.RsaPkcs1Sha512, new RSAPkcs1CmsSignature(Oids.RsaPkcs1Sha512, HashAlgorithmName.SHA512));
24lookup.Add(Oids.RsaPkcs1Sha3_256, new RSAPkcs1CmsSignature(Oids.RsaPkcs1Sha3_256, HashAlgorithmName.SHA3_256));
25lookup.Add(Oids.RsaPkcs1Sha3_384, new RSAPkcs1CmsSignature(Oids.RsaPkcs1Sha3_384, HashAlgorithmName.SHA3_384));
26lookup.Add(Oids.RsaPkcs1Sha3_512, new RSAPkcs1CmsSignature(Oids.RsaPkcs1Sha3_512, HashAlgorithmName.SHA3_512));
28lookup.Add(Oids.RsaPss, new RSAPssCmsSignature());
System\Security\Cryptography\Pkcs\CmsSignature.SlhDsa.cs (12)
16lookup.Add(Oids.SlhDsaSha2_128s, new SlhDsaCmsSignature(Oids.SlhDsaSha2_128s));
17lookup.Add(Oids.SlhDsaShake128s, new SlhDsaCmsSignature(Oids.SlhDsaShake128s));
18lookup.Add(Oids.SlhDsaSha2_128f, new SlhDsaCmsSignature(Oids.SlhDsaSha2_128f));
19lookup.Add(Oids.SlhDsaShake128f, new SlhDsaCmsSignature(Oids.SlhDsaShake128f));
20lookup.Add(Oids.SlhDsaSha2_192s, new SlhDsaCmsSignature(Oids.SlhDsaSha2_192s));
21lookup.Add(Oids.SlhDsaShake192s, new SlhDsaCmsSignature(Oids.SlhDsaShake192s));
22lookup.Add(Oids.SlhDsaSha2_192f, new SlhDsaCmsSignature(Oids.SlhDsaSha2_192f));
23lookup.Add(Oids.SlhDsaShake192f, new SlhDsaCmsSignature(Oids.SlhDsaShake192f));
24lookup.Add(Oids.SlhDsaSha2_256s, new SlhDsaCmsSignature(Oids.SlhDsaSha2_256s));
25lookup.Add(Oids.SlhDsaShake256s, new SlhDsaCmsSignature(Oids.SlhDsaShake256s));
26lookup.Add(Oids.SlhDsaSha2_256f, new SlhDsaCmsSignature(Oids.SlhDsaSha2_256f));
27lookup.Add(Oids.SlhDsaShake256f, new SlhDsaCmsSignature(Oids.SlhDsaShake256f));
System.ServiceModel.NetFramingBase (5)
System.ServiceModel.Syndication (23)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (8)
147category.AttributeExtensions.Add(new XmlQualifiedName(name, ns), val);
556attrs.Add(new XmlQualifiedName(name, ns), value);
568result.AttributeExtensions.Add(attr, attrs[attr]);
650result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
710result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
824result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
917link.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
1011result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (5)
186inlineCategories.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
256referencedCategories.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
362result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
440result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
510result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (7)
213link.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
261category.AttributeExtensions.Add(new XmlQualifiedName(name, ns), val);
307result.AttributeExtensions.Add(new XmlQualifiedName(name, ns), val);
410feed.AttributeExtensions.Add(new XmlQualifiedName(name, ns), val);
512link.AttributeExtensions.Add(new XmlQualifiedName(name, ns), val);
557person.AttributeExtensions.Add(new XmlQualifiedName(name, ns), val);
622result.AttributeExtensions.Add(new XmlQualifiedName(name, ns), val);
System.Text.Encoding.CodePages (4)
System.Text.Json (4)
System.Text.Json.SourceGeneration (3)
System.Text.RegularExpressions (2)
System.Text.RegularExpressions.Generator (15)
RegexGenerator.Emitter.cs (13)
245requiredHelpers.Add(DefaultTimeoutHelpers,
311requiredHelpers.Add(IsWordChar,
352requiredHelpers.Add(IsBoundary,
377requiredHelpers.Add(IsECMABoundary,
496requiredHelpers.Add(fieldName,
620requiredHelpers.Add(helperName, lines.ToArray());
1045requiredHelpers.Add(fieldName,
1102requiredHelpers.Add(fieldName,
4679additionalLocalFunctions.Add(UncaptureUntil,
4738requiredHelpers.Add(key, lines);
4775requiredHelpers.Add(key, lines);
4824requiredHelpers.Add(MethodName,
4852requiredHelpers.Add(MethodName,
System.Threading.RateLimiting (1)
System.Threading.Tasks.Dataflow (3)
System.Windows.Forms (20)
System.Windows.Forms.Design (17)
System.Windows.Forms.Primitives (2)
System.Windows.Forms.Primitives.TestUtilities (1)
System.Windows.Forms.PrivateSourceGenerators (1)
System.Windows.Forms.Tests (3)
System.Xaml (49)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (12)
59_elementHandler.Add(AlternateContent, new HandleElementCallback(HandleAlternateContent));
60_elementHandler.Add(Choice, new HandleElementCallback(HandleChoice));
61_elementHandler.Add(Fallback, new HandleElementCallback(HandleFallback));
63_attributeHandler.Add(Ignorable, new HandleAttributeCallback(HandleIgnorable));
64_attributeHandler.Add(MustUnderstand, new HandleAttributeCallback(HandleMustUnderstand));
65_attributeHandler.Add(ProcessContent, new HandleAttributeCallback(HandleProcessContent));
66_attributeHandler.Add(PreserveElements, new HandleAttributeCallback(HandlePreserveElements));
67_attributeHandler.Add(PreserveAttributes, new HandleAttributeCallback(HandlePreserveAttributes));
1852_processContents.Add(namespaceName, processContentSet);
1869_preserveElements.Add(namespaceName, preserveElementSet);
1886_preserveAttributes.Add(namespaceName, preserveAttributeSet);
2053_names.Add(itemName, itemName);
System.Xaml.Tests (1)
TaskUsageLogger (1)
Test.Utilities (44)
Text.Analyzers (44)
VBCSCompiler.UnitTests (1)
WindowsFormsIntegration (74)
XmlFileLogger (2)
XmlFormattersWebSite (4)
xunit.console (8)