12 references to SingletonFocusType
System.Private.Xml (12)
System\Xml\Xsl\Xslt\Focus.cs (10)
35private SingletonFocusType _focusType; 41_focusType = SingletonFocusType.None; 45public void SetFocus(SingletonFocusType focusType) 47Debug.Assert(focusType != SingletonFocusType.Iterator); 55_focusType = SingletonFocusType.Iterator; 60_focusType = SingletonFocusType.None; 68Debug.Assert(_focusType != SingletonFocusType.None, "Focus is not set, call SetFocus first"); 76case SingletonFocusType.InitialDocumentNode: return _f.Root(_f.XmlContext()); 77case SingletonFocusType.InitialContextNode: return _f.XmlContext(); 79Debug.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);