8 writes to Variable
System.Activities (8)
System\Activities\Expressions\ExpressionServices.cs (3)
375result = new VariableReference<TResult> { Variable = variableObject }; 429result = new VariableReference<TResult> { Variable = variableObject }; 1574result = new VariableReference<TResult> { Variable = variable };
System\Activities\Expressions\VariableReference.cs (1)
20this.Variable = variable;
System\Activities\InOutArgument.cs (3)
52this.Expression = new VariableReference<T> { Variable = variable }; 61this.Expression = new VariableReference<T> { Variable = variable }; 138Expression = new VariableReference<T> { Variable = variable }
System\Activities\OutArgument.cs (1)
72this.Expression = new VariableReference<T> { Variable = variable };
14 references to Variable
System.Activities (14)
System\Activities\Expressions\VariableReference.cs (14)
31get { return this.Variable; } 36if (this.Variable == null) 42if (!(this.Variable is Variable<T>)) 44metadata.AddValidationError(SR.VariableTypeInvalid(this.Variable, typeof(T), this.Variable.Type)); 47if (!this.Variable.IsInTree) 49metadata.AddValidationError(SR.VariableShouldBeOpen(this.Variable.Name)); 52if (!metadata.Environment.IsVisible(this.Variable)) 54metadata.AddValidationError(SR.VariableNotVisible(this.Variable.Name)); 57if (VariableModifiersHelper.IsReadOnly(Variable.Modifiers)) 59metadata.AddValidationError(SR.VariableIsReadOnly(this.Variable.Name)); 66if (Variable != null && !string.IsNullOrEmpty(Variable.Name)) 68return Variable.Name;