3 references to IsPrivateOrInternalMethodAndAnnotationDisabled
Microsoft.Extensions.AI.Abstractions (3)
src\Shared\JsonSchemaExporter\NullabilityInfoContext\NullabilityInfoContext.cs (3)
77
NullableAttributeStateParser parser = parameterInfo.Member is MethodBase method &&
IsPrivateOrInternalMethodAndAnnotationDisabled
(method)
201
bool annotationsDisabled = (getter == null ||
IsPrivateOrInternalMethodAndAnnotationDisabled
(getter))
202
&& (setter == null ||
IsPrivateOrInternalMethodAndAnnotationDisabled
(setter));