Skip to content

Commit

Permalink
fixed XML warnings, fixed compiling error for C# 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
erfg12 committed Oct 2, 2020
1 parent 98b39b1 commit b477f4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Memory/Memory.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>7.1</LangVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<PlatformTarget>AnyCPU</PlatformTarget>
<NoWarn>1701;1702;1591</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand Down
4 changes: 2 additions & 2 deletions Memory/memory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public void UnfreezeValue(string address)
/// <summary>
/// Open the PC game process with all security and access rights.
/// </summary>
/// <param name="proc">Use process name or process ID here.</param>
/// <param name="pid">Use process name or process ID here.</param>
/// <returns></returns>
public bool OpenProcess(int pid)
{
Expand Down Expand Up @@ -1471,7 +1471,7 @@ public void InjectDll(String strDllName)
/// <param name="code">Address to create the trampoline</param>
/// <param name="newBytes">The opcodes to write in the code cave</param>
/// <param name="replaceCount">The number of bytes being replaced</param>
/// <param name="allocationSize">size of the allocated region</param>
/// <param name="size">size of the allocated region</param>
/// <param name="file">ini file to look in</param>
/// <remarks>Please ensure that you use the proper replaceCount
/// if you replace halfway in an instruction you may cause bad things</remarks>
Expand Down

0 comments on commit b477f4a

Please sign in to comment.