diff --git a/.github/workflows/dotnet-build.yml b/.github/workflows/dotnet-build.yml
index 9b0d27bd75..c2f5e5db65 100644
--- a/.github/workflows/dotnet-build.yml
+++ b/.github/workflows/dotnet-build.yml
@@ -37,13 +37,12 @@ env:
PathToCommunityToolkitCameraAnalyzersCsproj: 'src/CommunityToolkit.Maui.Camera.Analyzers/CommunityToolkit.Maui.Camera.Analyzers.csproj'
PathToCommunityToolkitMediaElementAnalyzersCsproj: 'src/CommunityToolkit.Maui.MediaElement.Analyzers/CommunityToolkit.Maui.MediaElement.Analyzers.csproj'
PathToCommunityToolkitSourceGeneratorsCsproj: 'src/CommunityToolkit.Maui.SourceGenerators/CommunityToolkit.Maui.SourceGenerators.csproj'
- PathToCommunityToolkitSourceGeneratorsInternalCsproj: 'src/CommunityToolkit.Maui.SourceGenerators.Internal/CommunityToolkit.Maui.SourceGenerators.Internal.csproj'
PathToCommunityToolkitAnalyzersCodeFixCsproj: 'src/CommunityToolkit.Maui.Analyzers.CodeFixes/CommunityToolkit.Maui.Analyzers.CodeFixes.csproj'
PathToCommunityToolkitCameraAnalyzersCodeFixCsproj: 'src/CommunityToolkit.Maui.Camera.Analyzers.CodeFixes/CommunityToolkit.Maui.Camera.Analyzers.CodeFixes.csproj'
PathToCommunityToolkitMediaElementAnalyzersCodeFixCsproj: 'src/CommunityToolkit.Maui.MediaElement.Analyzers.CodeFixes/CommunityToolkit.Maui.MediaElement.Analyzers.CodeFixes.csproj'
PathToCommunityToolkitAnalyzersUnitTestProjectDirectory: 'src/CommunityToolkit.Maui.Analyzers.UnitTests'
- PathToCommunityToolkitSourceGeneratorsInternalUnitTestDirectory: 'src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests'
- PathToCommunityToolkitSourceGeneratorsInternalUnitTestCsproj: 'src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.csproj'
+ PathToCommunityToolkitSourceGeneratorsUnitTestDirectory: 'src/CommunityToolkit.Maui.SourceGenerators.UnitTests'
+ PathToCommunityToolkitSourceGeneratorsUnitTestCsproj: 'src/CommunityToolkit.Maui.SourceGenerators.UnitTests/CommunityToolkit.Maui.SourceGenerators.UnitTests.csproj'
PathToCommunityToolkitAnalyzersBenchmarkCsproj: 'src/CommunityToolkit.Maui.Analyzers.Benchmarks/CommunityToolkit.Maui.Analyzers.Benchmarks.csproj'
CommunityToolkitLibrary_Xcode_Version: '26.1'
CommunityToolkitSample_Xcode_Version: '26.2'
@@ -190,9 +189,6 @@ jobs:
- name: 'Build CommunityToolkit.Maui.SourceGenerators'
run: dotnet build ${{ env.PathToCommunityToolkitSourceGeneratorsCsproj }} -c Release
- - name: 'Build CommunityToolkit.SourceGenerators.Internal'
- run: dotnet build ${{ env.PathToCommunityToolkitSourceGeneratorsInternalCsproj }} -c Release
-
- name: 'Build CommunityToolkit.Maui.Camera'
run: dotnet build ${{ env.PathToCommunityToolkitCameraCsproj }} -c Release -p:PackageVersion=${{ env.NugetPackageVersionCamera }} -p:Version=${{ env.NugetPackageVersionCamera }}
@@ -213,11 +209,11 @@ jobs:
cd ${{ env.PathToCommunityToolkitAnalyzersUnitTestProjectDirectory }}
dotnet run -c Release --results-directory "${{ runner.temp }}" --coverage --coverage-output "${{ runner.temp }}/ut-analyzers.cobertura.xml" --coverage-output-format cobertura --report-xunit
- - name: Run CommunityToolkit Source Generators Internal UnitTests
+ - name: Run CommunityToolkit Source Generators UnitTests
if: runner.os == 'Windows'
run: |
- cd ${{ env.PathToCommunityToolkitSourceGeneratorsInternalUnitTestDirectory }}
- dotnet run -c Release --results-directory "${{ runner.temp }}" --coverage --coverage-output "${{ runner.temp }}/ut-sourcegenerators-internal.cobertura.xml" --coverage-output-format cobertura --report-xunit
+ cd ${{ env.PathToCommunityToolkitSourceGeneratorsUnitTestDirectory }}
+ dotnet run -c Release --results-directory "${{ runner.temp }}" --coverage --coverage-output "${{ runner.temp }}/ut-sourcegenerators.cobertura.xml" --coverage-output-format cobertura --report-xunit
- name: Run CommunityToolkit UnitTests
run: |
diff --git a/samples/CommunityToolkit.Maui.Sample.slnx b/samples/CommunityToolkit.Maui.Sample.slnx
index 69d5d212bc..4ec4d0c648 100644
--- a/samples/CommunityToolkit.Maui.Sample.slnx
+++ b/samples/CommunityToolkit.Maui.Sample.slnx
@@ -6,7 +6,6 @@
-
@@ -28,7 +27,7 @@
-
+
diff --git a/src/CommunityToolkit.Maui.Camera/CommunityToolkit.Maui.Camera.csproj b/src/CommunityToolkit.Maui.Camera/CommunityToolkit.Maui.Camera.csproj
index 807415e985..2fcd8dc92b 100644
--- a/src/CommunityToolkit.Maui.Camera/CommunityToolkit.Maui.Camera.csproj
+++ b/src/CommunityToolkit.Maui.Camera/CommunityToolkit.Maui.Camera.csproj
@@ -17,6 +17,8 @@
10.0.17763.0
CommunityToolkit.Maui
false
+
+ true
@@ -50,10 +52,6 @@
-
-
-
-
@@ -77,4 +75,9 @@
+
+
+
+
+
diff --git a/src/CommunityToolkit.Maui.Camera/Primitives/CameraViewDefaults.shared.cs b/src/CommunityToolkit.Maui.Camera/Primitives/CameraViewDefaults.shared.cs
index ec74d93a4e..1d5c3fa17e 100644
--- a/src/CommunityToolkit.Maui.Camera/Primitives/CameraViewDefaults.shared.cs
+++ b/src/CommunityToolkit.Maui.Camera/Primitives/CameraViewDefaults.shared.cs
@@ -1,5 +1,4 @@
using System.ComponentModel;
-using System.Runtime.Versioning;
using System.Windows.Input;
using CommunityToolkit.Maui.Views;
diff --git a/src/CommunityToolkit.Maui.MediaElement/CommunityToolkit.Maui.MediaElement.csproj b/src/CommunityToolkit.Maui.MediaElement/CommunityToolkit.Maui.MediaElement.csproj
index feaf734467..53043c36f8 100644
--- a/src/CommunityToolkit.Maui.MediaElement/CommunityToolkit.Maui.MediaElement.csproj
+++ b/src/CommunityToolkit.Maui.MediaElement/CommunityToolkit.Maui.MediaElement.csproj
@@ -18,6 +18,8 @@
6.5
CommunityToolkit.Maui
false
+
+ true
@@ -53,10 +55,6 @@
-
-
-
-
@@ -81,6 +79,11 @@
+
+
+
+
+
ResourceDictionary.windows.xaml
diff --git a/src/CommunityToolkit.Maui.MediaElement/Views/MediaManager.shared.cs b/src/CommunityToolkit.Maui.MediaElement/Views/MediaManager.shared.cs
index e4beddcf16..10ed60854b 100644
--- a/src/CommunityToolkit.Maui.MediaElement/Views/MediaManager.shared.cs
+++ b/src/CommunityToolkit.Maui.MediaElement/Views/MediaManager.shared.cs
@@ -12,7 +12,6 @@
using Microsoft.Extensions.Logging;
using Microsoft.Maui;
-using System;
using Microsoft.Maui.Dispatching;
using Microsoft.Maui.Controls;
using Microsoft.Extensions.DependencyInjection;
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/AttachedBindablePropertySourceGeneratorBenchmarks.cs b/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/AttachedBindablePropertySourceGeneratorBenchmarks.cs
index ce0711e30c..2dd9cf69ae 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/AttachedBindablePropertySourceGeneratorBenchmarks.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/AttachedBindablePropertySourceGeneratorBenchmarks.cs
@@ -1,5 +1,5 @@
using BenchmarkDotNet.Attributes;
-using CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
+using CommunityToolkit.Maui.SourceGenerators.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
namespace CommunityToolkit.Maui.SourceGenerators.Benchmarks;
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/BindablePropertyAttributeSourceGeneratorBenchmarks.cs b/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/BindablePropertyAttributeSourceGeneratorBenchmarks.cs
index f28bc03538..696e752948 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/BindablePropertyAttributeSourceGeneratorBenchmarks.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/BindablePropertyAttributeSourceGeneratorBenchmarks.cs
@@ -1,5 +1,5 @@
using BenchmarkDotNet.Attributes;
-using CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.BindablePropertyAttributeSourceGeneratorTests;
+using CommunityToolkit.Maui.SourceGenerators.UnitTests.BindablePropertyAttributeSourceGeneratorTests;
namespace CommunityToolkit.Maui.SourceGenerators.Benchmarks;
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/CommunityToolkit.Maui.SourceGenerators.Benchmarks.csproj b/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/CommunityToolkit.Maui.SourceGenerators.Benchmarks.csproj
index 4ef600516d..cdad3351eb 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/CommunityToolkit.Maui.SourceGenerators.Benchmarks.csproj
+++ b/src/CommunityToolkit.Maui.SourceGenerators.Benchmarks/CommunityToolkit.Maui.SourceGenerators.Benchmarks.csproj
@@ -12,7 +12,7 @@
-
+
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal/AnalyzerReleases.Shipped.md b/src/CommunityToolkit.Maui.SourceGenerators.Internal/AnalyzerReleases.Shipped.md
deleted file mode 100644
index 7ab7bd161b..0000000000
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal/AnalyzerReleases.Shipped.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## Release 1.0.0
-
-### New Rules
-
-Rule ID | Category | Severity | Notes
---------|----------|----------|-----------------------------------------------------
\ No newline at end of file
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal/AnalyzerReleases.Unshipped.md b/src/CommunityToolkit.Maui.SourceGenerators.Internal/AnalyzerReleases.Unshipped.md
deleted file mode 100644
index e361996f93..0000000000
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal/AnalyzerReleases.Unshipped.md
+++ /dev/null
@@ -1,4 +0,0 @@
-### New Rules
-
-Rule ID | Category | Severity | Notes
---------|----------|----------|--------------------
\ No newline at end of file
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal/CommunityToolkit.Maui.SourceGenerators.Internal.csproj b/src/CommunityToolkit.Maui.SourceGenerators.Internal/CommunityToolkit.Maui.SourceGenerators.Internal.csproj
deleted file mode 100644
index dd707b7684..0000000000
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal/CommunityToolkit.Maui.SourceGenerators.Internal.csproj
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
- netstandard2.0
- false
- true
-
-
- true
- true
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Properties/launchSettings.json b/src/CommunityToolkit.Maui.SourceGenerators.Internal/Properties/launchSettings.json
deleted file mode 100644
index 904d4b884a..0000000000
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Properties/launchSettings.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "profiles": {
- "Profile 1": {
- "commandName": "DebugRoslynComponent",
- "targetProject": "..\\CommunityToolkit.Maui\\CommunityToolkit.Maui.csproj"
- }
- }
-}
\ No newline at end of file
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_CommonUsageTests.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_CommonUsageTests.cs
similarity index 94%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_CommonUsageTests.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_CommonUsageTests.cs
index c1c115f327..ba41dd626f 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_CommonUsageTests.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_CommonUsageTests.cs
@@ -1,6 +1,6 @@
using Xunit;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
public class AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_CommonUsageTests : BaseAttachedBindablePropertyAttributeSourceGeneratorTest
{
@@ -27,7 +27,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -74,7 +74,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -121,7 +121,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -168,7 +168,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -216,7 +216,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -298,7 +298,7 @@ static void OnPropertyChanging(global::Microsoft.Maui.Controls.BindableObject bi
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -339,7 +339,7 @@ internal partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -425,7 +425,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -472,7 +472,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -519,7 +519,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -567,7 +567,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -614,7 +614,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -662,7 +662,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -710,7 +710,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -754,7 +754,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -801,7 +801,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -848,7 +848,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -895,7 +895,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -942,7 +942,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -989,7 +989,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1036,7 +1036,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1079,7 +1079,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1126,7 +1126,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1173,7 +1173,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1220,7 +1220,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1267,7 +1267,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1314,7 +1314,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1382,7 +1382,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_EdgeCaseTests.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_EdgeCaseTests.cs
similarity index 96%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_EdgeCaseTests.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_EdgeCaseTests.cs
index f4a8e51bfa..fd266dc55f 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_EdgeCaseTests.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_EdgeCaseTests.cs
@@ -1,6 +1,6 @@
using Xunit;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
public class AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_EdgeCaseTests : BaseAttachedBindablePropertyAttributeSourceGeneratorTest
{
@@ -50,7 +50,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -116,7 +116,7 @@ public enum Status : byte
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -170,7 +170,7 @@ public enum Status : long
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -220,7 +220,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -293,7 +293,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -364,7 +364,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace Very.Long.Namespace.With.Many.Segments.TestNamespace;
@@ -409,7 +409,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
public partial class {{defaultTestClassName}}
@@ -456,7 +456,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -520,7 +520,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -620,7 +620,7 @@ static string CreateDefaultText(global::Microsoft.Maui.Controls.BindableObject b
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_IntegrationTests.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_IntegrationTests.cs
similarity index 93%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_IntegrationTests.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_IntegrationTests.cs
index 38d7d69b03..bd9a845d2a 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_IntegrationTests.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_IntegrationTests.cs
@@ -1,6 +1,6 @@
using Xunit;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
public class AttachedBindablePropertyAttributeSourceGenerator_ClassAttribute_IntegrationTests : BaseAttachedBindablePropertyAttributeSourceGeneratorTest
{
@@ -32,7 +32,7 @@ public partial class DerivedView : BaseView
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -58,7 +58,7 @@ public partial class BaseView
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -105,7 +105,7 @@ public partial class {{defaultTestClassName}} : View where T : class
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -157,7 +157,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$$""""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{{defaultTestNamespace}}};
@@ -212,7 +212,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$$""""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{{defaultTestNamespace}}};
@@ -265,7 +265,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -317,7 +317,7 @@ public partial class SecondView : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -343,7 +343,7 @@ public partial class FirstView
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -395,7 +395,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_CommonUsageTests.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_CommonUsageTests.cs
similarity index 94%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_CommonUsageTests.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_CommonUsageTests.cs
index 41a8558b88..dcd3676334 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_CommonUsageTests.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_CommonUsageTests.cs
@@ -1,6 +1,6 @@
using Xunit;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
public class AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_CommonUsageTests : BaseAttachedBindablePropertyAttributeSourceGeneratorTest
{
@@ -30,7 +30,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -80,7 +80,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -130,7 +130,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -180,7 +180,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -231,7 +231,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -317,7 +317,7 @@ static void OnPropertyChanging(global::Microsoft.Maui.Controls.BindableObject bi
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -361,7 +361,7 @@ internal partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -457,7 +457,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -507,7 +507,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -557,7 +557,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -608,7 +608,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -658,7 +658,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -709,7 +709,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -760,7 +760,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -807,7 +807,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -857,7 +857,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -907,7 +907,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -957,7 +957,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1007,7 +1007,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1057,7 +1057,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1107,7 +1107,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1153,7 +1153,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1203,7 +1203,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1253,7 +1253,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1303,7 +1303,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1353,7 +1353,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1403,7 +1403,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -1474,7 +1474,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_EdgeCaseTests.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_EdgeCaseTests.cs
similarity index 96%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_EdgeCaseTests.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_EdgeCaseTests.cs
index 92d010db3e..a63b5aee7d 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_EdgeCaseTests.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_EdgeCaseTests.cs
@@ -1,6 +1,6 @@
using Xunit;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
public class AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_EdgeCaseTests : BaseAttachedBindablePropertyAttributeSourceGeneratorTest
{
@@ -56,7 +56,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -125,7 +125,7 @@ public enum Status : byte
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -182,7 +182,7 @@ public enum Status : long
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -235,7 +235,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -311,7 +311,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -385,7 +385,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace Very.Long.Namespace.With.Many.Segments.TestNamespace;
@@ -433,7 +433,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
public partial class {{defaultTestClassName}}
@@ -483,7 +483,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -550,7 +550,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -654,7 +654,7 @@ static string CreateDefaultText(global::Microsoft.Maui.Controls.BindableObject b
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_IntegrationTests.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_IntegrationTests.cs
similarity index 93%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_IntegrationTests.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_IntegrationTests.cs
index 17b9017f27..4410b15994 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_IntegrationTests.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_IntegrationTests.cs
@@ -1,6 +1,6 @@
using Xunit;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
public class AttachedBindablePropertyAttributeSourceGenerator_ConstructorAttribute_IntegrationTests : BaseAttachedBindablePropertyAttributeSourceGeneratorTest
{
@@ -38,7 +38,7 @@ public DerivedView()
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -64,7 +64,7 @@ public partial class BaseView
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -114,7 +114,7 @@ public partial class {{defaultTestClassName}} : View where T : class
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -173,7 +173,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$$""""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{{defaultTestNamespace}}};
@@ -235,7 +235,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$$""""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{{defaultTestNamespace}}};
@@ -291,7 +291,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -349,7 +349,7 @@ public SecondView()
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -375,7 +375,7 @@ public partial class FirstView
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -430,7 +430,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/BaseAttachedBindablePropertyAttributeGeneratorTest.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/BaseAttachedBindablePropertyAttributeGeneratorTest.cs
similarity index 96%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/BaseAttachedBindablePropertyAttributeGeneratorTest.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/BaseAttachedBindablePropertyAttributeGeneratorTest.cs
index c396cb9d4d..c7d0e16557 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/BaseAttachedBindablePropertyAttributeGeneratorTest.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/AttachedBindablePropertyAttributeSourceGeneratorTests/BaseAttachedBindablePropertyAttributeGeneratorTest.cs
@@ -1,4 +1,4 @@
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests.AttachedBindablePropertyAttributeSourceGeneratorTests;
public abstract class BaseAttachedBindablePropertyAttributeSourceGeneratorTest : BaseTest
{
@@ -8,7 +8,7 @@ public abstract class BaseAttachedBindablePropertyAttributeSourceGeneratorTest :
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertySourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertySourceGenerator
#pragma warning disable
#nullable enable
@@ -76,7 +76,7 @@ public sealed partial class AttachedBindablePropertyAttribute(string property
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertySourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertySourceGenerator
#pragma warning disable
#nullable enable
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BaseTest.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BaseTest.cs
similarity index 96%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BaseTest.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BaseTest.cs
index 20f9815344..9fc18ee00d 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BaseTest.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BaseTest.cs
@@ -3,7 +3,7 @@
using Microsoft.CodeAnalysis.Testing;
using Xunit;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests;
public abstract class BaseTest
{
@@ -13,7 +13,7 @@ public abstract class BaseTest
protected static async Task VerifySourceGeneratorAsync(string source, params List<(string FileName, string GeneratedFile)> expectedGeneratedFilesList)
where TSourceGenerator : IIncrementalGenerator, new()
{
- const string sourceGeneratorNamespace = "CommunityToolkit.Maui.SourceGenerators.Internal";
+ const string sourceGeneratorNamespace = "CommunityToolkit.Maui.SourceGenerators";
var sourceGeneratorFullName = typeof(TSourceGenerator).FullName ?? throw new InvalidOperationException("Source Generator Type Path cannot be null");
var test = new ExperimentalBindablePropertyTest
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BaseBindablePropertyAttributeSourceGeneratorTest.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BaseBindablePropertyAttributeSourceGeneratorTest.cs
similarity index 90%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BaseBindablePropertyAttributeSourceGeneratorTest.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BaseBindablePropertyAttributeSourceGeneratorTest.cs
index cb2e407d0c..8998d46fd2 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BaseBindablePropertyAttributeSourceGeneratorTest.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BaseBindablePropertyAttributeSourceGeneratorTest.cs
@@ -1,4 +1,4 @@
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.BindablePropertyAttributeSourceGeneratorTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests.BindablePropertyAttributeSourceGeneratorTests;
public abstract class BaseBindablePropertyAttributeSourceGeneratorTest : BaseTest
{
@@ -8,7 +8,7 @@ public abstract class BaseBindablePropertyAttributeSourceGeneratorTest : BaseTes
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_CommonUsageTests.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_CommonUsageTests.cs
similarity index 93%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_CommonUsageTests.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_CommonUsageTests.cs
index 04a364a70b..6747cd999c 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_CommonUsageTests.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_CommonUsageTests.cs
@@ -1,6 +1,6 @@
using Xunit;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.BindablePropertyAttributeSourceGeneratorTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests.BindablePropertyAttributeSourceGeneratorTests;
public class BindablePropertyAttributeSourceGenerator_CommonUsageTests : BaseBindablePropertyAttributeSourceGeneratorTest
{
@@ -28,7 +28,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -69,7 +69,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -110,7 +110,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -154,7 +154,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -213,7 +213,7 @@ static void OnPropertyChanging(BindableObject bindable, object oldValue, object
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -254,7 +254,7 @@ internal partial class TestView : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -334,7 +334,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -375,7 +375,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -417,7 +417,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -458,7 +458,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -500,7 +500,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -542,7 +542,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -589,7 +589,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -657,7 +657,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_EdgeCaseTests.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_EdgeCaseTests.cs
similarity index 96%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_EdgeCaseTests.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_EdgeCaseTests.cs
index 3bbfcdf8ff..f6435b0cc2 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_EdgeCaseTests.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_EdgeCaseTests.cs
@@ -1,6 +1,6 @@
using Xunit;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.BindablePropertyAttributeSourceGeneratorTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests.BindablePropertyAttributeSourceGeneratorTests;
public class BindablePropertyAttributeSourceGenerator_EdgeCaseTests : BaseBindablePropertyAttributeSourceGeneratorTest
{
@@ -31,7 +31,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -85,7 +85,7 @@ public enum Status : byte
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -145,7 +145,7 @@ public enum Status : long
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -205,7 +205,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -264,7 +264,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -317,7 +317,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace Very.Long.Namespace.With.Many.Segments.TestNamespace;
@@ -356,7 +356,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
public partial class {{defaultTestClassName}}
@@ -399,7 +399,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -465,7 +465,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -614,7 +614,7 @@ static string CreateDefaultText(BindableObject bindable)
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -662,7 +662,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_IntegrationTests.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_IntegrationTests.cs
similarity index 93%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_IntegrationTests.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_IntegrationTests.cs
index 32621b5da3..1042443019 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_IntegrationTests.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyAttributeSourceGeneratorTests/BindablePropertyAttributeSourceGenerator_IntegrationTests.cs
@@ -1,6 +1,6 @@
using Xunit;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.BindablePropertyAttributeSourceGeneratorTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests.BindablePropertyAttributeSourceGeneratorTests;
public class BindablePropertyAttributeSourceGenerator_IntegrationTests : BaseBindablePropertyAttributeSourceGeneratorTest
{
@@ -37,7 +37,7 @@ public partial class DerivedView : BaseView
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -56,7 +56,7 @@ public partial class BaseView
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -106,7 +106,7 @@ public partial class {{defaultTestClassName}} : View where T : class
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -153,7 +153,7 @@ public partial class {{defaultTestClassName}} : View where T : class
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -212,7 +212,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -268,7 +268,7 @@ public partial class {{defaultTestClassName}} : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -327,7 +327,7 @@ public partial class SecondView : View
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
@@ -346,7 +346,7 @@ public partial class FirstView
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
namespace {{defaultTestNamespace}};
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyModelTests.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyModelTests.cs
similarity index 97%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyModelTests.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyModelTests.cs
index 1ad9ae042e..84f7a6655f 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/BindablePropertyModelTests.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/BindablePropertyModelTests.cs
@@ -1,10 +1,10 @@
-using CommunityToolkit.Maui.SourceGenerators.Internal.Models;
-using CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests;
+using CommunityToolkit.Maui.SourceGenerators.Models;
+using CommunityToolkit.Maui.SourceGenerators.UnitTests;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Xunit;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests;
+namespace CommunityToolkit.Maui.SourceGenerators.UnitTests;
public class BindablePropertyModelTests : BaseTest
{
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.csproj b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/CommunityToolkit.Maui.SourceGenerators.UnitTests.csproj
similarity index 83%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.csproj
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/CommunityToolkit.Maui.SourceGenerators.UnitTests.csproj
index 7b686c0ae2..a48d4f9997 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests.csproj
+++ b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/CommunityToolkit.Maui.SourceGenerators.UnitTests.csproj
@@ -7,7 +7,7 @@
false
true
Exe
- CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests
+ CommunityToolkit.Maui.SourceGenerators.UnitTests
@@ -32,7 +32,8 @@
-
+
+
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/GlobalUsings.cs b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/GlobalUsings.cs
similarity index 100%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/GlobalUsings.cs
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/GlobalUsings.cs
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/xunit.runner.json b/src/CommunityToolkit.Maui.SourceGenerators.UnitTests/xunit.runner.json
similarity index 100%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal.UnitTests/xunit.runner.json
rename to src/CommunityToolkit.Maui.SourceGenerators.UnitTests/xunit.runner.json
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal/BindablePropertyDiagnostic.cs b/src/CommunityToolkit.Maui.SourceGenerators/BindablePropertyDiagnostic.cs
similarity index 69%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal/BindablePropertyDiagnostic.cs
rename to src/CommunityToolkit.Maui.SourceGenerators/BindablePropertyDiagnostic.cs
index 10519ccac3..9127e652c5 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal/BindablePropertyDiagnostic.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators/BindablePropertyDiagnostic.cs
@@ -1,4 +1,4 @@
-namespace CommunityToolkit.Maui.SourceGenerators.Internal;
+namespace CommunityToolkit.Maui.SourceGenerators;
public static class BindablePropertyDiagnostic
{
diff --git a/src/CommunityToolkit.Maui.SourceGenerators/CommunityToolkit.Maui.SourceGenerators.csproj b/src/CommunityToolkit.Maui.SourceGenerators/CommunityToolkit.Maui.SourceGenerators.csproj
index ad00eac70f..8c7f024e1c 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators/CommunityToolkit.Maui.SourceGenerators.csproj
+++ b/src/CommunityToolkit.Maui.SourceGenerators/CommunityToolkit.Maui.SourceGenerators.csproj
@@ -7,10 +7,12 @@
true
+ true
+
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Generators/AttachedBindablePropertyAttributeSourceGenerator.cs b/src/CommunityToolkit.Maui.SourceGenerators/Generators/AttachedBindablePropertyAttributeSourceGenerator.cs
similarity index 98%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal/Generators/AttachedBindablePropertyAttributeSourceGenerator.cs
rename to src/CommunityToolkit.Maui.SourceGenerators/Generators/AttachedBindablePropertyAttributeSourceGenerator.cs
index 68c46f52a6..662c13a51b 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Generators/AttachedBindablePropertyAttributeSourceGenerator.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators/Generators/AttachedBindablePropertyAttributeSourceGenerator.cs
@@ -1,18 +1,15 @@
-using System;
-using System.Collections.Immutable;
+using System.Collections.Immutable;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Text;
-using System.Xml.Linq;
using CommunityToolkit.Maui.SourceGenerators.Helpers;
-using CommunityToolkit.Maui.SourceGenerators.Internal.Helpers;
-using CommunityToolkit.Maui.SourceGenerators.Internal.Models;
+using CommunityToolkit.Maui.SourceGenerators.Models;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal;
+namespace CommunityToolkit.Maui.SourceGenerators;
[Generator]
public class AttachedBindablePropertyAttributeSourceGenerator : IIncrementalGenerator
@@ -27,7 +24,7 @@ public class AttachedBindablePropertyAttributeSourceGenerator : IIncrementalGene
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertySourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertySourceGenerator
#pragma warning disable
#nullable enable
@@ -94,7 +91,7 @@ public sealed partial class AttachedBindablePropertyAttribute(string property
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertySourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertySourceGenerator
#pragma warning disable
#nullable enable
@@ -207,7 +204,7 @@ static string GenerateSource(AttachedBindablePropertySemanticValues value)
var estimatedCapacity = 500 + (value.BindableProperties.AsImmutableArray().Length * 500);
var sb = new StringBuilder(estimatedCapacity);
- sb.Append("// \n// See: CommunityToolkit.Maui.SourceGenerators.Internal.AttachedBindablePropertyAttributeSourceGenerator\n\n#pragma warning disable\n#nullable enable\n\n");
+ sb.Append("// \n// See: CommunityToolkit.Maui.SourceGenerators.AttachedBindablePropertyAttributeSourceGenerator\n\n#pragma warning disable\n#nullable enable\n\n");
if (!IsGlobalNamespace(value.ClassInformation))
{
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Generators/BindablePropertyAttributeSourceGenerator.cs b/src/CommunityToolkit.Maui.SourceGenerators/Generators/BindablePropertyAttributeSourceGenerator.cs
similarity index 98%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal/Generators/BindablePropertyAttributeSourceGenerator.cs
rename to src/CommunityToolkit.Maui.SourceGenerators/Generators/BindablePropertyAttributeSourceGenerator.cs
index eda6bdcd8a..a1d1aa7c76 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Generators/BindablePropertyAttributeSourceGenerator.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators/Generators/BindablePropertyAttributeSourceGenerator.cs
@@ -3,14 +3,13 @@
using System.Runtime.CompilerServices;
using System.Text;
using CommunityToolkit.Maui.SourceGenerators.Helpers;
-using CommunityToolkit.Maui.SourceGenerators.Internal.Helpers;
-using CommunityToolkit.Maui.SourceGenerators.Internal.Models;
+using CommunityToolkit.Maui.SourceGenerators.Models;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal;
+namespace CommunityToolkit.Maui.SourceGenerators;
[Generator]
public class BindablePropertyAttributeSourceGenerator : IIncrementalGenerator
@@ -23,7 +22,7 @@ public class BindablePropertyAttributeSourceGenerator : IIncrementalGenerator
//lang=csharp
$$"""
//
- // See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator
+ // See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator
#pragma warning disable
#nullable enable
@@ -145,7 +144,7 @@ static string GenerateSource(BindablePropertySemanticValues value)
var sb = new StringBuilder(estimatedCapacity);
// Use string concatenation for simple cases
- sb.Append("// \n// See: CommunityToolkit.Maui.SourceGenerators.Internal.BindablePropertyAttributeSourceGenerator\n\n#pragma warning disable\n#nullable enable\n\n");
+ sb.Append("// \n// See: CommunityToolkit.Maui.SourceGenerators.BindablePropertyAttributeSourceGenerator\n\n#pragma warning disable\n#nullable enable\n\n");
if (!IsGlobalNamespace(value.ClassInformation))
{
diff --git a/src/CommunityToolkit.Maui.SourceGenerators/Generators/TextColorToGenerator.cs b/src/CommunityToolkit.Maui.SourceGenerators/Generators/TextColorToGenerator.cs
index 9c820a6331..b2e5fc997e 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators/Generators/TextColorToGenerator.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators/Generators/TextColorToGenerator.cs
@@ -26,6 +26,14 @@ class TextColorToGenerator : IIncrementalGenerator
public void Initialize(IncrementalGeneratorInitializationContext context)
{
+ // Look
+ var shouldDisableTextColorToGenerator = context.AnalyzerConfigOptionsProvider
+ .Select(static (provider, _) =>
+ {
+ provider.GlobalOptions.TryGetValue("build_property.DisableTextColorToGenerator", out var shouldDisableSourceGenerator);
+ return shouldDisableSourceGenerator == "true";
+ });
+
// Get All Classes in User Library
var userGeneratedClassesProvider = context.SyntaxProvider.CreateSyntaxProvider(
static (syntaxNode, cancellationToken) => syntaxNode is ClassDeclarationSyntax { BaseList: not null },
@@ -97,13 +105,20 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
var inputs = userGeneratedClassesProvider.Collect()
.Combine(mauiControlsAssemblySymbolProvider)
.SelectMany(static (x, _) => Deduplicate(x.Left, x.Right).ToImmutableArray())
- .Select(static (x, _) => GenerateMetadata(x));
+ .Combine(shouldDisableTextColorToGenerator)
+ .Select(static (x, _) => GenerateMetadata(x.Left, x.Right));
+
context.RegisterSourceOutput(inputs, Execution);
}
static void Execution(SourceProductionContext context, TextStyleClassMetadata textStyleClassMetadata)
{
+ if(textStyleClassMetadata.ShouldDisableTextColorToGenerator)
+ {
+ return;
+ }
+
var className = typeof(TextColorToGenerator).FullName;
var assemblyVersion = typeof(TextColorToGenerator).Assembly.GetName().Version.ToString();
@@ -199,13 +214,13 @@ static Animation GetAlphaTransformAnimation({{textStyleClassMetadata.Namespace}}
context.AddSource($"{textStyleClassMetadata.ClassName}TextColorTo.g.shared.cs", SourceText.From(source, Encoding.UTF8));
}
- static TextStyleClassMetadata GenerateMetadata(INamedTypeSymbol namedTypeSymbol)
+ static TextStyleClassMetadata GenerateMetadata(INamedTypeSymbol namedTypeSymbol, bool shouldGenerateTextColorTo)
{
var accessModifier = mauiControlsAssembly == namedTypeSymbol.ContainingNamespace.ToDisplayString()
? "internal"
: GetClassAccessModifier(namedTypeSymbol);
- return new(namedTypeSymbol.Name, accessModifier, namedTypeSymbol.ContainingNamespace.ToDisplayString(), namedTypeSymbol.TypeArguments.GetGenericTypeArgumentsString(), namedTypeSymbol.GetGenericTypeConstraintsAsString());
+ return new(namedTypeSymbol.Name, accessModifier, namedTypeSymbol.ContainingNamespace.ToDisplayString(), namedTypeSymbol.TypeArguments.GetGenericTypeArgumentsString(), namedTypeSymbol.GetGenericTypeConstraintsAsString(), shouldGenerateTextColorTo);
}
static IEnumerable Deduplicate(ImmutableArray left, IEnumerable right)
@@ -245,5 +260,5 @@ static IEnumerable GetMauiInterfaceImplementors(IAssemblySymbo
_ => string.Empty
};
- record TextStyleClassMetadata(string ClassName, string ClassAccessModifier, string Namespace, string GenericArguments, string GenericConstraints);
+ record TextStyleClassMetadata(string ClassName, string ClassAccessModifier, string Namespace, string GenericArguments, string GenericConstraints, bool ShouldDisableTextColorToGenerator);
}
\ No newline at end of file
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Helpers/AttributeExtensions.cs b/src/CommunityToolkit.Maui.SourceGenerators/Helpers/AttributeExtensions.cs
similarity index 92%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal/Helpers/AttributeExtensions.cs
rename to src/CommunityToolkit.Maui.SourceGenerators/Helpers/AttributeExtensions.cs
index 62187d50b6..5dfed1df23 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Helpers/AttributeExtensions.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators/Helpers/AttributeExtensions.cs
@@ -1,7 +1,7 @@
using System.Globalization;
using Microsoft.CodeAnalysis;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.Helpers;
+namespace CommunityToolkit.Maui.SourceGenerators.Helpers;
static class AttributeExtensions
{
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Helpers/EquatableArray{T}.cs b/src/CommunityToolkit.Maui.SourceGenerators/Helpers/EquatableArray{T}.cs
similarity index 99%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal/Helpers/EquatableArray{T}.cs
rename to src/CommunityToolkit.Maui.SourceGenerators/Helpers/EquatableArray{T}.cs
index 8fd9276889..dfa4d68aee 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Helpers/EquatableArray{T}.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators/Helpers/EquatableArray{T}.cs
@@ -8,7 +8,7 @@
using System.Collections.Immutable;
using System.Runtime.CompilerServices;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.Helpers;
+namespace CommunityToolkit.Maui.SourceGenerators.Helpers;
///
/// Extensions for .
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Helpers/HashCode.cs b/src/CommunityToolkit.Maui.SourceGenerators/Helpers/HashCode.cs
similarity index 100%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal/Helpers/HashCode.cs
rename to src/CommunityToolkit.Maui.SourceGenerators/Helpers/HashCode.cs
diff --git a/src/CommunityToolkit.Maui.SourceGenerators/IsExternalInit.cs b/src/CommunityToolkit.Maui.SourceGenerators/IsExternalInit.cs
deleted file mode 100644
index 4282bd06f0..0000000000
--- a/src/CommunityToolkit.Maui.SourceGenerators/IsExternalInit.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-// This code file has automatically been added by the "IsExternalInit" NuGet package (https://www.nuget.org/packages/IsExternalInit).
-// Please see https://github.com/manuelroemer/IsExternalInit for more information.
-//
-// IMPORTANT:
-// DO NOT DELETE THIS FILE if you are using a "packages.config" file to manage your NuGet references.
-// Consider migrating to PackageReferences instead:
-// https://docs.microsoft.com/en-us/nuget/consume-packages/migrate-packages-config-to-package-reference
-// Migrating brings the following benefits:
-// * The "IsExternalInit" folder and the "IsExternalInit.cs" file don't appear in your project.
-// * The added file is immutable and can therefore not be modified by coincidence.
-// * Updating/Uninstalling the package will work flawlessly.
-//
-
-#region License
-// MIT License
-//
-// Copyright (c) Manuel Römer
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
-#endregion
-
-#if !ISEXTERNALINIT_DISABLE
-#nullable enable
-#pragma warning disable
-
-namespace System.Runtime.CompilerServices
-{
- using global::System.Diagnostics;
- using global::System.Diagnostics.CodeAnalysis;
-
- ///
- /// Reserved to be used by the compiler for tracking metadata.
- /// This class should not be used by developers in source code.
- ///
- ///
- /// This definition is provided by the IsExternalInit NuGet package (https://www.nuget.org/packages/IsExternalInit).
- /// Please see https://github.com/manuelroemer/IsExternalInit for more information.
- ///
-#if !ISEXTERNALINIT_INCLUDE_IN_CODE_COVERAGE
- [ExcludeFromCodeCoverage, DebuggerNonUserCode]
-#endif
- internal static class IsExternalInit
- {
- }
-}
-
-#pragma warning restore
-#nullable restore
-#endif // ISEXTERNALINIT_DISABLE
\ No newline at end of file
diff --git a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Models/Records.cs b/src/CommunityToolkit.Maui.SourceGenerators/Models/BindablePropertyRecords.cs
similarity index 64%
rename from src/CommunityToolkit.Maui.SourceGenerators.Internal/Models/Records.cs
rename to src/CommunityToolkit.Maui.SourceGenerators/Models/BindablePropertyRecords.cs
index c48d3b6d11..51c96c1629 100644
--- a/src/CommunityToolkit.Maui.SourceGenerators.Internal/Models/Records.cs
+++ b/src/CommunityToolkit.Maui.SourceGenerators/Models/BindablePropertyRecords.cs
@@ -1,7 +1,7 @@
-using CommunityToolkit.Maui.SourceGenerators.Internal.Helpers;
+using CommunityToolkit.Maui.SourceGenerators.Helpers;
using Microsoft.CodeAnalysis;
-namespace CommunityToolkit.Maui.SourceGenerators.Internal.Models;
+namespace CommunityToolkit.Maui.SourceGenerators.Models;
public record BindablePropertyModel(string PropertyName, ITypeSymbol ReturnType, ITypeSymbol DeclaringType, string DefaultBindingMode, string ValidateValueMethodName, string PropertyChangedMethodName, string PropertyChangingMethodName, string CoerceValueMethodName, string DefaultValueCreatorMethodName, string NewKeywordText, bool IsReadOnlyBindableProperty, string? SetterAccessibility, bool HasInitializer, string? PropertyAccessibility)
{
@@ -20,31 +20,31 @@ public record AttachedBindablePropertyModel(string PropertyName, ITypeSymbol Ret
public string BindablePropertyKeyName => $"{char.ToLower(PropertyName[0])}{PropertyName[1..]}PropertyKey";
public string EffectiveBindablePropertyXmlDocumentation => BindablePropertyXmlDocumentation ??
- /* language=C#-test */
- //lang=csharp
- $"""
- ///
- /// Attached BindableProperty for the {PropertyName} property.
- ///
- """;
+ /* language=C#-test */
+ //lang=csharp
+ $"""
+ ///
+ /// Attached BindableProperty for the {PropertyName} property.
+ ///
+ """;
public string EffectiveGetterMethodXmlDocumentation => GetterMethodXmlDocumentation ??
- /* language=C#-test */
- //lang=csharp
- $"""
- ///
- /// Gets {PropertyName} for the child element.
- ///
- """;
+ /* language=C#-test */
+ //lang=csharp
+ $"""
+ ///
+ /// Gets {PropertyName} for the child element.
+ ///
+ """;
public string EffectiveSetterMethodXmlDocumentation => SetterMethodXmlDocumentation ??
- /* language=C#-test */
- //lang=csharp
- $"""
- ///
- /// Sets {PropertyName} for the child element.
- ///
- """;
+ /* language=C#-test */
+ //lang=csharp
+ $"""
+ ///
+ /// Sets {PropertyName} for the child element.
+ ///
+ """;
internal static bool ShouldPostpendNullableToType(ITypeSymbol typeSymbol, bool isDeclaringTypeNullable)
=> isDeclaringTypeNullable && typeSymbol.OriginalDefinition.SpecialType is not SpecialType.System_Nullable_T;
diff --git a/src/CommunityToolkit.Maui.slnx b/src/CommunityToolkit.Maui.slnx
index 94cb33b5bd..b9de2dfcf7 100644
--- a/src/CommunityToolkit.Maui.slnx
+++ b/src/CommunityToolkit.Maui.slnx
@@ -6,7 +6,6 @@
-
@@ -22,7 +21,7 @@
-
+
diff --git a/src/CommunityToolkit.Maui/Animations/BaseAnimation.shared.cs b/src/CommunityToolkit.Maui/Animations/BaseAnimation.shared.cs
index e27da3c582..81808a292f 100644
--- a/src/CommunityToolkit.Maui/Animations/BaseAnimation.shared.cs
+++ b/src/CommunityToolkit.Maui/Animations/BaseAnimation.shared.cs
@@ -40,6 +40,4 @@ public abstract partial class BaseAnimation(uint defaultLength = Ba
/// Initialize BaseAnimation
///
/// The default time, in milliseconds, over which to animate the transition
-public abstract class BaseAnimation(uint defaultLength = BaseAnimationDefaults.Length) : BaseAnimation(defaultLength)
-{
-}
\ No newline at end of file
+public abstract class BaseAnimation(uint defaultLength = BaseAnimationDefaults.Length) : BaseAnimation(defaultLength);
\ No newline at end of file
diff --git a/src/CommunityToolkit.Maui/CommunityToolkit.Maui.csproj b/src/CommunityToolkit.Maui/CommunityToolkit.Maui.csproj
index c299bd27e7..e97aa548ac 100644
--- a/src/CommunityToolkit.Maui/CommunityToolkit.Maui.csproj
+++ b/src/CommunityToolkit.Maui/CommunityToolkit.Maui.csproj
@@ -16,6 +16,8 @@
10.0.17763.0
10.0.17763.0
6.5
+
+ true
@@ -45,7 +47,8 @@
-
+
+
diff --git a/src/CommunityToolkit.Maui/Converters/MathExpressionConverter/MathExpression.shared.cs b/src/CommunityToolkit.Maui/Converters/MathExpressionConverter/MathExpression.shared.cs
index 28167ff982..f024ef2dcf 100644
--- a/src/CommunityToolkit.Maui/Converters/MathExpressionConverter/MathExpression.shared.cs
+++ b/src/CommunityToolkit.Maui/Converters/MathExpressionConverter/MathExpression.shared.cs
@@ -1,6 +1,4 @@
using System.Collections.ObjectModel;
-using System.Diagnostics;
-using System.Diagnostics.CodeAnalysis;
using System.Text.RegularExpressions;
using CommunityToolkit.Maui.Core;