Skip to content

Commit

Permalink
add global:: to use of OneOf.OneOf in generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanLochauMF committed Jun 24, 2024
1 parent 6e02dbe commit 2a60ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OneOf.SourceGenerator/OneOfGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ partial class {classNameWithGenericTypes}");

source.Append($@"
{{
public {classSymbol.Name}(OneOf.OneOf<{oneOfGenericPart}> _) : base(_) {{ }}
public {classSymbol.Name}(global::OneOf.OneOf<{oneOfGenericPart}> _) : base(_) {{ }}
");

foreach (var (param, arg) in paramArgPairs)
Expand Down

0 comments on commit 2a60ba1

Please sign in to comment.