Skip to content

Commit

Permalink
Fixed wsa builds with .NET backend to work again
Browse files Browse the repository at this point in the history
  • Loading branch information
svermeulen committed Apr 22, 2019
1 parent a261662 commit 1b319c7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static ZenFactoryMethod TryCreateFactoryMethod(
static ZenFactoryMethod TryCreateFactoryMethodCompiledLambdaExpression(
Type type, ConstructorInfo constructor)
{
#if NET_4_6 && !ENABLE_IL2CPP && !ZEN_DO_NOT_USE_COMPILED_EXPRESSIONS
#if NET_4_6 && !ENABLE_IL2CPP && !UNITY_WSA && !ZEN_DO_NOT_USE_COMPILED_EXPRESSIONS

if (type.ContainsGenericParameters)
{
Expand Down Expand Up @@ -136,7 +136,7 @@ static ZenFactoryMethod TryCreateFactoryMethodCompiledLambdaExpression(

static ZenInjectMethod TryCreateActionForMethod(MethodInfo methodInfo)
{
#if NET_4_6 && !ENABLE_IL2CPP && !ZEN_DO_NOT_USE_COMPILED_EXPRESSIONS
#if NET_4_6 && !ENABLE_IL2CPP && !UNITY_WSA && !ZEN_DO_NOT_USE_COMPILED_EXPRESSIONS

if (methodInfo.DeclaringType.ContainsGenericParameters)
{
Expand Down Expand Up @@ -237,7 +237,7 @@ static ZenMemberSetterMethod GetSetter(Type parentType, MemberInfo memInfo)

static ZenMemberSetterMethod TryGetSetterAsCompiledExpression(Type parentType, MemberInfo memInfo)
{
#if NET_4_6 && !ENABLE_IL2CPP && !ZEN_DO_NOT_USE_COMPILED_EXPRESSIONS
#if NET_4_6 && !ENABLE_IL2CPP && !UNITY_WSA && !ZEN_DO_NOT_USE_COMPILED_EXPRESSIONS

if (parentType.ContainsGenericParameters)
{
Expand Down

0 comments on commit 1b319c7

Please sign in to comment.