186 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 (99)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (60)
186AssertEx.Equal(
279AssertEx.Equal(
328AssertEx.Equal(
447AssertEx.Equal(
532AssertEx.Equal(
608AssertEx.Equal(
712AssertEx.Equal(
762AssertEx.Equal(
837AssertEx.Equal(
1069AssertEx.Equal(
1152AssertEx.Equal(
1201AssertEx.Equal(
1513AssertEx.Equal(
1632AssertEx.Equal(
1663AssertEx.Equal(
1737AssertEx.Equal(["ENC0001: " + string.Format(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)],
1751AssertEx.Equal(["ENC0001: " + string.Format(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)],
1808AssertEx.Equal(
1815AssertEx.Equal(["ENC0110"], InspectDiagnosticIds(results.Diagnostics));
1944AssertEx.Equal(
1988AssertEx.Equal(
2004AssertEx.Equal(
2066AssertEx.Equal(
2076AssertEx.Equal([projectId], results.ProjectsToRestart.Keys);
2219AssertEx.Equal(
2398AssertEx.Equal(documentKind == TextDocumentKind.Document ? [documentId, generatedDocumentId] : [generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2453AssertEx.Equal(documentKind == TextDocumentKind.Document ? [documentId, generatedDocumentId] : [generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2483AssertEx.Equal([documentId], projectDifferences.DeletedDocuments.Select(d => d.Id));
2490AssertEx.Equal([generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2564AssertEx.Equal(["generated.cs"], diffences.DeletedDocuments.Select(d => d.Name));
2763AssertEx.Equal(
2847AssertEx.Equal(["ENC0101: " + string.Format(FeaturesResources.Updating_the_attributes_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.class_)],
2856AssertEx.Equal(["ENC0101: " + string.Format(FeaturesResources.Updating_the_attributes_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.class_)],
2973AssertEx.Equal([$"proj: <no location>: Error ENC1007: {FeaturesResources.ChangesRequiredSynthesizedType}"], InspectDiagnostics(results.Diagnostics));
3012AssertEx.Equal([$"proj: <no location>: Error CS9346: {CSharpResources.ERR_EncUpdateRequiresEmittingExplicitInterfaceImplementationNotSupportedByTheRuntime}"], InspectDiagnostics(results.Diagnostics));
3044AssertEx.Equal([$"proj: {document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(results.Diagnostics));
3061AssertEx.Equal([$"proj: {document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(results.Diagnostics));
3236AssertEx.Equal(
3721AssertEx.Equal(
3802AssertEx.Equal(
3934AssertEx.Equal(
3996AssertEx.Equal(["3 -> 4"], lineUpdate.LineUpdates.Select(edit => $"{edit.OldLine} -> {edit.NewLine}"));
4259AssertEx.Equal([$"proj: <no location>: Error ENC1007: {FeaturesResources.ChangesRequiredSynthesizedType}"], InspectDiagnostics(results.Diagnostics));
4574AssertEx.Equal(
4604AssertEx.Equal(
4640AssertEx.Equal(
4734AssertEx.Equal([adjustedActiveLineSpan1, adjustedActiveLineSpan2], currentSpans.Select(s => s.LineSpan));
4798AssertEx.Equal([activeLineSpan11, activeLineSpan12], currentSpans.Select(s => s.LineSpan));
4906AssertEx.Equal(
4912AssertEx.Equal(
4934AssertEx.Equal(
5011AssertEx.Equal(
5025AssertEx.Equal([$"(9,18)-(9,22)"], baseSpans.Single().Select(s => s.LineSpan.ToString()));
5032AssertEx.Equal([$"(10,12)-(10,16)"], baseSpans.Single().Select(s => s.LineSpan.ToString()));
5117AssertEx.Equal(
5190AssertEx.Equal(
5287AssertEx.Equal(
5308AssertEx.Equal(
5344AssertEx.Equal(
5462AssertEx.Equal(
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (9)
Microsoft.CodeAnalysis.Test.Utilities (6)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (4)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Roslyn.VisualStudio.Next.UnitTests (1)