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
Copy file name to clipboardExpand all lines: docs/csharp/misc/cs1503.md
+26-3Lines changed: 26 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,35 @@ title: "Compiler Error CS1503"
4
4
ms.date: 07/20/2015
5
5
f1_keywords:
6
6
- "CS1503"
7
+
- "CS1502"
7
8
helpviewer_keywords:
8
9
- "CS1503"
10
+
- "CS1502"
9
11
ms.assetid: 65e4c63d-928d-49f5-8fac-8e113b07e128
10
12
---
11
13
# Compiler Error CS1503
12
14
13
-
Argument 'number' cannot convert from TypeA to TypeB
14
-
15
-
The type of one argument in a method does not match the type that was passed when the class was instantiated. This error typically appears along with CS1502. See [CS1502](../language-reference/compiler-messages/cs1502.md) for a discussion of how to resolve this error.
15
+
Argument 'argument' cannot convert from TypeA to TypeB
16
+
17
+
The type of one argument in a method does not match the type that was passed when the class was instantiated.
0 commit comments