C#


ROSLYN.USAGE.CA2258 : Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported (C#)

See Roslyn-Detected C# Warning Classes for more information.

Summary

Providing a functional 'DynamicInterfaceCastableImplementationAttribute'-attributed interface requires the Default Interface Members feature, which is unsupported in Visual Basic.

This check corresponds to Roslyn rule CA2258. For full rule details, see the Microsoft website: CA2258.

Properties

Class Name Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported (C#)
Significance reliability
Mnemonic ROSLYN.USAGE.CA2258
Categories None
Availability Available for C# only.
Enabling Checks for this warning class are enabled by default. To disable them, add the following WARNING_FILTER rule to the project configuration file.
WARNING_FILTER += discard class="Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported (C#)"

Relevant Configuration File Parameters

The following configuration file parameters affect checks for this warning class.