10 references to HasIsReadOnlyAttribute
Microsoft.Cci.Extensions (10)
Writers\CSharp\CSDeclarationWriter.cs (1)
450if (state.Attributes.HasIsReadOnlyAttribute())
Writers\CSharp\CSDeclarationWriter.Events.cs (1)
27if (accessor.Attributes.HasIsReadOnlyAttribute() && (LangVersion >= LangVersion8_0))
Writers\CSharp\CSDeclarationWriter.Fields.cs (1)
136public bool IsReadOnly => _isReadOnly || _parentType.Attributes.HasIsReadOnlyAttribute();
Writers\CSharp\CSDeclarationWriter.Methods.cs (3)
152if (method.Attributes.HasIsReadOnlyAttribute() && (LangVersion >= LangVersion8_0)) 161if (method.ReturnValueAttributes.HasIsReadOnlyAttribute()) 236if (parameter.Attributes.HasIsReadOnlyAttribute())
Writers\CSharp\CSDeclarationWriter.Properties.cs (3)
88bool getterHasIsReadOnlyAttribute = (getter?.Attributes.HasIsReadOnlyAttribute()).GetValueOrDefault(); 89bool setterHasIsReadOnlyAttribute = (setter?.Attributes.HasIsReadOnlyAttribute()).GetValueOrDefault(); 108if (property.Attributes.HasIsReadOnlyAttribute())
Writers\CSharp\CSDeclarationWriter.Types.cs (1)
204if (type.Attributes.HasIsReadOnlyAttribute())