21 references to ParenthesizedExpression
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
58ConstantPattern(ParenthesizedExpression(binaryExpression.Right.WithAdditionalAnnotations(s_annotation)))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\UseCollectionInitializer\CSharpUseCollectionInitializerCodeFixProvider_CollectionInitializer.cs (1)
128? ParenthesizedExpression(expression)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
60? ParenthesizedExpression(withoutTrivia)
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
58ConstantPattern(ParenthesizedExpression(binaryExpression.Right.WithAdditionalAnnotations(s_annotation)))
src\Analyzers\CSharp\CodeFixes\UseCollectionInitializer\CSharpUseCollectionInitializerCodeFixProvider_CollectionInitializer.cs (1)
128? ParenthesizedExpression(expression)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxNodeTests.cs (1)
2116(node, rewritten) => SyntaxFactory.ParenthesizedExpression(rewritten));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Simplification\Reducers\CSharpCastReducer.Rewriter.cs (1)
64return SyntaxFactory.ParenthesizedExpression(reducedNode)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
60? ParenthesizedExpression(withoutTrivia)
Microsoft.CodeAnalysis.UnitTests (2)
CommonSyntaxTests.cs (2)
217computeReplacementNode: (node, rewritten) => CSharp.SyntaxFactory.ParenthesizedExpression(rewritten)); 240computeReplacementNode: (node, rewritten) => CSharp.SyntaxFactory.ParenthesizedExpression(rewritten).WithAdditionalAnnotations(annotation));
Microsoft.Interop.ComInterfaceGenerator (7)
ComInterfaceGenerator.cs (4)
727ParenthesizedExpression( 748ParenthesizedExpression( 769ParenthesizedExpression( 808ParenthesizedExpression(
ComMethodContext.cs (1)
154ParenthesizedExpression(
VirtualMethodPointerStubGenerator.cs (2)
60ParenthesizedExpression( 108return ParenthesizedExpression(CastExpression(
Microsoft.Interop.SourceGeneration (2)
Marshalling\BoolMarshaller.cs (1)
68ParenthesizedExpression(
Marshalling\ElementsMarshalling.cs (1)
85ParenthesizedExpression(numElementsExpression)));
Roslyn.Diagnostics.CSharp.Analyzers (2)
PreferNullLiteralCodeFixProvider.cs (1)
72newSyntax = SyntaxFactory.ParenthesizedExpression(castExpression.WithAdditionalAnnotations(Simplifier.Annotation))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
60? ParenthesizedExpression(withoutTrivia)