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