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