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);
215
return _contextPool[index].
PtsHost
;
255
if (_contextPool[index].
PtsHost
== ptsHost)
274
if (_contextPool[index].
PtsHost
== ptsHost)
318
Invariant.Assert(_contextPool[index].
PtsHost
.Context == ptsContext.Context, "PTS Context mismatch.");
331
Invariant.Assert(_contextPool[index].
PtsHost
.Context != IntPtr.Zero, "PTS Context handle is not valid.");
332
PTS.IgnoreError(PTS.DestroyDocContext(_contextPool[index].
PtsHost
.Context));
380
if (_contextPool[index].
PtsHost
.Context == ptsContext.Context)
406
Invariant.Assert(_contextPool[index].
PtsHost
.Context != IntPtr.Zero, "PTS Context handle is not valid.");
407
PTS.Validate(PTS.DestroyDocContext(_contextPool[index].
PtsHost
.Context));
437
ptsHost = _contextPool[index].
PtsHost
;