12 references to EmitAsVoidType
System.Core (12)
Microsoft\Scripting\Compiler\LambdaCompiler.ControlFlow.cs (1)
132
if (node.Type != typeof(void) && (flags & CompilationFlags.
EmitAsVoidType
) == 0) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (10)
72
Debug.Assert(newValue == CompilationFlags.EmitAsDefaultType || newValue == CompilationFlags.
EmitAsVoidType
);
101
EmitAssign((BinaryExpression)node, CompilationFlags.
EmitAsVoidType
);
104
Emit((BlockExpression)node, UpdateEmitAsTypeFlag(flags, CompilationFlags.
EmitAsVoidType
));
107
EmitThrow((UnaryExpression)node, CompilationFlags.
EmitAsVoidType
);
110
EmitGotoExpression(node, UpdateEmitAsTypeFlag(flags, CompilationFlags.
EmitAsVoidType
));
258
if (emitAs != CompilationFlags.
EmitAsVoidType
) {
266
if (emitAs != CompilationFlags.
EmitAsVoidType
) {
589
if (emitAs != CompilationFlags.
EmitAsVoidType
) {
663
if (emitAs != CompilationFlags.
EmitAsVoidType
) {
680
if (emitAs != CompilationFlags.
EmitAsVoidType
) {
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
83
if (emitAs == CompilationFlags.
EmitAsVoidType
|| node.Type == typeof(void)) {