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