10 references to IfStatement
Microsoft.CodeAnalysis.CSharp.Features (3)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (2)
119return Block(IfStatement(((WhereClauseSyntax)node).Condition.WithAdditionalAnnotations(Simplifier.Annotation).WithoutTrivia(), statement)); 198IfStatement(
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
186return IfStatement(
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3261return SyntaxFactory.IfStatement(
Microsoft.Interop.ComInterfaceGenerator (1)
ComClassGenerator.cs (1)
178IfStatement(
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSExportGenerator.cs (1)
308IfStatement(
JSImportGenerator.cs (1)
303return IfStatement(BinaryExpression(SyntaxKind.EqualsExpression, IdentifierName(signatureContext.BindingName), LiteralExpression(SyntaxKind.NullLiteralExpression)),
Microsoft.Interop.SourceGeneration (3)
ManagedToNativeStubGenerator.cs (1)
168finallyStatements.Add(IfStatement(IdentifierName(InvokeSucceededIdentifier), Block(statements.GuaranteedUnmarshal.Concat(statements.CleanupCalleeAllocated))));
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (2)
100yield return IfStatement( 113yield return IfStatement(