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