1 write to _xamlScanner
System.Xaml (1)
System\Xaml\Parser\XamlPullParser.cs (1)
23
_xamlScanner
= scanner;
82 references to _xamlScanner
System.Xaml (82)
System\Xaml\Parser\XamlPullParser.cs (82)
58
_xamlScanner
.Read();
64
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
68
_xamlScanner
.Read();
74
nodeType =
_xamlScanner
.NodeType;
90
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
115
throw new XamlUnexpectedParseException(
_xamlScanner
, nodeType, ElementRuleException);
124
if (
_xamlScanner
.NodeType != ScannerNodeType.EMPTYELEMENT)
126
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
130
yield return Logic_StartObject(
_xamlScanner
.Type,
_xamlScanner
.Namespace);
131
_xamlScanner
.Read();
137
while (
_xamlScanner
.NodeType == ScannerNodeType.DIRECTIVE)
145
_xamlScanner
.Read();
152
while (
_xamlScanner
.NodeType == ScannerNodeType.ATTRIBUTE)
159
_xamlScanner
.Read();
175
if (
_xamlScanner
.NodeType != ScannerNodeType.ELEMENT)
177
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
181
yield return Logic_StartObject(
_xamlScanner
.Type,
_xamlScanner
.Namespace);
182
_xamlScanner
.Read();
188
while (
_xamlScanner
.NodeType == ScannerNodeType.DIRECTIVE)
196
_xamlScanner
.Read();
209
while (
_xamlScanner
.NodeType == ScannerNodeType.ATTRIBUTE)
216
_xamlScanner
.Read();
229
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
254
nodeType =
_xamlScanner
.NodeType;
302
if (
_xamlScanner
.NodeType != ScannerNodeType.ENDTAG)
304
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
309
_xamlScanner
.Read();
321
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
340
throw new XamlUnexpectedParseException(
_xamlScanner
, nodeType,
350
if (
_xamlScanner
.NodeType != ScannerNodeType.EMPTYPROPERTYELEMENT)
352
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
356
yield return Logic_StartMember(
_xamlScanner
.PropertyElement);
358
_xamlScanner
.Read();
370
if (
_xamlScanner
.NodeType != ScannerNodeType.PROPERTYELEMENT)
372
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
376
yield return Logic_StartMember(
_xamlScanner
.PropertyElement);
377
_xamlScanner
.Read();
386
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
400
nodeType =
_xamlScanner
.NodeType;
432
if (
_xamlScanner
.NodeType != ScannerNodeType.ENDTAG)
434
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
439
_xamlScanner
.Read();
454
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
463
XamlText text =
_xamlScanner
.TextContent;
467
_xamlScanner
.Read();
494
_xamlScanner
.Read();
500
nodeType =
_xamlScanner
.NodeType;
521
&& !
_xamlScanner
.TextContent.IsEmpty
591
XamlText text =
_xamlScanner
.TextContent;
593
bool isXDataText =
_xamlScanner
.IsXDataText;
594
_xamlScanner
.Read();
651
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
664
XamlText text =
_xamlScanner
.TextContent;
675
isTextXML =
_xamlScanner
.IsXDataText;
676
_xamlScanner
.Read();
705
_xamlScanner
.Read();
711
nodeType =
_xamlScanner
.NodeType;
785
get { return
_xamlScanner
.LineNumber; }
790
get { return
_xamlScanner
.LinePosition; }
809
string prefix =
_xamlScanner
.Prefix;
810
string xamlNs =
_xamlScanner
.Namespace;
838
XamlMember property =
_xamlScanner
.PropertyAttribute;
839
XamlText text =
_xamlScanner
.PropertyAttributeText;
841
if (
_xamlScanner
.IsCtorForcingMember)
875
if (
_xamlScanner
.IsCtorForcingMember)
921
ScannerNodeType nextNodeType =
_xamlScanner
.PeekNodeType;
946
XamlType nextXamlType =
_xamlScanner
.PeekType;
1029
XamlType valueElementType = (
_xamlScanner
.NodeType == ScannerNodeType.TEXT)
1031
:
_xamlScanner
.Type;
1033
if (propertyType.IsArray &&
_xamlScanner
.Type != ArrayExtensionType)
1075
&&
_xamlScanner
.NodeType == ScannerNodeType.TEXT)
1091
if (!valueElementType.IsMarkupExtension ||
_xamlScanner
.HasKeyAttribute)
1153
if (
_xamlScanner
.PeekNodeType == ScannerNodeType.ELEMENT)
1172
else if (text.IsSpacePreserved &&
_xamlScanner
.PeekNodeType == ScannerNodeType.ENDTAG)