1 write to FieldOpt
Microsoft.CodeAnalysis.CSharp (1)
Symbols\FieldOrPropertyInitializer.cs (1)
33FieldOpt = fieldOpt;
8 references to FieldOpt
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Initializers.cs (2)
88FieldSymbol fieldSymbol = initializer.FieldOpt; 185var fieldSymbol = initializer.FieldOpt;
Symbols\Source\SourceMemberContainerSymbol.cs (5)
1234if (initializer.FieldOpt == null || !initializer.FieldOpt.IsMetadataConstant) 4139var symbol = initializer.FieldOpt.AssociatedSymbol ?? initializer.FieldOpt; 4860return initializers.Any(static siblings => siblings.Any(static initializer => !initializer.FieldOpt.IsConst));
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1601if (!singleInitializer.FieldOpt.IsMetadataConstant)