2 implementations of ICodeGenerator
System (2)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
105internal class CSharpCodeGenerator : ICodeCompiler, ICodeGenerator{
compmod\system\codedom\compiler\CodeGenerator.cs (1)
29public abstract class CodeGenerator : ICodeGenerator {
46 references to ICodeGenerator
System (42)
compmod\microsoft\csharp\csharpcodeprovider.cs (15)
61public override ICodeGenerator CreateGenerator() { 62return (ICodeGenerator)generator; 1127((ICodeGenerator)this).GenerateCodeFromStatement((CodeStatement)en.Current, output.InnerWriter, options); 2374((ICodeGenerator)this).GenerateCodeFromType(c, output.InnerWriter, options); 2439((ICodeGenerator)this).GenerateCodeFromType((CodeTypeDeclaration)member, output.InnerWriter, options); 2585((ICodeGenerator)this).GenerateCodeFromType(currentClass, output.InnerWriter, options); 2596((ICodeGenerator)this).GenerateCodeFromNamespace(n, output.InnerWriter, options); 2612((ICodeGenerator)this).GenerateCodeFromExpression(arg.Value, output.InnerWriter, options); 2661((ICodeGenerator)this).GenerateCodeFromExpression((CodeExpression)en.Current, output.InnerWriter, options); 3740((ICodeGenerator)this).GenerateCodeFromCompileUnit(ea[i], sw, Options); 3868void ICodeGenerator.GenerateCodeFromType(CodeTypeDeclaration e, TextWriter w, CodeGeneratorOptions o) { 3891void ICodeGenerator.GenerateCodeFromExpression(CodeExpression e, TextWriter w, CodeGeneratorOptions o) { 3914void ICodeGenerator.GenerateCodeFromCompileUnit(CodeCompileUnit e, TextWriter w, CodeGeneratorOptions o) { 3942void ICodeGenerator.GenerateCodeFromNamespace(CodeNamespace e, TextWriter w, CodeGeneratorOptions o) { 3965void ICodeGenerator.GenerateCodeFromStatement(CodeStatement e, TextWriter w, CodeGeneratorOptions o) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (3)
69public override ICodeGenerator CreateGenerator() { 70return (ICodeGenerator)generator; 651((ICodeGenerator)this).GenerateCodeFromExpression(arg.Value, ((IndentedTextWriter)Output).InnerWriter, Options);
compmod\system\codedom\compiler\CodeCompiler.cs (1)
268((ICodeGenerator)this).GenerateCodeFromCompileUnit(ea[i], sw, Options);
compmod\system\codedom\compiler\CodeDOMProvider.cs (5)
122public abstract ICodeGenerator CreateGenerator(); 125public virtual ICodeGenerator CreateGenerator(TextWriter output) { 129public virtual ICodeGenerator CreateGenerator(string fileName) { 280private ICodeGenerator CreateGeneratorHelper() { 281ICodeGenerator generator = CreateGenerator();
compmod\system\codedom\compiler\CodeGenerator.cs (18)
264((ICodeGenerator)this).GenerateCodeFromType((CodeTypeDeclaration)member, output.InnerWriter, options); 364((ICodeGenerator)this).GenerateCodeFromNamespace(n, output.InnerWriter, options); 377((ICodeGenerator)this).GenerateCodeFromType(c, output.InnerWriter, options); 382bool ICodeGenerator.Supports(GeneratorSupport support) { 387void ICodeGenerator.GenerateCodeFromType(CodeTypeDeclaration e, TextWriter w, CodeGeneratorOptions o) { 410void ICodeGenerator.GenerateCodeFromExpression(CodeExpression e, TextWriter w, CodeGeneratorOptions o) { 433void ICodeGenerator.GenerateCodeFromCompileUnit(CodeCompileUnit e, TextWriter w, CodeGeneratorOptions o) { 461void ICodeGenerator.GenerateCodeFromNamespace(CodeNamespace e, TextWriter w, CodeGeneratorOptions o) { 484void ICodeGenerator.GenerateCodeFromStatement(CodeStatement e, TextWriter w, CodeGeneratorOptions o) { 527bool ICodeGenerator.IsValidIdentifier(string value) { 531void ICodeGenerator.ValidateIdentifier(string value) { 536string ICodeGenerator.CreateEscapedIdentifier(string value) { 541string ICodeGenerator.CreateValidIdentifier(string value) { 546string ICodeGenerator.GetTypeOutput(CodeTypeReference type) { 811((ICodeGenerator)this).GenerateCodeFromType(currentClass, output.InnerWriter, options); 967((ICodeGenerator)this).GenerateCodeFromStatement((CodeStatement)en.Current, output.InnerWriter, options); 1022((ICodeGenerator)this).GenerateCodeFromExpression(arg.Value, output.InnerWriter, options); 1227((ICodeGenerator)this).GenerateCodeFromExpression((CodeExpression)en.Current, output.InnerWriter, options);
System.Data (4)
fx\src\data\System\Data\CodeGen\datacache.cs (4)
27private ICodeGenerator codeGen; 32public static void Generate(DataSet dataSet, CodeNamespace codeNamespace, ICodeGenerator codeGen) { 40public static string GenerateIdName(string name, ICodeGenerator codeGen) { 73internal CodeTypeDeclaration GenerateCode(DataSet dataSet, CodeNamespace codeNamespace, ICodeGenerator codeGen) {