Implemented interface member:
555 references to
AnalyzerRunner (3)
CodeRefactoringRunner.cs (2)
77var syntaxKinds = _syntaxKinds[document.Project.Language]; 86foreach (var refactoringProvider in _refactorings[document.Project.Language])
DiagnosticAnalyzerRunner.cs (1)
360result.AnalyzerTelemetryInfo[pair.Key].ExecutionTime += pair.Value.ExecutionTime;
ILLink.CodeFixProvider (1)
DynamicallyAccessedMembersCodeFixProvider.cs (1)
105 if (diagnostic.Properties["attributeArgument"] is not string stringArgs || stringArgs.Contains (","))
Microsoft.AspNetCore.App.Analyzers (6)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (3)
80var startString = item.Properties[StartKey]; 81var lengthString = item.Properties[LengthKey]; 82var newText = item.Properties[NewTextKey];
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (3)
74var startString = item.Properties[StartKey]; 75var lengthString = item.Properties[LengthKey]; 76var newText = item.Properties[NewTextKey];
Microsoft.AspNetCore.App.CodeFixes (4)
RouteParameterUnusedParameterFixer.cs (4)
76var routeParameterName = diagnostic.Properties["RouteParameterName"]; 77var routeParameterPolicy = diagnostic.Properties["RouteParameterPolicy"]; 78var routeParameterIsOptional = Convert.ToBoolean(diagnostic.Properties["RouteParameterIsOptional"], CultureInfo.InvariantCulture); 79var routeParameterInsertIndex = Convert.ToInt32(diagnostic.Properties["RouteParameterInsertIndex"], CultureInfo.InvariantCulture);
Microsoft.Build (1)
CopyOnWriteDictionary.cs (1)
180get => _backing[key];
Microsoft.Build.BuildCheck.UnitTests (4)
EditorConfigParser_Tests.cs (4)
89listOfEditorConfigFile[0].NamedSections[0].Properties["test_key"].ShouldBe("test_value_updated"); 138csSection.Properties["indent_style"].ShouldBe("space"); 139csSection.Properties["indent_size"].ShouldBe("4"); 144mdSection.Properties["trim_trailing_whitespace"].ShouldBe("true");
Microsoft.Build.Tasks.Core (1)
CopyOnWriteDictionary.cs (1)
180get => _backing[key];
Microsoft.Build.Utilities.Core (1)
CopyOnWriteDictionary.cs (1)
180get => _backing[key];
Microsoft.CodeAnalysis (3)
Compilation\DeterministicKeyBuilder.cs (1)
466writer.Write(key, options.SpecificDiagnosticOptions[key]);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
737Func<DiagnosticAnalyzer, AnalyzerActionCounts> getAnalyzerActionCounts = analyzer => analyzerActionCounts[analyzer]; 862if (analyzerActionCounts[analyzer].SymbolStartActionsCount > 0)
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferencesEditorConfigSerializer.cs (4)
112entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.required_prefix", namingStyle.Prefix); 113entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.required_suffix", namingStyle.Suffix); 114entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.word_separator", namingStyle.WordSeparator); 115entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.capitalization", namingStyle.CapitalizationScheme.ToEditorConfigString());
Microsoft.CodeAnalysis.CodeStyle.Fixes (15)
src\Analyzers\Core\CodeFixes\AddRequiredParentheses\AddRequiredParenthesesCodeFixProvider.cs (2)
28diagnostic.Properties[AddRequiredParenthesesConstants.EquivalenceKey] == equivalenceKey; 37firstDiagnostic.Properties[AddRequiredParenthesesConstants.EquivalenceKey]!),
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (2)
45Debug.Assert(diagnostics.Select(diagnostic => diagnostic.Properties[MatchFolderAndNamespaceConstants.TargetNamespace]).Distinct().Count() == 1); 47var targetNamespace = diagnostics.First().Properties[MatchFolderAndNamespaceConstants.TargetNamespace];
src\Analyzers\Core\CodeFixes\NamingStyle\NamingStyleCodeFixProvider.cs (1)
49var serializedNamingStyle = diagnostic.Properties[nameof(NamingStyle)];
src\Analyzers\Core\CodeFixes\PopulateSwitch\AbstractPopulateSwitchCodeFixProvider.cs (4)
59var missingCases = bool.Parse(properties[PopulateSwitchStatementHelpers.MissingCases]!); 60var missingDefaultCase = bool.Parse(properties[PopulateSwitchStatementHelpers.MissingDefaultCase]!); 141var hasMissingCases = bool.Parse(diagnostic.Properties[PopulateSwitchStatementHelpers.MissingCases]!); 142var hasMissingDefaultCase = bool.Parse(diagnostic.Properties[PopulateSwitchStatementHelpers.MissingDefaultCase]!);
src\Analyzers\Core\CodeFixes\RemoveRedundantEquality\RemoveRedundantEqualityCodeFixProvider.cs (2)
55properties[RedundantEqualityConstants.RedundantSide] == RedundantEqualityConstants.Right ? left : 56properties[RedundantEqualityConstants.RedundantSide] == RedundantEqualityConstants.Left ? right : node;
src\Analyzers\Core\CodeFixes\UpdateLegacySuppressions\UpdateLegacySuppressionsCodeFixProvider.cs (1)
46var newDocCommentId = diagnostic.Properties[AbstractRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.DocCommentIdKey];
src\Analyzers\Core\CodeFixes\UseCompoundAssignment\AbstractUseCompoundAssignmentCodeFixProvider.cs (1)
85var compoundOperator = Token(_assignmentToTokenMap[assignmentOpKind]);
src\Analyzers\Core\CodeFixes\UseExplicitTupleName\UseExplicitTupleNameCodeFixProvider.cs (1)
45var preferredName = diagnostic.Properties[nameof(UseExplicitTupleNameDiagnosticAnalyzer.ElementName)];
src\Analyzers\Core\CodeFixes\UseIsNullCheck\AbstractUseIsNullForReferenceEqualsCodeFixProvider.cs (1)
33=> diagnostic.Properties[UseIsNullConstants.Kind] == UseIsNullConstants.ReferenceEqualsKey;
Microsoft.CodeAnalysis.CSharp (7)
Binder\DecisionDagBuilder.cs (1)
1486var lengthValues = (IValueSet<int>)state.RemainingValues[s1LengthTemp];
Compilation\CSharpCompilation.cs (1)
1041return _syntaxAndDeclarations.GetLazyState().OrdinalMap[tree];
Compilation\SyntaxAndDeclarationManager.cs (2)
411var ordinal = syntaxTreeOrdinalMap[oldTree]; 513var oldOrdinal = ordinalMap[oldTree];
Compilation\SyntaxAndDeclarationManager.LazyState.cs (1)
55Debug.Assert(syntaxTrees.All(tree => syntaxTrees[syntaxTreeOrdinalMap[tree]] == tree));
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (1)
134sectionBuilder.AddRange(switchSections[section.Syntax]);
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
95sectionBuilder.AddRange(switchSections[arm.Syntax]);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.cs (2)
70var nodeToGenerate = (SyntaxKind)int.Parse(properties[Constants.NodeToGenerateKey]!); 71var shouldRemoveNextStatement = bool.Parse(properties[Constants.ShouldRemoveNextStatementKey]!);
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
215.OrderBy(property => parameters.IndexOf(assignmentValues[property]))
src\Analyzers\CSharp\CodeFixes\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessCodeFixProvider.cs (2)
60if (diagnostic.Properties[Constants.Kind] == Constants.VariableAndIfStatementForm) 66Debug.Assert(diagnostic.Properties[Constants.Kind] == Constants.SingleIfStatementForm);
src\Analyzers\CSharp\CodeFixes\UseIsNullCheck\CSharpUseIsNullCheckForCastAndEqualityOperatorCodeFixProvider.cs (1)
35=> diagnostic.Properties[UseIsNullConstants.Kind] == UseIsNullConstants.CastAndEqualityKey;
src\Analyzers\CSharp\CodeFixes\UseNameofInAttribute\CSharpUseNameofInAttributeCodeFixProvider.cs (1)
45var name = diagnostic.Properties[CSharpUseNameofInAttributeDiagnosticAnalyzer.NameKey];
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
100var operationLocationString = diagnostic.Properties[nameof(UseUtf8StringLiteralDiagnosticAnalyzer.ArrayCreationOperationLocation)];
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
PDB\CSharpDeterministicBuildCompilationTests.cs (2)
46Assert.Equal(langVersion, pdbOptions["language-version"]); 47Assert.Equal(sourceFileCount.ToString(), pdbOptions["source-file-count"]);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (20)
Diagnostics\DiagnosticAnalyzerTests.cs (8)
3718var diagnostic = Assert.Single(diagnostics[analyzer]); 3764var diagnostics1 = analysisResult.SemanticDiagnostics[tree][analyzer1]; 3768var diagnostics2 = analysisResult.SemanticDiagnostics[tree][analyzer2]; 3779diagnostics1 = analysisResult.SemanticDiagnostics[tree][analyzer1]; 3784diagnostics2 = analysisResult.SemanticDiagnostics[tree][analyzer2]; 3820var diagnostics1 = analysisResult.SemanticDiagnostics[tree][analyzer]; 3894verifyDiagnostics(analysisResult.AdditionalFileDiagnostics[additionalFile][analyzer]); 3898verifyDiagnostics(analysisResult.AdditionalFileDiagnostics[additionalFile][analyzer]);
Diagnostics\GetDiagnosticsTests.cs (12)
841var semanticDiagnostics = result.SemanticDiagnostics[syntaxTree][analyzer]; 909result.CompilationDiagnostics[analyzer].Verify( 1066var diagnostics = result.SemanticDiagnostics[syntaxTree][compilerAnalyzer]; 1074diagnostics = result.SemanticDiagnostics[syntaxTree][compilerAnalyzer]; 1083var diagnosticsByAnalyzerMap = result.SemanticDiagnostics[syntaxTree]; 1131result.SyntaxDiagnostics[tree1][analyzer].Verify( 1136result.SyntaxDiagnostics[tree2][analyzer].Verify( 1139result.CompilationDiagnostics[analyzer].Verify( 1154var localSemanticDiagnostics_1 = result.SemanticDiagnostics[tree1][analyzer]; 1155var localSemanticDiagnostics_2 = result.SemanticDiagnostics[tree2][analyzer]; 1156var nonLocalSemanticDiagnostics = result.CompilationDiagnostics[analyzer]; 1701var localSemanticDiagnostics = result.SemanticDiagnostics[tree][analyzer];
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
833Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"],
Microsoft.CodeAnalysis.CSharp.Features (8)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.cs (2)
70var nodeToGenerate = (SyntaxKind)int.Parse(properties[Constants.NodeToGenerateKey]!); 71var shouldRemoveNextStatement = bool.Parse(properties[Constants.ShouldRemoveNextStatementKey]!);
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
215.OrderBy(property => parameters.IndexOf(assignmentValues[property]))
src\Analyzers\CSharp\CodeFixes\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessCodeFixProvider.cs (2)
60if (diagnostic.Properties[Constants.Kind] == Constants.VariableAndIfStatementForm) 66Debug.Assert(diagnostic.Properties[Constants.Kind] == Constants.SingleIfStatementForm);
src\Analyzers\CSharp\CodeFixes\UseIsNullCheck\CSharpUseIsNullCheckForCastAndEqualityOperatorCodeFixProvider.cs (1)
35=> diagnostic.Properties[UseIsNullConstants.Kind] == UseIsNullConstants.CastAndEqualityKey;
src\Analyzers\CSharp\CodeFixes\UseNameofInAttribute\CSharpUseNameofInAttributeCodeFixProvider.cs (1)
45var name = diagnostic.Properties[CSharpUseNameofInAttributeDiagnosticAnalyzer.NameKey];
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
100var operationLocationString = diagnostic.Properties[nameof(UseUtf8StringLiteralDiagnosticAnalyzer.ArrayCreationOperationLocation)];
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (282)
SourceGeneration\GeneratorDriverTests.cs (41)
1695Assert.Collection(runResult.TrackedSteps["IdentityTransform"], 1707Assert.Collection(runResult.TrackedSteps["IdentityTransform"], 1744Assert.Collection(runResult.TrackedSteps["CompilationTransform"], 1760Assert.Collection(runResult.TrackedSteps["AdditionalTextsTransform"], 1782Assert.Collection(runResult.TrackedSteps["CompilationTransform"], 1798Assert.Collection(runResult.TrackedSteps["AdditionalTextsTransform"], 1835Assert.Collection(runResult.TrackedSteps["CompilationTransform"], 1851Assert.Collection(runResult.TrackedSteps["AdditionalTextsTransform"], 1887Assert.Collection(runResult.TrackedSteps["CompilationTransform"], 1903Assert.Collection(runResult.TrackedSteps["AdditionalTextsTransform"], 2004Assert.Collection(runResult.TrackedSteps["Step"], 2033Assert.Collection(runResult.TrackedSteps["Step"], 2059Assert.Collection(runResult.TrackedSteps["Step2"], 2085Assert.Collection(runResult.TrackedSteps["Step"], 2335driver.GetRunResult().Results.Single().TrackedSteps["Select"].Select(r => r.Outputs.Single())); 2356driver.GetRunResult().Results.Single().TrackedSteps["Select"].Select(r => r.Outputs.Single())); 2403Assert.Collection(runResult.TrackedSteps["Classes"], 2419Assert.Collection(runResult.TrackedSteps["Classes"], 2436Assert.Collection(runResult.TrackedSteps["Classes"], 2502Assert.Single(runResult.TrackedSteps["ParseOptions"]); 2503var output = runResult.TrackedSteps["ParseOptions"][0].Outputs[0].Value; 2509Assert.Collection(runResult.TrackedSteps["ParseOptions"], 2522Assert.Single(runResult.TrackedSteps["ParseOptions"]); 2523output = runResult.TrackedSteps["ParseOptions"][0].Outputs[0].Value; 2529Assert.Collection(runResult.TrackedSteps["ParseOptions"], 2636Assert.Collection(runResult.TrackedSteps["AnalyzerConfig"], 2652Assert.Collection(runResult.TrackedSteps["AnalyzerConfig"], 2674Assert.Collection(runResult.TrackedSteps["AnalyzerConfig"], 2714Assert.Collection(runResult.TrackedSteps["Paths"], 2767Assert.Collection(runResult.TrackedSteps["Paths"], 2823Assert.Collection(runResult.TrackedSteps["Paths"], 2904Assert.Collection(runResult.TrackedSteps["Path"], 2921Assert.Collection(runResult.TrackedSteps["Content"], 2942Assert.Collection(runResult.TrackedSteps["Path"], 2959Assert.Collection(runResult.TrackedSteps["Content"], 2984Assert.Collection(runResult.TrackedSteps["Path"], 3001Assert.Collection(runResult.TrackedSteps["Content"], 3026Assert.Collection(runResult.TrackedSteps["Path"], 3043Assert.Collection(runResult.TrackedSteps["Content"], 4564Assert.Equal("value", result.HostOutputs["a"]); 4566Assert.Equal("value2", result.HostOutputs["b"]);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (107)
82Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 161Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 191Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 221Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 248Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 275Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 303Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 334Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 370Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 409Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 438Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 471Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 504Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 536Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 568Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 599Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 630Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 663Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 694Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 723Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 757Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 786Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 823Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 860Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 897Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 934Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1042Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1079Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1117Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1155Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1193Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1231Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1428Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1435Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1439Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1440Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1441Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1442Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason); 1443Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1444Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1445Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1446Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1475Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1482Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1486Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1487Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1488Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1489Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason); 1490Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1491Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1492Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1493Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1522Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1528Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1532Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1533Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1534Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1535Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1537Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1538Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1539Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1540Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1574Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1578Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1579Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1580Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1581Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1583Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1584Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1585Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1586Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1622Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1628Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1629Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1630Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1631Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1633Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1634Assert.Collection(runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs, 1636Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1637Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs, 1675Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1680Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1681Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1682Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1683Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1686Assert.Collection(runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"], 1689Assert.Collection(runResult.TrackedSteps["result_ForAttributeInternal"], 1692Assert.Collection(runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"], 1695Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1739Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1743Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1744Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1745Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1746Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason); 1747Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1748Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1749Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1750Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1787Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1791Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1792Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1793Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1794Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1796Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1797Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1798Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1799Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason);
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (116)
53Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 85Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 161Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 189Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 221Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 253Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 287Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 320Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 346Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 372Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 398Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 431Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 459Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 545Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 578Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 610Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 809Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 840Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 870Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 955Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 984Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1016Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1023Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1027Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1028Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1029Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason); 1030Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1031Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1056Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1063Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1067Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1068Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1069Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason); 1070Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1071Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1102Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1109Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1114Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1117Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1119Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1123Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1124Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1155Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1165Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1168Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1169Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1171Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1175Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1176Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1216Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1219Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1220Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1222Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1226Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1227Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1229Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1261Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1272Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1275Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1276Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1278Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1282Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1283Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1314Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1321Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1328Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1331Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1332Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1334Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1338Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1339Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1372Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1379Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1382Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1385Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1386Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1388Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1392Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1393Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1428Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1431Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1432Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1434Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1438Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1439Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1441Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1473Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1475Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1476Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1478Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1481Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1482Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1484Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1516Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1525Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1528Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1529Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1531Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1535Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1536Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1567Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1577Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1580Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1581Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1583Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1588Assert.Collection(runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"], 1591Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1595Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1628Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1639Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1642Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1643Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1645Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1649Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1650Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1652Assert.Collection(runResult.TrackedSteps["result_ForAttribute"],
SourceGeneration\SyntaxAwareGeneratorTests.cs (18)
1032Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1052Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1109Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1131Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1239Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1268Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1414Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1444Assert.Collection(results.Results[0].TrackedSteps["Syntax"], 1451Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1477Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1528Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1543Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1699Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1706Assert.Collection(results.Results[0].TrackedSteps["Output"], 1758Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1765Assert.Collection(results.Results[0].TrackedSteps["Output"], 1812Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1825Assert.Collection(results.Results[0].TrackedSteps["Output"],
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Rename\CSharpRenameRewriterLanguageService.cs (1)
351var prefix = isRenameLocation && _renameLocations[token.Span].IsRenamableAccessor
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\CommitManager.cs (1)
260var lspSnippetText = change.Properties[SnippetCompletionItem.LSPSnippetKey];
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
CompleteStatement\AbstractCompleteStatementTests.cs (1)
56foreach (var span in spans[""])
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (5)
Collections\Immutable\Maps\MapTests.cs (3)
93Assert.Equal(1, map["1"]); 94Assert.Equal(2, map["2"]); 95Assert.Equal(3, map["3"]);
Diagnostics\DiagnosticAnalyzerServiceTests.cs (2)
907syntax |= diagnostics.Any(d => d.Properties["Origin"] == "Syntactic"); 908semantic |= diagnostics.Any(d => d.Properties["Origin"] != "Syntactic");
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
Remote\RazorRemoteServiceCallbackDispatcherRegistry.cs (1)
24=> _lazyDispatchers[serviceType];
Microsoft.CodeAnalysis.Features (17)
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (1)
154p, projectsAndDiagnosticsToFixMap[p], bag, fixAllState, cancellationToken)).ToArray();
Completion\CompletionItem.cs (1)
136return _lazyPropertiesAsImmutableDictionary[name];
src\Analyzers\Core\CodeFixes\AddRequiredParentheses\AddRequiredParenthesesCodeFixProvider.cs (2)
28diagnostic.Properties[AddRequiredParenthesesConstants.EquivalenceKey] == equivalenceKey; 37firstDiagnostic.Properties[AddRequiredParenthesesConstants.EquivalenceKey]!),
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (2)
45Debug.Assert(diagnostics.Select(diagnostic => diagnostic.Properties[MatchFolderAndNamespaceConstants.TargetNamespace]).Distinct().Count() == 1); 47var targetNamespace = diagnostics.First().Properties[MatchFolderAndNamespaceConstants.TargetNamespace];
src\Analyzers\Core\CodeFixes\NamingStyle\NamingStyleCodeFixProvider.cs (1)
49var serializedNamingStyle = diagnostic.Properties[nameof(NamingStyle)];
src\Analyzers\Core\CodeFixes\PopulateSwitch\AbstractPopulateSwitchCodeFixProvider.cs (4)
59var missingCases = bool.Parse(properties[PopulateSwitchStatementHelpers.MissingCases]!); 60var missingDefaultCase = bool.Parse(properties[PopulateSwitchStatementHelpers.MissingDefaultCase]!); 141var hasMissingCases = bool.Parse(diagnostic.Properties[PopulateSwitchStatementHelpers.MissingCases]!); 142var hasMissingDefaultCase = bool.Parse(diagnostic.Properties[PopulateSwitchStatementHelpers.MissingDefaultCase]!);
src\Analyzers\Core\CodeFixes\RemoveRedundantEquality\RemoveRedundantEqualityCodeFixProvider.cs (2)
55properties[RedundantEqualityConstants.RedundantSide] == RedundantEqualityConstants.Right ? left : 56properties[RedundantEqualityConstants.RedundantSide] == RedundantEqualityConstants.Left ? right : node;
src\Analyzers\Core\CodeFixes\UpdateLegacySuppressions\UpdateLegacySuppressionsCodeFixProvider.cs (1)
46var newDocCommentId = diagnostic.Properties[AbstractRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.DocCommentIdKey];
src\Analyzers\Core\CodeFixes\UseCompoundAssignment\AbstractUseCompoundAssignmentCodeFixProvider.cs (1)
85var compoundOperator = Token(_assignmentToTokenMap[assignmentOpKind]);
src\Analyzers\Core\CodeFixes\UseExplicitTupleName\UseExplicitTupleNameCodeFixProvider.cs (1)
45var preferredName = diagnostic.Properties[nameof(UseExplicitTupleNameDiagnosticAnalyzer.ElementName)];
src\Analyzers\Core\CodeFixes\UseIsNullCheck\AbstractUseIsNullForReferenceEqualsCodeFixProvider.cs (1)
33=> diagnostic.Properties[UseIsNullConstants.Kind] == UseIsNullConstants.ReferenceEqualsKey;
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (1)
408var diagnostics = diagnosticsMap[analyzerWithState.Analyzer];
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (1)
291var actions = map[groupKey];
Handler\Configuration\DidChangeConfigurationNotificationHandler.cs (1)
163Section = string.Concat(s_languageNameToPrefix[language], '|', fullOptionName),
Handler\RequestContext.cs (1)
320return _trackedDocuments[documentUri].Text;
Handler\SemanticTokens\SemanticTokensSchema.cs (1)
76classificationTypeName => IDictionaryExtensions.GetValueOrDefault(s_pureLspDirectTypeMap, classificationTypeName) ?? CustomLspSemanticTokenNames.ClassificationTypeNameToCustomTokenName[classificationTypeName]));
Workspaces\LspWorkspaceManager.cs (2)
238var (_, language) = _trackedDocuments[uri]; 400.Select(uri => (identity: SourceGeneratedDocumentUri.DeserializeIdentity(workspaceCurrentSolution, uri), _trackedDocuments[uri].Text))
Microsoft.CodeAnalysis.Remote.Workspaces (2)
ExternalAccess\Pythia\Api\PythiaRemoteServiceCallbackDispatcherRegistry.cs (1)
24=> _lazyDispatchers[serviceType];
ExternalAccess\UnitTesting\Api\UnitTestingRemoteServiceCallbackDispatcherRegistry.cs (1)
24=> _lazyDispatchers[serviceType];
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\CompilationTestDataExtensions.cs (1)
65methodData = map[keys.First()];
CompilationVerifier.cs (1)
647ILValidation.GetSequencePointMarkers(xmlMethod, id => _compilation.SyntaxTrees.Single(tree => tree.FilePath == documentMap[id]).GetText()) :
PDB\DeterministicBuildCompilationTestHelpers.cs (3)
63Assert.Equal(compilerVersion.ToString(), pdbOptions["compiler-version"]); 66Assert.Equal(runtimeVersion, pdbOptions[CompilationOptionNames.RuntimeVersion]); 73Assert.Equal(compilation.Language, pdbOptions["language"]);
Microsoft.CodeAnalysis.UnitTests (50)
Analyzers\AnalyzerConfigTests.cs (12)
113Assert.Equal("abc123", sectionOptions.AnalyzerOptions["build_metadata.compile.toretrieve"]); 116Assert.Equal("def456", sectionOptions.AnalyzerOptions["build_metadata.compile.toretrieve"]); 135Assert.Equal("abc123", sectionOptions.AnalyzerOptions["build_metadata.compile.toretrieve"]); 138Assert.Equal("abc123", sectionOptions.AnalyzerOptions["build_metadata.compile.toretrieve"]); 141Assert.Equal("def456", sectionOptions.AnalyzerOptions["build_metadata.compile.toretrieve"]); 144Assert.Equal("def456", sectionOptions.AnalyzerOptions["build_metadata.compile.toretrieve"]); 147Assert.Equal("global", sectionOptions.AnalyzerOptions["build_metadata.compile.toretrieve"]); 150Assert.Equal("global", sectionOptions.AnalyzerOptions["build_metadata.compile.toretrieve"]); 2397Assert.Equal("123", sectionOptions.AnalyzerOptions["global_level"]); 2611Assert.Equal("b", options.AnalyzerOptions["a"]); 2637Assert.Equal("a", options.AnalyzerOptions["a"]); 2638Assert.Equal("b", options.AnalyzerOptions["b"]);
CommonCommandLineParserTests.cs (38)
167Assert.Equal(expected: ReportDiagnostic.Error, actual: ruleSet.SpecificDiagnosticOptions["CA1012"]); 411Assert.Equal(ReportDiagnostic.Error, ruleSet.SpecificDiagnosticOptions["CA1012"]); 413Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1013"]); 415Assert.Equal(ReportDiagnostic.Suppress, ruleSet.SpecificDiagnosticOptions["CA1014"]); 417Assert.Equal(ReportDiagnostic.Info, ruleSet.SpecificDiagnosticOptions["CA1015"]); 419Assert.Equal(ReportDiagnostic.Hidden, ruleSet.SpecificDiagnosticOptions["CA1016"]); 478Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1013"]); 503Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 505Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1013"]); 531Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 533Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1013"]); 559Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 561Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1013"]); 588Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 590Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1013"]); 626Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 628Assert.Equal(ReportDiagnostic.Error, ruleSet.SpecificDiagnosticOptions["CA1013"]); 664Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 666Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1013"]); 668Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1014"]); 694Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 730Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 764Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 767Assert.Equal(ReportDiagnostic.Error, ruleSet.SpecificDiagnosticOptions["CA1013"]); 791Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 815Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 817Assert.Equal(ReportDiagnostic.Error, ruleSet.SpecificDiagnosticOptions["CA1013"]); 887Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 889Assert.Equal(ReportDiagnostic.Suppress, ruleSet.SpecificDiagnosticOptions["CA1013"]); 912Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1012"]); 914Assert.Equal(ReportDiagnostic.Error, ruleSet.SpecificDiagnosticOptions["CA1013"]); 952Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1000"]); 953Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA1001"]); 954Assert.Equal(ReportDiagnostic.Error, ruleSet.SpecificDiagnosticOptions["CA2100"]); 955Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA2104"]); 956Assert.Equal(ReportDiagnostic.Warn, ruleSet.SpecificDiagnosticOptions["CA2105"]); 957Assert.Equal(ReportDiagnostic.Suppress, ruleSet.SpecificDiagnosticOptions["CA2111"]); 958Assert.Equal(ReportDiagnostic.Suppress, ruleSet.SpecificDiagnosticOptions["CA2119"]);
Microsoft.CodeAnalysis.Workspaces (14)
Log\FunctionIdExtensions.cs (1)
16public static string Convert(this FunctionId functionId) => s_functionIdsToString.Value[functionId];
Options\SolutionOptionSet.cs (2)
81var internallyDefined = _changedOptionKeys.Where(key => key.Option is IOption2).SelectAsArray(key => KeyValuePairUtil.Create(new OptionKey2((IOption2)key.Option, key.Language), _values[key])); 82var externallyDefined = _changedOptionKeys.Where(key => key.Option is not IOption2).SelectAsArray(key => KeyValuePairUtil.Create(key, _values[key]));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferencesEditorConfigSerializer.cs (4)
112entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.required_prefix", namingStyle.Prefix); 113entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.required_suffix", namingStyle.Suffix); 114entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.word_separator", namingStyle.WordSeparator); 115entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.capitalization", namingStyle.CapitalizationScheme.ToEditorConfigString());
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (1)
505var projectsForOutputPath = projectUpdateState.ProjectsByOutputPath[outputPath];
Workspace\Solution\ProjectDependencyGraph.cs (2)
524Debug.Assert(reverseReferencesMap[referencedProject].Contains(project)); 534Debug.Assert(forwardReferencesMap[referencingProject].Contains(project));
Workspace\Solution\ProjectDependencyGraph_RemoveProjectReference.cs (1)
16Contract.ThrowIfFalse(_referencesMap[projectId].Contains(referencedProjectId));
Workspace\Solution\SolutionState.cs (2)
455AddLanguageCountDelta(ref languageCountDeltas, ProjectStates[projectId].Language, amount: -1); 1266var relatedProject = relatedProjectIdHint is null ? null : this.ProjectStates[relatedProjectIdHint];
Workspace\Solution\SolutionState_Checksum.cs (1)
121var projectState = this.ProjectStates[orderedProjectId];
Microsoft.DotNet.Build.Tasks.Feed (3)
src\model\SetupTargetFeedConfigV3.cs (3)
255return FeedOverrides[prefix]; 268return FeedSasUris[prefix]; 281return FeedKeys[prefix];
Microsoft.DotNet.SignTool (4)
src\BatchSignUtil.cs (4)
285_batchData.ZipDataMap[file.FileContentKey].Repack(_log, _signTool.TempDir, _signTool.WixToolsPath, _signTool.TarToolPath, _signTool.PkgToolPath); 290_batchData.ZipDataMap[file.FileContentKey].Repack(_log, _signTool.TempDir, _signTool.WixToolsPath, _signTool.TarToolPath, _signTool.PkgToolPath); 304var zipData = _batchData.ZipDataMap[file.FileContentKey]; 612var zipData = _batchData.ZipDataMap[file.FileContentKey];
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\ConvertToLibraryImportFixer.cs (2)
64if (!bool.Parse(diagnostic.Properties[ConvertToLibraryImportAnalyzer.ExactSpelling])) 66optionsBuilder.Add(CharSetOption, new Option.String(diagnostic.Properties[ConvertToLibraryImportAnalyzer.CharSet]));
Analyzers\CustomMarshallerAttributeFixer.cs (1)
52membersToAdd.UnionWith(diagnostic.Properties[MissingMemberNames.Key].Split(MissingMemberNames.Delimiter));
Microsoft.Interop.SourceGeneration (1)
UseSiteAttributeProvider.cs (1)
94_useSiteAttributesByIndirectionDepth[_maxIndirectionLevelDataProvided].AttributeData,
Microsoft.ML.InternalCodeAnalyzer (2)
NameFixProvider.cs (2)
53string originalName = diagnostic.Properties[NameAnalyzer.NameProperty]; 54string desiredNameStr = diagnostic.Properties[NameAnalyzer.DesiredNameProperty];
Microsoft.ML.Tests (48)
PermutationFeatureImportanceTests.cs (48)
75Assert.Equal(JsonConvert.SerializeObject(pfi[0]), JsonConvert.SerializeObject(pfiDict["X1"])); 76Assert.Equal(JsonConvert.SerializeObject(pfi[1]), JsonConvert.SerializeObject(pfiDict["X2Important"])); 77Assert.Equal(JsonConvert.SerializeObject(pfi[2]), JsonConvert.SerializeObject(pfiDict["X3"])); 78Assert.Equal(JsonConvert.SerializeObject(pfi[3]), JsonConvert.SerializeObject(pfiDict["X4Rand"])); 149Assert.Equal(JsonConvert.SerializeObject(pfi[0]), JsonConvert.SerializeObject(pfiDict["X1"])); 150Assert.Equal(JsonConvert.SerializeObject(pfi[1]), JsonConvert.SerializeObject(pfiDict["X2Important"])); 151Assert.Equal(JsonConvert.SerializeObject(pfi[2]), JsonConvert.SerializeObject(pfiDict["X3"])); 152Assert.Equal(JsonConvert.SerializeObject(pfi[3]), JsonConvert.SerializeObject(pfiDict["X4Rand"])); 221Assert.Equal(JsonConvert.SerializeObject(pfi[0]), JsonConvert.SerializeObject(pfiDict["X1"])); 222Assert.Equal(JsonConvert.SerializeObject(pfi[1]), JsonConvert.SerializeObject(pfiDict["X2Important"])); 223Assert.Equal(JsonConvert.SerializeObject(pfi[2]), JsonConvert.SerializeObject(pfiDict["X3"])); 224Assert.Equal(JsonConvert.SerializeObject(pfi[3]), JsonConvert.SerializeObject(pfiDict["X4Rand"])); 307Assert.Equal(JsonConvert.SerializeObject(results[0]), JsonConvert.SerializeObject(pfiDict["X1"])); 308Assert.Equal(JsonConvert.SerializeObject(results[1]), JsonConvert.SerializeObject(pfiDict["Slot 1"])); 309Assert.Equal(JsonConvert.SerializeObject(results[2]), JsonConvert.SerializeObject(pfiDict["Slot 2"])); 310Assert.Equal(JsonConvert.SerializeObject(results[3]), JsonConvert.SerializeObject(pfiDict["Slot 3"])); 311Assert.Equal(JsonConvert.SerializeObject(results[4]), JsonConvert.SerializeObject(pfiDict["Slot 4"])); 312Assert.Equal(JsonConvert.SerializeObject(results[5]), JsonConvert.SerializeObject(pfiDict["X3Important"])); 381Assert.Equal(JsonConvert.SerializeObject(pfi[0]), JsonConvert.SerializeObject(pfiDict["X1"])); 382Assert.Equal(JsonConvert.SerializeObject(pfi[1]), JsonConvert.SerializeObject(pfiDict["X2Important"])); 383Assert.Equal(JsonConvert.SerializeObject(pfi[2]), JsonConvert.SerializeObject(pfiDict["X3"])); 384Assert.Equal(JsonConvert.SerializeObject(pfi[3]), JsonConvert.SerializeObject(pfiDict["X4Rand"])); 456Assert.Equal(JsonConvert.SerializeObject(pfi[0]), JsonConvert.SerializeObject(pfiDict["X1"])); 457Assert.Equal(JsonConvert.SerializeObject(pfi[1]), JsonConvert.SerializeObject(pfiDict["Slot 1"])); 458Assert.Equal(JsonConvert.SerializeObject(pfi[2]), JsonConvert.SerializeObject(pfiDict["Slot 2"])); 459Assert.Equal(JsonConvert.SerializeObject(pfi[3]), JsonConvert.SerializeObject(pfiDict["Slot 3"])); 460Assert.Equal(JsonConvert.SerializeObject(pfi[4]), JsonConvert.SerializeObject(pfiDict["Slot 4"])); 461Assert.Equal(JsonConvert.SerializeObject(pfi[5]), JsonConvert.SerializeObject(pfiDict["X3Important"])); 562Assert.Equal(JsonConvert.SerializeObject(pfi[0]), JsonConvert.SerializeObject(pfiDict["X1"])); 563Assert.Equal(JsonConvert.SerializeObject(pfi[1]), JsonConvert.SerializeObject(pfiDict["X2Important"])); 564Assert.Equal(JsonConvert.SerializeObject(pfi[2]), JsonConvert.SerializeObject(pfiDict["X3"])); 565Assert.Equal(JsonConvert.SerializeObject(pfi[3]), JsonConvert.SerializeObject(pfiDict["X4Rand"])); 637Assert.Equal(JsonConvert.SerializeObject(pfi[0]), JsonConvert.SerializeObject(pfiDict["X1"])); 638Assert.Equal(JsonConvert.SerializeObject(pfi[1]), JsonConvert.SerializeObject(pfiDict["Slot 1"])); 639Assert.Equal(JsonConvert.SerializeObject(pfi[2]), JsonConvert.SerializeObject(pfiDict["Slot 2"])); 640Assert.Equal(JsonConvert.SerializeObject(pfi[3]), JsonConvert.SerializeObject(pfiDict["Slot 3"])); 641Assert.Equal(JsonConvert.SerializeObject(pfi[4]), JsonConvert.SerializeObject(pfiDict["Slot 4"])); 642Assert.Equal(JsonConvert.SerializeObject(pfi[5]), JsonConvert.SerializeObject(pfiDict["X3Important"])); 715Assert.Equal(JsonConvert.SerializeObject(pfi[0]), JsonConvert.SerializeObject(pfiDict["X1"])); 716Assert.Equal(JsonConvert.SerializeObject(pfi[1]), JsonConvert.SerializeObject(pfiDict["X2Important"])); 717Assert.Equal(JsonConvert.SerializeObject(pfi[2]), JsonConvert.SerializeObject(pfiDict["X3"])); 718Assert.Equal(JsonConvert.SerializeObject(pfi[3]), JsonConvert.SerializeObject(pfiDict["X4Rand"])); 784Assert.Equal(JsonConvert.SerializeObject(pfi[0]), JsonConvert.SerializeObject(pfiDict["X1"])); 785Assert.Equal(JsonConvert.SerializeObject(pfi[1]), JsonConvert.SerializeObject(pfiDict["Slot 1"])); 786Assert.Equal(JsonConvert.SerializeObject(pfi[2]), JsonConvert.SerializeObject(pfiDict["Slot 2"])); 787Assert.Equal(JsonConvert.SerializeObject(pfi[3]), JsonConvert.SerializeObject(pfiDict["Slot 3"])); 788Assert.Equal(JsonConvert.SerializeObject(pfi[4]), JsonConvert.SerializeObject(pfiDict["Slot 4"])); 789Assert.Equal(JsonConvert.SerializeObject(pfi[5]), JsonConvert.SerializeObject(pfiDict["X3Important"]));
Microsoft.VisualStudio.LanguageServices (5)
ColorSchemes\ColorSchemeApplier.cs (1)
106colorScheme.Value, _colorSchemeRegistryItems[colorScheme.Value], cancellationToken).ConfigureAwait(false);
CommonControls\MemberSelectionViewModel.cs (2)
120_symbolToDependentsMap[member.Symbol].Wait(context.UserCancellationToken); 183foreach (var dependent in _symbolToDependentsMap[currentMember].Result)
MoveStaticMembers\StaticMemberSelectionViewModel.cs (2)
61_symbolToDependentsMap[member.Symbol].Wait(context.UserCancellationToken); 97foreach (var dependent in _symbolToDependentsMap[currentMember].Result)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (9)
ProjectSystemShim\CPS\CSharpCompilerOptionsTests.cs (1)
51Assert.Equal(expected: ReportDiagnostic.Error, actual: options.SpecificDiagnosticOptions["CS1111"]);
ProjectSystemShim\LegacyProject\AnalyzersTests.cs (7)
112var ca1012DiagnosticOption = options.SpecificDiagnosticOptions["CA1012"]; 136var ca1014DiagnosticOption = options.SpecificDiagnosticOptions["CS1014"]; 178Assert.Equal(expected: ReportDiagnostic.Error, actual: options.SpecificDiagnosticOptions["CS1014"]); 182Assert.Equal(expected: ReportDiagnostic.Suppress, actual: options.SpecificDiagnosticOptions["CS1014"]); 186Assert.Equal(expected: ReportDiagnostic.Error, actual: options.SpecificDiagnosticOptions["CS1014"]); 190Assert.Equal(expected: ReportDiagnostic.Suppress, actual: options.SpecificDiagnosticOptions["CS1014"]); 216var ca1014DiagnosticOption = options.SpecificDiagnosticOptions["CS1014"];
ProjectSystemShim\LegacyProject\CSharpCompilerOptionsTests.cs (1)
96Assert.Equal(expected: ReportDiagnostic.Error, actual: options.SpecificDiagnosticOptions["CS1111"]);
MSBuild (1)
CopyOnWriteDictionary.cs (1)
180get => _backing[key];
Roslyn.VisualStudio.Next.UnitTests (3)
Remote\SnapshotSerializationTests.cs (1)
742=> Assembly.LoadFrom(_map[fullPath]);
UnifiedSettings\UnifiedSettingsTests.cs (2)
404LanguageNames.CSharp => s_csharpUnifiedSettingsStorage[option], 405LanguageNames.VisualBasic => s_visualBasicUnifiedSettingsStorage[option],
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
263get { return this[key]; }