1 write to _xamlScanner
System.Xaml (1)
System\Xaml\Parser\XamlPullParser.cs (1)
22
_xamlScanner
= scanner;
82 references to _xamlScanner
System.Xaml (82)
System\Xaml\Parser\XamlPullParser.cs (82)
57
_xamlScanner
.Read();
63
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
67
_xamlScanner
.Read();
73
nodeType =
_xamlScanner
.NodeType;
89
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
114
throw new XamlUnexpectedParseException(
_xamlScanner
, nodeType, ElementRuleException);
123
if (
_xamlScanner
.NodeType != ScannerNodeType.EMPTYELEMENT)
125
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
129
yield return Logic_StartObject(
_xamlScanner
.Type,
_xamlScanner
.Namespace);
130
_xamlScanner
.Read();
136
while (
_xamlScanner
.NodeType == ScannerNodeType.DIRECTIVE)
144
_xamlScanner
.Read();
151
while (
_xamlScanner
.NodeType == ScannerNodeType.ATTRIBUTE)
158
_xamlScanner
.Read();
174
if (
_xamlScanner
.NodeType != ScannerNodeType.ELEMENT)
176
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
180
yield return Logic_StartObject(
_xamlScanner
.Type,
_xamlScanner
.Namespace);
181
_xamlScanner
.Read();
187
while (
_xamlScanner
.NodeType == ScannerNodeType.DIRECTIVE)
195
_xamlScanner
.Read();
208
while (
_xamlScanner
.NodeType == ScannerNodeType.ATTRIBUTE)
215
_xamlScanner
.Read();
228
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
253
nodeType =
_xamlScanner
.NodeType;
301
if (
_xamlScanner
.NodeType != ScannerNodeType.ENDTAG)
303
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
308
_xamlScanner
.Read();
320
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
339
throw new XamlUnexpectedParseException(
_xamlScanner
, nodeType,
349
if (
_xamlScanner
.NodeType != ScannerNodeType.EMPTYPROPERTYELEMENT)
351
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
355
yield return Logic_StartMember(
_xamlScanner
.PropertyElement);
357
_xamlScanner
.Read();
369
if (
_xamlScanner
.NodeType != ScannerNodeType.PROPERTYELEMENT)
371
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
375
yield return Logic_StartMember(
_xamlScanner
.PropertyElement);
376
_xamlScanner
.Read();
385
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
399
nodeType =
_xamlScanner
.NodeType;
431
if (
_xamlScanner
.NodeType != ScannerNodeType.ENDTAG)
433
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
438
_xamlScanner
.Read();
453
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
462
XamlText text =
_xamlScanner
.TextContent;
466
_xamlScanner
.Read();
493
_xamlScanner
.Read();
499
nodeType =
_xamlScanner
.NodeType;
520
&& !
_xamlScanner
.TextContent.IsEmpty
590
XamlText text =
_xamlScanner
.TextContent;
592
bool isXDataText =
_xamlScanner
.IsXDataText;
593
_xamlScanner
.Read();
650
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
663
XamlText text =
_xamlScanner
.TextContent;
674
isTextXML =
_xamlScanner
.IsXDataText;
675
_xamlScanner
.Read();
704
_xamlScanner
.Read();
710
nodeType =
_xamlScanner
.NodeType;
784
get { return
_xamlScanner
.LineNumber; }
789
get { return
_xamlScanner
.LinePosition; }
808
string prefix =
_xamlScanner
.Prefix;
809
string xamlNs =
_xamlScanner
.Namespace;
837
XamlMember property =
_xamlScanner
.PropertyAttribute;
838
XamlText text =
_xamlScanner
.PropertyAttributeText;
840
if (
_xamlScanner
.IsCtorForcingMember)
874
if (
_xamlScanner
.IsCtorForcingMember)
920
ScannerNodeType nextNodeType =
_xamlScanner
.PeekNodeType;
945
XamlType nextXamlType =
_xamlScanner
.PeekType;
1028
XamlType valueElementType = (
_xamlScanner
.NodeType == ScannerNodeType.TEXT)
1030
:
_xamlScanner
.Type;
1032
if (propertyType.IsArray &&
_xamlScanner
.Type != ArrayExtensionType)
1074
&&
_xamlScanner
.NodeType == ScannerNodeType.TEXT)
1090
if (!valueElementType.IsMarkupExtension ||
_xamlScanner
.HasKeyAttribute)
1152
if (
_xamlScanner
.PeekNodeType == ScannerNodeType.ELEMENT)
1171
else if (text.IsSpacePreserved &&
_xamlScanner
.PeekNodeType == ScannerNodeType.ENDTAG)