10 references to Stream
System.Speech (10)
Internal\SrgsCompiler\BackEnd.cs (8)
54long startStreamPosition = streamBuffer.Stream.Position; 104System.Diagnostics.Debug.Assert(streamBuffer.Stream.Position - startStreamPosition == header.pszWords); 107System.Diagnostics.Debug.Assert(streamBuffer.Stream.Position - startStreamPosition == header.pszSymbols); 110System.Diagnostics.Debug.Assert(streamBuffer.Stream.Position - startStreamPosition == header.pRules); 134System.Diagnostics.Debug.Assert(streamBuffer.Stream.Position - startStreamPosition == header.pArcs); 146System.Diagnostics.Debug.Assert(streamBuffer.Stream.Position - startStreamPosition == header.pWeights); 153System.Diagnostics.Debug.Assert(streamBuffer.Stream.Position - startStreamPosition == header.tags); 184System.Diagnostics.Debug.Assert(header.pScripts == 0 || streamBuffer.Stream.Position - startStreamPosition == header.pScripts);
Internal\SrgsCompiler\CFGGrammar.cs (2)
250cfgSerializedHeader = new CfgSerializedHeader(streamHelper.Stream); 303streamHelper.Stream.Position = (int)cfgSerializedHeader.pRules + (header.rules.Length * Marshal.SizeOf<CfgRule>());