Skip to content

Commit 346a710

Browse files
committed
Apply necessary partial to WinRT classes
1 parent 6b08e4b commit 346a710

File tree

321 files changed

+396
-393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

321 files changed

+396
-393
lines changed

src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<Configurations>Debug;Release</Configurations>
1010
<Platforms>x86;x64;ARM64</Platforms>
1111
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
12+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1213
</PropertyGroup>
1314

1415
<PropertyGroup>

src/Files.App.Controls/AdaptiveGridView/AdaptiveHeightValueConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
namespace Files.App.Controls
1212
{
13-
internal class AdaptiveHeightValueConverter : IValueConverter
13+
internal partial class AdaptiveHeightValueConverter : IValueConverter
1414
{
1515
private Thickness thickness = new Thickness(0, 0, 4, 4);
1616

src/Files.App.Controls/BladeView/BladeItemAutomationPeer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Files.App.Controls
1515
/// <summary>
1616
/// Defines a framework element automation peer for the <see cref="BladeItem"/>.
1717
/// </summary>
18-
public class BladeItemAutomationPeer : FrameworkElementAutomationPeer
18+
public partial class BladeItemAutomationPeer : FrameworkElementAutomationPeer
1919
{
2020
/// <summary>
2121
/// Initializes a new instance of the <see cref="BladeItemAutomationPeer"/> class.

src/Files.App.Controls/BladeView/BladeViewAutomationPeer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Files.App.Controls
1414
/// <summary>
1515
/// Defines a framework element automation peer for the <see cref="BladeView"/> control.
1616
/// </summary>
17-
public class BladeViewAutomationPeer : ItemsControlAutomationPeer
17+
public partial class BladeViewAutomationPeer : ItemsControlAutomationPeer
1818
{
1919
/// <summary>
2020
/// Initializes a new instance of the <see cref="BladeViewAutomationPeer"/> class.

src/Files.App.Controls/Files.App.Controls.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<Configurations>Debug;Release</Configurations>
1010
<Platforms>x86;x64;arm64</Platforms>
1111
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
12+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1213
</PropertyGroup>
1314

1415
<ItemGroup>

src/Files.App.Controls/ThemedIcon/Data/ThemedIconLayers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Files.App.Controls
66
/// <summary>
77
/// A collection of Layers for the ThemedIcon's Layered IconType
88
/// </summary>
9-
public sealed class ThemedIconLayers : List<ThemedIconLayer>
9+
public sealed partial class ThemedIconLayers : List<ThemedIconLayer>
1010
{
1111
}
1212
}

src/Files.App.Controls/Toolbar/ToolbarItemList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Files.App.Controls
77
/// A collection of Toolbar Items,
88
/// that are included in the IToolbarItemSet interface
99
/// </summary>
10-
internal class ToolbarItemList : List<IToolbarItemSet>
10+
internal partial class ToolbarItemList : List<IToolbarItemSet>
1111
{
1212
}
1313
}

src/Files.App.Controls/Toolbar/ToolbarItemOverflowList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Files.App.Controls
77
/// A collection of Toolbar Items which are presented in the Overflow Menu,
88
/// that are included in the IToolbarItemSet interface
99
/// </summary>
10-
internal class ToolbarItemOverflowList : List<IToolbarOverflowItemSet>
10+
internal partial class ToolbarItemOverflowList : List<IToolbarOverflowItemSet>
1111
{
1212
}
1313
}

src/Files.App/Actions/Content/Archives/Compress/CompressIntoArchiveAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Files.App.Actions
99
{
10-
internal sealed class CompressIntoArchiveAction : BaseCompressArchiveAction
10+
internal sealed partial class CompressIntoArchiveAction : BaseCompressArchiveAction
1111
{
1212
public override string Label
1313
=> "CreateArchive".GetLocalizedResource();

src/Files.App/Actions/Content/Archives/Compress/CompressIntoSevenZipAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Files.App.Actions
55
{
6-
internal sealed class CompressIntoSevenZipAction : BaseCompressArchiveAction
6+
internal sealed partial class CompressIntoSevenZipAction : BaseCompressArchiveAction
77
{
88
public override string Label
99
=> string.Format("CreateNamedArchive".GetLocalizedResource(), $"{StorageArchiveService.GenerateArchiveNameFromItems(context.SelectedItems)}.7z");

0 commit comments

Comments
 (0)