Class CodeFlow
Inheritance
System.Object
CodeFlow
Assembly: Steeltoe.Common.Expression.dll
Syntax
public class CodeFlow : object
Constructors
|
Edit this page
View Source
CodeFlow(CompiledExpression)
Declaration
public CodeFlow(CompiledExpression compiledExpression)
Parameters
Methods
|
Edit this page
View Source
AreBoxingCompatible(TypeDescriptor, TypeDescriptor)
Declaration
public static bool AreBoxingCompatible(TypeDescriptor desc1, TypeDescriptor desc2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
EnterCompilationScope()
Declaration
public void EnterCompilationScope()
|
Edit this page
View Source
ExitCompilationScope()
Declaration
public void ExitCompilationScope()
|
Edit this page
View Source
Finish(Int32)
Declaration
public DynamicMethod Finish(int compilationId)
Parameters
Type |
Name |
Description |
System.Int32 |
compilationId |
|
Returns
Type |
Description |
DynamicMethod |
|
|
Edit this page
View Source
InsertAnyNecessaryTypeConversionBytecodes(ILGenerator, TypeDescriptor, TypeDescriptor)
Declaration
public static void InsertAnyNecessaryTypeConversionBytecodes(ILGenerator gen, TypeDescriptor targetDescriptor, TypeDescriptor stackDescriptor)
Parameters
|
Edit this page
View Source
InsertBoxIfNecessary(ILGenerator, TypeDescriptor)
Declaration
public static void InsertBoxIfNecessary(ILGenerator gen, TypeDescriptor descriptor)
Parameters
|
Edit this page
View Source
InsertCastClass(ILGenerator, TypeDescriptor)
Declaration
public static void InsertCastClass(ILGenerator gen, TypeDescriptor descriptor)
Parameters
|
Edit this page
View Source
InsertNumericUnboxOrPrimitiveTypeCoercion(ILGenerator, TypeDescriptor, TypeDescriptor)
Declaration
public static void InsertNumericUnboxOrPrimitiveTypeCoercion(ILGenerator gen, TypeDescriptor stackDescriptor, TypeDescriptor targetDescriptor)
Parameters
|
Edit this page
View Source
IsBooleanCompatible(TypeDescriptor)
Declaration
public static bool IsBooleanCompatible(TypeDescriptor descriptor)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsIntegerForNumericOp(Object)
Declaration
public static bool IsIntegerForNumericOp(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsPrimitive(Type)
Declaration
public static bool IsPrimitive(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsPrimitiveOrUnboxableSupportedNumber(TypeDescriptor)
Declaration
public static bool IsPrimitiveOrUnboxableSupportedNumber(TypeDescriptor descriptor)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsPrimitiveOrUnboxableSupportedNumberOrBoolean(TypeDescriptor)
Declaration
public static bool IsPrimitiveOrUnboxableSupportedNumberOrBoolean(TypeDescriptor descriptor)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsValueType(TypeDescriptor)
Declaration
public static bool IsValueType(TypeDescriptor descriptor)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
LastDescriptor()
Declaration
public TypeDescriptor LastDescriptor()
Returns
|
Edit this page
View Source
LoadEvaluationContext(ILGenerator)
Declaration
public static void LoadEvaluationContext(ILGenerator gen)
Parameters
Type |
Name |
Description |
ILGenerator |
gen |
|
|
Edit this page
View Source
LoadTarget(ILGenerator)
Declaration
public static void LoadTarget(ILGenerator gen)
Parameters
Type |
Name |
Description |
ILGenerator |
gen |
|
|
Edit this page
View Source
NextFieldId()
Declaration
Returns
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
PushDescriptor(TypeDescriptor)
Declaration
public void PushDescriptor(TypeDescriptor descriptor)
Parameters
|
Edit this page
View Source
RegisterNewField(String, Object)
Declaration
public void RegisterNewField(string constantFieldName, object fieldValue)
Parameters
Type |
Name |
Description |
System.String |
constantFieldName |
|
System.Object |
fieldValue |
|
|
Edit this page
View Source
RegisterNewInitGenerator(Action<ILGenerator, CodeFlow>)
Declaration
public void RegisterNewInitGenerator(Action<ILGenerator, CodeFlow> generator)
Parameters
Type |
Name |
Description |
Action<ILGenerator, CodeFlow> |
generator |
|
|
Edit this page
View Source
ToBoxedDescriptor(TypeDescriptor)
Declaration
public static TypeDescriptor ToBoxedDescriptor(TypeDescriptor descriptor)
Parameters
Returns
|
Edit this page
View Source
ToDescriptor(Type)
Declaration
public static TypeDescriptor ToDescriptor(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
|
Edit this page
View Source
ToDescriptorFromObject(Object)
Declaration
public static TypeDescriptor ToDescriptorFromObject(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
|
Edit this page
View Source
ToDescriptors(Type[])
Declaration
public static TypeDescriptor[] ToDescriptors(Type[] types)
Parameters
Type |
Name |
Description |
Type[] |
types |
|
Returns
|
Edit this page
View Source
ToPrimitiveTargetDescriptor(TypeDescriptor)
Declaration
public static TypeDescriptor ToPrimitiveTargetDescriptor(TypeDescriptor descriptor)
Parameters
Returns
|
Edit this page
View Source
UnboxBooleanIfNecessary(ILGenerator)
Declaration
public void UnboxBooleanIfNecessary(ILGenerator gen)
Parameters
Type |
Name |
Description |
ILGenerator |
gen |
|