Base:
property
IsReadOnly
Microsoft.CodeAnalysis.CSharp.Symbols.FieldSymbol.IsReadOnly
11 references to IsReadOnly
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourceFieldSymbol.cs (2)
60else if (IsVolatile && IsReadOnly) 68else if (!IsStatic && !IsReadOnly && containingType.IsReadOnly)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (8)
Emit\EmitMetadataTests.cs (8)
949Assert.False(pBack.IsReadOnly); 955Assert.False(qBack.IsReadOnly); 961Assert.True(rBack.IsReadOnly); 967Assert.True(sBack.IsReadOnly); 1020Assert.True(p.IsReadOnly); 1026Assert.True(qBack.IsReadOnly); 1032Assert.True(rBack.IsReadOnly); 1038Assert.True(sBack.IsReadOnly);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
FieldKeywordTests.cs (1)
9768return $"{field.ToTestDisplayString()}: IsAutoProperty: {property.IsAutoProperty}, UsesFieldKeyword: {property.UsesFieldKeyword}, BackingField.IsReadOnly: {field.IsReadOnly}";