2 references to CustomGrammar
System.Speech (2)
Internal\SrgsCompiler\GrammarElement.cs (1)
95bool containsCode = ((IGrammar)this).CodeBehind.Count > 0 || ((IGrammar)this).ImportNamespaces.Count > 0 || ((IGrammar)this).AssemblyReferences.Count > 0 || CustomGrammar._scriptRefs.Count > 0;
Internal\SrgsCompiler\Rule.cs (1)
186((GrammarElement)grammar).CustomGrammar._scriptRefs.Add(new ScriptRef(rule, method, type));