Exemplo n.º 1
0
 private static ConversionOperatorDeclarationSyntax WithParameter(
     ConversionOperatorDeclarationSyntax parentSyntax,
     ParameterSyntax childSyntax)
 {
     return(parentSyntax.WithParameterList(
                parentSyntax.ParameterList.WithParameters(SyntaxFactory.SeparatedList(new[] { childSyntax }))));
 }