16 references to ConstructorBody
Microsoft.CodeAnalysis (5)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
2956case OperationKind.ConstructorBody:
Generated\OperationKind.Generated.cs (1)
209/// <summary>Indicates an <see cref="IConstructorBodyOperation"/>. Use <see cref="ConstructorBody"/> instead.</summary>
Generated\Operations.Generated.cs (2)
3043/// <item><description><see cref="OperationKind.ConstructorBody"/></description></item> 8789public override OperationKind Kind => OperationKind.ConstructorBody;
Operations\ControlFlowGraphBuilder.cs (1)
98body.Kind == OperationKind.ConstructorBody ||
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Semantics\OutVarTests.cs (1)
36022Assert.Equal(OperationKind.ConstructorBody, blockBodyOperation.Parent.Kind);
Semantics\PrimaryConstructorTests.cs (3)
4314context.RegisterOperationAction(Handle1, OperationKind.ConstructorBody); 4707context.RegisterOperationAction(Handle1, OperationKind.ConstructorBody); 5682context.RegisterOperationAction(HandleConstructorBody, OperationKind.ConstructorBody);
Semantics\RecordTests.cs (2)
26822context.RegisterOperationAction(Handle1, OperationKind.ConstructorBody); 27215context.RegisterOperationAction(Handle1, OperationKind.ConstructorBody);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RecordStructTests.cs (1)
6408context.RegisterOperationAction(HandleConstructorBody, OperationKind.ConstructorBody);
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\ControlFlowGraphVerifier.cs (1)
34(operationRoot.Parent?.Kind == OperationKind.ConstructorBody ||
Compilation\OperationTreeVerifier.cs (1)
148case OperationKind.ConstructorBody:
Compilation\TestOperationVisitor.cs (1)
1633Assert.Equal(OperationKind.ConstructorBody, operation.Kind);
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
1468}, OperationKind.MethodBody, OperationKind.ConstructorBody);