/// <summary>
        /// Initializes a new instance of the <see cref="UvssSelectorWithNavigationExpressionSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssSelectorWithNavigationExpressionSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.Selector = reader.ReadSyntaxNode<UvssSelectorSyntax>(version);
            ChangeParent(this.Selector);

            this.NavigationExpression = reader.ReadSyntaxNode<UvssNavigationExpressionSyntax>(version);
            ChangeParent(this.NavigationExpression);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPseudoClassSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPseudoClassSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.ColonToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.ColonToken);

            this.ClassNameIdentifier = reader.ReadSyntaxNode<UvssIdentifierBaseSyntax>(version);
            ChangeParent(this.ClassNameIdentifier);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPlaySfxTriggerActionSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPlaySfxTriggerActionSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.PlaySfxKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.PlaySfxKeyword);

            this.Value = reader.ReadSyntaxNode<UvssPropertyValueWithBracesSyntax>(version);
            ChangeParent(this.Value);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssSelectorPartTypeSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssSelectorPartTypeSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.SelectedTypeIdentifier = reader.ReadSyntaxNode<UvssIdentifierSyntax>(version);
            ChangeParent(this.SelectedTypeIdentifier);

            this.ExclamationMarkToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.ExclamationMarkToken);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssSelectorPartNameSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssSelectorPartNameSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.HashToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.HashToken);

            this.SelectedNameIdentifier = reader.ReadSyntaxNode<UvssIdentifierSyntax>(version);
            ChangeParent(this.SelectedNameIdentifier);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssCultureDirectiveSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssCultureDirectiveSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.DirectiveToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.DirectiveToken);

            this.CultureValue = reader.ReadSyntaxNode<UvssPropertyValueWithBracesSyntax>(version);
            ChangeParent(this.CultureValue);
        }
            /// <summary>
            /// Initializes a new instance of the <see cref="WithTwoChildren"/> class from
            /// the specified binary reader.
            /// </summary>
            /// <param name="reader">The binary reader with which to deserialize the object.</param>
            /// <param name="version">The file version of the data being read.</param>
            private WithTwoChildren(BinaryReader reader, Int32 version)
                : base(reader, version)
            {
                this.child0 = reader.ReadSyntaxNode(version);
                ChangeParent(this.child0);

                this.child1 = reader.ReadSyntaxNode(version);
                ChangeParent(this.child1);
            }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssEmptyStatementSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssEscapedIdentifierSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.OpenBracketToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.OpenBracketToken);

            this.IdentifierToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.IdentifierToken);

            this.CloseBracketToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.CloseBracketToken);
        }
Exemplo n.º 9
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssBlockSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssBlockSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.OpenCurlyBraceToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.OpenCurlyBraceToken);

            this.Content = reader.ReadSyntaxList<SyntaxNode>(version);
            ChangeParent(this.Content.Node);

            this.CloseCurlyBraceToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.CloseCurlyBraceToken);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssEventTriggerArgumentList"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssEventTriggerArgumentList(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.OpenParenToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.OpenParenToken);

            this.Arguments = reader.ReadSeparatedSyntaxList<SyntaxNode>(version);
            ChangeParent(this.Arguments.Node);

            this.CloseParenToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.CloseParenToken);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPlayStoryboardTriggerActionSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPlayStoryboardTriggerActionSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.PlayStoryboardKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.PlayStoryboardKeyword);

            this.Selector = reader.ReadSyntaxNode<UvssSelectorWithParenthesesSyntax>(version);
            ChangeParent(this.Selector);

            this.Value = reader.ReadSyntaxNode<UvssPropertyValueWithBracesSyntax>(version);
            ChangeParent(this.Value);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPropertyValueWithBracesSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPropertyValueWithBracesSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.OpenCurlyBrace = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.OpenCurlyBrace);

            this.ContentToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.ContentToken);

            this.CloseCurlyBrace = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.CloseCurlyBrace);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssNavigationExpressionIndexerSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssNavigationExpressionIndexerSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.OpenBracketToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.OpenBracketToken);

            this.NumberToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.NumberToken);

            this.CloseBracketToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.CloseBracketToken);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssIncompleteTriggerSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssIncompleteTriggerSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.TriggerKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.TriggerKeyword);

            this.QualifierToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.QualifierToken);

            this.Body = reader.ReadSyntaxNode<UvssBlockSyntax>(version);
            ChangeParent(this.Body);
        }
