14 references to compilation
Microsoft.CodeAnalysis.CSharp (14)
Binder\BinderFactory.BinderFactoryVisitor.cs (14)
119SynthesizedSimpleProgramEntryPointSymbol simpleProgram = SynthesizedSimpleProgramEntryPointSymbol.GetSimpleProgramEntryPoint(compilation, (CompilationUnitSyntax)node.Parent, fallbackToMainEntryPoint: false);
443container = compilation.ScriptClass;
957Debug.Assert((object)compilation.ScriptClass != null);
970bool isSubmissionTree = compilation.IsSubmissionSyntaxTree(compilationUnit.SyntaxTree);
971var scriptClass = compilation.ScriptClass;
976result = WithUsingNamespacesAndTypesBinder.Create(compilation.GlobalImports, result, withImportChainEntry: true);
983result = WithUsingNamespacesAndTypesBinder.Create((SourceNamespaceSymbol)compilation.SourceModule.GlobalNamespace, compilationUnit, result,
984withPreviousSubmissionImports: compilation.PreviousSubmission != null && isSubmissionTree,
989result = new InContainerBinder(compilation.GlobalNamespace, result);
991if (compilation.HostObjectType != null)
1002result = AddInImportsBinders((SourceNamespaceSymbol)compilation.SourceModule.GlobalNamespace, compilationUnit, result, inUsing);
1015var globalNamespace = compilation.GlobalNamespace;
1016result = AddInImportsBinders((SourceNamespaceSymbol)compilation.SourceModule.GlobalNamespace, compilationUnit, result, inUsing);
1020SynthesizedSimpleProgramEntryPointSymbol.GetSimpleProgramEntryPoint(compilation, compilationUnit, fallbackToMainEntryPoint: true) is SynthesizedSimpleProgramEntryPointSymbol simpleProgram)