IOperationClassWriter.cs (26)
60Write(format);
491Write($"{accessibility} {@class}(");
509Write($"IConvertibleConversion {prop.Name.ToCamelCase()}, ");
517Write($"{prop.Type} {prop.Name.ToCamelCase()}, ");
523Write("OperationKind kind, ");
528Write($"SemanticModel? semanticModel, SyntaxNode syntax, {typeParameterString}{constantValueString}bool isImplicit");
532Write(": base(");
544Write($"{prop.Name.ToCamelCase()}, ");
547Write("semanticModel, syntax, isImplicit)");
611Write($"public new {propExtensibility}{prop.Type} {prop.Name} => ");
620Write($"({prop.Type})");
623Write($"base.{baseProp.Name}");
627Write("!");
666Write("internal override int ChildOperationsCount =>");
689Write($"{prop.Name}.Length");
693Write($"({prop.Name} is null ? 0 : 1)");
746Write($"{i} when ");
959Write($"return new {nameMinusI}(");
976Write(IsImmutableArray(prop.Type, out _) ? "VisitArray" : "Visit");
977Write($"({internalName}.{prop.Name}), ");
981Write($"{internalName}.{prop.Name}Convertible, ");
985Write($"{internalName}.{prop.Name}, ");
991Write($"{internalName}.Kind, ");
994Write($"{internalName}.OwningSemanticModel, {internalName}.Syntax, ");
998Write($"{internalName}.Type, ");
1003Write($"{internalName}.OperationConstantValue, ");