19 references to IsDefaultValueTypeConstructor
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Expressions.cs (1)
6763ConstantValue constantValueOpt = (initializerSyntaxOpt == null && method.IsDefaultValueTypeConstructor()) ?
CodeGen\EmitExpression.cs (4)
1620if (call.Method.IsDefaultValueTypeConstructor()) 1827Debug.Assert(!method.IsStatic && !method.IsDefaultValueTypeConstructor() && method.RequiresInstanceReceiver); 2073if (call.ReceiverOpt is BoundCall { Method: { RequiresInstanceReceiver: true } method } receiver && !method.IsDefaultValueTypeConstructor()) 2424if (constructor.IsDefaultValueTypeConstructor())
Compiler\MethodCompiler.cs (4)
942if (methodSymbol.IsDefaultValueTypeConstructor()) 1208!methodSymbol.IsDefaultValueTypeConstructor()); 1770Debug.Assert(!sourceMethod.IsDefaultValueTypeConstructor()); 1867expressionStatement.Expression is BoundCall { Method: var initMethod } && initMethod.IsDefaultValueTypeConstructor();
Emitter\Model\AttributeDataAdapter.cs (1)
38if (this.AttributeConstructor.IsDefaultValueTypeConstructor())
Emitter\Model\PEModuleBuilder.cs (1)
1215Debug.Assert(!methodSymbol.IsDefaultValueTypeConstructor());
Emitter\NoPia\EmbeddedTypesManager.cs (1)
474Debug.Assert(!method.AdaptedMethodSymbol.IsDefaultValueTypeConstructor());
FlowAnalysis\NullableWalker.cs (1)
3972bool isDefaultValueTypeConstructor = constructor?.IsDefaultValueTypeConstructor() == true;
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
1057node.Constructor.IsDefaultValueTypeConstructor())
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
97if (constructor.IsDefaultValueTypeConstructor())
Symbols\MemberSymbolExtensions.cs (2)
429result = constructor.IsDefaultValueTypeConstructor(); 466if (method.IsDefaultValueTypeConstructor())
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1079if (!method.IsDefaultValueTypeConstructor())
Symbols\Source\ParameterHelpers.cs (1)
902return expression.Constructor.IsDefaultValueTypeConstructor() && expression.InitializerExpressionOpt == null;