Skip to content

Commit 5ff4d4f

Browse files
committed
Enable AllowUnsafeBlocks where needed
Follow-up to 6e8600d
1 parent d370049 commit 5ff4d4f

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

components/Collections/src/CommunityToolkit.WinUI.Collections.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
99
<RootNamespace>CommunityToolkit.WinUI.CollectionsRns</RootNamespace>
1010
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
11+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1112
</PropertyGroup>
1213

1314
<ItemGroup>

components/ColorPicker/src/CommunityToolkit.WinUI.Controls.ColorPicker.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
88
<RootNamespace>CommunityToolkit.WinUI.Controls.ColorPickerRns</RootNamespace>
9+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
910
</PropertyGroup>
1011

1112
<ItemGroup>

components/SettingsControls/src/CommunityToolkit.WinUI.Controls.SettingsControls.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
99
<RootNamespace>CommunityToolkit.WinUI.Controls.SettingsControlsRns</RootNamespace>
1010
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
11+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1112
</PropertyGroup>
1213

1314
<!-- Sets this up as a toolkit component's source project -->

components/TokenizingTextBox/src/CommunityToolkit.WinUI.Controls.TokenizingTextBox.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
99
<RootNamespace>CommunityToolkit.WinUI.Controls.TokenizingTextBoxRns</RootNamespace>
1010
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
11+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1112
</PropertyGroup>
1213

1314
<ItemGroup>

0 commit comments

Comments
 (0)