12 references to SingletonFocusType
System.Data.SqlXml (12)
System\Xml\Xsl\Xslt\Focus.cs (10)
37
private
SingletonFocusType
focusType;
42
focusType =
SingletonFocusType
.None;
46
public void SetFocus(
SingletonFocusType
focusType) {
47
Debug.Assert(focusType !=
SingletonFocusType
.Iterator);
53
this.focusType =
SingletonFocusType
.Iterator;
56
this.focusType =
SingletonFocusType
.None;
63
Debug.Assert(focusType !=
SingletonFocusType
.None, "Focus is not set, call SetFocus first");
69
case
SingletonFocusType
.InitialDocumentNode: return f.Root(f.XmlContext());
70
case
SingletonFocusType
.InitialContextNode : return f.XmlContext();
72
Debug.Assert(focusType ==
SingletonFocusType
.Iterator && current != null, "Unexpected singleton focus type");
System\Xml\Xsl\Xslt\QilGenerator.cs (2)
264
singlFocus.SetFocus(
SingletonFocusType
.InitialContextNode);
1882
singlFocus.SetFocus(
SingletonFocusType
.InitialDocumentNode);