Show/Hide Toolbars

XSharp

'type' does not contain a definition for 'member' and no extension method 'name' accepting a first argument of type 'type' could be found (are you missing a using directive or an assembly reference?).

 

This error occurs when you try to call a method or access a class member that does not exist.

Example

 

The following example generates XS1061 because TestClass1 does not have a DisplaySomething method. It does have a method that is called WriteSomething. Perhaps that is what the author of this source code meant to write.

 

 

// XS1061.prg