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