6 instantiations of Literal
System.Activities (6)
System\Activities\Activity.cs (1)
1873
return new
Literal
<TResult> { Value = constValue };
System\Activities\Expressions\ExpressionServices.cs (1)
134
result = new
Literal
<TResult> { Value = (TResult)constantExpressionBody.Value };
System\Activities\InArgument.cs (2)
88
this.Expression = new
Literal
<T> { Value = constValue };
199
Expression = new
Literal
<T> { Value = constValue }
System\Activities\Variable.cs (1)
312
this.Default = new
Literal
<T>(defaultValue);
System\Activities\XamlIntegration\ActivityWithResultConverter.cs (1)
171
return new
Literal
<T> { Value = literalValue };
4 references to Literal
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (1)
79
builder.AddCustomAttributes(typeof(
Literal
<>), new ExpressionMorphHelperAttribute(typeof(NonTextualExpressionMorphHelper)));
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (2)
42
bool isLiteral = expressionType.IsGenericType ? Type.Equals(typeof(
Literal
<>), expressionType.GetGenericTypeDefinition()) : false;
125
var concreteExpType = typeof(
Literal
<>).MakeGenericType(type);
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
47
private static readonly Type LiteralType = typeof(
Literal
<>);