Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
NullabilityInfo | Create (ParameterInfo parameterInfo) |
NullabilityInfo | Create (PropertyInfo propertyInfo) |
NullabilityInfo | Create (EventInfo eventInfo) |
NullabilityInfo | Create (FieldInfo fieldInfo) |
Properties | |
static bool | IsSupported = !AppContext.TryGetSwitch("System.Reflection.NullabilityInfoContext.IsSupported", out var isEnabled) || isEnabled [get] |
Private Types | |
enum | NotAnnotatedStatus { None = 0 , Private = 1 , Internal = 2 } |
Static Private Member Functions | |
static MethodInfo | GetMethodMetadataDefinition (MethodInfo method) |
static void | EnsureIsSupported () |
static bool | ParseNullableState (IList< CustomAttributeData > customAttributes, int index, ref NullabilityState state) |
static MemberInfo | GetMemberMetadataDefinition (MemberInfo member) |
static Type | GetPropertyMetaType (PropertyInfo property) |
static NullabilityState | TranslateByte (object value) |
static NullabilityState | TranslateByte (byte b) |
Private Attributes | |
readonly Dictionary< Module, NotAnnotatedStatus > | _publicOnlyModules = new Dictionary<Module, NotAnnotatedStatus>() |
readonly Dictionary< MemberInfo, NullabilityState > | _context = new Dictionary<MemberInfo, NullabilityState>() |
Definition at line 7 of file NullabilityInfoContext.cs.