Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 5698b87

Browse files
committed
Allow Smart assemblies '#' prefix convention
1 parent ba76a4d commit 5698b87

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ServiceStack.Text/PclExport.Net40.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,9 @@ public override void VerifyInAssembly(Type accessType, ICollection<string> assem
467467
if (assemblyNames.Contains(accessType.Assembly.ManifestModule.Name))
468468
return;
469469

470+
if (accessType.Name.StartsWith("#")) //Allow Smart Assemblies
471+
return;
472+
470473
try
471474
{
472475
if (assemblyNames.Contains(accessType.Assembly.Location.SplitOnLast(Path.DirectorySeparatorChar).Last()))

0 commit comments

Comments
 (0)