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

◆ GetMethodValue

MethodInfo System.ComponentModel.ReflectPropertyDescriptor.GetMethodValue
getprivate

Definition at line 135 of file ReflectPropertyDescriptor.cs.

136 {
137 get
138 {
140 {
141 if (_receiverType == null)
142 {
143 if (_propInfo == null)
144 {
145 BindingFlags bindingAttr = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty;
147 }
148 if (_propInfo != null)
149 {
150 _getMethod = _propInfo.GetGetMethod(nonPublic: true);
151 }
152 if (_getMethod == null)
153 {
155 }
156 }
157 else
158 {
159 _getMethod = MemberDescriptor.FindMethod(_componentClass, "Get" + Name, new Type[1] { _receiverType }, _type);
160 if (_getMethod == null)
161 {
163 }
164 }
165 _state[s_bitGetQueried] = true;
166 }
167 return _getMethod;
168 }
169 }
static string ErrorMissingPropertyAccessors
Definition SR.cs:34
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7
PropertyInfo? GetProperty(string name)
Definition Type.cs:815
string? FullName
Definition Type.cs:47
static readonly Type[] EmptyTypes
Definition Type.cs:19

Referenced by System.ComponentModel.ReflectPropertyDescriptor.ExtenderGetValue().