зеркало из https://github.com/DeGsoft/maui-linux.git
b181e019c9
In case of value types in Compiled Binding Paths, we weren't checking for null property on the right part of the path before ```csharp bindingExtension.TypedBinding = new TypedBinding<Gh5770, Color>(delegate(Gh5770 gh) { if (gh == null) { return new ValueTuple<Color, bool>(default(Color), false); } Gh5770VM expr_24 = gh.MyContentViewModel; return new ValueTuple<Color, bool>(expr_24.TextColor, true); }, ..., ...); ``` after ```csharp bindingExtension.TypedBinding = new TypedBinding<Gh5770, Color>(delegate(Gh5770 gh) { if (gh == null) { return new ValueTuple<Color, bool>(default(Color), false); } Gh5770VM expr_24 = gh.MyContentViewModel; if (expr_24 == null) { return new ValueTuple<Color, bool>(default(Color), false); } return new ValueTuple<Color, bool>(expr_24.TextColor, true); }, ..., ...); ``` - fixes #5770 |
||
---|---|---|
.. | ||
CompiledConverters | ||
CompiledMarkupExtensions | ||
CompiledValueProviders | ||
Properties | ||
BindablePropertyReferenceExtensions.cs | ||
CreateObjectVisitor.cs | ||
CssGTask.cs | ||
CssGenerator.cs | ||
DebugXamlCTask.cs | ||
ExpandMarkupsVisitor.cs | ||
FieldReferenceExtensions.cs | ||
ILContext.cs | ||
ILProcessorExtensions.cs | ||
ILRootNode.cs | ||
MethodBodyExtensions.cs | ||
MethodDefinitionExtensions.cs | ||
MethodReferenceExtensions.cs | ||
ModuleDefinitionExtensions.cs | ||
NodeILExtensions.cs | ||
PerformanceProvider.cs | ||
SetFieldVisitor.cs | ||
SetNamescopesAndRegisterNamesVisitor.cs | ||
SetPropertiesVisitor.cs | ||
SetResourcesVisitor.cs | ||
TypeDefinitionExtensions.cs | ||
TypeReferenceExtensions.cs | ||
VariableDefinitionExtensions.cs | ||
Xamarin.Forms.Build.Tasks.csproj | ||
XamlCAssemblyResolver.cs | ||
XamlCTask.cs | ||
XamlGTask.cs | ||
XamlGenerator.cs | ||
XamlTask.cs | ||
XmlTypeExtensions.cs |