-
Notifications
You must be signed in to change notification settings - Fork 291
Feature Symbols
Feature Symbols (named FEATURE_{feature name}, all caps) are compilation symbols defined for features whose availability vary across platforms that IronPython supports. The symbols are defined in Build/{framework}.props file, which get included by all .csproj files that contribute to IronPython.
The following list needs a major update
The following symbols are currently used:
System.Threading.ApartmentState
System.Reflection.Assembly.GetForwardedTypes
Runtime assembly resolution (System.AppDomain.AssemblyResolve event).
System.Reflection.Emit.AssemblyBuilder.DefineDynamicAssembly
System.Reflection.Emit.AssemblyBuilder.Save
System.CodeDom
Configuration files (System.Configuration).
System.ComponentModel.ICustomTypeDescriptor interface.
System.Threading.ThreadAbortException.ExceptionState
Full file system (Directory, File, Path, FileStream, etc.)
System.Linq.Expressions.LambdaExpression.CompileToMethod
System.Reflection.Assembly.LoadWithPartialName
DLR metadata reader available.
System.IO.MemoryMappedFiles
Native code interop: P/Invokes, CTypes, etc.
System.Runtime.Versioning.OSPlatformAttribute
Ability to emit PDB files.
Processes, AppDomains, process-wide environment variables.
Reflection.Emit.
Remoting (MarshalByRefObject).
System.Runtime.InteropServices.RuntimeInformation
System.Security.SecurityRuleSet and related (e.g. System.Security.SecurityRulesAttribute)
Serialization - Serializable attribute, ISerializable interface.
System.Diagnostics.StackTrace, System.Diagnostics.StackFrame.
System.Net.Sockets.
Threads, ThreadAbortException.
System.Type.IsEquivalentTo
System.ComponentModel.TypeConverter and TypeConverterAttribute types.
XML documentation available at runtime.
Still looking for more? Send a message by creating a feature request on the Issues tab.
🐍 IronPython