You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add ObservableEventTargetSets.Empty singleton to avoid allocations
- Cache Avalonia type metadata lookups to avoid repeated calls
- Use static readonly Empty field for common empty return path
- Minor code cleanup with comments for clarity
Part of #11
Copy file name to clipboardExpand all lines: MvvmAIO.R3.SourceGenerators.Tests/ObservableEventsGeneratorTests.Generates_FromEvents_wrapper_for_action_event.verified.txt
-17Lines changed: 0 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -81,22 +81,5 @@ internal static partial class ObservableEventsBootstrapExtensions
81
81
{
82
82
return default;
83
83
}
84
-
85
-
/// <summary>
86
-
/// Dummy receiver for grouping static observable events (<c>ObservableEventsStatics</c> codegen).
87
-
/// Call <see cref=""ObservableEventsStatics{T}(T?)"/>: for example <c>((MyType?)null).ObservableEventsStatics()</c>.
88
-
/// </summary>
89
-
public static NullEvents ObservableEventsStatics<T>(this T? source)
0 commit comments