Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You have applied an attribute to a parameter in a lambda expression definition, which is not supported. The following code causes this error.
Sub LambaAttribute()
' Not valid.
Dim add1 = _
Function(<System.Runtime.InteropServices.InAttribute()> m As Integer) _
m + 1
End Sub
Error ID: BC36634
To correct this error
- Remove the attribute, or consider revising your code by changing the lambda expression to a regular function.