Implemented interface member:

method
Add
System.Collections.Generic.IDictionary<TKey, TValue>.Add(TKey, TValue)
4222 references to Add
AnalyzerRunner (2)
Aspire.Dashboard (6)
Aspire.Hosting (4)
Aspire.Hosting.Docker (1)
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Yarp (3)
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 (15)
dotnet.Tests (7)
dotnet-format (3)
dotnet-format.UnitTests (2)
dotnet-MsiInstallation.Tests (2)
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)
dotnet-watch (10)
dotnet-watch.Tests (4)
DotNetWatchTasks (2)
FilesWebSite (1)
GenerateDocumentationAndConfigFiles (4)
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)
574dictionary.Add("Empty process path",
579dictionary.Add("Unknown hostingModel",
584dictionary.Add("environmentVariables with add",
611dictionary.Add("App in bin subdirectory full path to dll using exec and quotes",
619dictionary.Add("App in subdirectory with space",
627dictionary.Add("App in subdirectory with space and full path to dll",
635dictionary.Add("App in bin subdirectory with space full path to dll using exec and quotes",
643dictionary.Add("App in bin subdirectory and quoted argument",
651dictionary.Add("App in bin subdirectory full path to dll",
682dictionary.Add("App in subdirectory",
691dictionary.Add("App in bin subdirectory full path",
IIS.NewHandler.FunctionalTests (11)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (11)
574dictionary.Add("Empty process path",
579dictionary.Add("Unknown hostingModel",
584dictionary.Add("environmentVariables with add",
611dictionary.Add("App in bin subdirectory full path to dll using exec and quotes",
619dictionary.Add("App in subdirectory with space",
627dictionary.Add("App in subdirectory with space and full path to dll",
635dictionary.Add("App in bin subdirectory with space full path to dll using exec and quotes",
643dictionary.Add("App in bin subdirectory and quoted argument",
651dictionary.Add("App in bin subdirectory full path to dll",
682dictionary.Add("App in subdirectory",
691dictionary.Add("App in bin subdirectory full path",
IIS.NewShim.FunctionalTests (11)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (11)
574dictionary.Add("Empty process path",
579dictionary.Add("Unknown hostingModel",
584dictionary.Add("environmentVariables with add",
611dictionary.Add("App in bin subdirectory full path to dll using exec and quotes",
619dictionary.Add("App in subdirectory with space",
627dictionary.Add("App in subdirectory with space and full path to dll",
635dictionary.Add("App in bin subdirectory with space full path to dll using exec and quotes",
643dictionary.Add("App in bin subdirectory and quoted argument",
651dictionary.Add("App in bin subdirectory full path to dll",
682dictionary.Add("App in subdirectory",
691dictionary.Add("App in bin subdirectory full path",
IISExpress.FunctionalTests (11)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (11)
574dictionary.Add("Empty process path",
579dictionary.Add("Unknown hostingModel",
584dictionary.Add("environmentVariables with add",
611dictionary.Add("App in bin subdirectory full path to dll using exec and quotes",
619dictionary.Add("App in subdirectory with space",
627dictionary.Add("App in subdirectory with space and full path to dll",
635dictionary.Add("App in bin subdirectory with space full path to dll using exec and quotes",
643dictionary.Add("App in bin subdirectory and quoted argument",
651dictionary.Add("App in bin subdirectory full path to dll",
682dictionary.Add("App in subdirectory",
691dictionary.Add("App in bin subdirectory full path",
illink (46)
Linker\LinkContext.cs (11)
446_isTrimmable.Add(assembly, false);
471_isTrimmable.Add(assembly, isTrimmable);
835methodresolveCache.Add(methodReference, md);
856methodresolveCache.Add(methodReference, md);
882fieldresolveCache.Add(fieldReference, fd);
901fieldresolveCache.Add(fieldReference, fd);
935typeresolveCache.Add(typeReference, td);
974typeresolveCache.Add(typeReference, td);
1003exportedTypeResolveCache.Add(et, td);
1120perAssembly.Add(assemblyContext, new Pair(optimizations, optimizations));
1138perAssembly.Add(assemblyContext, new Pair(optimizations, 0));
ILLink.RoslynAnalyzer (17)
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 (20)
RenderTree\Renderer.cs (5)
402_componentStateById.Add(componentId, componentState);
403_componentStateByComponent.Add(component, componentState);
695_eventBindings.Add(id, (renderedByComponentId, callback, frame.AttributeName));
703_eventBindings.Add(id, (renderedByComponentId, new EventCallback(@delegate.Target as IHandleEvent, @delegate), frame.AttributeName));
744_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.QuickGrid.Tests (2)
Microsoft.AspNetCore.Components.Server (7)
Microsoft.AspNetCore.Components.Tests (3)
Microsoft.AspNetCore.Components.Web (8)
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)
731factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.RouteAttribute);
741factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.QueryAttribute);
746factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.HeaderAttribute);
751factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.BodyAttribute);
812factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.ServiceAttribute);
893factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.RouteParameter);
898factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.QueryStringParameter);
903factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.RouteOrQueryStringParameter);
914factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.QueryStringParameter);
923factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.ServiceParameter);
929factoryContext.TrackedParameters.Add(parameter.Name, RequestDelegateFactoryConstants.BodyParameter);
1639factoryContext.TrackedParameters.Add(parameter.Name!, RequestDelegateFactoryConstants.PropertyAsParameter);
2100factoryContext.TrackedParameters.Add(parameter.Name!, RequestDelegateFactoryConstants.FormCollectionParameter);
2118factoryContext.TrackedParameters.Add(key, RequestDelegateFactoryConstants.FormAttribute);
2272dictionary.Add(new FormKey(key.AsMemory()), value);
2283factoryContext.TrackedParameters.Add(parameter.Name!, RequestDelegateFactoryConstants.FormFileParameter);
2303factoryContext.TrackedParameters.Add(key, trackedParameterSource);
2326factoryContext.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)
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 (65)
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 (31)
Definition\Toolset_Tests.cs (5)
104subToolsets.Add("dogfood", new SubToolset("dogfood", subToolsetProperties));
517subToolsets.Add("12.0", new SubToolset("12.0", subToolset12Properties));
518subToolsets.Add("v11.0", new SubToolset("v11.0", subToolset11Properties));
519subToolsets.Add("FakeSubToolset", new SubToolset("FakeSubToolset", fakeSubToolsetProperties));
520subToolsets.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 (42)
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 (15)
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);
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);
256result.Add(pair.Key, pair.Value);
525result.Add(typeDef, deletedMemberDefs);
715_deletedTypeMembers.Add(typeDef, newMemberDefs.ToImmutable());
785_firstParamRowMap.Add(GetMethodDefinitionHandle(methodDef), _parameterDefs.NextRowId);
789_parameterDefList.Add(paramDef, methodDef);
833_existingParameterDefs.Add(paramDef, MetadataTokens.GetRowNumber(param));
834_parameterDefList.Add(paramDef, methodDef);
847_existingParameterDefs.Add(paramDef, firstRowId++);
848_parameterDefList.Add(paramDef, methodDef);
950_addedOrChangedMethods.Add(body.MethodDefinition, info);
1089_customAttributesAdded.Add(parentHandle, previouslyAddedRowIds.AddRange(_customAttributeRowIds.Skip(previousCustomAttributeRowIdsCount)));
1630this.added.Add(item, index);
1789this.added.Add(item, index);
1827this.added.Add(item, index);
1863this.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);
3046_smallMethodBodies.Add(smallBodyKey, encodedBody.Offset);
4289_index.Add(item, index);
4316_index.Add(item, index);
4340_instanceIndex.Add(item, index);
4348_instanceIndex.Add(item, index);
4349_structuralIndex.Add(item, index);
Microsoft.CodeAnalysis.Analyzers (48)
Microsoft.CodeAnalysis.AnalyzerUtilities (71)
Microsoft.CodeAnalysis.BannedApiAnalyzers (45)
Microsoft.CodeAnalysis.CodeStyle (42)
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (7)
533nodeReplacementMap.Add(node.GetRequiredParent(), syntaxFacts.GetRightHandSideOfAssignment(node.GetRequiredParent()));
561nodeReplacementMap.Add(node.GetRequiredParent(), GetReplacementNodeForCompoundAssignment(node.GetRequiredParent(), newNameNode, editor, syntaxFacts));
565nodeReplacementMap.Add(node, GetReplacementNodeForVarPattern(node, newNameNode));
572nodeReplacementMap.Add(node.GetRequiredParent(), newParentNode);
576nodeReplacementMap.Add(node, newNameNode);
640nodeReplacementMap.Add(localDeclarationStatement, localDeclarationStatement.WithAdditionalAnnotations(s_existingLocalDeclarationWithoutInitializerAnnotation));
790memberDeclReplacementsMap.Add(memberDecl, newMemberDecl);
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (2)
Microsoft.CodeAnalysis.Collections.Package (7)
Microsoft.CodeAnalysis.CSharp (125)
FlowAnalysis\NullableWalker_Patterns.cs (6)
406originalInputMap.Add(originalInputSlot, expression);
411tempMap.Add(rootTemp, (originalInputSlot, expressionTypeWithState.Type));
414nodeStateMap.Add(decisionDag.RootNode, (state: PossiblyConditionalState.Create(this), believedReachable: true));
513originalInputMap.Add(outputSlot,
669labelStateMap.Add(d.Label, (this.State, nodeBelievedReachable));
755tempMap.Add(output, (slot, type));
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 (13)
1375conflictDict.Add(key, t);
1684dictionary.Add(pair.Key, pair.Value is ArrayBuilder<Symbol> arrayBuilder
2150conversionsAsMethods.Add(conversion, conversion);
2186methodsBySignature.Add(method, method);
2486membersByName.Add(pair.Key, concatMembers([], extension, pair.Value, ref membersUnordered));
2975instanceMap.Add(this, this);
3017instanceMap.Add(tOriginal, t);
3162membersByName.Add(name, typesAsSymbols);
3987membersBySignature.Add(symbol, symbol);
4027membersBySignature.Add(symbol, symbol);
4785fieldsByName.Add(fieldName, member);
4792memberSignatures.Add(member, member);
4812memberSignatures.Add(ctor, ctor);
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)
318specificDiagOptions.Add(noneDiagDescriptor.Id, ReportDiagnostic.Error);
319specificDiagOptions.Add(infoDiagDescriptor.Id, ReportDiagnostic.Error);
320specificDiagOptions.Add(warningDiagDescriptor.Id, ReportDiagnostic.Error);
333specificDiagOptions.Add(noneDiagDescriptor.Id, ReportDiagnostic.Suppress);
334specificDiagOptions.Add(infoDiagDescriptor.Id, ReportDiagnostic.Suppress);
335specificDiagOptions.Add(warningDiagDescriptor.Id, ReportDiagnostic.Suppress);
336specificDiagOptions.Add(errorDiagDescriptor.Id, ReportDiagnostic.Suppress);
345specificDiagOptions.Add(noneDiagDescriptor.Id, ReportDiagnostic.Info);
346specificDiagOptions.Add(infoDiagDescriptor.Id, ReportDiagnostic.Hidden);
347specificDiagOptions.Add(warningDiagDescriptor.Id, ReportDiagnostic.Error);
348specificDiagOptions.Add(errorDiagDescriptor.Id, ReportDiagnostic.Warn);
460specificDiagOptions.Add(disabledDiagDescriptor.Id, ReportDiagnostic.Warn);
461specificDiagOptions.Add(enabledDiagDescriptor.Id, ReportDiagnostic.Suppress);
532specificDiagOptions.Add(FullyDisabledAnalyzer.desc1.Id, ReportDiagnostic.Warn);
533specificDiagOptions.Add(PartiallyDisabledAnalyzer.desc2.Id, ReportDiagnostic.Suppress);
541specificDiagOptions.Add(FullyDisabledAnalyzer.desc3.Id, ReportDiagnostic.Warn);
1142specificDiagOptions.Add(NotConfigurableDiagnosticAnalyzer.EnabledRule.Id, ReportDiagnostic.Suppress);
1151specificDiagOptions.Add(NotConfigurableDiagnosticAnalyzer.DisabledRule.Id, ReportDiagnostic.Warn);
Microsoft.CodeAnalysis.CSharp.Features (4)
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 (5)
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.ExternalAccess.Razor.Features (1)
Microsoft.CodeAnalysis.Features (164)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (11)
805map.Add(edit.OldNode, edit.Kind);
810map.Add(edit.NewNode, edit.Kind);
821map.Add(editScript.Match.OldRoot, EditKind.Update);
822map.Add(editScript.Match.NewRoot, EditKind.Update);
1202lazyActiveOrMatchedLambdas.Add(oldEnclosingLambdaBody, lambda);
3675constructorEdits.Add(newType, constructorEdit = new MemberInitializationUpdates(oldType));
3680constructorEdit.ChangedDeclarations.Add(newDeclaration, syntaxMaps);
4070deletedTypes.Add(key, indices = ArrayBuilder<int>.GetInstance());
6394index.Add(array[i].Key, i);
6558oldParameterCaptures.Add(GetParameterKey(oldParameterCapture, cancellationToken), oldCaptureIndex);
6562oldLocalCaptures.Add(GetSymbolDeclarationSyntax(oldCapture.Symbol, cancellationToken), oldCaptureIndex);
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);
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (7)
533nodeReplacementMap.Add(node.GetRequiredParent(), syntaxFacts.GetRightHandSideOfAssignment(node.GetRequiredParent()));
561nodeReplacementMap.Add(node.GetRequiredParent(), GetReplacementNodeForCompoundAssignment(node.GetRequiredParent(), newNameNode, editor, syntaxFacts));
565nodeReplacementMap.Add(node, GetReplacementNodeForVarPattern(node, newNameNode));
572nodeReplacementMap.Add(node.GetRequiredParent(), newParentNode);
576nodeReplacementMap.Add(node, newNameNode);
640nodeReplacementMap.Add(localDeclarationStatement, localDeclarationStatement.WithAdditionalAnnotations(s_existingLocalDeclarationWithoutInitializerAnnotation));
790memberDeclReplacementsMap.Add(memberDecl, newMemberDecl);
Microsoft.CodeAnalysis.Features.Test.Utilities (4)
Microsoft.CodeAnalysis.Features.UnitTests (17)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (16)
197_mockCompilationOutputs.Add(document.Project.Id, new CompilationOutputFiles(moduleFile.Path));
828_mockCompilationOutputs.Add(projectId, new CompilationOutputFiles(moduleFile.Path));
1015_mockCompilationOutputs.Add(projectId, new CompilationOutputFiles(moduleFile.Path));
1407_mockCompilationOutputs.Add(document.Project.Id, new MockCompilationOutputs(moduleId));
1446_mockCompilationOutputs.Add(document.Project.Id, new MockCompilationOutputs(moduleId));
1556_mockCompilationOutputs.Add(document.Project.Id, new MockCompilationOutputs(moduleId));
1698_mockCompilationOutputs.Add(document.Project.Id, new MockCompilationOutputs(Guid.NewGuid()));
2045_mockCompilationOutputs.Add(document.Project.Id, new MockCompilationOutputs(moduleId));
2154_mockCompilationOutputs.Add(projectAId, new MockCompilationOutputs(Guid.NewGuid()));
2155_mockCompilationOutputs.Add(projectBId, new MockCompilationOutputs(Guid.NewGuid()));
2156_mockCompilationOutputs.Add(projectCId, new MockCompilationOutputs(Guid.NewGuid()));
3349_mockCompilationOutputs.Add(document1.Project.Id, new CompilationOutputFiles(moduleFile.Path, pdbFile.Path));
4144_mockCompilationOutputs.Add(projectA.Id, new CompilationOutputFiles(moduleFileA.Path, pdbFileA.Path));
4145_mockCompilationOutputs.Add(projectB.Id, new CompilationOutputFiles(moduleFileB.Path, pdbFileB.Path));
4423_mockCompilationOutputs.Add(document1.Project.Id, new MockCompilationOutputs(Guid.NewGuid())
4458_mockCompilationOutputs.Add(document.Project.Id, new MockCompilationOutputs(Guid.NewGuid())
Microsoft.CodeAnalysis.InteractiveHost (7)
Microsoft.CodeAnalysis.LanguageServer (4)
Microsoft.CodeAnalysis.LanguageServer.Protocol (20)
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (1)
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 (14)
Microsoft.CodeAnalysis.Remote.ServiceHub.UnitTests (5)
TelemetryLoggerTests.cs (5)
45p.Add("test1", 1);
46p.Add("test2", new PiiValue(2));
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.Remote.Workspaces (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (44)
Microsoft.CodeAnalysis.Scripting (5)
Microsoft.CodeAnalysis.Test.Utilities (17)
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.Workspaces (81)
Microsoft.CodeAnalysis.Workspaces.MSBuild (6)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (11)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (9)
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.ApiCompat.IntegrationTests (3)
Microsoft.DotNet.ApiCompat.Task (1)
Microsoft.DotNet.ApiCompat.Tool (1)
Microsoft.DotNet.ApiCompatibility (6)
Microsoft.DotNet.ApiDiff (2)
Microsoft.DotNet.ApiDiff.Tests (1)
Microsoft.DotNet.ApiSymbolExtensions (3)
Microsoft.DotNet.ApiSymbolExtensions.Tests (3)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.ArcadeLogging (1)
Microsoft.DotNet.Build.Tasks.Packaging (18)
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
Microsoft.DotNet.Build.Tasks.Workloads (1)
Microsoft.DotNet.Cli.Utils (3)
Microsoft.DotNet.GenAPI.Tests (1)
Microsoft.DotNet.GenFacades (1)
Microsoft.DotNet.Helix.Client (1)
Microsoft.DotNet.Helix.Sdk (1)
Microsoft.DotNet.Helix.Sdk.Tests (5)
Microsoft.DotNet.MSBuildSdkResolver (8)
Microsoft.DotNet.NuGetRepack.Tasks (1)
Microsoft.DotNet.PackageInstall.Tests (1)
Microsoft.DotNet.PackageTesting (2)
Microsoft.DotNet.PackageValidation (1)
Microsoft.DotNet.SharedFramework.Sdk (1)
Microsoft.DotNet.SignCheckLibrary (1)
Microsoft.DotNet.SignTool (8)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Microsoft.DotNet.TemplateLocator (6)
Microsoft.DotNet.VersionTools (7)
Microsoft.DotNet.XUnitExtensions (1)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.Abstractions (6)
Microsoft.Extensions.AI.Evaluation.Console (1)
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 (15)
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 (4)
Microsoft.ML.Data (53)
Microsoft.ML.EntryPoints (71)
CrossValidationMacro.cs (30)
183inputBindingMap.Add(nameof(splitArgs.Data), new List<ParameterBinding>() { paramBinding });
184inputMap.Add(paramBinding, inputData);
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 });
243inputMap.Add(trainingData, new ArrayIndexVariableBinding(splitOutputTrainData.VarName, k));
245inputBindingMap.Add(nameof(args.TestingData), new List<ParameterBinding> { testingData });
246inputMap.Add(testingData, new ArrayIndexVariableBinding(splitOutputTestData.VarName, k));
250outputMap.Add(nameof(TrainTestMacro.Output.PredictorModel), predModelVar.VarName);
261inputBindingMap.Add(nameof(combineModelsArgs.TransformModel), new List<ParameterBinding>() { paramBinding });
262inputMap.Add(paramBinding, inputTransformModel);
264inputBindingMap.Add(nameof(combineModelsArgs.PredictorModel), new List<ParameterBinding>() { paramBinding });
265inputMap.Add(paramBinding, inputPredictorModel);
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 });
323combineInputMap.Add(warningsArray, new SimpleVariableBinding(warningsArrayVar.VarName));
325combineInputBindingMap.Add(nameof(combineArgs.OverallMetrics), new List<ParameterBinding> { overallArray });
326combineInputMap.Add(overallArray, new SimpleVariableBinding(overallArrayVar.VarName));
328combineInputBindingMap.Add(nameof(combineArgs.PerInstanceMetrics), new List<ParameterBinding> { combinePerInstArray });
329combineInputMap.Add(combinePerInstArray, new SimpleVariableBinding(instanceArrayVar.VarName));
333combineInputBindingMap.Add(nameof(combineArgs.ConfusionMatrix), new List<ParameterBinding> { combineConfArray });
334combineInputMap.Add(combineConfArray, new SimpleVariableBinding(confusionMatrixArrayVar.VarName));
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 (29)
174inputBindingMap.Add(nameof(combineArgs.TransformModel), new List<ParameterBinding>() { paramBinding });
175inputMap.Add(paramBinding, inputTransformModel);
177inputBindingMap.Add(nameof(combineArgs.PredictorModel), new List<ParameterBinding>() { paramBinding });
178inputMap.Add(paramBinding, inputPredictorModel);
183outputMap.Add(nameof(ModelOperations.PredictorModelOutput.PredictorModel), combineNodeOutputPredictorModel.VarName);
194inputBindingMap.Add(nameof(args.Data), new List<ParameterBinding>() { paramBinding });
195inputMap.Add(paramBinding, testingVar);
198inputBindingMap.Add(nameof(args.PredictorModel), new List<ParameterBinding>() { paramBinding });
199inputMap.Add(paramBinding, scoreNodeInputPredictorModel);
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 });
229inputMap.Add(paramBinding, trainingVar);
232inputBindingMap.Add(nameof(args.PredictorModel), new List<ParameterBinding>() { paramBinding });
233inputMap.Add(paramBinding, scoreNodeInputPredictorModel);
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 });
253inputMap.Add(paramBinding, evalTrainingNodeInputData);
257outputMap.Add(nameof(CommonOutputs.ClassificationEvaluateOutput.Warnings), outTrainingVariableName);
259outputMap.Add(nameof(CommonOutputs.ClassificationEvaluateOutput.OverallMetrics), outTrainingVariableName);
261outputMap.Add(nameof(CommonOutputs.ClassificationEvaluateOutput.PerInstanceMetrics), outTrainingVariableName);
263outputMap.Add(nameof(CommonOutputs.ClassificationEvaluateOutput.ConfusionMatrix), outTrainingVariableName);
274inputBindingMap.Add(nameof(evalArgs.Data), new List<ParameterBinding>() { paramBinding });
275inputMap.Add(paramBinding, evalNodeInputData);
279outputMap.Add(nameof(CommonOutputs.ClassificationEvaluateOutput.Warnings), outVariableName);
281outputMap.Add(nameof(CommonOutputs.ClassificationEvaluateOutput.OverallMetrics), outVariableName);
283outputMap.Add(nameof(CommonOutputs.ClassificationEvaluateOutput.PerInstanceMetrics), outVariableName);
285outputMap.Add(nameof(CommonOutputs.ClassificationEvaluateOutput.ConfusionMatrix), outVariableName);
Microsoft.ML.Fairlearn (4)
Microsoft.ML.FastTree (10)
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 (11)
Microsoft.NET.Build.Containers (2)
Microsoft.NET.Build.Extensions.Tasks.UnitTests (2)
Microsoft.NET.Build.Tasks (18)
Microsoft.NET.Build.Tasks.UnitTests (3)
Microsoft.NET.Build.Tests (82)
GivenThatWeWantToBuildADesktopExe.cs (12)
415testProject.SourceFiles.Add("TestClass.cs", sourceFile);
965testProject.AdditionalProperties.Add("CopyDebugSymbolFilesFromPackages", "true");
966testProject.AdditionalProperties.Add("CopyDocumentationFilesFromPackages", "true");
970testProject.AdditionalProperties.Add("RestoreEnablePackagePruning", "false");
1004testProject.AdditionalProperties.Add("CopyDebugSymbolFilesFromPackages", enableCopyDebugSymbolFilesFromPackages);
1005testProject.AdditionalProperties.Add("CopyDocumentationFilesFromPackages", enableDocumentationFilesFromPackages);
1045consumerProject.AdditionalProperties.Add("CopyDebugSymbolFilesFromPackages", enableCopyDebugSymbolFilesFromPackages);
1046consumerProject.AdditionalProperties.Add("CopyDocumentationFilesFromPackages", enableDocumentationFilesFromPackages);
1081testProject.AdditionalProperties.Add("CopyDebugSymbolFilesFromPackages", enableCopyDebugSymbolFilesFromPackages);
1082testProject.AdditionalProperties.Add("CopyDocumentationFilesFromPackages", enableDocumentationFilesFromPackages);
1118testProject.AdditionalProperties.Add("PublishReferencesDocumentationFiles", "false");
1119testProject.AdditionalProperties.Add("CopyDocumentationFilesFromPackages", "true");
Microsoft.NET.Pack.Tests (3)
Microsoft.NET.Publish.Tests (27)
GivenThatWeWantToPublishASingleFileApp.cs (11)
100testProject.AdditionalProperties.Add("SelfContained", $"{true}");
551testProject.AdditionalProperties.Add("SelfContained", "true");
815testProject.AdditionalProperties.Add("SelfContained", $"{selfContained}");
853testProject.AdditionalProperties.Add("CetCompat", cetCompat.ToString());
890testProject.AdditionalProperties.Add("SelfContained", $"{selfContained}");
913testProject.AdditionalProperties.Add("EnableCompressionInSingleFile", "true");
935testProject.AdditionalProperties.Add("SelfContained", "false");
936testProject.AdditionalProperties.Add("EnableCompressionInSingleFile", "true");
1019testProject.AdditionalProperties.Add("SelfContained", "true");
1077testProject.AdditionalProperties.Add("SelfContained", "true");
1147testProject.AdditionalProperties.Add("SelfContained", "true");
Microsoft.NET.Restore.Tests (6)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (3)
Microsoft.NET.Sdk.Publish.Tasks (12)
Microsoft.NET.Sdk.Razor.Tests (1)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (17)
Microsoft.NET.Sdk.WorkloadManifestReader (6)
Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver (1)
Microsoft.NET.ToolPack.Tests (5)
Microsoft.TemplateEngine.Cli (3)
Microsoft.VisualBasic.Core (2)
Microsoft.VisualStudio.LanguageServices (19)
Microsoft.VisualStudio.LanguageServices.Implementation (3)
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Microsoft.WebTools.AspireService.Tests (1)
MSBuild (3)
MSBuildTaskHost (10)
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)
rzc (5)
Sample (60)
artifacts\obj\Sample\Release\net10.0\generated\Microsoft.AspNetCore.OpenApi.SourceGenerators\Microsoft.AspNetCore.OpenApi.SourceGenerators.XmlCommentGenerator\OpenApiXmlCommentSupport.generated.cs (60)
73cache.Add(@"T:XmlEndpointExtensions.TodoFomInterface", new XmlComment(@"This is a todo item.", null, null, null, null, false, null, null, null));
74cache.Add(@"T:XmlEndpointExtensions.Project", new XmlComment(@"The project that contains Todo items.", null, null, null, null, false, null, null, null));
75cache.Add(@"T:XmlEndpointExtensions.ProjectBoard.BoardItem", new XmlComment(@"An item on the board.", null, null, null, null, false, null, null, null));
76cache.Add(@"T:XmlEndpointExtensions.ProjectRecord", new XmlComment(@"The project that contains Todo items.", null, null, null, null, false, null, [new XmlParameterComment(@"Name", @"The name of the project.", null, false), new XmlParameterComment(@"Description", @"The description of the project.", null, false)], null));
77cache.Add(@"T:Todo", new XmlComment(@"Represents a to-do item.", null, null, null, null, false, null, [new XmlParameterComment(@"Id", @"The unique identifier of the to-do item.", null, false), new XmlParameterComment(@"Title", @"The title of the to-do item.", null, false), new XmlParameterComment(@"Completed", @"Indicates whether the to-do item is completed.", null, false), new XmlParameterComment(@"CreatedAt", @"The date and time when the to-do item was created.", null, false)], null));
78cache.Add(@"T:TodoWithDueDate", new XmlComment(@"Represents a to-do item with a due date.", null, null, null, null, false, null, [new XmlParameterComment(@"Id", @"The unique identifier of the to-do item.", null, false), new XmlParameterComment(@"Title", @"The title of the to-do item.", null, false), new XmlParameterComment(@"Completed", @"Indicates whether the to-do item is completed.", null, false), new XmlParameterComment(@"CreatedAt", @"The date and time when the to-do item was created.", null, false), new XmlParameterComment(@"DueDate", @"The due date of the to-do item.", null, false)], null));
79cache.Add(@"T:Error", new XmlComment(@"Represents an error.", null, null, null, null, false, null, [new XmlParameterComment(@"Code", @"The error code.", null, false), new XmlParameterComment(@"Message", @"The error message.", null, false)], null));
80cache.Add(@"T:ResumeUpload", new XmlComment(@"Represents a resume upload.", null, null, null, null, false, null, [new XmlParameterComment(@"Name", @"The name of the resume.", null, false), new XmlParameterComment(@"Description", @"The description of the resume.", null, false), new XmlParameterComment(@"Resume", @"The resume file.", null, false)], null));
81cache.Add(@"T:Result`1", new XmlComment(@"Represents a result of an operation.", null, null, null, null, false, null, [new XmlParameterComment(@"IsSuccessful", @"Indicates whether the operation was successful.", null, false), new XmlParameterComment(@"Value", @"The value of the result.", null, false), new XmlParameterComment(@"Error", @"The error associated with the result, if any.", null, false)], null));
82cache.Add(@"T:Vehicle", new XmlComment(@"Represents a vehicle.", null, null, null, null, false, null, null, null));
83cache.Add(@"T:Car", new XmlComment(@"Represents a car.", null, null, null, null, false, null, null, null));
84cache.Add(@"T:Boat", new XmlComment(@"Represents a boat.", null, null, null, null, false, null, null, null));
85cache.Add(@"T:Status", new XmlComment(@"Represents the status of an operation.", null, null, null, null, false, null, null, null));
86cache.Add(@"T:Proposal", new XmlComment(@"Represents a proposal.", null, null, null, null, false, null, null, null));
87cache.Add(@"T:PaginatedItems`1", new XmlComment(@"Represents a paginated collection of items.", null, null, null, null, false, null, [new XmlParameterComment(@"pageIndex", @"The current page index (zero-based).", null, false), new XmlParameterComment(@"pageSize", @"The number of items per page.", null, false), new XmlParameterComment(@"totalItems", @"The total number of items in the collection.", null, false), new XmlParameterComment(@"totalPages", @"The total number of pages available.", null, false), new XmlParameterComment(@"items", @"The collection of items for the current page.", null, false)], null));
88cache.Add(@"P:XmlEndpointExtensions.TypeWithExamples.BooleanType", new XmlComment(null, null, null, null, null, false, [@"true"], null, null));
89cache.Add(@"P:XmlEndpointExtensions.TypeWithExamples.IntegerType", new XmlComment(null, null, null, null, null, false, [@"42"], null, null));
90cache.Add(@"P:XmlEndpointExtensions.TypeWithExamples.LongType", new XmlComment(null, null, null, null, null, false, [@"1234567890123456789"], null, null));
91cache.Add(@"P:XmlEndpointExtensions.TypeWithExamples.DoubleType", new XmlComment(null, null, null, null, null, false, [@"3.14"], null, null));
92cache.Add(@"P:XmlEndpointExtensions.TypeWithExamples.FloatType", new XmlComment(null, null, null, null, null, false, [@"3.14"], null, null));
93cache.Add(@"P:XmlEndpointExtensions.TypeWithExamples.DateTimeType", new XmlComment(null, null, null, null, null, false, [@"2022-01-01T00:00:00Z"], null, null));
94cache.Add(@"P:XmlEndpointExtensions.TypeWithExamples.DateOnlyType", new XmlComment(null, null, null, null, null, false, [@"2022-01-01"], null, null));
95cache.Add(@"P:XmlEndpointExtensions.ITodo.Id", new XmlComment(@"The identifier of the todo.", null, null, null, null, false, null, null, null));
96cache.Add(@"P:XmlEndpointExtensions.ITodo.Name", new XmlComment(null, null, null, null, @"The name of the todo.", false, null, null, null));
97cache.Add(@"P:XmlEndpointExtensions.TodoFomInterface.Id", new XmlComment(@"The identifier of the todo.", null, null, null, null, false, null, null, null));
98cache.Add(@"P:XmlEndpointExtensions.TodoFomInterface.Name", new XmlComment(null, null, null, null, @"The name of the todo.", false, null, null, null));
99cache.Add(@"P:XmlEndpointExtensions.TodoFomInterface.Description", new XmlComment(@"A description of the todo.", null, null, null, null, false, null, null, null));
100cache.Add(@"P:XmlEndpointExtensions.ProjectRecord.Name", new XmlComment(@"The name of the project.", null, null, null, null, false, null, null, null));
101cache.Add(@"P:XmlEndpointExtensions.ProjectRecord.Description", new XmlComment(@"The description of the project.", null, null, null, null, false, null, null, null));
102cache.Add(@"P:XmlEndpointExtensions.TodoWithDescription.Id", new XmlComment(@"The identifier of the todo, overridden.", null, null, null, null, false, null, null, null));
103cache.Add(@"P:XmlEndpointExtensions.TodoWithDescription.Name", new XmlComment(null, null, null, null, @"The name of the todo, overridden.", false, null, null, null));
104cache.Add(@"P:XmlEndpointExtensions.TodoWithDescription.Description", new XmlComment(@"A description of the the todo.", null, null, null, @"Another description of the todo.", false, null, null, null));
105cache.Add(@"P:Todo.Id", new XmlComment(@"The unique identifier of the to-do item.", null, null, null, null, false, null, null, null));
106cache.Add(@"P:Todo.Title", new XmlComment(@"The title of the to-do item.", null, null, null, null, false, null, null, null));
107cache.Add(@"P:Todo.Completed", new XmlComment(@"Indicates whether the to-do item is completed.", null, null, null, null, false, null, null, null));
108cache.Add(@"P:Todo.CreatedAt", new XmlComment(@"The date and time when the to-do item was created.", null, null, null, null, false, null, null, null));
109cache.Add(@"P:TodoWithDueDate.DueDate", new XmlComment(@"The due date of the to-do item.", null, null, null, null, false, null, null, null));
110cache.Add(@"P:Error.Code", new XmlComment(@"The error code.", null, null, null, null, false, null, null, null));
111cache.Add(@"P:Error.Message", new XmlComment(@"The error message.", null, null, null, null, false, null, null, null));
112cache.Add(@"P:ResumeUpload.Name", new XmlComment(@"The name of the resume.", null, null, null, null, false, null, null, null));
113cache.Add(@"P:ResumeUpload.Description", new XmlComment(@"The description of the resume.", null, null, null, null, false, null, null, null));
114cache.Add(@"P:ResumeUpload.Resume", new XmlComment(@"The resume file.", null, null, null, null, false, null, null, null));
115cache.Add(@"P:Result`1.IsSuccessful", new XmlComment(@"Indicates whether the operation was successful.", null, null, null, null, false, null, null, null));
116cache.Add(@"P:Result`1.Value", new XmlComment(@"The value of the result.", null, null, null, null, false, null, null, null));
117cache.Add(@"P:Result`1.Error", new XmlComment(@"The error associated with the result, if any.", null, null, null, null, false, null, null, null));
118cache.Add(@"P:Vehicle.Wheels", new XmlComment(@"Gets or sets the number of wheels.", null, null, null, null, false, null, null, null));
119cache.Add(@"P:Vehicle.Make", new XmlComment(@"Gets or sets the make of the vehicle.", null, null, null, null, false, null, null, null));
120cache.Add(@"P:Car.Doors", new XmlComment(@"Gets or sets the number of doors.", null, null, null, null, false, null, null, null));
121cache.Add(@"P:Boat.Length", new XmlComment(@"Gets or sets the length of the boat.", null, null, null, null, false, null, null, null));
122cache.Add(@"P:Proposal.ProposalElement", new XmlComment(@"Gets or sets the proposal element.", null, null, null, null, false, null, null, null));
123cache.Add(@"P:Proposal.Stream", new XmlComment(@"Gets or sets the stream associated with the proposal.", null, null, null, null, false, null, null, null));
124cache.Add(@"P:PaginatedItems`1.PageIndex", new XmlComment(@"Gets or sets the current page index (zero-based).", null, null, null, null, false, null, null, null));
125cache.Add(@"P:PaginatedItems`1.PageSize", new XmlComment(@"Gets or sets the number of items per page.", null, null, null, null, false, null, null, null));
126cache.Add(@"P:PaginatedItems`1.TotalItems", new XmlComment(@"Gets or sets the total number of items in the collection.", null, null, null, null, false, null, null, null));
127cache.Add(@"P:PaginatedItems`1.TotalPages", new XmlComment(@"Gets or sets the total number of pages available.", null, null, null, null, false, null, null, null));
128cache.Add(@"P:PaginatedItems`1.Items", new XmlComment(@"Gets or sets the collection of items for the current page.", null, null, null, null, false, null, null, null));
129cache.Add(@"M:XmlController.Get", new XmlComment(@"A summary of the action.", @"A description of the action.", null, null, null, false, null, null, null));
130cache.Add(@"M:XmlController.Get1(System.String)", new XmlComment(null, null, null, null, null, false, null, [new XmlParameterComment(@"name", @"The name of the person.", null, false)], [new XmlResponseComment(@"200", @"Returns the greeting.", @"")]));
131cache.Add(@"M:XmlController.Post(XmlController.Todo)", new XmlComment(null, null, null, null, null, false, null, [new XmlParameterComment(@"todo", @"The todo to insert into the database.", null, false)], null));
132cache.Add(@"M:OpenApiEndpointRouteBuilderExtensions.MapSwaggerUi(Microsoft.AspNetCore.Routing.IEndpointRouteBuilder)", new XmlComment(@"Helper method to render Swagger UI view for testing.", null, null, null, null, false, null, null, null));
sdk-tasks (1)
Shared (2)
Shared.Tests (2)
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)
197previousCollectionTypes.Add(dataContract.OriginalUnderlyingType, dataContract.OriginalUnderlyingType);
231knownDataContracts.Add(dataContract.XmlName, dataContract);
245schemaObjects.Add(SchemaExporter.AnytypeQualifiedName, new SchemaObjectInfo(null, null, null, knownTypesForObject));
266schemaObjects.Add(currentTypeName, new SchemaObjectInfo(schemaType, null, schema, null));
280schemaObjects.Add(baseTypeName, baseTypeInfo);
299schemaObjects.Add(currentElementName, new SchemaObjectInfo(null, schemaElement, schema, null));
912knownDataContracts.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)
306table.Add("current", new FunctionInfo(FuncId.Current, 0, 0, null));
307table.Add("document", new FunctionInfo(FuncId.Document, 1, 2, s_argFnDocument));
308table.Add("key", new FunctionInfo(FuncId.Key, 2, 2, s_argFnKey));
309table.Add("format-number", new FunctionInfo(FuncId.FormatNumber, 2, 3, s_argFnFormatNumber));
310table.Add("unparsed-entity-uri", new FunctionInfo(FuncId.UnparsedEntityUri, 1, 1, XPathBuilder.argString));
311table.Add("generate-id", new FunctionInfo(FuncId.GenerateId, 0, 1, XPathBuilder.argNodeSet));
312table.Add("system-property", new FunctionInfo(FuncId.SystemProperty, 1, 1, XPathBuilder.argString));
313table.Add("element-available", new FunctionInfo(FuncId.ElementAvailable, 1, 1, XPathBuilder.argString));
314table.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)
57ht.Add("SHA", OID_OIWSEC_SHA1);
58ht.Add("SHA1", OID_OIWSEC_SHA1);
59ht.Add("System.Security.Cryptography.SHA1", OID_OIWSEC_SHA1);
60ht.Add("System.Security.Cryptography.SHA1CryptoServiceProvider", OID_OIWSEC_SHA1);
61ht.Add("System.Security.Cryptography.SHA1Cng", OID_OIWSEC_SHA1);
62ht.Add("System.Security.Cryptography.SHA1Managed", OID_OIWSEC_SHA1);
64ht.Add("SHA256", OID_OIWSEC_SHA256);
65ht.Add("System.Security.Cryptography.SHA256", OID_OIWSEC_SHA256);
66ht.Add("System.Security.Cryptography.SHA256CryptoServiceProvider", OID_OIWSEC_SHA256);
67ht.Add("System.Security.Cryptography.SHA256Cng", OID_OIWSEC_SHA256);
68ht.Add("System.Security.Cryptography.SHA256Managed", OID_OIWSEC_SHA256);
70ht.Add("SHA384", OID_OIWSEC_SHA384);
71ht.Add("System.Security.Cryptography.SHA384", OID_OIWSEC_SHA384);
72ht.Add("System.Security.Cryptography.SHA384CryptoServiceProvider", OID_OIWSEC_SHA384);
73ht.Add("System.Security.Cryptography.SHA384Cng", OID_OIWSEC_SHA384);
74ht.Add("System.Security.Cryptography.SHA384Managed", OID_OIWSEC_SHA384);
76ht.Add("SHA512", OID_OIWSEC_SHA512);
77ht.Add("System.Security.Cryptography.SHA512", OID_OIWSEC_SHA512);
78ht.Add("System.Security.Cryptography.SHA512CryptoServiceProvider", OID_OIWSEC_SHA512);
79ht.Add("System.Security.Cryptography.SHA512Cng", OID_OIWSEC_SHA512);
80ht.Add("System.Security.Cryptography.SHA512Managed", OID_OIWSEC_SHA512);
82ht.Add("RIPEMD160", OID_OIWSEC_RIPEMD160);
83ht.Add("System.Security.Cryptography.RIPEMD160", OID_OIWSEC_RIPEMD160);
84ht.Add("System.Security.Cryptography.RIPEMD160Managed", OID_OIWSEC_RIPEMD160);
86ht.Add("MD5", OID_RSA_MD5);
87ht.Add("System.Security.Cryptography.MD5", OID_RSA_MD5);
88ht.Add("System.Security.Cryptography.MD5CryptoServiceProvider", OID_RSA_MD5);
89ht.Add("System.Security.Cryptography.MD5Managed", OID_RSA_MD5);
91ht.Add("TripleDESKeyWrap", OID_RSA_SMIMEalgCMS3DESwrap);
93ht.Add("RC2", OID_RSA_RC2CBC);
94ht.Add("System.Security.Cryptography.RC2CryptoServiceProvider", OID_RSA_RC2CBC);
96ht.Add("DES", OID_OIWSEC_desCBC);
97ht.Add("System.Security.Cryptography.DESCryptoServiceProvider", OID_OIWSEC_desCBC);
99ht.Add("TripleDES", OID_RSA_DES_EDE3_CBC);
100ht.Add("System.Security.Cryptography.TripleDESCryptoServiceProvider", OID_RSA_DES_EDE3_CBC);
150ht.Add("RandomNumberGenerator", RNGCryptoServiceProviderType);
151ht.Add("System.Security.Cryptography.RandomNumberGenerator", RNGCryptoServiceProviderType);
154ht.Add("SHA", SHA1CryptoServiceProviderType);
155ht.Add("SHA1", SHA1CryptoServiceProviderType);
156ht.Add("System.Security.Cryptography.SHA1", SHA1CryptoServiceProviderType);
157ht.Add("System.Security.Cryptography.HashAlgorithm", SHA1CryptoServiceProviderType);
159ht.Add("MD5", MD5CryptoServiceProviderType);
160ht.Add("System.Security.Cryptography.MD5", MD5CryptoServiceProviderType);
162ht.Add("SHA256", SHA256DefaultType);
163ht.Add("SHA-256", SHA256DefaultType);
164ht.Add("System.Security.Cryptography.SHA256", SHA256DefaultType);
166ht.Add("SHA384", SHA384DefaultType);
167ht.Add("SHA-384", SHA384DefaultType);
168ht.Add("System.Security.Cryptography.SHA384", SHA384DefaultType);
170ht.Add("SHA512", SHA512DefaultType);
171ht.Add("SHA-512", SHA512DefaultType);
172ht.Add("System.Security.Cryptography.SHA512", SHA512DefaultType);
175ht.Add("System.Security.Cryptography.HMAC", HMACSHA1Type);
176ht.Add("System.Security.Cryptography.KeyedHashAlgorithm", HMACSHA1Type);
177ht.Add("HMACMD5", HMACMD5Type);
178ht.Add("System.Security.Cryptography.HMACMD5", HMACMD5Type);
179ht.Add("HMACSHA1", HMACSHA1Type);
180ht.Add("System.Security.Cryptography.HMACSHA1", HMACSHA1Type);
181ht.Add("HMACSHA256", HMACSHA256Type);
182ht.Add("System.Security.Cryptography.HMACSHA256", HMACSHA256Type);
183ht.Add("HMACSHA384", HMACSHA384Type);
184ht.Add("System.Security.Cryptography.HMACSHA384", HMACSHA384Type);
185ht.Add("HMACSHA512", HMACSHA512Type);
186ht.Add("System.Security.Cryptography.HMACSHA512", HMACSHA512Type);
189ht.Add("RSA", RSACryptoServiceProviderType);
190ht.Add("System.Security.Cryptography.RSA", RSACryptoServiceProviderType);
191ht.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 (47)
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.Primitives (35)
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 (20)
RegexGenerator.Emitter.cs (18)
271requiredHelpers.Add(DefaultTimeoutHelpers,
346requiredHelpers.Add(WordCharHelpersSupport,
374requiredHelpers.Add(IsWordChar,
398requiredHelpers.Add(IsBoundaryWordChar,
422requiredHelpers.Add(IsECMABoundaryWordChar,
439requiredHelpers.Add(IsBoundary,
461requiredHelpers.Add(IsPreWordCharBoundary,
483requiredHelpers.Add(IsPostWordCharBoundary,
502requiredHelpers.Add(IsECMABoundary,
620requiredHelpers.Add(fieldName,
744requiredHelpers.Add(helperName, lines.ToArray());
1183requiredHelpers.Add(fieldName,
1240requiredHelpers.Add(fieldName,
4807additionalLocalFunctions.Add(UncaptureUntil,
4866requiredHelpers.Add(key, lines);
4903requiredHelpers.Add(key, lines);
4952requiredHelpers.Add(MethodName,
4980requiredHelpers.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 (4)
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 (13)
Text.Analyzers (44)
VBCSCompiler.UnitTests (1)
WindowsFormsIntegration (74)
XmlFileLogger (2)
XmlFormattersWebSite (4)
xunit.console (8)