Skip to content

ComInterfaceGenerator provides confusing warning for arrays with [InAttribute] #88205

@jtschuster

Description

@jtschuster

When [InAttribute] is applied to an array, the generators will warn with a confusing warning

SYSLIB1051: The '[In]' attribute is not supported unless the '[Out]' attribute 
is also used. The behavior of the '[In]' attribute without the '[Out]' attribute 
is the same as the default behavior. The generated source will not handle 
marshalling of parameter 'paramName'.

The statement The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. is not true for arrays; the default behavior is [In, Out]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions