1 write to GlobalsType
Microsoft.CodeAnalysis.Scripting (1)
Script.cs (1)
52
GlobalsType
= globalsTypeOpt;
24 references to GlobalsType
Microsoft.CodeAnalysis.CSharp.Scripting (1)
CSharpScriptCompiler.cs (1)
73
script.
GlobalsType
Microsoft.CodeAnalysis.Scripting (22)
Script.cs (21)
118
return new Script<TResult>(Compiler, Builder, SourceText.From(code ?? "", options.FileEncoding), options,
GlobalsType
, this);
131
return new Script<TResult>(Compiler, Builder, SourceText.From(code, options.FileEncoding), options,
GlobalsType
, this);
160
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values of global variables accessible from the script.
161
/// Must be specified if and only if the script was created with a <see cref="Script.
GlobalsType
"/>.
174
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values for global variables accessible from the script.
175
/// Must be specified if and only if the script was created with <see cref="Script.
GlobalsType
"/>.
186
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values for global variables accessible from the script.
187
/// Must be specified if and only if the script was created with <see cref="Script.
GlobalsType
"/>.
260
if (
GlobalsType
!= null)
262
var globalsAssembly =
GlobalsType
.GetTypeInfo().Assembly;
354
return (options == Options) ? this : new Script<T>(Compiler, Builder, SourceText, options,
GlobalsType
, Previous);
450
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values of global variables accessible from the script.
451
/// Must be specified if and only if the script was created with a <see cref="Script.
GlobalsType
"/>.
462
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values for global variables accessible from the script.
463
/// Must be specified if and only if the script was created with <see cref="Script.
GlobalsType
"/>.
468
/// <exception cref="ArgumentException">The type of <paramref name="globals"/> doesn't match <see cref="Script.
GlobalsType
"/>.</exception>
476
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values for global variables accessible from the script.
477
/// Must be specified if and only if the script was created with <see cref="Script.
GlobalsType
"/>.
486
/// <exception cref="ArgumentException">The type of <paramref name="globals"/> doesn't match <see cref="Script.
GlobalsType
"/>.</exception>
492
ValidateGlobals(globals,
GlobalsType
);
511
var globalsType =
GlobalsType
;
ScriptRunner.cs (1)
18
/// <exception cref="ArgumentException">The type of <paramref name="globals"/> doesn't match the corresponding <see cref="Script.
GlobalsType
"/>.</exception>
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
VisualBasicScriptCompiler.vb (1)
96
script.
GlobalsType
)