EGDL2 2.1
Loading...
Searching...
No Matches
FullSerializer.fsMetaType Class Reference

MetaType contains metadata about a type. This is used by the reflection serializer. More...

Public Member Functions

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 Public Member Functions

static void ClearCache ()
 Clears out the cached type results. Useful if some prior assumptions become invalid, ie, the default member serialization mode.
 

Properties

bool HasDefaultConstructor [get]
 Returns true if the type represented by this metadata contains a default constructor.
 

Detailed Description

MetaType contains metadata about a type. This is used by the reflection serializer.

Member Function Documentation

◆ 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.
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: