1
1
[
2
+ {/*
3
+ public Exception UnsupportedSystemType;
4
+ public UnresolvedType UnresolvedType;
5
+ ^^^^^^^^^^^^^^
6
+ public LocalEnum UnsupportedEnum;
7
+ */
8
+ Message: The type or namespace name 'UnresolvedType' could not be found (are you missing a using directive or an assembly reference?),
9
+ Severity: Error,
10
+ Descriptor: {
11
+ Id: CS0246,
12
+ Title: ,
13
+ HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0246),
14
+ MessageFormat: The type or namespace name '{0}' could not be found (are you missing a using directive or an assembly reference?),
15
+ Category: Compiler,
16
+ DefaultSeverity: Error,
17
+ IsEnabledByDefault: true,
18
+ CustomTags: [
19
+ Compiler,
20
+ Telemetry,
21
+ NotConfigurable
22
+ ]
23
+ }
24
+ },
2
25
{/*
3
26
// Valid Filter, but [ClientVisibilityFilter] is disabled
4
27
[SpacetimeDB.ClientVisibilityFilter]
23
46
}
24
47
},
25
48
{/*
26
- public Exception UnsupportedSystemType;
27
- public UnresolvedType UnresolvedType ;
28
- ^^^^^^^^^^^ ^^^
29
- public LocalEnum UnsupportedEnum;
49
+ {
50
+ internal static readonly TRW Field = new() ;
51
+ ^^^
52
+
30
53
*/
31
- Message: The type or namespace name 'UnresolvedType ' could not be found (are you missing a using directive or an assembly reference?),
54
+ Message: The type or namespace name 'TRW ' could not be found (are you missing a using directive or an assembly reference?),
32
55
Severity: Error,
33
56
Descriptor: {
34
57
Id: CS0246,
46
69
}
47
70
},
48
71
{/*
49
- SpacetimeDB.Internal.Module.RegisterTable<global::TestUniqueNotEquatable, SpacetimeDB.Internal.TableHandles.TestUniqueNotEquatable>();
50
- SpacetimeDB.Internal.Module.RegisterClientVisibilityFilter(global::Module.MY_FILTER);
51
- ^^^^^^^^^
52
- SpacetimeDB.Internal.Module.RegisterClientVisibilityFilter(global::Module.MY_FOURTH_FILTER);
72
+
73
+ partial struct TestTypeParams<T> : System.IEquatable<TestTypeParams>, SpacetimeDB.BSATN.IStructuralReadWrite {
74
+ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^
75
+
53
76
*/
54
- Message: 'Module.MY_FILTER' is inaccessible due to its protection level ,
77
+ Message: 'TestTypeParams<T>' does not implement interface member 'IEquatable<TestTypeParams>.Equals(TestTypeParams?)' ,
55
78
Severity: Error,
56
79
Descriptor: {
57
- Id: CS0122 ,
80
+ Id: CS0535 ,
58
81
Title: ,
59
- HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0122 ),
60
- MessageFormat: '{0}' is inaccessible due to its protection level ,
82
+ HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0535 ),
83
+ MessageFormat: '{0}' does not implement interface member '{1}' ,
61
84
Category: Compiler,
62
85
DefaultSeverity: Error,
63
86
IsEnabledByDefault: true,
@@ -69,18 +92,18 @@ SpacetimeDB.Internal.Module.RegisterClientVisibilityFilter(global::Module.MY_FOU
69
92
}
70
93
},
71
94
{/*
72
- SpacetimeDB.Internal.Module.RegisterClientVisibilityFilter(global::Module.MY_SECOND_FILTER);
73
- SpacetimeDB.Internal.Module.RegisterClientVisibilityFilter(global::Module.MY_THIRD_FILTER);
74
- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
75
- }
95
+
96
+ partial struct TestTypeParams<T> : System.IEquatable<TestTypeParams>, SpacetimeDB.BSATN.IStructuralReadWrite {
97
+ ^^^^^^^^^^^^^^
98
+
76
99
*/
77
- Message: Argument 1: cannot convert from 'string' to 'SpacetimeDB.Filter' ,
100
+ Message: Using the generic type 'TestTypeParams<T>' requires 1 type arguments ,
78
101
Severity: Error,
79
102
Descriptor: {
80
- Id: CS1503 ,
103
+ Id: CS0305 ,
81
104
Title: ,
82
- HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS1503 ),
83
- MessageFormat: Argument {0}: cannot convert from '{1 }' to ' {2}' ,
105
+ HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0305 ),
106
+ MessageFormat: Using the generic {1} '{0 }' requires {2} type arguments ,
84
107
Category: Compiler,
85
108
DefaultSeverity: Error,
86
109
IsEnabledByDefault: true,
@@ -115,18 +138,18 @@ var ___hashUnsupportedEnum = UnsupportedEnum.GetHashCode();
115
138
}
116
139
},
117
140
{/*
118
- {
119
- internal static readonly TRW Field = new( );
120
- ^^^
121
-
141
+ SpacetimeDB.Internal.Module.RegisterTable<global::TestUniqueNotEquatable, SpacetimeDB.Internal.TableHandles.TestUniqueNotEquatable>();
142
+ SpacetimeDB.Internal.Module.RegisterClientVisibilityFilter(global::Module.MY_FILTER );
143
+ ^^^^^^ ^^^
144
+ SpacetimeDB.Internal.Module.RegisterClientVisibilityFilter(global::Module.MY_FOURTH_FILTER);
122
145
*/
123
- Message: The type or namespace name 'TRW' could not be found (are you missing a using directive or an assembly reference?) ,
146
+ Message: 'Module.MY_FILTER' is inaccessible due to its protection level ,
124
147
Severity: Error,
125
148
Descriptor: {
126
- Id: CS0246 ,
149
+ Id: CS0122 ,
127
150
Title: ,
128
- HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0246 ),
129
- MessageFormat: The type or namespace name '{0}' could not be found (are you missing a using directive or an assembly reference?) ,
151
+ HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0122 ),
152
+ MessageFormat: '{0}' is inaccessible due to its protection level ,
130
153
Category: Compiler,
131
154
DefaultSeverity: Error,
132
155
IsEnabledByDefault: true,
@@ -138,41 +161,18 @@ var ___hashUnsupportedEnum = UnsupportedEnum.GetHashCode();
138
161
}
139
162
},
140
163
{/*
141
-
142
- partial struct TestTypeParams<T> : System.IEquatable<TestTypeParams>, SpacetimeDB.BSATN.IStructuralReadWrite {
143
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
144
-
145
- */
146
- Message: 'TestTypeParams<T>' does not implement interface member 'IEquatable<TestTypeParams>.Equals(TestTypeParams?)',
147
- Severity: Error,
148
- Descriptor: {
149
- Id: CS0535,
150
- Title: ,
151
- HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0535),
152
- MessageFormat: '{0}' does not implement interface member '{1}',
153
- Category: Compiler,
154
- DefaultSeverity: Error,
155
- IsEnabledByDefault: true,
156
- CustomTags: [
157
- Compiler,
158
- Telemetry,
159
- NotConfigurable
160
- ]
164
+ SpacetimeDB.Internal.Module.RegisterClientVisibilityFilter(global::Module.MY_SECOND_FILTER);
165
+ SpacetimeDB.Internal.Module.RegisterClientVisibilityFilter(global::Module.MY_THIRD_FILTER);
166
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
161
167
}
162
- },
163
- {/*
164
-
165
- partial struct TestTypeParams<T> : System.IEquatable<TestTypeParams>, SpacetimeDB.BSATN.IStructuralReadWrite {
166
- ^^^^^^^^^^^^^^
167
-
168
168
*/
169
- Message: Using the generic type 'TestTypeParams<T>' requires 1 type arguments ,
169
+ Message: Argument 1: cannot convert from 'string' to 'SpacetimeDB.Filter' ,
170
170
Severity: Error,
171
171
Descriptor: {
172
- Id: CS0305 ,
172
+ Id: CS1503 ,
173
173
Title: ,
174
- HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0305 ),
175
- MessageFormat: Using the generic {1} '{0 }' requires {2} type arguments ,
174
+ HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS1503 ),
175
+ MessageFormat: Argument {0}: cannot convert from '{1 }' to ' {2}' ,
176
176
Category: Compiler,
177
177
DefaultSeverity: Error,
178
178
IsEnabledByDefault: true,
0 commit comments