2 instantiations of ScriptRef
System.Speech (2)
Internal\SrgsCompiler\CFGGrammar.cs (1)
345
scripts[i] = new
ScriptRef
(symbols[cfgScript._idRule], symbols[cfgScript._idMethod], cfgScript._method);
Internal\SrgsCompiler\Rule.cs (1)
186
((GrammarElement)grammar).CustomGrammar._scriptRefs.Add(new
ScriptRef
(rule, method, type));
22 references to ScriptRef
System.Speech (22)
Internal\SrgsCompiler\BackEnd.cs (4)
92
foreach (
ScriptRef
script in _scriptRefs)
185
foreach (
ScriptRef
script in _scriptRefs)
1335
internal Collection<
ScriptRef
> ScriptRefs
1396
private Collection<
ScriptRef
> _scriptRefs = new();
Internal\SrgsCompiler\CFGGrammar.cs (5)
317
internal static
ScriptRef
[]? LoadScriptRefs(StreamMarshaler streamHelper, CfgSerializedHeader pFH)
341
ScriptRef
[] scripts = new
ScriptRef
[cfgScripts.Length];
351
internal static
ScriptRef
[]? LoadIL(Stream stream)
363
internal static bool LoadIL(Stream stream, [NotNullWhen(true)] out byte[]? assemblyContent, out byte[]? assemblyDebugSymbols, [NotNullWhen(true)] out
ScriptRef
[]? scripts)
Internal\SrgsCompiler\CustomGrammar.cs (1)
162
internal Collection<
ScriptRef
> _scriptRefs = new();
Internal\SrgsCompiler\ScriptRef.cs (2)
42
internal static string? OnInitMethod(
ScriptRef
[]? scriptRefs, string? rule)
46
foreach (
ScriptRef
script in scriptRefs)
Recognition\Grammar.cs (4)
575
internal
ScriptRef
[]? _scripts;
894
ScriptRef
[]? scripts;
923
ScriptRef
[]? scripts = CfgGrammar.LoadIL(stream);
989
string? methodName =
ScriptRef
.OnInitMethod(_scripts, _ruleName);
Result\RecognizedPhrase.cs (6)
857
ScriptRef
[]? scripts = grammar._scripts;
865
ScriptRef
script = scripts[iScript];
908
ScriptRef
[]? scripts = grammar._scripts;
916
ScriptRef
script = scripts[iScript];
955
ScriptRef
[] scripts = grammar._scripts;
960
ScriptRef
script = scripts[iScript];