Skip to content

Codegen for DynamicDependencyAttribute creates unnecessary property setters. #15064

@KevinRansom

Description

@KevinRansom

Codegen for DynamicDependencyAttribute creates unnecessary property setters.

Currently building fantomas produces this output:

warning FS1063: Unknown --test argument: 'ParallelCheckingWithSignatureFilesOn'
The local method 'System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute'::'set_MemberType' was referenced but not declared
generic arity: 0
The local method 'System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute'::'set_Type' was referenced but not declared
generic arity: 0
The local method 'System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute'::'set_MemberType' was referenced but not declared
generic arity: 0
The local method 'System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute'::'set_Type' was referenced but not declared
generic arity: 0

This will be fixed by making them public, however, the setters should be removed.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions