Skip to content
Open
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
5 changes: 3 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ dotnet_diagnostic.CA1000.severity = none # Do not declare static members on gene
dotnet_diagnostic.CA1001.severity = error # Types that own disposable fields should be disposable
dotnet_diagnostic.CA1002.severity = none # Do not expose generic lists — we deliberately expose List<T>; interface-based collections are an older convention we don't follow
dotnet_diagnostic.CA1003.severity = error # Use generic event handler instances
dotnet_diagnostic.CA1005.severity = error # Avoid excessive parameters on generic types
dotnet_diagnostic.CA1005.severity = none # Avoid excessive parameters on generic types - stateful maps, multi-value handles and self-typed aggregators need the extra type parameters; collapsing them costs tuples or boxing
dotnet_diagnostic.CA1008.severity = error # Enums should have zero value
dotnet_diagnostic.CA1010.severity = none # Collections should implement generic interface — we deliberately expose concrete collection types; interface-based collections are an older convention we don't follow
dotnet_diagnostic.CA1012.severity = error # Abstract types should not have public constructors
Expand All @@ -213,7 +213,7 @@ dotnet_diagnostic.CA1040.severity = error # Avoid empty interfaces
dotnet_diagnostic.CA1041.severity = error # Provide ObsoleteAttribute message
dotnet_diagnostic.CA1043.severity = error # Use integral or string argument for indexers
dotnet_diagnostic.CA1044.severity = error # Properties should not be write only
dotnet_diagnostic.CA1045.severity = error # Do not pass types by reference
dotnet_diagnostic.CA1045.severity = none # Do not pass types by reference - passing mutable structs by ref is the zero-allocation idiom for delivery gates and sink helpers
dotnet_diagnostic.CA1046.severity = error # Do not overload operator equals on reference types
dotnet_diagnostic.CA1047.severity = error # Do not declare protected member in sealed type
dotnet_diagnostic.CA1048.severity = error # Do not declare virtual members in sealed types
Expand Down Expand Up @@ -289,6 +289,7 @@ dotnet_diagnostic.CA1819.severity = none # Properties should not return arrays
dotnet_diagnostic.CA1820.severity = error # Test for empty strings using string length
dotnet_diagnostic.CA1821.severity = error # Remove empty finalizers
dotnet_diagnostic.CA1822.severity = error # Mark members as static
dotnet_code_quality.CA1822.api_surface = private, internal # Mark members as static applies to private and internal members only; making a public member static breaks callers
dotnet_diagnostic.CA1823.severity = error # Avoid unused private fields
dotnet_diagnostic.CA1824.severity = error # Mark assemblies with NeutralResourcesLanguageAttribute
dotnet_diagnostic.CA1825.severity = error # Avoid zero-length array allocations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property15">The value of the fifteenth observed property.</param>
/// <param name="Property16">The value of the sixteenth observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +14 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property14">The value of the fourteenth observed property.</param>
/// <param name="Property15">The value of the fifteenth observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +13 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property13">The value of the thirteenth observed property.</param>
/// <param name="Property14">The value of the fourteenth observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +12 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property12">The value of the twelfth observed property.</param>
/// <param name="Property13">The value of the thirteenth observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +11 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property11">The value of the eleventh observed property.</param>
/// <param name="Property12">The value of the twelfth observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +10 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property10">The value of the tenth observed property.</param>
/// <param name="Property11">The value of the eleventh observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +9 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property9">The value of the ninth observed property.</param>
/// <param name="Property10">The value of the tenth observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +8 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property8">The value of the eighth observed property.</param>
/// <param name="Property9">The value of the ninth observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +7 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5, T6, T7, T8, T9>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property7">The value of the seventh observed property.</param>
/// <param name="Property8">The value of the eighth observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +6 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5, T6, T7, T8>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property6">The value of the sixth observed property.</param>
/// <param name="Property7">The value of the seventh observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +5 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5, T6, T7>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property5">The value of the fifth observed property.</param>
/// <param name="Property6">The value of the sixth observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +4 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5, T6>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property4">The value of the fourth observed property.</param>
/// <param name="Property5">The value of the fifth observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +3 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4, T5>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property3">The value of the third observed property.</param>
/// <param name="Property4">The value of the fourth observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +2 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3, T4>(
T1 Property1,
T2 Property2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ namespace ReactiveUI.Binding;
/// <param name="Property2">The value of the second observed property.</param>
/// <param name="Property3">The value of the third observed property.</param>
[DebuggerDisplay("PropertyValues: {Property1}, {Property2}, +1 more")]
[SuppressMessage(
"Design",
"CA1005:Avoid excessive parameters on generic types",
Justification = "One arity-expanded emission per observed-property count; the type parameters are the observed properties.")]
public readonly record struct PropertyValues<T1, T2, T3>(
T1 Property1,
T2 Property2,
Expand Down