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)
2618if (used && !TargetIsNotOnHeap(left)) 2714Debug.Assert(TargetIsNotOnHeap(target), "cannot read-back the target since it could have been modified"); 2721Debug.Assert(TargetIsNotOnHeap(target), "in-place construction target should not be on heap"); 2767if (TargetIsNotOnHeap(left))