7 references to ReadOnlyStrict
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder.ValueChecks.cs (1)
5868if (addressKind == AddressKind.ReadOnlyStrict)
CodeGen\EmitAddress.cs (1)
558(addressKind != AddressKind.ReadOnlyStrict ? AddressKind.ReadOnly : addressKind));
CodeGen\EmitExpression.cs (3)
732var unexpectedTemp = EmitAddress(argument, refKind == RefKindExtensions.StrictIn ? AddressKind.ReadOnlyStrict : AddressKind.Writeable); 749var temp = EmitAddress(expression.Operand, AddressKind.ReadOnlyStrict); 2994LocalDefinition temp = EmitAddress(assignmentOperator.Right, lhs.GetRefKind() is RefKind.RefReadOnly or RefKindExtensions.StrictIn or RefKind.RefReadOnlyParameter ? AddressKind.ReadOnlyStrict : AddressKind.Writeable);
CodeGen\EmitStatement.cs (1)
873var unexpectedTemp = this.EmitAddress(expressionOpt, this._method.RefKind == RefKind.RefReadOnly ? AddressKind.ReadOnlyStrict : AddressKind.Writeable);
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
291thisRefKind == RefKind.Ref ? Binder.AddressKind.Writeable : Binder.AddressKind.ReadOnlyStrict,