Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//HintName: ReactiveUI.SourceGenerators.BindableDerivedListAttribute.g.cs
// Copyright (c) 2026 .NET Foundation and Contributors. All rights reserved.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

// <auto-generated/>
#pragma warning disable
#nullable enable
namespace ReactiveUI.SourceGenerators;

/// <summary>
/// ReactiveAttribute.
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
//HintName: TestNs.TestVM.BindableDerivedList.g.cs
// <auto-generated/>
using System.Collections.ObjectModel;
using DynamicData;
using ReactiveUI;

#pragma warning disable
#nullable enable

namespace TestNs
{

public partial class TestVM
{
/// <inheritdoc cref="_publicItems"/>
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
public global::System.Collections.ObjectModel.ReadOnlyObservableCollection<string>? PublicItems => _publicItems;
/// <inheritdoc cref="_protectedItems"/>
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
protected global::System.Collections.ObjectModel.ReadOnlyObservableCollection<string>? ProtectedItems => _protectedItems;
/// <inheritdoc cref="_internalItems"/>
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
internal global::System.Collections.ObjectModel.ReadOnlyObservableCollection<string>? InternalItems => _internalItems;
/// <inheritdoc cref="_privateItems"/>
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
private global::System.Collections.ObjectModel.ReadOnlyObservableCollection<string>? PrivateItems => _privateItems;
/// <inheritdoc cref="_internalProtectedItems"/>
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
protected internal global::System.Collections.ObjectModel.ReadOnlyObservableCollection<string>? InternalProtectedItems => _internalProtectedItems;
/// <inheritdoc cref="_privateProtectedItems"/>
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
private protected global::System.Collections.ObjectModel.ReadOnlyObservableCollection<string>? PrivateProtectedItems => _privateProtectedItems;
}
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
#pragma warning restore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//HintName: ReactiveUI.SourceGenerators.BindableDerivedListAttribute.g.cs
// Copyright (c) 2026 .NET Foundation and Contributors. All rights reserved.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

// <auto-generated/>
#pragma warning disable
#nullable enable
namespace ReactiveUI.SourceGenerators;

/// <summary>
/// ReactiveAttribute.
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//HintName: TestNs.ViewModel.BindableDerivedList.g.cs
// <auto-generated/>
using System.Collections.ObjectModel;
using DynamicData;
using ReactiveUI;

#pragma warning disable
#nullable enable

namespace TestNs
{

internal partial class ViewModel
{
/// <inheritdoc cref="_theList"/>
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
public global::System.Collections.ObjectModel.ReadOnlyObservableCollection<string>? TheList => _theList;
}
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ namespace ReactiveUI.SourceGenerators;
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
internal sealed class BindableDerivedListAttribute : global::System.Attribute
{
/// <summary>
/// Gets the AccessModifier of the BindableDerivedList property.
/// </summary>
/// <value>
/// The AccessModifier of the property.
/// </value>
public PropertyAccessModifier AccessModifier { get; init; }
}
#nullable restore
#pragma warning restore
Loading
Loading