Browse Source

Added conditional flags to new generated store files to allow compilation for .NET 3

pull/46/head
Anairkoen Schno 4 years ago
parent
commit
6a3ac31ad8
6 changed files with 24 additions and 4 deletions
  1. +4
    -0
      IPA.Loader/Config/Stores/GeneratedStoreImpl/Deserialization.cs
  2. +4
    -4
      IPA.Loader/Config/Stores/GeneratedStoreImpl/IGeneratedStore.cs
  3. +4
    -0
      IPA.Loader/Config/Stores/GeneratedStoreImpl/MakeCreator.cs
  4. +4
    -0
      IPA.Loader/Config/Stores/GeneratedStoreImpl/ObjectStructure.cs
  5. +4
    -0
      IPA.Loader/Config/Stores/GeneratedStoreImpl/Serialization.cs
  6. +4
    -0
      IPA.Loader/Config/Stores/GeneratedStoreImpl/Utility.cs

+ 4
- 0
IPA.Loader/Config/Stores/GeneratedStoreImpl/Deserialization.cs View File

@ -9,6 +9,10 @@ using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
using Boolean = IPA.Config.Data.Boolean;
#if NET3
using Net3_Proxy;
using Array = Net3_Proxy.Array;
#endif
namespace IPA.Config.Stores
{


+ 4
- 4
IPA.Loader/Config/Stores/GeneratedStoreImpl/IGeneratedStore.cs View File

@ -4,13 +4,13 @@ using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using IPA.Config.Data;
using System.ComponentModel;
using IPA.Config.Data;
#if NET3
using Net3_Proxy;
using Array = Net3_Proxy.Array;
#endif
[assembly: InternalsVisibleTo(IPA.Config.Stores.GeneratedStore.AssemblyVisibilityTarget)]
namespace IPA.Config.Stores
@ -35,7 +35,7 @@ namespace IPA.Config.Stores
void CopyFrom(T source, bool useLock);
}
internal interface IGeneratedPropertyChanged : INotifyPropertyChanged
{
{
PropertyChangedEventHandler PropertyChangedEvent { get; }
}


+ 4
- 0
IPA.Loader/Config/Stores/GeneratedStoreImpl/MakeCreator.cs View File

@ -11,6 +11,10 @@ using System.Reflection.Emit;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
#if NET3
using Net3_Proxy;
using Array = Net3_Proxy.Array;
#endif
namespace IPA.Config.Stores
{


+ 4
- 0
IPA.Loader/Config/Stores/GeneratedStoreImpl/ObjectStructure.cs View File

@ -7,6 +7,10 @@ using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
#if NET3
using Net3_Proxy;
using Array = Net3_Proxy.Array;
#endif
namespace IPA.Config.Stores
{


+ 4
- 0
IPA.Loader/Config/Stores/GeneratedStoreImpl/Serialization.cs View File

@ -8,6 +8,10 @@ using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
using Boolean = IPA.Config.Data.Boolean;
#if NET3
using Net3_Proxy;
using Array = Net3_Proxy.Array;
#endif
namespace IPA.Config.Stores
{


+ 4
- 0
IPA.Loader/Config/Stores/GeneratedStoreImpl/Utility.cs View File

@ -6,6 +6,10 @@ using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
#if NET3
using Net3_Proxy;
using Array = Net3_Proxy.Array;
#endif
namespace IPA.Config.Stores
{


Loading…
Cancel
Save