1 instantiation of DeclaredMembersAndInitializers
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2946public static readonly DeclaredMembersAndInitializers UninitializedSentinel = new DeclaredMembersAndInitializers();
34 references to DeclaredMembersAndInitializers
Microsoft.CodeAnalysis.CSharp (34)
Symbols\Source\SourceMemberContainerSymbol.cs (34)
203private DeclaredMembersAndInitializers? _lazyDeclaredMembersAndInitializers = DeclaredMembersAndInitializers.UninitializedSentinel; 1714var declared = Volatile.Read(ref _lazyDeclaredMembersAndInitializers); 1715RoslynDebug.AssertOrFailFast(declared != DeclaredMembersAndInitializers.UninitializedSentinel); 2886public DeclaredMembersAndInitializers ToReadOnlyAndFree(CSharpCompilation compilation) 2946public static readonly DeclaredMembersAndInitializers UninitializedSentinel = new DeclaredMembersAndInitializers(); 3021public MembersAndInitializersBuilder(DeclaredMembersAndInitializers declaredMembersAndInitializers) 3023Debug.Assert(declaredMembersAndInitializers != DeclaredMembersAndInitializers.UninitializedSentinel); 3029public MembersAndInitializers ToReadOnlyAndFree(DeclaredMembersAndInitializers declaredMembers) 3110DeclaredMembersAndInitializers.AssertInitializers(result, compilation); 3125public IReadOnlyCollection<Symbol> GetNonTypeMembers(DeclaredMembersAndInitializers declaredMembers) 3130public void AddNonTypeMember(Symbol member, DeclaredMembersAndInitializers declaredMembers) 3185var declaredMembersAndInitializers = getDeclaredMembersAndInitializers(); 3204DeclaredMembersAndInitializers? getDeclaredMembersAndInitializers() 3206var declaredMembersAndInitializers = _lazyDeclaredMembersAndInitializers; 3207if (declaredMembersAndInitializers != DeclaredMembersAndInitializers.UninitializedSentinel) 3222var alreadyKnown = Interlocked.CompareExchange(ref _lazyDeclaredMembersAndInitializers, declaredMembersAndInitializers, DeclaredMembersAndInitializers.UninitializedSentinel); 3223if (alreadyKnown != DeclaredMembersAndInitializers.UninitializedSentinel) 3239DeclaredMembersAndInitializers? buildDeclaredMembersAndInitializers(BindingDiagnosticBag diagnostics) 3265if (Volatile.Read(ref _lazyDeclaredMembersAndInitializers) != DeclaredMembersAndInitializers.UninitializedSentinel) 3340var declared = Volatile.Read(ref _lazyDeclaredMembersAndInitializers); 3342if (declared is not null && declared != DeclaredMembersAndInitializers.UninitializedSentinel) 3361var declared = Volatile.Read(ref _lazyDeclaredMembersAndInitializers); 3362if (declared is not null && declared != DeclaredMembersAndInitializers.UninitializedSentinel) 3406var declared = Volatile.Read(ref _lazyDeclaredMembersAndInitializers); 3407if (declared is not null && declared != DeclaredMembersAndInitializers.UninitializedSentinel) 3431var declared = Volatile.Read(ref _lazyDeclaredMembersAndInitializers); 3432if (declared is not null && declared != DeclaredMembersAndInitializers.UninitializedSentinel) 3477private void AddSynthesizedMembers(MembersAndInitializersBuilder builder, DeclaredMembersAndInitializers declaredMembersAndInitializers, BindingDiagnosticBag diagnostics) 4150private void AddSynthesizedSimpleProgramEntryPointIfNecessary(MembersAndInitializersBuilder builder, DeclaredMembersAndInitializers declaredMembersAndInitializers) 4159private void AddSynthesizedTypeMembersIfNecessary(MembersAndInitializersBuilder builder, DeclaredMembersAndInitializers declaredMembersAndInitializers, BindingDiagnosticBag diagnostics) 4784private void AddSynthesizedConstructorsIfNecessary(MembersAndInitializersBuilder builder, DeclaredMembersAndInitializers declaredMembersAndInitializers, BindingDiagnosticBag diagnostics) 4864private void AddSynthesizedTupleMembersIfNecessary(MembersAndInitializersBuilder builder, DeclaredMembersAndInitializers declaredMembersAndInitializers)