31 references to NonTypeMembers
Microsoft.CodeAnalysis.CSharp (31)
Symbols\Source\SourceMemberContainerSymbol.cs (31)
2889NonTypeMembers.ToImmutableAndFree(),
2919NonTypeMembers.Free();
3248CheckForStructDefaultConstructors(builder.NonTypeMembers, isEnum: false, diagnostics: diagnostics);
3252CheckForStructDefaultConstructors(builder.NonTypeMembers, isEnum: true, diagnostics: diagnostics);
3526SourceDelegateMethodSymbol.AddDelegateMembers(this, builder.NonTypeMembers, (DelegateDeclarationSyntax)syntax, diagnostics);
3997result.NonTypeMembers.Add(symbol);
4144if (hasInitializers && !builder.NonTypeMembers.Any(member => member is MethodSymbol { MethodKind: MethodKind.Constructor }))
4934builder.NonTypeMembers.Add(fieldSymbol);
4942ExpressionFieldFinder.FindExpressionVariables(builder.NonTypeMembers, variable, this,
4972builder.NonTypeMembers.Add(method);
4987builder.NonTypeMembers.Add(constructor);
5009builder.NonTypeMembers.Add(destructor);
5023builder.NonTypeMembers.Add(property);
5025AddAccessorIfAvailable(builder.NonTypeMembers, property.GetMethod);
5026AddAccessorIfAvailable(builder.NonTypeMembers, property.SetMethod);
5035builder.NonTypeMembers.Add(backingField);
5044ExpressionFieldFinder.FindExpressionVariables(builder.NonTypeMembers,
5077builder.NonTypeMembers.Add(@event);
5084ExpressionFieldFinder.FindExpressionVariables(builder.NonTypeMembers, declarator, this,
5112AddAccessorIfAvailable(builder.NonTypeMembers, @event.AddMethod);
5113AddAccessorIfAvailable(builder.NonTypeMembers, @event.RemoveMethod);
5129builder.NonTypeMembers.Add(@event);
5131AddAccessorIfAvailable(builder.NonTypeMembers, @event.AddMethod);
5132AddAccessorIfAvailable(builder.NonTypeMembers, @event.RemoveMethod);
5149builder.NonTypeMembers.Add(indexer);
5150AddAccessorIfAvailable(builder.NonTypeMembers, indexer.GetMethod);
5151AddAccessorIfAvailable(builder.NonTypeMembers, indexer.SetMethod);
5166builder.NonTypeMembers.Add(method);
5181builder.NonTypeMembers.Add(method);
5208ExpressionFieldFinder.FindExpressionVariables(builder.NonTypeMembers, vdecl, this, DeclarationModifiers.Private,
5220ExpressionFieldFinder.FindExpressionVariables(builder.NonTypeMembers,