1 write to GlobalsType
Microsoft.CodeAnalysis.Scripting (1)
Script.cs (1)
51
GlobalsType
= globalsTypeOpt;
24 references to GlobalsType
Microsoft.CodeAnalysis.CSharp.Scripting (1)
CSharpScriptCompiler.cs (1)
73
script.
GlobalsType
Microsoft.CodeAnalysis.Scripting (22)
Script.cs (21)
117
return new Script<TResult>(Compiler, Builder, SourceText.From(code ?? "", options.FileEncoding), options,
GlobalsType
, this);
130
return new Script<TResult>(Compiler, Builder, SourceText.From(code, options.FileEncoding), options,
GlobalsType
, this);
159
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values of global variables accessible from the script.
160
/// Must be specified if and only if the script was created with a <see cref="Script.
GlobalsType
"/>.
173
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values for global variables accessible from the script.
174
/// Must be specified if and only if the script was created with <see cref="Script.
GlobalsType
"/>.
185
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values for global variables accessible from the script.
186
/// Must be specified if and only if the script was created with <see cref="Script.
GlobalsType
"/>.
259
if (
GlobalsType
!= null)
261
var globalsAssembly =
GlobalsType
.GetTypeInfo().Assembly;
353
return (options == Options) ? this : new Script<T>(Compiler, Builder, SourceText, options,
GlobalsType
, Previous);
449
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values of global variables accessible from the script.
450
/// Must be specified if and only if the script was created with a <see cref="Script.
GlobalsType
"/>.
461
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values for global variables accessible from the script.
462
/// Must be specified if and only if the script was created with <see cref="Script.
GlobalsType
"/>.
467
/// <exception cref="ArgumentException">The type of <paramref name="globals"/> doesn't match <see cref="Script.
GlobalsType
"/>.</exception>
475
/// An instance of <see cref="Script.
GlobalsType
"/> holding on values for global variables accessible from the script.
476
/// Must be specified if and only if the script was created with <see cref="Script.
GlobalsType
"/>.
485
/// <exception cref="ArgumentException">The type of <paramref name="globals"/> doesn't match <see cref="Script.
GlobalsType
"/>.</exception>
491
ValidateGlobals(globals,
GlobalsType
);
510
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
)