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
Copy file name to clipboardExpand all lines: components/DependencyPropertyGenerator/CommunityToolkit.DependencyPropertyGenerator.SourceGenerators/Extensions/IOperationExtensions.cs
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -36,13 +36,14 @@ public static bool IsConstantValueDefault(this IOperation operation)
36
36
returntrue;
37
37
}
38
38
39
-
// Manually match for known primitive types
39
+
// Manually match for known primitive types (this should be kept in sync with 'IsWellKnownWinRTProjectedValueType')
Copy file name to clipboardExpand all lines: components/DependencyPropertyGenerator/CommunityToolkit.DependencyPropertyGenerator.SourceGenerators/Extensions/WinRTExtensions.cs
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -57,15 +57,16 @@ public static bool IsWellKnownWinRTProjectedValueType(this ITypeSymbol symbol, b
57
57
58
58
// Lastly, special case the well known primitive types
Copy file name to clipboardExpand all lines: components/DependencyPropertyGenerator/CommunityToolkit.DependencyPropertyGenerator.Tests/Test_DependencyPropertyGenerator.cs
+116Lines changed: 116 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4282,4 +4282,120 @@ public partial string? Name
/// <summary>Executes the logic for when the <see langword="set"/> accessor <see cref="IsSelected"/> is invoked</summary>
4367
+
/// <param name="propertyValue">The boxed property value that has been produced before assigning to <see cref="IsSelectedProperty"/>.</param>
4368
+
/// <remarks>This method is invoked on the boxed value that is about to be passed to <see cref="SetValue"/> on <see cref="IsSelectedProperty"/>.</remarks>
/// <summary>Executes the logic for when <see cref="IsSelected"/> has just changed.</summary>
4385
+
/// <param name="e">Event data that is issued by any event that tracks changes to the effective value of this property.</param>
4386
+
/// <remarks>This method is invoked by the <see cref="global::Windows.UI.Xaml.DependencyProperty"/> infrastructure, after the value of <see cref="IsSelected"/> is changed.</remarks>
/// <summary>Executes the logic for when any dependency property has just changed.</summary>
4391
+
/// <param name="e">Event data that is issued by any event that tracks changes to the effective value of this property.</param>
4392
+
/// <remarks>This method is invoked by the <see cref="global::Windows.UI.Xaml.DependencyProperty"/> infrastructure, after the value of any dependency property has just changed.</remarks>
0 commit comments