2 implementations of ReturnsByRef
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\PropertySymbol.cs (1)
106bool IPropertySymbol.ReturnsByRef => _underlying.ReturnsByRef;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
580Private ReadOnly Property IPropertySymbol_ReturnsByRef As Boolean Implements IPropertySymbol.ReturnsByRef
18 references to ReturnsByRef
ILLink.RoslynAnalyzer (1)
DynamicallyAccessedMembersAnalyzer.cs (1)
164 } else if (member is IPropertySymbol property && property.GetDynamicallyAccessedMemberTypes () != DynamicallyAccessedMemberTypes.None && !property.Type.IsTypeInterestingForDataflow (isByRef: property.ReturnsByRef)) {
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SignatureComparer.cs (2)
159return property1.ReturnsByRef == property2.ReturnsByRef &&
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
154if (symbol.ReturnsByRef)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.cs (1)
278var refReturnMismatch = indexer.ReturnsByRef != invocation.TargetMethod.ReturnsByRef;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (1)
143if (property.ReturnsByRef)
Microsoft.CodeAnalysis.CSharp.Features (3)
ExtractMethod\CSharpSelectionResult.StatementResult.cs (1)
79IPropertySymbol propertySymbol => (propertySymbol.Type, propertySymbol.ReturnsByRef),
SignatureHelp\ElementAccessExpressionSignatureHelpProvider.cs (1)
251if (indexer.ReturnsByRef)
src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.cs (1)
278var refReturnMismatch = indexer.ReturnsByRef != invocation.TargetMethod.ReturnsByRef;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (1)
143if (property.ReturnsByRef)
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
2385=> oldProperty.ReturnsByRef == newProperty.ReturnsByRef &&
Microsoft.CodeAnalysis.VisualBasic (2)
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
81If symbol.ReturnsByRef AndAlso Format.MemberOptions.IncludesOption(SymbolDisplayMemberOptions.IncludeRef) Then
Symbols\PropertySymbol.vb (1)
580Private ReadOnly Property IPropertySymbol_ReturnsByRef As Boolean Implements IPropertySymbol.ReturnsByRef
Microsoft.CodeAnalysis.Workspaces (3)
Shared\Extensions\SyntaxGeneratorExtensions.cs (1)
180=> overriddenProperty.ReturnsByRef
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SignatureComparer.cs (2)
159return property1.ReturnsByRef == property2.ReturnsByRef &&
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (1)
985if (marshallerType.GetMembers(ShapeMemberNames.BufferSize).OfType<IPropertySymbol>().FirstOrDefault(prop => prop is { ReturnsByRef: false, ReturnsByRefReadonly: false, GetMethod: not null }) is null)