Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Create() [1/4]

NullabilityInfo System.Reflection.NullabilityInfoContext.Create ( EventInfo eventInfo)
inline

Definition at line 182 of file NullabilityInfoContext.cs.

183 {
184 if ((object)eventInfo == null)
185 {
186 throw new ArgumentNullException("eventInfo");
187 }
189 return GetNullabilityInfo(eventInfo, eventInfo.EventHandlerType, eventInfo.GetCustomAttributesData());
190 }
NullabilityInfo GetNullabilityInfo(MemberInfo memberInfo, Type type, IList< CustomAttributeData > customAttributes)

References System.Reflection.NullabilityInfoContext.EnsureIsSupported(), and System.Reflection.NullabilityInfoContext.GetNullabilityInfo().