Skip to content

Commit 90f0d6f

Browse files
committed
fix nullable issue
1 parent 353ac51 commit 90f0d6f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

CSharpMath.Wiki

CSharpMath.Xaml.Tests/Test.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ IDisposable SetBinding<TView>(TView view, string propertyName, TBindingMode? bin
4545
SetBinding(view,
4646
(TProperty)typeof(TView)
4747
.GetField(propertyName + "Property", BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy)
48-
?.GetValue(view) ?? throw new NotImplementedException($"Property not found in {typeof(TView)}: {propertyName}"),
48+
?.GetValue(view)! ?? throw new NotImplementedException($"Property not found in {typeof(TView)}: {propertyName}"),
4949
propertyName,
5050
bindingMode ?? Default);
5151
[Fact]

Typography

0 commit comments

Comments
 (0)