-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make complied bindings use TypeConverters again. (#14767)
* Update ncrunch config. * Add tests for converting strings to brushes. * Make complied bindings use TypeConverters. Certain conversions rely on type converters, which were disabled in compiled bindings since #13970 due to warnings that type converters are not trimming friendly. Ideally we'd be generating the type conversion logic in the XAML compiler, but in reality the problem with type converters and trimming is limited to type converters with generics, which is an edge case. For the moment re-enable the usage of type converters in compiled bindings until we implement generating the conversion code in the XAML compiler.
- Loading branch information
Showing
9 changed files
with
110 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<ProjectConfiguration> | ||
<Settings> | ||
<IgnoreThisComponentCompletely>True</IgnoreThisComponentCompletely> | ||
</Settings> | ||
</ProjectConfiguration> |
5 changes: 5 additions & 0 deletions
5
.ncrunch/Avalonia.FreeDesktop.netstandard2.0.v3.ncrunchproject
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<ProjectConfiguration> | ||
<Settings> | ||
<IgnoreThisComponentCompletely>True</IgnoreThisComponentCompletely> | ||
</Settings> | ||
</ProjectConfiguration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
<ProjectConfiguration> | ||
<Settings> | ||
<AdditionalFilesToIncludeForProject> | ||
<Value>..\Avalonia.Themes.Fluent\Strings\InvariantResources.xaml</Value> | ||
</AdditionalFilesToIncludeForProject> | ||
<InstrumentOutputAssembly>False</InstrumentOutputAssembly> | ||
</Settings> | ||
</ProjectConfiguration> |
3 changes: 3 additions & 0 deletions
3
.ncrunch/Avalonia.Themes.Simple.netstandard2.0.v3.ncrunchproject
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
<ProjectConfiguration> | ||
<Settings> | ||
<AdditionalFilesToIncludeForProject> | ||
<Value>..\Avalonia.Themes.Fluent\Strings\InvariantResources.xaml</Value> | ||
</AdditionalFilesToIncludeForProject> | ||
<InstrumentOutputAssembly>False</InstrumentOutputAssembly> | ||
</Settings> | ||
</ProjectConfiguration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<ProjectConfiguration> | ||
<Settings> | ||
<IgnoreThisComponentCompletely>True</IgnoreThisComponentCompletely> | ||
</Settings> | ||
</ProjectConfiguration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<ProjectConfiguration> | ||
<Settings> | ||
<IgnoreThisComponentCompletely>True</IgnoreThisComponentCompletely> | ||
</Settings> | ||
</ProjectConfiguration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters