2 implementations of ICodeGenerator
System (2)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
105
internal class CSharpCodeGenerator : ICodeCompiler,
ICodeGenerator
{
compmod\system\codedom\compiler\CodeGenerator.cs (1)
29
public abstract class CodeGenerator :
ICodeGenerator
{
46 references to ICodeGenerator
System (42)
compmod\microsoft\csharp\csharpcodeprovider.cs (15)
61
public override
ICodeGenerator
CreateGenerator() {
62
return (
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);
3868
void
ICodeGenerator
.GenerateCodeFromType(CodeTypeDeclaration e, TextWriter w, CodeGeneratorOptions o) {
3891
void
ICodeGenerator
.GenerateCodeFromExpression(CodeExpression e, TextWriter w, CodeGeneratorOptions o) {
3914
void
ICodeGenerator
.GenerateCodeFromCompileUnit(CodeCompileUnit e, TextWriter w, CodeGeneratorOptions o) {
3942
void
ICodeGenerator
.GenerateCodeFromNamespace(CodeNamespace e, TextWriter w, CodeGeneratorOptions o) {
3965
void
ICodeGenerator
.GenerateCodeFromStatement(CodeStatement e, TextWriter w, CodeGeneratorOptions o) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (3)
69
public override
ICodeGenerator
CreateGenerator() {
70
return (
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)
122
public abstract
ICodeGenerator
CreateGenerator();
125
public virtual
ICodeGenerator
CreateGenerator(TextWriter output) {
129
public virtual
ICodeGenerator
CreateGenerator(string fileName) {
280
private
ICodeGenerator
CreateGeneratorHelper() {
281
ICodeGenerator
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);
382
bool
ICodeGenerator
.Supports(GeneratorSupport support) {
387
void
ICodeGenerator
.GenerateCodeFromType(CodeTypeDeclaration e, TextWriter w, CodeGeneratorOptions o) {
410
void
ICodeGenerator
.GenerateCodeFromExpression(CodeExpression e, TextWriter w, CodeGeneratorOptions o) {
433
void
ICodeGenerator
.GenerateCodeFromCompileUnit(CodeCompileUnit e, TextWriter w, CodeGeneratorOptions o) {
461
void
ICodeGenerator
.GenerateCodeFromNamespace(CodeNamespace e, TextWriter w, CodeGeneratorOptions o) {
484
void
ICodeGenerator
.GenerateCodeFromStatement(CodeStatement e, TextWriter w, CodeGeneratorOptions o) {
527
bool
ICodeGenerator
.IsValidIdentifier(string value) {
531
void
ICodeGenerator
.ValidateIdentifier(string value) {
536
string
ICodeGenerator
.CreateEscapedIdentifier(string value) {
541
string
ICodeGenerator
.CreateValidIdentifier(string value) {
546
string
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)
27
private
ICodeGenerator
codeGen;
32
public static void Generate(DataSet dataSet, CodeNamespace codeNamespace,
ICodeGenerator
codeGen) {
40
public static string GenerateIdName(string name,
ICodeGenerator
codeGen) {
73
internal CodeTypeDeclaration GenerateCode(DataSet dataSet, CodeNamespace codeNamespace,
ICodeGenerator
codeGen) {