6 references to CollectionInitializerAddMethod
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Conversions.cs (1)
1160
if (this.Flags.Includes(BinderFlags.
CollectionInitializerAddMethod
))
Binder\Binder_Expressions.cs (2)
5342
var collectionInitializerAddMethodBinder = this.WithAdditionalFlags(BinderFlags.
CollectionInitializerAddMethod
);
5500
Debug.Assert(collectionInitializerAddMethodBinder.Flags.Includes(BinderFlags.
CollectionInitializerAddMethod
));
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
643
else if (binder.Flags.Includes(BinderFlags.
CollectionInitializerAddMethod
))
1086
if (flags.Includes(BinderFlags.
CollectionInitializerAddMethod
))
Symbols\ObsoleteAttributeHelpers.cs (1)
166
var isColInit = location.Includes(BinderFlags.
CollectionInitializerAddMethod
);