Skip to content

Commit df05c91

Browse files
Move to common
1 parent 1dd34a5 commit df05c91

52 files changed

Lines changed: 28 additions & 98 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CodeConverter/CSharp/VBToCSProjectContentsConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public async Task<SyntaxNode> SingleFirstPassAsync(Document document)
8080
public async Task<(Project project, List<WipFileConversion<DocumentId>> firstPassDocIds)> GetConvertedProjectAsync(WipFileConversion<SyntaxNode>[] firstPassResults)
8181
{
8282
var projDirPath = SourceProject.GetDirectoryPath();
83-
var (project, docIds) = _convertedCsProject.WithDocuments(firstPassResults.Select(r => r.WithTargetPath(GetTargetPath(projDirPath, r))).ToArray());
83+
var (project, docIds) = _convertedCsProject.WithDocuments(firstPassResults.Select(r => r with {TargetPath = GetTargetPath(projDirPath, r)}).ToArray());
8484
if (_useProjectLevelWinformsAdjustments) project = await project.RenameMergedNamespacesAsync(_progress, _cancellationToken);
8585
return (project, docIds);
8686
}

CodeConverter/CodeConverter.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
<AnalysisMode>Recommended</AnalysisMode>
2626
</PropertyGroup>
2727
<ItemGroup>
28-
<Compile Remove="Shared\DefaultReferences.cs" />
29-
</ItemGroup>
30-
<ItemGroup>
31-
<EmbeddedResource Include="Shared\DefaultReferences.cs" />
28+
<EmbeddedResource Include="Common\DefaultReferences.cs" />
3229
</ItemGroup>
3330
<ItemGroup>
3431
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="2.8.2" />
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)