Implemented interface members:
75 writes to
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
364projectDiagnosticBuilder[task.Key] = result;
Microsoft.Build (12)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (1)
121activeSectionProperties[key] = value ?? "";
Graph\GraphBuilder.cs (11)
288solutionGlobalPropertiesBuilder["Configuration"] = currentSolutionConfiguration.ConfigurationName; 289solutionGlobalPropertiesBuilder["Platform"] = currentSolutionConfiguration.PlatformName; 292solutionGlobalPropertiesBuilder["CurrentSolutionConfigurationContents"] = solutionConfigurationXml; 293solutionGlobalPropertiesBuilder["BuildingSolutionFile"] = "true"; 301solutionGlobalPropertiesBuilder["SolutionDir"] = EscapingUtilities.Escape(solutionDirectoryName); 302solutionGlobalPropertiesBuilder["SolutionExt"] = EscapingUtilities.Escape(Path.GetExtension(Solution.FullPath)); 303solutionGlobalPropertiesBuilder["SolutionFileName"] = EscapingUtilities.Escape(Path.GetFileName(Solution.FullPath)); 304solutionGlobalPropertiesBuilder["SolutionName"] = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(Solution.FullPath)); 305solutionGlobalPropertiesBuilder[SolutionProjectGenerator.SolutionPathPropertyName] = EscapingUtilities.Escape(Path.Combine(Solution.SolutionFileDirectory, Path.GetFileName(Solution.FullPath))); 330solutionGlobalPropertiesBuilder["Configuration"] = projectConfiguration.ConfigurationName; 331solutionGlobalPropertiesBuilder["Platform"] = projectConfiguration.PlatformName;
Microsoft.CodeAnalysis (13)
CommandLine\AnalyzerConfig.cs (1)
251activeSectionProperties[key] = value ?? "";
CommandLine\AnalyzerConfigSet.cs (4)
428treeBuilder[diagId] = severity; 442analyzerBuilder[key] = value; 597sectionDict[key] = (value, configPath, globalLevel); 615duplicateDict[key] = (globalLevel, configList);
DiagnosticAnalyzer\AnalysisResultBuilder.cs (1)
88builder[path] = value;
Emit\CommonPEModuleBuilder.cs (1)
1010builder[hotReloadException.ContainingNamespace] = existingTypes.Add(hotReloadException);
RuleSet\RuleSet.cs (1)
93specificOptions[item.Key] = action;
SourceGeneration\SyntaxStore.cs (5)
74_syntaxTimes[node] = TimeSpan.Zero; 81_syntaxTimes[syntaxInputNode] = TimeSpan.Zero; 109_syntaxTimes[syntaxInputNode] = _syntaxTimes[syntaxInputNode].Subtract(elapsed); 110_syntaxTimes[currentNode] = _syntaxTimes[currentNode].Add(elapsed); 119_syntaxExceptions[currentNode] = ufe;
Microsoft.CodeAnalysis.CodeStyle (9)
src\Analyzers\Core\Analyzers\NamingStyle\NamingStyleDiagnosticAnalyzerBase.cs (3)
165builder[nameof(NamingStyle)] = applicableRule.NamingStyle.CreateXElement().ToString(); 166builder["OptionName"] = nameof(NamingStyleOptions.NamingPreferences); 167builder["OptionLanguage"] = compilation.Language;
src\Analyzers\Core\Analyzers\SimplifyTypeNames\SimplifyTypeNamesDiagnosticAnalyzerBase.cs (2)
165builder["OptionName"] = nameof(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess); // TODO: need the actual one 166builder["OptionLanguage"] = model.Language;
src\Analyzers\Core\Analyzers\UseCompoundAssignment\UseCompoundAssignmentUtilities.cs (2)
29binaryToAssignmentBuilder[exprKind] = assignmentKind; 30assignmentToTokenBuilder[assignmentKind] = tokenKind;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
101activeSectionProperties[key] = (string.Empty, null); 105activeSectionProperties[key] = (value, textLine);
Microsoft.CodeAnalysis.CSharp (3)
Compilation\SyntaxAndDeclarationManager.cs (1)
575loadDirectiveMapBuilder[newTree] = oldLoadDirectives;
FlowAnalysis\NullableWalker.cs (1)
402_analyzedNullabilityMapOpt[expr] = (new NullabilityInfo(result.LValueType.ToPublicAnnotation(), result.RValueType.State.ToPublicFlowState()),
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
225_updatedSymbolMap[GetKey(node, originalSymbol)] = updatedSymbol;
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (4)
PDB\MethodDebugInfo.Native.cs (2)
424localBuilder[slot] = flags; 496constantBuilder[localAndScope] = elementNames;
PDB\MethodDebugInfo.Portable.cs (2)
188lazyDynamicLocalsBuilder[variable.Index] = dynamicFlags; 195lazyTupleLocalsBuilder[variable.Index] = tupleElementNames;
Microsoft.CodeAnalysis.Features (22)
Completion\CompletionService.ProviderManager.cs (2)
54builder[lazyImportedProvider.Value.Name] = lazyImportedProvider.Value; 59builder[builtinProvider.Name] = builtinProvider;
ConvertAnonymousType\AbstractConvertAnonymousTypeToClassCodeRefactoringProvider.cs (1)
336builder[originalProperty] = newProperty.Name;
GenerateType\AbstractGenerateTypeService.Editor.cs (2)
604parameterToFieldMap[parameterName.BestNameForParameter] = symbol; 611parameterToNewFieldMap[parameterName.BestNameForParameter] = nameToUse;
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (1)
128definitionToBackingField[property] = backingField;
SimplifyThisOrMe\AbstractSimplifyThisOrMeDiagnosticAnalyzer.cs (2)
72builder["OptionName"] = nameof(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration); 73builder["OptionLanguage"] = semanticModel.Language;
src\Analyzers\Core\Analyzers\NamingStyle\NamingStyleDiagnosticAnalyzerBase.cs (3)
165builder[nameof(NamingStyle)] = applicableRule.NamingStyle.CreateXElement().ToString(); 166builder["OptionName"] = nameof(NamingStyleOptions.NamingPreferences); 167builder["OptionLanguage"] = compilation.Language;
src\Analyzers\Core\Analyzers\SimplifyTypeNames\SimplifyTypeNamesDiagnosticAnalyzerBase.cs (2)
165builder["OptionName"] = nameof(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess); // TODO: need the actual one 166builder["OptionLanguage"] = model.Language;
src\Analyzers\Core\Analyzers\UseCompoundAssignment\UseCompoundAssignmentUtilities.cs (2)
29binaryToAssignmentBuilder[exprKind] = assignmentKind; 30assignmentToTokenBuilder[assignmentKind] = tokenKind;
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (7)
481parameterToExistingMemberMap[parameterName.BestNameForParameter] = symbol; 500parameterToNewFieldMap[parameterName.NameBasedOnArgument] = newFieldName; 501parameterToNewPropertyMap[parameterName.NameBasedOnArgument] = newPropertyName; 511parameterToNewFieldMap[newParameterName.BestNameForParameter] = newFieldName; 512parameterToNewPropertyMap[newParameterName.BestNameForParameter] = newPropertyName; 522parameterToNewFieldMap[bestNameForParameter] = _fieldNamingRule.NamingStyle.MakeCompliant(nameBasedOnArgument).First(); 523parameterToNewPropertyMap[bestNameForParameter] = _propertyNamingRule.NamingStyle.MakeCompliant(nameBasedOnArgument).First();
Microsoft.CodeAnalysis.Scripting (1)
Hosting\Resolvers\RuntimeMetadataReferenceResolver.cs (1)
225set[fileName] = path;
Microsoft.CodeAnalysis.Workspaces (7)
Diagnostics\HostDiagnosticAnalyzers.cs (1)
110builder[displayName] = existing.AddRange(descriptors);
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex.ExtensionMethodInfo.cs (1)
65receiverTypeNameToExtensionMethodMapBuilder[reader.ReadRequiredString()] = reader.ReadArray(static r => r.ReadInt32());
Rename\ConflictResolution.cs (1)
109result[oldSpan] = newSpan;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
101activeSectionProperties[key] = (string.Empty, null); 105activeSectionProperties[key] = (value, textLine);
Workspace\Solution\ProjectDependencyGraph_AddProjectReference.cs (2)
138builder[projectIdToUpdate] = existingTransitiveReferences.Union(newTransitiveReferences); 186builder[projectIdToUpdate] = existingReverseTransitiveReferences.Union(newReverseTranstiveReferences);
Microsoft.VisualStudio.LanguageServices (3)
CodeLens\CodeLensCallbackListener.cs (1)
72builder[projectGuid] = projectVersion.ToString();
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (2)
476builder[diagnosticData.DocumentId] = diagnosticsPerDocument; 568builder[diagnosticData.ProjectId] = diagnosticsPerProject;
5 references to
Microsoft.CodeAnalysis (4)
CommandLine\AnalyzerConfigSet.cs (1)
556var dict = _values[sectionName];
SourceGeneration\SyntaxStore.cs (3)
109_syntaxTimes[syntaxInputNode] = _syntaxTimes[syntaxInputNode].Subtract(elapsed); 110_syntaxTimes[currentNode] = _syntaxTimes[currentNode].Add(elapsed); 139throw _syntaxExceptions[syntaxInputNode];
Microsoft.CodeAnalysis.CSharp (1)
Compilation\SyntaxAndDeclarationManager.cs (1)
610var previousRootNamespaceDeclaration = declMapBuilder[oldTree];