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/language-reference/compiler-messages/source-generator-errors.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,8 +96,10 @@ The following errors are generated when source generators or interceptors are lo
96
96
-[**CS9206**](#other-failures): *An interceptor cannot be declared in the global namespace.*
97
97
-[**CS9207**](#other-failures): *Cannot intercept because method is not an invocation of an ordinary member method.*
98
98
99
-
The following warnings are generated when source generators or interceptors are loaded during a compilation:
99
+
The following warnings are generated when source generators or interceptors are loaded during a compilation:
100
100
101
+
-[**CS8784**](#other-failures): *Generator '`YourSourceGeneratorName`' failed to initialize. It will not contribute to the output and compilation errors may occur as a result.*
102
+
-[**CS8785**](#other-failures): *Generator '`YourSourceGeneratorName`' failed to generate source. It will not contribute to the output and compilation errors may occur as a result.*
101
103
-[**CS9154**](#signature-mismatch): *Intercepting a call to `M` with interceptor `V`, but the signatures do not match.*
102
104
-[**CS9158**](#signature-mismatch): *Nullability of reference types in return type doesn't match interceptable method.*
103
105
-[**CS9159**](#signature-mismatch): *Nullability of reference types in type of parameter doesn't match interceptable method.*
0 commit comments