25 references to ConstructorOpt
Microsoft.CodeAnalysis.VisualBasic (25)
BoundTree\BoundExpressionExtensions.vb (1)
57Dim ctor = DirectCast(node, BoundObjectCreationExpression).ConstructorOpt
BoundTree\BoundObjectCreationExpression.vb (1)
25Return Me.ConstructorOpt
CodeGen\EmitExpression.vb (3)
1647Dim constructor As MethodSymbol = expression.ConstructorOpt 1648EmitNewObj(expression.ConstructorOpt, expression.Arguments, used, expression.Syntax) 1853Dim constructor As MethodSymbol = objCreation.ConstructorOpt
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
580Dim ctor = DirectCast(right, BoundObjectCreationExpression).ConstructorOpt 730Dim constructor As MethodSymbol = node.ConstructorOpt
Compilation\SemanticModel.vb (2)
1102If creation.ConstructorOpt IsNot Nothing Then 1103symbolsBuilder.Add(creation.ConstructorOpt)
Generated\BoundNodes.xml.Generated.vb (3)
3569If constructorOpt IsNot Me.ConstructorOpt OrElse methodGroupOpt IsNot Me.MethodGroupOpt OrElse arguments <> Me.Arguments OrElse defaultArguments <> Me.DefaultArguments OrElse initializerOpt IsNot Me.InitializerOpt OrElse type IsNot Me.Type Then 12443Return node.Update(node.ConstructorOpt, methodGroupOpt, arguments, node.DefaultArguments, initializerOpt, type) 13675New TreeDumperNode("constructorOpt", node.ConstructorOpt, Nothing),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
202rewritten.Update(rewritten.ConstructorOpt,
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
23If initializer.Type.IsValueType AndAlso node.ConstructorOpt IsNot Nothing AndAlso node.Arguments.Length > 0 Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (3)
669If node.ConstructorOpt Is Nothing OrElse 671node.ConstructorOpt.IsDefaultValueTypeConstructor()) Then 677Dim ctor = _factory.ConstructorInfo(node.ConstructorOpt)
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (3)
19node = node.Update(node.ConstructorOpt, node.Arguments, node.DefaultArguments, Nothing, node.Type) 21Dim ctor = node.ConstructorOpt 407Return objCreation.Update(objCreation.ConstructorOpt, objCreation.Arguments, objCreation.DefaultArguments, rewrittenInitializer, objCreation.Type)
Lowering\LocalRewriter\LocalRewriter_TupleLiteralExpression.vb (1)
100currentCreation.ConstructorOpt,
Lowering\LocalRewriter\LocalRewriter_XmlLiterals.vb (3)
180Debug.Assert(objCreation.ConstructorOpt IsNot Nothing) 187Debug.Assert(TypeSymbol.Equals(objCreation.ConstructorOpt.ContainingType, Me.Compilation.GetWellKnownType(WellKnownType.System_Xml_Linq_XElement), TypeCompareKind.ConsiderEverything)) 200constructor = objCreation.ConstructorOpt
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
238Dim constructor = rewritten.ConstructorOpt