system\globalization\culturedata.cs (6)
2113StringBuilder sb = new StringBuilder(time.Substring(0, j));
2832result = new StringBuilder(str, start, i - start, str.Length);
2838result = new StringBuilder(str, start, i - start, str.Length);
2898result = new StringBuilder(str, 0, i, str.Length * 2);
2921result = new StringBuilder(str, 0, i, str.Length * 2);
3249StringBuilder sb = new StringBuilder(testString.Length);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
551StringBuilder sb = new StringBuilder();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyActiveEditModeStateContainer.cs (1)
70StringBuilder sb = new StringBuilder();
microsoft\win32\win32native.cs (21)
738int dwMessageId, int dwLanguageId, [Out]StringBuilder lpBuffer,
743StringBuilder sb = StringBuilderCache.Acquire(512);
856internal static extern uint GetTempPath(int bufferLen, [Out]StringBuilder buffer);
943internal unsafe static extern int GetFullPathName(String path, int numBufferChars, [Out]StringBuilder buffer, IntPtr mustBeZero);
951internal static extern int GetLongPathName(String path, [Out]StringBuilder longPathBuffer, int bufferLength);
1114internal static extern bool GetVolumeInformation(String drive, [Out]StringBuilder volumeName, int volumeNameBufLen, out int volSerialNumber, out int maxFileNameLen, out int fileSystemFlags, [Out]StringBuilder fileSystemName, int fileSystemNameBufLen);
1162internal static extern int GetWindowsDirectory([Out]StringBuilder sb, int length);
1166internal static extern int GetSystemDirectory([Out]StringBuilder sb, int length);
1434[Out]StringBuilder lpBuffer);
1454internal static extern uint GetTempFileName(String tmpPath, String prefix, uint uniqueIdOrZero, [Out]StringBuilder tmpFileName);
1531internal static extern int GetEnvironmentVariable(string lpName, [Out]StringBuilder lpValue, int size);
1547internal static extern bool GetUserName([Out]StringBuilder lpBuffer, ref int nSize);
1551internal extern static int GetComputerName([Out]StringBuilder nameBuffer, ref int bufferSize);
1798[Out]StringBuilder lpClass, int[] lpcbClass,
1825internal static extern int RegQueryInfoKey(SafeRegistryHandle hKey, [Out]StringBuilder lpClass,
1859int[] lpReserved, ref int lpType, [Out]StringBuilder lpData,
1884internal static extern int ExpandEnvironmentStrings(String lpSrc, [Out]StringBuilder lpDst, int nSize);
1982internal static extern int SHGetFolderPath(IntPtr hwndOwner, int nFolder, IntPtr hToken, int dwFlags, [Out]StringBuilder lpszPath);
1990internal static extern byte GetUserNameEx(int format, [Out]StringBuilder domainName, ref uint domainNameLen);
1995ref int sidLen, [Out]StringBuilder domainName, ref uint domainNameLen, out int peUse);
system\globalization\datetimeformat.cs (14)
174internal static void FormatDigits(StringBuilder outputBuffer, int value, int len) {
180internal unsafe static void FormatDigits(StringBuilder outputBuffer, int value, int len, bool overrideLengthLimit) {
210private static void HebrewFormatDigits(StringBuilder outputBuffer, int digits) {
299internal static int ParseQuoteString(String format, int pos, StringBuilder result)
438StringBuilder result = StringBuilderCache.Acquire();
653StringBuilder enquotedString = new StringBuilder();
717private static void FormatCustomizedTimeZone(DateTime dateTime, TimeSpan offset, String format, Int32 tokenLen, Boolean timeOnly, StringBuilder result) {
768private static void FormatCustomizedRoundripTimeZone(DateTime dateTime, TimeSpan offset, StringBuilder result) {
982internal static StringBuilder FastFormatRfc1123(DateTime dateTime, TimeSpan offset, DateTimeFormatInfo dtfi)
986StringBuilder result = StringBuilderCache.Acquire(Rfc1123FormatLength);
1013internal static StringBuilder FastFormatRoundtrip(DateTime dateTime, TimeSpan offset)
1017StringBuilder result = StringBuilderCache.Acquire(roundTripFormatLength);
1039private static void AppendHHmmssTimeOfDay(StringBuilder result, DateTime dateTime)
1049internal static void AppendNumber(StringBuilder builder, long val, int digits)
system\number.cs (2)
741private unsafe static Boolean ParseNumber(ref char * str, NumberStyles options, ref NumberBuffer number, StringBuilder sb, NumberFormatInfo numfmt, Boolean parseDecimal) {
1204internal unsafe static Boolean TryStringToNumber(String str, NumberStyles options, ref NumberBuffer number, StringBuilder sb, NumberFormatInfo numfmt, Boolean parseDecimal) {
system\text\stringbuilder.cs (140)
57internal StringBuilder m_ChunkPrevious; // Link to the block logically before this block
262StringBuilder currentBlock = this;
274StringBuilder prevBlock = currentBlock.m_ChunkPrevious;
339StringBuilder chunk = this;
396StringBuilder chunk = this;
447public StringBuilder Clear() {
492StringBuilder chunk = FindChunkForIndex(value);
519StringBuilder chunk = this;
535StringBuilder chunk = this;
554public StringBuilder Append(char value, int repeatCount) {
558Contract.Ensures(Contract.Result<StringBuilder>() != null);
587public StringBuilder Append(char[] value, int startIndex, int charCount) {
601Contract.Ensures(Contract.Result<StringBuilder>() != null);
634public StringBuilder Append(String value) {
635Contract.Ensures(Contract.Result<StringBuilder>() != null);
693public StringBuilder Append(String value, int startIndex, int count) {
708Contract.Ensures(Contract.Result<StringBuilder>() != null);
742public StringBuilder AppendLine() {
743Contract.Ensures(Contract.Result<StringBuilder>() != null);
748public StringBuilder AppendLine(string value) {
749Contract.Ensures(Contract.Result<StringBuilder>() != null);
785StringBuilder chunk = this;
820public StringBuilder Insert(int index, String value, int count) {
824Contract.Ensures(Contract.Result<StringBuilder>() != null);
846StringBuilder chunk;
865public StringBuilder Remove(int startIndex, int length) {
877Contract.Ensures(Contract.Result<StringBuilder>() != null);
888StringBuilder chunk;
905public StringBuilder Append(bool value) {
906Contract.Ensures(Contract.Result<StringBuilder>() != null);
913public StringBuilder Append(sbyte value) {
914Contract.Ensures(Contract.Result<StringBuilder>() != null);
920public StringBuilder Append(byte value) {
921Contract.Ensures(Contract.Result<StringBuilder>() != null);
926public StringBuilder Append(char value) {
927Contract.Ensures(Contract.Result<StringBuilder>() != null);
938public StringBuilder Append(short value) {
939Contract.Ensures(Contract.Result<StringBuilder>() != null);
945public StringBuilder Append(int value) {
946Contract.Ensures(Contract.Result<StringBuilder>() != null);
952public StringBuilder Append(long value) {
953Contract.Ensures(Contract.Result<StringBuilder>() != null);
959public StringBuilder Append(float value) {
960Contract.Ensures(Contract.Result<StringBuilder>() != null);
966public StringBuilder Append(double value) {
967Contract.Ensures(Contract.Result<StringBuilder>() != null);
971public StringBuilder Append(decimal value) {
972Contract.Ensures(Contract.Result<StringBuilder>() != null);
979public StringBuilder Append(ushort value) {
980Contract.Ensures(Contract.Result<StringBuilder>() != null);
987public StringBuilder Append(uint value) {
988Contract.Ensures(Contract.Result<StringBuilder>() != null);
995public StringBuilder Append(ulong value) {
996Contract.Ensures(Contract.Result<StringBuilder>() != null);
1002public StringBuilder Append(Object value) {
1003Contract.Ensures(Contract.Result<StringBuilder>() != null);
1014public StringBuilder Append(char[] value) {
1015Contract.Ensures(Contract.Result<StringBuilder>() != null);
1037public StringBuilder Insert(int index, String value) {
1041Contract.Ensures(Contract.Result<StringBuilder>() != null);
1059public StringBuilder Insert( int index, bool value) {
1060Contract.Ensures(Contract.Result<StringBuilder>() != null);
1070public StringBuilder Insert(int index, sbyte value) {
1071Contract.Ensures(Contract.Result<StringBuilder>() != null);
1080public StringBuilder Insert(int index, byte value) {
1081Contract.Ensures(Contract.Result<StringBuilder>() != null);
1090public StringBuilder Insert(int index, short value) {
1091Contract.Ensures(Contract.Result<StringBuilder>() != null);
1100public StringBuilder Insert(int index, char value) {
1101Contract.Ensures(Contract.Result<StringBuilder>() != null);
1114public StringBuilder Insert(int index, char[] value) {
1118Contract.Ensures(Contract.Result<StringBuilder>() != null);
1131public StringBuilder Insert(int index, char[] value, int startIndex, int charCount) {
1132Contract.Ensures(Contract.Result<StringBuilder>() != null);
1176public StringBuilder Insert(int index, int value){
1177Contract.Ensures(Contract.Result<StringBuilder>() != null);
1186public StringBuilder Insert(int index, long value) {
1187Contract.Ensures(Contract.Result<StringBuilder>() != null);
1196public StringBuilder Insert(int index, float value) {
1197Contract.Ensures(Contract.Result<StringBuilder>() != null);
1206public StringBuilder Insert(int index, double value) {
1207Contract.Ensures(Contract.Result<StringBuilder>() != null);
1211public StringBuilder Insert(int index, decimal value) {
1212Contract.Ensures(Contract.Result<StringBuilder>() != null);
1221public StringBuilder Insert(int index, ushort value) {
1222Contract.Ensures(Contract.Result<StringBuilder>() != null);
1231public StringBuilder Insert(int index, uint value) {
1232Contract.Ensures(Contract.Result<StringBuilder>() != null);
1241public StringBuilder Insert(int index, ulong value) {
1242Contract.Ensures(Contract.Result<StringBuilder>() != null);
1251public StringBuilder Insert(int index, Object value) {
1252Contract.Ensures(Contract.Result<StringBuilder>() != null);
1262public StringBuilder AppendFormat(String format, Object arg0) {
1263Contract.Ensures(Contract.Result<StringBuilder>() != null);
1267public StringBuilder AppendFormat(String format, Object arg0, Object arg1) {
1268Contract.Ensures(Contract.Result<StringBuilder>() != null);
1272public StringBuilder AppendFormat(String format, Object arg0, Object arg1, Object arg2) {
1273Contract.Ensures(Contract.Result<StringBuilder>() != null);
1277public StringBuilder AppendFormat(String format, params Object[] args) {
1290public StringBuilder AppendFormat(IFormatProvider provider, String format, Object arg0) {
1291Contract.Ensures(Contract.Result<StringBuilder>() != null);
1295public StringBuilder AppendFormat(IFormatProvider provider, String format, Object arg0, Object arg1) {
1296Contract.Ensures(Contract.Result<StringBuilder>() != null);
1300public StringBuilder AppendFormat(IFormatProvider provider, String format, Object arg0, Object arg1, Object arg2) {
1301Contract.Ensures(Contract.Result<StringBuilder>() != null);
1305public StringBuilder AppendFormat(IFormatProvider provider, String format, params Object[] args) {
1322internal StringBuilder AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args) {
1326Contract.Ensures(Contract.Result<StringBuilder>() != null);
1404StringBuilder fmt = null;
1485public StringBuilder Replace(String oldValue, String newValue) {
1486Contract.Ensures(Contract.Result<StringBuilder>() != null);
1490public bool Equals(StringBuilder sb)
1499StringBuilder thisChunk = this;
1501StringBuilder sbChunk = sb;
1535public StringBuilder Replace(String oldValue, String newValue, int startIndex, int count)
1537Contract.Ensures(Contract.Result<StringBuilder>() != null);
1566StringBuilder chunk = FindChunkForIndex(startIndex);
1620public StringBuilder Replace(char oldChar, char newChar) {
1623public StringBuilder Replace(char oldChar, char newChar, int startIndex, int count) {
1624Contract.Ensures(Contract.Result<StringBuilder>() != null);
1636StringBuilder chunk = this;
1664public unsafe StringBuilder Append(char* value, int valueCount)
1715StringBuilder chunk;
1729private void ReplaceAllInChunk(int[] replacements, int replacementsCount, StringBuilder sourceChunk, int removeCount, string value)
1740StringBuilder targetChunk = sourceChunk; // the target as we copy chars down
1785private bool StartsWith(StringBuilder chunk, int indexInChunk, int count, string value)
1816unsafe private void ReplaceInPlaceAtChunk(ref StringBuilder chunk, ref int indexInChunk, char* value, int count)
1891StringBuilder currentSrc = FindChunkForByte(len);
1915private StringBuilder FindChunkForIndex(int index)
1919StringBuilder ret = this;
1932private StringBuilder FindChunkForByte(int byteIndex)
1936StringBuilder ret = this;
1950private StringBuilder Next(StringBuilder chunk)
2000private StringBuilder(StringBuilder from)
2024private void MakeRoom(int index, int count, out StringBuilder chunk, out int indexInChunk, bool doneMoveFollowingChars)
2056StringBuilder newChunk = new StringBuilder(Math.Max(count, DefaultCapacity), chunk.m_MaxCapacity, chunk.m_ChunkPrevious);
2092private StringBuilder(int size, int maxCapacity, StringBuilder previousBlock)
2109private void Remove(int startIndex, int count, out StringBuilder chunk, out int indexInChunk)
2118StringBuilder endChunk = null;
Core\CSharp\System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (12)
316[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder wzAuthor,
326[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder wzVersion,
336[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder wzSpecVersion,
346[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder wzFriendlyName,
368[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder wzDeviceManufacturer,
379[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder wzDeviceModels,
390[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder wzMimeTypes,
401[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder wzFileExtensions,
455[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder wzNamespace,
1506[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder wzName,
1557internal static extern int /* HRESULT */ GetColorDirectory(IntPtr pMachineName, StringBuilder pBuffer, out uint pdwSize);
1560internal static extern int /* HRESULT */ GetStandardColorSpaceProfile(IntPtr pMachineName, uint dwProfileID, StringBuilder pProfileName, out uint pdwSize);
src\Framework\MS\Internal\AppModel\ShellProvider.cs (7)
409void GetPath([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszFile, int cchMaxPath, [In, Out] WIN32_FIND_DATAW pfd, SLGP fFlags);
412void GetDescription([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszFile, int cchMaxName);
414void GetWorkingDirectory([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszDir, int cchMaxPath);
416void GetArguments([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszArgs, int cchMaxPath);
422void GetIconLocation([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszIconPath, int cchIconPath, out int piIcon);
994var pathBuilder = new StringBuilder(NativeMethods.MAX_PATH);
1084internal static extern HRESULT SHGetFolderPathEx([In] ref Guid rfid, KF_FLAG dwFlags, [In, Optional] IntPtr hToken, [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszPath, uint cchPath);
src\Framework\System\Windows\Documents\TextRangeBase.cs (8)
679StringBuilder textBuffer = new StringBuilder();
759private static void PlainConvertTextRun(StringBuilder textBuffer, ITextPointer navigator, ITextPointer endPosition, ref Char[] charArray)
771private static void PlainConvertParagraphEnd(StringBuilder textBuffer, ITextPointer navigator)
836private static void PlainConvertListItemStart(StringBuilder textBuffer, ITextPointer navigator, ref Stack<int> listItemCounter)
870private static void PlainConvertAccessKey(StringBuilder textBuffer, ITextPointer navigator)
902private static void WriteListMarker(StringBuilder textBuffer, TextMarkerStyle listMarkerStyle, int listItemNumber)
1135StringBuilder builder = new StringBuilder();
1158StringBuilder builder,
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (5)
2317private StringBuilder _rtfBuilder;
3067StringBuilder sb = new StringBuilder();
3897internal static void AppendRTFText(StringBuilder sb, string s, int cp)
3937private static void AppendRtfChar(StringBuilder sb, char c, int cp, ref Encoding e, byte[] rgAnsi, char[] rgChar)
4020private static void AppendRtfUnicodeChar(StringBuilder sb, char c, int cp, ref Encoding e, byte[] rgAnsi, char[] rgChar)
src\Framework\System\Windows\Standard\ShellProvider.cs (5)
688void GetPath([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszFile, int cchMaxPath, [In, Out] WIN32_FIND_DATAW pfd, SLGP fFlags);
691void GetDescription([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszFile, int cchMaxName);
693void GetWorkingDirectory([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszDir, int cchMaxPath);
695void GetArguments([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszArgs, int cchMaxPath);
701void GetIconLocation([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszIconPath, int cchIconPath, out int piIcon);
compmod\microsoft\win32\NativeMethods.cs (6)
192StringBuilder lpCommandLine, // LPTSTR - note: CreateProcess might insert a null somewhere in this string
286StringBuilder cmdLine,
1211public static extern int GetModuleFileNameEx(HandleRef processHandle, HandleRef moduleHandle, StringBuilder baseName, int size);
1218public static extern int GetModuleBaseName(SafeProcessHandle processHandle, HandleRef moduleHandle, StringBuilder baseName, int size);
1221public static extern int GetModuleFileNameEx(SafeProcessHandle processHandle, HandleRef moduleHandle, StringBuilder baseName, int size);
1373public static extern int GetWindowText(HandleRef hWnd, StringBuilder lpString, int nMaxCount);
compmod\microsoft\win32\UnsafeNativeMethods.cs (4)
333public extern static int LookupAccountSid(string systemName, byte[] pSid, StringBuilder szUserName, ref int userNameSize, StringBuilder szDomainName, ref int domainNameSize, ref int eUse);
361public static extern int GetModuleFileName(HandleRef hModule, StringBuilder buffer, int length);
367public static extern int VerLanguageName( int langID, StringBuilder lpBuffer, int nSize);
net\System\Net\mail\MailBnfHelper.cs (8)
177internal static string ReadQuotedString(string data, ref int offset, StringBuilder builder){
181internal static string ReadQuotedString(string data, ref int offset, StringBuilder builder, bool doesntRequireQuotes, bool permitUnicodeInDisplayName)
188StringBuilder localBuilder = (builder != null ? builder : new StringBuilder());
232internal static string ReadParameterAttribute(string data, ref int offset, StringBuilder builder)
240internal static string ReadToken(string data, ref int offset, StringBuilder builder)
264internal static string GetDateTimeString(DateTime value, StringBuilder builder)
266StringBuilder localBuilder = (builder != null ? builder : new StringBuilder());
302internal static void GetTokenOrQuotedString(string data, StringBuilder builder, bool allowUnicode)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
551StringBuilder sb = new StringBuilder();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyActiveEditModeStateContainer.cs (1)
70StringBuilder sb = new StringBuilder();
System\Data\Common\Utils\StringUtil.cs (15)
39StringBuilder sb = new StringBuilder();
59StringBuilder builder = new StringBuilder();
78StringBuilder builder = new StringBuilder();
88StringBuilder builder = new StringBuilder();
95internal static void ToCommaSeparatedString(StringBuilder builder, IEnumerable list) {
99internal static void ToCommaSeparatedStringSorted(StringBuilder builder, IEnumerable list) {
103internal static void ToSeparatedString(StringBuilder builder, IEnumerable list, string separator) {
107internal static void ToSeparatedStringSorted(StringBuilder builder, IEnumerable list, string separator) {
113internal static void ToSeparatedString(StringBuilder stringBuilder, IEnumerable list, string separator,
121private static void ToSeparatedStringPrivate(StringBuilder stringBuilder, IEnumerable list, string separator,
212internal static StringBuilder FormatStringBuilder(StringBuilder builder, string format, params object[] args) {
221internal static StringBuilder IndentNewLine(StringBuilder builder, int indent) {
231System.Text.StringBuilder builder = new System.Text.StringBuilder(arrayVarName.Length + 10 + 2);
System\Data\Mapping\ViewGeneration\Structures\BoolExpressionVisitors.cs (40)
222private sealed class AsEsqlVisitor : AsCqlVisitor<StringBuilder>
224internal static StringBuilder AsEsql(DomainBoolExpr expression, StringBuilder builder, string blockAlias)
227return expression.Accept<StringBuilder>(visitor);
231private AsEsqlVisitor(StringBuilder builder, string blockAlias)
237private readonly StringBuilder m_builder;
242internal override StringBuilder VisitTrue(DomainTrueExpr expression)
248internal override StringBuilder VisitFalse(DomainFalseExpr expression)
254protected override StringBuilder BooleanLiteralAsCql(BoolLiteral literal, bool skipIsNotNull)
259protected override StringBuilder NotExprAsCql(DomainNotExpr expression)
267internal override StringBuilder VisitAnd(DomainAndExpr expression)
272internal override StringBuilder VisitOr(DomainOrExpr expression)
277private StringBuilder VisitAndOr(DomainTreeExpr expression, ExprType kind)
421private class AsUserStringVisitor : Visitor<BoolDomainConstraint, StringBuilder>
425private AsUserStringVisitor(StringBuilder builder, string blockAlias)
435private StringBuilder m_builder;
442internal static StringBuilder AsUserString(DomainBoolExpr expression, StringBuilder builder, string blockAlias)
445return expression.Accept<StringBuilder>(visitor);
450internal override StringBuilder VisitTrue(DomainTrueExpr expression)
456internal override StringBuilder VisitFalse(DomainFalseExpr expression)
462internal override StringBuilder VisitTerm(DomainTermExpr expression)
477internal override StringBuilder VisitNot(DomainNotExpr expression)
497internal override StringBuilder VisitAnd(DomainAndExpr expression)
502internal override StringBuilder VisitOr(DomainOrExpr expression)
507private StringBuilder VisitAndOr(DomainTreeExpr expression, ExprType kind)
613private class CompactStringVisitor : Visitor<BoolDomainConstraint, StringBuilder>
617private CompactStringVisitor(StringBuilder builder)
623private StringBuilder m_builder;
625internal static StringBuilder ToBuilder(DomainBoolExpr expression, StringBuilder builder)
628return expression.Accept<StringBuilder>(visitor);
633internal override StringBuilder VisitTrue(DomainTrueExpr expression)
639internal override StringBuilder VisitFalse(DomainFalseExpr expression)
645internal override StringBuilder VisitTerm(DomainTermExpr expression)
652internal override StringBuilder VisitNot(DomainNotExpr expression)
660internal override StringBuilder VisitAnd(DomainAndExpr expression)
665internal override StringBuilder VisitOr(DomainOrExpr expression)
670private StringBuilder VisitAndOr(DomainTreeExpr expression, string opAsString)
673StringBuilder builder = m_builder;
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (7)
227internal StringBuilder AsEsql(StringBuilder builder, IEnumerable<WithRelationship> withRelationships, string blockAlias, int indentLevel)
289private static StringBuilder CaseSlotValueAsEsql(StringBuilder builder, ProjectedSlot slot, MemberPath outputMember, string blockAlias, IEnumerable<WithRelationship> withRelationships, int indentLevel)
299private static void WithRelationshipsClauseAsEsql(StringBuilder builder, IEnumerable<WithRelationship> withRelationships, string blockAlias, int indentLevel, ProjectedSlot slot)
376internal override void ToCompactString(StringBuilder builder)
445internal override void ToCompactString(StringBuilder builder)
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (11)
115internal override StringBuilder AsEsql(StringBuilder builder, MemberPath outputMember, string blockAlias)
130internal StringBuilder AsEsql(StringBuilder builder, string blockAlias, IEnumerable<Constant> constants, MemberPath outputMember, bool skipIsNotNull)
162internal StringBuilder AsUserString(StringBuilder builder, string blockAlias, IEnumerable<Constant> constants, MemberPath outputMember, bool skipIsNotNull)
210private StringBuilder ToStringHelper(StringBuilder builder, string blockAlias, IEnumerable<Constant> constants, MemberPath outputMember, bool skipIsNotNull, bool userString)
265StringBuilder builder = new StringBuilder();
281StringBuilder result = new StringBuilder();
287internal override void ToCompactString(StringBuilder builder)
UI\Html32TextWriter.cs (14)
34private StringBuilder _afterContent;
35private StringBuilder _afterTag;
36private StringBuilder _beforeContent;
37private StringBuilder _beforeTag;
127private void AppendFontTag(StringBuilder sbBegin,StringBuilder sbEnd) {
131private void AppendFontTag(string fontFace, string fontColor, string fontSize, StringBuilder sbBegin,StringBuilder sbEnd) {
166private void AppendOtherTag(string tag,StringBuilder sbBegin,StringBuilder sbEnd) {
176private void AppendOtherTag(string tag, object[] attribs, StringBuilder sbBegin, StringBuilder sbEnd) {
193private void ConsumeFont(StringBuilder sbBegin, StringBuilder sbEnd) {
UnsafeNativeMethods.cs (39)
62public extern static int LookupAccountSid(string systemName, IntPtr pSid, StringBuilder szName, ref int nameSize, StringBuilder szDomain, ref int domainSize, ref int eUse);
78internal static extern void STWNDGetLocalAddress(IntPtr tracker, StringBuilder buf);
84internal static extern void STWNDGetRemoteAddress(IntPtr tracker, StringBuilder buf);
94internal static extern void STWNDSendResponse(IntPtr tracker, StringBuilder status, int statusLength,
95StringBuilder headers, int headersLength, IntPtr unmanagedState);
237internal extern static int GetComputerName(StringBuilder nameBuffer, ref int bufferSize);
240internal /*public*/ extern static int GetModuleFileName(IntPtr module, StringBuilder filename, int size);
402StringBuilder szName,
404StringBuilder szData,
406StringBuilder szPath,
422internal static extern IntPtr CreateUserToken(string name, string password, int fImpersonationToken, StringBuilder strError, int iErrorSize);
505internal static extern int EcbGetQueryString(IntPtr pECB, int encode, StringBuilder buffer, int size);
597internal static extern int GetGroupsForUser(IntPtr token, StringBuilder allGroups, int allGrpSize, StringBuilder error, int errorSize);
651internal static extern int IsUserInRole(IntPtr token, string rolename, StringBuilder error, int errorSize);
657internal static extern int GetCredentialFromRegistry(String strRegKey, StringBuilder buffer, int size);
693StringBuilder szBufOut,
718StringBuilder szAuthVal,
745StringBuilder szOut,
751StringBuilder szOut,
761StringBuilder szAuthCookieRet,
762StringBuilder szProfCookieRet,
778StringBuilder szAuthVal,
792StringBuilder szAuthVal,
804StringBuilder szMember,
817StringBuilder szValue,
865StringBuilder szValue,
880StringBuilder szValue,
904StringBuilder szDest,
934internal static extern int IsapiAppHostMapPath(String appId, String virtualPath, StringBuilder buffer, int size);
937internal static extern int IsapiAppHostGetAppPath(String aboPath, StringBuilder buffer, int size);
940internal static extern int IsapiAppHostGetUncUser(String appId, StringBuilder usernameBuffer, int usernameSize, StringBuilder passwordBuffer, int passwordSize);
943internal static extern int IsapiAppHostGetSiteName(String appId, StringBuilder buffer, int size);
946internal static extern int IsapiAppHostGetSiteId(String site, StringBuilder buffer, int size);
949internal static extern int IsapiAppHostGetNextVirtualSubdir(String aboPath, bool inApp, ref int index, StringBuilder sb, int size);
1005internal static extern int PMGetQueryString(IntPtr pMsg, int encode, StringBuilder buffer, int size);
1170internal static extern int GetCachePath(int dwCacheFlags, StringBuilder pwzCachePath, ref int pcchPath);
System\Xml\BinaryXml\SqlUtils.cs (17)
587static void Write2Dig( StringBuilder sb, int val ) {
592static void Write4DigNeg(StringBuilder sb, int val) {
602static void Write3Dec(StringBuilder sb, int val) {
615static void WriteDate(StringBuilder sb, int yr, int mnth, int day) {
623static void WriteTime(StringBuilder sb, int hr, int min, int sec, int ms) {
634static void WriteTimeFullPrecision(StringBuilder sb, int hr, int min, int sec, int fraction) {
657static void WriteTimeZone(StringBuilder sb, TimeSpan zone) {
666static void WriteTimeZone(StringBuilder sb, bool negTimeZone, int hr, int min) {
746StringBuilder sb = new StringBuilder(20);
762StringBuilder sb = new StringBuilder(20);
779StringBuilder sb = new StringBuilder(16);
894StringBuilder sb = new StringBuilder(10);
901StringBuilder sb = new StringBuilder(33);
910StringBuilder sb = new StringBuilder(16);
917StringBuilder sb = new StringBuilder(16);
925StringBuilder sb = new StringBuilder(39);
935StringBuilder sb = new StringBuilder(22);
System\Xml\Core\XmlTextReaderImpl.cs (15)
29using BufferBuilder = System.Text.StringBuilder;
279BufferBuilder stringBuilder;
2283internal int DtdParserProxy_ParseNumericCharRef( BufferBuilder internalSubsetBuilder ) {
2288internal int DtdParserProxy_ParseNamedCharRef( bool expand, BufferBuilder internalSubsetBuilder ) {
2292internal void DtdParserProxy_ParsePI( BufferBuilder sb ) {
2304internal void DtdParserProxy_ParseComment( BufferBuilder sb ) {
3296BufferBuilder sb = isTextDecl ? new BufferBuilder() : stringBuilder;
5643private bool ParsePI( BufferBuilder piInDtdStringBuilder ) {
5696BufferBuilder sb;
6380private int EatWhitespaces( BufferBuilder sb ) {
6479private int ParseNumericCharRef( bool expand, BufferBuilder internalSubsetBuilder, out EntityType entityType ) {
6506private int ParseNumericCharRefInline( int startPos, bool expand, BufferBuilder internalSubsetBuilder, out int charCount, out EntityType entityType ) {
6621private int ParseNamedCharRef( bool expand, BufferBuilder internalSubsetBuilder ) {
6649private int ParseNamedCharRefInline( int startPos, bool expand, BufferBuilder internalSubsetBuilder ) {
8584StringBuilder norValue = null;