Skip to content

Rider doesn't support the ?. syntax in bindings #20722

@ZzZombo

Description

@ZzZombo

Describe the bug

This is not supported by Rider, and shows errors in the IDE, even though the program compiles fine.

To Reproduce

Example code:

<ComboBox
			ItemsSource="{Binding Choices}"
			DisplayMemberBinding="{Binding Person?.FullName}"
			SelectedValueBinding="{Binding .}"
			SelectedValue="{Binding Author}" />

Expected behavior

This code is not treated as having syntax errors.

Avalonia version

11.3.11

OS

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions