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