From 04c3fadda774e825eab353d85edaf2437105d7db Mon Sep 17 00:00:00 2001 From: Alexandre Mutel Date: Tue, 25 Jan 2022 07:40:08 +0100 Subject: [PATCH] Fix nullable --- src/Tomlyn/Model/Accessors/StandardObjectDynamicAccessor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tomlyn/Model/Accessors/StandardObjectDynamicAccessor.cs b/src/Tomlyn/Model/Accessors/StandardObjectDynamicAccessor.cs index 7a18075..95f59f3 100644 --- a/src/Tomlyn/Model/Accessors/StandardObjectDynamicAccessor.cs +++ b/src/Tomlyn/Model/Accessors/StandardObjectDynamicAccessor.cs @@ -47,11 +47,11 @@ private void Initialize() } } - public override IEnumerable> GetProperties(object obj) + public override IEnumerable> GetProperties(object obj) { foreach (var prop in _orderedProps) { - yield return new KeyValuePair(prop.Key, prop.Value.GetValue(obj)); + yield return new KeyValuePair(prop.Key, prop.Value.GetValue(obj)); } }