You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Enter feedback here]
Severity Code Description Project File Line Suppression State Details
Error (active) CS1061 'object' does not contain a definition for 'Name' and no accessible extension method 'Name' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) WindowsFormsApp8 C:\Users\Leyla\source\repos\WindowsFormsApp8\MainForm.cs 36
The article does describe what's wrong. If you want specific help on your scenario, post a small sample to our Q & A site. People monitor that site to provide specific answers.
I'll close this as it's not a documentation issue.
Type of issue
Code doesn't work
Description
[Enter feedback here]
Severity Code Description Project File Line Suppression State Details
Error (active) CS1061 'object' does not contain a definition for 'Name' and no accessible extension method 'Name' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) WindowsFormsApp8 C:\Users\Leyla\source\repos\WindowsFormsApp8\MainForm.cs 36
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs1061?f1url=%3FappId%3Droslyn%26k%3Dk(CS1061)
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/compiler-messages/cs1061.md
Document Version Independent Id
df4263c1-477a-3c32-9abe-3fcb850e6c1b
Platform Id
675a4c35-cd66-9592-d77f-b6ef2558d9de
Article author
@BillWagner
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: