158 references to AssertEqualToleratingWhitespaceDifferences
InteractiveHost.UnitTests (41)
AbstractInteractiveHostTests.cs (1)
83AssertEx.AssertEqualToleratingWhitespaceDifferences("", errorOutput);
InteractiveHostCoreInitTests.cs (7)
36AssertEx.AssertEqualToleratingWhitespaceDifferences("", error); 37AssertEx.AssertEqualToleratingWhitespaceDifferences($"(home, {dir}, 1)", output); 48AssertEx.AssertEqualToleratingWhitespaceDifferences(@$" 63AssertEx.AssertEqualToleratingWhitespaceDifferences(PrintSearchPaths(), output); 67AssertEx.AssertEqualToleratingWhitespaceDifferences(PrintSearchPaths(), output); 75AssertEx.AssertEqualToleratingWhitespaceDifferences(PrintSearchPaths(srcDir.Path), output); 83AssertEx.AssertEqualToleratingWhitespaceDifferences(PrintSearchPaths(dllDir), output);
InteractiveHostDesktopInitTests.cs (8)
36AssertEx.AssertEqualToleratingWhitespaceDifferences(PrintSearchPaths(fxDir), output); 40AssertEx.AssertEqualToleratingWhitespaceDifferences(PrintSearchPaths(), output); 48AssertEx.AssertEqualToleratingWhitespaceDifferences(PrintSearchPaths(srcDir.Path), output); 56AssertEx.AssertEqualToleratingWhitespaceDifferences(PrintSearchPaths(fxDir, dllDir), output); 74AssertEx.AssertEqualToleratingWhitespaceDifferences("", error); 75AssertEx.AssertEqualToleratingWhitespaceDifferences("", output); 81AssertEx.AssertEqualToleratingWhitespaceDifferences("", error); 82AssertEx.AssertEqualToleratingWhitespaceDifferences("", output);
InteractiveHostDesktopTests.cs (25)
493AssertEx.AssertEqualToleratingWhitespaceDifferences("", error); 494AssertEx.AssertEqualToleratingWhitespaceDifferences("1", output); 720AssertEx.AssertEqualToleratingWhitespaceDifferences("", error); 721AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 747AssertEx.AssertEqualToleratingWhitespaceDifferences( 800AssertEx.AssertEqualToleratingWhitespaceDifferences("", error); 801AssertEx.AssertEqualToleratingWhitespaceDifferences( 826AssertEx.AssertEqualToleratingWhitespaceDifferences($@"{initFile.Path}(1,3): error CS1002: {CSharpResources.ERR_SemicolonExpected} 829AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 851AssertEx.AssertEqualToleratingWhitespaceDifferences( 864AssertEx.AssertEqualToleratingWhitespaceDifferences($@"(1,8): error CS0234: {string.Format(CSharpResources.ERR_DottedTypeNameNotFoundInNS, "Missing", "Microsoft")}", 951AssertEx.AssertEqualToleratingWhitespaceDifferences("C { P=null }", output); 991AssertEx.AssertEqualToleratingWhitespaceDifferences("120", output); 992AssertEx.AssertEqualToleratingWhitespaceDifferences("System.Exception: Bang!", error); 999AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadErrorOutputToEnd()); 1000AssertEx.AssertEqualToleratingWhitespaceDifferences("8\r\n", await ReadOutputToEnd()); 1003AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadErrorOutputToEnd()); 1004AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadOutputToEnd()); 1007AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadErrorOutputToEnd()); 1008AssertEx.AssertEqualToleratingWhitespaceDifferences("4\r\n", await ReadOutputToEnd()); 1011AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadErrorOutputToEnd()); 1012AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadOutputToEnd()); 1015AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadErrorOutputToEnd()); 1016AssertEx.AssertEqualToleratingWhitespaceDifferences("8\r\n", await ReadOutputToEnd()); 1036AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (19)
CopyRefAssemblyTests.cs (3)
76AssertEx.AssertEqualToleratingWhitespaceDifferences($$"""Copying reference assembly from "{{file.Path}}" to "{{dest}}".""", engine.Log); 98AssertEx.AssertEqualToleratingWhitespaceDifferences($$""" 129AssertEx.AssertEqualToleratingWhitespaceDifferences($$"""
DotNetSdkTests.cs (6)
107AssertEx.AssertEqualToleratingWhitespaceDifferences( 146AssertEx.AssertEqualToleratingWhitespaceDifferences( 184AssertEx.AssertEqualToleratingWhitespaceDifferences( 222AssertEx.AssertEqualToleratingWhitespaceDifferences( 264AssertEx.AssertEqualToleratingWhitespaceDifferences( 304AssertEx.AssertEqualToleratingWhitespaceDifferences(
MapSourceRootTests.cs (10)
55AssertEx.AssertEqualToleratingWhitespaceDifferences("", engine.Log); 104AssertEx.AssertEqualToleratingWhitespaceDifferences("", engine.Log); 142AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 181AssertEx.AssertEqualToleratingWhitespaceDifferences("", engine.Log); 219AssertEx.AssertEqualToleratingWhitespaceDifferences("", engine.Log); 267AssertEx.AssertEqualToleratingWhitespaceDifferences( 328AssertEx.AssertEqualToleratingWhitespaceDifferences( 377AssertEx.AssertEqualToleratingWhitespaceDifferences("ERROR : " + string.Format(task.Log.FormatResourceString( 406AssertEx.AssertEqualToleratingWhitespaceDifferences("ERROR : " + string.Format(task.Log.FormatResourceString( 440AssertEx.AssertEqualToleratingWhitespaceDifferences("ERROR : " + string.Format(task.Log.FormatResourceString(
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (9)
CommandLineIVTTests.cs (4)
45AssertEx.AssertEqualToleratingWhitespaceDifferences($""" 122AssertEx.AssertEqualToleratingWhitespaceDifferences($""" 201AssertEx.AssertEqualToleratingWhitespaceDifferences($""" 286AssertEx.AssertEqualToleratingWhitespaceDifferences($"""
CommandLineTests.cs (5)
8845AssertEx.AssertEqualToleratingWhitespaceDifferences("", outWriter.ToString()); 8889AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 12058AssertEx.AssertEqualToleratingWhitespaceDifferences( 12268AssertEx.AssertEqualToleratingWhitespaceDifferences( 12274AssertEx.AssertEqualToleratingWhitespaceDifferences("", result.Output.Trim());
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenAsyncLocalsTests.cs (2)
997AssertEx.AssertEqualToleratingWhitespaceDifferences(@" 1155AssertEx.AssertEqualToleratingWhitespaceDifferences(@"
Emit\EmitMetadataTests.cs (1)
90AssertEx.AssertEqualToleratingWhitespaceDifferences(@"
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (7)
Emit\EditAndContinue\AssemblyReferencesTests.cs (2)
97AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedIL, actualIL); 171AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedIL, actualIL);
PDB\PDBAsyncTests.cs (1)
2051AssertEx.AssertEqualToleratingWhitespaceDifferences(@"
PDB\PDBIteratorTests.cs (1)
1644AssertEx.AssertEqualToleratingWhitespaceDifferences(@"
PDB\PDBUsingTests.cs (1)
3328AssertEx.AssertEqualToleratingWhitespaceDifferences(@"
PDB\PortablePdbTests.cs (2)
79AssertEx.AssertEqualToleratingWhitespaceDifferences(@" 135AssertEx.AssertEqualToleratingWhitespaceDifferences("0: (12,31)-(12,36)", spString);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Attributes\AttributeTests_LifetimeAnnotation.cs (1)
566AssertEx.AssertEqualToleratingWhitespaceDifferences(expected, actual);
Attributes\AttributeTests_NativeInteger.cs (1)
1637AssertEx.AssertEqualToleratingWhitespaceDifferences(expected, actual);
Attributes\AttributeTests_Nullable.cs (1)
5435AssertEx.AssertEqualToleratingWhitespaceDifferences(expected, actual);
Attributes\AttributeTests_NullableContext.cs (1)
426AssertEx.AssertEqualToleratingWhitespaceDifferences(expected, actual);
Attributes\AttributeTests_NullablePublicOnly.cs (1)
622AssertEx.AssertEqualToleratingWhitespaceDifferences(expected, actual);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (40)
CommandLineRunnerTests.cs (40)
53AssertEx.AssertEqualToleratingWhitespaceDifferences( 68AssertEx.AssertEqualToleratingWhitespaceDifferences( 91AssertEx.AssertEqualToleratingWhitespaceDifferences( 126AssertEx.AssertEqualToleratingWhitespaceDifferences( 151AssertEx.AssertEqualToleratingWhitespaceDifferences( 166AssertEx.AssertEqualToleratingWhitespaceDifferences( 257AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Out.ToString()); 258AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Error.ToString()); 281AssertEx.AssertEqualToleratingWhitespaceDifferences( 304AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 321AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 348AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 370AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 389AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 404AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Out.ToString()); 405AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Error.ToString()); 415AssertEx.AssertEqualToleratingWhitespaceDifferences( 428AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString()); 432AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString()); 436AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString()); 440AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString()); 458AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Out.ToString()); 459AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Error.ToString()); 468AssertEx.AssertEqualToleratingWhitespaceDifferences( 476AssertEx.AssertEqualToleratingWhitespaceDifferences( 495AssertEx.AssertEqualToleratingWhitespaceDifferences("3", runner.Console.Out.ToString()); 547AssertEx.AssertEqualToleratingWhitespaceDifferences(@" 584AssertEx.AssertEqualToleratingWhitespaceDifferences(@" 608AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 623AssertEx.AssertEqualToleratingWhitespaceDifferences( 644AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 659AssertEx.AssertEqualToleratingWhitespaceDifferences( 714AssertEx.AssertEqualToleratingWhitespaceDifferences(@" 734AssertEx.AssertEqualToleratingWhitespaceDifferences($@" 743AssertEx.AssertEqualToleratingWhitespaceDifferences( 843AssertEx.AssertEqualToleratingWhitespaceDifferences( 866AssertEx.AssertEqualToleratingWhitespaceDifferences( 879AssertEx.AssertEqualToleratingWhitespaceDifferences( 895AssertEx.AssertEqualToleratingWhitespaceDifferences( 914AssertEx.AssertEqualToleratingWhitespaceDifferences(
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\NullableReferenceTypesTests.cs (1)
116598AssertEx.AssertEqualToleratingWhitespaceDifferences(expected, actual);
Semantics\RecordStructTests.cs (1)
10651AssertEx.AssertEqualToleratingWhitespaceDifferences(expected, SyntaxFactory.TypeDeclaration(SyntaxKind.RecordStructDeclaration, "Point").NormalizeWhitespace().ToString());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\RequiredMembersTests.cs (1)
32AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedAttributeLayout, actualAttributes);
Microsoft.CodeAnalysis.Test.Utilities (10)
Compilation\CompilationDifference.cs (3)
68AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedIL, actualIL, escapeQuotes: false, expectedValueSourcePath: callerPath, expectedValueSourceLine: callerLine); 79AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedSignature, actualSignature, escapeQuotes: true, expectedValueSourcePath: callerPath, expectedValueSourceLine: callerLine); 102AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedIL, actualIL, escapeQuotes: false, expectedValueSourcePath: callerPath, expectedValueSourceLine: callerLine);
Compilation\CompilationTestDataExtensions.cs (1)
40AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedIL, actualIL, escapeQuotes: false, expectedValueSourcePath: expectedValueSourcePath, expectedValueSourceLine: expectedValueSourceLine);
Compilation\OperationTreeVerifier.cs (1)
71AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedOperationTree, actual);
CompilationVerifier.cs (4)
197AssertEx.AssertEqualToleratingWhitespaceDifferences(expected, output, escapeQuotes: false); 389AssertEx.AssertEqualToleratingWhitespaceDifferences(verification.ILVerifyMessage, actualMessage); 581AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedSignature, actualSignature, escapeQuotes: true, expectedValueSourcePath: callerPath, expectedValueSourceLine: callerLine); 599AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedIL, actualIL, message: null, escapeQuotes, callerPath, callerLine);
Platform\Desktop\DesktopRuntimeEnvironment.cs (1)
350AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedMessage, actualMessage);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (5)
CommandLineIVTTests.vb (5)
47AssertEx.AssertEqualToleratingWhitespaceDifferences($" 148AssertEx.AssertEqualToleratingWhitespaceDifferences($" 249AssertEx.AssertEqualToleratingWhitespaceDifferences($" 360AssertEx.AssertEqualToleratingWhitespaceDifferences($" 478AssertEx.AssertEqualToleratingWhitespaceDifferences($"
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
PDB\PDBAsyncTests.vb (1)
901AssertEx.AssertEqualToleratingWhitespaceDifferences("
PDB\PDBIteratorTests.vb (1)
562AssertEx.AssertEqualToleratingWhitespaceDifferences("
Microsoft.CodeAnalysis.VisualBasic.Scripting.UnitTests (9)
CommandLineRunnerTests.vb (9)
36AssertEx.AssertEqualToleratingWhitespaceDifferences(s_logoAndHelpPrompt + " 48AssertEx.AssertEqualToleratingWhitespaceDifferences(s_logoAndHelpPrompt + " 65AssertEx.AssertEqualToleratingWhitespaceDifferences(s_logoAndHelpPrompt + " 113AssertEx.AssertEqualToleratingWhitespaceDifferences( 147AssertEx.AssertEqualToleratingWhitespaceDifferences( 168AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString()) 172AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString()) 176AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString()) 180AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString())
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
Options\EditorConfigNamingStyleParserTests.cs (3)
600AssertEx.AssertEqualToleratingWhitespaceDifferences(""" 670AssertEx.AssertEqualToleratingWhitespaceDifferences(""" 721AssertEx.AssertEqualToleratingWhitespaceDifferences("""
Roslyn.Test.PdbUtilities (1)
EditAndContinue\EditAndContinueTest.GenerationVerifier.cs (1)
212AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedSignature, actualSignature, escapeQuotes: true);
VBCSCompiler.UnitTests (1)
CompilerServerTests.cs (1)
271AssertEx.AssertEqualToleratingWhitespaceDifferences("", result.Output);