Missing API by use
Generated by dotnet run --project tools/NetForms.ApiDiff -- --usage <corpus clones> --out docs/api/usage.md - do not edit by hand.
All namespaces.
Which of the API NetForms lacks real WinForms code uses, and how widely: the 24 repositories of
the project corpus (tests/corpus/corpus.json, cloned at their pinned commits by CorpusTests with
NETFORMS_CORPUS=1) are compiled against the real WinForms reference assemblies, and every reference to a
type or member NetForms does not have is counted. Repositories - in how many of them the code uses it; uses -
references in the code. Ranked by repositories, then uses. A member of a type NetForms lacks entirely counts
towards the type.
Checked: 63 C# projects, 25887 references to WinForms types and members; 26 of them are to API NetForms lacks (11 types and members). Repositories: 2D-graphics-app-drawing, ANT-Lengton, Chess_AI, CircularProgressBar, Find-Exit-Labirint, Fractals, Life, MDBEditor, MineSweeperGame, NodeEditorWinforms, One-dimensional_cellular_automaton, Sapper, Scientific-Calculator, Simple-Windows-Calculator, SnakeGame, SuperAdventure, Surviving-WinForms, The-Koch-curve, Winforms_Chess, WorldOfGames, csharp-image-processing, tetris-oop, windows-forms-minesweeper, xrails-login-ui.
By type
9 types: 3 missing, 6 partial.
| Type | Status | Repositories | Uses | Used and missing |
|---|---|---|---|---|
| System.Drawing.Imaging.ImageFormat | ๐ก partial | 1 | 6 | Icon, Tiff, Wmf |
| System.Drawing.Printing.PrintDocument | โ missing | 1 | 4 | the type |
| System.Windows.Forms.ImageList.ImageCollection | ๐ก partial | 1 | 3 | Add(String, Icon) |
| System.Windows.Forms.LinkLabel | ๐ก partial | 1 | 3 | OverrideCursor |
| System.Windows.Forms.PrintDialog | โ missing | 1 | 3 | the type |
| System.Drawing.Printing.PrintPageEventArgs | โ missing | 1 | 2 | the type |
| System.Windows.Forms.OpenFileDialog | ๐ก partial | 1 | 2 | SafeFileName |
| System.Windows.Forms.TabControl.TabPageCollection | ๐ก partial | 1 | 2 | Remove |
| System.Drawing.Font | ๐ก partial | 1 | 1 | new Font(FontFamily, Single, FontStyle, GraphicsUnit, Byte) |
By member
| Type or member | Repositories | Uses | Where |
|---|---|---|---|
PrintDocument |
1 | 4 | MDBEditor |
ImageList.ImageCollection.Add(String, Icon) |
1 | 3 | Surviving-WinForms |
LinkLabel.OverrideCursor |
1 | 3 | xrails-login-ui |
PrintDialog |
1 | 3 | MDBEditor |
ImageFormat.Icon |
1 | 2 | MDBEditor |
ImageFormat.Tiff |
1 | 2 | MDBEditor |
ImageFormat.Wmf |
1 | 2 | MDBEditor |
PrintPageEventArgs |
1 | 2 | MDBEditor |
OpenFileDialog.SafeFileName |
1 | 2 | MDBEditor |
TabControl.TabPageCollection.Remove |
1 | 2 | MDBEditor |
new Font(FontFamily, Single, FontStyle, GraphicsUnit, Byte) |
1 | 1 | xrails-login-ui |