7 references to CollectionInitializerAddMethod
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (3)
6220var collectionInitializerAddMethodBinder = this.WithAdditionalFlags(BinderFlags.CollectionInitializerAddMethod); 6419Debug.Assert(collectionInitializerAddMethodBinder.Flags.Includes(BinderFlags.CollectionInitializerAddMethod)); 8064(Flags.Includes(BinderFlags.CollectionExpressionConversionValidation | BinderFlags.CollectionInitializerAddMethod) && name is ParameterSyntax))
Binder\CollectionInitializerAddMethodBinder.cs (1)
18: base(next, next.Flags | BinderFlags.CollectionInitializerAddMethod)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
664else if (binder.Flags.Includes(BinderFlags.CollectionInitializerAddMethod)) 1111if (flags.Includes(BinderFlags.CollectionInitializerAddMethod))
Symbols\ObsoleteAttributeHelpers.cs (1)
198var isColInit = location.Includes(BinderFlags.CollectionInitializerAddMethod);