54 references to IsVoid
ILCompiler.Compiler (29)
Compiler\BodySubstitution.cs (1)
43Debug.Assert(method.Signature.ReturnType.IsVoid);
Compiler\BodySubstitutionParser.cs (1)
78if (method.Signature.ReturnType.IsVoid)
Compiler\Dataflow\MethodBodyScanner.cs (3)
754if (!signature.ReturnType.IsVoid) 798bool ilHasReturnValue = !methodIL.OwningMethod.Signature.ReturnType.IsVoid; 1304if (isNewObj || !calledMethod.Signature.ReturnType.IsVoid)
Compiler\DependencyAnalysis\ReflectionInvokeMapNode.cs (1)
96if (type.IsPrimitive || type.IsVoid)
Compiler\TypePreinit.cs (2)
343bool returnsVoid = methodIL.OwningMethod.Signature.ReturnType.IsVoid; 546if (!methodSig.ReturnType.IsVoid)
IL\ILImporter.Scanner.cs (2)
1626if (elementType.IsVoid) 2055if (returnType.IsVoid)
IL\RvaIntrinsicPatternAnalyzer.cs (2)
284if ((!elementType.IsPrimitive || elementType.IsVoid) 330&& signature.ReturnType.IsVoid
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (2)
152if (!_mainMethod.Signature.ReturnType.IsVoid) 164if (_mainMethod.Signature.ReturnType.IsVoid)
parent\parent\Common\Compiler\AsyncMethodVariant.cs (1)
89Debug.Assert(!asyncVariant.Signature.ReturnType.IsVoid);
parent\parent\Common\Compiler\CompilerTypeSystemContext.Async.cs (2)
47&& !asyncVariant.Signature.ReturnType.IsVoid) 244Debug.Assert(!asyncVariantMethod.Signature.ReturnType.IsVoid);
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
302if (parameterType.IsVoid) 379|| typeArg.IsVoid)
parent\parent\Common\Compiler\Dataflow\MethodProxy.cs (1)
75internal partial bool ReturnsVoid() => Method.Signature.ReturnType.IsVoid;
parent\parent\Common\Compiler\ObjectWriter\OutputInfoBuilder.cs (1)
239if (!method.Signature.ReturnType.IsVoid)
parent\parent\Common\JitInterface\WasmLowering.cs (1)
703else if (loweredReturnType.IsVoid)
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
100bool returnsVoid = _targetMethod.Signature.ReturnType.IsVoid;
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (2)
321if (!Signature.ReturnType.IsVoid) 529bool hasReturnValue = !Signature.ReturnType.IsVoid;
parent\parent\Common\TypeSystem\IL\Stubs\DynamicInvokeMethodThunk.cs (1)
175if (!returnType.IsVoid)
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeILEmitter.cs (3)
102if (!flags.PreserveSig && !parameterType.IsVoid) 268bool isHRSwappedRetVal = !_flags.PreserveSig && !_targetMethod.Signature.ReturnType.IsVoid; 396bool isHRSwappedRetVal = !_flags.PreserveSig && !_targetMethod.Signature.ReturnType.IsVoid;
ILCompiler.ReadyToRun (16)
Compiler\ExternalReferenceTokenManager.cs (1)
153if (type.IsPrimitive || type.IsVoid || type.IsObject || type.IsString || type.IsTypedReference)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
827if (type.IsPrimitive || type.IsVoid || type.IsObject || type.IsString || type.IsTypedReference)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2727if (typeDefinition.IsPrimitive || typeDefinition.IsVoid || typeDefinition.IsString || typeDefinition.IsObject
parent\parent\Common\Compiler\AsyncMethodVariant.cs (1)
89Debug.Assert(!asyncVariant.Signature.ReturnType.IsVoid);
parent\parent\Common\Compiler\CompilerTypeSystemContext.Async.cs (2)
47&& !asyncVariant.Signature.ReturnType.IsVoid) 244Debug.Assert(!asyncVariantMethod.Signature.ReturnType.IsVoid);
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
302if (parameterType.IsVoid) 379|| typeArg.IsVoid)
parent\parent\Common\Compiler\Dataflow\MethodProxy.cs (1)
75internal partial bool ReturnsVoid() => Method.Signature.ReturnType.IsVoid;
parent\parent\Common\Compiler\ObjectWriter\OutputInfoBuilder.cs (1)
239if (!method.Signature.ReturnType.IsVoid)
parent\parent\Common\JitInterface\CorInfoImpl.cs (2)
2100if (type.IsVoid) 3716if (returnType.IsVoid)
parent\parent\Common\JitInterface\WasmLowering.cs (1)
703else if (loweredReturnType.IsVoid)
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
100bool returnsVoid = _targetMethod.Signature.ReturnType.IsVoid;
PortableCallHelpers\InteropSignature.cs (1)
55if (type.IsVoid)
PortableCallHelpers\PInvokeCollector.cs (1)
64IsVoid = ReturnType.IsVoid;
ILCompiler.RyuJit (2)
parent\parent\Common\JitInterface\CorInfoImpl.cs (2)
2100if (type.IsVoid) 3716if (returnType.IsVoid)
ILCompiler.TypeSystem (7)
parent\parent\Common\TypeSystem\Common\TypeSystemConstraintsHelpers.cs (1)
178if (arg.IsPointer || arg.IsByRef || arg.IsGenericParameter || arg.IsVoid)
parent\parent\Common\TypeSystem\IL\ILStackHelper.cs (2)
267if (!sig.ReturnType.IsVoid) 278bool hasReturnValue = !methodIL.OwningMethod.Signature.ReturnType.IsVoid;
parent\parent\Common\TypeSystem\IL\UnsafeAccessors.cs (4)
72if (retType.IsVoid || retType.IsByRef || !string.IsNullOrEmpty(name)) 122if (context.DeclarationSignature.Length != 1 || retType.IsVoid) 350if (!maybeSig.ReturnType.IsVoid) 536return initialType is PointerType { ParameterType.IsVoid: true };