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; 958Debug.Assert((object)compilation.ScriptClass != null); 971bool isSubmissionTree = compilation.IsSubmissionSyntaxTree(compilationUnit.SyntaxTree); 972var scriptClass = compilation.ScriptClass; 977result = WithUsingNamespacesAndTypesBinder.Create(compilation.GlobalImports, result, withImportChainEntry: true); 984result = WithUsingNamespacesAndTypesBinder.Create((SourceNamespaceSymbol)compilation.SourceModule.GlobalNamespace, compilationUnit, result, 985withPreviousSubmissionImports: compilation.PreviousSubmission != null && isSubmissionTree, 990result = new InContainerBinder(compilation.GlobalNamespace, result); 992if (compilation.HostObjectType != null) 1003result = AddInImportsBinders((SourceNamespaceSymbol)compilation.SourceModule.GlobalNamespace, compilationUnit, result, inUsing); 1016var globalNamespace = compilation.GlobalNamespace; 1017result = AddInImportsBinders((SourceNamespaceSymbol)compilation.SourceModule.GlobalNamespace, compilationUnit, result, inUsing); 1021SynthesizedSimpleProgramEntryPointSymbol.GetSimpleProgramEntryPoint(compilation, compilationUnit, fallbackToMainEntryPoint: true) is SynthesizedSimpleProgramEntryPointSymbol simpleProgram)