tests/xharness/TestImporter/ProjectDefinition.cs
/// <summary>
/// Returns the assemblies that a referenced by the given test assembly.
/// </summary>
/// <returns></returns>
Returns the assemblies that a referenced by the given test assembly.
Returns the assemblies that a referenced by the given test assembly .
(string FailureMessage, IEnumerable<string> References) GetProjectAssemblyReferences (string rootPath, Platform platform)
		{
			var set = new HashSet<string> ();
			string failureMessage = null;
			foreach (var definition in TestAssemblies) {
				var references = GetAssemblyReferences (definition.GetPath (platform));
				if (references.FailureMessage != null) {
					failureMessage = references.FailureMessage;
				} else {
					set.UnionWith (references.References);
				}
			}
			return (failureMessage, set);
		}
( string FailureMessage , IEnumerable < string > References ) GetProjectAssemblyReferences ( string rootPath , Platform platform ) { var set = new HashSet < string > ( ) ; string failureMessage = null ; foreach ( var definition in TestAssemblies ) { var references = GetAssemblyReferences ( definition . GetPath ( platform ) ) ; if ( references . FailureMessage != null ) { failureMessage = references . FailureMessage ; } else { set . UnionWith ( references . References ) ; } } return ( failureMessage , set ) ; }
Returns the assemblies that a referenced by the given test assembly.
Returns the assemblies that a referenced by the given test assembly .
None
rootPath
string
platform
Platform