From e2cf51699120e985b6796d71eeb68a0856392c4d Mon Sep 17 00:00:00 2001 From: Jeremie Thibeault Date: Tue, 7 Aug 2018 12:13:37 -0400 Subject: [PATCH] Add global access modifier when referencing to Uno.Option to avoid namespace clashes. --- src/Uno.CodeGen/ImmutableGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Uno.CodeGen/ImmutableGenerator.cs b/src/Uno.CodeGen/ImmutableGenerator.cs index 07bb515..7794d75 100644 --- a/src/Uno.CodeGen/ImmutableGenerator.cs +++ b/src/Uno.CodeGen/ImmutableGenerator.cs @@ -553,7 +553,7 @@ return ({symbolNameWithGenerics})(_cachedResult = _original);"); builder.AppendLine( $@"private bool _isNone; -public static Builder FromOption(Uno.Option<{symbolNameWithGenerics}> original) +public static Builder FromOption(global::Uno.Option<{symbolNameWithGenerics}> original) {{ if(original.MatchSome(out var o)) {{