Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Xml.Serialization.SourceInfo Class Referencesealed

Public Member Functions

 SourceInfo (string source, string arg, MemberInfo memberInfo, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.NonPublicConstructors|DynamicallyAccessedMemberTypes.PublicMethods|DynamicallyAccessedMemberTypes.NonPublicMethods)] Type type, CodeGenerator ilg)
 
SourceInfo CastTo (TypeDesc td)
 
void LoadAddress (Type elementType)
 
void Load (Type elementType)
 
override bool Equals ([NotNullWhen(true)] object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static implicit operator string (SourceInfo source)
 
static bool operator!= (SourceInfo a, SourceInfo b)
 
static bool operator== (SourceInfo a, SourceInfo b)
 

Public Attributes

string Source
 
readonly string Arg
 
readonly MemberInfo MemberInfo
 
readonly Type Type
 
readonly CodeGenerator ILG
 

Private Member Functions

void InternalLoad (Type elementType, bool asAddress=false)
 
void Convert (Type sourceType, Type targetType, bool asAddress)
 
void ConvertNullableValue ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods|DynamicallyAccessedMemberTypes.NonPublicMethods)] Type nullableType, Type targetType)
 

Static Private Attributes

static readonly Regex s_regex = new Regex("([(][(](?<t>[^)]+)[)])?(?<a>[^[]+)[[](?<ia>.+)[]][)]?")
 
static readonly Regex s_regex2 = new Regex("[(][(](?<cast>[^)]+)[)](?<arg>[^)]+)[)]")
 
static readonly Lazy< MethodInfos_iListGetItemMethod = new Lazy<MethodInfo>(() => typeof(IList).GetMethod("get_Item", new Type[1] { typeof(int) }))
 

Detailed Description

Definition at line 9 of file SourceInfo.cs.


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