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