13 references to AddSynthesizedDefinition
Microsoft.CodeAnalysis.CSharp (6)
Lowering\ClosureConversion\ClosureConversion.cs (3)
389CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(synthesizedEnv, hoistedField.GetCciAdapter()); 691CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(frame, capturedFrame.GetCciAdapter()); 1683CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(translatedLambdaContainer, cacheField.GetCciAdapter());
Lowering\SynthesizedSubmissionFields.cs (2)
98moduleBeingBuilt.AddSynthesizedDefinition(containingType, field.GetCciAdapter()); 104moduleBeingBuilt.AddSynthesizedDefinition(containingType, hostObjectField.GetCciAdapter());
Lowering\SyntheticBoundNodeFactory.cs (1)
253ModuleBuilderOpt.AddSynthesizedDefinition(containingType, field.GetCciAdapter());
Microsoft.CodeAnalysis.VisualBasic (7)
Lowering\LambdaRewriter\LambdaRewriter.vb (2)
551CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(frame, capturedFrame.GetCciAdapter()) 1191CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(translatedLambdaContainer, cacheField.GetCciAdapter())
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (2)
142_emitModule.AddSynthesizedDefinition(Me._topMethod.ContainingType, result.Key.GetCciAdapter()) 145_emitModule.AddSynthesizedDefinition(Me._topMethod.ContainingType, result.Value.GetCciAdapter())
Lowering\SynthesizedSubmissionFields.vb (2)
87moduleBeingBuilt.AddSynthesizedDefinition(containingType, field.GetCciAdapter()) 92moduleBeingBuilt.AddSynthesizedDefinition(containingType, hostObjectField.GetCciAdapter())
Lowering\SyntheticBoundNodeFactory.vb (1)
97[module].AddSynthesizedDefinition(containingType, field.GetCciAdapter())