17 references to ScriptClass
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Lookup.cs (4)
292
if ((options & LookupOptions.NamespaceAliasesOnly) == 0 && (object)submission.
ScriptClass
!= null)
294
LookupMembersWithoutInheritance(submissionSymbols, submission.
ScriptClass
, name, arity, options, originalBinder, submissionClass, diagnose, ref useSiteInfo, basesBeingResolved);
1893
if ((object)submission.
ScriptClass
!= null)
1895
AddMemberLookupSymbolsInfoWithoutInheritance(result, submission.
ScriptClass
, options, originalBinder, scriptClass);
Binder\BinderFactory.BinderFactoryVisitor.cs (3)
443
container = compilation.
ScriptClass
;
958
Debug.Assert((object)compilation.
ScriptClass
!= null);
972
var scriptClass = compilation.
ScriptClass
;
Binder\InSubmissionClassBinder.cs (1)
43
submission.
ScriptClass
?.GetExtensionMethods(methods, name, arity, options);
CommandLine\CSharpCompiler.cs (1)
247
Symbol? entryPoint = comp.
ScriptClass
;
Compilation\CSharpCompilation.cs (5)
1813
return (IsSubmission &&
ScriptClass
is object) ?
1814
ScriptClass
.GetScriptInitializer() :
1873
if (!this.Options.OutputKind.IsApplication() && (this.
ScriptClass
is null))
1931
var scriptClass = this.
ScriptClass
;
4026
get { return this.
ScriptClass
.GetPublicSymbol(); }
Compilation\SyntaxTreeSemanticModel.cs (3)
1212
(object)_compilation.
ScriptClass
!= null)
1214
var scriptInitializer = _compilation.
ScriptClass
.GetScriptInitializer();
2312
return this.Compilation.
ScriptClass
;