5 references to TargetIsNotOnHeap
Microsoft.CodeAnalysis.CSharp (5)
CodeGen\EmitArrayInitializer.cs (1)
432Debug.Assert(inPlaceTarget is null || TargetIsNotOnHeap(inPlaceTarget), "in-place construction target should not be on heap");
CodeGen\EmitExpression.cs (4)
2643if (used && !TargetIsNotOnHeap(left)) 2739Debug.Assert(TargetIsNotOnHeap(target), "cannot read-back the target since it could have been modified"); 2746Debug.Assert(TargetIsNotOnHeap(target), "in-place construction target should not be on heap"); 2792if (TargetIsNotOnHeap(left))