1 write to _xamlScanner
System.Xaml (1)
System\Xaml\Parser\XamlPullParser.cs (1)
25
_xamlScanner
= scanner;
82 references to _xamlScanner
System.Xaml (82)
System\Xaml\Parser\XamlPullParser.cs (82)
60
_xamlScanner
.Read();
66
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
70
_xamlScanner
.Read();
75
nodeType =
_xamlScanner
.NodeType;
91
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
113
throw new XamlUnexpectedParseException(
_xamlScanner
, nodeType, ElementRuleException);
122
if (
_xamlScanner
.NodeType != ScannerNodeType.EMPTYELEMENT)
124
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
127
yield return Logic_StartObject(
_xamlScanner
.Type,
_xamlScanner
.Namespace);
128
_xamlScanner
.Read();
134
while (
_xamlScanner
.NodeType == ScannerNodeType.DIRECTIVE)
141
_xamlScanner
.Read();
147
while (
_xamlScanner
.NodeType == ScannerNodeType.ATTRIBUTE)
153
_xamlScanner
.Read();
169
if (
_xamlScanner
.NodeType != ScannerNodeType.ELEMENT)
171
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
174
yield return Logic_StartObject(
_xamlScanner
.Type,
_xamlScanner
.Namespace);
175
_xamlScanner
.Read();
181
while (
_xamlScanner
.NodeType == ScannerNodeType.DIRECTIVE)
188
_xamlScanner
.Read();
201
while (
_xamlScanner
.NodeType == ScannerNodeType.ATTRIBUTE)
207
_xamlScanner
.Read();
220
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
243
nodeType =
_xamlScanner
.NodeType;
287
if (
_xamlScanner
.NodeType != ScannerNodeType.ENDTAG)
289
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
293
_xamlScanner
.Read();
305
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
322
throw new XamlUnexpectedParseException(
_xamlScanner
, nodeType,
332
if (
_xamlScanner
.NodeType != ScannerNodeType.EMPTYPROPERTYELEMENT)
334
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
337
yield return Logic_StartMember(
_xamlScanner
.PropertyElement);
339
_xamlScanner
.Read();
351
if (
_xamlScanner
.NodeType != ScannerNodeType.PROPERTYELEMENT)
353
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
356
yield return Logic_StartMember(
_xamlScanner
.PropertyElement);
357
_xamlScanner
.Read();
366
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
379
nodeType =
_xamlScanner
.NodeType;
409
if (
_xamlScanner
.NodeType != ScannerNodeType.ENDTAG)
411
throw new XamlUnexpectedParseException(
_xamlScanner
,
_xamlScanner
.NodeType,
415
_xamlScanner
.Read();
430
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
439
XamlText text =
_xamlScanner
.TextContent;
443
_xamlScanner
.Read();
467
_xamlScanner
.Read();
472
nodeType =
_xamlScanner
.NodeType;
492
&& !
_xamlScanner
.TextContent.IsEmpty
558
XamlText text =
_xamlScanner
.TextContent;
560
bool isXDataText =
_xamlScanner
.IsXDataText;
561
_xamlScanner
.Read();
617
ScannerNodeType nodeType =
_xamlScanner
.NodeType;
630
XamlText text =
_xamlScanner
.TextContent;
641
isTextXML =
_xamlScanner
.IsXDataText;
642
_xamlScanner
.Read();
668
_xamlScanner
.Read();
673
nodeType =
_xamlScanner
.NodeType;
746
get { return
_xamlScanner
.LineNumber; }
751
get { return
_xamlScanner
.LinePosition; }
770
string prefix =
_xamlScanner
.Prefix;
771
string xamlNs =
_xamlScanner
.Namespace;
799
XamlMember property =
_xamlScanner
.PropertyAttribute;
800
XamlText text =
_xamlScanner
.PropertyAttributeText;
802
if (
_xamlScanner
.IsCtorForcingMember)
835
if (
_xamlScanner
.IsCtorForcingMember)
879
ScannerNodeType nextNodeType =
_xamlScanner
.PeekNodeType;
904
XamlType nextXamlType =
_xamlScanner
.PeekType;
983
XamlType valueElementType = (
_xamlScanner
.NodeType == ScannerNodeType.TEXT)
985
:
_xamlScanner
.Type;
987
if (propertyType.IsArray &&
_xamlScanner
.Type != ArrayExtensionType)
1027
&&
_xamlScanner
.NodeType == ScannerNodeType.TEXT)
1042
if (!valueElementType.IsMarkupExtension ||
_xamlScanner
.HasKeyAttribute)
1102
if (
_xamlScanner
.PeekNodeType == ScannerNodeType.ELEMENT)
1118
else if (text.IsSpacePreserved &&
_xamlScanner
.PeekNodeType == ScannerNodeType.ENDTAG)