Skip to content
This repository has been archived by the owner on Oct 26, 2018. It is now read-only.

Commit

Permalink
fixup! Target .NET Core 2.0 and .NET Framework 4.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate McMaster committed Jun 8, 2017
1 parent 0ad3800 commit ff7692a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ internal static bool VerifyProxySupport(ProxyBuilderContext context, Tuple<Type,
VerificationResult elementResult;
context.Visited.TryGetValue(elementKey, out elementResult);

var proxyType = elementResult?.Type ?? elementResult?.TypeBuilder as Type;
var proxyType = elementResult?.Type ?? (Type)elementResult?.TypeBuilder;
if (proxyType == null)
{
// No proxy needed for elements.
Expand Down

0 comments on commit ff7692a

Please sign in to comment.