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);
214
return _contextPool[index].
PtsHost
;
254
if (_contextPool[index].
PtsHost
== ptsHost)
273
if (_contextPool[index].
PtsHost
== ptsHost)
317
Invariant.Assert(_contextPool[index].
PtsHost
.Context == ptsContext.Context, "PTS Context mismatch.");
330
Invariant.Assert(_contextPool[index].
PtsHost
.Context != IntPtr.Zero, "PTS Context handle is not valid.");
331
PTS.IgnoreError(PTS.DestroyDocContext(_contextPool[index].
PtsHost
.Context));
379
if (_contextPool[index].
PtsHost
.Context == ptsContext.Context)
405
Invariant.Assert(_contextPool[index].
PtsHost
.Context != IntPtr.Zero, "PTS Context handle is not valid.");
406
PTS.Validate(PTS.DestroyDocContext(_contextPool[index].
PtsHost
.Context));
436
ptsHost = _contextPool[index].
PtsHost
;