1 write to _xamlScanner
System.Xaml (1)
System\Xaml\Parser\XamlPullParser.cs (1)
32
_xamlScanner
= scanner;
82 references to _xamlScanner
System.Xaml (82)
System\Xaml\Parser\XamlPullParser.cs (82)
67
_xamlScanner
.Read();
73
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
77
_xamlScanner
.Read();
83
nodeType =
_xamlScanner
.NodeType;
110
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
135
throw new XamlUnexpectedParseException(
_xamlScanner
, nodeType, ElementRuleException);
149
if (
_xamlScanner
.NodeType != ScannerNodeType.EMPTYELEMENT)
151
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
155
yield return Logic_StartObject(
_xamlScanner
.Type,
_xamlScanner
.Namespace);
156
_xamlScanner
.Read();
162
while (
_xamlScanner
.NodeType == ScannerNodeType.DIRECTIVE)
170
_xamlScanner
.Read();
177
while (
_xamlScanner
.NodeType == ScannerNodeType.ATTRIBUTE)
184
_xamlScanner
.Read();
200
if (
_xamlScanner
.NodeType != ScannerNodeType.ELEMENT)
202
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
206
yield return Logic_StartObject(
_xamlScanner
.Type,
_xamlScanner
.Namespace);
207
_xamlScanner
.Read();
213
while (
_xamlScanner
.NodeType == ScannerNodeType.DIRECTIVE)
221
_xamlScanner
.Read();
234
while (
_xamlScanner
.NodeType == ScannerNodeType.ATTRIBUTE)
241
_xamlScanner
.Read();
254
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
279
nodeType =
_xamlScanner
.NodeType;
327
if (
_xamlScanner
.NodeType != ScannerNodeType.ENDTAG)
329
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
334
_xamlScanner
.Read();
346
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
365
throw new XamlUnexpectedParseException(
_xamlScanner
, nodeType,
375
if (
_xamlScanner
.NodeType != ScannerNodeType.EMPTYPROPERTYELEMENT)
377
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
381
yield return Logic_StartMember(
_xamlScanner
.PropertyElement);
383
_xamlScanner
.Read();
395
if (
_xamlScanner
.NodeType != ScannerNodeType.PROPERTYELEMENT)
397
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
401
yield return Logic_StartMember(
_xamlScanner
.PropertyElement);
402
_xamlScanner
.Read();
411
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
425
nodeType =
_xamlScanner
.NodeType;
457
if (
_xamlScanner
.NodeType != ScannerNodeType.ENDTAG)
459
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
464
_xamlScanner
.Read();
479
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
488
XamlText text =
_xamlScanner
.TextContent;
492
_xamlScanner
.Read();
519
_xamlScanner
.Read();
525
nodeType =
_xamlScanner
.NodeType;
546
&& !
_xamlScanner
.TextContent.IsEmpty
616
XamlText text =
_xamlScanner
.TextContent;
618
bool isXDataText =
_xamlScanner
.IsXDataText;
619
_xamlScanner
.Read();
676
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
689
XamlText text =
_xamlScanner
.TextContent;
700
isTextXML =
_xamlScanner
.IsXDataText;
701
_xamlScanner
.Read();
730
_xamlScanner
.Read();
736
nodeType =
_xamlScanner
.NodeType;
810
get { return
_xamlScanner
.LineNumber; }
815
get { return
_xamlScanner
.LinePosition; }
834
string prefix =
_xamlScanner
.Prefix;
835
string xamlNs =
_xamlScanner
.Namespace;
863
XamlMember property =
_xamlScanner
.PropertyAttribute;
864
XamlText text =
_xamlScanner
.PropertyAttributeText;
866
if (
_xamlScanner
.IsCtorForcingMember)
900
if (
_xamlScanner
.IsCtorForcingMember)
946
ScannerNodeType nextNodeType =
_xamlScanner
.PeekNodeType;
971
XamlType nextXamlType =
_xamlScanner
.PeekType;
1054
XamlType valueElementType = (
_xamlScanner
.NodeType == ScannerNodeType.TEXT)
1056
:
_xamlScanner
.Type;
1058
if (propertyType.IsArray &&
_xamlScanner
.Type != ArrayExtensionType)
1100
&&
_xamlScanner
.NodeType == ScannerNodeType.TEXT)
1116
if (!valueElementType.IsMarkupExtension ||
_xamlScanner
.HasKeyAttribute)
1178
if (
_xamlScanner
.PeekNodeType == ScannerNodeType.ELEMENT)
1197
else if (text.IsSpacePreserved &&
_xamlScanner
.PeekNodeType == ScannerNodeType.ENDTAG)