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

◆ IsPrivateOrInternalMethodAndAnnotationDisabled()

bool System.Reflection.NullabilityInfoContext.IsPrivateOrInternalMethodAndAnnotationDisabled ( MethodInfo method)
inlineprivate

Definition at line 173 of file NullabilityInfoContext.cs.

174 {
175 if ((method.IsPrivate || method.IsFamilyAndAssembly || method.IsAssembly) && IsPublicOnly(method.IsPrivate, method.IsFamilyAndAssembly, method.IsAssembly, method.Module))
176 {
177 return true;
178 }
179 return false;
180 }
bool IsPublicOnly(bool isPrivate, bool isFamilyAndAssembly, bool isAssembly, Module module)

References System.Reflection.NullabilityInfoContext.IsPublicOnly().

Referenced by System.Reflection.NullabilityInfoContext.Create(), and System.Reflection.NullabilityInfoContext.Create().