diff --git a/src/Polyfill/Nullability/NullabilityInfoExtensions.cs b/src/Polyfill/Nullability/NullabilityInfoExtensions.cs index 784737c..ac37ed1 100644 --- a/src/Polyfill/Nullability/NullabilityInfoExtensions.cs +++ b/src/Polyfill/Nullability/NullabilityInfoExtensions.cs @@ -52,11 +52,13 @@ public static bool IsNullable(this MemberInfo info) } public static NullabilityInfo GetNullabilityInfo(this FieldInfo info) => - fieldCache.GetOrAdd(info, static inner => - { - var context = new NullabilityInfoContext(); - return context.Create(inner); - }); + fieldCache.GetOrAdd( + info, + static inner => + { + var context = new NullabilityInfoContext(); + return context.Create(inner); + }); public static NullabilityState GetNullability(this FieldInfo info) => GetReadOrWriteState(info.GetNullabilityInfo()); @@ -68,11 +70,13 @@ public static bool IsNullable(this FieldInfo info) } public static NullabilityInfo GetNullabilityInfo(this EventInfo info) => - eventCache.GetOrAdd(info, static inner => - { - var context = new NullabilityInfoContext(); - return context.Create(inner); - }); + eventCache.GetOrAdd( + info, + static inner => + { + var context = new NullabilityInfoContext(); + return context.Create(inner); + }); public static NullabilityState GetNullability(this EventInfo info) => GetReadOrWriteState(info.GetNullabilityInfo());