12 references to SingletonFocusType
System.Private.Xml (12)
System\Xml\Xsl\Xslt\Focus.cs (10)
35
private
SingletonFocusType
_focusType;
41
_focusType =
SingletonFocusType
.None;
45
public void SetFocus(
SingletonFocusType
focusType)
47
Debug.Assert(focusType !=
SingletonFocusType
.Iterator);
55
_focusType =
SingletonFocusType
.Iterator;
60
_focusType =
SingletonFocusType
.None;
68
Debug.Assert(_focusType !=
SingletonFocusType
.None, "Focus is not set, call SetFocus first");
76
case
SingletonFocusType
.InitialDocumentNode: return _f.Root(_f.XmlContext());
77
case
SingletonFocusType
.InitialContextNode: return _f.XmlContext();
79
Debug.Assert(_focusType ==
SingletonFocusType
.Iterator && _current != null, "Unexpected singleton focus type");
System\Xml\Xsl\Xslt\QilGenerator.cs (2)
291
_singlFocus.SetFocus(
SingletonFocusType
.InitialContextNode);
2243
_singlFocus.SetFocus(
SingletonFocusType
.InitialDocumentNode);