4 references to GenerateExpression
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3364
=> 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)
118
=> ExpressionGenerator.
GenerateExpression
(generator, parameter.Type, value, canUseFieldReference: true);