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