Base:
property
IsDeclaredReadOnly
Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.IsDeclaredReadOnly
1 override of IsDeclaredReadOnly
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
438internal sealed override bool IsDeclaredReadOnly
12 references to IsDeclaredReadOnly
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Source\SourceMemberMethodSymbol.cs (2)
845if (IsDeclaredReadOnly && !ContainingType.IsReadOnly) 901if (IsDeclaredReadOnly && !ContainingType.IsReadOnly)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
677if (definition.IsDeclaredReadOnly != implementation.IsDeclaredReadOnly)
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
393else if (IsStatic && IsDeclaredReadOnly)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\RecordStructTests.cs (7)
3795Assert.True(method.IsDeclaredReadOnly); 3813Assert.False(method.IsDeclaredReadOnly); 4649Assert.True(recordEquals.IsDeclaredReadOnly); 4695Assert.True(objectEquals.IsDeclaredReadOnly); 4808Assert.True(method.IsDeclaredReadOnly); 5782Assert.True(method.IsDeclaredReadOnly); 5797Assert.False(method.IsDeclaredReadOnly);