Base:
method
AddSynthesizedDefinition
Microsoft.CodeAnalysis.Emit.PEModuleBuilder<TCompilation, TSourceModuleSymbol, TAssemblySymbol, TTypeSymbol, TNamedTypeSymbol, TMethodSymbol, TSyntaxNode, TEmbeddedTypesManager, TModuleCompilationState>.AddSynthesizedDefinition(TNamedTypeSymbol, Microsoft.Cci.IFieldDefinition)
6 references to AddSynthesizedDefinition
Microsoft.CodeAnalysis.CSharp (6)
Lowering\ClosureConversion\ClosureConversion.cs (3)
410CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(synthesizedEnv, hoistedField.GetCciAdapter()); 717CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(frame, capturedFrame.GetCciAdapter()); 1725CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(translatedLambdaContainer, cacheField.GetCciAdapter());
Lowering\SynthesizedSubmissionFields.cs (2)
98moduleBeingBuilt.AddSynthesizedDefinition(containingType, field.GetCciAdapter()); 104moduleBeingBuilt.AddSynthesizedDefinition(containingType, hostObjectField.GetCciAdapter());
Lowering\SyntheticBoundNodeFactory.cs (1)
219ModuleBuilderOpt.AddSynthesizedDefinition(containingType, field.GetCciAdapter());