Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
EmitNullableToNonNullableConversion()
static void System.Linq.Expressions.Compiler.ILGen.EmitNullableToNonNullableConversion
(
this
ILGenerator
il
,
Type
typeFrom
,
Type
typeTo
,
bool
isChecked
,
ILocalCache
locals
)
inline
static
private
Definition at line
686
of file
ILGen.cs
.
687
{
688
if
(typeTo.IsValueType)
689
{
690
il.EmitNullableToNonNullableStructConversion(typeFrom, typeTo, isChecked, locals);
691
}
692
else
693
{
694
il.EmitNullableToReferenceConversion(typeFrom);
695
}
696
}
References
System.Type.IsValueType
.
System
Linq
Expressions
Compiler
ILGen
Generated by
1.10.0