Skip to content

Commit

Permalink
Fix warnings (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwasplund authored Mar 17, 2024
1 parent e71d349 commit c45ed50
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Source/GenerateSharp/Opal/Utilities/Path.cs
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ private static void DecomposeRawPathString(
/// Convert the components of the path into the string value.
/// </summary>
private void SetState(
IList<string> directories,
List<string> directories,
string? root,
string? fileName)
{
Expand Down
2 changes: 1 addition & 1 deletion Source/GenerateSharp/PackageManager.Core/ClosureManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private async Task<PackageLock> EnsurePackageLockAsync(
IDictionary<string, IDictionary<string, IDictionary<PackageName, PackageReference>>> BuildClosures,
IDictionary<string, IDictionary<string, IDictionary<PackageName, PackageReference>>> ToolClosures)> GenerateServiceClosureAsync(
int rootPackageId,
IDictionary<int, (string Language, string? Owner, string Name, Path Path)> localPackageReverseLookup,
Dictionary<int, (string Language, string? Owner, string Name, Path Path)> localPackageReverseLookup,
IDictionary<Path, Api.Client.PackageLocalReferenceModel> localPackageLookup,
IList<Api.Client.PackagePublicReferenceModel> publicPackages)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static void SaveState(
OperationGraphWriter.Serialize(state, writer);
}

private static void UpdateFileIds(IList<FileId> fileIds, IDictionary<FileId, FileId> activeFileIdMap)
private static void UpdateFileIds(IList<FileId> fileIds, Dictionary<FileId, FileId> activeFileIdMap)
{
for (var i = 0; i < fileIds.Count; i++)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static void SaveState(
OperationGraphWriter.Serialize(state, writer);
}

private static void UpdateFileIds(IList<FileId> fileIds, IDictionary<FileId, FileId> activeFileIdMap)
private static void UpdateFileIds(IList<FileId> fileIds, Dictionary<FileId, FileId> activeFileIdMap)
{
for (var i = 0; i < fileIds.Count; i++)
{
Expand Down

0 comments on commit c45ed50

Please sign in to comment.