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)
91AttributeArgument(ExpressionGenerator.GenerateExpression(generator, c)))); 96ExpressionGenerator.GenerateExpression(generator, kvp.Value))));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpFlagsEnumGenerator.cs (1)
25var expression = ExpressionGenerator.GenerateNonEnumValueExpression(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EnumMemberGenerator.cs (1)
163return ExpressionGenerator.GenerateNonEnumValueExpression(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\FieldGenerator.cs (1)
116return 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);