6 references to DeclaredOnlyLookup
Microsoft.AspNetCore.Shared.Tests (6)
src\Shared\PropertyHelper\PropertyHelper.cs (6)
26
typeof(PropertyHelper).GetMethod(nameof(CallPropertyGetter),
DeclaredOnlyLookup
)!;
29
typeof(PropertyHelper).GetMethod(nameof(CallPropertyGetterByReference),
DeclaredOnlyLookup
)!;
32
typeof(PropertyHelper).GetMethod(nameof(CallNullSafePropertyGetter),
DeclaredOnlyLookup
)!;
35
typeof(PropertyHelper).GetMethod(nameof(CallNullSafePropertyGetterByReference),
DeclaredOnlyLookup
)!;
38
typeof(PropertyHelper).GetMethod(nameof(CallPropertySetter),
DeclaredOnlyLookup
)!;
461
var declaredProperty = currentType.GetProperty(propertyHelper.Name,
DeclaredOnlyLookup
);