129 references to ThrowSrgsException
System.Speech (129)
Internal\SrgsCompiler\BackEnd.cs (5)
404
XmlParser.
ThrowSrgsException
(SRID.UnsupportedFormat);
587
XmlParser.
ThrowSrgsException
(SRID.DynamicRuleNotFound, ruleName);
600
XmlParser.
ThrowSrgsException
(SRID.DynamicRuleNotFound, ruleName);
688
XmlParser.
ThrowSrgsException
(SRID.RootRuleAlreadyDefined);
1001
XmlParser.
ThrowSrgsException
(SRID.StateWithNoArcs);
Internal\SrgsCompiler\CfgArc.cs (2)
127
XmlParser.
ThrowSrgsException
(SRID.TooManyArcs);
158
XmlParser.
ThrowSrgsException
(SRID.TooManyArcs);
Internal\SrgsCompiler\CFGGrammar.cs (6)
83
XmlParser.
ThrowSrgsException
(SRID.UnsupportedFormat);
90
XmlParser.
ThrowSrgsException
(SRID.UnsupportedFormat);
103
XmlParser.
ThrowSrgsException
(SRID.UnsupportedFormat);
403
XmlParser.
ThrowSrgsException
(SRID.UnsupportedFormat);
465
XmlParser.
ThrowSrgsException
(SRID.UnsupportedFormat);
494
XmlParser.
ThrowSrgsException
(SRID.UnsupportedFormat);
Internal\SrgsCompiler\CfgRule.cs (1)
179
XmlParser.
ThrowSrgsException
(SRID.TooManyArcs);
Internal\SrgsCompiler\CfgSemanticTag.cs (4)
97
XmlParser.
ThrowSrgsException
(SRID.TooManyArcs);
115
XmlParser.
ThrowSrgsException
(SRID.TooManyArcs);
136
XmlParser.
ThrowSrgsException
(SRID.TooManyArcs);
155
XmlParser.
ThrowSrgsException
(SRID.TooManyArcs);
Internal\SrgsCompiler\CustomGrammar.cs (3)
42
XmlParser.
ThrowSrgsException
(SRID.IncompatibleLanguageProperties);
54
XmlParser.
ThrowSrgsException
(SRID.IncompatibleNamespaceProperties);
91
XmlParser.
ThrowSrgsException
(SRID.RuleDefinedMultipleTimes2, rule.Name);
Internal\SrgsCompiler\GrammarElement.cs (4)
84
XmlParser.
ThrowSrgsException
(SRID.RootNotDefined, _sRoot);
91
XmlParser.
ThrowSrgsException
(SRID.UndefRuleRef, rule.Name);
98
XmlParser.
ThrowSrgsException
(SRID.InvalidSemanticProcessingType);
342
XmlParser.
ThrowSrgsException
(SRID.RuleRedefinition, sRuleId); // "Redefinition of rule ""%s""."
Internal\SrgsCompiler\Item.cs (1)
38
XmlParser.
ThrowSrgsException
((SRID.InvalidTagInAnEmptyItem));
Internal\SrgsCompiler\OneOf.cs (1)
49
XmlParser.
ThrowSrgsException
(SRID.EmptyOneOf);
Internal\SrgsCompiler\Rule.cs (2)
100
XmlParser.
ThrowSrgsException
(SRID.EmptyRule);
112
XmlParser.
ThrowSrgsException
((SRID.MaxTransitionsCount));
Internal\SrgsCompiler\SRGSCompiler.cs (1)
153
XmlParser.
ThrowSrgsException
(SRID.NoScriptsForRules);
Internal\SrgsCompiler\State.cs (2)
194
XmlParser.
ThrowSrgsException
(SRID.MaxTransitionsCount);
245
XmlParser.
ThrowSrgsException
(SRID.CircularRuleRef, _rule != null ? _rule._rule.Name : string.Empty);
Internal\SrgsParser\SrgsDocumentParser.cs (4)
342
XmlParser.
ThrowSrgsException
(SRID.InvalidElement);
351
XmlParser.
ThrowSrgsException
(SRID.InvalidElement);
363
XmlParser.
ThrowSrgsException
(SRID.InvalidElement);
380
XmlParser.
ThrowSrgsException
(SRID.InvalidElement);
Internal\SrgsParser\XmlParser.cs (80)
74
ThrowSrgsException
(SRID.InvalidSrgsNamespace);
79
ThrowSrgsException
(SRID.GrammarDefTwice);
91
ThrowSrgsException
(SRID.InvalidSrgs);
151
XmlParser.
ThrowSrgsException
(SRID.InvalidQuotedString);
158
XmlParser.
ThrowSrgsException
(SRID.InvalidQuotedString);
175
XmlParser.
ThrowSrgsException
(SRID.InvalidTokenString);
291
ThrowSrgsException
(SRID.RootRuleAlreadyDefined);
299
ThrowSrgsException
(SRID.InvalidVersion);
326
ThrowSrgsException
(SRID.InvalidTagFormat);
343
ThrowSrgsException
(SRID.InvalidGrammarMode);
408
ThrowSrgsException
(SRID.UnsupportedPhoneticAlphabet, reader.Value);
421
ThrowSrgsException
(SRID.UnsupportedLanguage, reader.Value);
429
ThrowSrgsException
(SRID.NoName1, "namespace");
437
ThrowSrgsException
(SRID.NoName1, "codebehind");
457
ThrowSrgsException
(SRID.InvalidGrammarAttribute, reader.Name);
464
ThrowSrgsException
(SRID.MissingRequiredAttribute, "version", "grammar");
472
ThrowSrgsException
(SRID.MissingRequiredAttribute, "xml:lang", "grammar");
537
ThrowSrgsException
(SRID.InvalidRuleScope);
564
ThrowSrgsException
(SRID.InvalidDynamicSetting);
573
ThrowSrgsException
(SRID.NoName1, "baseclass");
603
ThrowSrgsException
(SRID.InvalidRuleAttribute, reader.Name);
609
ThrowSrgsException
(SRID.NoRuleId);
614
XmlParser.
ThrowSrgsException
(SRID.OnInitOnPublicRule, "OnInit", id);
619
XmlParser.
ThrowSrgsException
(SRID.OnInitOnPublicRule, "OnRecognition", id);
654
ThrowSrgsException
(SRID.InvalidEmptyRule, "rule", id);
688
ThrowSrgsException
(SRID.InvalidAttributeDefinedTwice, reader.Value, "special");
705
ThrowSrgsException
(SRID.InvalidSpecialRuleRef);
743
ThrowSrgsException
(SRID.InvalidRulerefAttribute, reader.Name);
755
ThrowSrgsException
(SRID.InvalidRuleRef, "uri");
764
ThrowSrgsException
(SRID.NoUriForSpecialRuleRef);
768
ThrowSrgsException
(SRID.NoAliasForSpecialRuleRef);
794
ThrowSrgsException
(SRID.InvalidOneOfAttribute, reader.Name);
845
ThrowSrgsException
(SRID.InvalidItemAttribute, reader.Name);
906
ThrowSrgsException
(SRID.InvalidSubsetAttribute, reader.Name);
914
ThrowSrgsException
(SRID.InvalidEmptyElement, "subset");
951
XmlParser.
ThrowSrgsException
(SRID.EmptyPronunciationString);
956
XmlParser.
ThrowSrgsException
(SRID.MuliplePronunciationString);
970
XmlParser.
ThrowSrgsException
(SRID.EmptyDisplayString);
975
XmlParser.
ThrowSrgsException
(SRID.MultipleDisplayString);
995
ThrowSrgsException
(SRID.InvalidReqConfAttribute, reader.Name);
1008
ThrowSrgsException
(SRID.InvalidTokenAttribute, reader.Name);
1017
ThrowSrgsException
(SRID.InvalidEmptyElement, "token");
1022
ThrowSrgsException
(SRID.InvalidTokenString);
1075
ThrowSrgsException
(SRID.MissingTagFormat);
1091
ThrowSrgsException
(SRID.InvalidTagAttribute, reader.Name);
1128
ThrowSrgsException
(SRID.InvalidLexiconAttribute, reader.Name);
1134
ThrowSrgsException
(SRID.MissingRequiredAttribute, "uri", "lexicon");
1159
ThrowSrgsException
(SRID.MetaNameHTTPEquiv);
1176
ThrowSrgsException
(SRID.InvalidMetaAttribute, reader.Name);
1182
ThrowSrgsException
(SRID.MissingRequiredAttribute, "content", "meta");
1186
ThrowSrgsException
(SRID.MissingRequiredAttribute, "name or http-equiv", "meta");
1200
ThrowSrgsException
(SRID.InvalidScriptAttribute);
1213
ThrowSrgsException
(SRID.RuleAttributeDefinedMultipleTimes);
1218
ThrowSrgsException
(SRID.InvalidScriptAttribute);
1244
ThrowSrgsException
(SRID.InvalidScriptAttribute);
1255
ThrowSrgsException
(SRID.InvalidAssemblyReferenceAttribute);
1270
ThrowSrgsException
(SRID.InvalidScriptAttribute);
1281
ThrowSrgsException
(SRID.InvalidImportNamespaceAttribute);
1309
ThrowSrgsException
(SRID.InvalidNotEmptyElement, parentName);
1322
ThrowSrgsException
(SRID.InvalidExampleOrdering);
1397
ThrowSrgsException
(SRID.InvalidNotEmptyElement, parentName);
1410
ThrowSrgsException
(SRID.InvalidElement, reader.Name);
1533
ThrowSrgsException
(SRID.InvalidGrammarOrdering);
1541
ThrowSrgsException
(SRID.InvalidGrammarOrdering);
1549
ThrowSrgsException
(SRID.InvalidGrammarOrdering);
1563
ThrowSrgsException
(SRID.InvalidGrammarOrdering);
1607
ThrowSrgsException
(SRID.InvalidElement, "text");
1615
ThrowSrgsException
(SRID.InvalidElement, reader.Name);
1659
ThrowSrgsException
(SRID.InvalidElement, reader.Name);
1706
XmlParser.
ThrowSrgsException
(SRID.IncorrectAttributeValue, name, sTag.Substring(iEqual));
1746
XmlParser.
ThrowSrgsException
(SRID.InvalidNameValueProperty, name, sValue);
1774
XmlParser.
ThrowSrgsException
(SRID.MinMaxOutOfRange, minmax, minmax);
1792
XmlParser.
ThrowSrgsException
(SRID.MinMaxOutOfRange, minRepeat, maxRepeat);
1803
ThrowSrgsException
(SRID.InvalidItemRepeatAttribute, repeat);
1808
ThrowSrgsException
(SRID.InvalidItemAttribute2);
1822
XmlParser.
ThrowSrgsException
(SRID.InvalidAttributeDefinedTwice, reader.Value, attribute);
1834
XmlParser.
ThrowSrgsException
(SRID.InvalidRuleId, id);
1847
ThrowSrgsException
(SRID.InvalidRuleRefSelf);
1859
ThrowSrgsException
(SRID.InvalidScriptDefinition, script._name);
1869
XmlParser.
ThrowSrgsException
(SRID.RuleAttributeDefinedMultipleTimes, rule);
Recognition\SrgsGrammar\SrgsGrammar.cs (4)
169
XmlParser.
ThrowSrgsException
(SRID.RootNotDefined, _root.Id);
189
XmlParser.
ThrowSrgsException
(SRID.InvalidSemanticProcessingType);
223
XmlParser.
ThrowSrgsException
(SRID.RootNotDefined, _sRoot);
237
XmlParser.
ThrowSrgsException
(SRID.InvalidScriptDefinition);
Recognition\SrgsGrammar\SrgsNameValueTag.cs (1)
122
XmlParser.
ThrowSrgsException
(SRID.SapiPropertiesAndSemantics);
Recognition\SrgsGrammar\SrgsRule.cs (5)
200
XmlParser.
ThrowSrgsException
(SRID.InvalidEmptyRule, "rule", _id);
298
XmlParser.
ThrowSrgsException
(SRID.OnInitOnPublicRule, "OnInit", Id);
303
XmlParser.
ThrowSrgsException
(SRID.OnInitOnPublicRule, "OnRecognition", Id);
385
XmlParser.
ThrowSrgsException
(SRID.ConstructorNotAllowed, _id);
390
XmlParser.
ThrowSrgsException
(SRID.InvalidMethodName);
Recognition\SrgsGrammar\SrgsRuleRef.cs (2)
153
XmlParser.
ThrowSrgsException
(SRID.InvalidSpecialRuleRef);
210
XmlParser.
ThrowSrgsException
(SRID.UndefRuleRef, sUri);
Recognition\SrgsGrammar\SrgsSemanticInterpretationTag.cs (1)
61
XmlParser.
ThrowSrgsException
(SRID.SapiPropertiesAndSemantics);