-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathErrors.txt
More file actions
132 lines (90 loc) · 4.2 KB
/
Errors.txt
File metadata and controls
132 lines (90 loc) · 4.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
UnknownType
Cannot resolve symbol 'UnknownType'.
Guid
'Guid' is a type, which is not valid in the given context.
(Guid).Empty
'Guid' is a type, which is not valid in the given context.
Guid.Value
Cannot resolve symbol 'Value'.
string.Empty:text
Cannot resolve symbol 'text'.
single.10:text
Identifier expected (expression: 10).
float."10":text
Identifier expected (expression: "10").
int.true:text
(1:4) Expected '(', '[', ':', [%*/], [+-], '<<', '>>', '>>>', '<', '>', '<=', '>=', '==', '!=', '&', '^', '|', '&&', '||', '??', '?', or end of input
double.false:text
(1:7) Expected '(', '[', ':', [%*/], [+-], '<<', '>>', '>>>', '<', '>', '<=', '>=', '==', '!=', '&', '^', '|', '&&', '||', '??', '?', or end of input
Math.int:text
Cannot resolve symbol 'int'.
byte(20)
Non-invocable member 'byte' cannot be used like a method.
short.maxvalue(10)
Non-invocable member 'maxvalue' cannot be used like a method.
1 + (2 * 3
(1:11) Expected '(', '[', '.', ':', [%*/], [+-], '<<', '>>', '>>>', '<', '>', '<=', '>=', '==', '!=', '&', '^', '|', '&&', '||', '??', '?', or ')'
1 + 2 * 3(
(1:11) Expected ')'
1 + 2 * 3(2)
Method name expected (expression: 3).
1 + 2 * 3[2]
Cannot apply indexing with [] to an expression of type 'System.Int32'.
1 + 2 * 3[
(1:11) Expected ']'
1 + 2 * 3]
(1:10) Expected '(', '[', '.', ':', [%*/], [+-], '<<', '>>', '>>>', '<', '>', '<=', '>=', '==', '!=', '&', '^', '|', '&&', '||', '??', '?', or end of input
1 // 2 * 3
(1:4) Expected [!+\-~], double-quoted string, quoted-character, 'true', 'false', 'null', identifier, or '('
1 + 2 ** 3
(1:8) Expected [!+\-~], double-quoted string, quoted-character, 'true', 'false', 'null', identifier, or '('
* 1
(1:1) Expected [!+\-~], double-quoted string, quoted-character, 'true', 'false', 'null', identifier, or '('
/ 1
(1:1) Expected [!+\-~], double-quoted string, quoted-character, 'true', 'false', 'null', identifier, or '('
1 *
(1:4) Expected [!+\-~], double-quoted string, quoted-character, 'true', 'false', 'null', identifier, or '('
1 +
(1:4) Expected [!+\-~], double-quoted string, quoted-character, 'true', 'false', 'null', identifier, or '('
1 -
(1:4) Expected [!+\-~], double-quoted string, quoted-character, 'true', 'false', 'null', identifier, or '('
1 /
(1:4) Expected [!+\-~], double-quoted string, quoted-character, 'true', 'false', 'null', identifier, or '('
0xp
(1:2) Expected '(', '[', '.', ':', [%*/], [+-], '<<', '>>', '>>>', '<', '>', '<=', '>=', '==', '!=', '&', '^', '|', '&&', '||', '??', '?', or end of input
"test"[]
Ambiguous match found:\n Char Chars [Int32] (in System.String)
"test"["a"]
Ambiguous match found:\n Char Chars [Int32] (in System.String)
StringSplitOptions.None | StringComparison.Ordinal
Operator '|' cannot be applied to operands of type 'System.StringSplitOptions' and 'System.StringComparison'.
#######################################
###### Binary Numeric Promotions ######
#######################################
#######################################
# If either operand is of type decimal, a binding-time error occurs
# if the other operand is of type float or double.
1.0 + 2.0m
Operator '+' cannot be applied to operands of type 'System.Double' and 'System.Decimal'.
1.0m + 2.0d
Operator '+' cannot be applied to operands of type 'System.Decimal' and 'System.Double'.
1.0f + 2.0m
Operator '+' cannot be applied to operands of type 'System.Single' and 'System.Decimal'.
1.0m + 2.0f
Operator '+' cannot be applied to operands of type 'System.Decimal' and 'System.Single'.
#######################################
# If either operand is of type ulong, a binding-time error occurs
# if the other operand is of type sbyte, short, int, or long.
1ul + 2:sbyte
Operator '+' cannot be applied to operands of type 'System.UInt64' and 'System.SByte'.
1ul + 2:short
Operator '+' cannot be applied to operands of type 'System.UInt64' and 'System.Int16'.
1ul + 2:int
Operator '+' cannot be applied to operands of type 'System.UInt64' and 'System.Int32'.
1ul + 2:long
Operator '+' cannot be applied to operands of type 'System.UInt64' and 'System.Int64'.
#######################################
###### Unary Numeric Promotions ######
#######################################
-1ul
Unary operator '-' cannot be applied to operand of type 'System.UInt64'.