Closed
Description
I have this warning in WinForms
winforms\src\System.Windows.Forms\src\System\Resources\ResXDataNode.cs(129,28): error IL2077: 'name' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor
' in call to 'System.ComponentModel.Design.ITypeResolutionService.GetType(String, Boolean, Boolean)'. The field 'System.Resources.DataNodeInfo.TypeName' does not have matching annotations. The source value mu
st declare at least the same requirements as those declared on the target location it is assigned to.
This is indication that Type name stored in resource file require PublicParameterlessConstructor
to be useful. I have dilemma, either I annotate that code as unprovable and apply RUC on the method. Or if illink can look at aseembly resources and read type name and keep public parameterless constructors to that type, that maybe useful.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status