186 references to Equal
Microsoft.CodeAnalysis.CSharp.CSharp15.UnitTests (1)
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)
186AssertEx.Equal(
279AssertEx.Equal(
328AssertEx.Equal(
457AssertEx.Equal(
549AssertEx.Equal(
642AssertEx.Equal(
753AssertEx.Equal(
803AssertEx.Equal(
878AssertEx.Equal(
1110AssertEx.Equal(
1244AssertEx.Equal(
1556AssertEx.Equal(
1675AssertEx.Equal(
1706AssertEx.Equal(
1780AssertEx.Equal(["ENC0001: " + string.Format(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)],
1794AssertEx.Equal(["ENC0001: " + string.Format(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)],
1851AssertEx.Equal(
1858AssertEx.Equal(["ENC0110"], InspectDiagnosticIds(results.Diagnostics));
1987AssertEx.Equal(
2031AssertEx.Equal(
2047AssertEx.Equal(
2109AssertEx.Equal(
2119AssertEx.Equal([projectId], results.ProjectsToRestart.Keys);
2262AssertEx.Equal(
2441AssertEx.Equal(documentKind == TextDocumentKind.Document ? [documentId, generatedDocumentId] : [generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2496AssertEx.Equal(documentKind == TextDocumentKind.Document ? [documentId, generatedDocumentId] : [generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2526AssertEx.Equal([documentId], projectDifferences.DeletedDocuments.Select(d => d.Id));
2533AssertEx.Equal([generatedDocumentId], projectDifferences.ChangedOrAddedDocuments.Select(d => d.Id));
2607AssertEx.Equal(["generated.cs"], diffences.DeletedDocuments.Select(d => d.Name));
2806AssertEx.Equal(
2890AssertEx.Equal(["ENC0101: " + string.Format(FeaturesResources.Updating_the_attributes_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.class_)],
2899AssertEx.Equal(["ENC0101: " + string.Format(FeaturesResources.Updating_the_attributes_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.class_)],
3016AssertEx.Equal([$"proj: <no location>: Error ENC1007: {FeaturesResources.ChangesRequiredSynthesizedType}"], InspectDiagnostics(results.Diagnostics));
3055AssertEx.Equal([$"proj: <no location>: Error CS9346: {CSharpResources.ERR_EncUpdateRequiresEmittingExplicitInterfaceImplementationNotSupportedByTheRuntime}"], InspectDiagnostics(results.Diagnostics));
3087AssertEx.Equal([$"proj: {document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(results.Diagnostics));
3104AssertEx.Equal([$"proj: {document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(results.Diagnostics));
3279AssertEx.Equal(
3764AssertEx.Equal(
3845AssertEx.Equal(
3977AssertEx.Equal(
4039AssertEx.Equal(["3 -> 4"], lineUpdate.LineUpdates.Select(edit => $"{edit.OldLine} -> {edit.NewLine}"));
4302AssertEx.Equal([$"proj: <no location>: Error ENC1007: {FeaturesResources.ChangesRequiredSynthesizedType}"], InspectDiagnostics(results.Diagnostics));
4617AssertEx.Equal(
4647AssertEx.Equal(
4683AssertEx.Equal(
4777AssertEx.Equal([adjustedActiveLineSpan1, adjustedActiveLineSpan2], currentSpans.Select(s => s.LineSpan));
4841AssertEx.Equal([activeLineSpan11, activeLineSpan12], currentSpans.Select(s => s.LineSpan));
4949AssertEx.Equal(
4955AssertEx.Equal(
4977AssertEx.Equal(
5054AssertEx.Equal(
5068AssertEx.Equal([$"(9,18)-(9,22)"], baseSpans.Single().Select(s => s.LineSpan.ToString()));
5075AssertEx.Equal([$"(10,12)-(10,16)"], baseSpans.Single().Select(s => s.LineSpan.ToString()));
5160AssertEx.Equal(
5233AssertEx.Equal(
5330AssertEx.Equal(
5351AssertEx.Equal(
5387AssertEx.Equal(
5505AssertEx.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)