1 write to PtsHost
PresentationFramework (1)
MS\Internal\PtsHost\PtsCache.cs (1)
200_contextPool[index].PtsHost = new PtsHost();
11 references to PtsHost
PresentationFramework (11)
MS\Internal\PtsHost\PtsCache.cs (11)
201_contextPool[index].PtsHost.Context = CreatePTSContext(index, textFormattingMode); 215return _contextPool[index].PtsHost; 255if (_contextPool[index].PtsHost == ptsHost) 274if (_contextPool[index].PtsHost == ptsHost) 318Invariant.Assert(_contextPool[index].PtsHost.Context == ptsContext.Context, "PTS Context mismatch."); 331Invariant.Assert(_contextPool[index].PtsHost.Context != IntPtr.Zero, "PTS Context handle is not valid."); 332PTS.IgnoreError(PTS.DestroyDocContext(_contextPool[index].PtsHost.Context)); 380if (_contextPool[index].PtsHost.Context == ptsContext.Context) 406Invariant.Assert(_contextPool[index].PtsHost.Context != IntPtr.Zero, "PTS Context handle is not valid."); 407PTS.Validate(PTS.DestroyDocContext(_contextPool[index].PtsHost.Context)); 437ptsHost = _contextPool[index].PtsHost;