Skip to content

Commit af01dae

Browse files
committed
Remove 'init' accessors
1 parent 3e38237 commit af01dae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Tasks/Microsoft.NET.Build.Tasks/RunCsWinRTGenerator.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,17 @@ public sealed class RunCsWinRTGenerator : ToolTask
6969
/// <summary>
7070
/// Gets whether to validate the assembly version of <c>WinRT.Runtime.dll</c>, to ensure it matches the generator.
7171
/// </summary>
72-
public bool ValidateWinRTRuntimeAssemblyVersion { get; init; } = true;
72+
public bool ValidateWinRTRuntimeAssemblyVersion { get; set; } = true;
7373

7474
/// <summary>
7575
/// Gets whether to validate that any references to <c>WinRT.Runtime.dll</c> version 2 are present across any assemblies.
7676
/// </summary>
77-
public bool ValidateWinRTRuntimeDllVersion2References { get; init; } = true;
77+
public bool ValidateWinRTRuntimeDllVersion2References { get; set; } = true;
7878

7979
/// <summary>
8080
/// Gets whether to treat warnings coming from 'cswinrtgen' as errors (regardless of the global 'TreatWarningsAsErrors' setting).
8181
/// </summary>
82-
public bool TreatWarningsAsErrors { get; init; } = false;
82+
public bool TreatWarningsAsErrors { get; set; } = false;
8383

8484
/// <summary>
8585
/// Gets or sets the maximum number of parallel tasks to use for execution.

0 commit comments

Comments
 (0)