MetaType contains metadata about a type. This is used by the reflection serializer.
More...
|
| bool | EmitAotData () |
| | Attempt to emit an AOT compiled direct converter for this type.
|
| |
|
object | CreateInstance () |
| | Creates a new instance of the type that this metadata points back to. If this type has a default constructor, then Activator.CreateInstance will be used to construct the type (or Array.CreateInstance if it an array). Otherwise, an uninitialized object created via FormatterServices.GetSafeUninitializedObject is used to construct the instance.
|
| |
|
|
static void | ClearCache () |
| | Clears out the cached type results. Useful if some prior assumptions become invalid, ie, the default member serialization mode.
|
| |
|
|
bool | HasDefaultConstructor [get] |
| | Returns true if the type represented by this metadata contains a default constructor.
|
| |
MetaType contains metadata about a type. This is used by the reflection serializer.
◆ EmitAotData()
| bool FullSerializer.fsMetaType.EmitAotData |
( |
| ) |
|
|
inline |
Attempt to emit an AOT compiled direct converter for this type.
- Returns
- True if AOT data was emitted, false otherwise.
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Tracking/JSON Serializer/Source/Reflection/fsMetaType.cs