Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ NextTypeInfo() [2/2]

static TypeInfo System.Linq.Expressions.Compiler.DelegateHelpers.NextTypeInfo ( Type initialArg,
TypeInfo curTypeInfo )
inlinestaticprivate

Definition at line 136 of file DelegateHelpers.cs.

137 {
138 if (curTypeInfo.TypeChain == null)
139 {
140 curTypeInfo.TypeChain = new Dictionary<Type, TypeInfo>();
141 }
143 {
144 value = new TypeInfo();
145 if (!initialArg.IsCollectible)
146 {
147 curTypeInfo.TypeChain[initialArg] = value;
148 }
149 }
150 return value;
151 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)

References System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), System.Reflection.TypeInfo, and System.value.