Click or drag to resize

ExpressionCompilerEmittingVisitorTryEmitConstant Method (Boolean, Type, Type, Object, ILGenerator, ExpressionCompilerClosureInfo, Int32)

[Missing <summary> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.EmittingVisitor.TryEmitConstant(System.Boolean,System.Type,System.Type,System.Object,System.Reflection.Emit.ILGenerator,SphinxConnector.FluentApi.Helpers.ExpressionCompiler.ClosureInfo@,System.Int32)"]

Namespace:  SphinxConnector.FluentApi.Helpers
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.2.0
Syntax
public static bool TryEmitConstant(
	bool considerClosure,
	Type exprType,
	Type constType,
	Object consValue,
	ILGenerator il,
	ref ExpressionCompilerClosureInfo closure,
	int byRefIndex = -1
)

Parameters

considerClosure
Type: SystemBoolean

[Missing <param name="considerClosure"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.EmittingVisitor.TryEmitConstant(System.Boolean,System.Type,System.Type,System.Object,System.Reflection.Emit.ILGenerator,SphinxConnector.FluentApi.Helpers.ExpressionCompiler.ClosureInfo@,System.Int32)"]

exprType
Type: SystemType

[Missing <param name="exprType"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.EmittingVisitor.TryEmitConstant(System.Boolean,System.Type,System.Type,System.Object,System.Reflection.Emit.ILGenerator,SphinxConnector.FluentApi.Helpers.ExpressionCompiler.ClosureInfo@,System.Int32)"]

constType
Type: SystemType

[Missing <param name="constType"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.EmittingVisitor.TryEmitConstant(System.Boolean,System.Type,System.Type,System.Object,System.Reflection.Emit.ILGenerator,SphinxConnector.FluentApi.Helpers.ExpressionCompiler.ClosureInfo@,System.Int32)"]

consValue
Type: SystemObject

[Missing <param name="consValue"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.EmittingVisitor.TryEmitConstant(System.Boolean,System.Type,System.Type,System.Object,System.Reflection.Emit.ILGenerator,SphinxConnector.FluentApi.Helpers.ExpressionCompiler.ClosureInfo@,System.Int32)"]

il
Type: System.Reflection.EmitILGenerator

[Missing <param name="il"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.EmittingVisitor.TryEmitConstant(System.Boolean,System.Type,System.Type,System.Object,System.Reflection.Emit.ILGenerator,SphinxConnector.FluentApi.Helpers.ExpressionCompiler.ClosureInfo@,System.Int32)"]

closure
Type: SphinxConnector.FluentApi.HelpersExpressionCompilerClosureInfo

[Missing <param name="closure"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.EmittingVisitor.TryEmitConstant(System.Boolean,System.Type,System.Type,System.Object,System.Reflection.Emit.ILGenerator,SphinxConnector.FluentApi.Helpers.ExpressionCompiler.ClosureInfo@,System.Int32)"]

byRefIndex (Optional)
Type: SystemInt32

[Missing <param name="byRefIndex"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.EmittingVisitor.TryEmitConstant(System.Boolean,System.Type,System.Type,System.Object,System.Reflection.Emit.ILGenerator,SphinxConnector.FluentApi.Helpers.ExpressionCompiler.ClosureInfo@,System.Int32)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.EmittingVisitor.TryEmitConstant(System.Boolean,System.Type,System.Type,System.Object,System.Reflection.Emit.ILGenerator,SphinxConnector.FluentApi.Helpers.ExpressionCompiler.ClosureInfo@,System.Int32)"]

See Also