1 write to _grammarType
System.Speech (1)
Internal\SrgsCompiler\AppDomainGrammarProxy.cs (1)
125
_grammarType
= grammarType;
8 references to _grammarType
System.Speech (8)
Internal\SrgsCompiler\AppDomainGrammarProxy.cs (8)
42
MethodInfo? onInit =
_grammarType
.GetMethod(method, types);
64
MethodInfo? onRecognition =
_grammarType
.GetMethod(method, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
109
[MemberNotNull(nameof(
_grammarType
))]
129
_grammar = (System.Speech.Recognition.Grammar)_assembly.CreateInstance(
_grammarType
.FullName!)!;
133
throw new ArgumentException(SR.Get(SRID.RuleScriptInvalidParameters,
_grammarType
.FullName, rule), nameof(rule));
139
Type? ruleClass = rule == _rule ?
_grammarType
: GetTypeForRule(_assembly, rule);
147
grammar = (ruleClass ==
_grammarType
? _grammar : (System.Speech.Recognition.Grammar?)_assembly.CreateInstance(ruleClass.FullName!))!;
175
MethodInfo[] mis =
_grammarType
.GetMethods();