990 references to Substring
ComSvcConfig (5)
parent\svcutil\CommandLineParser.cs (5)
29this.name = (name.Substring(1)).ToLower(CultureInfo.InvariantCulture); 33this.abbreviation = (abbreviation.Substring(1)).ToLower(CultureInfo.InvariantCulture); 64temp = (other.Substring(1)).ToLower(CultureInfo.InvariantCulture); 181arg = arg.Substring(1); 195argValue = arg.Substring(delim + 1);
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (1)
134activityNamespace = fullActivityNamespace.Substring(subStringIndex);
mscorlib (62)
system\__filters.cs (2)
122name = name.Substring(name.LastIndexOf('+') + 1); 147name = name.Substring(name.LastIndexOf('+') + 1);
system\AppContext\AppContextDefaultValues.cs (1)
135value = value.Substring(1);
system\appdomain.cs (1)
4709StringBuilder config = new StringBuilder(imageLocation.Substring(i+1));
system\AppDomainSetup.cs (2)
244ApplicationName = imageLocation.Substring(i+1); 397path = path.Substring(trim);
system\cfgparser.cs (1)
263treeRootPath = configPath.Substring(1).Split('/');
system\diagnostics\eventing\eventsource.cs (2)
5358string sFreq = activityFilterString.Substring(colonIdx + 1); 6581var evtName = key.Substring("event_".Length);
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (2)
744string etwTrait = m_traits[i].Substring(4); 781metaData.AddRange(Encoding.UTF8.GetBytes(value.Substring(1)));
system\globalization\culturedata.cs (1)
2118sb.Append(time.Substring(endIndex));
system\globalization\datetimeformatinfo.cs (2)
2518monthPostfix = dateWords[i].Substring(1); 2523String symbol = dateWords[i].Substring(1);
system\globalization\hijricalendar.cs (1)
287str = str.Substring(HijriAdvanceRegKeyEntry.Length);
system\globalization\stringinfo.cs (1)
166return(this.String.Substring(start));
system\io\filesystemenumerable.cs (2)
623searchCriteria = fullSearchString.Substring(fullPathMod.Length); 628searchCriteria = fullSearchString.Substring(fullPathMod.Length + 1);
system\io\isolatedstorage\isolatedstoragefile.cs (1)
1612sb.Append(path.Substring(1));
system\io\path.cs (2)
972return path.Substring(4); 1384searchPattern = searchPattern.Substring(index + 2);
system\io\pathinternal.cs (1)
192return path.Substring(DevicePrefixLength);
system\reflection\emit\modulebuilder.cs (2)
93return typeName.Substring(i + 1); 932parameters = className.Substring(i);
system\reflection\emit\typebuilder.cs (1)
678m_strName = fullname.Substring(iLast + 1);
system\resources\resourcemanager.cs (1)
953AssemblyName an1 = new AssemblyName(asmTypeName1.Substring(comma));
system\resources\resourcewriter.cs (1)
575typeName = typeName.Substring(17); // Remove through '.'
system\rttype.cs (1)
5109typeName = typeName.Substring(@"System.".Length);
system\runtime\remoting\configuration.cs (2)
746assemName = typeAssem.Substring(index + 1).Trim(); 773assemName = value.Substring(index + 1).Trim();
system\runtime\remoting\identity.cs (4)
88return uri.Substring(guidStr.Length); 101return uri.Substring(guidStr.Length); 118return uri.Substring(appName.Length + 2); 126uri = uri.Substring(1);
system\runtime\remoting\message.cs (3)
3476+ memberName.Substring(7) + "<<\n"); 3496position = Int32.Parse(memberName.Substring(7), CultureInfo.InvariantCulture); 4472position = Int32.Parse(memberName.Substring(7), CultureInfo.InvariantCulture);
system\runtime\remoting\objref.cs (2)
173assemName = typeAndAssembly.Substring(index + 1).Trim(); 737uri = uri.Substring(index - 1);
system\runtime\remoting\remotingattributes.cs (1)
680name = name.Substring(ns.Length + 1);
system\runtime\remoting\remotingservices.cs (2)
1148return fullUri.Substring(index + 1); 2546String actualTypeName = qualifiedTypeName.Substring(4);
system\runtime\remoting\soap.cs (6)
631sb.Append(typeNamespace.Substring(1)); 650assemblyName = UriDecode(inNamespace.Substring(assemblyNS.Length)); 652typeNamespace = inNamespace.Substring(namespaceNS.Length); 657assemblyName = UriDecode(inNamespace.Substring(index+1)); 798uri = uri.Substring(urtNSprefix.Length); // now contains type/assembly 813return uri.Substring(systemNSprefix.Length) + ", " + assemName; // now contains type
system\runtime\remoting\soapinteroptypes.cs (1)
1504name = value.Substring(index+1);
system\runtime\serialization\formatters\soapfault.cs (1)
64faultCode = ((String)value).Substring(++index);
system\runtime\versioning\binarycompatibility.cs (1)
421value = value.Substring(1);
system\security\permissions\fileiopermission.cs (1)
1166m_set = new StringExpressionSet( m_ignoreCase, value.Substring( m_strAllLocalFiles.Length ), true );
system\security\util\urlstring.cs (7)
227temp = url.Substring( index + 1 ); 260temp = url.Substring( index + 3 ); 322m_port = Int32.Parse( temp.Substring(portIndex + 1), CultureInfo.InvariantCulture ); 332temp = temp.Substring( Rindex, portIndex - Rindex ) + temp.Substring( tempIndex ); 342temp = temp.Substring(Rindex); 568String directoryString = temp.Substring( index + 1 ); 600String directoryString = temp.Substring( index + 1 );
system\security\util\xmlutil.cs (1)
111String assemblyFullName = fullClassName.Substring(commaIndex + 1);
system\string.cs (2)
1122splitStrings[arrIndex] = Substring(currIndex); 1170splitStrings[arrIndex++] = Substring(currIndex);
PresentationBuildTasks (45)
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
94"Get" + methodInfo.Name.Substring("Set".Length),
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (3)
873string suffix = uid.Substring(separatorIndex + 1); 898return typeFullName.Substring(index + 1); 1329return Content.Substring(temp);
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (6)
1405string subClassName = subClassFullName.Substring(index + 1); 1435className = className.Substring(index + 1); 1564string relPath = TargetPath.Substring(SourceFileInfo.SourcePath.Length); 2453baseClassName = baseClassFullName.Substring(dotIndex + 1); 2912string rootClassName = elementType != null ? elementType.Name : baseClassFullName.Substring(baseClassFullName.LastIndexOf(DOT, StringComparison.Ordinal)+1); 3276get { return _elementType != null ? _elementType.Name : _localElementFullName.Substring(_localElementFullName.LastIndexOf(DOT, StringComparison.Ordinal) + 1); }
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (2)
296localAttribName = localAttribName.Substring(lastIndex + 1); 341localAttribName = localAttribName.Substring(lastIndex + 1);
BuildTasks\MS\Internal\Tasks\CompilerLocalReference.cs (1)
136filePath = filePath.Substring(1);
BuildTasks\MS\Internal\Tasks\CompilerWrapper.cs (2)
401relPath = fullFilePath.Substring(_sourceDir.Length); 419newRelativeFilePath = fullFilePath.Substring(pathEndIndex + 1);
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (1)
133relPath = fullpath2.Substring (fullpath1.Length);
Framework\MS\Internal\Globalization\LocalizationComments.cs (2)
171currentPair.Value = tokenBuffer.ToString().Substring(1); 373enumName = enumName.Substring(_enumPrefix.Length);
Framework\System\Windows\Markup\BamlMapTable.cs (1)
1188typeShortName = typeFullName.Substring(dotIndex+1);
Framework\System\Windows\Markup\MarkupExtensionParser.cs (5)
406attrValue = attrValue.Substring(2); 587typename = typename.Substring(typeIndex + 1); 773typename = typename.Substring(typeIndex + 1); 1392string localName = (nameIndex < 0) ? propertyName : propertyName.Substring(nameIndex+1); 1527string localName = (nameIndex < 0) ? name : name.Substring(nameIndex+1);
Framework\System\Windows\Markup\StyleXamlParser.cs (3)
318localAttribName = localAttribName.Substring(lastIndex + 1); 400member = propOrEvent.Substring(dotIndex + 1); 409member = target.Substring(colonIndex + 1);
Framework\System\Windows\Markup\TemplateXamlParser.cs (3)
354localAttribName = localAttribName.Substring(lastIndex + 1); 448member = propertyName.Substring(dotIndex+1); 457member = target.Substring(colonIndex+1);
Framework\System\Windows\Markup\XamlReaderHelper.cs (7)
1103propertyName = propertyName.Substring(dotIndex+1); 1573_childTag.Substring(_childTag.LastIndexOf('.') + 1); 1677propName = longName.Substring(idx + 1); 2232prefix = attribName.Substring(NamespacePrefix.Length); 3071typeName = attribData.Args.Substring(colonIndex + 1); 3219"Set" + methodInfo.Name.Substring("Get".Length), 3527null != methodInfo.DeclaringType.GetMethod("Set" + methodInfo.Name.Substring("Get".Length),
Framework\System\Windows\Markup\XamlTypeMapper.cs (7)
1040localName = localName.Substring(lastIndex+1); 2197return methodInfo.Name.Substring("Get".Length); 2347typeName = typeName.Substring(typeIndex + 1); 2356memberName = typeName.Substring(typeIndex + 1); 3096typeString = typeString.Substring(colonIndex + 1); 3179typeString = typeString.Substring(colonIndex + 1); 3544_assemblyNames[k].Substring(charIndex + 1) == usingAssemblyName)
Shared\MS\Internal\ResourceIDHelper.cs (1)
72resourceID = sourcePath.Substring(basePath.Length);
PresentationCore (20)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginPart.cs (1)
138string uriMinusInitialSlash = original.Substring(1); // trim leading '/'
Core\CSharp\MS\Internal\FontCache\CanonicalFontFamilyReference.cs (1)
195escapedFamilyName = normalizedString.Substring(familyNameIndex);
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
549potentialFaceName.Insert(0, familyName.Substring(indexOfSpace));
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (1)
128fileName = resourceFullName.Substring(indexOfLastSlash + 1);
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
144s = s.Substring(2);
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (2)
886contentRange = contentRange.Substring(index + 1); 900contentRange = contentRange.Substring(index + 1);
Core\CSharp\System\Windows\Input\Command\KeyGesture.cs (2)
262keyGestures = keyGestures.Substring(index + 1); 275displayStrings = displayStrings.Substring(index + 1);
Core\CSharp\System\Windows\Input\Command\KeyGestureConverter.cs (2)
104displayString = fullName.Substring(index + 1).Trim(); 117keyToken = fullName.Substring(index + 1);
Core\CSharp\System\Windows\Input\Command\MouseGestureConverter.cs (1)
77mouseActionToken = fullName.Substring(Offset + 1);
Core\CSharp\System\Windows\Input\InputScopeConverter.cs (1)
117stringSource = stringSource.Substring(stringSource.LastIndexOf('.')+1);
Core\CSharp\System\Windows\Input\InputScopeNameConverter.cs (1)
104stringSource = stringSource.Substring(stringSource.LastIndexOf('.')+1);
Core\CSharp\System\Windows\Media\Parsers.cs (2)
108string tokens = trimmedColor.Substring(s_ContextColor.Length); 116tokens = tokens.Substring(preSplit[0].Length);
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (3)
282partName = original.Substring(start); 301partName = original.Substring(end + 1); 331assemblyVersion = assemblyInfo[i].Substring(1); // Get rid of the leading "v"
Shared\MS\Internal\MimeTypeMapper.cs (1)
151extension = extensionWithDot.Substring(1).ToLower(CultureInfo.InvariantCulture);
PresentationFramework (68)
parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
135value = value.Substring(1);
src\Framework\Microsoft\Win32\FileDialog.cs (1)
264value = value.Substring(1); // but strip out the period to leave only "ext"
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
304fragment = fragment.Substring(FRAGMENT_MARKER.Length);
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (1)
143version = String.Copy(excpMsg.Substring(index + versionString.Length));
src\Framework\MS\Internal\AppModel\XappLauncher.cs (1)
1217AssemblyName assyName = new AssemblyName(attr.Substring(attr.IndexOf(",",StringComparison.OrdinalIgnoreCase) + 1));
src\Framework\MS\Internal\Data\PathParser.cs (3)
143SetError(SRID.PathSyntax, _path.Substring(0, _index), _path.Substring(_index)); 206SetError(SRID.UnmatchedParen, _path.Substring(start)); 255SetError(SRID.UnmatchedBracket, _path.Substring(start - 1));
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
139return s.Substring(lastBracketIndex);
src\Framework\MS\Internal\Globalization\BamlResourceContent.cs (1)
201UnescapeString(input.Substring(tokenStart))
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
805typeName = fullTypeName.Substring(lastDot + 1);
src\Framework\MS\Internal\Globalization\LocalizationComments.cs (2)
171currentPair.Value = tokenBuffer.ToString().Substring(1); 373enumName = enumName.Substring(_enumPrefix.Length);
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
908propertyName = name.Substring(suffixStart + 1);
src\Framework\MS\Internal\Utility\BindUriHelper.cs (1)
193fragment = frag.Substring(1);
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
1136string token = aqn.Substring(index + PublicKeyToken.Length);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
12113name = name.Substring(24); // 24 == length of "s.w.c." 12394filename.Substring(dotIndex);
src\Framework\System\Windows\Documents\FixedSchema.cs (2)
424attrValue = attrValue.Substring(_colorConvertedBitmap.Length); 441attrValue = attrValue.Substring(_contextColor.Length);
src\Framework\System\Windows\Documents\Glyphs.cs (1)
464glyphIndexString = valueSpec.Substring(secondBracket + 1);
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (2)
8194instructionName = instructionName.Substring(1); 8248imageXaml += dnImage.Xaml.Substring(uriSourceEndIndex + 1);
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
742imageSourceString = imageSourceString.Substring(1); // cut the leading dot out
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (2)
2239string imageFormatName = imageName.Substring(extensionIndex); 3568units = s.Substring(n + 1);
src\Framework\System\Windows\Documents\ZoomPercentageConverter.cs (1)
189zoomString = zoomString.Substring(1);
src\Framework\System\Windows\Input\Command\CommandConverter.cs (1)
249localName = localName.Substring(Offset + 1);
src\Framework\System\Windows\Input\Command\CommandValueSerializer.cs (1)
157commandName = value.Substring(dotIndex + 1).Trim();
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2112string assemblyName = uriInput.Substring(equalIdx + 1);
src\Framework\System\Windows\Markup\BamlMapTable.cs (1)
1188typeShortName = typeFullName.Substring(dotIndex+1);
src\Framework\System\Windows\Markup\BamlReader.cs (7)
1320typeName = typeName.Substring(typeName.LastIndexOf(".", StringComparison.Ordinal) + 1); 1440markupString = markupString.Substring(markupString.LastIndexOf(".", StringComparison.Ordinal) + 1); 1567typename = typename.Substring(typename.LastIndexOf(".", StringComparison.Ordinal) + 1); 1981_localName = _name.Substring(_name.LastIndexOf(".", StringComparison.Ordinal) + 1); 2428typeName = typeName.Substring(typeName.LastIndexOf(".", StringComparison.Ordinal) + 1); 2503typeName = typeName.Substring(typeName.LastIndexOf(".", StringComparison.Ordinal) + 1); 2617typeName = typeName.Substring(typeName.LastIndexOf(".", StringComparison.Ordinal) + 1);
src\Framework\System\Windows\Markup\BamlRecordReader.cs (3)
3872value = OptionallyMakeNullable(methodInfo.GetParameters()[1].ParameterType, value, methodInfo.Name.Substring("Set".Length)); 5938return this.AttachedPropertySetter.Name.Substring("Set".Length); 5942return this.AttachedPropertyGetter.Name.Substring("Get".Length);
src\Framework\System\Windows\Markup\BamlWriter.cs (1)
558typeName = data.Args.Substring(colonIndex+1);
src\Framework\System\Windows\Markup\DependencyPropertyConverter.cs (2)
158property = value.Substring(lastIndex + 1); 169property = value.Substring(lastIndex + 1);
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (5)
406attrValue = attrValue.Substring(2); 587typename = typename.Substring(typeIndex + 1); 773typename = typename.Substring(typeIndex + 1); 1392string localName = (nameIndex < 0) ? propertyName : propertyName.Substring(nameIndex+1); 1527string localName = (nameIndex < 0) ? name : name.Substring(nameIndex+1);
src\Framework\System\Windows\Markup\Primitives\ExtensionSimplifierMarkupObject.cs (1)
369value = value.Substring(2);
src\Framework\System\Windows\Markup\RoutedEventConverter.cs (2)
69routedEventName = routedEventName.Substring(lastIndex + 1); 167nameString = nameString.Substring(nsIndex + 1);
src\Framework\System\Windows\Markup\RoutedEventValueSerializer.cs (1)
68string name = value.Substring(index + 1).Trim();
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (9)
1040localName = localName.Substring(lastIndex+1); 1740localName = localName.Substring(lastIndex+1); 1868localName = localName.Substring(lastIndex+1); 2197return methodInfo.Name.Substring("Get".Length); 2347typeName = typeName.Substring(typeIndex + 1); 2356memberName = typeName.Substring(typeIndex + 1); 3096typeString = typeString.Substring(colonIndex + 1); 3258nameString = nameString.Substring (nsIndex + 1); 3544_assemblyNames[k].Substring(charIndex + 1) == usingAssemblyName)
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (2)
268clrNamespace = xmlNamespace.Substring(clrNsIndex); 277assembly = xmlNamespace.Substring(assemblyIndex);
src\Framework\System\Windows\Navigation\JournalEntry.cs (1)
403displayName = displayName.Substring(1);
src\Framework\System\Windows\PropertyPath.cs (2)
583propertyName = name.Substring(lastIndex + 1).Trim(); 853name = name.Substring(nsIndex + 1).TrimStart();
src\Framework\System\Windows\PropertyPathConverter.cs (1)
314builder.Append(originalPath.Substring(start));
SMSvcHost (1)
System\ServiceModel\Activation\ListenerAdapter.cs (1)
489binding = binding.Substring(index + 1);
svcutil (5)
CommandLineParser.cs (5)
29this.name = (name.Substring(1)).ToLower(CultureInfo.InvariantCulture); 33this.abbreviation = (abbreviation.Substring(1)).ToLower(CultureInfo.InvariantCulture); 64temp = (other.Substring(1)).ToLower(CultureInfo.InvariantCulture); 181arg = arg.Substring(1); 195argValue = arg.Substring(delim + 1);
System (62)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
3160value = value.Substring(1); 3299sb.Append(CreateEscapedIdentifier(baseType.Substring(lastIndex)));
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
1156Output.Write(typeName.Substring(index+1)); 2723sb.Append(CreateEscapedIdentifier(baseType.Substring(lastIndex)));
compmod\microsoft\win32\SystemEvents.cs (1)
1149productName = ns.Substring(lastDot + 1);
compmod\system\codedom\compiler\RedistVersionInfo.cs (1)
110String versionWithoutV = versionVal.Substring(1);
compmod\system\componentmodel\basenumberconverter.cs (2)
90return FromString(text.Substring(1), 16); 96return FromString(text.Substring(2), 16);
compmod\system\componentmodel\ComponentResourceManager.cs (1)
149string propName = key.Substring(idx + 1);
compmod\system\componentmodel\design\PropertyTabAttribute.cs (1)
102assemblyName = tabClassNames[i].Substring(commaIndex + 1).Trim();
compmod\system\diagnostics\DefaultTraceListener.cs (1)
175internalWrite(message.Substring(offset));
net\System\Net\_Connection.cs (2)
2194contentLengthString = contentLengthString.Substring(index + 1); 2204contentLengthString = contentLengthString.Substring(index + 1);
net\System\Net\_DigestClient.cs (5)
233incoming = challenge.Substring(blobBegin); 478incoming = challenge.Substring(blobBegin); 505value = HttpDigest.unquote(incoming.Substring(offset+1)); 810value = unquote(challenge.Substring(offset+1)); 838value = unquote(challenge.Substring(offset+1));
net\System\Net\_KerberosClient.cs (2)
70incoming = challenge.Substring(blobBegin); 185incoming = challenge.Substring(blobBegin);
net\System\Net\_NegotiateClient.cs (2)
69incoming = challenge.Substring(blobBegin); 208incoming = challenge.Substring(blobBegin);
net\System\Net\_NtlmClient.cs (1)
68incoming = challenge.Substring(blobBegin);
net\System\Net\Cache\HttpRequestCacheValidator.cs (3)
626CacheStatusDescription = s.Substring(idx); 707wc.AddInternal(lastHeaderName, s.Substring(colpos)); 709cc.Add(lastHeaderName, s.Substring(colpos));
net\System\Net\cookiecontainer.cs (2)
733domainAttributeMatchAnyCookieVariant.Add(fqdnRemote.Substring(dot)); 746domainAttributeMatchOnlyCookieVariantPlain.Add(fqdnRemote.Substring(dot));
net\System\Net\HttpListener.cs (3)
665registeredPrefix = uriPrefix[j]==':' ? String.Copy(uriPrefix) : uriPrefix.Substring(0, j) + (i==7 ? ":80" : ":443") + uriPrefix.Substring(j); 1531string inBlob = index < authorizationHeader.Length ? authorizationHeader.Substring(index) : ""; 1755string password = inBlob.Substring(index+1);
net\System\Net\HttpWebResponse.cs (1)
248m_CharacterSet = contentType.Substring(i).Trim();
net\System\Net\IPAddress.cs (1)
251scopeId = scopeId.Substring(1);
net\System\Net\mail\SmtpDateTime.cs (1)
335string timeZoneString = data.Substring(indexOfTimeZoneSeparator).Trim();
net\System\Net\NetWebProxyFinder.cs (1)
441proxyAuthority = proxyString.Substring(6).TrimStart(' ');
net\System\Net\WebHeaderCollection.cs (1)
660string value = header.Substring(colpos+1);
net\System\Net\WebUtility.cs (3)
201parsedSuccessfully = UInt32.TryParse(entity.Substring(2), NumberStyles.AllowHexSpecifier, NumberFormatInfo.InvariantInfo, out parsedValue); 204parsedSuccessfully = UInt32.TryParse(entity.Substring(1), NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out parsedValue); 1060lookupTable.Add(e.Substring(2), e[0]);
net\System\URI.cs (6)
581relativeStr = relativeStr.Substring(i+1); 714path = path.Substring(1); 880result = result.Substring(1); 5088relativePart = '/' + relativePart.Substring(1); 5136extra = relativePart.Substring(i); 5237return relPath.ToString() + path2.Substring(si + 1);
net\System\uribuilder.cs (4)
84m_password = userInfo.Substring(index + 1); 152Fragment = value.Substring(1); 160Fragment = value.Substring(end+1); 394m_password = userInfo.Substring(index + 1);
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
135value = value.Substring(1);
regex\system\text\regularexpressions\RegexCharClass.cs (2)
749sb.Append(set.Substring(2)); 1162return set.Substring(1);
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (4)
109string hostPortAndDistinguisher = inputServiceName.Substring(shashIndex + 1); // Excludes slash 132distinguisher = hostPortAndDistinguisher.Substring(nextSlashIndex); // Includes Slash 144port = hostAndPort.Substring(colonIndex + 1); // Excludes colon 154port = hostAndPort.Substring(colonIndex);
services\monitoring\system\diagnosticts\EventLog.cs (1)
1142return name.Substring(whackPos+1);
services\monitoring\system\diagnosticts\ProcessManager.cs (3)
316baseName = machineName.Substring(2); 695moduleInfo.fileName = moduleInfo.fileName.Substring(4); 1262String extension = name.Substring(period);
services\monitoring\system\diagnosticts\SharedUtils.cs (1)
283string[] splitVersion = majorVersion.Substring(1).Split('.');
sys\system\runtime\versioning\FrameworkName.cs (1)
179value = value.Substring(1);
System.Activities (8)
System\Activities\Debugger\DebugInfo.cs (2)
456stringValue = stringValue.Substring(2); 465stringValue = stringValue.Substring(1);
System\Activities\ExpressionUtilities.cs (1)
503this.indexerName = this.getItemMethod.Name.Substring(4);
System\Activities\Statements\MethodResolver.cs (1)
120if (int.TryParse(name.Substring(paramArrayBaseName.Length), NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out n))
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (1)
499xClassName = builderName.Substring(nameStartIndex + 1);
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
383string activityName = lastIndexOfDot > 0 ? dynamicActivity.Name.Substring(lastIndexOfDot + 1) : dynamicActivity.Name;
System\Activities\XamlIntegration\DynamicActivityXamlReader.cs (2)
446xClassName = fullName.Substring(nameStartIndex + 1); 585string clrNamespace = ns.Substring(clrNamespacePart.Length);
System.Activities.Core.Presentation (4)
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (3)
647link = GenericFlowSwitchHelper.CreateFlowSwitchLink(srcModelItem.ItemType, srcModelItem, propertyName.Substring(GenericFlowSwitchHelper.FlowSwitchCasesKeyIdentifier.Length), false); 699if (connectorCaseMI != null && caseName.Equals(propertyName.Substring(GenericFlowSwitchHelper.FlowSwitchCasesKeyIdentifier.Length))) 706if (GenericFlowSwitchHelper.FlowSwitchNullCaseKeyIdentifier.Equals(propertyName.Substring(GenericFlowSwitchHelper.FlowSwitchCasesKeyIdentifier.Length)))
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (1)
584.Select(p => p.Substring(this.ArgumentPrefix.Length));
System.Activities.Presentation (9)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\TypeNameHelper.cs (2)
62name = name.Substring(0, start) + name.Substring(end + 2); 83int numberOfParameters = int.Parse(match.Value.Substring(1), CultureInfo.InvariantCulture);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (1)
63this.localAssemblyNsPostfixNoLeadingSemicolon = localAssemblyNsPostfix.Substring(1);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlNamespaceHelper.cs (2)
26clrNamespace = xamlNamespace.Substring(clrNsIndex); 31assembly = xamlNamespace.Substring(assemblyIndex);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1602return member.Name.Substring(3);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (2)
402string indexString = segment.Substring(indexOfSquareBrackets + 1); 504return (int.TryParse(nameGetter(p).Substring(nameDefaultPrefix.Length), out result))
System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (1)
223displayName = name.Substring(indexOfDot + 1);
System.AddIn (3)
System\Addin\Hosting\AddInStore.cs (1)
1269typeName = fullTypeName.Substring(i+1);
System\Addin\Hosting\Utils.cs (1)
163String relPath = path.Substring(root.Length + skip);
System\Addin\MiniReflection\TypeInfo.cs (1)
396return _assemblyQualifiedName.Substring(firstComma + 2);
System.ComponentModel.DataAnnotations (4)
DataAnnotations\PhoneAttribute.cs (3)
93string extension = potentialPhoneNumber.Substring(lastIndexOfExtension + 4); 102string extension = potentialPhoneNumber.Substring(lastIndexOfExtension + 3); 112string extension = potentialPhoneNumber.Substring(lastIndexOfExtension + 1);
parent\parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
135value = value.Substring(1);
System.Configuration (6)
parent\misc\ConfigPathUtility.cs (1)
111return configPath.Substring(index + 1);
System\Configuration\BaseConfigurationRecord.cs (1)
2726name = configKey.Substring(lastSlash + 1);
System\Configuration\ClientConfigPaths.cs (3)
95applicationUri = applicationUri.Substring(FILE_URI_LOCAL.Length); 101applicationUri = applicationUri.Substring(FILE_URI.Length); 536_productName = ns.Substring(lastDot+1);
System\Configuration\XmlUtil.cs (1)
935endElement = formattedElement.Substring(iEndElement);
System.Core (1)
System\Security\Cryptography\Rfc4050KeyFormatter.cs (1)
148return ECCurve.CreateFromValue(oidUrn.Substring(OidUrnPrefix.Length));
System.Data (26)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\TypeNameHelper.cs (2)
62name = name.Substring(0, start) + name.Substring(end + 2); 83int numberOfParameters = int.Parse(match.Value.Substring(1), CultureInfo.InvariantCulture);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (1)
63this.localAssemblyNsPostfixNoLeadingSemicolon = localAssemblyNsPostfix.Substring(1);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlNamespaceHelper.cs (2)
26clrNamespace = xamlNamespace.Substring(clrNsIndex); 31assembly = xamlNamespace.Substring(assemblyIndex);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1602return member.Name.Substring(3);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (2)
402string indexString = segment.Substring(indexOfSquareBrackets + 1); 504return (int.TryParse(nameGetter(p).Substring(nameDefaultPrefix.Length), out result))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (1)
223displayName = name.Substring(indexOfDot + 1);
fx\src\data\System\Data\Common\DbConnectionOptions.cs (3)
415fullPath = rootFolderPath + '\\' + value.Substring(fileNamePosition); 419fullPath = rootFolderPath + value.Substring(fileNamePosition+1); 423fullPath = rootFolderPath + value.Substring(fileNamePosition);
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (1)
118_expandedConnectionString = _expandedConnectionString.Substring(0, position) + udlConnectionString + ';' + _expandedConnectionString.Substring(position);
fx\src\data\System\Data\Sql\SqlDataSourceEnumerator.cs (2)
129isClustered = instance2.Substring(_clusterLength); 134version = instance2.Substring(_versionLength);
fx\src\data\System\Data\SqlClient\LocalDBAPI.cs (1)
42string instanceName = serverName.Substring(const_localDbPrefix.Length).Trim();
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
2641string part = sproc.Substring(semicolon+1);
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (1)
623host = "." + host.Substring(name.Length);
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
2408string stringCodePage = env.newValue.Substring(TdsEnums.CHARSET_CODE_PAGE_OFFSET);
fx\src\data\System\Data\SqlClient\TdsParserStaticMethods.cs (2)
67string parsedAliasName = aliasLookup.Substring(index+1); 76host = parsedAliasName.Substring(index + 1);
fx\src\data\System\Data\XmlDataLoader.cs (1)
898c = collection[XmlConvert.DecodeName(dataReader.LocalName.Substring(6))];
fx\src\data\System\Data\XMLSchema.cs (3)
297propName = propName.Substring(3); 302propName = propName.Substring(4); 994colName = field.Substring(1);
fx\src\data\System\Data\XmlToDatasetMap.cs (1)
473tempColumnName += col.ColumnName.Substring(1);
System.Data.Entity (18)
System\Data\Common\EntitySql\AST\Literal.cs (1)
260string suffix = numericString.Substring(k).ToUpperInvariant();
System\Data\Common\EntitySql\AST\QueryParameter.cs (1)
30_name = parameterName.Substring(1);
System\Data\Common\Internal\Materialization\Translator.cs (1)
1380string propertyName = propertyAccessor.Name.Substring(4); // substring to strip "set_"
System\Data\EntityClient\DbConnectionOptions.cs (3)
134fullPath = rootFolderPath + '\\' + value.Substring(fileNamePosition); 139fullPath = rootFolderPath + value.Substring(fileNamePosition + 1); 144fullPath = rootFolderPath + value.Substring(fileNamePosition);
System\Data\EntityModel\SchemaObjectModel\ScalarType.cs (1)
285string binaryPart = text.Substring(2);
System\Data\EntityModel\SchemaObjectModel\Utils.cs (2)
70after = qualifiedTypeName.Substring(lastDot + 1); 87return qualifiedTypeName.Substring(lastDot + 1);
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (1)
499string extentName = extentFullName.Substring(extentFullName.LastIndexOf('.') + 1);
System\Data\Mapping\StorageMappingItemLoader.cs (2)
956entityTypeName = name.Substring(StorageMslConstructs.IsTypeOf.Length); 3529aliasedString = aliasValue + aliasedString.Substring(aliasIndex);
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (1)
387gen.Emit(OpCodes.Ldstr, mi.Name.Substring(4)); // substring to strip "set_"
System\Data\Metadata\EdmItemCollection.cs (1)
338Strings.DuplicatedFunctionoverloads(function.FullName, cTypeFunctionIdentity.Substring(function.FullName.Length)).Trim()/*parameters*/,
System\Data\Metadata\EdmSchemaError.cs (1)
253return schemaLocation.Substring(start);
System\Data\Metadata\MetadataArtifactLoader.cs (1)
374return resource.Substring(pos);
System\Data\Metadata\MetadataArtifactLoaderCompositeResource.cs (1)
356string[] result = path.Substring(prefixLength).Split(
System\Data\Metadata\MetadataCache.cs (1)
149dataDirPaths.Add(paths.Substring(macroPathBeginIndex));
System.Data.Entity.Design (11)
System\Data\Entity\Design\AspNet\BuildProviderUtils.cs (1)
62name = name.Substring(2);
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
600yield return largeViewString.Substring(i * ONELINELENGTH);
System\Data\Entity\Design\PluralizationService\EnglishPluralizationService.cs (2)
816sb.Append(result.Substring(1)); 836return word.Substring(lastSpaceIndex + 1);
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
280lines[i] = lines[i].Substring(numLeadingCharsToRemove);
System\Data\EntityModel\Emitters\FixUpCollection.cs (4)
338className = line.Substring(index); 346className = className.Substring(1); 401name = line.Substring(line.LastIndexOf(' ') + 1); 411name = line.Substring(line.LastIndexOf(' ') + 1);
System\Data\EntityModel\Emitters\Utils.cs (2)
207return text[0].ToString(System.Globalization.CultureInfo.InvariantCulture).ToLowerInvariant()+text.Substring(1); 320return name.Substring(1).Split('.');
System.Data.Linq (1)
Mapping\MappedMetaModel.cs (1)
249methodName = name.Substring(dotIndex + 1);
System.Data.Services (16)
parent\Client\System\Data\Services\Client\BatchStream.cs (2)
1325string value = line.Substring(colon + 1).Trim(); 1369string segment3 = line.Substring(index2 + 1); // Request - Http version, Response - Http status description
parent\Client\System\Data\Services\Client\XmlUtil.cs (1)
68name = unescaped.Substring(XmlConstants.DataWebRelatedNamespace.Length);
System\Data\Services\DataService.cs (2)
2260this.contentIdsToSegmentInfoMapping.TryGetValue(contentId.Substring(1), out segmentInfo); 2732string contentId = identifier.Substring(1);
System\Data\Services\Epm\EpmCustomContentDeSerializer.cs (1)
160String attribValue = WebUtil.GetAttributeEx(reader, attributeSegment.SegmentName.Substring(1), attributeSegment.SegmentNamespaceUri);
System\Data\Services\Epm\EpmCustomContentSerializer.cs (1)
136targetSegment.SegmentName.Substring(1),
System\Data\Services\HttpProcessUtility.cs (2)
362libraryName = text.Substring(separator + 1).Trim(); 1060string candidateSubType = candidate.Substring(candidateType.Length + 1);
System\Data\Services\Providers\ObjectContextServiceProvider.cs (3)
1629string attributeName = metadataProperty.Name.Substring(index + 1); 1680return "[" + qualifiedEntitySetName.Substring(0, indexOfLastPeriod) + "].[" + qualifiedEntitySetName.Substring(indexOfLastPeriod + 1) + "]"; 2299entitySetName = qualifiedEntitySetName.Substring(index + 1);
System\Data\Services\RequestUriProcessor.cs (1)
675string queryPortion = hasQuery ? segmentText.Substring(identifier.Length) : null;
System\Data\Services\Serializers\MetadataSerializer.cs (1)
425removePrefix ? attr.SourcePath.Substring(attr.SourcePath.IndexOf('/') + 1) : attr.SourcePath);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
493relativeUri = absoluteUri.AbsoluteUri.Substring(this.AbsoluteServiceUri.AbsoluteUri.Length);
System\Data\Services\WebUtil.cs (1)
996string name = fullName.Substring(XmlConstants.EdmNamespace.Length + 1);
System.Data.Services.Client (7)
parent\Server\System\Data\Services\Epm\EpmCustomContentSerializer.cs (1)
136targetSegment.SegmentName.Substring(1),
parent\Server\System\Data\Services\HttpProcessUtility.cs (1)
362libraryName = text.Substring(separator + 1).Trim();
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
2327switch (name.Substring(1))
System\Data\Services\Client\AtomMaterializer.cs (1)
1494string localName = item.SegmentName.Substring(1);
System\Data\Services\Client\BatchStream.cs (2)
1325string value = line.Substring(colon + 1).Trim(); 1369string segment3 = line.Substring(index2 + 1); // Request - Http version, Response - Http status description
System\Data\Services\Client\ClientType.cs (1)
480name = wireName.Substring(index + 1);
System.Data.Services.Design (9)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
190virtualPath = VirtualPathUtility.RemoveTrailingSlash(virtualPath).Substring(webReferencesRootVirtualPath.Length);
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
277lines[i] = lines[i].Substring(numLeadingCharsToRemove);
System\Data\EntityModel\Emitters\FixUpCollection.cs (4)
334className = line.Substring(index); 342className = className.Substring(1); 397name = line.Substring(line.LastIndexOf(' ') + 1); 407name = line.Substring(line.LastIndexOf(' ') + 1);
System\Data\EntityModel\Emitters\Utils.cs (3)
193return text[0].ToString(System.Globalization.CultureInfo.InvariantCulture).ToLowerInvariant() + text.Substring(1); 209return text[0].ToString(System.Globalization.CultureInfo.InvariantCulture).ToUpperInvariant() + text.Substring(1); 300return name.Substring(1).Split('.');
System.Data.SqlXml (7)
System\Xml\Xsl\QIL\QilXmlReader.cs (1)
447name = name.Substring(idx + 1);
System\Xml\Xsl\Runtime\XmlCollation.cs (2)
162string lang = collationUri.LocalPath.Substring(1); 190foreach (string option in query.Substring(1).Split('&')) {
System\Xml\Xsl\Runtime\XsltFunctions.cs (3)
56return (idx < 0) ? string.Empty : s1.Substring(idx + s2.Length); 64return value.Substring((int)startIndex - 1); 471return name.Substring(colonOffset + 1);
System\Xml\Xsl\Xslt\Scripts.cs (1)
375if (int.TryParse(fileName.Substring(idx + 1), NumberStyles.None, NumberFormatInfo.InvariantInfo, out scriptNumber))
System.Drawing (5)
commonui\System\Drawing\Advanced\Font.cs (1)
771return familyName.Substring(1);
commonui\System\Drawing\FontConverter.cs (1)
479units = text.Substring(splitPoint);
commonui\System\Drawing\ToolboxBitmapAttribute.cs (1)
422name = name.Substring(indexDot + 1);
misc\DebugHandleTracker.cs (1)
451return releventStack.Substring(startIndex);
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
135value = value.Substring(1);
System.IdentityModel (13)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
135value = value.Substring(1);
System\IdentityModel\SignedXml.cs (2)
1155this.referredId = this.uri.Substring(1); 1175string idref = uri.Substring(1);
System\IdentityModel\Tokens\Saml2Attribute.cs (1)
171string suffix = value.Substring(indexOfHash + 1);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
3060attributeValueXsiTypeSuffix = attributeValueXsiTypeSuffixWithLocalPrefix.Substring(attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal) + 1); 3230xsiTypeSuffix = data.AttributeValueXsiType.Substring(indexOfHash + 1);
System\IdentityModel\Tokens\SamlAttribute.cs (1)
160string suffix = value.Substring(indexOfHash + 1);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
2657attributeValueXsiTypeSuffix = attributeValueXsiTypeSuffixWithLocalPrefix.Substring(attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal) + 1); 2794xsiTypeSuffix = SamlAttribute.AttributeValueXsiType.Substring(indexOfHash + 1);
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
1017string userName = windowsLogonName.Substring(delimiterPos + 1);
System\IdentityModel\Tokens\WSSecurityJan2004.cs (1)
524SecurityKeyIdentifierClause clause = new LocalIdKeyIdentifierClause(uri.Substring(1), derivationNonce, derivationLength, tokenTypes);
System\IdentityModel\XmlUtil.cs (1)
76return s.Substring(i);
System\ServiceModel\Security\ReferenceList.cs (1)
127return uri.Substring(1);
System.IO.Compression.FileSystem (1)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
135value = value.Substring(1);
System.Management (3)
managementquery.cs (2)
1028 condition = q.Substring(keyword.Length).Trim(); 3124 condition = w.Substring(keyword.Length);
WmiGenerator.cs (1)
901strClass = OriginalClassName.Substring(OriginalClassName.IndexOf('_')+1);
System.Messaging (6)
System\Messaging\MessageQueue.cs (6)
651this.formatName = this.path.Substring(PREFIX_FORMAT_NAME.Length); 1134return queuePath.Substring(queuePath.IndexOf('\\') + 1); 3297MessageQueue[] queues = GetPublicQueuesByLabel(path.Substring(PREFIX_LABEL.Length), false); 3301throw new InvalidOperationException(Res.GetString(Res.InvalidLabel, path.Substring(PREFIX_LABEL.Length))); 3306throw new InvalidOperationException(Res.GetString(Res.AmbiguousLabel, path.Substring(PREFIX_LABEL.Length))); 3316string name = queuePath.Substring(queuePath.IndexOf('\\'));
System.Net (2)
net\PeerToPeer\PeerName.cs (2)
499tempClassifier = peerName.Substring(IndexOfPeriod + 1); 545classifier = peerName.Substring(indexOfPeriod + 1);
System.Runtime.Remoting (27)
channels\core\corechannel.cs (2)
769uri = uri.Substring(appName.Length + 1); 1138mdPath = "IIS://localhost/" + mdPath.Substring(4);
channels\http\httpchannelhelper.cs (3)
75objectURI = url.Substring(separator); 169charset = part.Substring(index + 1); 214String newUrl = url.Substring(0, index) + newMachineName + url.Substring(colonIndex);
channels\http\httpremotinghandler.cs (1)
276requestUri = requestUri.Substring(appName.Length + 1);
channels\http\httpsocketmanager.cs (1)
64String headerValue = header.Substring(sep+1+1); // skip semi-colon and space
channels\ipc\ipcchannelhelper.cs (1)
66objectURI = url.Substring(separator); // leave the slash
channels\ipc\ipcclientchannel.cs (1)
270_portName = simpleChannelUri.Substring(start);;
channels\tcp\tcpchannelhelper.cs (1)
56objectURI = url.Substring(separator); // leave the slash
metadata\sdlchannelsink.cs (1)
198String queryString = requestURI.Substring(index).ToLower(CultureInfo.InvariantCulture);
metadata\wsdlparser.cs (11)
745String value = location.Substring(index+1); 1893String propertyName = methodInfo.methodName.Substring(4); 2251qname = Atomize(qname.Substring(colonIndex+1)); 2540return returnstr.Substring(1); 2551arraybrackets = identifier.Substring(index); 2653clrType = clrType + xsdType.Substring(index); 3955String methodName = name.Substring(index+1); 5925printName = printName.Substring(index+1); 6408_clrarray = actualElementType+FilterDimensions(_arrayType.Substring(index)); 6564_encodedNS = _encodedNS.Substring(index+1); 6566_encodedNS = _encodedNS.Substring(2);
metadata\wsdlwriter.cs (5)
171refName = refName.Substring(index+1); 2253String wireName = qname.Substring(index+1); 2259String csname =elementTypeName+wireName.Substring(0,1).ToUpper(CultureInfo.InvariantCulture)+wireName.Substring(1)+rankStr; 2273attribute.AddArray(qname+arrayTypeName.Substring(index)); 2507iname = methodName.Substring(prevDot+1);
System.Runtime.Serialization (21)
System\Runtime\Serialization\CodeExporter.cs (3)
479string nestedTypeName = XmlConvert.DecodeName(originalName.Substring(nestedTypeIndex + 1)); 1129string expectedName = (nestedTypeIndex <= 0 || nestedTypeIndex == dataContractName.Length - 1) ? dataContractName : dataContractName.Substring(nestedTypeIndex + 1); 1502AddToNamespace(builder, uriString.Substring(Globals.DataContractXsdBaseNamespace.Length), fragments);
System\Runtime\Serialization\DataContract.cs (6)
734string name = typeName.Substring(7); 1655typeName = DataContract.GetClrTypeFullName(type).Substring(nsLen).Replace('+', '.'); 1722localName.Append(typeName.Substring(startIndex)); 1733nestedParamCounts.Add(Int32.Parse(typeName.Substring(endIndex + 1), CultureInfo.InvariantCulture)); 1859localName = fullTypeName.Substring(nsEnd + 1).Replace('+', '.'); 1912return uriString.StartsWith(Globals.DataContractXsdBaseNamespace, StringComparison.Ordinal) ? uriString.Substring(Globals.DataContractXsdBaseNamespace.Length) : uriString;
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (1)
73ns = qname.Substring(colon + 1);
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (2)
161serverTypeNamespace = string.Concat(Globals.DataContractXsdBaseNamespace, serverTypeNamespace.Substring(1)); 170serverTypeNamespace = serverTypeNamespace.Substring(1);
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
99return string.Concat("#", dataContractNamespace.Substring(JsonGlobals.DataContractXsdBaseNamespaceLength));
System\Runtime\Serialization\SchemaExporter.cs (1)
284typeName = DataContract.GetClrTypeFullName(clrType).Substring(nsLen).Replace('+', '.');
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
473name = qname.Substring(colon + 1);
System\Xml\XmlBaseReader.cs (3)
576localName = name.Substring(index + 1); 1121localName = name.Substring(index + 1); 1254this.value = value.Substring(actual);
System\Xml\XmlConverter.cs (1)
490localName = Trim(qname.Substring(index + 1));
System\Xml\XmlMtomReader.cs (2)
360contentID = String.Format(CultureInfo.InvariantCulture, "<{0}>", Uri.UnescapeDataString(uri.Substring(MimeGlobals.ContentIDScheme.Length))); 1298this.stringValue = this.stringValue.Substring(consumed * 2);
System.Security (2)
system\security\cryptography\xml\utils.cs (2)
607string idref = uri.Substring(1); 626string idref = uri.Substring(1);
System.ServiceModel (53)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
135value = value.Substring(1);
System\ServiceModel\Channels\BindingContext.cs (1)
170builder.Append(typeString.Substring(typeString.LastIndexOf('.') + 1));
System\ServiceModel\Channels\ChannelRequirements.cs (2)
279contractChannelTypes.Append(typeString.Substring(typeString.LastIndexOf('.') + 1)); 323bindingChannelTypes.Append(typeString.Substring(typeString.LastIndexOf('.') + 1));
System\ServiceModel\Channels\ContextProtocol.cs (1)
119string value = trimmedToken.Substring(equalsSignIndex + 1).Trim();
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
843uriBuilder.Query = requestProperty.QueryString.Substring(1);
System\ServiceModel\Channels\HttpRequestContext.cs (1)
966requestProperty.QueryString = this.listenerHttpContext.listenerContext.Request.Url.Query.Substring(1);
System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
303return query.Length > 0 ? query.Substring(1) : string.Empty;
System\ServiceModel\Channels\MsmqBindingFilter.cs (1)
21this.prefix = this.prefix.Substring(1);
System\ServiceModel\Channels\MsmqBindingMonitor.cs (1)
296return name.Substring("private$\\".Length);
System\ServiceModel\Channels\MsmqUri.cs (3)
115relativePath = relativePath.Substring(privatePart.Length); 118builder.Append(relativePath.Substring(1)); 334return Uri.UnescapeDataString(uri.AbsoluteUri.Substring(this.Scheme.Length + 1));
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
191charSet = contentType.Substring(charsetValueIndex);
System\ServiceModel\ComIntegration\MonikerUtility.cs (5)
33moniker = moniker.Substring(indexOfEqualSign + 1).TrimStart(); 79moniker = moniker.Substring(index); 86moniker = moniker.Substring(1); 114moniker = moniker.Substring(index); 133string monikerParams = displayName.Substring(indexOfMonikerData + 1).Trim();
System\ServiceModel\ComIntegration\TypeCacheManager.cs (1)
127string minorVersion = version.Substring(indexOfDot + 1);
System\ServiceModel\Description\ClientClassGenerator.cs (1)
939return interfaceName.Substring(1);
System\ServiceModel\Description\ConfigLoader.cs (1)
400string rest = rawAddress.Substring(colonIndex + 4);
System\ServiceModel\Description\DispatcherBuilder.cs (1)
573listenUriRelativeAddress = thisAddressString.Substring(baseAddressString.Length);
System\ServiceModel\Description\OperationGenerator.cs (1)
160this.DefaultName = this.Method.Name.Substring(5);
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1015queryString = queryString.Substring(1);
System\ServiceModel\Description\ServiceReflector.cs (2)
39return baseUri + (path.StartsWith("/", StringComparison.Ordinal) ? path.Substring(1) : path); 978return method.Name.Substring(BeginMethodNamePrefix.Length);
System\ServiceModel\Description\WsdlHelper.cs (2)
166policyId.Value = policyIdStringWithNewBindingName + policyIdString.Substring(policyIdStringWithOldBindingName.Length); 204policyReference.Value = policyReferenceValueWithNewBindingName + policyReference.Value.Substring(policyReferenceValueWithOldBindingName.Length);
System\ServiceModel\Dispatcher\AsyncMethodInvoker.cs (3)
102StartOperationInvokePerformanceCounters(this.beginMethod.Name.Substring(ServiceReflector.BeginMethodNamePrefix.Length)); 165StopOperationInvokePerformanceCounters(callFailed, callFaulted, endMethod.Name.Substring(ServiceReflector.EndMethodNamePrefix.Length)); 243StopOperationInvokePerformanceCounters(callFailed, callFaulted, this.endMethod.Name.Substring(ServiceReflector.EndMethodNamePrefix.Length));
System\ServiceModel\Dispatcher\QueryFunctions.cs (2)
1141context.SetValue(context, arg2.basePtr, idx == -1 ? string.Empty : str1.Substring(idx + str2.Length)); 1162context.SetValue(context, arg2.basePtr, (startAt >= str.Length) ? string.Empty : str.Substring(startAt));
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
386string userName = downlevelName.Substring(delimiterPos + 1);
System\ServiceModel\Dispatcher\XPathLexer.cs (1)
880name1 = name1.Substring(1);
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (1)
678newXPath += this.xpath.Substring(startChar); // Consume the remainder of the xpath
System\ServiceModel\Security\LaxModeSecurityHeaderElementInferenceEngine.cs (1)
69id = uri.Substring(1);
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2978message.Substring(message.Length - (MaxLength - Ellipsis.Length) / 2));
System\ServiceModel\ServiceHost.cs (1)
711path = path.Substring(i);
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (1)
672dateTimeString = dateTimeString.Substring(0, 19) + dateTimeString.Substring(i);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (1)
303string timeZoneSuffix = dateTimeStringBuilder.ToString().Substring(timeZoneStartIndex);
System\ServiceModel\UpnEndpointIdentity.cs (1)
138string userName = downlevelName.Substring(delimiterPos + 1);
System\ServiceModel\XmlUtil.cs (2)
70return s.Substring(i); 112localName = TrimEnd(qname.Substring(index + 1));
System\UriTemplate.cs (5)
70template = template.Substring(1); 80this.fragment = template.Substring(fragmentStart + 1); 92queryTemplate = template.Substring(queryStart + 1); 113segment = pathTemplate.Substring(startIndex); 1566defaultValue = varDeclaration.Substring(equalSignIndex + 1);
System\UriTemplateCompoundPathSegment.cs (2)
79literal = segment.Substring(nextVarEnd + 1); 227segment.Substring(segmentPosition));
System\UriTemplateLiteralPathSegment.cs (1)
53string escapedIfNecessarySegment = ub.Uri.AbsolutePath.Substring(1);
System.ServiceModel.Activation (7)
System\ServiceModel\Activation\HostedHttpContext.cs (1)
311requestProperty.QueryString = this.hostedHttpContext.result.RequestUri.Query.Substring(1);
System\ServiceModel\Activation\MetabaseSettings.cs (1)
646string endAboPath = appAboPath + relativeVirtualPath.Substring(1);
System\ServiceModel\Activation\ServiceParser.cs (1)
434string remainingText = this.serviceText.Substring(textPos);
System\ServiceModel\Channels\MsmqHostedTransportManager.cs (4)
52string queueName = absoluteVirtualPath.Substring(1); 175serviceFile = serviceFile.Substring(1); 177serviceFile = serviceFile.Substring(1); 183virtualPath = virtualPath.Substring(1);
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (1)
363string virtualPath = virtualPathExtension.VirtualPath.Substring(1);
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
680string fullVirtualPath = virtualPathExtension.VirtualPath.Substring(1);
System\ServiceModel\XamlIntegration\XNameTypeConverter.cs (1)
69localName = stringValue.Substring(indexOfColon + 1);
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\ScopeCompiler.cs (2)
249guidString = scopeString.Substring(9); 414attrValue = attrTypeAndValue.Substring(equalIndex + 1);
System\ServiceModel\Discovery\SerializationUtility.cs (1)
34localname = prefixedQName.Substring(index + 1);
System.ServiceModel.Internals (2)
System\Runtime\UrlUtility.cs (2)
35query = query.Substring(1); 62return UrlPathEncode(str.Substring(0, i)) + str.Substring(i);
System.ServiceModel.Web (1)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
184AddToNamespace(builder, uriString.Substring(DataContractXsdBaseNamespace.Length));
System.Web (155)
Compilation\BaseCodeDomTreeGenerator.cs (1)
197className = appRelVirtualDir.Substring(2) + className;
Compilation\BuildManager.cs (2)
2264string name = virtualPathString.Substring(slashIndex + 1); 2764path = path.Substring(2);
Compilation\BuildResultCache.cs (2)
472string baseName = assemblyName.Substring(BuildManager.WebAssemblyNamePrefix.Length); 513string baseName = assemblyName.Substring(BuildManager.WebAssemblyNamePrefix.Length);
Compilation\ClientBuildManager.cs (1)
229appVirtualDir = appVirtualDir.Substring(endSlash);
Compilation\CompilationUtil.cs (1)
642return new Version(version.Substring(1));
Compilation\IImplicitResourceProvider.cs (1)
200string property = key.Substring(periodIndex+1);
Compilation\ProfileBuildProvider.cs (1)
178name = name.Substring(pos+1);
Compilation\WebReferencesBuildProvider.cs (1)
71currentWebRefDirVirtualPath = currentWebRefDirVirtualPath.Substring(
Configuration\AuthorizationRule.cs (1)
359ExpandedName = machineName + name.Substring(1);
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
277return fullPath.Substring(lastSlash + 1);
Configuration\ExpressServerConfig.cs (2)
152dirList[dirListCount++] = subVdir.Substring(1); 161dirList[dirListCount++] = subVdir.Substring(appRootRelativePath.Length + 1);
Configuration\GlobalizationSection.cs (1)
251CultureInfo dummyCultureInfo = new CultureInfo(configCulture.Substring(5));
Configuration\MachineKeySection.cs (2)
1100_CustomValidationName = _CustomValidationName.Substring(ALGO_PREFIX.Length); 1185s_oSymAlgoDecryption = SymmetricAlgorithm.Create(Decryption.Substring(ALGO_PREFIX.Length));
Configuration\MetabaseServerConfig.cs (1)
176string appPath = appAboPath.Substring(rootAboPath.Length);
Configuration\ProcessHostServerConfig.cs (2)
142dirList[dirListCount++] = subVdir.Substring(1); 151dirList[dirListCount++] = subVdir.Substring(appRootRelativePath.Length + 1);
Configuration\UserMapPath.cs (2)
132childPart = path.Substring(l+1); 135childPart = path.Substring(l);
Configuration\WebConfigurationHost.cs (3)
339return configPath.Substring(indexVPath); 371vpath = VirtualPath.CreateAbsolute(configPath.Substring(indexVPath)); 696virtualPath = VirtualPath.CreateAbsolute(locationSubPath.Substring(firstSlash));
DataAccess\SqlConnectionHelper.cs (3)
146partialFileName = strUpper.Substring(startPos).Trim(); 148partialFileName = partialFileName.Substring(1); 167string strTemp = strUpper.Substring(pos + 1).Trim();
FileChangesMonitor.cs (3)
1723file = fullPathName.Substring(_appPathInternal.Length+1); 1818file = fullPathName.Substring(_appPathInternal.Length+1); 2005dirToListenTo = dirRootSubDir.Substring(_appPathInternal.Length+1);
Handlers\AssemblyResourceLoader.cs (2)
532string resourceName = decryptedData.Substring(separatorIndex + 1); 538assemblyName = assemblyName.Substring(1);
Handlers\TraceHandler.cs (2)
234AddCell(trow, "<h2>" + HttpUtility.HtmlEncode(vroot.Substring(1)) + "<h2><p>"); 289AddCell(trow, HttpUtility.HtmlEncode((string) current.Tables[SR.Trace_Request].Rows[0][SR.Trace_Url]).Substring(vrootLen));
Hosting\AppDomainFactory.cs (1)
210return virtPath.Substring(1).ToLower(CultureInfo.InvariantCulture).Replace('/', '_');
Hosting\ApplicationManager.cs (1)
1039clrQuirks[element.Key.Substring(_clrQuirkAppSettingsAppContextPrefix.Length)] = value;
Hosting\IIS7WorkerRequest.cs (1)
169_pathInfo = _path.Substring(_filePath.Length);
Hosting\ISAPIApplicationHost.cs (1)
163return id.Substring(si);
Hosting\ISAPIWorkerRequest.cs (1)
2118_pathInfo = _path.Substring(_filePath.Length);
Hosting\SimpleWorkerRequest.cs (2)
44_pathInfo = _page.Substring(i); 215mappedPath = appPath + path.Substring(_appVirtPath.Length).Replace('/', '\\');
HttpApplication.cs (6)
1297vpath = UrlPath.SimpleCombine(HttpRuntime.AppDomainAppVirtualPathString, vpath.Substring(index)); 1896string eventName = appMethodName.Substring(namePosIndex+1); 1902eventName = eventName.Substring(2); 2642_appLevelCulture = HttpServerUtility.CreateReadOnlyCultureInfo(culture.Substring(5)); 2656_appLevelUICulture = HttpServerUtility.CreateReadOnlyCultureInfo(uiCulture.Substring(5)); 2668return culture.Substring(5);
HttpClientCertificate.cs (4)
240return ExtractString(Issuer, field.Substring(6)); 246return ExtractString(Subject, field.Substring(7)); 250return ExtractString(ServerSubject, field.Substring(13)); 253return ExtractString(ServerIssuer, field.Substring(12));
HttpContext.cs (3)
1542qs = (iqs < path.Length-1) ? path.Substring(iqs+1) : String.Empty; 2283return CultureUtil.CreateReadOnlyCulture(configString.Substring(5 /* "auto:".Length */), requireSpecific); 2287return CultureUtil.CreateReadOnlyCulture(configString.Substring(5 /* "auto:".Length */), requireSpecific);
HttpCookie.cs (2)
389string cookieAv = dividerIndex >= 0 ? input.Substring(cookieAvStartIndex, dividerIndex - cookieAvStartIndex).Trim() : input.Substring(cookieAvStartIndex).Trim(); 393string attributeValue = assignmentIndex >= 0 && assignmentIndex < cookieAv.Length - 1 ? cookieAv.Substring(assignmentIndex + 1).Trim() : null;
HttpResponse.cs (5)
2987queryString = path.Substring(i + 1); 3045descr = value.Substring(i+1); 3276virtualPath.Substring(appPath.Length); 3294return virtualPath.Substring(0, pos-1) + virtualPath.Substring(pos + _appPathModifier.Length); 3345url = UrlEncodeIDNSafe(url.Substring(0, iqs)) + HttpUtility.UrlEncodeNonAscii(url.Substring(iqs), qsEncoding);
HttpRuntime.cs (1)
1006appDomainAppPath = appDomainAppPath[0] + appDomainAppPath.Substring(1).Replace(DoubleDirectorySeparatorString,
httpserverutility.cs (3)
326queryStringOverride = path.Substring(iqs+1); 777qs = (iqs < path.Length-1) ? path.Substring(iqs+1) : String.Empty; 1290query = query.Substring(1);
HttpServerVarsCollection.cs (1)
243string headerName = name.Substring("HTTP_".Length);
Management\regiisutil.cs (1)
276appVPath = appVPath.Substring(2);
Management\WebEvents.cs (1)
1845_processName = _processName.Substring(lastIndex + 1);
MimeMapping.cs (2)
70return (pathSeparatorIndex >= 0) ? path.Substring(pathSeparatorIndex) : path; 82if (_mappings.TryGetValue(fileName.Substring(i), out mimeType)) {
MultipartContentParser.cs (1)
207_partContentType = line.Substring(ic+1).Trim();
OutputCacheModule.cs (2)
758maxage = Convert.ToInt32(directive.Substring(8), CultureInfo.InvariantCulture); 778minfresh = Convert.ToInt32(directive.Substring(10), CultureInfo.InvariantCulture);
Routing\PageRouteHandler.cs (1)
55_routeVirtualPath = new Route(VirtualPath.Substring(2), this);
Routing\ParameterSubsegment.cs (1)
7ParameterName = parameterName.Substring(1);
Routing\Route.cs (1)
94string requestPath = httpContext.Request.AppRelativeCurrentExecutionFilePath.Substring(2) + httpContext.Request.PathInfo;
Routing\RouteCollection.cs (1)
223qs = url.Substring(iqs);
Routing\RouteParser.cs (2)
102string lastLiteralPart = GetLiteral(segment.Substring(startIndex)); 188string finalPart = url.Substring(currentIndex);
Security\ADMembershipProvider.cs (3)
3543port = Int32.Parse(tempStr.Substring(index + 1), NumberFormatInfo.InvariantInfo); 4117username = tempUsername.Substring(index + 1); 4341pdc = domainControllerInfo.DomainControllerName.Substring(2);
Security\AuthStoreRoleProvider.cs (1)
560string fileName = _ConnectionString.Substring("msxml://".Length).Replace('/', '\\');
Security\CookielessHelper.cs (3)
93path = path.Substring(0, startPos) + path.Substring(endPos+1); 101path = path + rawUrl.Substring(qsIndex); 160_Headers = _Headers.Substring(0, startPos-2) + _Headers.Substring(endPos+1); // Remove old value
Security\Cryptography\MachineKeyCryptoAlgorithmFactory.cs (1)
97string algorithmName = configAttributeValue.Substring("alg:".Length);
Security\FormsAuthentication.cs (2)
593strUrl = strUrl.Substring(pos); 907strUrl = strUrl.Substring(0, pos + lenAtStartToLeave) + strUrl.Substring(end);
Security\FormsAuthenticationModule.cs (1)
314strRedirect += "&" + strUrl.Substring(iIndex + 1);
Security\PassportAuthenticationModule.cs (1)
228strRedirect += "&" + strUrl.Substring(iIndex+1);
Security\PassportIdentity.cs (1)
123String strValue = strCurrentHeader.Substring(iColon+1);
Security\WindowsTokenRoleProvider.cs (1)
135roles[iter] = roles[iter].Substring(len);
State\InProcStateClientManager.cs (1)
66id = key.Substring(CACHEKEYPREFIXLENGTH);
State\OutOfProcStateClientManager.cs (1)
199stateConnectionString = stateConnectionString.Substring("tcpip=".Length);
State\StateWorkerRequest.cs (1)
93_uri = _uri.Substring(1);
UI\ClientScriptManager.cs (1)
930script = script.Substring(0, index + 1) + ";" + script.Substring(index + 1);
UI\Control.cs (3)
336_cachedPredictableID = suffixID.Substring(1); 1372return UniqueID.Substring(control.NamingContainer.UniqueID.Length + 1); // add 1 for the ID seperator (which is a char) 3164childID = id.Substring(pathOffset);
UI\ControlBuilder.cs (2)
1069string eventName = name.Substring(2); 2762string expressionCode = code.Substring(indexOfColon + 1).Trim();
UI\HtmlForm.cs (1)
291action = "./" + action.Substring(iPos + 1);
UI\HTMLTextWriter.cs (1)
1239Write(url.Substring(i));
UI\Page.cs (4)
2210viewStateChunks.Add(state.Substring(curPos)); 3863newCulture = HttpServerUtility.CreateReadOnlyCultureInfo(value.Substring(5)); 3933newUICulture = HttpServerUtility.CreateReadOnlyCultureInfo(value.Substring(5)); 6281s = s.Substring(slash+1);
UI\PageParser.cs (1)
383_culture = _culture.Substring(5);
UI\PropertyMapper.cs (2)
52propName = mappedName.Substring(startIndex); 166propertyName = mappedName.Substring(startIndex);
UI\SimpleWebHandlerParser.cs (1)
250string remainingText = text.Substring(textPos);
UI\TagNameToTypeMapper.cs (1)
502tagName = tagName.Substring(colonIndex+1);
UI\TemplateParser.cs (3)
1204precompTargetWriter.Write(text.Substring(match.Index+match.Length)); 2357string assemblyName = typeName.Substring(commaIndex + 1).Trim(); 2527code = code.Substring(newlineIndex + 1);
UI\Util.cs (1)
1172string cultureName = fileNameNoExt.Substring(dotIndex+1);
UI\WebControls\Adapters\MenuAdapter.cs (2)
598string newPath = UnEscape(HttpUtility.UrlDecode(eventArgument.Substring(1))); 642UnEscape(HttpUtility.UrlDecode(eventArgument.Substring(1))));
UI\WebControls\Calendar.cs (2)
1170int newDateDiff = Int32.Parse(eventArgument.Substring(NAVIGATE_MONTH_COMMAND.Length), CultureInfo.InvariantCulture); 1185int rangeValue = Int32.Parse(eventArgument.Substring(SELECT_RANGE_COMMAND.Length), CultureInfo.InvariantCulture);
UI\WebControls\CheckBoxList.cs (2)
353string strIndex = postDataKey.Substring(UniqueID.Length + 1); 359strIndex = strIndex.Substring(underscoreIndex + 1);
UI\WebControls\DetailsView.cs (1)
3366CommandEventArgs cea = new CommandEventArgs(eventArgument.Substring(0, separatorIndex), eventArgument.Substring(separatorIndex + 1));
UI\WebControls\FormView.cs (1)
2845CommandEventArgs cea = new CommandEventArgs(eventArgument.Substring(0, separatorIndex), eventArgument.Substring(separatorIndex + 1));
UI\WebControls\GridView.cs (1)
4164CommandEventArgs cea = new CommandEventArgs(eventArgument.Substring(0, separatorIndex), eventArgument.Substring(separatorIndex + 1));
UI\WebControls\TreeView.cs (4)
2328return Int32.Parse(s.Substring(i + 1), CultureInfo.InvariantCulture); 3150string nodePath = HttpUtility.HtmlDecode(eventArgument.Substring(1)); 3268string valuePath = _callbackEventArgument.Substring(startIndex); 3272string nodeValue = TreeView.UnEscape(valuePath.Substring(startIndex + 1));
UI\WebControls\Unit.cs (1)
125type = (UnitType)GetTypeFromString(trimLcase.Substring(lastDigit+1).Trim());
UI\WebControls\xml.cs (2)
50string textNoWS = text.Substring(iFirstNonWhiteSpace); 345DocumentContent = text.Substring(iFirstNonWhiteSpace);
UI\WebParts\WebPartZoneBase.cs (1)
1110partID = wholePartID.Substring(WebPart.WholePartIDPrefix.Length);
UI\WebResourceAttribute.cs (1)
65cdnPath = "https" + cdnPath.Substring(4);
Util\HttpEncoder.cs (1)
798return UrlPathEncodeImpl(value.Substring(0, i)) + value.Substring(i);
Util\UriUtil.cs (2)
126queryAndFragment = input.Substring(queryFragmentSeparatorPos); 172path = inputWithoutQueryFragment.Substring(schemeAndAuthorityLength);
Util\UrlPath.cs (8)
194path = appPath + "/" + relative.Substring(2); 196path = "/" + relative.Substring(2); 230queryString = path.Substring(iqs); 362queryString = to.Substring(iqs); 386relativePath = to.Substring(iPos + 1); 599return appRelativeCharacter + virtualPath.Substring(appPathLength-1); 623return applicationPath + virtualPath.Substring(2); 626return "/" + virtualPath.Substring(2);
Util\versioninfo.cs (3)
65fileName = fileName.Substring(4); 122System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion().Substring(1); 143s = s.Substring(i+1);
VirtualPath.cs (1)
103_appRelativeVirtualPath.Substring(2);
WorkerRequest.cs (1)
495return cacheUrl.Substring(index);
XmlSiteMapProvider.cs (3)
685resourceKey = temp.Substring(_resourcePrefixLength + 1); 702key = resourceKey.Substring(index + 1); 707text = key.Substring(defaultIndex + 1);
System.Web.DataVisualization (32)
Common\Annotation\AnnotationBase.cs (2)
3282string pointIndex = dataPointName.Substring(separatorIndex + 2); 3315string axisType = axisName.Substring(separatorIndex + 2);
Common\ChartTypes\BoxPlotChart.cs (1)
1584 valueName = linkedSeriesName.Substring(valueTypeIndex + 1);
Common\ChartTypes\ErrorBarChart.cs (2)
1650 typeName = typeName.Substring(errorBarType.ToString().Length); 1818 valueName = linkedSeriesName.Substring(valueTypeIndex + 1);
Common\ChartTypes\KagiChart.cs (1)
224 Series kagiSeries = chart.Series[series.Name.Substring(19)];
Common\ChartTypes\PieChart.cs (1)
488 Series pieSeries = chart.Series[series.Name.Substring(18)];
Common\ChartTypes\PointAndFigureChart.cs (2)
255 Series pointAndFigureSeries = chart.Series[series.Name.Substring(29)]; 713 Series pointAndFigureSeries = chart.Series[series.Name.Substring(29)];
Common\ChartTypes\RenkoChart.cs (1)
229Series renkoSeries = chart.Series[series.Name.Substring(20)];
Common\ChartTypes\StackedBarChart.cs (1)
1003 stackGroupName = stackGroupName.Substring(index + 2);
Common\ChartTypes\StackedColumnChart.cs (1)
1009 stackGroupName = stackGroupName.Substring(index + 2);
Common\ChartTypes\ThreeLineBreakChart.cs (1)
230Series threeLineBreakSeries = chart.Series[series.Name.Substring(29)];
Common\DataManager\DataPoint.cs (4)
190 _sortingValueIndex = Int32.Parse(sortBy.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1; 365 otherFieldNames[index] = otherAttributeNames[index].Substring(equalSignIndex + 1); 377 otherValueFormat[index] = otherFieldNames[index].Substring(bracketIndex + 1); 2412 yIndex = Int32.Parse(valueName.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1;
Common\Formulas\FormulaHelpers.cs (2)
1511if (int.TryParse(seriesFieldId.Substring(1), out id)) 1601if (int.TryParse(seriesFieldId.Substring(1), out seriesFieldIndex))
Common\General\Axis.cs (2)
4695newText.Substring((newText.Length) / 2 - index + 1); 4703newText.Substring((newText.Length) / 2 + index + 1);
Common\General\LegendColumns.cs (1)
1850 resultString.Substring(charIndex + 1).TrimStart();
Common\Utilities\ImageLoader.cs (1)
227string resourceName = imageURL.Substring(columnIndex + 2);
Common\Utilities\ValueConverter.cs (1)
83 if(!convertionFormat.Substring(bracketIndex).StartsWith("{0:", StringComparison.Ordinal))
Common\Utilities\XmlSerializer.cs (3)
554 string val = fontString.Substring(charIndex + 13); 733 return name.Substring(name.LastIndexOf('.') + 1); 1234 propertyInfo.name = item.Substring(pointIndex + 1).Trim();
WebForm\ChartWebControl.cs (2)
825 result += imageUrl.Substring(indexClosing + 1); 2045 buildNumber = buildNumber.Substring(versionIndex + 8);
WebForm\General\ChartHttpHandler.cs (3)
395return "text/" + ext.Substring(1); 399string fmt = ext.Substring(1).Replace("jpg", "jpeg"); 1075String value = item.Substring(eqPositon + 1).Trim();
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
659if (int.TryParse(components[0].Substring("SRID=".Length), NumberStyles.AllowLeadingSign, CultureInfo.InvariantCulture, out srid))
System.Web.Entity.Design (4)
System\Data\WebControls\Design\EntityDataSourceDataSelection.cs (1)
412int propertyIndex = ReadPropertyName(propertyName.Substring(s_itKeyword.Length));
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (3)
882resolvedPath = ExpandDataDirectory(metadataPaths.Substring(macroPathBeginIndex), warnings); 917return String.Concat(dataDirectoryPath, trimmedPath.Substring(s_dataDirectory.Length)); 952metadataPaths.Add(String.Concat(rootItem.PhysicalPath, resourcePath.Substring(s_virtualRoot.Length)));
System.Web.Extensions (18)
ClientServices\Providers\ProxyHelper.cs (3)
297value = allCookies[iter].Substring(posEquals + 1); 350string cookieValue = ((posEquals < 0) ? string.Empty : cookieHeader.Substring(posEquals + 1)).Trim(); 434cookieValue = ";" + sb.ToString().Substring((connectionString==null) ? 0 : 1);
Compilation\WCFBuildProvider.cs (1)
450virtualPath = VirtualPathUtility.RemoveTrailingSlash(virtualPath).Substring(webReferencesRootVirtualPath.Length);
Compilation\WCFModel\MetadataFile.cs (1)
504ns = ns.Substring(i + 1);
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
1062return replacementNamespace + typeName.Substring(originalNamespace.Length);
Handlers\ScriptModule.cs (1)
173string methodName = request.PathInfo.Substring(1);
Handlers\ScriptResourceHandler.cs (2)
362OutputEmptyPage(response, decryptedString.Substring(1)); 369decryptedString = decryptedString.Substring(1);
Script\Serialization\JavaScriptString.cs (1)
66return _s.Substring(_index);
Script\Services\ClientProxyGenerator.cs (1)
227proxyPath = proxyPath.Substring(0, domainEnd) + HttpUtility.UrlPathEncode(proxyPath.Substring(domainEnd));
Script\Services\RestHandler.cs (1)
35string methodName = context.Request.PathInfo.Substring(1);
UI\PageRequestManager.cs (1)
355_asyncPostBackSourceElementID = postBackSourceInfo.Substring(indexOfPipe + 1);
UI\ProfileServiceManager.cs (1)
186propertyName = fullPropertyName.Substring(dotIndex + 1);
UI\ScriptBehaviorDescriptor.cs (1)
66return type.Substring(index + 1);
UI\ScriptReferenceBase.cs (1)
170query = releasePath.Substring(indexOfQuery);
UI\ScriptResourceDefinition.cs (1)
113cdnPath = "https" + unsecurePath.Substring(4);
UI\WebControls\Dynamic.cs (1)
2031if (id.Length > 1 && id[0] == '@') id = id.Substring(1);
System.Web.Mobile (28)
Mobile\UrlPath.cs (5)
108path = appPath + "/" + relative.Substring(2); 112path = "/" + relative.Substring(2); 138queryString = path.Substring(iqs); 252return appPath + "/" + virtualPath.Substring(2); 254return "/" + virtualPath.Substring(2);
UI\MobileControls\Adapters\ChtmlImageAdapter.cs (3)
39source.Substring(Constants.SymbolProtocol.Length)); 48String symbolChars = source.Substring( 50char code = DecimalStringToChar(symbolChars.Substring(1));
UI\MobileControls\Adapters\HtmlControlAdapter.cs (1)
118String name = target.Substring(prefix.Length);
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
375queryString = action.Substring(indexOfQueryStringText + 1);
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (1)
588return Int32.Parse(arg.Substring(ShowMore.Length), CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\WmlControlAdapter.cs (2)
111String formID = targetUrl.Substring(prefix.Length); 187String formID = target.Substring(prefix.Length);
UI\MobileControls\Adapters\WmlFormAdapter.cs (1)
212eventArgument = eventSource.Substring(comma + 1);
UI\MobileControls\Adapters\WmlImageAdapter.cs (1)
68localSource = source.Substring(Constants.SymbolProtocol.Length);
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (1)
1357String s = url.Substring(i);
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (1)
374return Int32.Parse(arg.Substring(_showMore.Length), CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicControlAdapter.cs (1)
224String name = target.Substring(prefix.Length);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (1)
192return Int32.Parse(arg.Substring(ShowMore.Length), CultureInfo.InvariantCulture);
UI\MobileControls\DeviceSpecificChoice.cs (2)
183propertyName = propertyName.Substring(dash + 1); 266String eventName = name.Substring(2);
UI\MobileControls\Link.cs (1)
95String targetID = target.Substring(prefix.Length);
UI\MobileControls\LiteralTextParser.cs (1)
195ParseText(literalText.Substring(currentPosition));
UI\MobileControls\MobileCategoryAttribute.cs (1)
58String categoryName = value.Substring(_prefixLength);
UI\MobileControls\MobilePage.cs (2)
504s = s.Substring(slash+1); 943HiddenVariables[key.Substring(HiddenVariablePrefix.Length)] = collection[i];
UI\MobileControls\ObjectList.cs (1)
502tableFields.Substring(pos) :
UI\MobileControls\PhoneCall.cs (1)
168String targetID = target.Substring(prefix.Length);
System.Web.Services (13)
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (3)
268switch (response.ResponseUri.AbsolutePath.Substring(dotIndex + 1).ToLower(CultureInfo.InvariantCulture)) { 455answer += fullPath.Substring(currentDir.Length); 457answer = answer.Substring(1);
System\Web\Services\Discovery\DiscoveryReference.cs (1)
79if (lastSlash >= 0) url = url.Substring(lastSlash + 1);
System\Web\Services\Discovery\DiscoveryRequestHandler.cs (1)
140return str.Substring(lastSlash + 1);
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
118string physicalDir = dir.Substring(rootPathAsdi.Length);
System\Web\Services\Protocols\LogicalMethodInfo.cs (2)
88methodName = beginMethodInfo.Name.Substring(5); 531string endName = "End" + beginMethodInfo.Name.Substring(5);
System\Web\Services\Protocols\RequestResponse.cs (3)
227ch = (char)Int32.Parse(entity.Substring(2), NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture); 229ch = (char)Int32.Parse(entity.Substring(1), CultureInfo.InvariantCulture); 545t[s.Substring(2)] = s[0]; // 1st char is the code, 2nd '-'
System\Web\Services\Protocols\Scalars.cs (1)
238return paramDecl.Substring(equals + 1).Trim(new char[] { ' ', '\'', '\"', '\t' });
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
859return new XmlQualifiedName(qnameValue.Substring(colon + 1), ns);
System.Windows.Forms (21)
misc\DebugHandleTracker.cs (1)
451return releventStack.Substring(startIndex);
misc\GDI\WindowsFont.cs (1)
235familyName = familyName.Substring(1);
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
135value = value.Substring(1);
winforms\Managed\System\Resources\ResXDataNode.cs (2)
885assemblyName = assemblyQualifiedTypeName.Substring(pos + 1).TrimStart(); 1008string fullName = name.Substring(pos + 1).Trim();
winforms\Managed\System\Resources\ResXFileRef.cs (3)
158return relPath.ToString() + path2.Substring(si + 1); 253remainingString = stringValue.Substring(lastIndexOfQuote+2); 261remainingString = stringValue.Substring(nextSemiColumn+1);
winforms\Managed\System\Resources\ResXResourceReader.cs (1)
663return typeName.Substring(indexStart + 2);
winforms\Managed\System\Resources\ResXResourceWriter.cs (1)
683return typeName.Substring(indexStart + 2);
winforms\Managed\System\WinForms\Application.cs (1)
525productName = ns.Substring(lastDot+1);
winforms\Managed\System\WinForms\BindingContext.cs (1)
360string dataField = dataMember.Substring(lastDot + 1);
winforms\Managed\System\WinForms\BindingMemberInfo.cs (1)
31dataField = dataMember.Substring(lastDot+1);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (2)
98assemblyName = attrName.Substring(comma); 105fieldName = attrName.Substring(lastDot + 1);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
119name = name.Substring(1);
winforms\Managed\System\WinForms\Control.cs (2)
16998streamName = streamName.Substring(len - 31); 20210productName = ns.Substring(firstDot+1);
winforms\Managed\System\WinForms\FileDialog.cs (1)
176value = value.Substring(1);
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
848string hexColor = strColor.Substring(index + 1);
winforms\Managed\System\WinForms\NativeMethods.cs (1)
6077String right = s.Substring(n+1);
System.Windows.Forms.DataVisualization (28)
Common\Annotation\AnnotationBase.cs (2)
3282string pointIndex = dataPointName.Substring(separatorIndex + 2); 3315string axisType = axisName.Substring(separatorIndex + 2);
Common\ChartTypes\BoxPlotChart.cs (1)
1584 valueName = linkedSeriesName.Substring(valueTypeIndex + 1);
Common\ChartTypes\ErrorBarChart.cs (2)
1650 typeName = typeName.Substring(errorBarType.ToString().Length); 1818 valueName = linkedSeriesName.Substring(valueTypeIndex + 1);
Common\ChartTypes\KagiChart.cs (1)
224 Series kagiSeries = chart.Series[series.Name.Substring(19)];
Common\ChartTypes\PieChart.cs (1)
488 Series pieSeries = chart.Series[series.Name.Substring(18)];
Common\ChartTypes\PointAndFigureChart.cs (2)
255 Series pointAndFigureSeries = chart.Series[series.Name.Substring(29)]; 713 Series pointAndFigureSeries = chart.Series[series.Name.Substring(29)];
Common\ChartTypes\RenkoChart.cs (1)
229Series renkoSeries = chart.Series[series.Name.Substring(20)];
Common\ChartTypes\StackedBarChart.cs (1)
1003 stackGroupName = stackGroupName.Substring(index + 2);
Common\ChartTypes\StackedColumnChart.cs (1)
1009 stackGroupName = stackGroupName.Substring(index + 2);
Common\ChartTypes\ThreeLineBreakChart.cs (1)
230Series threeLineBreakSeries = chart.Series[series.Name.Substring(29)];
Common\DataManager\DataPoint.cs (4)
190 _sortingValueIndex = Int32.Parse(sortBy.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1; 365 otherFieldNames[index] = otherAttributeNames[index].Substring(equalSignIndex + 1); 377 otherValueFormat[index] = otherFieldNames[index].Substring(bracketIndex + 1); 2412 yIndex = Int32.Parse(valueName.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1;
Common\Formulas\FormulaHelpers.cs (2)
1511if (int.TryParse(seriesFieldId.Substring(1), out id)) 1601if (int.TryParse(seriesFieldId.Substring(1), out seriesFieldIndex))
Common\General\Axis.cs (2)
4695newText.Substring((newText.Length) / 2 - index + 1); 4703newText.Substring((newText.Length) / 2 + index + 1);
Common\General\LegendColumns.cs (1)
1850 resultString.Substring(charIndex + 1).TrimStart();
Common\Utilities\ImageLoader.cs (1)
227string resourceName = imageURL.Substring(columnIndex + 2);
Common\Utilities\ValueConverter.cs (1)
83 if(!convertionFormat.Substring(bracketIndex).StartsWith("{0:", StringComparison.Ordinal))
Common\Utilities\XmlSerializer.cs (3)
554 string val = fontString.Substring(charIndex + 13); 733 return name.Substring(name.LastIndexOf('.') + 1); 1234 propertyInfo.name = item.Substring(pointIndex + 1).Trim();
WinForm\ChartWinControl.cs (1)
1881 buildNumber = buildNumber.Substring(versionIndex + 8);
System.Workflow.Activities (24)
Common\BasePropertyDescriptor.cs (2)
503propertyName = this.Name.Substring(parameterPrefix.Length); 548string propertyName = (displayName.StartsWith(parameterPrefix, StringComparison.Ordinal)) ? displayName.Substring(parameterPrefix.Length) : displayName;
Common\CompModHelpers.cs (8)
72keyPath = userRegistryKey.ToString().Substring(Registry.CurrentUser.ToString().Length + 1); 397b.Append(baseIdentifier.Substring(i)); 461name = inputName.Substring(indexOfDot + 1); 484className = fullQualifiedName.Substring(indexOfDot + 1); 529className = fullQualifiedName.Substring(indexOfDot + 1); 961method = methodName.Substring(methodName.LastIndexOf('.') + 1); 1085nextActivityName = activityName.Substring(indexOfDot + 1); 1418nextActivityName = activityName.Substring(indexOfDot + 1);
Common\TypeSystemHelpers.cs (4)
80typeName = inputTypeName.Substring(0, startIndex) + inputTypeName.Substring(endIndex + 1); 117parameters[loop] = parameters[loop].Substring(3).TrimStart(); 123typeName = inputTypeName.Substring(0, endIndex) + inputTypeName.Substring(endIndex + 1); 218string partValue = parts[index].Substring(indexOfEquals + 1).Trim().ToLowerInvariant();
Designers\StateDesigner.cs (1)
2763string name = path.Substring(index + 1);
Rules\Design\Dialogs\IntellisenseTextBox.cs (3)
91projectedValue.Append(currentValue.Substring(selectionStart + selectionLength)); 151projectedValue.Append(currentValue.Substring(selectionStart + selectionLength)); 599return textTillCaret.Substring(prefixStart + 1);
Rules\Literal.cs (1)
714methodName = methodName.Substring(3); // strip off the op_
Rules\Parser\Symbol.cs (1)
186string count = type.Name.Substring(tickIx + 1);
Rules\RuleAttributes.cs (2)
198suffix = suffix.Substring(optionalPrefix.Length); 211suffix = suffix.Substring(firstSlash + 1);
WebServiceReceive.cs (2)
716String webServiceTypeName = className.Substring(className.LastIndexOf('.') + 1) + "_WebService"; 729webServiceClass = this.GetWebserviceCodeTypeDeclaration(className.Substring(className.LastIndexOf('.') + 1));
System.Workflow.ComponentModel (49)
AuthoringOM\Activity.cs (3)
898resolvedActivity = this.TraverseDottedPath(path.Substring(thisPath.Length > 0 ? thisPath.Length + 1 : 0)); 974relativeDottedPath = dottedPathFromRoot.Substring(thisActivityDottedPath.Length + 1); 2167remainingPath = dottedPath.Substring(indexOfDot + 1);
AuthoringOM\Compiler\CompileXomlTask.cs (1)
1246cultureName = cultureName.Substring(1);
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
187parseableValue += enumValue.Substring(valueSep + 1);
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
300name = this.fullName.Substring(idx + 1); 693nestedName = nestedName.Substring(0, indexOfLastDot) + "+" + nestedName.Substring(indexOfLastDot + 1);
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
291typeName = typeName.Substring(1);
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (2)
189return GetGenericTypeDefinition().FullName.Substring(Namespace.Length + 1); 191return FullName.Substring(Namespace.Length + 1);
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
383assemblyName = name.Substring(indexOfComma + 1).Trim();
AuthoringOM\Compiler\Validation\BindValidator.cs (5)
630path = memberName.Substring(indexOfSeparator); 631path = path.StartsWith(".") ? path.Substring(1) : path; 652string indexerPart = bind.Path.Substring(indexOfSeparator); 657path = (closingBracketIndex + 1 < indexerPart.Length) ? indexerPart.Substring(closingBracketIndex + 1) : string.Empty; 658path = path.StartsWith(".") ? path.Substring(1) : path;
AuthoringOM\Design\DesignerHelpers.cs (1)
1494string name = path.Substring(index + 1);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
933memberName = (index != -1 && (index + 1) < memberName.Length) ? memberName.Substring(index + 1) : memberName;
AuthoringOM\Design\TypeConverters.cs (2)
389activityID = activityID.Substring(activityIDMatch.Length); 390path = path.Substring(pathMatch.Length);
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (1)
109name = name.Substring(name.LastIndexOf('.') + 1);
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
192propName = ((string)key).Substring(indexOfDot + 1);
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
316assemblyName = typeName.Substring(commaIndex + 1);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (7)
109rootActivity.Name = name.Substring(name.LastIndexOf('.') + 1); 463string propertyName = reader.LocalName.Substring(reader.LocalName.IndexOf('.') + 1); 508obj2 = ((string)obj2).Substring(2); 1234value = value.Substring(2); 1869propValue = ((string)propValue).Substring(2); 2062propertyName = fullPropertyName.Substring(separatorIndex + 1); 2492typename = typename.Substring(typeIndex + 1);
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (3)
266string clrNamespace = xmlNamespace.Substring(StandardXomlKeys.CLRNamespaceQualifier.Length).Trim(); 271assemblyName = (index + 1 < clrNamespace.Length) ? clrNamespace.Substring(index + 1).Trim() : String.Empty; 277assemblyName = assemblyName.Substring(StandardXomlKeys.AssemblyNameQualifier.Length);
AuthoringOM\Serializer\XamlInterfaces.cs (1)
184typename = typename.Substring(typeIndex + 1);
Shared\BasePropertyDescriptor.cs (2)
502propertyName = this.Name.Substring(parameterPrefix.Length); 547string propertyName = (displayName.StartsWith(parameterPrefix, StringComparison.Ordinal)) ? displayName.Substring(parameterPrefix.Length) : displayName;
Shared\CompModHelpers.cs (8)
70keyPath = userRegistryKey.ToString().Substring(Registry.CurrentUser.ToString().Length + 1); 395b.Append(baseIdentifier.Substring(i)); 459name = inputName.Substring(indexOfDot + 1); 482className = fullQualifiedName.Substring(indexOfDot + 1); 527className = fullQualifiedName.Substring(indexOfDot + 1); 959method = methodName.Substring(methodName.LastIndexOf('.') + 1); 1083nextActivityName = activityName.Substring(indexOfDot + 1); 1416nextActivityName = activityName.Substring(indexOfDot + 1);
Shared\TypeSystemHelpers.cs (4)
79typeName = inputTypeName.Substring(0, startIndex) + inputTypeName.Substring(endIndex + 1); 116parameters[loop] = parameters[loop].Substring(3).TrimStart(); 122typeName = inputTypeName.Substring(0, endIndex) + inputTypeName.Substring(endIndex + 1); 217string partValue = parts[index].Substring(indexOfEquals + 1).Trim().ToLowerInvariant();
Shared\XomlSerializationHelpers.cs (1)
397codeNamespace.Name = codeNamespace.Name.Substring(rootNS.Length + 1);
System.Workflow.Runtime (2)
Tracking\SqlTrackingService.cs (2)
2539_callPathKey = SqlEscape(_callPathKey.Substring(1)); 2542_parentCallPathKey = SqlEscape(_parentCallPathKey.Substring(1));
System.WorkflowServices (1)
System\Workflow\Activities\ContractType.cs (1)
61this.name = this.fullName.Substring(idx + 1);
System.Xml (43)
parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
135value = value.Substring(1);
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
1705lnameStr = this.xnt.Add(prefixStr.Substring(6));
System\Xml\Core\XmlCharCheckingWriter.cs (1)
164text = text.Substring( i + 2 );
System\Xml\Core\XmlCharCheckingWriterAsync.cs (1)
83text = text.Substring( i + 2 );
System\Xml\Core\XmlTextReaderImpl.cs (2)
5293curNode.SetValue( curNode.StringValue.Substring( readValueOffset ) ); 5307curNode.SetValue( curNode.StringValue.Substring( readValueOffset ) );
System\Xml\Core\XmlTextReaderImplAsync.cs (2)
3331curNode.SetValue( curNode.StringValue.Substring( readValueOffset ) ); 3345curNode.SetValue( curNode.StringValue.Substring( readValueOffset ) );
System\Xml\Dom\XmlNode.cs (1)
1081localName = name.Substring(colonPos+1);
System\Xml\Schema\DtdParser.cs (2)
298nameTable.Add( docTypeName.Substring( colonPos + 1 ) ) ); 1524Throw( curPos - systemId.Length - 1, Res.Xml_FragmentId, new string[] { systemId.Substring( systemId.IndexOf( '#' ) ), systemId } );
System\Xml\Schema\DtdParserAsync.cs (1)
1138Throw( curPos - systemId.Length - 1, Res.Xml_FragmentId, new string[] { systemId.Substring( systemId.IndexOf( '#' ) ), systemId } );
System\Xml\Schema\Inference\Infer.cs (1)
1760if (s.Substring(i) == "INF")
System\Xml\Schema\XdrBuilder.cs (1)
492Uri ruri = xmlResolver.ResolveUri(_baseUri, uri.Substring(x_schema.Length));
System\Xml\Schema\XdrValidator.cs (1)
278string url = uri.Substring(x_schema.Length);
System\Xml\Serialization\CodeIdentifier.cs (3)
42return char.ToUpper(identifier[0], CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture) + identifier.Substring(1); 56return char.ToLower(identifier[0], CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture) + identifier.Substring(1); 173int arguments = Int32.Parse(name.Substring(nameEnd+1), CultureInfo.InvariantCulture) + index;
System\Xml\Serialization\Compiler.cs (1)
249outName = val.Substring(5);
System\Xml\Serialization\Mappings.cs (2)
104return new XmlQualifiedName(XmlConvert.EncodeLocalName(name.Substring(colon + 1)), XmlConvert.EncodeLocalName(name.Substring(0, colon))).ToString(); 205Name = Name.Substring("xml:".Length);
System\Xml\Serialization\Types.cs (1)
1221dims = type.Substring(nameLen);
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1748string choiceName = colon < 0 ? xmlName : xmlName.Substring(colon+1); 1847string choiceName = colon < 0 ? choiceId : choiceId.Substring(colon+1);
System\Xml\Serialization\XmlSerializationILGen.cs (2)
567System.Diagnostics.Debug.Assert(memberInfos.ContainsKey(source.Substring(3))); 568MemberInfo memInfo = memberInfos[source.Substring(3)];
System\Xml\Serialization\XmlSerializationReader.cs (4)
785attr.Value = r.LookupNamespace(attr.Value.Substring(0, colon)) + ":" + attr.Value.Substring(colon + 1); 1116string localName = value.Substring(colon + 1); 1385fixupReference = href.Substring(1); 1802xsiTypeName = (colon >= 0) ? value.Substring(colon+1) : value;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (4)
2809Debug.Assert(memberInfos.ContainsKey(source.Substring(3))); 2810MemberInfo memInfo = memberInfos[source.Substring(3)]; 2881Debug.Assert(memberInfos.ContainsKey(source.Substring(3))); 2882memberMapping.MemberInfo = memberInfos[source.Substring(3)];
System\Xml\Serialization\XmlSerializationWriter.cs (4)
493Int64 index = Int64.Parse(name.Substring(prefixLength), CultureInfo.InvariantCulture); 852w.WriteAttributeString(prefix, localName.Substring(colon+1), ns, value); 879w.WriteStartAttribute(prefix, localName.Substring(colon+1), ns); 3207string choiceName = colon < 0 ? xmlName : xmlName.Substring(colon+1);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
2188string choiceName = colon < 0 ? xmlName : xmlName.Substring(colon + 1); 2378Debug.Assert(initValue.MemberInfo.Name == initValue.Arg.Substring(3));
System\Xml\ValidateNames.cs (1)
302localName = s.Substring(colonOffset + 1);
System\Xml\XPath\Internal\StringFunctions.cs (2)
138return (idx < 0) ? string.Empty : s1.Substring(idx + s2.Length); 170return str1.Substring((int)num);
WindowsBase (14)
Base\MS\Internal\AvTrace.cs (1)
444sb.Append(s.Substring(index));
Base\MS\Internal\ContentType.cs (3)
115ParseParameterAndValue(contentType.Substring(semiColonIndex)); 460parameterAndValue = parameterAndValue.Substring(1); 482parameterAndValue = parameterAndValue.Substring(parameterStartIndex + parameterValueLength).TrimStart(_LinearWhiteSpaceChars);
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (1)
1150userName = typePrefixedUserName.Substring(colonIndex + 1);
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
132uri = reference.Uri.Substring(1);
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (2)
607String query = attrValue.Substring(index); 611contentType = new ContentType(query.Substring(_contentTypeQueryStringPrefix.Length));
Base\System\IO\Packaging\PackUriHelper.cs (1)
1125_partUriExtension = _partUriExtension.Substring(1);
Base\System\IO\Packaging\ZipPackage.cs (2)
113string zipItemName = ((PackUriHelper.ValidatedPartUri)partUri).PartUriString.Substring(1); 480return opcName.Substring(1);
Base\System\Windows\Input\ModifierKeysConverter.cs (1)
195modifiersToken = modifiersToken.Substring(offset + 1);
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
94"Get" + methodInfo.Name.Substring("Set".Length),
Shared\MS\Internal\ResourceIDHelper.cs (1)
72resourceID = sourcePath.Substring(basePath.Length);
WsatConfig (3)
CommandLine\ArgumentsParser.cs (1)
103value = arg.Substring(separator + 1);
CommandLine\ConsoleEntryPoint.cs (1)
245return rawArg.Substring(1);
CommandLine\OptionUsage.cs (1)
299text = text.Substring(index);
XamlBuildTask (6)
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (1)
537string className = fullClassName.Substring(lastIndex + 1);
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (5)
390@namespace.Substring(assemblyIndex) == realAssemblyName) 486? @namespace.Substring(nsIndex).TrimEnd(' ', ';') 516clrNs = clrNs.Substring(rootNamespace.Length + 1); 564assemblyName = assemblyIndex > -1 ? typeNs.Substring(assemblyIndex) : String.Empty; 576ns = typeNs.Substring(nsIndex);