This table lists the types that are not allowed from the .NET 5 base library for custom code development.


Types
1System.Net.Http.HttpClient
2System.IO.File
3System.IO.StreamReader
4System.IO.StreamWriter
5System.IO.FileStream
6System.IO.BinaryReader
7System.IO.BinaryWriter
8System.IO.Directory
9System.IO.DirectoryInfo
10System.Environment
11System.Reflection.Assembly
12System.Activator
13System.Diagnostics.Process
14System.Net.WebUtility
15System.Reflection.MethodBody
16System.Reflection.Pointer
17System.Security.PermissionSet
18System.Security.SecurityElement
19System.Security.SecurityRulesAttribute
20System.Security.SecuritySafeCriticalAttribute
21System.Security.SecurityTreatAsSafeAttribute
22System.Security.SecurityTransparentAttribute
23System.Security.SuppressUnmanagedCodeSecurityAttribute
24System.Security.UnverifiableCodeAttribute
25System.Security.Permissions.CodeAccessSecurityAttribute
26System.Security.Permissions.SecurityAttribute
27System.Security.Permissions.SecurityPermissionAttribute
28System.Runtime.Serialization.FormatterServices
29System.Net.Http.DelegatingHandler
30System.Net.Http.HttpClientHandler
31System.Net.Http.HttpMessageHandler
32System.Net.Http.HttpMessageInvoker
33System.Net.Http.HttpRequestOptions
34System.Net.Http.HttpRequestMessage
35System.Net.Http.MessageProcessingHandler
36System.Net.Http.SocketsHttpConnectionContext
37System.Net.Http.SocketsHttpHandler
38System.Net.Http.SocketsHttpPlaintextStreamFilterContext