4 implementations of IMethodSymbol_ReturnsByReadonlyRef
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
44public abstract bool ReturnsByRefReadonly { get; }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\MethodSymbol.cs (1)
325bool IMethodSymbol.ReturnsByRefReadonly => _underlying.ReturnsByRefReadonly;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
1044Private ReadOnly Property IMethodSymbol_ReturnsByReadonlyRef As Boolean Implements IMethodSymbol.ReturnsByRefReadonly
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
44public abstract bool ReturnsByRefReadonly { get; }
28 references to IMethodSymbol_ReturnsByReadonlyRef
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SignatureComparer.cs (2)
202method1.ReturnsByRefReadonly != method2.ReturnsByRefReadonly)
Microsoft.CodeAnalysis.CSharp (3)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (2)
351else if (symbol.ReturnsByRefReadonly) 649else if (symbol.ReturnsByRefReadonly)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
256else if (invokeMethod.ReturnsByRefReadonly)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\TypeSyntaxExtensions.cs (1)
63else if (method.ReturnsByRefReadonly)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\Source\DelegateTests.cs (2)
831Assert.True(lambda.ReturnsByRefReadonly); 838Assert.True(lambda.ReturnsByRefReadonly);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\TypeSyntaxExtensions.cs (1)
63else if (method.ReturnsByRefReadonly)
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
2379oldMethod.ReturnsByRefReadonly == newMethod.ReturnsByRefReadonly && // modreq emitted on the return type
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
1044Private ReadOnly Property IMethodSymbol_ReturnsByReadonlyRef As Boolean Implements IMethodSymbol.ReturnsByRefReadonly
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SignatureComparer.cs (2)
202method1.ReturnsByRefReadonly != method2.ReturnsByRefReadonly)
Microsoft.Interop.ComInterfaceGenerator (3)
Analyzers\ConvertComImportToGeneratedComInterfaceAnalyzer.cs (1)
68if (method.ReturnsByRef || method.ReturnsByRefReadonly)
ComMethodInfo.cs (1)
78if (method.ReturnsByRef || method.ReturnsByRefReadonly)
VtableIndexStubGenerator.cs (1)
413if (method.ReturnsByRef || method.ReturnsByRefReadonly)
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSExportGenerator.cs (1)
357if (method.ReturnsByRef || method.ReturnsByRefReadonly)
JSImportGenerator.cs (1)
236if (method.ReturnsByRef || method.ReturnsByRefReadonly)
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
130if (method.ReturnsByRef || method.ReturnsByRefReadonly)
LibraryImportGenerator.cs (1)
550if (method.ReturnsByRef || method.ReturnsByRefReadonly)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
430if (method.ReturnsByRef || method.ReturnsByRefReadonly)
Microsoft.Interop.SourceGeneration (6)
MarshallerShape.cs (6)
220({ ReturnsByRef: true } or { ReturnsByRefReadonly: true }) 594.FirstOrDefault(m => m is { IsStatic: false, Parameters.Length: 0, ReturnsVoid: false, ReturnsByRef: false, ReturnsByRefReadonly: false } 602.FirstOrDefault(m => m is { IsStatic: false, Parameters.Length: 0, ReturnsVoid: false, ReturnsByRef: false, ReturnsByRefReadonly: false } 610.FirstOrDefault(m => m is { IsStatic: false, Parameters.Length: 0, ReturnsVoid: false, ReturnsByRef: false, ReturnsByRefReadonly: false }); 671({ ReturnsByRef: true } or { ReturnsByRefReadonly: true }) 680({ ReturnsByRef: true } or { ReturnsByRefReadonly: true }));