37 references to Flags
Microsoft.CodeAnalysis.CSharp (37)
Symbols\Source\SourcePropertySymbolBase.cs (37)
57private readonly Flags _propertyFlags; 117_propertyFlags |= Flags.IsExplicitInterfaceImplementation; 126_propertyFlags |= Flags.HasExplicitAccessModifier; 131_propertyFlags |= Flags.HasAutoPropertyGet; 136_propertyFlags |= Flags.HasAutoPropertySet; 141_propertyFlags |= Flags.GetterUsesFieldKeyword; 146_propertyFlags |= Flags.SetterUsesFieldKeyword; 151_propertyFlags |= Flags.HasInitializer; 156_propertyFlags |= Flags.IsExpressionBodied; 161_propertyFlags |= Flags.AccessorsHaveImplementation; 185_propertyFlags |= Flags.RequiresBackingField; 297=> (_propertyFlags & Flags.IsExpressionBodied) != 0; 301if ((_propertyFlags & Flags.HasInitializer) == 0) 326var propertyFlags = property._propertyFlags; 327var getterUsesFieldKeyword = (propertyFlags & Flags.GetterUsesFieldKeyword) != 0; 328var setterUsesFieldKeyword = (propertyFlags & Flags.SetterUsesFieldKeyword) != 0; 331&& !property.IsSetOnEitherPart(Flags.HasInitializer) 655=> (_propertyFlags & Flags.IsExplicitInterfaceImplementation) != 0; 701=> IsSetOnEitherPart(Flags.HasAutoPropertyGet | Flags.HasAutoPropertySet | Flags.GetterUsesFieldKeyword | Flags.SetterUsesFieldKeyword); 704=> IsSetOnEitherPart(Flags.GetterUsesFieldKeyword | Flags.SetterUsesFieldKeyword); 707=> (_propertyFlags & Flags.HasExplicitAccessModifier) != 0; 710=> IsSetOnEitherPart(Flags.HasAutoPropertyGet | Flags.HasAutoPropertySet); 713=> IsSetOnEitherPart(Flags.HasAutoPropertyGet); 716=> IsSetOnEitherPart(Flags.HasAutoPropertySet); 738private bool IsSetOnEitherPart(Flags flags) 745=> (_propertyFlags & Flags.AccessorsHaveImplementation) != 0; 773(_propertyFlags & Flags.RequiresBackingField) != 0) 806(_getMethod is null || (_propertyFlags & Flags.HasAutoPropertyGet) != 0 || _getMethod.IsDeclaredReadOnly)) 815return new SynthesizedBackingFieldSymbol(this, fieldName, isReadOnly: isReadOnly, isStatic: this.IsStatic, hasInitializer: (_propertyFlags & Flags.HasInitializer) != 0); 866if (!IsStatic && ((_propertyFlags & Flags.HasAutoPropertySet) != 0) && SetMethod is { IsInitOnly: false }) 901IsSetOnEitherPart(Flags.RequiresBackingField) && 904!IsSetOnEitherPart(Flags.HasInitializer))