Skip to content

Commit 80c9e80

Browse files
add missing warnings 'CS8784' and 'CS8785' (#47866)
1 parent 4b18c65 commit 80c9e80

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/csharp/language-reference/compiler-messages/source-generator-errors.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ The following errors are generated when source generators or interceptors are lo
9696
- [**CS9206**](#other-failures): *An interceptor cannot be declared in the global namespace.*
9797
- [**CS9207**](#other-failures): *Cannot intercept because method is not an invocation of an ordinary member method.*
9898

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:
100100

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.*
101103
- [**CS9154**](#signature-mismatch): *Intercepting a call to `M` with interceptor `V`, but the signatures do not match.*
102104
- [**CS9158**](#signature-mismatch): *Nullability of reference types in return type doesn't match interceptable method.*
103105
- [**CS9159**](#signature-mismatch): *Nullability of reference types in type of parameter doesn't match interceptable method.*

0 commit comments

Comments
 (0)