CodeGeneration\CSharpSyntaxGenerator.cs (8)
806if (member is BaseTypeDeclarationSyntax or DelegateDeclarationSyntax)
1765DelegateDeclarationSyntax @delegate => @delegate.WithTypeParameterList(typeParameterList),
1819DelegateDeclarationSyntax @delegate => @delegate.WithConstraintClauses(WithTypeConstraints(@delegate.ConstraintClauses, typeParameterName, kinds, isUnmanagedType, types)),
2049DelegateDeclarationSyntax delegateDeclaration => delegateDeclaration.Identifier.ValueText,
2076DelegateDeclarationSyntax delegateDeclaration => ReplaceWithTrivia(declaration, delegateDeclaration.Identifier, id),
2112return NotVoid(((DelegateDeclarationSyntax)declaration).ReturnType);
2152SyntaxKind.DelegateDeclaration => ((DelegateDeclarationSyntax)declaration).WithReturnType((TypeSyntax)type),
2373return ((DelegateDeclarationSyntax)declaration).WithParameterList(list);