20 references to ReturnsByRefReadonly
Microsoft.CodeAnalysis.CSharp (3)
Lowering\LocalRewriter\LocalRewriter.cs (1)
1127if (symbol.ReturnsByRefReadonly ||
Symbols\MethodSymbol.cs (1)
1157if (this.ReturnsByRefReadonly)
Symbols\PublicModel\MethodSymbol.cs (1)
325bool IMethodSymbol.ReturnsByRefReadonly => _underlying.ReturnsByRefReadonly;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Attributes\AttributeTests_RefReadOnly.cs (12)
39Assert.True(method.ReturnsByRefReadonly); 93Assert.True(method.ReturnsByRefReadonly); 121Assert.True(method.ReturnsByRefReadonly); 502Assert.True(method.ReturnsByRefReadonly); 538Assert.True(method.ReturnsByRefReadonly); 562Assert.True(method.ReturnsByRefReadonly); 599Assert.True(method.ReturnsByRefReadonly); 653Assert.True(method.ReturnsByRefReadonly); 687Assert.True(method.ReturnsByRefReadonly); 726Assert.True(method.ReturnsByRefReadonly); 785Assert.True(method.ReturnsByRefReadonly); 820Assert.True(method.ReturnsByRefReadonly);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Symbols\Source\DelegateTests.cs (2)
782Assert.False(d.DelegateInvokeMethod.ReturnsByRefReadonly); 799Assert.True(d.DelegateInvokeMethod.ReturnsByRefReadonly);
Symbols\Source\ExpressionBodiedPropertyTests.cs (3)
538Assert.True(p.GetMethod.ReturnsByRefReadonly); 566Assert.True(p.GetMethod.ReturnsByRefReadonly); 594Assert.True(p.GetMethod.ReturnsByRefReadonly);