183 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 (98)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (59)
179AssertEx.Equal(
294AssertEx.Equal(
413AssertEx.Equal(
498AssertEx.Equal(
574AssertEx.Equal(
678AssertEx.Equal(
728AssertEx.Equal(
803AssertEx.Equal(
1035AssertEx.Equal(
1118AssertEx.Equal(
1167AssertEx.Equal(
1479AssertEx.Equal(
1593AssertEx.Equal(
1624AssertEx.Equal(
1698AssertEx.Equal(["ENC0001: " + string.Format(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)],
1712AssertEx.Equal(["ENC0001: " + string.Format(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)],
1769AssertEx.Equal(
1776AssertEx.Equal(["ENC0110"], InspectDiagnosticIds(results.Diagnostics));
1905AssertEx.Equal(
1949AssertEx.Equal(
1965AssertEx.Equal(
2027AssertEx.Equal(
2037AssertEx.Equal([projectId], results.ProjectsToRestart.Keys);
2180AssertEx.Equal(
2359AssertEx.Equal(documentKind == TextDocumentKind.Document ? [documentId, generatedDocumentId] : [generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2414AssertEx.Equal(documentKind == TextDocumentKind.Document ? [documentId, generatedDocumentId] : [generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2444AssertEx.Equal([documentId], projectDifferences.DeletedDocuments.Select(d => d.Id));
2451AssertEx.Equal([generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2525AssertEx.Equal(["generated.cs"], diffences.DeletedDocuments.Select(d => d.Name));
2724AssertEx.Equal(
2808AssertEx.Equal(["ENC0101: " + string.Format(FeaturesResources.Updating_the_attributes_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.class_)],
2817AssertEx.Equal(["ENC0101: " + string.Format(FeaturesResources.Updating_the_attributes_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.class_)],
2934AssertEx.Equal([$"proj: <no location>: Error ENC1007: {FeaturesResources.ChangesRequiredSynthesizedType}"], InspectDiagnostics(results.Diagnostics));
2973AssertEx.Equal([$"proj: <no location>: Error CS9346: {CSharpResources.ERR_EncUpdateRequiresEmittingExplicitInterfaceImplementationNotSupportedByTheRuntime}"], InspectDiagnostics(results.Diagnostics));
3005AssertEx.Equal([$"proj: {document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(results.Diagnostics));
3022AssertEx.Equal([$"proj: {document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(results.Diagnostics));
3190AssertEx.Equal(
3675AssertEx.Equal(
3756AssertEx.Equal(
3888AssertEx.Equal(
3950AssertEx.Equal(["3 -> 4"], lineUpdate.LineUpdates.Select(edit => $"{edit.OldLine} -> {edit.NewLine}"));
4213AssertEx.Equal([$"proj: <no location>: Error ENC1007: {FeaturesResources.ChangesRequiredSynthesizedType}"], InspectDiagnostics(results.Diagnostics));
4522AssertEx.Equal(
4552AssertEx.Equal(
4588AssertEx.Equal(
4682AssertEx.Equal([adjustedActiveLineSpan1, adjustedActiveLineSpan2], currentSpans.Select(s => s.LineSpan));
4746AssertEx.Equal([activeLineSpan11, activeLineSpan12], currentSpans.Select(s => s.LineSpan));
4854AssertEx.Equal(
4860AssertEx.Equal(
4882AssertEx.Equal(
4959AssertEx.Equal(
4973AssertEx.Equal([$"(9,18)-(9,22)"], baseSpans.Single().Select(s => s.LineSpan.ToString()));
4980AssertEx.Equal([$"(10,12)-(10,16)"], baseSpans.Single().Select(s => s.LineSpan.ToString()));
5065AssertEx.Equal(
5138AssertEx.Equal(
5235AssertEx.Equal(
5256AssertEx.Equal(
5292AssertEx.Equal(
5410AssertEx.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)