5 overrides of IsReadOnly
Microsoft.CodeAnalysis.CSharp (5)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
80public override bool IsReadOnly
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
457public override bool IsReadOnly
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
48public sealed override bool IsReadOnly
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
105public override bool IsReadOnly
Symbols\Wrapped\WrappedFieldSymbol.cs (1)
139public override bool IsReadOnly
11 references to IsReadOnly
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (3)
1141if (backingField.IsReadOnly) 1321if (fieldSymbol.IsReadOnly) 5868if (!field.IsReadOnly)
Binder\Binder_Attributes.cs (1)
631invalidNamedArgument |= fieldSymbol.IsReadOnly;
Binder\Binder_Expressions.cs (1)
5870if (isRhsNestedInitializer && fieldSymbol.IsReadOnly && fieldSymbol.Type.IsValueType)
Emitter\Model\FieldSymbolAdapter.cs (1)
204return AdaptedFieldSymbol.IsReadOnly || (AdaptedFieldSymbol.IsConst && !AdaptedFieldSymbol.IsMetadataConstant);
Lowering\SpillSequenceSpiller.cs (1)
410if (refKind != RefKind.None || fieldSymbol.IsReadOnly)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
588if (refKind != RefKind.None || field.FieldSymbol.IsReadOnly) return expr;
Symbols\PublicModel\FieldSymbol.cs (1)
84bool IFieldSymbol.IsReadOnly => _underlying.IsReadOnly;
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1834if (elementField.IsRequired || elementField.IsReadOnly || elementField.IsVolatile || elementField.IsFixedSizeBuffer)
Symbols\Wrapped\WrappedFieldSymbol.cs (1)
143return _underlyingField.IsReadOnly;