13 references to AddSynthesizedDefinition
Microsoft.CodeAnalysis.CSharp (6)
Lowering\ClosureConversion\ClosureConversion.cs (3)
389
CompilationState.ModuleBuilderOpt.
AddSynthesizedDefinition
(synthesizedEnv, hoistedField.GetCciAdapter());
691
CompilationState.ModuleBuilderOpt.
AddSynthesizedDefinition
(frame, capturedFrame.GetCciAdapter());
1683
CompilationState.ModuleBuilderOpt.
AddSynthesizedDefinition
(translatedLambdaContainer, cacheField.GetCciAdapter());
Lowering\SynthesizedSubmissionFields.cs (2)
98
moduleBeingBuilt.
AddSynthesizedDefinition
(containingType, field.GetCciAdapter());
104
moduleBeingBuilt.
AddSynthesizedDefinition
(containingType, hostObjectField.GetCciAdapter());
Lowering\SyntheticBoundNodeFactory.cs (1)
253
ModuleBuilderOpt.
AddSynthesizedDefinition
(containingType, field.GetCciAdapter());
Microsoft.CodeAnalysis.VisualBasic (7)
Lowering\LambdaRewriter\LambdaRewriter.vb (2)
551
CompilationState.ModuleBuilderOpt.
AddSynthesizedDefinition
(frame, capturedFrame.GetCciAdapter())
1191
CompilationState.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)
87
moduleBeingBuilt.
AddSynthesizedDefinition
(containingType, field.GetCciAdapter())
92
moduleBeingBuilt.
AddSynthesizedDefinition
(containingType, hostObjectField.GetCciAdapter())
Lowering\SyntheticBoundNodeFactory.vb (1)
97
[module].
AddSynthesizedDefinition
(containingType, field.GetCciAdapter())