1 write to PtsHost
PresentationFramework (1)
MS\Internal\PtsHost\PtsCache.cs (1)
198_contextPool[index].PtsHost = new PtsHost();
11 references to PtsHost
PresentationFramework (11)
MS\Internal\PtsHost\PtsCache.cs (11)
199_contextPool[index].PtsHost.Context = CreatePTSContext(index, textFormattingMode); 214return _contextPool[index].PtsHost; 254if (_contextPool[index].PtsHost == ptsHost) 273if (_contextPool[index].PtsHost == ptsHost) 317Invariant.Assert(_contextPool[index].PtsHost.Context == ptsContext.Context, "PTS Context mismatch."); 330Invariant.Assert(_contextPool[index].PtsHost.Context != IntPtr.Zero, "PTS Context handle is not valid."); 331PTS.IgnoreError(PTS.DestroyDocContext(_contextPool[index].PtsHost.Context)); 379if (_contextPool[index].PtsHost.Context == ptsContext.Context) 405Invariant.Assert(_contextPool[index].PtsHost.Context != IntPtr.Zero, "PTS Context handle is not valid."); 406PTS.Validate(PTS.DestroyDocContext(_contextPool[index].PtsHost.Context)); 436ptsHost = _contextPool[index].PtsHost;