Applied expression bodies for methods to solution.
This commit is contained in:
parent
c9ab438e6c
commit
67cbc0dd65
36 changed files with 106 additions and 378 deletions
|
@ -129,10 +129,7 @@ namespace Microsoft.DotNet.TestFramework
|
|||
return this;
|
||||
}
|
||||
|
||||
public TestAssetInstance WithProjectChanges(Action<XDocument> xmlAction)
|
||||
{
|
||||
return WithProjectChanges((path, project) => xmlAction(project));
|
||||
}
|
||||
public TestAssetInstance WithProjectChanges(Action<XDocument> xmlAction) => WithProjectChanges((path, project) => xmlAction(project));
|
||||
|
||||
public TestAssetInstance WithProjectChanges(Action<string, XDocument> xmlAction)
|
||||
{
|
||||
|
@ -211,10 +208,7 @@ namespace Microsoft.DotNet.TestFramework
|
|||
}
|
||||
}
|
||||
|
||||
private IEnumerable<FileInfo> GetProjectFiles()
|
||||
{
|
||||
return Root.GetFiles(TestAssetInfo.ProjectFilePattern, SearchOption.AllDirectories);
|
||||
}
|
||||
private IEnumerable<FileInfo> GetProjectFiles() => Root.GetFiles(TestAssetInfo.ProjectFilePattern, SearchOption.AllDirectories);
|
||||
|
||||
private void Restore(FileInfo projectFile)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue