7 references to ExpressionGenerator
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3279
=>
ExpressionGenerator
.GenerateExpression(value);
3282
=>
ExpressionGenerator
.GenerateExpression(type, value, canUseFieldReference);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\AttributeGenerator.cs (1)
120
return
ExpressionGenerator
.GenerateExpression(constant);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpFlagsEnumGenerator.cs (1)
26
var expression =
ExpressionGenerator
.GenerateNonEnumValueExpression(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EnumMemberGenerator.cs (1)
163
return
ExpressionGenerator
.GenerateNonEnumValueExpression(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\FieldGenerator.cs (1)
116
return EqualsValueClause(
ExpressionGenerator
.GenerateExpression(field.Type, field.ConstantValue, canUseFieldReference));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (1)
112
=>
ExpressionGenerator
.GenerateExpression(parameter.Type, value, canUseFieldReference: true);