Skip to content

Commit

Permalink
Make default maker constructor internal, should only be one.
Browse files Browse the repository at this point in the history
Two argument constructor ideal for public use.
  • Loading branch information
jbtule committed Nov 8, 2023
1 parent ff410fa commit 14750cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ImpromptuInterface/src/EmitProxy/ActLikeMaker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public static TInterface RecursiveActLikeForProxy<TInterface>(ActLikeMaker maker
}


public ActLikeMaker()
internal ActLikeMaker()
{
AssemblyAccess = AssemblyBuilderAccess.Run;
AssemblyName = $"{nameof(ImpromptuInterface)}DynamicAssembly";
Expand Down

0 comments on commit 14750cf

Please sign in to comment.