Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-284873: error BC36558: The custom-designed version of 'System.Runtime.CompilerServices.ExtensionAttribute' found by the compiler is not valid. Its attribute usage flags must be set to allow assemblies, classes, and methods.

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Dec 3, 2011 3:00:59 AM
Updated Dec 5, 2011 5:49:36 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Option Strict On

Imports System.Runtime.CompilerServices

Namespace System.Runtime.CompilerServices
  <AttributeUsageAttribute(AttributeTargets.Method)>
  Class ExtensionAttribute : Inherits Attribute
  End Class

End Namespace

Module M
  <Extension()> 
  Sub Foo(ByVal x As Object)
  End Sub
End Module

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>