8 references to ExpressionGenerator
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3380
=>
ExpressionGenerator
.GenerateExpression(this, value);
3383
=>
ExpressionGenerator
.GenerateExpression(this, type, value, canUseFieldReference);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\AttributeGenerator.cs (2)
91
AttributeArgument(
ExpressionGenerator
.GenerateExpression(generator, c))));
96
ExpressionGenerator
.GenerateExpression(generator, kvp.Value))));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpFlagsEnumGenerator.cs (1)
25
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(generator, field.Type, field.ConstantValue, canUseFieldReference));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (1)
118
=>
ExpressionGenerator
.GenerateExpression(generator, parameter.Type, value, canUseFieldReference: true);