├── .github ├── ISSUE_TEMPLATE │ └── bug-report.yaml ├── dependabot.yml └── workflows │ ├── auto-merge.yml │ ├── main.yml │ └── pull-request.yml ├── .gitignore ├── DependencyPropertyGenerator.sln ├── DependencyPropertyGenerator.sln.DotSettings ├── LICENSE ├── README.md ├── assets └── nuget_icon.png ├── global.json └── src ├── Directory.Build.props ├── Directory.Packages.props ├── key.snk ├── libs ├── DependencyPropertyGenerator.Attributes │ ├── AddOwnerAttribute.cs │ ├── AttachedDependencyPropertyAttribute.cs │ ├── DefaultBindingMode.cs │ ├── DependencyPropertyAttribute.cs │ ├── DependencyPropertyGenerator.Attributes.csproj │ ├── Localizability.cs │ ├── OverrideMetadataAttribute.cs │ ├── RoutedEventAttribute.cs │ ├── RoutedEventStrategy.cs │ ├── SourceTrigger.cs │ └── WeakEventAttribute.cs ├── DependencyPropertyGenerator │ ├── DependencyPropertyGenerator.csproj │ ├── DependencyPropertyGenerator.props │ ├── Generators │ │ ├── AddOwnerGenerator.cs │ │ ├── AttachedDependencyPropertyGenerator.cs │ │ ├── DependencyPropertyGenerator.cs │ │ ├── OverrideMetadataGenerator.cs │ │ ├── PrepareData.cs │ │ ├── RoutedEventGenerator.cs │ │ ├── StaticConstructorGenerator.cs │ │ └── WeakEventGenerator.cs │ ├── Models │ │ ├── ClassData.cs │ │ ├── DependencyPropertyData.cs │ │ └── EventData.cs │ └── Sources │ │ ├── Sources.AddOwner.cs │ │ ├── Sources.AttachedDependencyProperty.cs │ │ ├── Sources.Attributes.cs │ │ ├── Sources.Callbacks.cs │ │ ├── Sources.DependencyProperty.cs │ │ ├── Sources.Helpers.cs │ │ ├── Sources.OverrideMetadata.cs │ │ ├── Sources.RoutedEvent.cs │ │ ├── Sources.StaticConstructor.cs │ │ ├── Sources.WeakEvent.cs │ │ └── Sources.XmlDocumentation.cs └── Directory.Build.props └── tests ├── DependencyPropertyGenerator.IntegrationTests ├── DependencyPropertyGenerator.IntegrationTests.csproj ├── DependencyPropertyGeneratorTests.cs └── MainWindow.cs └── DependencyPropertyGenerator.SnapshotTests ├── DependencyPropertyGenerator.SnapshotTests.csproj ├── ModuleInitializer.cs ├── Snapshots ├── AddOwner │ ├── Avalonia │ │ ├── Tests.AddOwner_Diagnostics.verified.txt │ │ ├── _#AddOwnerAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.UnrelatedStateControl.AddOwner.Background.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.AddOwner_Diagnostics.verified.txt │ │ ├── _#AddOwnerAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.AddOwner_Diagnostics.verified.txt │ │ ├── _#AddOwnerAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.AddOwner_Diagnostics.verified.txt │ │ ├── _#AddOwnerAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.AddOwner_Diagnostics.verified.txt │ │ ├── _#AddOwnerAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.UnrelatedStateControl.AddOwner.Background.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── AddOwner2 │ ├── Avalonia │ │ ├── Tests.AddOwner2_Diagnostics.verified.txt │ │ ├── _#AddOwnerAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.UnrelatedStateControl.AddOwner.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.AddOwner2_Diagnostics.verified.txt │ │ ├── _#AddOwnerAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.AddOwner2_Diagnostics.verified.txt │ │ ├── _#AddOwnerAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.AddOwner2_Diagnostics.verified.txt │ │ ├── _#AddOwnerAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.AddOwner2_Diagnostics.verified.txt │ │ ├── _#AddOwnerAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.UnrelatedStateControl.AddOwner.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── AttachedPropertyWithoutSecondType │ ├── Avalonia │ │ ├── Tests.AttachedPropertyWithoutSecondType_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.SomeProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.AttachedPropertyWithoutSecondType_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.SomeProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.AttachedPropertyWithoutSecondType_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.SomeProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.AttachedPropertyWithoutSecondType_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.SomeProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.AttachedPropertyWithoutSecondType_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.SomeProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── AttachedReadOnlyProperty │ ├── Avalonia │ │ ├── Tests.AttachedReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.AttachedReadOnlyProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.AttachedReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.AttachedReadOnlyProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.AttachedReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.AttachedReadOnlyProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.AttachedReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.AttachedReadOnlyProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.AttachedReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.AttachedReadOnlyProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── AttachedRoutedEvent │ ├── Avalonia │ │ ├── Tests.AttachedRoutedEvent_Diagnostics.verified.txt │ │ ├── _#RoutedEventAttribute.g.verified.cs │ │ └── _#RoutedEventStrategy.g.verified.cs │ ├── Maui │ │ ├── Tests.AttachedRoutedEvent_Diagnostics.verified.txt │ │ ├── _#RoutedEventAttribute.g.verified.cs │ │ └── _#RoutedEventStrategy.g.verified.cs │ ├── Uno │ │ ├── Tests.AttachedRoutedEvent_Diagnostics.verified.txt │ │ ├── _#RoutedEventAttribute.g.verified.cs │ │ └── _#RoutedEventStrategy.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.AttachedRoutedEvent_Diagnostics.verified.txt │ │ ├── _#RoutedEventAttribute.g.verified.cs │ │ └── _#RoutedEventStrategy.g.verified.cs │ └── Wpf │ │ ├── Tests.AttachedRoutedEvent_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyControl.AttachedEvents.TrayLeftMouseDown.g.verified.cs │ │ ├── _#RoutedEventAttribute.g.verified.cs │ │ └── _#RoutedEventStrategy.g.verified.cs ├── Attributes │ ├── Avalonia │ │ ├── Tests.Attributes_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.AttributedProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.Attributes_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.AttributedProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.Attributes_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.AttributedProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.Attributes_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.AttributedProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.Attributes_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.AttributedProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── BindEvent │ ├── Avalonia │ │ ├── Tests.BindEvent_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.UIElementExtensions.AttachedProperties.BindEventProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.UIElementExtensions.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.BindEvent_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.VisualElementExtensions.AttachedProperties.BindEventProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.BindEvent_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.UIElementExtensions.AttachedProperties.BindEventProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.BindEvent_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.UIElementExtensions.AttachedProperties.BindEventProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.BindEvent_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.UIElementExtensions.AttachedProperties.BindEventProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── BindEvents │ ├── Avalonia │ │ ├── Tests.BindEvents_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyUIElement.Properties.BindEventsProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyUIElement.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.BindEvents_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyVisualElement.Properties.BindEventsProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.BindEvents_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyUIElement.Properties.BindEventsProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.BindEvents_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyUIElement.Properties.BindEventsProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.BindEvents_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyUIElement.Properties.BindEventsProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── CreateDefaultValueCallback │ ├── Avalonia │ │ ├── Tests.CreateDefaultValueCallback_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.SomeProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.CreateDefaultValueCallback_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.SomeProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.CreateDefaultValueCallback_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.SomeProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.CreateDefaultValueCallback_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.SomeProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.CreateDefaultValueCallback_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.SomeProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── CustomOnChanged │ ├── Avalonia │ │ ├── Tests.CustomOnChanged_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.CustomOnChanged_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.CustomOnChanged_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.CustomOnChanged_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.CustomOnChanged_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── CustomOnChangedAttached │ ├── Avalonia │ │ ├── Tests.CustomOnChangedAttached_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridHelpers.AttachedProperties.RowCount.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridHelpers.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.CustomOnChangedAttached_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridHelpers.AttachedProperties.RowCount.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.CustomOnChangedAttached_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridHelpers.AttachedProperties.RowCount.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.CustomOnChangedAttached_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridHelpers.AttachedProperties.RowCount.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.CustomOnChangedAttached_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridHelpers.AttachedProperties.RowCount.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── DefaultBindingMode │ ├── Avalonia │ │ ├── Tests.DefaultBindingMode_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.DefaultBindingMode_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.DefaultBindingMode_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.DefaultBindingMode_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.DefaultBindingMode_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── DefaultUpdateSourceTrigger │ ├── Avalonia │ │ ├── Tests.DefaultUpdateSourceTrigger_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.ExplicitUpdateSourceTriggerProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.DefaultUpdateSourceTrigger_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.ExplicitUpdateSourceTriggerProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.DefaultUpdateSourceTrigger_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.ExplicitUpdateSourceTriggerProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.DefaultUpdateSourceTrigger_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.ExplicitUpdateSourceTriggerProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.DefaultUpdateSourceTrigger_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.ExplicitUpdateSourceTriggerProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── DescriptionWithCref │ ├── Avalonia │ │ ├── Tests.DescriptionWithCref_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.DescriptionWithCref_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.DescriptionWithCref_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.DescriptionWithCref_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.DescriptionWithCref_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── Dictionary │ ├── Avalonia │ │ ├── Tests.Dictionary_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Headers.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.Dictionary_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Headers.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.Dictionary_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Headers.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.Dictionary_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Headers.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.Dictionary_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Headers.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── Direct │ ├── Avalonia │ │ ├── Tests.Direct_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.Direct_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.Direct_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.Direct_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.Direct_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── DirectReadOnly │ ├── Avalonia │ │ ├── Tests.DirectReadOnly_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.DirectReadOnly_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.DirectReadOnly_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.DirectReadOnly_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.DirectReadOnly_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── Enum │ ├── Avalonia │ │ ├── Tests.Enum_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TreeViewExtensions.AttachedProperties.Mode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TreeViewExtensions.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.Enum_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.Mode.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.Enum_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TreeViewExtensions.AttachedProperties.Mode.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.Enum_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TreeViewExtensions.AttachedProperties.Mode.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.Enum_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TreeViewExtensions.AttachedProperties.Mode.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── FloatLiterals │ ├── Avalonia │ │ ├── Tests.FloatLiterals_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.FloatProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.FloatLiterals_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.FloatProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.FloatLiterals_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.FloatProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.FloatLiterals_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.FloatProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.FloatLiterals_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.FloatProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── InheritClass │ ├── Avalonia │ │ ├── Tests.InheritClass_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGird.AttachedProperties.MyColumn.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.InheritClass_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGird.AttachedProperties.MyColumn.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.InheritClass_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGird.AttachedProperties.MyColumn.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.InheritClass_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGird.AttachedProperties.MyColumn.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.InheritClass_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGird.AttachedProperties.MyColumn.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── MultiTypesInOne │ ├── Avalonia │ │ ├── Tests.MultiTypesInOne_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty2.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty3.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.StaticConstructor.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty2.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty3.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.MultiTypesInOne_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty2.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty3.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.MyProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.MyProperty2.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.MyProperty3.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.MultiTypesInOne_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty2.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty3.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty2.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty3.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.MultiTypesInOne_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty2.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty3.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty2.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty3.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.MultiTypesInOne_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty2.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.AnotherControl.Properties.MyProperty3.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty2.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.MyProperty3.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── MultidimensionalArray │ ├── Avalonia │ │ ├── Tests.MultidimensionalArray_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Values3.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.MultidimensionalArray_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.Values3.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.MultidimensionalArray_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Values3.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.MultidimensionalArray_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Values3.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.MultidimensionalArray_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Values3.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── MultilineDescription │ ├── Avalonia │ │ ├── Tests.MultilineDescription_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.UserAgentSuffix.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.MultilineDescription_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.UserAgentSuffix.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.MultilineDescription_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.UserAgentSuffix.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.MultilineDescription_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.UserAgentSuffix.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.MultilineDescription_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.UserAgentSuffix.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── MultipleClassDeclarations │ ├── Avalonia │ │ ├── Tests.MultipleClassDeclarations_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning2.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.MultipleClassDeclarations_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning2.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.MultipleClassDeclarations_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning2.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.MultipleClassDeclarations_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning2.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.MultipleClassDeclarations_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning2.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── NonGenericAttributes │ ├── Avalonia │ │ ├── Tests.NonGenericAttributes_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.AttachedProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.NonGenericAttributes_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.AttachedProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.NonGenericAttributes_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.AttachedProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.NonGenericAttributes_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.AttachedProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.NonGenericAttributes_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.AttachedProperty.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── NoneFramework │ └── None │ │ ├── Tests.NoneFramework_Diagnostics.verified.txt │ │ ├── _#WeakEventAttribute.g.verified.cs │ │ └── _.verified.txt ├── NullableDisable │ ├── Avalonia │ │ ├── Tests.NullableDisable_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.NullableDisable_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.NullableDisable_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.NullableDisable_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.NullableDisable_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── NullableValueType │ ├── Avalonia │ │ ├── Tests.NullableValueType_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Property.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.NullableValueType_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Property.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.NullableValueType_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Property.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.NullableValueType_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Property.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.NullableValueType_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Property.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── OverrideMetadata │ ├── Avalonia │ │ ├── Tests.OverrideMetadata_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Aquarium.Properties.AquariumGraphic.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#OverrideMetadataAttribute.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.OverrideMetadata_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Aquarium.Properties.AquariumGraphic.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#OverrideMetadataAttribute.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.OverrideMetadata_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Aquarium.Properties.AquariumGraphic.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TropicalAquarium.Methods.RegisterPropertyChangedCallbacks.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#OverrideMetadataAttribute.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.OverrideMetadata_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Aquarium.Properties.AquariumGraphic.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TropicalAquarium.Methods.RegisterPropertyChangedCallbacks.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#OverrideMetadataAttribute.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.OverrideMetadata_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Aquarium.Properties.AquariumGraphic.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TropicalAquarium.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#OverrideMetadataAttribute.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── OverrideMetadataForReadOnlyProperty │ ├── Avalonia │ │ ├── Tests.OverrideMetadataForReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Aquarium.Properties.AquariumGraphic.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#OverrideMetadataAttribute.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.OverrideMetadataForReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Aquarium.Properties.AquariumGraphic.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#OverrideMetadataAttribute.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.OverrideMetadataForReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Aquarium.Properties.AquariumGraphic.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TropicalAquarium.Methods.RegisterPropertyChangedCallbacks.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#OverrideMetadataAttribute.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.OverrideMetadataForReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Aquarium.Properties.AquariumGraphic.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TropicalAquarium.Methods.RegisterPropertyChangedCallbacks.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#OverrideMetadataAttribute.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.OverrideMetadataForReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Aquarium.Properties.AquariumGraphic.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TropicalAquarium.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#OverrideMetadataAttribute.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── PrimitiveTypeArray │ ├── Avalonia │ │ ├── Tests.PrimitiveTypeArray_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Values.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.PrimitiveTypeArray_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.Values.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.PrimitiveTypeArray_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Values.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.PrimitiveTypeArray_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Values.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.PrimitiveTypeArray_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.Values.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── ReadOnlyProperty │ ├── Avalonia │ │ ├── Tests.ReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.ReadOnlyProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.ReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.ReadOnlyProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.ReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.ReadOnlyProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.ReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.ReadOnlyProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.ReadOnlyProperty_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.ReadOnlyProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── ReadmeExample │ ├── Avalonia │ │ ├── Tests.ReadmeExample_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.StaticConstructor.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TreeViewExtensions.AttachedProperties.SelectedItem.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TreeViewExtensions.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.ReadmeExample_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.GridExtensions.AttachedProperties.SelectedItem.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.ReadmeExample_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TreeViewExtensions.AttachedProperties.SelectedItem.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.ReadmeExample_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TreeViewExtensions.AttachedProperties.SelectedItem.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.ReadmeExample_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.TreeViewExtensions.AttachedProperties.SelectedItem.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── RoutedEvent │ ├── Avalonia │ │ ├── Tests.RoutedEvent_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyControl.Events.TrayLeftMouseDown.g.verified.cs │ │ ├── _#RoutedEventAttribute.g.verified.cs │ │ └── _#RoutedEventStrategy.g.verified.cs │ ├── Maui │ │ ├── Tests.RoutedEvent_Diagnostics.verified.txt │ │ ├── _#RoutedEventAttribute.g.verified.cs │ │ └── _#RoutedEventStrategy.g.verified.cs │ ├── Uno │ │ ├── Tests.RoutedEvent_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyControl.Events.TrayLeftMouseDown.g.verified.cs │ │ ├── _#RoutedEventAttribute.g.verified.cs │ │ └── _#RoutedEventStrategy.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.RoutedEvent_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyControl.Events.TrayLeftMouseDown.g.verified.cs │ │ ├── _#RoutedEventAttribute.g.verified.cs │ │ └── _#RoutedEventStrategy.g.verified.cs │ └── Wpf │ │ ├── Tests.RoutedEvent_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyControl.Events.TrayLeftMouseDown.g.verified.cs │ │ ├── _#RoutedEventAttribute.g.verified.cs │ │ └── _#RoutedEventStrategy.g.verified.cs ├── SameClassAsTypeParameter │ ├── Avalonia │ │ ├── Tests.SameClassAsTypeParameter_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Test.AttachedProperties.TestProp.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Test.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.SameClassAsTypeParameter_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Test.AttachedProperties.TestProp.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.SameClassAsTypeParameter_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Test.AttachedProperties.TestProp.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.SameClassAsTypeParameter_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Test.AttachedProperties.TestProp.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.SameClassAsTypeParameter_Diagnostics.verified.txt │ │ ├── _#AttachedDependencyPropertyAttribute.g.verified.cs │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.Test.AttachedProperties.TestProp.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── SameNameDifferentNamespaces │ ├── Avalonia │ │ ├── Tests.SameNameDifferentNamespaces_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#Namespace1.MyControl.Properties.MyProperty.g.verified.cs │ │ ├── _#Namespace2.MyControl.Properties.MyProperty.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.SameNameDifferentNamespaces_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#Namespace1.MyGrid.Properties.MyProperty.g.verified.cs │ │ ├── _#Namespace2.MyGrid.Properties.MyProperty.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.SameNameDifferentNamespaces_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#Namespace1.MyControl.Properties.MyProperty.g.verified.cs │ │ ├── _#Namespace2.MyControl.Properties.MyProperty.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.SameNameDifferentNamespaces_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#Namespace1.MyControl.Properties.MyProperty.g.verified.cs │ │ ├── _#Namespace2.MyControl.Properties.MyProperty.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.SameNameDifferentNamespaces_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ ├── _#Namespace1.MyControl.Properties.MyProperty.g.verified.cs │ │ ├── _#Namespace2.MyControl.Properties.MyProperty.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── StaticWeakEvent │ ├── Avalonia │ │ ├── Tests.StaticWeakEvent_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── Maui │ │ ├── Tests.StaticWeakEvent_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyGrid.WeakEvents.Completed.g.verified.cs │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── Uno │ │ ├── Tests.StaticWeakEvent_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.StaticWeakEvent_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ └── Wpf │ │ ├── Tests.StaticWeakEvent_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyControl.WeakEvents.Completed.g.verified.cs │ │ └── _#WeakEventAttribute.g.verified.cs ├── StaticWeakEventWithType │ ├── Avalonia │ │ ├── Tests.StaticWeakEventWithType_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── Maui │ │ ├── Tests.StaticWeakEventWithType_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyGrid.WeakEvents.UrlChanged.g.verified.cs │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── Uno │ │ ├── Tests.StaticWeakEventWithType_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.StaticWeakEventWithType_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ └── Wpf │ │ ├── Tests.StaticWeakEventWithType_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyControl.WeakEvents.UrlChanged.g.verified.cs │ │ └── _#WeakEventAttribute.g.verified.cs ├── Tuples │ ├── Avalonia │ │ ├── Tests.Tuples_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleControlInt.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleIntControl.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleIntString.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeControlInt.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeIntControl.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeIntString.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.Tuples_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.TupleControlInt.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.TupleIntControl.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.TupleIntString.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.TypeControlInt.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.TypeIntControl.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.TypeIntString.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.Tuples_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleControlInt.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleIntControl.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleIntString.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeControlInt.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeIntControl.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeIntString.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.Tuples_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleControlInt.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleIntControl.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleIntString.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeControlInt.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeIntControl.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeIntString.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.Tuples_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleControlInt.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleIntControl.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TupleIntString.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeControlInt.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeIntControl.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.TypeIntString.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── ValidateAndCoerce │ ├── Avalonia │ │ ├── Tests.ValidateAndCoerce_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.NotNullStringProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.ValidateAndCoerce_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.NotNullStringProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.ValidateAndCoerce_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.NotNullStringProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.ValidateAndCoerce_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.NotNullStringProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.ValidateAndCoerce_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.NotNullStringProperty.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs ├── WeakEvent │ ├── Avalonia │ │ ├── Tests.WeakEvent_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── Maui │ │ ├── Tests.WeakEvent_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyGrid.WeakEvents.Completed.g.verified.cs │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── Uno │ │ ├── Tests.WeakEvent_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.WeakEvent_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ └── Wpf │ │ ├── Tests.WeakEvent_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyControl.WeakEvents.Completed.g.verified.cs │ │ └── _#WeakEventAttribute.g.verified.cs ├── WeakEventWithEventArgsType │ ├── Avalonia │ │ ├── Tests.WeakEventWithEventArgsType_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── Maui │ │ ├── Tests.WeakEventWithEventArgsType_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyGrid.WeakEvents.Changed.g.verified.cs │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── Uno │ │ ├── Tests.WeakEventWithEventArgsType_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.WeakEventWithEventArgsType_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ └── Wpf │ │ ├── Tests.WeakEventWithEventArgsType_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyControl.WeakEvents.Changed.g.verified.cs │ │ └── _#WeakEventAttribute.g.verified.cs ├── WeakEventWithType │ ├── Avalonia │ │ ├── Tests.WeakEventWithType_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── Maui │ │ ├── Tests.WeakEventWithType_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyGrid.WeakEvents.UrlChanged.g.verified.cs │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── Uno │ │ ├── Tests.WeakEventWithType_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.WeakEventWithType_Diagnostics.verified.txt │ │ └── _#WeakEventAttribute.g.verified.cs │ └── Wpf │ │ ├── Tests.WeakEventWithType_Diagnostics.verified.txt │ │ ├── _#H.Generators.IntegrationTests.MyControl.WeakEvents.UrlChanged.g.verified.cs │ │ └── _#WeakEventAttribute.g.verified.cs ├── WithOtherAttributes │ ├── Avalonia │ │ ├── Tests.WithOtherAttributes_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning5.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.StaticConstructor.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ │ ├── Tests.WithOtherAttributes_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyGrid.Properties.IsSpinning5.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ │ ├── Tests.WithOtherAttributes_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning5.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ │ ├── Tests.WithOtherAttributes_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning5.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ │ ├── Tests.WithOtherAttributes_Diagnostics.verified.txt │ │ ├── _#DefaultBindingMode.g.verified.cs │ │ ├── _#DependencyPropertyAttribute.g.verified.cs │ │ ├── _#H.Generators.IntegrationTests.MyControl.Properties.IsSpinning5.g.verified.cs │ │ ├── _#Localizability.g.verified.cs │ │ └── _#SourceTrigger.g.verified.cs └── WithOtherAttributes2 │ ├── Avalonia │ ├── Tests.WithOtherAttributes2_Diagnostics.verified.txt │ ├── _#DefaultBindingMode.g.verified.cs │ ├── _#DependencyPropertyAttribute.g.verified.cs │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ ├── _#H.Generators.IntegrationTests.Generatable.StaticConstructor.g.verified.cs │ ├── _#Localizability.g.verified.cs │ └── _#SourceTrigger.g.verified.cs │ ├── Maui │ ├── Tests.WithOtherAttributes2_Diagnostics.verified.txt │ ├── _#DefaultBindingMode.g.verified.cs │ ├── _#DependencyPropertyAttribute.g.verified.cs │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ ├── _#Localizability.g.verified.cs │ └── _#SourceTrigger.g.verified.cs │ ├── Uno │ ├── Tests.WithOtherAttributes2_Diagnostics.verified.txt │ ├── _#DefaultBindingMode.g.verified.cs │ ├── _#DependencyPropertyAttribute.g.verified.cs │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ ├── _#Localizability.g.verified.cs │ └── _#SourceTrigger.g.verified.cs │ ├── UnoWinUi │ ├── Tests.WithOtherAttributes2_Diagnostics.verified.txt │ ├── _#DefaultBindingMode.g.verified.cs │ ├── _#DependencyPropertyAttribute.g.verified.cs │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ ├── _#Localizability.g.verified.cs │ └── _#SourceTrigger.g.verified.cs │ └── Wpf │ ├── Tests.WithOtherAttributes2_Diagnostics.verified.txt │ ├── _#DefaultBindingMode.g.verified.cs │ ├── _#DependencyPropertyAttribute.g.verified.cs │ ├── _#H.Generators.IntegrationTests.Generatable.Properties.Text.g.verified.cs │ ├── _#Localizability.g.verified.cs │ └── _#SourceTrigger.g.verified.cs ├── Tests.AddOwner.cs ├── Tests.AttachedProperties.cs ├── Tests.Errors.cs ├── Tests.Helpers.cs ├── Tests.OverrideMetadata.cs ├── Tests.Properties.cs ├── Tests.Readme.cs ├── Tests.RoutedEvents.cs └── Tests.WeakEvents.cs /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # To get started with Dependabot version updates, you'll need to specify which 2 | # package ecosystems to update and where the package manifests are located. 3 | # Please see the documentation for all configuration options: 4 | # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 5 | 6 | version: 2 7 | updates: 8 | - package-ecosystem: "nuget" # See documentation for possible values 9 | directory: "/" # Location of package manifests 10 | schedule: 11 | interval: "weekly" 12 | groups: 13 | all: 14 | patterns: 15 | - "*" 16 | ignore: 17 | - dependency-name: "Microsoft.CodeAnalysis.CSharp" 18 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: Publish 2 | on: 3 | push: 4 | branches: 5 | - main 6 | tags: 7 | - v** 8 | 9 | permissions: 10 | contents: write 11 | 12 | jobs: 13 | publish: 14 | name: Publish 15 | uses: HavenDV/workflows/.github/workflows/dotnet_build-test-publish.yml@main 16 | with: 17 | generate-build-number: false 18 | conventional-commits-publish-conditions: false 19 | additional-test-arguments: '--logger GitHubActions' 20 | secrets: 21 | nuget-key: ${{ secrets.NUGET_KEY }} 22 | 23 | release: 24 | name: Release 25 | runs-on: ubuntu-latest 26 | needs: [publish] 27 | if: startsWith(github.ref, 'refs/tags/v') 28 | steps: 29 | - name: Checkout 30 | uses: actions/checkout@v4 31 | 32 | - name: Create release 33 | run: gh release create ${{ github.ref_name }} 34 | --title "${{ github.ref_name }}" 35 | --generate-notes 36 | env: 37 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -------------------------------------------------------------------------------- /.github/workflows/pull-request.yml: -------------------------------------------------------------------------------- 1 | name: Build and test 2 | on: 3 | pull_request: 4 | branches: 5 | - main 6 | 7 | jobs: 8 | build-test: 9 | name: Build, test and publish 10 | uses: HavenDV/workflows/.github/workflows/dotnet_build-test-publish.yml@main 11 | with: 12 | generate-build-number: false 13 | conventional-commits-publish-conditions: false 14 | additional-test-arguments: '--logger GitHubActions' -------------------------------------------------------------------------------- /DependencyPropertyGenerator.sln.DotSettings: -------------------------------------------------------------------------------- 1 |  2 | True 3 | True 4 | True -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Konstantin S. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /assets/nuget_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HavenDV/DependencyPropertyGenerator/4e79e2a6eea05f81cdaf39f88722b55d9631d936/assets/nuget_icon.png -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdk": { 3 | "rollForward": "latestMajor", 4 | "allowPrerelease": false 5 | } 6 | } -------------------------------------------------------------------------------- /src/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | preview 5 | enable 6 | enable 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/key.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HavenDV/DependencyPropertyGenerator/4e79e2a6eea05f81cdaf39f88722b55d9631d936/src/key.snk -------------------------------------------------------------------------------- /src/libs/DependencyPropertyGenerator.Attributes/DependencyPropertyGenerator.Attributes.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | netstandard2.0;net4.5.1 5 | false 6 | disable 7 | disable 8 | $(NoWarn);IDE0001;IDE0190 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/libs/DependencyPropertyGenerator.Attributes/RoutedEventStrategy.cs: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | 3 | namespace DependencyPropertyGenerator; 4 | 5 | /// 6 | /// Indicates the routing strategy of a routed event. 7 | /// 8 | internal enum RoutedEventStrategy 9 | { 10 | /// 11 | /// The routed event uses a tunneling strategy, where the event instance routes 12 | /// downwards through the tree, from root to source element. 13 | /// 14 | Tunnel, 15 | 16 | /// 17 | /// The routed event uses a bubbling strategy, where the event instance routes upwards 18 | /// through the tree, from event source to root. 19 | /// 20 | Bubble, 21 | 22 | /// 23 | /// The routed event does not route through an element tree, but does support other 24 | /// routed event capabilities such as class handling, System.Windows.EventTrigger 25 | /// or System.Windows.EventSetter. 26 | /// 27 | Direct, 28 | } -------------------------------------------------------------------------------- /src/libs/DependencyPropertyGenerator.Attributes/SourceTrigger.cs: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | 3 | namespace DependencyPropertyGenerator; 4 | 5 | /// 6 | /// Describes the timing of binding source updates. 7 | /// 8 | internal enum SourceTrigger 9 | { 10 | /// 11 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 12 | /// property. The default value for most dependency properties is 13 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 14 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 15 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 16 | /// 17 | Default = 0, 18 | 19 | /// 20 | /// Updates the binding source immediately whenever the binding target property changes. 21 | /// 22 | PropertyChanged = 1, 23 | 24 | /// 25 | /// Updates the binding source whenever the binding target element loses focus. 26 | /// 27 | LostFocus = 2, 28 | 29 | /// 30 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 31 | /// 32 | Explicit = 3, 33 | } -------------------------------------------------------------------------------- /src/libs/DependencyPropertyGenerator/DependencyPropertyGenerator.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | $(DefineConstants.Replace(';',',')) 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/libs/DependencyPropertyGenerator/Models/ClassData.cs: -------------------------------------------------------------------------------- 1 | using H.Generators.Extensions; 2 | 3 | namespace H.Generators; 4 | 5 | public readonly record struct ClassData( 6 | string Namespace, 7 | string Name, 8 | string FullName, 9 | string Type, 10 | string Modifiers, 11 | string Version, 12 | bool IsStatic, 13 | Framework Framework, 14 | EquatableArray Methods); -------------------------------------------------------------------------------- /src/libs/DependencyPropertyGenerator/Models/EventData.cs: -------------------------------------------------------------------------------- 1 | namespace H.Generators; 2 | 3 | public readonly record struct EventData( 4 | string Name, 5 | string Strategy, 6 | string Type, 7 | bool IsValueType, 8 | bool IsAttached, 9 | string? Description, 10 | string? Category, 11 | string? XmlDocumentation, 12 | string? EventXmlDocumentation, 13 | bool WinRtEvents); -------------------------------------------------------------------------------- /src/libs/DependencyPropertyGenerator/Sources/Sources.AddOwner.cs: -------------------------------------------------------------------------------- 1 | using H.Generators.Extensions; 2 | 3 | namespace H.Generators; 4 | 5 | internal static partial class Sources 6 | { 7 | private static string GenerateAddOwnerCreateCall(ClassData @class, DependencyPropertyData property) 8 | { 9 | if (@class.Framework == Framework.Avalonia) 10 | { 11 | if (property.IsDirect) 12 | { 13 | return @$" 14 | {property.FromType}.{property.Name}Property.AddOwner<{@class.Type}>( 15 | {GenerateAvaloniaRegisterMethodArguments(@class, property)});"; 16 | } 17 | 18 | return @$" 19 | {property.FromType}.{property.Name}Property.AddOwner<{@class.Type}>( 20 | {GeneratePropertyMetadata(@class, property)});"; 21 | } 22 | 23 | return @$" 24 | {property.FromType}.{property.Name}Property.AddOwner( 25 | ownerType: typeof({@class.Type}), 26 | {GeneratePropertyMetadata(@class, property)}); 27 | ".RemoveBlankLinesWhereOnlyWhitespaces(); 28 | } 29 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.IntegrationTests/DependencyPropertyGeneratorTests.cs: -------------------------------------------------------------------------------- 1 | using Avalonia.Controls; 2 | 3 | namespace H.Generators.IntegrationTests; 4 | 5 | [TestClass] 6 | public class DependencyPropertyGeneratorTests 7 | { 8 | [TestMethod] 9 | public void GeneratesCorrectly() 10 | { 11 | var window = new MyControl(); 12 | window.SetValue(MyControl.IsSpinningProperty, false); 13 | window.GetValue(MyControl.IsSpinningProperty).Should().BeFalse(); 14 | window.IsChanged.Should().BeTrue(); 15 | 16 | var treeView = new TreeView(); 17 | TreeViewExtensions.SetSelectedItem(treeView, new object()); 18 | TreeViewExtensions.GetSelectedItem(treeView).Should().NotBeNull(); 19 | } 20 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/ModuleInitializer.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.CompilerServices; 2 | 3 | namespace H.Generators.SnapshotTests; 4 | 5 | public static class ModuleInitializer 6 | { 7 | [ModuleInitializer] 8 | public static void Init() 9 | { 10 | VerifySourceGenerators.Initialize(); 11 | } 12 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner/Avalonia/Tests.AddOwner_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using Avalonia.Media; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner/Avalonia/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner/Maui/Tests.AddOwner_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner/Uno/Tests.AddOwner_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner/UnoWinUi/Tests.AddOwner_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner/UnoWinUi/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner/Wpf/Tests.AddOwner_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner2/Avalonia/Tests.AddOwner2_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using Avalonia.Controls; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner2/Avalonia/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner2/Maui/Tests.AddOwner2_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner2/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner2/Uno/Tests.AddOwner2_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner2/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner2/UnoWinUi/Tests.AddOwner2_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner2/UnoWinUi/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner2/Wpf/Tests.AddOwner2_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AddOwner2/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedPropertyWithoutSecondType/Avalonia/Tests.AttachedPropertyWithoutSecondType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedPropertyWithoutSecondType/Maui/Tests.AttachedPropertyWithoutSecondType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 | */ 8 | : (0,0)-(0,30), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedPropertyWithoutSecondType/Uno/Tests.AttachedPropertyWithoutSecondType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedPropertyWithoutSecondType/UnoWinUi/Tests.AttachedPropertyWithoutSecondType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedPropertyWithoutSecondType/Wpf/Tests.AttachedPropertyWithoutSecondType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedReadOnlyProperty/Avalonia/Tests.AttachedReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedReadOnlyProperty/Maui/Tests.AttachedReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedReadOnlyProperty/Uno/Tests.AttachedReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedReadOnlyProperty/UnoWinUi/Tests.AttachedReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedReadOnlyProperty/Wpf/Tests.AttachedReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedRoutedEvent/Avalonia/Tests.AttachedRoutedEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedRoutedEvent/Avalonia/_#RoutedEventStrategy.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: RoutedEventStrategy.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Indicates the routing strategy of a routed event. 8 | /// 9 | internal enum RoutedEventStrategy 10 | { 11 | /// 12 | /// The routed event uses a tunneling strategy, where the event instance routes 13 | /// downwards through the tree, from root to source element. 14 | /// 15 | Tunnel, 16 | 17 | /// 18 | /// The routed event uses a bubbling strategy, where the event instance routes upwards 19 | /// through the tree, from event source to root. 20 | /// 21 | Bubble, 22 | 23 | /// 24 | /// The routed event does not route through an element tree, but does support other 25 | /// routed event capabilities such as class handling, System.Windows.EventTrigger 26 | /// or System.Windows.EventSetter. 27 | /// 28 | Direct, 29 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedRoutedEvent/Maui/Tests.AttachedRoutedEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedRoutedEvent/Maui/_#RoutedEventStrategy.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: RoutedEventStrategy.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Indicates the routing strategy of a routed event. 8 | /// 9 | internal enum RoutedEventStrategy 10 | { 11 | /// 12 | /// The routed event uses a tunneling strategy, where the event instance routes 13 | /// downwards through the tree, from root to source element. 14 | /// 15 | Tunnel, 16 | 17 | /// 18 | /// The routed event uses a bubbling strategy, where the event instance routes upwards 19 | /// through the tree, from event source to root. 20 | /// 21 | Bubble, 22 | 23 | /// 24 | /// The routed event does not route through an element tree, but does support other 25 | /// routed event capabilities such as class handling, System.Windows.EventTrigger 26 | /// or System.Windows.EventSetter. 27 | /// 28 | Direct, 29 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedRoutedEvent/Uno/Tests.AttachedRoutedEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedRoutedEvent/Uno/_#RoutedEventStrategy.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: RoutedEventStrategy.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Indicates the routing strategy of a routed event. 8 | /// 9 | internal enum RoutedEventStrategy 10 | { 11 | /// 12 | /// The routed event uses a tunneling strategy, where the event instance routes 13 | /// downwards through the tree, from root to source element. 14 | /// 15 | Tunnel, 16 | 17 | /// 18 | /// The routed event uses a bubbling strategy, where the event instance routes upwards 19 | /// through the tree, from event source to root. 20 | /// 21 | Bubble, 22 | 23 | /// 24 | /// The routed event does not route through an element tree, but does support other 25 | /// routed event capabilities such as class handling, System.Windows.EventTrigger 26 | /// or System.Windows.EventSetter. 27 | /// 28 | Direct, 29 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedRoutedEvent/UnoWinUi/Tests.AttachedRoutedEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedRoutedEvent/UnoWinUi/_#RoutedEventStrategy.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: RoutedEventStrategy.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Indicates the routing strategy of a routed event. 8 | /// 9 | internal enum RoutedEventStrategy 10 | { 11 | /// 12 | /// The routed event uses a tunneling strategy, where the event instance routes 13 | /// downwards through the tree, from root to source element. 14 | /// 15 | Tunnel, 16 | 17 | /// 18 | /// The routed event uses a bubbling strategy, where the event instance routes upwards 19 | /// through the tree, from event source to root. 20 | /// 21 | Bubble, 22 | 23 | /// 24 | /// The routed event does not route through an element tree, but does support other 25 | /// routed event capabilities such as class handling, System.Windows.EventTrigger 26 | /// or System.Windows.EventSetter. 27 | /// 28 | Direct, 29 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedRoutedEvent/Wpf/Tests.AttachedRoutedEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/AttachedRoutedEvent/Wpf/_#RoutedEventStrategy.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: RoutedEventStrategy.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Indicates the routing strategy of a routed event. 8 | /// 9 | internal enum RoutedEventStrategy 10 | { 11 | /// 12 | /// The routed event uses a tunneling strategy, where the event instance routes 13 | /// downwards through the tree, from root to source element. 14 | /// 15 | Tunnel, 16 | 17 | /// 18 | /// The routed event uses a bubbling strategy, where the event instance routes upwards 19 | /// through the tree, from event source to root. 20 | /// 21 | Bubble, 22 | 23 | /// 24 | /// The routed event does not route through an element tree, but does support other 25 | /// routed event capabilities such as class handling, System.Windows.EventTrigger 26 | /// or System.Windows.EventSetter. 27 | /// 28 | Direct, 29 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Attributes/Avalonia/Tests.Attributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | [global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] 5 | public string? AttributedProperty 6 | ^^^^^^^^^^^^^^^^^^ 7 | { 8 | */ 9 | DependencyPropertyGenerator\H.Generators.DependencyPropertyGenerator\H.Generators.IntegrationTests.MyControl.Properties.AttributedProperty.g.cs: (33,23)-(33,41), 10 | Message: 'MyControl.AttributedProperty' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 11 | Severity: Warning, 12 | WarningLevel: 2, 13 | Descriptor: { 14 | Id: CS3021, 15 | Title: Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS3021), 17 | MessageFormat: '{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 18 | Category: Compiler, 19 | DefaultSeverity: Warning, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Attributes/Avalonia/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Attributes/Maui/Tests.Attributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | [global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] 5 | public string? AttributedProperty 6 | ^^^^^^^^^^^^^^^^^^ 7 | { 8 | */ 9 | DependencyPropertyGenerator\H.Generators.DependencyPropertyGenerator\H.Generators.IntegrationTests.MyGrid.Properties.AttributedProperty.g.cs: (37,23)-(37,41), 10 | Message: 'MyGrid.AttributedProperty' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 11 | Severity: Warning, 12 | WarningLevel: 2, 13 | Descriptor: { 14 | Id: CS3021, 15 | Title: Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS3021), 17 | MessageFormat: '{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 18 | Category: Compiler, 19 | DefaultSeverity: Warning, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Attributes/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Attributes/Uno/Tests.Attributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | [global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] 5 | public string? AttributedProperty 6 | ^^^^^^^^^^^^^^^^^^ 7 | { 8 | */ 9 | DependencyPropertyGenerator\H.Generators.DependencyPropertyGenerator\H.Generators.IntegrationTests.MyControl.Properties.AttributedProperty.g.cs: (33,23)-(33,41), 10 | Message: 'MyControl.AttributedProperty' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 11 | Severity: Warning, 12 | WarningLevel: 2, 13 | Descriptor: { 14 | Id: CS3021, 15 | Title: Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS3021), 17 | MessageFormat: '{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 18 | Category: Compiler, 19 | DefaultSeverity: Warning, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Attributes/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Attributes/UnoWinUi/Tests.Attributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | [global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] 5 | public string? AttributedProperty 6 | ^^^^^^^^^^^^^^^^^^ 7 | { 8 | */ 9 | DependencyPropertyGenerator\H.Generators.DependencyPropertyGenerator\H.Generators.IntegrationTests.MyControl.Properties.AttributedProperty.g.cs: (33,23)-(33,41), 10 | Message: 'MyControl.AttributedProperty' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 11 | Severity: Warning, 12 | WarningLevel: 2, 13 | Descriptor: { 14 | Id: CS3021, 15 | Title: Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS3021), 17 | MessageFormat: '{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 18 | Category: Compiler, 19 | DefaultSeverity: Warning, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Attributes/UnoWinUi/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Attributes/Wpf/Tests.Attributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | [global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] 5 | public string? AttributedProperty 6 | ^^^^^^^^^^^^^^^^^^ 7 | { 8 | */ 9 | DependencyPropertyGenerator\H.Generators.DependencyPropertyGenerator\H.Generators.IntegrationTests.MyControl.Properties.AttributedProperty.g.cs: (38,23)-(38,41), 10 | Message: 'MyControl.AttributedProperty' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 11 | Severity: Warning, 12 | WarningLevel: 2, 13 | Descriptor: { 14 | Id: CS3021, 15 | Title: Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS3021), 17 | MessageFormat: '{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 18 | Category: Compiler, 19 | DefaultSeverity: Warning, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Attributes/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvent/Avalonia/Tests.BindEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using Avalonia.Input; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvent/Avalonia/_#H.Generators.IntegrationTests.UIElementExtensions.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.UIElementExtensions.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class UIElementExtensions 7 | { 8 | static UIElementExtensions() 9 | { 10 | BindEventPropertyProperty.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | OnBindEventPropertyChanged( 13 | (global::Avalonia.Input.InputElement)x.Sender, 14 | (object?)x.OldValue.GetValueOrDefault(), 15 | (object?)x.NewValue.GetValueOrDefault()); 16 | })); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvent/Avalonia/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvent/Maui/Tests.BindEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvent/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvent/Uno/Tests.BindEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvent/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvent/UnoWinUi/Tests.BindEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvent/UnoWinUi/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvent/Wpf/Tests.BindEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvent/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvents/Avalonia/Tests.BindEvents_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using Avalonia.Input; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvents/Avalonia/_#H.Generators.IntegrationTests.MyUIElement.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.MyUIElement.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class MyUIElement 7 | { 8 | static MyUIElement() 9 | { 10 | BindEventsPropertyProperty.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | ((global::H.Generators.IntegrationTests.MyUIElement)x.Sender).OnBindEventsPropertyChanged( 13 | (object?)x.OldValue.GetValueOrDefault(), 14 | (object?)x.NewValue.GetValueOrDefault()); 15 | })); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvents/Avalonia/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvents/Maui/Tests.BindEvents_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvents/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvents/Uno/Tests.BindEvents_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvents/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvents/UnoWinUi/Tests.BindEvents_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvents/UnoWinUi/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvents/Wpf/Tests.BindEvents_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/BindEvents/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CreateDefaultValueCallback/Avalonia/Tests.CreateDefaultValueCallback_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CreateDefaultValueCallback/Maui/Tests.CreateDefaultValueCallback_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CreateDefaultValueCallback/Uno/Tests.CreateDefaultValueCallback_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CreateDefaultValueCallback/UnoWinUi/Tests.CreateDefaultValueCallback_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CreateDefaultValueCallback/Wpf/Tests.CreateDefaultValueCallback_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChanged/Avalonia/Tests.CustomOnChanged_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using DependencyPropertyGenerator; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChanged/Avalonia/_#H.Generators.IntegrationTests.Generatable.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.Generatable.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class Generatable 7 | { 8 | static Generatable() 9 | { 10 | TextProperty.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | ((global::H.Generators.IntegrationTests.Generatable)x.Sender).OnMyTextChanged( 13 | (string?)x.NewValue.GetValueOrDefault()); 14 | })); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChanged/Maui/Tests.CustomOnChanged_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | using DependencyPropertyGenerator; 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChanged/Uno/Tests.CustomOnChanged_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChanged/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChanged/UnoWinUi/Tests.CustomOnChanged_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChanged/Wpf/Tests.CustomOnChanged_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChanged/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChangedAttached/Avalonia/Tests.CustomOnChangedAttached_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChangedAttached/Avalonia/_#H.Generators.IntegrationTests.GridHelpers.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.GridHelpers.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class GridHelpers 7 | { 8 | static GridHelpers() 9 | { 10 | RowCountProperty.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | OnRowCountChanged( 13 | (global::Avalonia.Controls.Grid)x.Sender, 14 | (int)x.NewValue.GetValueOrDefault()); 15 | })); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChangedAttached/Maui/Tests.CustomOnChangedAttached_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChangedAttached/Uno/Tests.CustomOnChangedAttached_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChangedAttached/UnoWinUi/Tests.CustomOnChangedAttached_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/CustomOnChangedAttached/Wpf/Tests.CustomOnChangedAttached_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DefaultBindingMode/Avalonia/Tests.DefaultBindingMode_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DefaultBindingMode/Maui/Tests.DefaultBindingMode_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DefaultBindingMode/Uno/Tests.DefaultBindingMode_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DefaultBindingMode/UnoWinUi/Tests.DefaultBindingMode_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DefaultBindingMode/Wpf/Tests.DefaultBindingMode_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DefaultUpdateSourceTrigger/Avalonia/Tests.DefaultUpdateSourceTrigger_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DefaultUpdateSourceTrigger/Maui/Tests.DefaultUpdateSourceTrigger_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DefaultUpdateSourceTrigger/Uno/Tests.DefaultUpdateSourceTrigger_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DefaultUpdateSourceTrigger/UnoWinUi/Tests.DefaultUpdateSourceTrigger_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DefaultUpdateSourceTrigger/Wpf/Tests.DefaultUpdateSourceTrigger_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DescriptionWithCref/Avalonia/Tests.DescriptionWithCref_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DescriptionWithCref/Maui/Tests.DescriptionWithCref_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DescriptionWithCref/Uno/Tests.DescriptionWithCref_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DescriptionWithCref/UnoWinUi/Tests.DescriptionWithCref_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DescriptionWithCref/Wpf/Tests.DescriptionWithCref_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Dictionary/Avalonia/Tests.Dictionary_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using DependencyPropertyGenerator; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Dictionary/Avalonia/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Dictionary/Maui/Tests.Dictionary_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | using DependencyPropertyGenerator; 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Dictionary/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Dictionary/Uno/Tests.Dictionary_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Dictionary/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Dictionary/UnoWinUi/Tests.Dictionary_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Dictionary/UnoWinUi/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Dictionary/Wpf/Tests.Dictionary_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Dictionary/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Direct/Avalonia/Tests.Direct_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Direct/Avalonia/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Direct/Maui/Tests.Direct_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Direct/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Direct/Uno/Tests.Direct_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Direct/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Direct/UnoWinUi/Tests.Direct_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Direct/UnoWinUi/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Direct/Wpf/Tests.Direct_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Direct/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DirectReadOnly/Avalonia/Tests.DirectReadOnly_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DirectReadOnly/Maui/Tests.DirectReadOnly_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DirectReadOnly/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DirectReadOnly/Uno/Tests.DirectReadOnly_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DirectReadOnly/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DirectReadOnly/UnoWinUi/Tests.DirectReadOnly_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DirectReadOnly/Wpf/Tests.DirectReadOnly_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/DirectReadOnly/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Enum/Avalonia/Tests.Enum_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Enum/Avalonia/_#H.Generators.IntegrationTests.TreeViewExtensions.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.TreeViewExtensions.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class TreeViewExtensions 7 | { 8 | static TreeViewExtensions() 9 | { 10 | ModeProperty.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | OnModeChanged( 13 | (global::Avalonia.Controls.TreeView)x.Sender, 14 | (global::H.Generators.IntegrationTests.Mode)x.OldValue.GetValueOrDefault(), 15 | (global::H.Generators.IntegrationTests.Mode)x.NewValue.GetValueOrDefault()); 16 | })); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Enum/Avalonia/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Enum/Maui/Tests.Enum_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Enum/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Enum/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Enum/UnoWinUi/Tests.Enum_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Enum/UnoWinUi/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Enum/Wpf/Tests.Enum_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Enum/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/FloatLiterals/Avalonia/Tests.FloatLiterals_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/FloatLiterals/Maui/Tests.FloatLiterals_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/FloatLiterals/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/FloatLiterals/Uno/Tests.FloatLiterals_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/FloatLiterals/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/FloatLiterals/UnoWinUi/Tests.FloatLiterals_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/FloatLiterals/Wpf/Tests.FloatLiterals_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/FloatLiterals/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/InheritClass/Avalonia/Tests.InheritClass_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using Avalonia.Controls; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/InheritClass/Maui/Tests.InheritClass_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/InheritClass/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/InheritClass/Uno/Tests.InheritClass_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/InheritClass/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/InheritClass/UnoWinUi/Tests.InheritClass_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/InheritClass/Wpf/Tests.InheritClass_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/InheritClass/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultiTypesInOne/Avalonia/Tests.MultiTypesInOne_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using DependencyPropertyGenerator; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultiTypesInOne/Maui/Tests.MultiTypesInOne_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | using DependencyPropertyGenerator; 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultiTypesInOne/Uno/Tests.MultiTypesInOne_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultiTypesInOne/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultiTypesInOne/UnoWinUi/Tests.MultiTypesInOne_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultiTypesInOne/Wpf/Tests.MultiTypesInOne_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultiTypesInOne/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultidimensionalArray/Avalonia/Tests.MultidimensionalArray_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using DependencyPropertyGenerator; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultidimensionalArray/Maui/Tests.MultidimensionalArray_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | using DependencyPropertyGenerator; 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultidimensionalArray/Uno/Tests.MultidimensionalArray_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultidimensionalArray/UnoWinUi/Tests.MultidimensionalArray_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultidimensionalArray/Wpf/Tests.MultidimensionalArray_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultilineDescription/Avalonia/Tests.MultilineDescription_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultilineDescription/Maui/Tests.MultilineDescription_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultilineDescription/Uno/Tests.MultilineDescription_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultilineDescription/UnoWinUi/Tests.MultilineDescription_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultilineDescription/Wpf/Tests.MultilineDescription_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultipleClassDeclarations/Avalonia/Tests.MultipleClassDeclarations_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultipleClassDeclarations/Avalonia/_#H.Generators.IntegrationTests.MyControl.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.MyControl.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class MyControl 7 | { 8 | static MyControl() 9 | { 10 | IsSpinningProperty.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | ((global::H.Generators.IntegrationTests.MyControl)x.Sender).OnIsSpinningChanged(); 13 | })); 14 | 15 | IsSpinning2Property.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 16 | { 17 | ((global::H.Generators.IntegrationTests.MyControl)x.Sender).OnIsSpinning2Changed( 18 | (bool)x.NewValue.GetValueOrDefault()); 19 | })); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultipleClassDeclarations/Maui/Tests.MultipleClassDeclarations_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultipleClassDeclarations/Uno/Tests.MultipleClassDeclarations_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultipleClassDeclarations/UnoWinUi/Tests.MultipleClassDeclarations_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/MultipleClassDeclarations/Wpf/Tests.MultipleClassDeclarations_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NonGenericAttributes/Avalonia/Tests.NonGenericAttributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NonGenericAttributes/Maui/Tests.NonGenericAttributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NonGenericAttributes/Uno/Tests.NonGenericAttributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NonGenericAttributes/UnoWinUi/Tests.NonGenericAttributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NonGenericAttributes/Wpf/Tests.NonGenericAttributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NoneFramework/None/Tests.NoneFramework_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NoneFramework/None/_.verified.txt: -------------------------------------------------------------------------------- 1 | { 2 | Diagnostics: [ 3 | { 4 | Message: 5 | Framework is not recognized. 6 | You can explicitly specify the framework by setting one of the following constants in your project: 7 | HAS_WPF, HAS_WINUI, HAS_UWP, HAS_UNO, HAS_UNO_WINUI, HAS_AVALONIA, HAS_MAUI, 8 | Severity: Error, 9 | Descriptor: { 10 | Id: TRF001, 11 | Title: Framework is not recognized, 12 | MessageFormat: 13 | Framework is not recognized. 14 | You can explicitly specify the framework by setting one of the following constants in your project: 15 | HAS_WPF, HAS_WINUI, HAS_UWP, HAS_UNO, HAS_UNO_WINUI, HAS_AVALONIA, HAS_MAUI, 16 | Category: Usage, 17 | DefaultSeverity: Error, 18 | IsEnabledByDefault: true 19 | } 20 | } 21 | ] 22 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableDisable/Avalonia/Tests.NullableDisable_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using DependencyPropertyGenerator; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableDisable/Avalonia/_#H.Generators.IntegrationTests.Generatable.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.Generatable.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class Generatable 7 | { 8 | static Generatable() 9 | { 10 | TextProperty.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | ((global::H.Generators.IntegrationTests.Generatable)x.Sender).OnTextChanged( 13 | (string?)x.OldValue.GetValueOrDefault(), 14 | (string?)x.NewValue.GetValueOrDefault()); 15 | })); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableDisable/Maui/Tests.NullableDisable_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | using DependencyPropertyGenerator; 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableDisable/Uno/Tests.NullableDisable_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableDisable/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableDisable/UnoWinUi/Tests.NullableDisable_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableDisable/Wpf/Tests.NullableDisable_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableDisable/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableValueType/Avalonia/Tests.NullableValueType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using DependencyPropertyGenerator; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableValueType/Maui/Tests.NullableValueType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | using DependencyPropertyGenerator; 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableValueType/Uno/Tests.NullableValueType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableValueType/UnoWinUi/Tests.NullableValueType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/NullableValueType/Wpf/Tests.NullableValueType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/OverrideMetadata/Uno/Tests.OverrideMetadata_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/OverrideMetadata/UnoWinUi/Tests.OverrideMetadata_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/OverrideMetadata/Wpf/Tests.OverrideMetadata_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/OverrideMetadataForReadOnlyProperty/Uno/Tests.OverrideMetadataForReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/OverrideMetadataForReadOnlyProperty/UnoWinUi/Tests.OverrideMetadataForReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/OverrideMetadataForReadOnlyProperty/Wpf/Tests.OverrideMetadataForReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/PrimitiveTypeArray/Avalonia/Tests.PrimitiveTypeArray_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using DependencyPropertyGenerator; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/PrimitiveTypeArray/Maui/Tests.PrimitiveTypeArray_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | using DependencyPropertyGenerator; 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/PrimitiveTypeArray/Uno/Tests.PrimitiveTypeArray_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/PrimitiveTypeArray/UnoWinUi/Tests.PrimitiveTypeArray_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/PrimitiveTypeArray/Wpf/Tests.PrimitiveTypeArray_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadOnlyProperty/Avalonia/Tests.ReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadOnlyProperty/Maui/Tests.ReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadOnlyProperty/Uno/Tests.ReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadOnlyProperty/UnoWinUi/Tests.ReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadOnlyProperty/Wpf/Tests.ReadOnlyProperty_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadmeExample/Avalonia/Tests.ReadmeExample_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadmeExample/Avalonia/_#H.Generators.IntegrationTests.MyControl.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.MyControl.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class MyControl 7 | { 8 | static MyControl() 9 | { 10 | IsSpinningProperty.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | ((global::H.Generators.IntegrationTests.MyControl)x.Sender).OnIsSpinningChanged( 13 | (bool)x.OldValue.GetValueOrDefault(), 14 | (bool)x.NewValue.GetValueOrDefault()); 15 | })); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadmeExample/Avalonia/_#H.Generators.IntegrationTests.TreeViewExtensions.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.TreeViewExtensions.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class TreeViewExtensions 7 | { 8 | static TreeViewExtensions() 9 | { 10 | SelectedItemProperty.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | OnSelectedItemChanged( 13 | (global::Avalonia.Controls.TreeView)x.Sender, 14 | (object?)x.OldValue.GetValueOrDefault(), 15 | (object?)x.NewValue.GetValueOrDefault()); 16 | })); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadmeExample/Maui/Tests.ReadmeExample_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadmeExample/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadmeExample/UnoWinUi/Tests.ReadmeExample_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ReadmeExample/Wpf/Tests.ReadmeExample_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/Avalonia/Tests.RoutedEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/Avalonia/_#RoutedEventStrategy.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: RoutedEventStrategy.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Indicates the routing strategy of a routed event. 8 | /// 9 | internal enum RoutedEventStrategy 10 | { 11 | /// 12 | /// The routed event uses a tunneling strategy, where the event instance routes 13 | /// downwards through the tree, from root to source element. 14 | /// 15 | Tunnel, 16 | 17 | /// 18 | /// The routed event uses a bubbling strategy, where the event instance routes upwards 19 | /// through the tree, from event source to root. 20 | /// 21 | Bubble, 22 | 23 | /// 24 | /// The routed event does not route through an element tree, but does support other 25 | /// routed event capabilities such as class handling, System.Windows.EventTrigger 26 | /// or System.Windows.EventSetter. 27 | /// 28 | Direct, 29 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/Maui/Tests.RoutedEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/Maui/_#RoutedEventStrategy.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: RoutedEventStrategy.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Indicates the routing strategy of a routed event. 8 | /// 9 | internal enum RoutedEventStrategy 10 | { 11 | /// 12 | /// The routed event uses a tunneling strategy, where the event instance routes 13 | /// downwards through the tree, from root to source element. 14 | /// 15 | Tunnel, 16 | 17 | /// 18 | /// The routed event uses a bubbling strategy, where the event instance routes upwards 19 | /// through the tree, from event source to root. 20 | /// 21 | Bubble, 22 | 23 | /// 24 | /// The routed event does not route through an element tree, but does support other 25 | /// routed event capabilities such as class handling, System.Windows.EventTrigger 26 | /// or System.Windows.EventSetter. 27 | /// 28 | Direct, 29 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/Uno/Tests.RoutedEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/Uno/_#H.Generators.IntegrationTests.MyControl.Events.TrayLeftMouseDown.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.MyControl.Events.TrayLeftMouseDown.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | public partial class MyControl 7 | { 8 | /// 9 | /// 10 | public event global::Windows.UI.Xaml.RoutedEventHandler? TrayLeftMouseDown; 11 | 12 | /// 13 | /// A helper method to raise the TrayLeftMouseDown event. 14 | /// 15 | protected global::Windows.UI.Xaml.RoutedEventArgs OnTrayLeftMouseDown() 16 | { 17 | var args = new global::Windows.UI.Xaml.RoutedEventArgs(); 18 | TrayLeftMouseDown?.Invoke(this, args); 19 | 20 | return args; 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/Uno/_#RoutedEventStrategy.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: RoutedEventStrategy.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Indicates the routing strategy of a routed event. 8 | /// 9 | internal enum RoutedEventStrategy 10 | { 11 | /// 12 | /// The routed event uses a tunneling strategy, where the event instance routes 13 | /// downwards through the tree, from root to source element. 14 | /// 15 | Tunnel, 16 | 17 | /// 18 | /// The routed event uses a bubbling strategy, where the event instance routes upwards 19 | /// through the tree, from event source to root. 20 | /// 21 | Bubble, 22 | 23 | /// 24 | /// The routed event does not route through an element tree, but does support other 25 | /// routed event capabilities such as class handling, System.Windows.EventTrigger 26 | /// or System.Windows.EventSetter. 27 | /// 28 | Direct, 29 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/UnoWinUi/Tests.RoutedEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/UnoWinUi/_#H.Generators.IntegrationTests.MyControl.Events.TrayLeftMouseDown.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.MyControl.Events.TrayLeftMouseDown.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | public partial class MyControl 7 | { 8 | /// 9 | /// 10 | public event global::Microsoft.UI.Xaml.RoutedEventHandler? TrayLeftMouseDown; 11 | 12 | /// 13 | /// A helper method to raise the TrayLeftMouseDown event. 14 | /// 15 | protected global::Microsoft.UI.Xaml.RoutedEventArgs OnTrayLeftMouseDown() 16 | { 17 | var args = new global::Microsoft.UI.Xaml.RoutedEventArgs(); 18 | TrayLeftMouseDown?.Invoke(this, args); 19 | 20 | return args; 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/UnoWinUi/_#RoutedEventStrategy.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: RoutedEventStrategy.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Indicates the routing strategy of a routed event. 8 | /// 9 | internal enum RoutedEventStrategy 10 | { 11 | /// 12 | /// The routed event uses a tunneling strategy, where the event instance routes 13 | /// downwards through the tree, from root to source element. 14 | /// 15 | Tunnel, 16 | 17 | /// 18 | /// The routed event uses a bubbling strategy, where the event instance routes upwards 19 | /// through the tree, from event source to root. 20 | /// 21 | Bubble, 22 | 23 | /// 24 | /// The routed event does not route through an element tree, but does support other 25 | /// routed event capabilities such as class handling, System.Windows.EventTrigger 26 | /// or System.Windows.EventSetter. 27 | /// 28 | Direct, 29 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/Wpf/Tests.RoutedEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/RoutedEvent/Wpf/_#RoutedEventStrategy.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: RoutedEventStrategy.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Indicates the routing strategy of a routed event. 8 | /// 9 | internal enum RoutedEventStrategy 10 | { 11 | /// 12 | /// The routed event uses a tunneling strategy, where the event instance routes 13 | /// downwards through the tree, from root to source element. 14 | /// 15 | Tunnel, 16 | 17 | /// 18 | /// The routed event uses a bubbling strategy, where the event instance routes upwards 19 | /// through the tree, from event source to root. 20 | /// 21 | Bubble, 22 | 23 | /// 24 | /// The routed event does not route through an element tree, but does support other 25 | /// routed event capabilities such as class handling, System.Windows.EventTrigger 26 | /// or System.Windows.EventSetter. 27 | /// 28 | Direct, 29 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/SameClassAsTypeParameter/Avalonia/Tests.SameClassAsTypeParameter_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/SameClassAsTypeParameter/Avalonia/_#H.Generators.IntegrationTests.Test.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.Test.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class Test 7 | { 8 | static Test() 9 | { 10 | TestPropProperty.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | TestChanged( 13 | (global::Avalonia.Controls.Grid)x.Sender, 14 | (global::H.Generators.IntegrationTests.Test?)x.NewValue.GetValueOrDefault()); 15 | })); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/SameClassAsTypeParameter/Maui/Tests.SameClassAsTypeParameter_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/SameClassAsTypeParameter/Uno/Tests.SameClassAsTypeParameter_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/SameClassAsTypeParameter/UnoWinUi/Tests.SameClassAsTypeParameter_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/SameClassAsTypeParameter/Wpf/Tests.SameClassAsTypeParameter_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/SameNameDifferentNamespaces/Avalonia/Tests.SameNameDifferentNamespaces_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using DependencyPropertyGenerator; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/SameNameDifferentNamespaces/Maui/Tests.SameNameDifferentNamespaces_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | using DependencyPropertyGenerator; 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/SameNameDifferentNamespaces/Uno/Tests.SameNameDifferentNamespaces_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/SameNameDifferentNamespaces/UnoWinUi/Tests.SameNameDifferentNamespaces_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/SameNameDifferentNamespaces/Wpf/Tests.SameNameDifferentNamespaces_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEvent/Avalonia/Tests.StaticWeakEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEvent/Maui/Tests.StaticWeakEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEvent/Maui/_#H.Generators.IntegrationTests.MyGrid.WeakEvents.Completed.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.MyGrid.WeakEvents.Completed.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class MyGrid 7 | { 8 | private static global::Microsoft.Maui.WeakEventManager CompletedWeakEventManager { get; } = new global::Microsoft.Maui.WeakEventManager(); 9 | /// 10 | /// 11 | public static event global::System.EventHandler? Completed 12 | { 13 | add => CompletedWeakEventManager.AddEventHandler(value); 14 | remove => CompletedWeakEventManager.RemoveEventHandler(value); 15 | } 16 | 17 | /// 18 | /// A helper method to raise the Completed event. 19 | /// 20 | internal static void RaiseCompletedEvent(object? sender) 21 | { 22 | CompletedWeakEventManager.HandleEvent(sender!, global::System.EventArgs.Empty!, eventName: nameof(Completed)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEvent/Uno/Tests.StaticWeakEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEvent/UnoWinUi/Tests.StaticWeakEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEvent/Wpf/Tests.StaticWeakEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEventWithType/Avalonia/Tests.StaticWeakEventWithType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEventWithType/Maui/Tests.StaticWeakEventWithType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEventWithType/Maui/_#H.Generators.IntegrationTests.MyGrid.WeakEvents.UrlChanged.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.MyGrid.WeakEvents.UrlChanged.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class MyGrid 7 | { 8 | private static global::Microsoft.Maui.WeakEventManager UrlChangedWeakEventManager { get; } = new global::Microsoft.Maui.WeakEventManager(); 9 | /// 10 | /// 11 | public static event global::System.EventHandler? UrlChanged 12 | { 13 | add => UrlChangedWeakEventManager.AddEventHandler(value); 14 | remove => UrlChangedWeakEventManager.RemoveEventHandler(value); 15 | } 16 | 17 | /// 18 | /// A helper method to raise the UrlChanged event. 19 | /// 20 | internal static void RaiseUrlChangedEvent(object? sender, string? args) 21 | { 22 | UrlChangedWeakEventManager.HandleEvent(sender!, args!, eventName: nameof(UrlChanged)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEventWithType/Uno/Tests.StaticWeakEventWithType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEventWithType/UnoWinUi/Tests.StaticWeakEventWithType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/StaticWeakEventWithType/Wpf/Tests.StaticWeakEventWithType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | { 5 | DeliverEvent(sender, args); 6 | ^^^^ 7 | } 8 | */ 9 | DependencyPropertyGenerator\H.Generators.WeakEventGenerator\H.Generators.IntegrationTests.MyControl.WeakEvents.UrlChanged.g.cs: (62,37)-(62,41), 10 | Message: Argument 2: cannot convert from 'string' to 'System.EventArgs', 11 | Severity: Error, 12 | Descriptor: { 13 | Id: CS1503, 14 | Title: , 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS1503), 16 | MessageFormat: Argument {0}: cannot convert from '{1}' to '{2}', 17 | Category: Compiler, 18 | DefaultSeverity: Error, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry, 23 | NotConfigurable 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Tuples/Avalonia/Tests.Tuples_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using DependencyPropertyGenerator; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Tuples/Maui/Tests.Tuples_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | using DependencyPropertyGenerator; 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Tuples/Maui/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Tuples/Uno/Tests.Tuples_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Tuples/Uno/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Tuples/UnoWinUi/Tests.Tuples_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Tuples/Wpf/Tests.Tuples_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/Tuples/Wpf/_#SourceTrigger.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: SourceTrigger.g.cs 2 | #nullable enable 3 | 4 | namespace DependencyPropertyGenerator; 5 | 6 | /// 7 | /// Describes the timing of binding source updates. 8 | /// 9 | internal enum SourceTrigger 10 | { 11 | /// 12 | /// The default System.Windows.Data.UpdateSourceTrigger value of the binding target 13 | /// property. The default value for most dependency properties is 14 | /// System.Windows.Data.UpdateSourceTrigger.PropertyChanged, 15 | /// while the System.Windows.Controls.TextBox.Text property has a default value of 16 | /// System.Windows.Data.UpdateSourceTrigger.LostFocus. 17 | /// 18 | Default = 0, 19 | 20 | /// 21 | /// Updates the binding source immediately whenever the binding target property changes. 22 | /// 23 | PropertyChanged = 1, 24 | 25 | /// 26 | /// Updates the binding source whenever the binding target element loses focus. 27 | /// 28 | LostFocus = 2, 29 | 30 | /// 31 | /// Updates the binding source only when you call the System.Windows.Data.BindingExpression.UpdateSource method. 32 | /// 33 | Explicit = 3, 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ValidateAndCoerce/Avalonia/Tests.ValidateAndCoerce_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ValidateAndCoerce/Maui/Tests.ValidateAndCoerce_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ValidateAndCoerce/Uno/Tests.ValidateAndCoerce_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ValidateAndCoerce/UnoWinUi/Tests.ValidateAndCoerce_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/ValidateAndCoerce/Wpf/Tests.ValidateAndCoerce_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEvent/Avalonia/Tests.WeakEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEvent/Maui/Tests.WeakEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEvent/Maui/_#H.Generators.IntegrationTests.MyGrid.WeakEvents.Completed.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.MyGrid.WeakEvents.Completed.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class MyGrid 7 | { 8 | private global::Microsoft.Maui.WeakEventManager CompletedWeakEventManager { get; } = new global::Microsoft.Maui.WeakEventManager(); 9 | /// 10 | /// 11 | public event global::System.EventHandler? Completed 12 | { 13 | add => CompletedWeakEventManager.AddEventHandler(value); 14 | remove => CompletedWeakEventManager.RemoveEventHandler(value); 15 | } 16 | 17 | /// 18 | /// A helper method to raise the Completed event. 19 | /// 20 | internal void RaiseCompletedEvent(object? sender) 21 | { 22 | CompletedWeakEventManager.HandleEvent(sender!, global::System.EventArgs.Empty!, eventName: nameof(Completed)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEvent/Uno/Tests.WeakEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEvent/UnoWinUi/Tests.WeakEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEvent/Wpf/Tests.WeakEvent_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithEventArgsType/Avalonia/Tests.WeakEventWithEventArgsType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithEventArgsType/Maui/Tests.WeakEventWithEventArgsType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithEventArgsType/Maui/_#H.Generators.IntegrationTests.MyGrid.WeakEvents.Changed.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.MyGrid.WeakEvents.Changed.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class MyGrid 7 | { 8 | private global::Microsoft.Maui.WeakEventManager ChangedWeakEventManager { get; } = new global::Microsoft.Maui.WeakEventManager(); 9 | /// 10 | /// 11 | public event global::System.EventHandler Changed 12 | { 13 | add => ChangedWeakEventManager.AddEventHandler(value); 14 | remove => ChangedWeakEventManager.RemoveEventHandler(value); 15 | } 16 | 17 | /// 18 | /// A helper method to raise the Changed event. 19 | /// 20 | internal void RaiseChangedEvent(object? sender, global::System.EventArgs? args) 21 | { 22 | ChangedWeakEventManager.HandleEvent(sender!, args!, eventName: nameof(Changed)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithEventArgsType/Uno/Tests.WeakEventWithEventArgsType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithEventArgsType/UnoWinUi/Tests.WeakEventWithEventArgsType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithEventArgsType/Wpf/Tests.WeakEventWithEventArgsType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithType/Avalonia/Tests.WeakEventWithType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithType/Maui/Tests.WeakEventWithType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithType/Maui/_#H.Generators.IntegrationTests.MyGrid.WeakEvents.UrlChanged.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.MyGrid.WeakEvents.UrlChanged.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class MyGrid 7 | { 8 | private global::Microsoft.Maui.WeakEventManager UrlChangedWeakEventManager { get; } = new global::Microsoft.Maui.WeakEventManager(); 9 | /// 10 | /// 11 | public event global::System.EventHandler? UrlChanged 12 | { 13 | add => UrlChangedWeakEventManager.AddEventHandler(value); 14 | remove => UrlChangedWeakEventManager.RemoveEventHandler(value); 15 | } 16 | 17 | /// 18 | /// A helper method to raise the UrlChanged event. 19 | /// 20 | internal void RaiseUrlChangedEvent(object? sender, string? args) 21 | { 22 | UrlChangedWeakEventManager.HandleEvent(sender!, args!, eventName: nameof(UrlChanged)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithType/Uno/Tests.WeakEventWithType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithType/UnoWinUi/Tests.WeakEventWithType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WeakEventWithType/Wpf/Tests.WeakEventWithType_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | { 5 | DeliverEvent(sender, args); 6 | ^^^^ 7 | } 8 | */ 9 | DependencyPropertyGenerator\H.Generators.WeakEventGenerator\H.Generators.IntegrationTests.MyControl.WeakEvents.UrlChanged.g.cs: (62,37)-(62,41), 10 | Message: Argument 2: cannot convert from 'string' to 'System.EventArgs', 11 | Severity: Error, 12 | Descriptor: { 13 | Id: CS1503, 14 | Title: , 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS1503), 16 | MessageFormat: Argument {0}: cannot convert from '{1}' to '{2}', 17 | Category: Compiler, 18 | DefaultSeverity: Error, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry, 23 | NotConfigurable 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes/Avalonia/Tests.WithOtherAttributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | [CLSCompliant(false)] 5 | public partial class MyControl : UserControl 6 | ^^^^^^^^^ 7 | { 8 | */ 9 | : (9,21)-(9,30), 10 | Message: 'MyControl' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 11 | Severity: Warning, 12 | WarningLevel: 2, 13 | Descriptor: { 14 | Id: CS3021, 15 | Title: Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS3021), 17 | MessageFormat: '{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 18 | Category: Compiler, 19 | DefaultSeverity: Warning, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes/Avalonia/_#H.Generators.IntegrationTests.MyControl.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.MyControl.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class MyControl 7 | { 8 | static MyControl() 9 | { 10 | IsSpinning5Property.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | ((global::H.Generators.IntegrationTests.MyControl)x.Sender).OnIsSpinning5Changed( 13 | (bool)x.OldValue.GetValueOrDefault(), 14 | (bool)x.NewValue.GetValueOrDefault()); 15 | })); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes/Maui/Tests.WithOtherAttributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | [CLSCompliant(false)] 5 | public partial class MyGrid : Grid 6 | ^^^^^^ 7 | { 8 | */ 9 | : (10,21)-(10,27), 10 | Message: 'MyGrid' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 11 | Severity: Warning, 12 | WarningLevel: 2, 13 | Descriptor: { 14 | Id: CS3021, 15 | Title: Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS3021), 17 | MessageFormat: '{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 18 | Category: Compiler, 19 | DefaultSeverity: Warning, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes/Uno/Tests.WithOtherAttributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | [CLSCompliant(false)] 5 | public partial class MyControl : UserControl 6 | ^^^^^^^^^ 7 | { 8 | */ 9 | : (9,21)-(9,30), 10 | Message: 'MyControl' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 11 | Severity: Warning, 12 | WarningLevel: 2, 13 | Descriptor: { 14 | Id: CS3021, 15 | Title: Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS3021), 17 | MessageFormat: '{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 18 | Category: Compiler, 19 | DefaultSeverity: Warning, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes/UnoWinUi/Tests.WithOtherAttributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | [CLSCompliant(false)] 5 | public partial class MyControl : UserControl 6 | ^^^^^^^^^ 7 | { 8 | */ 9 | : (9,21)-(9,30), 10 | Message: 'MyControl' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 11 | Severity: Warning, 12 | WarningLevel: 2, 13 | Descriptor: { 14 | Id: CS3021, 15 | Title: Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS3021), 17 | MessageFormat: '{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 18 | Category: Compiler, 19 | DefaultSeverity: Warning, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes/Wpf/Tests.WithOtherAttributes_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | [CLSCompliant(false)] 5 | public partial class MyControl : UserControl 6 | ^^^^^^^^^ 7 | { 8 | */ 9 | : (9,21)-(9,30), 10 | Message: 'MyControl' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 11 | Severity: Warning, 12 | WarningLevel: 2, 13 | Descriptor: { 14 | Id: CS3021, 15 | Title: Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS3021), 17 | MessageFormat: '{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute, 18 | Category: Compiler, 19 | DefaultSeverity: Warning, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes2/Avalonia/Tests.WithOtherAttributes2_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Avalonia; 5 | ^^^^^^^^^^^^^^^ 6 | using DependencyPropertyGenerator; 7 | */ 8 | : (0,0)-(0,15), 9 | Message: Unnecessary using directive., 10 | Severity: Hidden, 11 | WarningLevel: 1, 12 | Descriptor: { 13 | Id: CS8019, 14 | Title: Unnecessary using directive, 15 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 16 | MessageFormat: Unnecessary using directive., 17 | Category: Compiler, 18 | DefaultSeverity: Hidden, 19 | IsEnabledByDefault: true, 20 | CustomTags: [ 21 | Compiler, 22 | Telemetry 23 | ] 24 | } 25 | } 26 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes2/Avalonia/_#H.Generators.IntegrationTests.Generatable.StaticConstructor.g.verified.cs: -------------------------------------------------------------------------------- 1 | //HintName: H.Generators.IntegrationTests.Generatable.StaticConstructor.g.cs 2 | #nullable enable 3 | 4 | namespace H.Generators.IntegrationTests 5 | { 6 | partial class Generatable 7 | { 8 | static Generatable() 9 | { 10 | TextProperty.Changed.Subscribe(new global::Avalonia.Reactive.AnonymousObserver>(static x => 11 | { 12 | ((global::H.Generators.IntegrationTests.Generatable)x.Sender).OnTextChanged( 13 | (string?)x.OldValue.GetValueOrDefault(), 14 | (string?)x.NewValue.GetValueOrDefault()); 15 | })); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes2/Maui/Tests.WithOtherAttributes2_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | Location: /* 4 | using Microsoft.Maui.Controls; 5 | using Microsoft.Maui; 6 | ^^^^^^^^^^^^^^^^^^^^^ 7 | using DependencyPropertyGenerator; 8 | */ 9 | : (1,0)-(1,21), 10 | Message: Unnecessary using directive., 11 | Severity: Hidden, 12 | WarningLevel: 1, 13 | Descriptor: { 14 | Id: CS8019, 15 | Title: Unnecessary using directive, 16 | HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), 17 | MessageFormat: Unnecessary using directive., 18 | Category: Compiler, 19 | DefaultSeverity: Hidden, 20 | IsEnabledByDefault: true, 21 | CustomTags: [ 22 | Compiler, 23 | Telemetry 24 | ] 25 | } 26 | } 27 | ] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes2/Uno/Tests.WithOtherAttributes2_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes2/UnoWinUi/Tests.WithOtherAttributes2_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Snapshots/WithOtherAttributes2/Wpf/Tests.WithOtherAttributes2_Diagnostics.verified.txt: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Tests.AddOwner.cs: -------------------------------------------------------------------------------- 1 | namespace H.Generators.SnapshotTests; 2 | 3 | public partial class Tests 4 | { 5 | [DataTestMethod] 6 | [DataRow(Framework.Wpf)] 7 | [DataRow(Framework.Uno)] 8 | [DataRow(Framework.UnoWinUi)] 9 | [DataRow(Framework.Maui)] 10 | [DataRow(Framework.Avalonia)] 11 | public Task AddOwner(Framework framework) 12 | { 13 | return CheckSourceAsync(GetHeader(framework, string.Empty, "Media", "Controls") + @" 14 | [AddOwner(nameof(Border.Background))] 15 | public partial class UnrelatedStateControl : UIElement 16 | { 17 | }", framework); 18 | } 19 | 20 | [DataTestMethod] 21 | [DataRow(Framework.Wpf)] 22 | [DataRow(Framework.Uno)] 23 | [DataRow(Framework.UnoWinUi)] 24 | [DataRow(Framework.Maui)] 25 | [DataRow(Framework.Avalonia)] 26 | public Task AddOwner2(Framework framework) 27 | { 28 | return CheckSourceAsync(GetHeader(framework, string.Empty, "Controls") + @" 29 | [AddOwner(nameof(TextBox.Text))] 30 | public partial class UnrelatedStateControl : UIElement 31 | { 32 | }", framework); 33 | } 34 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Tests.Errors.cs: -------------------------------------------------------------------------------- 1 | namespace H.Generators.SnapshotTests; 2 | 3 | public partial class Tests 4 | { 5 | [DataTestMethod] 6 | [DataRow(Framework.None)] 7 | public Task NoneFramework(Framework framework) 8 | { 9 | return CheckSourceAsync(GetHeader(framework, "Controls") + @" 10 | [WeakEvent(""UrlChanged"", IsStatic = true)] 11 | public partial class MyControl : UserControl 12 | { 13 | }", framework); 14 | } 15 | 16 | [DataTestMethod] 17 | [DataRow(Framework.Wpf)] 18 | [DataRow(Framework.Uno)] 19 | [DataRow(Framework.UnoWinUi)] 20 | [DataRow(Framework.Maui)] 21 | [DataRow(Framework.Avalonia)] 22 | public Task DescriptionWithCref(Framework framework) 23 | { 24 | return CheckSourceAsync(GetHeader(framework, "Controls") + @" 25 | [DependencyProperty(""IsSpinning"", Description = "" must be Label."")] 26 | public partial class MyControl : UserControl 27 | { 28 | } 29 | ", framework); 30 | } 31 | } -------------------------------------------------------------------------------- /src/tests/DependencyPropertyGenerator.SnapshotTests/Tests.RoutedEvents.cs: -------------------------------------------------------------------------------- 1 | namespace H.Generators.SnapshotTests; 2 | 3 | public partial class Tests 4 | { 5 | [DataTestMethod] 6 | [DataRow(Framework.Wpf)] 7 | [DataRow(Framework.Uno)] 8 | [DataRow(Framework.UnoWinUi)] 9 | [DataRow(Framework.Maui)] 10 | [DataRow(Framework.Avalonia)] 11 | public Task RoutedEvent(Framework framework) 12 | { 13 | return CheckSourceAsync(GetHeader(framework, "Controls") + @" 14 | [RoutedEvent(""TrayLeftMouseDown"", RoutedEventStrategy.Bubble, WinRtEvents = true)] 15 | public partial class MyControl : UserControl 16 | { 17 | }", framework); 18 | } 19 | 20 | [DataTestMethod] 21 | [DataRow(Framework.Wpf)] 22 | [DataRow(Framework.Uno)] 23 | [DataRow(Framework.UnoWinUi)] 24 | [DataRow(Framework.Maui)] 25 | [DataRow(Framework.Avalonia)] 26 | public Task AttachedRoutedEvent(Framework framework) 27 | { 28 | return CheckSourceAsync(GetHeader(framework, "Controls") + @" 29 | [RoutedEvent(""TrayLeftMouseDown"", RoutedEventStrategy.Bubble, IsAttached = true)] 30 | public partial class MyControl : UserControl 31 | { 32 | }", framework); 33 | } 34 | } --------------------------------------------------------------------------------