4 references to GenerateExpression
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3380
=> ExpressionGenerator.
GenerateExpression
(this, type, value, canUseFieldReference);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
32
return
GenerateExpression
(generator, typedConstant.Type, typedConstant.Value, canUseFieldReference: true);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\FieldGenerator.cs (1)
116
return EqualsValueClause(ExpressionGenerator.
GenerateExpression
(generator, field.Type, field.ConstantValue, canUseFieldReference));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (1)
119
=> ExpressionGenerator.
GenerateExpression
(generator, parameter.Type, value, canUseFieldReference: true);