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