181 references to Equal
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (42)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.ExternalAccess.HotReload.UnitTests (7)
Microsoft.CodeAnalysis.Features.UnitTests (96)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (57)
179AssertEx.Equal(
294AssertEx.Equal(
413AssertEx.Equal(
498AssertEx.Equal(
574AssertEx.Equal(
678AssertEx.Equal(
728AssertEx.Equal(
803AssertEx.Equal(
1035AssertEx.Equal(
1118AssertEx.Equal(
1167AssertEx.Equal(
1479AssertEx.Equal(
1571AssertEx.Equal(
1645AssertEx.Equal(["ENC0001: " + string.Format(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)],
1659AssertEx.Equal(["ENC0001: " + string.Format(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)],
1716AssertEx.Equal(
1723AssertEx.Equal(["ENC0110"], InspectDiagnosticIds(results.Diagnostics));
1852AssertEx.Equal(
1896AssertEx.Equal(
1912AssertEx.Equal(
1974AssertEx.Equal(
1984AssertEx.Equal([projectId], results.ProjectsToRestart.Keys);
2109AssertEx.Equal([$"proj: {document2.FilePath}: (0,30)-(0,32): Error CS0266: {string.Format(CSharpResources.ERR_NoImplicitConvCast, "long", "int")}"], InspectDiagnostics(results.Diagnostics));
2283AssertEx.Equal(documentKind == TextDocumentKind.Document ? [documentId, generatedDocumentId] : [generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2338AssertEx.Equal(documentKind == TextDocumentKind.Document ? [documentId, generatedDocumentId] : [generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2368AssertEx.Equal([documentId], projectDifferences.DeletedDocuments.Select(d => d.Id));
2375AssertEx.Equal([generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2449AssertEx.Equal(["generated.cs"], diffences.DeletedDocuments.Select(d => d.Name));
2648AssertEx.Equal(
2732AssertEx.Equal(["ENC0101: " + string.Format(FeaturesResources.Updating_the_attributes_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.class_)],
2741AssertEx.Equal(["ENC0101: " + string.Format(FeaturesResources.Updating_the_attributes_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.class_)],
2858AssertEx.Equal([$"proj: <no location>: Error ENC1007: {FeaturesResources.ChangesRequiredSynthesizedType}"], InspectDiagnostics(results.Diagnostics));
2891AssertEx.Equal([$"proj: {document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(results.Diagnostics));
2908AssertEx.Equal([$"proj: {document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(results.Diagnostics));
3076AssertEx.Equal(
3561AssertEx.Equal(
3642AssertEx.Equal(
3774AssertEx.Equal(
3836AssertEx.Equal(["3 -> 4"], lineUpdate.LineUpdates.Select(edit => $"{edit.OldLine} -> {edit.NewLine}"));
4099AssertEx.Equal([$"proj: <no location>: Error ENC1007: {FeaturesResources.ChangesRequiredSynthesizedType}"], InspectDiagnostics(results.Diagnostics));
4408AssertEx.Equal(
4438AssertEx.Equal(
4474AssertEx.Equal(
4568AssertEx.Equal([adjustedActiveLineSpan1, adjustedActiveLineSpan2], currentSpans.Select(s => s.LineSpan));
4632AssertEx.Equal([activeLineSpan11, activeLineSpan12], currentSpans.Select(s => s.LineSpan));
4740AssertEx.Equal(
4746AssertEx.Equal(
4768AssertEx.Equal(
4845AssertEx.Equal(
4859AssertEx.Equal([$"(9,18)-(9,22)"], baseSpans.Single().Select(s => s.LineSpan.ToString()));
4866AssertEx.Equal([$"(10,12)-(10,16)"], baseSpans.Single().Select(s => s.LineSpan.ToString()));
4951AssertEx.Equal(
5024AssertEx.Equal(
5121AssertEx.Equal(
5142AssertEx.Equal(
5178AssertEx.Equal(
5296AssertEx.Equal(
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (9)
Microsoft.CodeAnalysis.Test.Utilities (6)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Roslyn.VisualStudio.Next.UnitTests (1)