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/fundamentals/package-validation/diagnostic-ids.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,8 @@ This reference article lists all the error codes generated by package validation
37
37
| CP0016 | An attribute was added to a member that previously did not have it. | Remove the attribute from the member. |
38
38
| CP0017 | The name of a method's parameter changed from one side to the other. | Change the parameter's name back to what it was previously. |
39
39
| CP0018 | The `sealed` keyword was added to an interface member that was previously not sealed. | Remove the `sealed` keyword from the interface member. |
40
+
| CP0019 | The visibility of a member was reduced from one side to the other. | Change the member's visibility back to what it was previously. |
41
+
| CP0020 | The visibility of a member was expanded from one side to the other. | Change the member's visibility back to what it was previously. |
40
42
| CP1001 | A matching assembly could not be found in the search directories. (Not applicable for package validation, only when using API Compat directly.) | Provide the search directory when loading matching assemblies using `AssemblySymbolLoader`. |
41
43
| CP1002 | A reference assembly was not found when loading the assemblies to compare in the resolved directories for the current target framework. | Include the directory path where that assembly can be found using the following MSBuild item: `<PackageValidationReferencePath Include="<path>" TargetFramework="<tfm>" />`. |
42
44
| CP1003 | There was no search directory provided for the target framework moniker that the package validation is running API Compat for. | Provide the search directory to find references for that target framework using the following MSBuild item: `<PackageValidationReferencePath Include="<path>" TargetFramework="<tfm>" />`.
0 commit comments