2 overrides of AddExpression
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3331public override SyntaxNode AddExpression(SyntaxNode left, SyntaxNode right)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
104Public Overrides Function AddExpression(left As SyntaxNode, right As SyntaxNode) As SyntaxNode
29 references to AddExpression
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (2)
123factory.AddExpression( 147factory.AddExpression(
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.cs (4)
326VerifySyntax<BinaryExpressionSyntax>(Generator.AddExpression(Generator.IdentifierName("x"), Generator.IdentifierName("y")), "(x) + (y)"); 372VerifySyntax<MemberAccessExpressionSyntax>(Generator.MemberAccessExpression(Generator.AddExpression(Generator.IdentifierName("x"), Generator.IdentifierName("y")), Generator.IdentifierName("z")), "((x) + (y)).z"); 438Generator.ElementAccessExpression(Generator.AddExpression(Generator.IdentifierName("x"), Generator.IdentifierName("y")), Generator.IdentifierName("z")), 474VerifySyntax<InvocationExpressionSyntax>(Generator.InvocationExpression(Generator.AddExpression(Generator.IdentifierName("x"), Generator.IdentifierName("y"))), "((x) + (y))()");
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (14)
CodeGeneration\ExpressionGenerationTests.cs (5)
162f => f.AddExpression( 175f => f.AddExpression( 177f.AddExpression( 190f => f.AddExpression( 191f.AddExpression(
CodeGeneration\ExpressionPrecedenceGenerationTests.cs (9)
20f.AddExpression( 34f => f.AddExpression( 51f.AddExpression( 64f => f.AddExpression( 200f.AddExpression( 230f => f.AddExpression( 250f.AddExpression( 369f.AddExpression( 383f.AddExpression(
Microsoft.CodeAnalysis.Features (3)
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (2)
137attributeArgument = generator.AddExpression( 138generator.AddExpression(
ReplacePropertyWithMethods\AbstractReplacePropertyWithMethodsService.cs (1)
166? replacer.Generator.AddExpression(readExpression, literalOne)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.vb (4)
300VerifySyntax(Of BinaryExpressionSyntax)(Generator.AddExpression(Generator.IdentifierName("x"), Generator.IdentifierName("y")), "(x) + (y)") 343VerifySyntax(Of MemberAccessExpressionSyntax)(Generator.MemberAccessExpression(Generator.AddExpression(Generator.IdentifierName("x"), Generator.IdentifierName("y")), Generator.IdentifierName("z")), "((x) + (y)).z") 400Generator.ElementAccessExpression(Generator.AddExpression(Generator.IdentifierName("x"), Generator.IdentifierName("y")), Generator.IdentifierName("z")), 432VerifySyntax(Of InvocationExpressionSyntax)(Generator.InvocationExpression(Generator.AddExpression(Generator.IdentifierName("x"), Generator.IdentifierName("y"))), "((x) + (y))()")
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (2)
123factory.AddExpression( 147factory.AddExpression(