Skip to content

Commit

Permalink
Housekeeping: Reduce the versions of dependencies (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson committed May 31, 2021
1 parent ee6b93e commit 495a72e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/ReactiveMarbles.NuGet.Helpers/NuGetPackageHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static NuGetPackageHelper()
/// <param name="nugetSource">Optional v3 nuget source. Will default to default nuget.org servers.</param>
/// <param name="token">A optional cancellation token.</param>
/// <returns>The best matching PackageIdentity to the specified version range.</returns>
public static async Task<PackageIdentity> GetBestMatch(LibraryRange identity, PackageSource nugetSource = null, CancellationToken token = default)
public static async Task<PackageIdentity> GetBestMatch(LibraryRange identity, PackageSource? nugetSource = null, CancellationToken token = default)
{
if (identity == null)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
; Shipped analyzer releases
; https://github.com/dotnet/roslyn-analyzers/blob/master/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md
## Release 1.0

### New Rules

Rule ID | Category | Severity | Notes
--------|----------|----------|--------------------
RXPHARM001 | Compiler | Warning |
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ out List<(Location Location, INamedTypeSymbol NamedType)> staticNamespaceList)
return true;
}

#pragma warning disable RS1024 // Compare symbols correctly
var processedItems = new HashSet<INamedTypeSymbol>(TypeDefinitionNameComparer.Default);
#pragma warning restore RS1024 // Compare symbols correctly

var fileType = isStatic ? "Static" : "Instance";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@
<DevelopmentDependency>true</DevelopmentDependency>
</PropertyGroup>

<PropertyGroup>
<RestoreAdditionalProjectSources>https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json ;$(RestoreAdditionalProjectSources)</RestoreAdditionalProjectSources>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.10.0-3.final" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.10.0-3.final" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.10.0-3.final" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.9.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" />
<PackageReference Include="ICSharpCode.Decompiler" Version="7.1.0.6543" />
</ItemGroup>
Expand Down

0 comments on commit 495a72e

Please sign in to comment.