|
|
@ -56,7 +56,7 @@ namespace Avalonia |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public AvaloniaObject() |
|
|
public AvaloniaObject() |
|
|
{ |
|
|
{ |
|
|
CheckAccess(); |
|
|
VerifyAccess(); |
|
|
foreach (var property in AvaloniaPropertyRegistry.Instance.GetRegistered(this)) |
|
|
foreach (var property in AvaloniaPropertyRegistry.Instance.GetRegistered(this)) |
|
|
{ |
|
|
{ |
|
|
object value = property.IsDirect ? |
|
|
object value = property.IsDirect ? |
|
|
@ -818,4 +818,4 @@ namespace Avalonia |
|
|
throw new ArgumentException($"Property '{p.Name} not registered on '{this.GetType()}"); |
|
|
throw new ArgumentException($"Property '{p.Name} not registered on '{this.GetType()}"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|