File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/Assets/SimpleCodeGenerator/Editor Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11using System ;
2+ using JetBrains . Annotations ;
23
34namespace SimpleCodeGenerator . Editor
45{
56 /// <summary>
67 /// This attribute is used to mark methods for the <see cref="CodeGenerator"/> in order for them to be picked called during code generation.
78 /// </summary>
89 [ AttributeUsage ( AttributeTargets . Method ) ]
10+ [ MeansImplicitUse ]
911 public sealed class CodeGenerationMethod : Attribute
1012 {
1113 }
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ public static void GenerateAll()
2020 stopwatch . Start ( ) ;
2121#endif
2222
23- var assemblies = AppDomain . CurrentDomain . GetAssemblies ( ) ;
23+ var assemblies = AppDomain . CurrentDomain . GetAssemblies ( )
24+ . Where ( a => ! a . FullName . StartsWith ( "JetBrains.Rider.Unity.Editor.Plugin.Net46.Repacked" ) ) ;
2425
2526 var methods = assemblies
2627 . SelectMany ( a => a . GetTypes ( ) )
You can’t perform that action at this time.
0 commit comments