7 references to WithRefKindKeyword
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.cs (1)
11681
var newNode = node.WithNameColon(node.NameColon).
WithRefKindKeyword
(node.RefKindKeyword).WithExpression(node.Expression);
Microsoft.Interop.ComInterfaceGenerator (1)
ComMethodContext.cs (1)
163
? Argument(IdentifierName(info.InstanceIdentifier)).
WithRefKindKeyword
(MarshallerHelpers.GetManagedArgumentRefKindKeyword(info))
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\ConvertToLibraryImportFixer.cs (3)
337
.
WithRefKindKeyword
(SyntaxFactory.Token(SyntaxKind.OutKeyword))),
370
.
WithRefKindKeyword
(SyntaxFactory.Token(SyntaxKind.OutKeyword))),
385
.
WithRefKindKeyword
(SyntaxFactory.Token(SyntaxKind.OutKeyword))),
Microsoft.Interop.SourceGeneration (2)
Marshalling\MarshallingGeneratorExtensions.cs (2)
146
ValueBoundaryBehavior.ManagedIdentifier when info.IsByRef => Argument(IdentifierName(managedIdentifier)).
WithRefKindKeyword
(MarshallerHelpers.GetManagedArgumentRefKindKeyword(info)),
160
return Argument(IdentifierName(managedIdentifier)).
WithRefKindKeyword
(MarshallerHelpers.GetManagedArgumentRefKindKeyword(info));