Exemplo n.º 15
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPropertyNameSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPropertyNameSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.AttachedPropertyOwnerNameIdentifier = reader.ReadSyntaxNode<UvssIdentifierBaseSyntax>(version);
            ChangeParent(this.AttachedPropertyOwnerNameIdentifier);

            this.PeriodToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.PeriodToken);

            this.PropertyNameIdentifier = reader.ReadSyntaxNode<UvssIdentifierBaseSyntax>(version);
            ChangeParent(this.PropertyNameIdentifier);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssSelectorWithNavigationExpressionSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssSelectorWithParenthesesSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.OpenParenToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.OpenParenToken);

            this.Selector = reader.ReadSyntaxNode<UvssSelectorSyntax>(version);
            ChangeParent(this.Selector);

            this.CloseParenToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.CloseParenToken);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPropertyTriggerConditionSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPropertyTriggerConditionSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.PropertyName = reader.ReadSyntaxNode<UvssPropertyNameSyntax>(version);
            ChangeParent(this.PropertyName);

            this.ComparisonOperatorToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.ComparisonOperatorToken);

            this.PropertyValue = reader.ReadSyntaxNode<UvssPropertyValueWithBracesSyntax>(version);
            ChangeParent(this.PropertyValue);
        }
Exemplo n.º 18
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssSetTriggerActionSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssStoryboardSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.AtSignToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.AtSignToken);

            this.NameIdentifier = reader.ReadSyntaxNode<UvssIdentifierBaseSyntax>(version);
            ChangeParent(this.NameIdentifier);

            this.LoopIdentifier = reader.ReadSyntaxNode<UvssIdentifierBaseSyntax>(version);
            ChangeParent(this.LoopIdentifier);

            this.Body = reader.ReadSyntaxNode<UvssBlockSyntax>(version);
            ChangeParent(this.Body);
        }
Exemplo n.º 19
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssAnimationSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssAnimationSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.AnimationKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.AnimationKeyword);

            this.PropertyName = reader.ReadSyntaxNode<UvssPropertyNameSyntax>(version);
            ChangeParent(this.PropertyName);

            this.NavigationExpression = reader.ReadSyntaxNode<UvssNavigationExpressionSyntax>(version);
            ChangeParent(this.NavigationExpression);

            this.Body = reader.ReadSyntaxNode<UvssBlockSyntax>(version);
            ChangeParent(this.Body);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssAnimationKeyframeSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssAnimationKeyframeSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.KeyframeKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.KeyframeKeyword);

            this.TimeToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.TimeToken);

            this.EasingIdentifier = reader.ReadSyntaxNode<UvssIdentifierBaseSyntax>(version);
            ChangeParent(this.EasingIdentifier);

            this.Value = reader.ReadSyntaxNode<UvssPropertyValueWithBracesSyntax>(version);
            ChangeParent(this.Value);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssStoryboardTargetSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssStoryboardTargetSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.TargetKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.TargetKeyword);

            this.Filters = reader.ReadSeparatedSyntaxList<UvssIdentifierBaseSyntax>(version);
            ChangeParent(this.Filters.Node);

            this.Selector = reader.ReadSyntaxNode<UvssSelectorWithParenthesesSyntax>(version);
            ChangeParent(this.Selector);

            this.Body = reader.ReadSyntaxNode<UvssBlockSyntax>(version);
            ChangeParent(this.Body);
        }
