12 references to ReturnsByRefReadonly
Microsoft.CodeAnalysis.CSharp (2)
Symbols\PublicModel\PropertySymbol.cs (1)
108bool IPropertySymbol.ReturnsByRefReadonly => _underlying.ReturnsByRefReadonly;
Symbols\Source\SourcePropertySymbolBase.cs (1)
1417if (this.ReturnsByRefReadonly)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Attributes\AttributeTests_RefReadOnly.cs (6)
311Assert.True(property.ReturnsByRefReadonly); 340Assert.True(property.ReturnsByRefReadonly); 377Assert.True(property.ReturnsByRefReadonly); 403Assert.True(indexer.ReturnsByRefReadonly); 447Assert.True(indexer.ReturnsByRefReadonly); 475Assert.True(indexer.ReturnsByRefReadonly);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\ReadOnlyStructsTests.cs (1)
1322Assert.Equal(returnsByRefReadonly, property.ReturnsByRefReadonly);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\Source\ExpressionBodiedPropertyTests.cs (3)
537Assert.True(p.ReturnsByRefReadonly); 565Assert.True(p.ReturnsByRefReadonly); 593Assert.True(p.ReturnsByRefReadonly);