182 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 (97)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (58)
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));
2897AssertEx.Equal([$"proj: <no location>: Error CS9346: {CSharpResources.ERR_EncUpdateRequiresEmittingExplicitInterfaceImplementationNotSupportedByTheRuntime}"], InspectDiagnostics(results.Diagnostics));
2929AssertEx.Equal([$"proj: {document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(results.Diagnostics));
2946AssertEx.Equal([$"proj: {document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(results.Diagnostics));
3114AssertEx.Equal(
3599AssertEx.Equal(
3680AssertEx.Equal(
3812AssertEx.Equal(
3874AssertEx.Equal(["3 -> 4"], lineUpdate.LineUpdates.Select(edit => $"{edit.OldLine} -> {edit.NewLine}"));
4137AssertEx.Equal([$"proj: <no location>: Error ENC1007: {FeaturesResources.ChangesRequiredSynthesizedType}"], InspectDiagnostics(results.Diagnostics));
4446AssertEx.Equal(
4476AssertEx.Equal(
4512AssertEx.Equal(
4606AssertEx.Equal([adjustedActiveLineSpan1, adjustedActiveLineSpan2], currentSpans.Select(s => s.LineSpan));
4670AssertEx.Equal([activeLineSpan11, activeLineSpan12], currentSpans.Select(s => s.LineSpan));
4778AssertEx.Equal(
4784AssertEx.Equal(
4806AssertEx.Equal(
4883AssertEx.Equal(
4897AssertEx.Equal([$"(9,18)-(9,22)"], baseSpans.Single().Select(s => s.LineSpan.ToString()));
4904AssertEx.Equal([$"(10,12)-(10,16)"], baseSpans.Single().Select(s => s.LineSpan.ToString()));
4989AssertEx.Equal(
5062AssertEx.Equal(
5159AssertEx.Equal(
5180AssertEx.Equal(
5216AssertEx.Equal(
5334AssertEx.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)