30 references to TestRoundTrip
Microsoft.CodeAnalysis.Workspaces.UnitTests (30)
SymbolKeyTests.cs (30)
114TestRoundTrip(GetDeclaredSymbols(compilation), compilation); 133TestRoundTrip(GetDeclaredSymbols(compilation1), compilation1, useSymbolEquivalence: false); 134TestRoundTrip(GetDeclaredSymbols(compilation1), compilation2, useSymbolEquivalence: true); 135TestRoundTrip(GetDeclaredSymbols(compilation2), compilation1, useSymbolEquivalence: true); 136TestRoundTrip(GetDeclaredSymbols(compilation2), compilation2, useSymbolEquivalence: false); 152TestRoundTrip(symbols, compilation); 168TestRoundTrip(symbols, compilation); 184TestRoundTrip(symbols, compilation); 199TestRoundTrip(symbols, compilation); 214TestRoundTrip(symbols, compilation); 229TestRoundTrip(symbols, compilation); 244TestRoundTrip(symbols, compilation); 259TestRoundTrip(symbols, compilation); 274TestRoundTrip(symbols, compilation); 290TestRoundTrip(symbols, compilation); 306TestRoundTrip(symbols, compilation); 318TestRoundTrip(GetAllSymbols(compilation.GetSemanticModel(compilation.SyntaxTrees.Single())), compilation); 336TestRoundTrip(symbols, compilation); 359TestRoundTrip(GetDeclaredSymbols(compilation).OfType<IFieldSymbol>().Select(fs => fs.Type), compilation); 377TestRoundTrip(GetDeclaredSymbols(compilation).OfType<IFieldSymbol>().Select(fs => fs.Type), compilation, s => s.ToDisplayString()); 398TestRoundTrip(GetDeclaredSymbols(compilation).OfType<IMethodSymbol>().SelectMany(ms => ms.Parameters), compilation); 508TestRoundTrip(GetDeclaredSymbols(compilation), compilation); 544TestRoundTrip(symbols, compilation); 566TestRoundTrip(symbols, compilation); 593TestRoundTrip(symbols, compilation); 622TestRoundTrip(symbols, compilation); 683TestRoundTrip(symbols, compilation); 687TestRoundTrip(refSymbols, compilation); 706TestRoundTrip(symbols, compilation); 1258TestRoundTrip(fields, comp);