CodeGeneration\CSharpSyntaxGenerator.cs (8)
806if (member is BaseTypeDeclarationSyntax or DelegateDeclarationSyntax)
1773DelegateDeclarationSyntax @delegate => @delegate.WithTypeParameterList(typeParameterList),
1827DelegateDeclarationSyntax @delegate => @delegate.WithConstraintClauses(WithTypeConstraints(@delegate.ConstraintClauses, typeParameterName, kinds, isUnmanagedType, types)),
2057DelegateDeclarationSyntax delegateDeclaration => delegateDeclaration.Identifier.ValueText,
2084DelegateDeclarationSyntax delegateDeclaration => ReplaceWithTrivia(declaration, delegateDeclaration.Identifier, id),
2120return NotVoid(((DelegateDeclarationSyntax)declaration).ReturnType);
2160SyntaxKind.DelegateDeclaration => ((DelegateDeclarationSyntax)declaration).WithReturnType((TypeSyntax)type),
2381return ((DelegateDeclarationSyntax)declaration).WithParameterList(list);