Skip to content

Commit

Permalink
Removed the additional .net standard targets
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed Mar 11, 2017
1 parent d8984e6 commit 05ade00
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/stashbox/BuildUp/Expressions/Compile/DelegateTarget.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if NET45 || NET40 || NETSTANDARD11
#if NET45 || NET40
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if NET45 || NET40 || NETSTANDARD11
#if NET45 || NET40
using System;
using System.Linq.Expressions;
using System.Reflection.Emit;
Expand Down
6 changes: 3 additions & 3 deletions src/stashbox/Extensions/ExpressionExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if NET45 || NET40 || NETSTANDARD11
#if NET45 || NET40
using Stashbox.BuildUp.Expressions.Compile;
#endif

Expand All @@ -14,7 +14,7 @@ public static Func<object> CompileDelegate(this Expression expression)
return () => instance;
}

#if NET45 || NET40 || NETSTANDARD11
#if NET45 || NET40
if (!expression.TryEmit(out Delegate factory))
factory = Expression.Lambda(expression).Compile();

Expand All @@ -26,7 +26,7 @@ public static Func<object> CompileDelegate(this Expression expression)

public static Delegate CompileDelegate(this LambdaExpression expression)
{
#if NET45 || NET40 || NETSTANDARD11
#if NET45 || NET40
if (!expression.TryEmit(out Delegate factory))
factory = expression.Compile();

Expand Down
2 changes: 1 addition & 1 deletion src/stashbox/stashbox.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net40;net45;netstandard1.0;netstandard1.1;portable-net45+win8+wpa81+wp8</TargetFrameworks>
<TargetFrameworks>net40;net45;netstandard1.0;portable-net45+win8+wpa81+wp8</TargetFrameworks>
<AssemblyName>Stashbox</AssemblyName>
<AssemblyTitle>Stashbox</AssemblyTitle>
<RootNamespace>Stashbox</RootNamespace>
Expand Down

0 comments on commit 05ade00

Please sign in to comment.