8 references to AddReturnAttributes
ILLink.CodeFixProvider (1)
DynamicallyAccessedMembersCodeFixProvider.cs (1)
142 editor.ReplaceNode (targetNode, (d, g) => g.AddReturnAttributes (d, new[] { attribute }));
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
1863Generator.AddReturnAttributes(
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (2)
CodeGeneration\SyntaxGeneratorTests.vb (2)
2156Generator.AddReturnAttributes( 2170Generator.AddReturnAttributes(
Microsoft.Interop.ComInterfaceGenerator (2)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
256generatedDeclaration = generator.AddReturnAttributes(generatedDeclaration, 277generatedDeclaration = generator.AddReturnAttributes(generatedDeclaration,
Microsoft.Interop.LibraryImportGenerator (2)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
256generatedDeclaration = generator.AddReturnAttributes(generatedDeclaration, 277generatedDeclaration = generator.AddReturnAttributes(generatedDeclaration,