diff --git a/src/TelescopeSourceGenerator/Demo/TelescopeSourceGeneratorDemo/Program.cs b/src/TelescopeSourceGenerator/Demo/TelescopeSourceGeneratorDemo/Program.cs index de23c81..d854660 100644 --- a/src/TelescopeSourceGenerator/Demo/TelescopeSourceGeneratorDemo/Program.cs +++ b/src/TelescopeSourceGenerator/Demo/TelescopeSourceGeneratorDemo/Program.cs @@ -23,28 +23,14 @@ static void Main(string[] args) Console.WriteLine(exportedTypeMetadata.RealType.FullName); } } + + [dotnetCampus.Telescope.TelescopeExportAttribute()] private static partial IEnumerable<(Type type, FooAttribute attribute, Func creator)> ExportFooEnumerable(); [dotnetCampus.Telescope.TelescopeExportAttribute(IncludeReferences = true)] private partial IEnumerable<(Type, Func xxx)> ExportF1Enumerable(); } -internal partial class Program -{ - private static partial IEnumerable<(Type type, FooAttribute attribute, Func creator)> ExportFooEnumerable() - { - yield return (typeof(F1), new FooAttribute() - { - - }, () => new F1()); - yield return (typeof(F2), - new FooAttribute() - { - - }, () => new F2()); - } -} - [F1] public class CurrentFoo : DemoLib1.F1 {