dotnet / dotnet/linker

propertyInfo.PropertyType.GetProperty("")

Open
#3,220 1 comment 0 reactions 0 assignees View on GitHub
needs-author-action
Dominant language
C#
Stars
392
Forks
128
Avg merge
2d 10h
Merged PRs (30d)
2

Description

propertyInfo.PropertyType.GetProperty("")

This shows warning:
Severity Code Description Project File Line Suppression State
Warning IL2075 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Reflection.PropertyInfo.PropertyType.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.