Update LangVersion to 9 for all Robust projects (#1414)

This commit is contained in:
DrSmugleaf
2020-11-24 01:36:17 +01:00
committed by GitHub
parent 5f940fdec6
commit 60623348d2
@@ -94,8 +94,8 @@ namespace Robust.Client.UserInterface
: base(name, owningType, typeof(T), defaultValue,
validate != null ? o => validate!((T) o!) : (Func<object?, bool>?) null,
changed != null
? (o, ev) => changed!(o, new AttachedPropertyChangedEventArgs<T>((T) ev.NewValue!, (T) ev.OldValue!))
: (AttachedPropertyChangedCallback?) null)
? (AttachedPropertyChangedCallback?) ((o, ev) => changed!(o, new AttachedPropertyChangedEventArgs<T>((T) ev.NewValue!, (T) ev.OldValue!)))
: null)
{
Validate = validate;
Changed = changed;