Bump NuGet packages

This commit is contained in:
ghorsington committed 2021-09-25 19:22:12 +03:00
1 parent 4304b817da
commit 639dbb475c
10 files changed
+43 -43

No files matched your search

@@ -22,8 +22,8 @@
<Import Project="..\BepInEx.Shared\BepInEx.Shared.projitems" Label="Shared"/>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All"/>
<PackageReference Include="HarmonyX" Version="2.4.2"/>
<PackageReference Include="MonoMod.RuntimeDetour" Version="21.4.21.3"/>
<PackageReference Include="MonoMod.Utils" Version="21.4.21.3"/>
<PackageReference Include="HarmonyX" Version="2.5.5"/>
<PackageReference Include="MonoMod.RuntimeDetour" Version="21.9.19.1"/>
<PackageReference Include="MonoMod.Utils" Version="21.9.19.1"/>
</ItemGroup>
</Project>
+14 -14
View File
@@ -1,7 +1,7 @@
using System;
using System.Linq;
using Mono.Cecil;
using Version = SemVer.Version;
using Version = SemanticVersioning.Version;
namespace BepInEx.Preloader.Core.Patching
{
@@ -90,16 +90,16 @@ namespace BepInEx.Preloader.Core.Patching
/// </summary>
public const string AllAssemblies = "_all";
/// <summary>
/// The short filename of the assembly to target.
/// </summary>
public string TargetAssembly { get; }
/// <param name="targetAssembly">The short filename of the assembly. Use <see cref="AllAssemblies"/> to mark all possible assemblies as targets.</param>
public TargetAssemblyAttribute(string targetAssembly)
{
TargetAssembly = targetAssembly;
}
/// <summary>
/// The short filename of the assembly to target.
/// </summary>
public string TargetAssembly { get; }
}
/// <summary>
@@ -108,6 +108,14 @@ namespace BepInEx.Preloader.Core.Patching
[AttributeUsage(AttributeTargets.Method)]
public class TargetTypeAttribute : Attribute
{
/// <param name="targetAssembly">The short filename of the assembly of which <paramref name="targetType"/> belongs to.</param>
/// <param name="targetType">The full name of the type to target for patching.</param>
public TargetTypeAttribute(string targetAssembly, string targetType)
{
TargetAssembly = targetAssembly;
TargetType = targetType;
}
/// <summary>
/// The short filename of the assembly to target.
/// </summary>
@@ -117,13 +125,5 @@ namespace BepInEx.Preloader.Core.Patching
/// The full name of the type to target for patching.
/// </summary>
public string TargetType { get; }
/// <param name="targetAssembly">The short filename of the assembly of which <paramref name="targetType"/> belongs to.</param>
/// <param name="targetType">The full name of the type to target for patching.</param>
public TargetTypeAttribute(string targetAssembly, string targetType)
{
TargetAssembly = targetAssembly;
TargetType = targetType;
}
}
}