Exemplo n.º 22
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssSelectorPartSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssSelectorPartSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.SelectedType = reader.ReadSyntaxNode<UvssSelectorPartTypeSyntax>(version);
            ChangeParent(this.SelectedType);

            this.SelectedName = reader.ReadSyntaxNode<UvssSelectorPartNameSyntax>(version);
            ChangeParent(this.SelectedName);

            this.SelectedClasses = reader.ReadSyntaxNode<UvssSelectorPartClassSyntax>(version);
            ChangeParent(this.SelectedClasses.Node);

            this.PseudoClass = reader.ReadSyntaxNode<UvssPseudoClassSyntax>(version);
            ChangeParent(this.PseudoClass);
        }
Exemplo n.º 23
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SkippedTokensTriviaSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        public SkippedTokensTriviaSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            Contract.Require(reader, nameof(reader));

            this.Tokens = reader.ReadSyntaxNode(version);
            ChangeParent(this.Tokens);
        }
Exemplo n.º 24
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPropertyTriggerSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPropertyTriggerSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.TriggerKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.TriggerKeyword);

            this.PropertyKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.PropertyKeyword);

            this.Conditions = reader.ReadSeparatedSyntaxList<UvssPropertyTriggerConditionSyntax>(version);
            ChangeParent(this.Conditions.Node);

            this.QualifierToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.QualifierToken);

            this.Body = reader.ReadSyntaxNode<UvssBlockSyntax>(version);
            ChangeParent(this.Body);
        }
Exemplo n.º 25
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssDocumentSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssDocumentSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.Content = reader.ReadSyntaxList<SyntaxNode>(version);
            ChangeParent(this.Content.Node);

            this.EndOfFileToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.EndOfFileToken);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssNavigationExpressionSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssNavigationExpressionSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.PipeToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.PipeToken);

            this.PropertyName = reader.ReadSyntaxNode<UvssPropertyNameSyntax>(version);
            ChangeParent(this.PropertyName);

            this.Indexer = reader.ReadSyntaxNode<UvssNavigationExpressionIndexerSyntax>(version);
            ChangeParent(this.Indexer);

            this.AsKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.AsKeyword);

            this.TypeNameIdentifier = reader.ReadSyntaxNode<UvssIdentifierBaseSyntax>(version);
            ChangeParent(this.TypeNameIdentifier);
        }
Exemplo n.º 27
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssRuleSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        private UvssRuleSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.PropertyName = reader.ReadSyntaxNode<UvssPropertyNameSyntax>(version);
            ChangeParent(this.PropertyName);

            this.ColonToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.ColonToken);

            this.Value = reader.ReadSyntaxNode<UvssPropertyValueSyntax>(version);
            ChangeParent(this.Value);

            this.QualifierToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.QualifierToken);

            this.SemiColonToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.SemiColonToken);
        }
Exemplo n.º 28
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssRuleSetSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssRuleSetSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.Selectors = reader.ReadSeparatedSyntaxList<UvssSelectorWithNavigationExpressionSyntax>(version);
            ChangeParent(this.Selectors.Node);

            this.Body = reader.ReadSyntaxNode<UvssBlockSyntax>(version);
            ChangeParent(this.Body);
        }
Exemplo n.º 29
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssEventTriggerSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssEventTriggerSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.TriggerKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.TriggerKeyword);

            this.EventKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.EventKeyword);

            this.EventName = reader.ReadSyntaxNode<UvssEventNameSyntax>(version);
            ChangeParent(this.EventName);

            this.ArgumentList = reader.ReadSyntaxNode<UvssEventTriggerArgumentList>(version);
            ChangeParent(this.ArgumentList);

            this.QualifierToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.QualifierToken);

            this.Body = reader.ReadSyntaxNode<UvssBlockSyntax>(version);
            ChangeParent(this.Body);
        }
Exemplo n.º 30
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UvssTransitionSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssTransitionSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.TransitionKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.TransitionKeyword);

            this.ArgumentList = reader.ReadSyntaxNode<UvssTransitionArgumentListSyntax>(version);
            ChangeParent(this.ArgumentList);

            this.ColonToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.ColonToken);

            this.Value = reader.ReadSyntaxNode<UvssPropertyValueSyntax>(version);
            ChangeParent(this.Value);

            this.QualifierToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.QualifierToken);

            this.SemiColonToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.SemiColonToken);
        }