7 references to IsObjectCreation
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Conversions.cs (1)
226
if (conversion.
IsObjectCreation
)
Symbols\Source\ParameterHelpers.cs (2)
1008
(conversion.
IsObjectCreation
&& convertedExpression.Type.IsNullableType())) &&
1096
return conversion is { Conversion.
IsObjectCreation
: true, Operand: BoundObjectCreationExpression { WasTargetTyped: true } operand } &&
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\ImplicitObjectCreationTests.cs (4)
1872
Assert.True(model.GetConversion(def).
IsObjectCreation
);
1902
Assert.True(model.GetConversion(def).
IsObjectCreation
);
1932
Assert.True(model.GetConversion(def).
IsObjectCreation
);
2224
Assert.True(model.GetConversion(def).
IsObjectCreation
);