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

◆ GetSetMethod() [2/2]

override? MethodInfo System.Reflection.Emit.PropertyBuilder.GetSetMethod ( bool nonPublic)
inline

Definition at line 178 of file PropertyBuilder.cs.

179 {
180 if (nonPublic || m_setMethod == null)
181 {
182 return m_setMethod;
183 }
184 if ((m_setMethod.Attributes & MethodAttributes.Public) == MethodAttributes.Public)
185 {
186 return m_setMethod;
187 }
188 return null;
189 }
MethodAttributes Attributes
Definition MethodBase.cs:24

References System.Reflection.MethodBase.Attributes, and System.Reflection.Emit.PropertyBuilder.m_setMethod.