89 references to SetEqual
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (10)
Diagnostics\NamingStyles\EditorConfigNamingStyleParserTests.cs (9)
52AssertEx.SetEqual(expectedApplicableSymbolKindList, symbolSpec.ApplicableSymbolKindList); 64AssertEx.SetEqual(expectedApplicableAccessibilityList, symbolSpec.ApplicableAccessibilityList); 122AssertEx.SetEqual(expectedApplicableSymbolKindList, symbolSpec.ApplicableSymbolKindList); 183AssertEx.SetEqual(expectedApplicableSymbolKindList, symbolSpec.ApplicableSymbolKindList); 191AssertEx.SetEqual(expectedApplicableAccessibilityList, symbolSpec.ApplicableAccessibilityList); 231AssertEx.SetEqual(expectedApplicableSymbolKindList, symbolSpec.ApplicableSymbolKindList); 272AssertEx.SetEqual(expectedApplicableSymbolKindList, symbolSpec.ApplicableSymbolKindList); 311AssertEx.SetEqual(expectedApplicableSymbolKindList, symbolSpec.ApplicableSymbolKindList); 455AssertEx.SetEqual(expectedApplicableTypeKindList, symbolSpec.ApplicableSymbolKindList);
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
1354AssertEx.SetEqual(workspace.Projects.SelectMany(p => p.Documents).Select(d => d.Id), eventArgs.Select(e => e.DocumentId));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Diagnostics\GetDiagnosticsTests.cs (1)
1285AssertEx.SetEqual(expectedSemanticModelTreeCallbacks, analyzer.AnalyzedSemanticModels.Select(s => s.SyntaxTree).ToHashSet());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\GlobalUsingDirectiveTests.cs (5)
3286AssertEx.SetEqual(new[] { comp2.SyntaxTrees[1] }, comp2.UsageOfUsingsRecordedInTrees); 3288AssertEx.SetEqual(new[] { comp2.SyntaxTrees[1] }, comp2.UsageOfUsingsRecordedInTrees); 3291AssertEx.SetEqual(new[] { comp2.SyntaxTrees[1], comp2.SyntaxTrees[2] }, comp2.UsageOfUsingsRecordedInTrees); 3293AssertEx.SetEqual(new[] { comp2.SyntaxTrees[1], comp2.SyntaxTrees[2] }, comp2.UsageOfUsingsRecordedInTrees); 3303AssertEx.SetEqual(new[] { comp2.SyntaxTrees[1] }, comp2.UsageOfUsingsRecordedInTrees);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
DocumentationComments\ParameterTests.cs (2)
335AssertEx.SetEqual(parameters, info.CandidateSymbols); 358AssertEx.SetEqual(typeParameters, info.CandidateSymbols);
Symbols\ConversionTests.cs (2)
1732AssertEx.SetEqual(castInfo.CandidateSymbols, conversionSymbols); 1739AssertEx.SetEqual(elementConversion.OriginalUserDefinedConversions.GetPublicSymbols(), conversionSymbols);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
EmitMetadataTestBase.cs (1)
126AssertEx.SetEqual(expectedEntries, actualEntries, itemInspector: entry => $@"
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
EditAndContinue\EditAndContinueTestHelpers.cs (1)
260AssertEx.SetEqual(expected, actual, message: message, itemSeparator: ",\r\n");
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (13)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (1)
754AssertEx.SetEqual(expectedChanges, edits.TextChanges);
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (7)
1306AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate()); 1423AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate()); 1640AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate()); 1796AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate()); 1841AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate()); 2795AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate()); 2979AssertEx.SetEqual(new[] { 0x02000002, 0x02000003, 0x02000004, 0x02000005 }, delta.UpdatedTypes, itemInspector: t => "0x" + t.ToString("X"));
StackTraceExplorer\StackTraceExplorerTests.cs (5)
60AssertEx.SetEqual(expectedDefinition.NameDisplayParts, definition.NameDisplayParts); 61AssertEx.SetEqual(expectedDefinition.OriginationParts, definition.OriginationParts); 62AssertEx.SetEqual(expectedDefinition.Properties, definition.Properties); 63AssertEx.SetEqual(expectedDefinition.SourceSpans, definition.SourceSpans); 805AssertEx.SetEqual(result.ParsedFrames, ignoredFrames);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
Diagnostics\DiagnosticProviderTests.vb (1)
282AssertEx.SetEqual(expectedDiagnostics, actualDiagnostics, New Comparer())
FindReferences\FindReferencesCommandHandlerTests.vb (1)
60AssertEx.SetEqual(testDocument.AnnotatedSpans("Reference"),
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
VisualBasicParsingTests.cs (1)
38AssertEx.SetEqual(actualKeywordKinds, expectedKeywordKinds);
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests (1)
RangeResultSetTests.vb (1)
239AssertEx.SetEqual(implementationRanges, definitionRangesForImplementingMethods)
Microsoft.CodeAnalysis.Test.Utilities (1)
Assert\AssertEx.cs (1)
389SetEqual<string>(expected, actual.OrderBy(e => getIndex(e)), comparer, message, itemSeparator, itemInspector);
Microsoft.CodeAnalysis.UnitTests (14)
Analyzers\AnalyzerConfigTests.cs (14)
44AssertEx.SetEqual( 51AssertEx.SetEqual( 135AssertEx.SetEqual( 171AssertEx.SetEqual( 206AssertEx.SetEqual( 219AssertEx.SetEqual( 233AssertEx.SetEqual( 245AssertEx.SetEqual( 269AssertEx.SetEqual( 283AssertEx.SetEqual( 300AssertEx.SetEqual( 320AssertEx.SetEqual( 330AssertEx.SetEqual( 1161AssertEx.SetEqual(
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (8)
Parser\VisualBasicParseOptionsTests.vb (8)
60AssertEx.SetEqual({New KeyValuePair(Of String, Object)("VBC_VER", PredefinedPreprocessorSymbols.CurrentVersionNumber), New KeyValuePair(Of String, Object)("TARGET", "module")}, symbols.AsEnumerable) 64AssertEx.SetEqual({New KeyValuePair(Of String, Object)("VBC_VER", PredefinedPreprocessorSymbols.CurrentVersionNumber), New KeyValuePair(Of String, Object)("TARGET", "module")}, symbols.AsEnumerable) 68AssertEx.SetEqual({New KeyValuePair(Of String, Object)("VBC_VER", "Goo"), New KeyValuePair(Of String, Object)("TARGET", 123)}, symbols.AsEnumerable) 72AssertEx.SetEqual({New KeyValuePair(Of String, Object)("VBC_VER", "Goo"), New KeyValuePair(Of String, Object)("TARGET", 123)}, symbols.AsEnumerable) 75AssertEx.SetEqual({New KeyValuePair(Of String, Object)("VBC_VER", PredefinedPreprocessorSymbols.CurrentVersionNumber), New KeyValuePair(Of String, Object)("TARGET", "exe")}, symbols.AsEnumerable) 78AssertEx.SetEqual({New KeyValuePair(Of String, Object)("VBC_VER", PredefinedPreprocessorSymbols.CurrentVersionNumber), New KeyValuePair(Of String, Object)("TARGET", "winexe")}, symbols.AsEnumerable) 113AssertEx.SetEqual({New KeyValuePair(Of String, Object)("VBC_VER", PredefinedPreprocessorSymbols.CurrentVersionNumber), New KeyValuePair(Of String, Object)("TARGET", "appcontainerexe")}, symbols.AsEnumerable) 116AssertEx.SetEqual({New KeyValuePair(Of String, Object)("VBC_VER", PredefinedPreprocessorSymbols.CurrentVersionNumber), New KeyValuePair(Of String, Object)("TARGET", "winmdobj")}, symbols.AsEnumerable)
Microsoft.CodeAnalysis.Workspaces.UnitTests (13)
Remote\ServiceDescriptorTests.cs (1)
393AssertEx.SetEqual(descriptorsWithCallbackServiceTypes, callbackDispatcherServiceTypes);
TestCompositionTests.cs (12)
31AssertEx.SetEqual(new[] { assembly1 }, composition2.Assemblies); 35AssertEx.SetEqual(new[] { assembly2 }, composition3.Assemblies); 48AssertEx.SetEqual(new[] { type1 }, composition2.Parts); 53AssertEx.SetEqual(new[] { type2 }, composition4.Parts); 67AssertEx.SetEqual(new[] { type1 }, composition2.ExcludedPartTypes); 74AssertEx.SetEqual(new[] { type2 }, composition4.ExcludedPartTypes); 92AssertEx.SetEqual(new[] { assembly1, assembly2 }, composition3.Assemblies); 93AssertEx.SetEqual(new[] { type1, type2 }, composition3.Parts); 94AssertEx.SetEqual(new[] { excluded1, excluded2 }, composition3.ExcludedPartTypes); 98AssertEx.SetEqual(new[] { assembly2 }, composition4.Assemblies); 99AssertEx.SetEqual(new[] { type2 }, composition4.Parts); 100AssertEx.SetEqual(new[] { excluded2 }, composition4.ExcludedPartTypes);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
EditorConfigSettings\DataProvider\DataProviderTests.cs (1)
172AssertEx.SetEqual(optionsWithUI, dataSnapShot.Select(setting => setting.Key.Option));
Microsoft.VisualStudio.LanguageServices.IntegrationTests (11)
CSharp\CSharpExtractMethod.cs (3)
80AssertEx.SetEqual(spans, VisualStudio.Editor.GetTagSpans(InlineRenameDialog_OutOfProc.ValidRenameTag)); 120AssertEx.SetEqual(spans, VisualStudio.Editor.GetTagSpans(InlineRenameDialog_OutOfProc.ValidRenameTag)); 161AssertEx.SetEqual(spans, VisualStudio.Editor.GetTagSpans(InlineRenameDialog_OutOfProc.ValidRenameTag));
CSharp\CSharpReferenceHighlighting.cs (3)
127AssertEx.SetEqual(spans["definition"], VisualStudio.Editor.GetTagSpans(DefinitionHighlightTag.TagId), message: "Testing 'definition'\r\n"); 131AssertEx.SetEqual(spans["reference"], VisualStudio.Editor.GetTagSpans(ReferenceHighlightTag.TagId), message: "Testing 'reference'\r\n"); 136AssertEx.SetEqual(spans["writtenreference"], VisualStudio.Editor.GetTagSpans(WrittenReferenceHighlightTag.TagId), message: "Testing 'writtenreference'\r\n");
VisualBasic\BasicExtractMethod.cs (2)
84AssertEx.SetEqual(spans, VisualStudio.Editor.GetTagSpans(InlineRenameDialog_OutOfProc.ValidRenameTag)); 127AssertEx.SetEqual(spans, VisualStudio.Editor.GetTagSpans(InlineRenameDialog_OutOfProc.ValidRenameTag));
VisualBasic\BasicReferenceHighlighting.cs (3)
59AssertEx.SetEqual(spans["reference"], VisualStudio.Editor.GetTagSpans(ReferenceHighlightTag.TagId), message: "Testing 'reference'\r\n"); 60AssertEx.SetEqual(spans["writtenReference"], VisualStudio.Editor.GetTagSpans(WrittenReferenceHighlightTag.TagId), message: "Testing 'writtenReference'\r\n"); 61AssertEx.SetEqual(spans["definition"], VisualStudio.Editor.GetTagSpans(DefinitionHighlightTag.TagId), message: "Testing 'definition'\r\n");
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
Venus\DocumentService_IntegrationTests.vb (2)
112AssertEx.SetEqual(expected, actual) 163AssertEx.SetEqual(expected, actual)