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