Base:
method
ToString
System.ValueType.ToString()
1099 references to ToString
mscorlib (71)
system\cfgparser.cs (1)
312BCLDebug.Trace("REMOTE", "NotifyEvent "+((Enum)nEvent).ToString()+"\n");
system\diagnostics\eventing\eventsource.cs (4)
6118name, ((EventChannel)value).ToString())); 6353channelType = attribs.EventChannelType.ToString(); 6616return (((int)level >= 16) ? "" : "win:") + level.ToString(); 6633string channelName = channel.ToString(); // For well know channels this is a nice name, otherwise a number
system\enum.cs (2)
856return ToString(); 873return ToString();
system\resources\resourcereader.cs (3)
548typeString = typeCode.ToString(); 1249Contract.Assert(!String.Equals(typeCode.ToString(), "LastPrimitive"), "Change ResourceTypeCode metadata order so LastPrimitive isn't what Enum.ToString prefers."); 1250return "ResourceTypeCode." + typeCode.ToString();
system\runtime\remoting\lease.cs (13)
110throw new RemotingException(Environment.GetResourceString("Remoting_Lifetime_InitialStateRenewOnCall", ((Enum)state).ToString())); 128throw new RemotingException(Environment.GetResourceString("Remoting_Lifetime_InitialStateSponsorshipTimeout", ((Enum)state).ToString())); 146BCLDebug.Trace("REMOTE", "Lease Set InitialLeaseTime Property ",managedObject," "+InitialLeaseTime+", current state "+((Enum)state).ToString()); 149throw new RemotingException(Environment.GetResourceString("Remoting_Lifetime_InitialStateInitialLeaseTime", ((Enum)state).ToString())); 179BCLDebug.Trace("REMOTE", "Lease "+id+" Register Sponsor renewalTime ",renewalTime," state ",((Enum)state).ToString()); 203BCLDebug.Trace("REMOTE", "Lease",id," Unregister state ",((Enum)state).ToString()); 261BCLDebug.Trace("REMOTE","Lease ",id," Renew ",renewalTime," state ",((Enum)state).ToString()); 272BCLDebug.Trace("REMOTE","Lease ",id," Remove state ",((Enum)state).ToString()); 284BCLDebug.Trace("REMOTE","Lease ",id," Cancel Managed Object ",managedObject," state ",((Enum)state).ToString()); 326BCLDebug.Trace("REMOTE","Lease ",id," LeaseExpired state ",((Enum)state).ToString()); 347BCLDebug.Trace("REMOTE","Lease ",id," SponsorCall state ",((Enum)state).ToString()); 401BCLDebug.Trace("REMOTE","Lease ",id," SponsorTimeout sponsorState ",((Enum)sponsorStateInfo.sponsorState).ToString()); 464BCLDebug.Trace("REMOTE","Lease ",id," SponsorCallback IAsyncResult ",iar," state ",((Enum)state).ToString());
system\runtime\remoting\remotingconfiguration.cs (1)
596"; mode=" + _mode.ToString();
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (20)
99SerTrace.Log( "BinaryConverter", "GetBinaryTypeInfo Exit ",((Enum)binaryTypeEnum).ToString(),", typeInformation ",typeInformation," assemId ",assemId); 141SerTrace.Log( "BinaryConverter", "GetParserBinaryTypeInfo Exit ",((Enum)binaryTypeEnum).ToString(),", typeInformation ",typeInformation); 148SerTrace.Log( "BinaryConverter", "WriteTypeInfo Entry ",((Enum)binaryTypeEnum).ToString()," ",typeInformation," assemId ",assemId); 172throw new SerializationException(Environment.GetResourceString("Serialization_TypeWrite",((Enum)binaryTypeEnum).ToString())); 180SerTrace.Log( "BinaryConverter", "ReadTypeInfo Entry ",((Enum)binaryTypeEnum).ToString()); 203throw new SerializationException(Environment.GetResourceString("Serialization_TypeRead",((Enum)binaryTypeEnum).ToString())); 221SerTrace.Log( "BinaryConverter", "TypeFromInfo Entry ",((Enum)binaryTypeEnum).ToString()); 268throw new SerializationException(Environment.GetResourceString("Serialization_TypeRead",((Enum)binaryTypeEnum).ToString())); 485BinaryUtil.NVTraceI("binaryHeaderEnum (Byte)", ((Enum)binaryHeaderEnum).ToString()); 873BinaryUtil.NVTraceI("messageEnum (Int32)", ((Enum)messageEnum).ToString()); 1153BinaryUtil.NVTraceI("messageEnum (Int32)", ((Enum)messageEnum).ToString()); 1324SerTrace.Log(this, "MemberPrimitiveTyped Set ",((Enum)primitiveTypeEnum).ToString()," ",value); 1356BinaryUtil.NVTraceI("primitiveTypeEnum (Byte)", ((Enum)primitiveTypeEnum).ToString()); 1444BinaryUtil.NVTraceI("binaryHeaderEnum (Byte)", ((Enum)binaryHeaderEnum).ToString()); 1633SerTrace.Log( this, "BinaryArray Constructor 2 ", ((Enum)binaryHeaderEnum).ToString()); 1640SerTrace.Log( this, "BinaryArray Set objectId ",objectId," rank ",rank," ",((Enum)binaryTypeEnum).ToString(),", assemId ",assemId); 1660SerTrace.Log( this, "BinaryArray Set Exit ",((Enum)binaryHeaderEnum).ToString()); 1923BinaryUtil.NVTraceI("binaryHeaderEnum (Byte)", ((Enum)BinaryHeaderEnum.MemberReference).ToString()); 2299SerTrace.Log( this, "GetNext Array Exit ",((Enum)outBinaryTypeEnum).ToString()," ",outTypeInformation); 2322SerTrace.Log( this, "GetNext Member Exit ",((Enum)outBinaryTypeEnum).ToString()," ",outTypeInformation," memberName ",name);
system\runtime\serialization\formatters\binary\binaryconverter.cs (7)
59SerTrace.Log("Converter", "ToCode Exit " , ((Enum)code).ToString()); 139SerTrace.Log("Converter", "GetNameSpaceEnum Entry ",((Enum)code).ToString()," type ",type); 197SerTrace.Log("Converter", "GetNameSpaceEnum Exit ", ((Enum)nameSpaceEnum).ToString()," typeName ",typeName); 205SerTrace.Log("Converter", "ToType Entry ", ((Enum)code).ToString()); 267SerTrace.Log("Converter", "ToType Entry ", ((Enum)code).ToString()); 394SerTrace.Log("Converter", "ToComType Entry ", ((Enum)code).ToString()); 478SerTrace.Log( "Converter", "FromString Entry ",value," " , ((Enum)code).ToString());
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (3)
302,memberNames[i],", memberType ",memberTypes[i]," binaryTypeEnum ",((Enum)binaryTypeEnumA[i]).ToString() 718SerTrace.Log( this, "WriteValue Entry ",((Enum)code).ToString()," " , ((value==null)?"<null>":value.GetType().ToString()) , " ",value); 768throw new SerializationException(Environment.GetResourceString("Serialization_TypeCode",((Enum)code).ToString()));
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (1)
1271SerTrace.Log( this, "TypeToNameInfo Entry type ",type,", objectInfo ",objectInfo,", code ", ((Enum)code).ToString());
system\runtime\serialization\formatters\binary\binaryparser.cs (12)
114SerTrace.Log( this, "Run loop ",((Enum)expectedType).ToString()); 218SerTrace.Log( this, "Run loop opName ",op.name,", expectedType ",((Enum)expectedType).ToString()," expectedTypeInformation, ",expectedTypeInformation); 494throw new SerializationException(Environment.GetResourceString("Serialization_Map",((Enum)objectOp.objectTypeEnum).ToString())); 625throw new SerializationException(Environment.GetResourceString("Serialization_ObjectTypeEnum",((Enum)objectOp.objectTypeEnum).ToString())); 720throw new SerializationException(Environment.GetResourceString("Serialization_ObjectTypeEnum",((Enum)objectOp.objectTypeEnum).ToString())); 807throw new SerializationException(Environment.GetResourceString("Serialization_ObjectTypeEnum",((Enum)objectOp.objectTypeEnum).ToString())); 864throw new SerializationException(Environment.GetResourceString("Serialization_ObjectTypeEnum",((Enum)objectOp.objectTypeEnum).ToString())); 931throw new SerializationException(Environment.GetResourceString("Serialization_ObjectTypeEnum",((Enum)objectOp.objectTypeEnum).ToString())); 985throw new SerializationException(Environment.GetResourceString("Serialization_ArrayType",((Enum)record.binaryArrayTypeEnum).ToString())); 995SerTrace.Log( this, "ReadArray ",((Enum)record.binaryArrayTypeEnum).ToString()," length ",op.numItems); 1179SerTrace.Log( this, "ReadValue ",((Enum)code).ToString()); 1230throw new SerializationException(Environment.GetResourceString("Serialization_TypeCode",((Enum)code).ToString()));
system\security\cryptography\RSAEncryptionPadding.cs (1)
127return _mode.ToString() + _oaepHashAlgorithm.Name;
system\security\cryptography\RSASignaturePadding.cs (1)
84return _mode.ToString();
system\security\permissions\keycontainerpermission.cs (2)
538securityElement.AddAttribute("Flags", m_flags.ToString()); 548entryElem.AddAttribute("Flags", accessEntry.Flags.ToString());
PresentationBuildTasks (4)
Framework\System\Windows\Markup\KnownTypes.cs (1)
5534MarkupCompiler.ThrowCompilerException(SRID.ParserInvalidKnownType, ((int)knownElement).ToString(CultureInfo.InvariantCulture), knownElement.ToString());
Framework\System\Windows\Markup\StyleXamlParser.cs (1)
136ThrowException(SRID.StyleTagNotSupported, xamlNode.TokenType.ToString(),
Framework\System\Windows\Markup\TemplateXamlParser.cs (1)
123ThrowException(SRID.TemplateTagNotSupported, xamlNode.TokenType.ToString(),
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
1332XmlReader.NodeType.ToString());
PresentationCore (58)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
360Fail(string.Format("No FontFamily element found in FontFamilyCollection that matches current OS or greater: {0}", OSVersionHelper.GetOsVersion().ToString()));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
388ISFDebugTrace("Decoding Tag: " + ((KnownTagCache.KnownTagIndex)isfTag).ToString());
Core\CSharp\MS\Internal\TextFormatting\Bidi.cs (51)
733characterClass[counter + classIndex].ToString()); 870state.ToString() + 871", Class: " + currentClass.ToString()); 915state.ToString() + 916", Class: "+ currentClass.ToString()); 960state.ToString() + 961", Class: "+ currentClass.ToString()); 965state.ToString() + 966" Class: "+ currentClass.ToString()); 1066state.ToString() +", Class: "+ 1067currentClass.ToString()); 1105state.ToString() + ", Class: "+ 1106currentClass.ToString()); 1138state.ToString() + ", Class: " + 1139currentClass.ToString()); 1156state.ToString() + ", Class: " + 1157currentClass.ToString()); 1169state.ToString() + ", Class: " + 1170currentClass.ToString()); 1183state.ToString() + ", Class: " + 1184currentClass.ToString()); 1188state.ToString() + ", Class: " + 1189currentClass.ToString()); 1199state.ToString() + ", Class: " + 1200currentClass.ToString()); 1208state.ToString() + ", Class: " + 1209currentClass.ToString()); 1226state.ToString() + ", Class: " + 1227currentClass.ToString()); 1230state.ToString() + ", Class: " + 1231currentClass.ToString()); 1237state.ToString() + ", Class: " + 1238currentClass.ToString()); 1242state.ToString() + ", Class: " + 1243currentClass.ToString()); 1291state.ToString() + ", Class: " + 1292currentClass.ToString()); 1305state.ToString() + ", Class: " + 1306currentClass.ToString()); 1310state.ToString() + ", Class: " + 1311currentClass.ToString()); 1342state.ToString() + ", Class: " + 1343currentClass.ToString()); 1369state.ToString() + ", Class: " + 1370currentClass.ToString()); 1414state.ToString() + ", Class: " + 1415currentClass.ToString()); 1450state.ToString() + ", Class: " + 1451currentClass.ToString()); 1592state.ToString() + ", Class: " + 1593currentClass.ToString());
Core\CSharp\System\Windows\Media\PixelFormat.cs (1)
717return _format.ToString();
Core\CSharp\System\Windows\Media\RequestCachePolicyConverter.cs (2)
132return httpPolicy.Level.ToString(); 147return policy.Level.ToString();
Shared\MS\Internal\SafeSecurityHelper.cs (1)
375throw(new System.ArgumentException(key.ToString()));
Shared\System\Windows\Interop\OSVersionHelper.cs (1)
278throw new ArgumentException(string.Format("{0} is not a valid OS!", osVer.ToString()), "osVer");
PresentationFramework (30)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
556string xmlName = token.ToString();
src\Framework\System\Windows\Controls\DataGridLengthConverter.cs (1)
177return length.UnitType.ToString();
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (3)
1281if (str == FlowDocumentReaderViewingMode.Page.ToString()) 1286else if (str == FlowDocumentReaderViewingMode.TwoPage.ToString()) 1291else if (str == FlowDocumentReaderViewingMode.Scroll.ToString())
src\Framework\System\Windows\FigureLengthConverter.cs (1)
210return Convert.ToString(fl.Value, cultureInfo) + " " + fl.FigureUnitType.ToString();
src\Framework\System\Windows\Markup\BamlReader.cs (7)
1862nodeInfo.RecordType.ToString(), 2054_currentBamlRecord.RecordType.ToString(), 2055BamlRecordType.ElementEnd.ToString())); 2162_currentBamlRecord.RecordType.ToString(), 2163expectedType.ToString())); 2270_currentBamlRecord.RecordType.ToString(), 2271BamlRecordType.ConstructorParametersEnd.ToString()));
src\Framework\System\Windows\Markup\BamlRecords.cs (1)
995typeName = elm.ToString();
src\Framework\System\Windows\Markup\BamlWriter.cs (7)
330parentType.ToString())); 497parentType.ToString())); 531parentType.ToString())); 821startTagType.ToString(), 822BamlRecordType.PropertyComplexEnd.ToString())); 1069startTagState.ToString(), 1070endTagBeingWritten.ToString()));
src\Framework\System\Windows\Markup\ParserContext.cs (1)
153XmlSpace = xmlReader.XmlSpace.ToString();
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
963return new StaticExtension(typeName + "." + enumValue.ToString());
src\Framework\System\Windows\Navigation\NavigationService.cs (4)
1693navInfo != null ? navInfo.NavigationMode.ToString() : NavigationMode.New.ToString(), 1827navigateInfo != null ? navigateInfo.NavigationMode.ToString() : NavigationMode.New.ToString(),
src\Framework\System\Windows\SystemResourceKey.cs (1)
1924return _id.ToString();
src\Framework\System\Windows\SystemThemeKey.cs (1)
83return _id.ToString();
src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
375throw(new System.ArgumentException(key.ToString()));
SMSvcHost (5)
System\ServiceModel\Activation\ListenerAdapter.cs (1)
552status.ToString(),
System\ServiceModel\Activation\WorkerProcess.cs (4)
303new StringTraceRecord("Register", SR.GetString(SR.SharingRegistrationFailedAndAbort, status.ToString())), this, null); 308status.ToString(), 319new StringTraceRecord("Register", SR.GetString(SR.SharingRegistrationFailed, status.ToString())), this, null); 325status.ToString());
System (173)
compmod\system\collections\specialized\notifycollectionchangedeventargs.cs (1)
315Contract.Assert(false, String.Format("Unsupported action: {0}", action.ToString()));
compmod\system\diagnostics\DelimitedListTraceListener.cs (1)
155Write(eventType.ToString());
compmod\system\diagnostics\TraceListener.cs (1)
404Write(String.Format(CultureInfo.InvariantCulture, "{0} {1}: {2} : ", source, eventType.ToString(), id.ToString(CultureInfo.InvariantCulture)));
compmod\system\diagnostics\TraceSource.cs (2)
110internalSwitch = new SourceSwitch(sourceName, switchLevel.ToString()); 470internalSwitch = new SourceSwitch(name, switchLevel.ToString());
compmod\system\diagnostics\XmlWriterTraceListener.cs (1)
189InternalWrite(eventType.ToString());
compmod\system\security\permissions\AspNetHostingPermission.cs (1)
99throw new ArgumentException(SR.GetString(SR.InvalidArgument, state.ToString(), "state"));
net\System\Net\_AuthenticationState.cs (1)
338GlobalLog.Print("AuthenticationState#" + ValidationHelper.HashString(this) + "::Update() httpWebRequest#" + ValidationHelper.HashString(httpWebRequest) + " Authorization#" + ValidationHelper.HashString(Authorization) + " ResponseStatusCode:" + httpWebRequest.ResponseStatusCode.ToString());
net\System\Net\_Connection.cs (14)
919GlobalLog.Leave("Connection#" + ValidationHelper.HashString(this) + "::StartRequest", needReConnect.ToString()); 1258GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::WriteStartNextRequest() a Failure, m_Error = " + m_Error.ToString()); 1790GlobalLog.Leave("Connection#" + ValidationHelper.HashString(this) + "::ParseStatusLine", parseStatus.ToString()); 1844GlobalLog.Leave("Connection#" + ValidationHelper.HashString(this) + "::ParseStatusLine", parseStatus.ToString()); 2114GlobalLog.Leave("Connection::ParseStatusLineStrict", parseStatus.ToString()); 2623GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ParseResponseData() ParseStatusLine() parseSubStatus:" + parseSubStatus.ToString()); 2667GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ParseResponseData() ParseHeaders() parseSubStatus:" + parseSubStatus.ToString()); 2778GlobalLog.Leave("Connection#" + ValidationHelper.HashString(this) + "::ParseResponseData()", parseStatus.ToString()); 2926GlobalLog.Enter("Connection#" + ValidationHelper.HashString(this) + "::PrepareCloseConnectionSocket", m_Error.ToString()); 2995GlobalLog.Print("m_Error = "+ m_Error.ToString()); 3005detailedInfo += " Section=" + m_ParseError.Section.ToString(); 3007detailedInfo += " Detail=" + SR.GetString("net_WebResponseParseError_" + m_ParseError.Code.ToString()); 3263GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ReadCallback() EndRead() errorStatus:" + errorStatus.ToString() + " caught exception:" + exception); 3381GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::SyncRead() Read() threw errorStatus:" + errorStatus.ToString() + " bytesRead:" + bytesRead.ToString());
net\System\Net\_ConnectStream.cs (1)
2304GlobalLog.Enter("ConnectStream#" + ValidationHelper.HashString(this) + "::GetChannelBinding", kind.ToString());
net\System\Net\_DigestClient.cs (2)
910GlobalLog.Print("HttpDigest::DetectCharset() found non ASCII character:[" + ((int)rawString[i]).ToString() + "] at offset i:[" + i.ToString() + "] charset:[" + charset.ToString() + "]"); 919GlobalLog.Print("HttpDigest::DetectCharset() rawString:[" + rawString + "] has charset:[" + charset.ToString() + "]");
net\System\Net\_FtpDataStream.cs (1)
57GlobalLog.Print("FtpDataStream#" + ValidationHelper.HashString(this) + "::CloseEx, state = " + closeState.ToString());
net\System\Net\_NetRes.cs (2)
91statusMessage = SR.GetString("net_httpstatuscode_" + statusCode.ToString(), null); 121statusMessage = SR.GetString("net_ftpstatuscode_" + statusCode.ToString(), null);
net\System\Net\_NTAuthentication.cs (11)
485GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::.ctor() package:" + ValidationHelper.ToString(package) + " spn:" + ValidationHelper.ToString(spn) + " flags :" + requestedContextFlags.ToString()); 704GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingBlob() SSPIWrapper.InitializeSecurityContext() returns statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")"); 716GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.CompleteAuthToken() returns statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")"); 732GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingBlob() SSPIWrapper.AcceptSecurityContext() returns statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")"); 756GlobalLog.Leave("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingBlob", "null statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")"); 776GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingBlob() need continue statusCode:[0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + "] (" + statusCode.ToString() + ") m_SecurityContext#" + ValidationHelper.HashString(m_SecurityContext) + "::Handle:" + ValidationHelper.ToString(m_SecurityContext) + "]"); 829GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.InitializeSecurityContext() returns statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")"); 876GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.AcceptSecurityContext() returns statusCode:0x" + ((int)statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")"); 887GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.CompleteAuthToken() returns statusCode:0x" + ((int)statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")"); 913GlobalLog.Leave("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob", "null statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")"); 932GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob() need continue statusCode:[0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + "] (" + statusCode.ToString() + ") m_SecurityContext#" + ValidationHelper.HashString(m_SecurityContext) + "::Handle:" + ValidationHelper.ToString(m_SecurityContext) + "]");
net\System\Net\_SafeNetHandles.cs (7)
2592GlobalLog.Print("SafeCloseSocket::ReleaseHandle(handle:" + handle.ToString("x") + ") closesocket()#1:" + errorCode.ToString()); 2608GlobalLog.Print("SafeCloseSocket::ReleaseHandle(handle:" + handle.ToString("x") + ") ioctlsocket()#1:" + errorCode.ToString()); 2617GlobalLog.Print("SafeCloseSocket::ReleaseHandle(handle:" + handle.ToString("x") + ") WSAEventSelect():" + (errorCode == SocketError.SocketError ? (SocketError)Marshal.GetLastWin32Error() : errorCode).ToString()); 2624GlobalLog.Print("SafeCloseSocket::ReleaseHandle(handle:" + handle.ToString("x") + ") ioctlsocket#2():" + (errorCode == SocketError.SocketError ? (SocketError)Marshal.GetLastWin32Error() : errorCode).ToString()); 2636GlobalLog.Print("SafeCloseSocket::ReleaseHandle(handle:" + handle.ToString("x") + ") closesocket#2():" + errorCode.ToString()); 2663GlobalLog.Print("SafeCloseSocket::ReleaseHandle(handle:" + handle.ToString("x") + ") setsockopt():" + errorCode.ToString()); 2676GlobalLog.Print("SafeCloseSocket::ReleaseHandle(handle:" + handle.ToString("x") + ") closesocket#3():" + (errorCode == SocketError.SocketError ? (SocketError)Marshal.GetLastWin32Error() : errorCode).ToString());
net\System\Net\_SecureChannel.cs (1)
217GlobalLog.Enter("SecureChannel#" + ValidationHelper.HashString(this) + "::GetChannelBindingToken", kind.ToString());
net\System\Net\_SSPIWrapper.cs (5)
101currentIdentityKey = string.Format("{0}_{1}_{2}", package, intent.ToString(), WindowsIdentity.GetCurrent().Name); 115currentIdentityKey = string.Format("{0}_{1}_{2}", package, intent.ToString(), WindowsIdentity.GetCurrent().Name); 500GlobalLog.Enter("QueryContextChannelBinding", contextAttribute.ToString()); 520GlobalLog.Enter("QueryContextAttributes", contextAttribute.ToString()); 641GlobalLog.Enter("SetContextAttributes", contextAttribute.ToString());
net\System\Net\Cache\_RequestCacheProtocol.cs (18)
127_ProtocolException = new InvalidOperationException(SR.GetString(SR.net_cache_validator_result, "ValidateRequest", _Validator.ValidationStatus.ToString())); 128if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_unexpected_status, "ValidateRequest()", _Validator.ValidationStatus.ToString())); 149if(Logging.On) Logging.Exit(Logging.RequestCache, this, "GetRetrieveStatus", "result = " + _ProtocolStatus.ToString()); 185if(Logging.On) Logging.Exit(Logging.RequestCache, this, "GetRevalidateStatus", "result = " + _ProtocolStatus.ToString()); 218if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_not_updated_based_on_cache_protocol_status, "GetUpdateStatus()", _ProtocolStatus.ToString())); 233if(Logging.On)Logging.Exit(Logging.RequestCache, this, "GetUpdateStatus", "result = " + _ProtocolStatus.ToString()); 373_ProtocolException = new InvalidOperationException(SR.GetString(SR.net_cache_validator_result, "ValidateCache", _Validator.ValidationStatus.ToString())); 374if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_unexpected_status, "ValidateCache()", _Validator.ValidationStatus.ToString())); 428_ProtocolException = new InvalidOperationException(SR.GetString(SR.net_cache_validator_result, "ValidateResponse", _Validator.ValidationStatus.ToString())); 429if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_unexpected_status, "ValidateResponse()", _Validator.ValidationStatus.ToString())); 530_ProtocolException = new InvalidOperationException(SR.GetString(SR.net_cache_validator_result, "RevalidateCache", _Validator.ValidationStatus.ToString())); 531if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_unexpected_status, "RevalidateCache()", _Validator.ValidationStatus.ToString())); 638_ProtocolException = new InvalidOperationException(SR.GetString(SR.net_cache_validator_result, "UpdateCache", _Validator.ValidationStatus.ToString())); 639if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_unexpected_status, "UpdateCache()", _Validator.ValidationStatus.ToString())); 701if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_result, "ValidateFreshness()", result.ToString())); 711if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_result, "ValidateCache()", result.ToString())); 720if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_result, "RevalidateCache()", result.ToString())); 730if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_result, "ValidateResponse()", result.ToString()));
net\System\Net\Cache\FtpRequestCacheValidator.cs (6)
351if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_ftp_response_status, ((int)resp.StatusCode).ToString(CultureInfo.InvariantCulture), resp.StatusCode.ToString())); 415if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_existing_not_removed_because_unexpected_response_status, (int)resp.StatusCode, resp.StatusCode.ToString())); 434if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_not_updated_based_on_ftp_response_status, FtpStatusCode.OpeningData.ToString() + "|" + FtpStatusCode.DataAlreadyOpen.ToString() + "|" + FtpStatusCode.ClosingData.ToString(), resp.StatusCode.ToString()));
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
422if(Logging.On) Logging.PrintInfo(Logging.RequestCache, "StatusCode=" + ((int)resp.StatusCode).ToString(CultureInfo.InvariantCulture) + ' ' +resp.StatusCode.ToString() +
net\System\Net\Cache\IERequestCache.cs (9)
136if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_key_status, "WinInetCache.Remove(), ", key, entry.Error.ToString())); 164if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_key_status, "WinInetCache.TryRemove()", key, entry.Error.ToString())); 168if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_key_remove_failed_status, "WinInetCache.TryRemove()", key, entry.Error.ToString())); 175if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_key_status, "WinInetCache.TryRemove()", key, entry.Error.ToString())); 187if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_key_status, "WinInetCache.TryRemove()", key, entry.Error.ToString())); 347if(Logging.On)Logging.Exit(Logging.RequestCache, "WinInetCache.Retrieve()", "Status = " + entry.Error.ToString()); 600if(Logging.On) Logging.Exit(Logging.RequestCache, "WinInetCache.Update()", "Status = " + entry.Error.ToString()); 1083Logging.PrintInfo(Logging.RequestCache, "WinInetWriteStream.Close(), Key = " + m_Entry.Key + ", Commit Status = " + m_Entry.Error.ToString()); 1099if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_stale_and_update_status, "WinInetWriteFile.Close()", m_Entry.Info.U.ExemptDelta, m_Entry.Error.ToString()));
net\System\Net\Cache\RequestCachePolicy.cs (2)
77return "Level:" + m_Level.ToString(); 274return "Level:" + m_Level.ToString() +
net\System\Net\Cache\RequestCacheValidator.cs (1)
181if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_failing_request_with_exception, webStatus.ToString()));
net\System\Net\FtpWebRequest.cs (3)
2081(UsePassive? FtpStatusCode.DataAlreadyOpen: FtpStatusCode.OpeningData).ToString(), 2148(UsePassive? FtpStatusCode.DataAlreadyOpen: FtpStatusCode.OpeningData).ToString(), 2190m_FtpWebResponse.UpdateStatus(rightStatus, rightStatus.ToString(), string.Empty);
net\System\Net\HttpListener.cs (5)
1585GlobalLog.Print("HttpListener#" + ValidationHelper.HashString(this) + "::HandleAuthentication() GetContextToken() returned:" + statusCodeNew.ToString()); 1592GlobalLog.Print("HttpListener#" + ValidationHelper.HashString(this) + "::HandleAuthentication() error: GetContextToken() returned:null statusCodeNew:" + statusCodeNew.ToString()); 1687GlobalLog.Print("HttpListener#" + ValidationHelper.HashString(this) + "::HandleAuthentication() GetContextToken() failed with statusCodeNew:" + statusCodeNew.ToString()); 1820GlobalLog.Print("HttpListener#" + ValidationHelper.HashString(this) + "::HandleAuthentication() failed context#" + ValidationHelper.HashString(context) + " for connectionId:" + connectionId + " because of error:" + httpError.ToString()); 2228GlobalLog.Print("HttpListener#" + ValidationHelper.HashString(this) + "::BuildChallenge() authenticationScheme:" + authenticationScheme.ToString());
net\System\Net\HttpListenerRequest.cs (1)
281GlobalLog.Print("HttpListenerContext#" + ValidationHelper.HashString(this) + "::.ctor() RequestId:" + RequestId + " ConnectionId:" + m_ConnectionId + " RawConnectionId:" + memoryBlob.RequestBlob->RawConnectionId + " UrlContext:" + memoryBlob.RequestBlob->UrlContext + " RawUrl:" + m_RawUrl + " Version:" + m_Version.ToString() + " Secure:" + m_SslStatus.ToString());
net\System\Net\HttpListenerRequestUriBuilder.cs (1)
176"Unknown 'EncodingType' value: " + type.ToString());
net\System\Net\HttpWebRequest.cs (4)
1124GlobalLog.Print("HttpWebRequest#" + ValidationHelper.HashString(this) + "::SwitchToContentLength() Switching to HttpWriteMode.ContentLength from:" + HttpWriteMode.ToString()); 1898GlobalLog.Leave("HttpWebRequest#" + ValidationHelper.HashString(this) + "::DoSubmitRequestProcessing", result.ToString()); 3436GlobalLog.Leave("HttpWebRequest#" + ValidationHelper.HashString(this) + "::WriteHeadersCallback", errorStatus.ToString()); 3984GlobalLog.Leave("HttpWebRequest#" + ValidationHelper.HashString(this) + "::SetResponse", httpResult.ToString());
net\System\Net\IPEndPoint.cs (2)
141throw new ArgumentException(SR.GetString(SR.net_InvalidAddressFamily, socketAddress.Family.ToString(), this.GetType().FullName, this.AddressFamily.ToString()), "socketAddress");
net\System\Net\mail\MimeMultiPart.cs (2)
25throw new NotSupportedException(value.ToString()); 32ContentType.MediaType = "multipart" + "/" + type.ToString().ToLower(CultureInfo.InvariantCulture);
net\System\Net\mail\SmtpClient.cs (2)
441if (Logging.On) Logging.PrintInfo(Logging.Web, this, "Send", "DeliveryMethod=" + DeliveryMethod.ToString()); 577if (Logging.On) Logging.Enter(Logging.Web, this, "SendAsync", "DeliveryMethod=" + DeliveryMethod.ToString());
net\System\Net\SecureProtocols\_NegoState.cs (5)
153throw new ArgumentOutOfRangeException("impersonationLevel", impersonationLevel.ToString(), SR.GetString(SR.net_auth_supported_impl_levels)); 523Exception exception = new AuthenticationException(SR.GetString(SR.net_auth_context_expectation, _ExpectedImpersonationLevel.ToString(), PrivateImpersonationLevel.ToString())); 541Exception exception = new AuthenticationException(SR.GetString(SR.net_auth_context_expectation, result.ToString(), _ExpectedProtectionLevel.ToString()));
net\System\Net\SecureProtocols\_SslStream.cs (1)
876GlobalLog.Print("SecureChannel#" + ValidationHelper.HashString(this) + "::***Processing an error Status = " + message.Status.ToString());
net\System\Net\SocketAddress.cs (1)
291return Family.ToString() + ":" + Size.ToString(NumberFormatInfo.InvariantInfo) + ":{" + bytes.ToString() + "}";
net\System\Net\SocketPermission.cs (2)
599endpoint.AddAttribute("transport", permission.Transport.ToString()); 613endpoint.AddAttribute("transport", permission.Transport.ToString());
net\System\Net\Sockets\_AcceptOverlappedAsyncResult.cs (1)
90GlobalLog.Print("AcceptOverlappedAsyncResult#" + ValidationHelper.HashString(this) + "::PostCallback() setsockopt handle:" + handle.ToString() + " AcceptSocket:" + ValidationHelper.HashString(m_AcceptSocket) + " itsHandle:" + m_AcceptSocket.SafeHandle.DangerousGetHandle().ToString() + " returns:" + errorCode.ToString());
net\System\Net\Sockets\_MultipleConnectAsync.cs (1)
44"MultipleConnectAsync.StartConnectAsync(): Unexpected endpoint address family - " + endPoint.AddressFamily.ToString());
net\System\Net\Sockets\Socket.cs (44)
2305GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::SetSocketOption(): optionLevel:" + optionLevel.ToString() + " optionName:" + optionName.ToString() + " optionValue:" + optionValue.ToString()); 2320GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::SetSocketOption(): optionLevel:" + optionLevel.ToString() + " optionName:" + optionName.ToString() + " optionValue:" + optionValue.ToString()); 2370GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::SetSocketOption(): optionLevel:" + optionLevel.ToString() + " optionName:" + optionName.ToString() + " optionValue:" + optionValue.ToString()); 3030GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::ConnectCallback() WSAEnumNetworkEvents() failed with errorCode:" + errorCode.ToString()); 3035GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::ConnectCallback() ErrorCodes(FdConnect) got errorCode:" + errorCode.ToString()); 3074GlobalLog.Leave("Socket#" + ValidationHelper.HashString(this) + "::ConnectCallback", errorCode.ToString()); 3244GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::DoBeginDisconnect() UnsafeNclNativeMethods.OSSOCK.DisConnectEx returns:" + errorCode.ToString()); 3289GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::Disconnect() UnsafeNclNativeMethods.OSSOCK.DisConnectEx returns:" + errorCode.ToString()); 3535GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::BeginSend() UnsafeNclNativeMethods.OSSOCK.WSASend returns:" + errorCode.ToString() + " size:" + size.ToString() + " returning AsyncResult:" + ValidationHelper.HashString(asyncResult)); 3676GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::DoBeginSendFile() UnsafeNclNativeMethods.OSSOCK.send returns:" + errorCode.ToString()); 3769GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::BeginSend() UnsafeNclNativeMethods.OSSOCK.WSASend returns:" + errorCode.ToString() + " returning AsyncResult:" + ValidationHelper.HashString(asyncResult)); 4041GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::DoBeginSendTo() UnsafeNclNativeMethods.OSSOCK.WSASend returns:" + errorCode.ToString() + " size:" + size + " returning AsyncResult:" + ValidationHelper.HashString(asyncResult)); 4282GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::BeginReceive() UnsafeNclNativeMethods.OSSOCK.WSARecv returns:" + errorCode.ToString() + " bytesTransferred:" + bytesTransferred.ToString() + " returning AsyncResult:" + ValidationHelper.HashString(asyncResult)); 4398GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::DoBeginReceive() UnsafeNclNativeMethods.OSSOCK.WSARecv returns:" + errorCode.ToString() + " returning AsyncResult:" + ValidationHelper.HashString(asyncResult)); 4611GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::BeginReceiveMessageFrom() UnsafeNclNativeMethods.OSSOCK.WSARecvMsg returns:" + errorCode.ToString() + " size:" + size.ToString() + " returning AsyncResult:" + ValidationHelper.HashString(asyncResult)); 4861GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::DoBeginReceiveFrom() UnsafeNclNativeMethods.OSSOCK.WSARecvFrom returns:" + errorCode.ToString() + " size:" + size.ToString() + " returning AsyncResult:" + ValidationHelper.HashString(asyncResult)); 5102GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::BeginAccept() UnsafeNclNativeMethods.OSSOCK.accept returns:" + errorCode.ToString()); 5252GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::AcceptCallback() UnsafeNclNativeMethods.OSSOCK.accept returns:" + errorCode.ToString()); 5432GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::DoBeginAccept() UnsafeNclNativeMethods.OSSOCK.AcceptEx returns:" + errorCode.ToString() + ValidationHelper.HashString(asyncResult)); 5637GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::Shutdown() how:" + how.ToString()); 6274GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::Dispose() Pending nonblocking operations! m_BlockEventBits:" + m_BlockEventBits.ToString()); 6316GlobalLog.Print("SafeCloseSocket::Dispose(handle:" + m_Handle.DangerousGetHandle().ToString("x") + ") ioctlsocket(FIONBIO):" + (errorCode == SocketError.SocketError ? (SocketError) Marshal.GetLastWin32Error() : errorCode).ToString()); 6329GlobalLog.Print("SafeCloseSocket::Dispose(handle:" + m_Handle.DangerousGetHandle().ToString("x") + ") shutdown():" + (errorCode == SocketError.SocketError ? (SocketError) Marshal.GetLastWin32Error() : errorCode).ToString()); 6338GlobalLog.Print("SafeCloseSocket::Dispose(handle:" + m_Handle.DangerousGetHandle().ToString("x") + ") setsockopt():" + (errorCode == SocketError.SocketError ? (SocketError) Marshal.GetLastWin32Error() : errorCode).ToString()); 6350GlobalLog.Print("SafeCloseSocket::Dispose(handle:" + m_Handle.DangerousGetHandle().ToString("x") + ") recv():" + errorCode.ToString()); 6365GlobalLog.Print("SafeCloseSocket::Dispose(handle:" + m_Handle.DangerousGetHandle().ToString("x") + ") ioctlsocket(FIONREAD):" + (errorCode == SocketError.SocketError ? (SocketError) Marshal.GetLastWin32Error() : errorCode).ToString()); 6428GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::InternalShutdown() how:" + how.ToString()); 6547GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::setMulticastOption(): optionName:" + optionName.ToString() + " MR:" + MR.ToString() + " ipmr:" + ipmr.ToString() + " IPMulticastRequest.Size:" + IPMulticastRequest.Size.ToString()); 6585GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::setIPv6MulticastOption(): optionName:" + optionName.ToString() + " MR:" + MR.ToString() + " ipmr:" + ipmr.ToString() + " IPv6MulticastRequest.Size:" + IPv6MulticastRequest.Size.ToString()); 6805GlobalLog.Leave("Socket#" + ValidationHelper.HashString(this) + "::InternalSetBlocking", "errorCode:" + errorCode.ToString() + " willBlock:" + willBlock.ToString() + " willBlockInternal:" + willBlockInternal.ToString()); 6950GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::BeginConnectEx() UnsafeNclNativeMethods.OSSOCK.connect returns:" + errorCode.ToString()); 7014GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::MultipleSend() UnsafeNclNativeMethods.OSSOCK.WSASend returns:" + errorCode.ToString() + " size:" + buffers.Length.ToString()); 7247GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::BeginMultipleSend() UnsafeNclNativeMethods.OSSOCK.WSASend returns:" + errorCode.ToString() + " size:" + buffers.Length.ToString() + " returning AsyncResult:" + ValidationHelper.HashString(asyncResult)); 7436if (s_LoggingEnabled) Logging.PrintError(Logging.Sockets, this, "UpdateStatusAfterSocketError", errorCode.ToString()); 7458GlobalLog.Enter("Socket#" + ValidationHelper.HashString(this) + "::UnsetAsyncEventSelect", "m_BlockEventBits:" + m_BlockEventBits.ToString() + " willBlockInternal:" + willBlockInternal.ToString()); 7504GlobalLog.Leave("Socket#" + ValidationHelper.HashString(this) + "::UnsetAsyncEventSelect", "m_BlockEventBits:" + m_BlockEventBits.ToString() + " willBlockInternal:" + willBlockInternal.ToString()); 7509GlobalLog.Enter("Socket#" + ValidationHelper.HashString(this) + "::SetAsyncEventSelect", "blockEventBits:" + blockEventBits.ToString() + " m_BlockEventBits:" + m_BlockEventBits.ToString() + " willBlockInternal:" + willBlockInternal.ToString()); 7580GlobalLog.Leave("Socket#" + ValidationHelper.HashString(this) + "::SetAsyncEventSelect", "m_BlockEventBits:" + m_BlockEventBits.ToString() + " willBlockInternal:" + willBlockInternal.ToString()); 7586GlobalLog.Enter("Socket#" + ValidationHelper.HashString(state) + "::RegisteredWaitCallback", "m_BlockEventBits:" + ((Socket)state).m_BlockEventBits.ToString()); 7610GlobalLog.Leave("Socket#" + ValidationHelper.HashString(state) + "::RegisteredWaitCallback", "m_BlockEventBits:" + ((Socket)state).m_BlockEventBits.ToString());
net\System\Net\TransportContext.cs (1)
67SR.net_listener_invalid_cbt_type, kind.ToString()));
net\System\Net\WebExceptionStatus.cs (1)
167message = "net_webstatus_" + status.ToString();
net\System\Net\WebHeaderCollection.cs (2)
1512GlobalLog.Leave("WebHeaderCollection::ParseHeaders() returning parseStatus:" + parseStatus.ToString()); 1838GlobalLog.Leave("WebHeaderCollection::ParseHeadersStrict() returning parseStatus:" + parseStatus.ToString());
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
621throw new InvalidOperationException("InitializationState != " + requiredState.ToString());
security\system\security\Authentication\ExtendedProtection\ExtendedProtectionPolicy.cs (2)
124sb.Append(protectionScenario.ToString()); 126sb.Append(policyEnforcement.ToString());
security\system\security\permissions\storepermission.cs (1)
112securityElement.AddAttribute("Flags", m_flags.ToString());
security\system\security\permissions\typedescriptorpermission.cs (1)
183securityElement.AddAttribute("Flags", m_flags.ToString());
System.Activities (24)
System\Activities\ActivityInstanceState.cs (2)
43Fx.Assert("Don't understand ActivityInstanceState named " + state.ToString()); 44return state.ToString();
System\Activities\Debugger\XamlDebuggerXmlReader.cs (1)
659string memberName = memberType.ToString();
System\Activities\Expressions\ExpressionServices.cs (8)
1494SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.NodeType.ToString()))); 1498return SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.NodeType.ToString()); 1552SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.NodeType.ToString()))); 1556return SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.NodeType.ToString());
System\Activities\Runtime\ActivityExecutor.cs (1)
3968TD.RuntimeTransactionComplete(this.runtimeTransaction.TransactionStatus.ToString());
System\Activities\Statements\CompensableActivity.cs (4)
365TD.CompensationState(tokenData.DisplayName, tokenData.CompensationState.ToString()); 378TD.CompensationState(tokenData.DisplayName, tokenData.CompensationState.ToString()); 398TD.CompensationState(token.DisplayName, token.CompensationState.ToString()); 500TD.CompensationState(compensationToken.DisplayName, compensationToken.CompensationState.ToString());
System\Activities\Statements\CompensationParticipant.cs (3)
169TD.CompensationState(compensationToken.DisplayName, compensationToken.CompensationState.ToString()); 252TD.CompensationState(compensationToken.DisplayName, compensationToken.CompensationState.ToString()); 319TD.CompensationState(compensationToken.DisplayName, compensationToken.CompensationState.ToString());
System\Activities\Statements\InternalCompensate.cs (1)
73TD.CompensationState(tokenData.DisplayName, tokenData.CompensationState.ToString());
System\Activities\Statements\InternalConfirm.cs (1)
74TD.CompensationState(tokenData.DisplayName, tokenData.CompensationState.ToString());
System\Activities\WorkflowApplication.cs (3)
5013TD.WorkflowApplicationPersistableIdle(application.Id.ToString(), action.ToString()); 5043TD.WorkflowApplicationPersistableIdle(application.Id.ToString(), PersistableIdleAction.None.ToString()); 5284TD.WorkflowApplicationUnhandledException(instance.Id.ToString(), source.GetType().ToString(), source.DisplayName, action.ToString(), exception);
System.Activities.Presentation (9)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (1)
149button.TargetEditMode.ToString()));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (2)
107owningContainer.ActiveEditMode.ToString())); 241this.TargetEditMode.ToString()));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
765editMode.ToString()));
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (4)
1049throw FxTrace.Exception.AsError(new NotSupportedException(direction.ToString())); 1087direction = ArgumentDirection.In.ToString(); 1091direction = ArgumentDirection.Out.ToString(); 1095direction = ArgumentDirection.InOut.ToString();
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditorAutomationPeer.cs (1)
28new XAttribute("EditingState", textBox.EditingState.ToString()),
System.AddIn (1)
System\Addin\MiniReflection\MiniParameterInfo.cs (1)
127return _elementType.ToString();
System.Core (7)
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
979Out("." + node.Kind.ToString(), Flow.Space);
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (5)
190return unary.Operation.ToString(); 192return binary.Operation.ToString(); 658Out(node.NodeType.ToString()); 717Out(node.Kind.ToString().ToLower(CultureInfo.CurrentCulture)); 792Out(node.NodeType.ToString());
System\Security\Cryptography\CapiNative.cs (1)
600return algorithm.ToString().ToUpper(CultureInfo.InvariantCulture);
System.Data (58)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (1)
149button.TargetEditMode.ToString()));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (2)
107owningContainer.ActiveEditMode.ToString())); 241this.TargetEditMode.ToString()));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
765editMode.ToString()));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
1049throw FxTrace.Exception.AsError(new NotSupportedException(direction.ToString()));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditorAutomationPeer.cs (1)
28new XAttribute("EditingState", textBox.EditingState.ToString()),
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (1)
489Debug.Assert(StorageType.String == _type, "ConvertXmlStringToByteArray: Invalid storage type for conversion: " + _type.ToString());
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (4)
1835Debug.Assert( false, "unsupported DbType:" + metaData[i].SqlDbType.ToString() ); 2027Debug.Assert(false, "unsupported DbType:" + metaData[i].SqlDbType.ToString()); 2148Debug.Assert( false, "unsupported DbType:" + metaData[i].SqlDbType.ToString() ); 2309Debug.Assert(false, "unsupported DbType:" + metaData[i].SqlDbType.ToString());
fx\src\data\System\Data\CodeGen\datacache.cs (3)
1306string acceptRejectRule = fkc.AcceptRejectRule.ToString(); 1307string deleteRule = fkc.DeleteRule.ToString(); 1308string updateRule = fkc.UpdateRule.ToString();
fx\src\data\System\Data\Common\AdapterUtil.cs (8)
694return NotSupportedEnumerationValue(typeof(CommandBehavior), value.ToString(), method); 698return NotSupportedEnumerationValue(typeof(StatementType), value.ToString(), method); 715return ADP.NotSupportedEnumerationValue(typeof(Microsoft.SqlServer.Server.Format), value.ToString(), method); 871return Res.GetString(Res.ADP_ConnectionStateMsg, state.ToString()); 1244return Argument(Res.GetString(Res.ADP_UnwantedStatementType, statementType.ToString())); 1373return DataAdapter(Res.GetString(Res.ADP_DeriveParametersNotSupported, value.GetType().Name, value.CommandType.ToString())); 1564return Argument(Res.GetString(Res.ADP_InvalidDataType, typecode.ToString())); 1570return Argument(Res.GetString(Res.ADP_DbTypeNotSupported, type.ToString(), enumtype.Name));
fx\src\data\System\Data\Common\DBDataPermission.cs (1)
349tmp = value.Behavior.ToString();
fx\src\data\System\Data\DataException.cs (4)
757return _InvalidOperation(Res.GetString(Res.DataColumn_DateTimeMode, oldValue.ToString(), newValue.ToString())); 1247return _Data(Res.GetString(Res.DataStorage_AggregateException, aggregateType.ToString(), type.Name)); 1250return _Data(Res.GetString(Res.DataStorage_InvalidStorageType, ((Enum) typecode).ToString()));
fx\src\data\System\Data\Filter\BinaryNode.cs (1)
988Debug.Assert(false, "Invalid (unmapped) precedence " + code.ToString());
fx\src\data\System\Data\Filter\FilterException.cs (2)
166return _Syntax(Res.GetString(Res.Expr_UnknownToken1, tokExpected.ToString(), tokCurr.ToString(), position.ToString(CultureInfo.InvariantCulture)));
fx\src\data\System\Data\ForeignKeyConstraint.cs (1)
491Debug.Assert(false, "attempt to cascade unknown action: " + ((Enum) action).ToString());
fx\src\data\System\Data\Merger.cs (2)
435"Unexpected value of MissingSchemaAction parameter : " + ((Enum) missingSchemaAction).ToString()); 519Debug.Assert(MissingSchemaAction.Error == missingSchemaAction, "Unexpected value of MissingSchemaAction parameter : " + ((Enum) missingSchemaAction).ToString());
fx\src\data\System\Data\Odbc\Odbc32.cs (1)
32return ADP.Argument(Res.GetString(Res.Odbc_UnknownSQLType, sqltype.ToString()));
fx\src\data\System\Data\Odbc\OdbcCommand.cs (1)
521return ExecuteReaderObject(CommandBehavior.Default,method.ToString(),true,methodArguments,method);
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (6)
82builder.Append(Res.GetString(Res.OleDb_CommandParameterError, index.ToString(CultureInfo.InvariantCulture), status.ToString())); 92return ADP.InvalidOperation(Res.GetString(Res.OleDb_UninitializedParameters, index.ToString(CultureInfo.InvariantCulture), dbtype.ToString())); 95return ADP.DataAdapter(Res.GetString(Res.OleDb_BadStatus_ParamAcc, index.ToString(CultureInfo.InvariantCulture), status.ToString())); 241return ADP.DataAdapter(Res.GetString(Res.OleDb_UnexpectedStatusValue, status.ToString())); 252return ADP.DataAdapter(Res.GetString(Res.OleDb_BadStatusRowAccessor, i.ToString(CultureInfo.InvariantCulture), rowStatus.ToString())); 637builder.Append(hr.ToString());
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (1)
404row[literalName ] = ((OleDbLiteral) tag.it).ToString();
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (2)
478throw SQL.CertificateNotFound(thumbprint, storeName.ToString(), storeLocation.ToString(), isSystemOp);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (2)
352transactionRequest.ToString(), 354iso.ToString(),
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
2377if (authProvider == null) throw SQL.CannotFindAuthProvider(ConnectionOptions.Authentication.ToString());
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
1448throw ADP.PrepareParameterScale(cmd, SqlDbType.ToString());
fx\src\data\System\Data\SqlClient\SqlUtil.cs (7)
256return ADP.Argument(Res.GetString(Res.SQL_SnapshotNotSupported, typeof(IsolationLevel), level.ToString())); 313return ADP.InvalidOperation(Res.GetString(Res.SQL_UnknownSysTxIsolationLevel, isolationLevel.ToString())); 464direction.ToString(), paramName)); 667return ADP.Argument(Res.GetString(Res.SqlMetaData_InvalidSqlDbTypeForConstructorFormat, type.ToString())); 679return ADP.InvalidOperation(Res.GetString(Res.SqlMetaData_SpecifyBothSortOrderAndOrdinal, order.ToString(), ordinal)); 1094encryptionType.ToString(), 1630Debug.Assert(false, "UnexpectedSmiEvent: "+eventType.ToString()); // Assert here, because these exceptions will most likely be eaten by the server.
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
4885Debug.Assert(false, "unknown null sqlType!" + md.type.ToString());
fx\src\data\System\Data\xmlsaver.cs (1)
1173root.SetAttribute("DateTimeMode", Keywords.MSDNS, col.DateTimeMode.ToString());
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
988throw new InvalidOperationException( Res.GetString(Res.DataDom_CloneNode, dp.NodeType.ToString() ) );
System.Data.Entity (41)
System\Data\Common\EntitySql\AST\Literal.cs (1)
244throw EntityUtil.NotSupported(System.Data.Entity.Strings.LiteralTypeNotSupported(_literalKind.ToString()));
System\Data\Common\EntitySql\CqlErrorHelper.cs (1)
280typeKindName = type.BuiltInTypeKind.ToString();
System\Data\Common\EntitySql\SemanticAnalyzer.cs (18)
1597Strings.InvalidWithRelationshipTargetEndMultiplicity(toEnd.Name, toEnd.RelationshipMultiplicity.ToString())); 1910targetTypeUsage.EdmType.BuiltInTypeKind.ToString())); 2209astBuiltInExpr.Kind.ToString().ToUpperInvariant(), 2221astBuiltInExpr.Kind.ToString().ToUpperInvariant(), 2504targetTypeUsage.EdmType.BuiltInTypeKind.ToString())); 3743Debug.Fail("Unexpected group aggregate kind:" + groupAggregateInfo.AggregateKind.ToString()); 4897exprToFilter.ResultType.EdmType.BuiltInTypeKind.ToString(), 4904exprToFilter.ResultType.EdmType.BuiltInTypeKind.ToString(), 4911typeToFilterTo.EdmType.BuiltInTypeKind.ToString(), 4917typeToFilterTo.EdmType.BuiltInTypeKind.ToString(), 4973typeToTreatTo.EdmType.BuiltInTypeKind.ToString(), 4980typeToTreatTo.EdmType.BuiltInTypeKind.ToString(), 4992exprToTreat.ResultType.EdmType.BuiltInTypeKind.ToString(), 4999exprToTreat.ResultType.EdmType.BuiltInTypeKind.ToString(), 5084Strings.OfTypeExpressionElementTypeMustBeEntityType(elementType.EdmType.BuiltInTypeKind.ToString(), elementType)); 5089Strings.OfTypeExpressionElementTypeMustBeNominalType(elementType.EdmType.BuiltInTypeKind.ToString(), elementType)); 5095Strings.TypeMustBeEntityType(Strings.CtxOfType, typeToFilterTo.EdmType.BuiltInTypeKind.ToString(), typeToFilterTo.EdmType.FullName)); 5100Strings.TypeMustBeNominalType(Strings.CtxOfType, typeToFilterTo.EdmType.BuiltInTypeKind.ToString(), typeToFilterTo.EdmType.FullName));
System\Data\Common\EntityUtil.cs (9)
462return NotSupported(System.Data.Entity.Strings.ADP_KeysRequiredForJoinOverNest(op.OpType.ToString())); 468return NotSupported(System.Data.Entity.Strings.ADP_NestingNotSupported(parentOp.OpType.ToString(), childOp.OpType.ToString())); 535return Metadata(System.Data.Entity.Strings.InvalidCollectionForMapping(space.ToString())); 559return InvalidOperation(System.Data.Entity.Strings.ItemCollectionAlreadyRegistered(space.ToString())); 562return InvalidOperation(System.Data.Entity.Strings.NoCollectionForSpace(space.ToString())); 1318return InvalidOperation(System.Data.Entity.Strings.ObjectContext_EntityMustBeUnchangedOrModified(state.ToString())); 1321return InvalidOperation(System.Data.Entity.Strings.ObjectContext_EntityMustBeUnchangedOrModifiedOrDeleted(state.ToString())); 1574return Argument(System.Data.Entity.Strings.ADP_InvalidDataType(typecode.ToString()));
System\Data\Common\Utils\Boolean\BoolExpr.cs (1)
151return ExprType.ToString();
System\Data\Common\Utils\MetadataHelper.cs (1)
152Debug.Fail("unrecognized mode " + mode.ToString());
System\Data\EntityClient\EntityParameter.cs (1)
454throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_UnsupportedDbType(this.DbType.ToString(), ParameterName));
System\Data\Mapping\Update\Internal\UpdateExpressionVisitor.cs (1)
43node.ExpressionKind.ToString();
System\Data\Metadata\Helper.cs (2)
473return value.ToString(); 492return value.ToString();
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
921linq.NodeType.ToString());
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
376Debug.Assert(translatorFound, "Translator not found for " + sequenceEquivalent.ToString());
System\Data\Objects\ObjectViewFactory.cs (1)
275Debug.Assert(typeUsage.EdmType.DataSpace == DataSpace.CSpace, String.Format(System.Globalization.CultureInfo.InvariantCulture, "Expected EdmType.DataSpace to be C-Space, but instead it is {0}.", typeUsage.EdmType.DataSpace.ToString()));
System\Data\Query\InternalTrees\Dump.cs (2)
1008Debug.Assert(false, "need to special case enum->string: " + op.ToString()); 1009return op.ToString();
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (1)
1235Debug.Assert(true, "Unexpected type to TruncateTime" + typeKind.ToString());
System.Data.Entity.Design (7)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
334_writer.WriteAttributeString(XmlConstants.Action, operationAction.ToString());
System\Data\EntityModel\Emitters\AssociationTypeEmitter.cs (1)
64string roleMultiplicity = multiplicity.ToString();
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
206AddError(Strings.ItemExistsWithDifferentCase(item.BuiltInTypeKind.ToString(), item.Identity), ModelBuilderErrorCode.IncompatibleSettingForCaseSensitiveOption,
System\Data\EntityModel\Emitters\FixUpCollection.cs (1)
113Debug.Assert(false,"Unexpected language value: "+Language.ToString());
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (2)
129return TryAddNameToCache((element as EntityContainer).Name, element.BuiltInTypeKind.ToString(), cache); 135return TryAddNameToCache((element as StructuralType).Name, element.BuiltInTypeKind.ToString(), cache);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
738Debug.Fail("Unsupported property type:" + type.ToString());
System.Data.Linq (7)
ChangeTracker.cs (1)
237return this.state.ToString();
parent\DbmlShared\Mapping.cs (3)
222get { return this.direction == MappingParameterDirection.In ? null : this.direction.ToString(); } 400get { return this.updateCheck != UpdateCheck.Always ? this.updateCheck.ToString() : null; } 410get { return this.autoSync != AutoSync.Default ? this.autoSync.ToString() : null; }
SqlClient\SqlProvider.cs (2)
1170sp == null ? p.DbType.ToString() : sp.SqlDbType.ToString(),
SqlClient\SqlTypeSystemProvider.cs (1)
478sb.Append(sqlDbType.ToString());
System.Data.Services (7)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
171throw new NotSupportedException(Strings.ALinq_UnsupportedExpression(exp.NodeType.ToString())); 191throw new NotSupportedException(Strings.ALinq_UnsupportedExpression(binding.BindingType.ToString()));
System\Data\Services\Epm\EpmTargetTree.cs (1)
249return epmInfo.Attribute.TargetSyndicationItem.ToString();
System\Data\Services\Error.cs (2)
42return Trace(DataServiceException.CreateBadRequestError(Strings.BatchStream_ContentExpected(state.ToString()))); 50return Trace(DataServiceException.CreateBadRequestError(Strings.BatchStream_ContentUnexpected(state.ToString())));
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1925xmlWriter.WriteAttributeString(XmlConstants.Action, end.DeleteBehavior.ToString());
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
259reader.NodeType.ToString() + " == XmlNodeType.Element -- otherwise XmlSyndicationContent didn't see a 'content' tag");
System.Data.Services.Client (6)
parent\Server\System\Data\Services\Epm\EpmTargetTree.cs (1)
249return epmInfo.Attribute.TargetSyndicationItem.ToString();
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
171throw new NotSupportedException(Strings.ALinq_UnsupportedExpression(exp.NodeType.ToString())); 191throw new NotSupportedException(Strings.ALinq_UnsupportedExpression(binding.BindingType.ToString()));
System\Data\Services\Client\ALinq\UriWriter.cs (2)
89throw new NotSupportedException(Strings.ALinq_UnaryNotSupported(u.NodeType.ToString())); 99throw new NotSupportedException(Strings.ALinq_BinaryNotSupported(b.NodeType.ToString()));
System\Data\Services\Client\DataServiceContext.cs (1)
1698message = statusCode.ToString();
System.Data.Services.Design (6)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
491epmAttr.TargetSyndicationItem.ToString()); 494epmAttr.TargetTextContentKind.ToString());
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
510Debug.Assert(false, item.BuiltInTypeKind.ToString());
System\Data\EntityModel\Emitters\FixUpCollection.cs (1)
109Debug.Assert(false,"Unexpected language value: "+Language.ToString());
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (2)
179return TryAddNameToCache((element as EntityContainer).Name, element.BuiltInTypeKind.ToString(), cache); 185return TryAddNameToCache((element as StructuralType).Name, element.BuiltInTypeKind.ToString(), cache);
System.Data.SqlXml (17)
System\Xml\Xsl\IlGen\OptimizerPatterns.cs (1)
254s += ((OptimizerPatternName) pattNum).ToString();
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (3)
346s += this.constrMeth.ToString(); 351s += " => " + this.xstatesBeginLoop.ToString() + " => " + this.xstatesEndLoop.ToString();
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (6)
1215Debug.Assert(false, xstate.ToString() + " is not a valid XmlState."); 1430throw new XslTransformException(Res.XmlIl_BadXmlState, new string[] {constructorType.ToString(), XmlStateToNodeType(this.xstate).ToString()}); 1435throw new XslTransformException(Res.XmlIl_BadXmlState, new string[] {constructorType.ToString(), this.rootType.ToString()}); 1443throw new XslTransformException(Res.XmlIl_BadXmlState, new string[] {"Unknown", XmlStateToNodeType(this.xstate).ToString()});
System\Xml\Xsl\XmlQueryType.cs (1)
411sb.Append(this[i].TypeCode.ToString());
System\Xml\Xsl\XPath\XPathScanner.cs (1)
508Debug.Fail("Unexpected LexKind: " + t.ToString());
System\Xml\Xsl\Xslt\QilGenerator.cs (2)
643default: Debug.Fail("Unexpected type of AST node: " + nodeType.ToString()); result = null; break; 1571Debug.Fail("Unexpected NodeKind: " + nodeKinds.ToString());
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (2)
341"Instructions always return Rtf. node=" + node.NodeType.ToString() + " result=" + result.ToString()
System\Xml\Xsl\XsltOld\Compiler.cs (1)
743CompileAssembly(lang, _typeDeclsByLang[idx], lang.ToString(), evidence);
System.Drawing (4)
commonui\System\Drawing\Advanced\Font.cs (1)
74throw new ArgumentException(SR.GetString(SR.GdiplusFontStyleNotFound, this.fontFamily.Name, this.fontStyle.ToString()));
commonui\System\Drawing\Advanced\StringFormat.cs (1)
544return "[StringFormat, FormatFlags=" + FormatFlags.ToString() + "]";
commonui\System\Drawing\Color.cs (2)
1495return ((KnownColor)knownColor).ToString(); 1595return Color.FromName(color.ToString());
System.IdentityModel (14)
System\IdentityModel\Diagnostics\SecurityTraceRecordHelper.cs (2)
108xml.WriteElementString("PolicyEnforcement", this.policyHelper.PolicyEnforcement.ToString()); 109xml.WriteElementString("ProtectionScenario", this.policyHelper.ProtectionScenario.ToString());
System\IdentityModel\Metadata\MetadataSerializer.cs (2)
1978writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ContactType, null, contactPerson.Type.ToString().ToLowerInvariant()); 2471writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Use, null, keyDescriptor.Use.ToString().ToLowerInvariant());
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (4)
3874else if (StringComparer.Ordinal.Equals(SamlAccessDecision.Permit.ToString(), value)) 3878else if (StringComparer.Ordinal.Equals(SamlAccessDecision.Deny.ToString(), value)) 3882else if (StringComparer.Ordinal.Equals(SamlAccessDecision.Indeterminate.ToString(), value)) 3977writer.WriteAttributeString(Saml2Constants.Attributes.Decision, data.Decision.ToString());
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (3)
174if (decisionString.Equals(SamlAccessDecision.Deny.ToString(), StringComparison.OrdinalIgnoreCase)) 176else if (decisionString.Equals(SamlAccessDecision.Permit.ToString(), StringComparison.OrdinalIgnoreCase)) 236writer.WriteString(this.accessDecision.ToString());
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (3)
3163if (decisionString.Equals(SamlAccessDecision.Deny.ToString(), StringComparison.OrdinalIgnoreCase)) 3167else if (decisionString.Equals(SamlAccessDecision.Permit.ToString(), StringComparison.OrdinalIgnoreCase)) 3240writer.WriteAttributeString(SamlConstants.AttributeNames.Decision, null, statement.AccessDecision.ToString());
System.Messaging (2)
System\Messaging\MessageQueue.cs (2)
1506throw new ArgumentOutOfRangeException(Res.GetString(Res.InvalidParameter, "action", action.ToString())); 2297throw new ArgumentOutOfRangeException(Res.GetString(Res.InvalidParameter, "action", action.ToString()));
System.Runtime.Remoting (24)
channels\ipc\ipcclientchannel.cs (1)
394case TokenImpersonationLevelKey: return _tokenImpersonationLevel.ToString();
channels\tcp\tcpclientchannel.cs (3)
568case SocketCachePolicyKey: return _socketCachePolicy.ToString(); 574return _tokenImpersonationLevel.ToString(); 579return _protectionLevel.ToString();
metadata\wsdlparser.cs (18)
1341Util.Log("WsdlParser.ProcessSudsUse use exit "+((Enum)sudsUse).ToString()); 2606Util.Log("WsdlParser.MatchingSchemaStrings left "+left+" _xsdVersion "+((Enum)_xsdVersion).ToString()); 2742Util.Log("WsdlParser.PrintCSC Interop "+urtNS.EncodedNS+" "+urtNS.Namespace+" urtType "+((Enum)urtNS.UrtType).ToString()); 2751Util.Log("WsdlParser.PrintCSC fileName urtNS "+urtNS.Namespace+" urtType "+((Enum)urtNS.UrtType).ToString()); 2811Util.Log("WsdlParser.IsURTExportedType Exit "+((Enum)urtType).ToString()); 3463Util.Log("URTMethod.URTMethod methodFlags "+((Enum)_methodFlags).ToString()); 3583Util.Log("URTMethod.ResolveMethodAttributes "+Name+" MethodFlags "+((Enum)_methodFlags).ToString()); 3687Util.Log("URTMethod.FindMethodAttributes Exit "+Name+" "+((Enum)_methodFlags).ToString()); 3737Util.Log("URTMethod.PrintCSC name "+_methodName+" namePrefix "+namePrefix+" curNS "+curNS+" MethodPrintEnum "+((Enum)methodPrintEnum).ToString()); 4104Util.Log("URTMethod.ResolveWsdlParams actualType 2 UrtType "+((Enum)ns.UrtType).ToString()); 4214Util.Log("RRMethod.PrintCSC name "+_requestElementName+" namePrefix "+namePrefix+" curNS "+curNS+" methodPrintEnum "+((Enum)methodPrintEnum).ToString()); 4335Util.Log("OnewayMethod.PrintCSC name "+_messageElementName+" namePrefix "+namePrefix+" curNS "+curNS+" methodPrintEnum "+((Enum)methodPrintEnum).ToString()); 4719Util.Log("URTInterface.NewNeeded Exit interface "+Name+" method "+method.Name+" "+((Enum)method.MethodFlags).ToString()); 4750Util.Log("URTInterface.ResolveTypes Is System "+Name+" iType "+((Enum)iType).ToString()+" baseIFaceNS "+baseIFaceNS); 5894Util.Log("URTComplexType.PrintCSC enter name "+Name+" curNS "+curNS+" sudsUse "+((Enum)_sudsUse).ToString()+" bNestedType "+bNestedType+" bNestedTypePrint "+bNestedTypePrint); 6067Util.Log("URTComplexType.PrintCSC _sudsType "+((Enum)_sudsType).ToString()); 7380Util.Log("WsdlBindingSuds.UsedNamespace elementName "+elementName+" typeName "+typeName+" ns "+ns+" extendsTypeName "+extendsTypeName+" extendsNs "+extendsNs+" sudsUse "+((Enum)sudsUse).ToString()); 7399Util.Log(" sudsUse "+((Enum)sudsUse).ToString());
metadata\wsdlwriter.cs (2)
193Util.Log("WsdlGenerator.ProcessTypeAttributes "+type+" SoapOptions "+((Enum)att.SoapOptions).ToString()+" _xsdVersion "+((Enum)_xsdVersion).ToString());
System.Runtime.Serialization (25)
System\Runtime\Serialization\CodeGenerator.cs (3)
508EmitSourceInstruction("Branch if " + GetCmpInverse(cmpOp).ToString() + " to " + ifState.ElseBegin.GetHashCode().ToString(NumberFormatInfo.InvariantInfo)); 541EmitSourceInstruction("Branch if " + GetCmpInverse(cmpOp).ToString() + " to " + ifState.ElseBegin.GetHashCode().ToString(NumberFormatInfo.InvariantInfo)); 1919EmitSourceInstruction("Branch if " + GetCmpInverse(Cmp.EqualTo).ToString() + " to " + ifState.ElseBegin.GetHashCode().ToString(NumberFormatInfo.InvariantInfo));
System\Runtime\Serialization\Json\XmlJsonWriter.cs (3)
939JsonGlobals.serverTypeString, JsonGlobals.typeString, dataType.ToString().ToLowerInvariant(), JsonGlobals.objectString))); 985SR.GetString(SR.JsonInvalidWriteState, "WriteStartDocument", WriteState.ToString()))); 1446dataType.ToString().ToLowerInvariant())));
System\Xml\XmlBaseWriter.cs (14)
162throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "WriteXmlnsAttribute", WriteState.ToString()))); 187throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "WriteXmlnsAttribute", WriteState.ToString()))); 215throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "WriteStartAttribute", WriteState.ToString()))); 322throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "WriteEndAttribute", WriteState.ToString()))); 381throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "WriteComment", WriteState.ToString()))); 407throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "WriteFullEndElement", WriteState.ToString()))); 419throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "WriteCData", WriteState.ToString()))); 450throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "WriteStartElement", WriteState.ToString()))); 723throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "WriteStartDocument", WriteState.ToString()))); 1582throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "StartFragment", WriteState.ToString()))); 1633throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "EndFragment", WriteState.ToString()))); 1672throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "WriteFragment", WriteState.ToString()))); 1749throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidWriteState, "WriteStartElement", WriteState.ToString()))); 1775throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidPrefixState, WriteState.ToString())));
System\Xml\XmlMtomWriter.cs (5)
1034throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MimeWriterInvalidStateForStartPreface, state.ToString()))); 1045throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MimeWriterInvalidStateForStartPart, state.ToString()))); 1067throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MimeWriterInvalidStateForClose, state.ToString()))); 1108throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MimeWriterInvalidStateForHeader, state.ToString()))); 1128throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MimeWriterInvalidStateForContent, state.ToString())));
System.Security (4)
system\security\cryptography\pkcs\pkcs7recipient.cs (1)
68throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type"), recipientIdentifierType.ToString());
system\security\cryptography\pkcs\pkcsmisc.cs (2)
173throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type"), type.ToString()); 292throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type"), type.ToString());
system\security\permissions\dataprotectionpermission.cs (1)
119securityElement.AddAttribute("Flags", m_flags.ToString());
System.ServiceModel (139)
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (1)
64instance.SetProperty(AdministrationStrings.PerformanceCounters, PerformanceCounters.Scope.ToString());
System\ServiceModel\Administration\ContractInstanceProvider.cs (8)
58contract.SetProperty(AdministrationStrings.SessionMode, contractDescription.SessionMode.ToString()); 146instance.SetProperty(AdministrationStrings.QueuedDeliveryRequirements, specificBehavior.QueuedDeliveryRequirements.ToString()); 182instance.SetProperty(AdministrationStrings.Style, specificBehavior.DataContractFormatAttribute.Style.ToString()); 190instance.SetProperty(AdministrationStrings.Impersonation, specificBehavior.Impersonation.ToString()); 191instance.SetProperty(AdministrationStrings.ReleaseInstanceMode, specificBehavior.ReleaseInstanceMode.ToString()); 199instance.SetProperty(AdministrationStrings.TransactionFlowOption, specificBehavior.Transactions.ToString()); 207instance.SetProperty(AdministrationStrings.Style, specificBehavior.XmlSerializerFormatAttribute.Style.ToString()); 208instance.SetProperty(AdministrationStrings.Use, specificBehavior.XmlSerializerFormatAttribute.Use.ToString());
System\ServiceModel\Administration\EndpointInstanceProvider.cs (20)
161instance.SetProperty(AdministrationStrings.HostNameComparisonMode, connectionOriented.HostNameComparisonMode.ToString()); 167instance.SetProperty(AdministrationStrings.TransferMode, connectionOriented.TransferMode.ToString()); 202instance.SetProperty(AdministrationStrings.AuthenticationScheme, http.AuthenticationScheme.ToString()); 206instance.SetProperty(AdministrationStrings.HostNameComparisonMode, http.HostNameComparisonMode.ToString()); 213instance.SetProperty(AdministrationStrings.ProxyAuthenticationScheme, http.ProxyAuthenticationScheme.ToString()); 215instance.SetProperty(AdministrationStrings.TransferMode, http.TransferMode.ToString()); 258instance.SetProperty(AdministrationStrings.SerializationFormat, msmqIntegration.SerializationFormat.ToString()); 268securitySettings.SetProperty(AdministrationStrings.PeerSecurityMode, peer.Security.Mode.ToString()); 270transportSecuritySettings.SetProperty(AdministrationStrings.PeerTransportCredentialType, peer.Security.Transport.CredentialType.ToString()); 278instance.SetProperty(AdministrationStrings.ReferralPolicy, baseResolver.ReferralPolicy.ToString()); 308instance.SetProperty(AdministrationStrings.KeyEntropyMode, specificElement.KeyEntropyMode.ToString()); 309instance.SetProperty(AdministrationStrings.SecurityHeaderLayout, specificElement.SecurityHeaderLayout.ToString()); 333instance.SetProperty(AdministrationStrings.MessageProtectionOrder, specificElement1.MessageProtectionOrder.ToString()); 340instance.SetProperty(AdministrationStrings.MessageProtectionOrder, specificElement1.MessageProtectionOrder.ToString()); 348instance.SetProperty(AdministrationStrings.ProtectionLevel, specificElement.ProtectionLevel.ToString()); 390instance.SetProperty(AdministrationStrings.CompressionFormat, specificElement.CompressionFormat.ToString()); 474AdministrationStrings.AllowedImpersonationLevel, specificBehavior.HttpDigest.AllowedImpersonationLevel.ToString()); 492specificBehavior.Windows.AllowedImpersonationLevel.ToString(), 556extendedProtectionPolicy.SetProperty(AdministrationStrings.PolicyEnforcement, policy.PolicyEnforcement.ToString()); 557extendedProtectionPolicy.SetProperty(AdministrationStrings.ProtectionScenario, policy.ProtectionScenario.ToString());
System\ServiceModel\Administration\ServiceInstanceProvider.cs (10)
158instance.SetProperty(AdministrationStrings.RequirementsMode, specificBehavior.RequirementsMode.ToString()); 222instance.SetProperty(AdministrationStrings.UserNameAuthentication, String.Format(CultureInfo.InvariantCulture, "{0}: {1}", AdministrationStrings.ValidationMode, specificBehavior.UserNameAuthentication.UserNamePasswordValidationMode.ToString())); 243instance.SetProperty(AdministrationStrings.PrincipalPermissionMode, specificBehavior.PrincipalPermissionMode.ToString()); 249instance.SetProperty(AdministrationStrings.AuditLogLocation, specificBehavior.AuditLogLocation.ToString()); 251instance.SetProperty(AdministrationStrings.ServiceAuthorizationAuditLevel, specificBehavior.ServiceAuthorizationAuditLevel.ToString()); 252instance.SetProperty(AdministrationStrings.MessageAuthenticationAuditLevel, specificBehavior.MessageAuthenticationAuditLevel.ToString()); 258instance.SetProperty(AdministrationStrings.AddressFilterMode, serviceBehavior.AddressFilterMode.ToString()); 260instance.SetProperty(AdministrationStrings.ConcurrencyMode, serviceBehavior.ConcurrencyMode.ToString()); 265instance.SetProperty(AdministrationStrings.InstanceContextMode, serviceBehavior.InstanceContextMode.ToString()); 271instance.SetProperty(AdministrationStrings.TransactionIsolationLevel, serviceBehavior.TransactionIsolationLevel.ToString());
System\ServiceModel\BasicHttpSecurity.cs (2)
25Fx.Assert(BasicHttpSecurityModeHelper.IsDefined(mode), string.Format("Invalid BasicHttpSecurityMode value: {0}.", mode.ToString())); 125Fx.Assert(BasicHttpSecurityModeHelper.IsDefined(basicHttpSecurityMode), string.Format("Invalid BasicHttpSecurityMode value: {0}.", basicHttpSecurityMode.ToString()));
System\ServiceModel\BasicHttpsSecurityMode.cs (1)
39Fx.Assert(mode == BasicHttpSecurityMode.Transport || mode == BasicHttpSecurityMode.TransportWithMessageCredential, string.Format(CultureInfo.InvariantCulture, "Invalid BasicHttpSecurityMode value: {0}.", mode.ToString()));
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
448sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageProtectionOrder: {0}", this.messageProtectionOrder.ToString()));
System\ServiceModel\Channels\AuthenticationSchemesHelper.cs (1)
71return authScheme.ToString().ToLowerInvariant();
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (2)
179this.compressionFormat.ToString(), 181CompressionFormat.None.ToString())));
System\ServiceModel\Channels\ChannelParameterCollection.cs (4)
90channel.GetType().ToString(), state.ToString()); 95channel.GetType().ToString(), state.ToString()); 118channel.GetType().ToString(), state.ToString()); 130channel.GetType().ToString(), state.ToString());
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
258request.Headers[WebSocketTransportSettings.BinaryEncoderTransferModeHeader] = this.channelFactory.TransferMode.ToString();
System\ServiceModel\Channels\CommunicationObject.cs (2)
349return new InvalidOperationException(SR.GetString(SR.CommunicationObjectCannotBeUsed, this.GetCommunicationObjectType().ToString(), this.state.ToString())); 354return new InvalidOperationException(SR.GetString(SR.CommunicationObjectCannotBeModifiedInState, this.GetCommunicationObjectType().ToString(), this.state.ToString()));
System\ServiceModel\Channels\ContextBindingElement.cs (2)
286wmiInstance.SetProperty("ProtectionLevel", this.protectionLevel.ToString()); 287wmiInstance.SetProperty("ContextExchangeMechanism", this.contextExchangeMechanism.ToString());
System\ServiceModel\Channels\DefaultWebSocketConnectionHandler.cs (1)
44this.transferMode = transferMode.ToString();
System\ServiceModel\Channels\FramingDecoders.cs (9)
395SR.FramingModeNotSupported, mode.ToString())), FramingEncodingString.UnsupportedModeFault); 430return new InvalidDataException(SR.GetString(SR.FramingRecordTypeMismatch, expectedType.ToString(), foundType.ToString())); 539get { return currentState.ToString(); } 619get { return currentState.ToString(); } 874get { return currentState.ToString(); } 1004get { return currentState.ToString(); } 1275get { return currentState.ToString(); } 1356get { return currentState.ToString(); }
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3718statusDescription = response.StatusCode.ToString();
System\ServiceModel\Channels\HttpHeaderInfo.cs (1)
167if (string.Equals(headerEnumString, HttpResponseHeader.ETag.ToString(), StringComparison.Ordinal))
System\ServiceModel\Channels\HttpPipeline.cs (1)
848TD.WebSocketConnectionDeclined(this.EventTraceActivity, HttpStatusCode.ServiceUnavailable.ToString());
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
791this.TransferMode.ToString(), TransportPolicyConstants.WebSocketPolicyNamespace));
System\ServiceModel\Channels\Message.cs (1)
1243throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageBodyReaderInvalidReadState, bodyReader.ReadState.ToString())));
System\ServiceModel\Channels\PeerConnector.cs (3)
377throw Fx.AssertAndThrow("Neighbor state expected to be >= Disconnecting; it is " + neighbor.State.ToString()); 500throw Fx.AssertAndThrow("Neighbor state expected to be >= Faulted; it is " + neighbor.State.ToString()); 607throw Fx.AssertAndThrow("Neighbor state expected to be >= Disconnecting; it is " + neighbor.State.ToString());
System\ServiceModel\Channels\PeerNeighborManager.cs (9)
1320SR.GetString(SR.PeerNeighborInvalidState, this.state.ToString(), 1321newState.ToString()))); 1349PeerNeighborState.Closed.ToString(), previousState.ToString(), null, 1350this.closeInitiator.ToString(), this.closeReason.ToString() 1387attemptedState = previousOrAttemptedState.ToString(); 1389previousState = previousOrAttemptedState.ToString(); 1393this.initiator, nbrState.ToString(), previousState, attemptedState, action);
System\ServiceModel\Channels\PeerService.cs (1)
176neighbor.IsInitiator, state.ToString(), null, null,
System\ServiceModel\Channels\ReceiveContext.cs (4)
368new InvalidOperationException(SR.GetString(SR.ReceiveContextInInvalidState, this.GetType().ToString(), this.State.ToString()))); 377new InvalidOperationException(SR.GetString(SR.ReceiveContextInInvalidState, this.GetType().ToString(), this.State.ToString()))); 386new InvalidOperationException(SR.GetString(SR.ReceiveContextCannotBeUsed, this.GetType().ToString(), this.State.ToString()))); 409return new InvalidOperationException(SR.GetString(SR.ReceiveContextInInvalidState, this.GetType().ToString(), this.State.ToString()), exception);
System\ServiceModel\Channels\ReliableChannelBinder.cs (1)
766this.GetType().ToString(), this.state.ToString()));
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
1836sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyEntropyMode: {0}", this.keyEntropyMode.ToString())); 1838sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SecurityHeaderLayout: {0}", this.securityHeaderLayout.ToString()));
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
637TD.SharedListenerProxyRegisterFailed(status.ToString());
System\ServiceModel\Channels\SharedHttpTransportManager.cs (1)
536throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.UnrecognizedHostNameComparisonMode, HostNameComparisonMode.ToString())));
System\ServiceModel\Channels\SocketConnection.cs (1)
611values["State"] = this.closeState.ToString();
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (1)
406sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageProtectionOrder: {0}", this.messageProtectionOrder.ToString()));
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
38return authenticationLevel.ToString();
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
155this.webSocketCloseDetails.OutputCloseStatus.ToString(), 180this.webSocketCloseDetails.OutputCloseStatus.ToString(),
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (1)
172protectionLevelElement.AppendChild(document.CreateTextNode(this.ProtectionLevel.ToString()));
System\ServiceModel\Description\ClientClassGenerator.cs (1)
256CodeAttributeArgument browsableAttributeValue = new CodeAttributeArgument(new CodeFieldReferenceExpression(browsableAttributeState, editorBrowsableState.ToString()));
System\ServiceModel\Description\MetadataExchangeClient.cs (2)
455address.ToString(), MetadataExchangeClientMode.HttpGet.ToString()); 460address.ToString(), MetadataExchangeClientMode.MetadataExchange.ToString());
System\ServiceModel\Description\OperationGenerator.cs (1)
777new CodeTypeReferenceExpression(typeof(ProtectionLevel)), message.ProtectionLevel.ToString())));
System\ServiceModel\Description\ServiceContractGenerator.cs (4)
416new CodeTypeReferenceExpression(typeof(ProtectionLevel)), context.Contract.ProtectionLevel.ToString()))); 428new CodeTypeReferenceExpression(typeof(SessionMode)), context.Contract.SessionMode.ToString()))); 473new CodeTypeReferenceExpression(typeof(ProtectionLevel)), operationDescription.ProtectionLevel.ToString()))); 669new CodeTypeReferenceExpression(typeof(ProtectionLevel)), fault.ProtectionLevel.ToString())));
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (2)
137writer.WriteAttributeString(DiagnosticStrings.SourceTag, this.source.ToString()); 307dictionaryWriter.WriteElementString(MessageLogTraceRecord.StatusCodeElementName, responseProperty.StatusCode.ToString());
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (2)
644xml.WriteElementString("Operation", this.operation.ToString()); 687xml.WriteElementString("Operation", this.operation.ToString());
System\ServiceModel\Diagnostics\ServiceConfigurationTraceRecord.cs (1)
68xml.WriteElementString("ListenUriMode", serviceEndpoint.ListenUriMode.ToString());
System\ServiceModel\Dispatcher\QueryCoreOp.cs (2)
273throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.InvalidType, SR.GetString(SR.QueryVariableTypeNotSupported, this.variable.VariableType.ToString()))); 335throw DiagnosticUtility.ExceptionUtility.ThrowHelperCritical(new QueryProcessingException(QueryProcessingError.Unexpected, SR.GetString(SR.QueryVariableTypeNotSupported, this.variable.VariableType.ToString())));
System\ServiceModel\Dispatcher\QueryException.cs (2)
41return this.error.ToString(); 98return this.error.ToString();
System\ServiceModel\Dispatcher\QueryFunctions.cs (4)
86throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.InvalidType, SR.GetString(SR.QueryFunctionTypeNotSupported, this.function.ReturnType.ToString()))); 135throw DiagnosticUtility.ExceptionUtility.ThrowHelperCritical(new QueryProcessingException(QueryProcessingError.Unexpected, SR.GetString(SR.QueryFunctionTypeNotSupported, this.function.ReturnType.ToString()))); 173throw DiagnosticUtility.ExceptionUtility.ThrowHelperCritical(new QueryProcessingException(QueryProcessingError.Unexpected, SR.GetString(SR.QueryFunctionTypeNotSupported, this.function.ArgTypes[i].ToString()))); 211throw DiagnosticUtility.ExceptionUtility.ThrowHelperCritical(new QueryProcessingException(QueryProcessingError.Unexpected, SR.GetString(SR.QueryFunctionTypeNotSupported, this.function.ReturnType.ToString())));
System\ServiceModel\Dispatcher\XPathLexer.cs (1)
995ThrowError(QueryCompileError.UnsupportedOperator, this.previousID.ToString() + "->" + qname.Name);
System\ServiceModel\NetMsmqBinding.cs (1)
307Fx.Assert(NetMsmqSecurityModeHelper.IsDefined(netMsmqSecurityMode), string.Format("Invalid NetMsmqSecurityMode value: {0}.", netMsmqSecurityMode.ToString()));
System\ServiceModel\NetMsmqSecurity.cs (1)
31Fx.Assert(NetMsmqSecurityModeHelper.IsDefined(mode), string.Format("Invalid NetMsmqSecurityMode value: {0}.", mode.ToString()));
System\ServiceModel\NetTcpBinding.cs (1)
448Fx.Assert(SecurityModeHelper.IsDefined(securityMode), string.Format("Invalid SecurityMode value: {0}.", securityMode.ToString()));
System\ServiceModel\NetTcpSecurity.cs (1)
26Fx.Assert(SecurityModeHelper.IsDefined(mode), string.Format("Invalid SecurityMode value: {0}.", mode.ToString()));
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
255Exception e = new InvalidOperationException(SR.GetString(SR.CommunicationObjectCannotBeUsed, this.GetType().ToString(), state.ToString()));
System\ServiceModel\Security\SecurityProtocol.cs (2)
698Fx.Assert("Unknown token attachment mode " + supportingTokens[i].SecurityTokenAttachmentMode.ToString()); 699throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.GetString(SR.UnknownTokenAttachmentMode, supportingTokens[i].SecurityTokenAttachmentMode.ToString())));
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
927throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.NullSessionRequestMessage, this.operation.ToString())));
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
921sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyType: {0}", this.keyType.ToString()));
System\ServiceModel\Security\Tokens\SecurityTokenParameters.cs (2)
198sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "InclusionMode: {0}", this.inclusionMode.ToString())); 199sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ReferenceStyle: {0}", this.referenceStyle.ToString()));
System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (1)
146sb.Append(String.Format(CultureInfo.InvariantCulture, "X509ReferenceStyle: {0}", this.x509ReferenceStyle.ToString()));
System\ServiceModel\Security\WindowsClientCredential.cs (1)
45throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.UnsupportedTokenImpersonationLevel, "AllowedImpersonationLevel", value.ToString())));
System\ServiceModel\Security\WSTrust.cs (1)
1309throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.UnableToCreateKeyTypeElementForUnknownKeyType, keyType.ToString())));
System\ServiceModel\WSDualHttpSecurity.cs (1)
27Fx.Assert(WSDualHttpSecurityModeHelper.IsDefined(mode), string.Format("Invalid WSDualHttpSecurityMode value: {0}", mode.ToString()));
System\ServiceModel\WSFederationHttpSecurity.cs (2)
24Fx.Assert(WSFederationHttpSecurityModeHelper.IsDefined(mode), string.Format("Invalid WSFederationHttpSecurityMode value: {0}", mode.ToString())); 77Fx.Assert(WSFederationHttpSecurityModeHelper.IsDefined(mode), string.Format("Invalid WSFederationHttpSecurityMode value: {0}", mode.ToString()));
System\ServiceModel\WSHttpSecurity.cs (2)
114Fx.Assert(SecurityModeHelper.IsDefined(securityMode), string.Format("Invalid SecurityMode value: {0}.", mode.ToString())); 125Fx.Assert(SecurityModeHelper.IsDefined(securityMode), string.Format("Invalid SecurityMode value: {0}.", securityMode.ToString()));
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (3)
246throw FxTrace.Exception.AsError(new NotSupportedException(SR.Hosting_AuthSchemesRequireOtherAuth(bindingElementAuthenticationSchemes.ToString()))); 349channelListenerSslFlags.ToString(), sslFlags.ToString())));
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\WorkflowService.cs (4)
1144Constraint.AddValidationError(context, new ValidationError(SR.PropertyMismatch(receiveActivity.SerializerOption.ToString(), "SerializerOption", targetSerializerOption.ToString(), targetOperation.DeclaringContract.Name, targetSerializerOption.ToString()))); 1152targetOperation.ProtectionLevel.ToString() : SR.NotSpecified;
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpUtility.cs (1)
246throw FxTrace.Exception.AsError(new ArgumentException(SR.UriHostNameTypeNotSupportedByOS(uri.Host, uri.HostNameType.ToString())));
System.ServiceModel.Internals (4)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (2)
564s = type.ToString(); 569Fx.Assert(s == type.ToString(), "Return value should equal the name of the enum");
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
448channelName = traceChannel.ToString();
System\Runtime\TraceLevelHelper.cs (1)
91severity = level.ToString();
System.ServiceModel.Web (25)
System\ServiceModel\Channels\WebBodyFormatMessageProperty.cs (1)
72return String.Format(CultureInfo.InvariantCulture, SR2.GetString(SR2.WebBodyFormatPropertyToString, this.Format.ToString()));
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (2)
392SR2.GetString(SR2.TraceCodeRequestFormatSelectedFromContentTypeMapper, messageFormat.ToString(), contentType)); 421SR2.GetString(SR2.TraceCodeRequestFormatSelectedByEncoderDefaults, messageFormat.ToString(), contentType));
System\ServiceModel\Description\WebHttpBehavior.cs (3)
300result.Add("DefaultBodyStyle", this.DefaultBodyStyle.ToString()); 301result.Add("DefaultOutgoingRequestFormat", this.DefaultOutgoingRequestFormat.ToString()); 302result.Add("DefaultOutgoingResponseFormat", this.DefaultOutgoingResponseFormat.ToString());
System\ServiceModel\Dispatcher\DemultiplexingDispatchMessageFormatter.cs (1)
78sb.Append("'" + format.ToString() + "'");
System\ServiceModel\Dispatcher\FormatSelectingMessageInspector.cs (2)
197TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.AutomaticFormatSelectedOperationDefault, SR2.GetString(SR2.TraceCodeAutomaticFormatSelectedOperationDefault, format.ToString())); 209TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.AutomaticFormatSelectedRequestBased, SR2.GetString(SR2.TraceCodeAutomaticFormatSelectedRequestBased, format.ToString(), contentType));
System\ServiceModel\Dispatcher\HelpPage.cs (7)
321this.FormatString = WebMessageFormat.Xml.ToString(); 326this.FormatString = WebMessageFormat.Xml.ToString(); 331this.FormatString = WebMessageFormat.Xml.ToString(); 336this.FormatString = WebMessageFormat.Xml.ToString(); 341this.FormatString = WebMessageFormat.Xml.ToString(); 346this.FormatString = WebMessageFormat.Xml.ToString(); 351this.FormatString = WebMessageFormat.Xml.ToString();
System\ServiceModel\Dispatcher\MultiplexingDispatchMessageFormatter.cs (1)
84throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR2.GetString(SR2.OperationDoesNotSupportFormat, operationName, format.ToString())));
System\ServiceModel\Web\WebFaultException.cs (2)
73return FaultCode.CreateReceiverFaultCode(statusCode.ToString(), WebFaultCodeNamespace); 77return FaultCode.CreateSenderFaultCode(statusCode.ToString(), WebFaultCodeNamespace);
System\ServiceModel\Web\WebGetAttribute.cs (3)
116wmiInstance.SetProperty("BodyStyle", this.BodyStyle.ToString()); 118wmiInstance.SetProperty("RequestFormat", this.RequestFormat.ToString()); 120wmiInstance.SetProperty("ResponseFormat", this.ResponseFormat.ToString());
System\ServiceModel\Web\WebInvokeAttribute.cs (3)
131wmiInstance.SetProperty("BodyStyle", this.BodyStyle.ToString()); 133wmiInstance.SetProperty("RequestFormat", this.RequestFormat.ToString()); 135wmiInstance.SetProperty("ResponseFormat", this.ResponseFormat.ToString());
System.Transactions (8)
System\Transactions\Trace\DiagnosticTrace.cs (1)
372type.ToString(),
System\Transactions\Trace\TraceRecords.cs (7)
207xml.WriteElementString("EnlistmentType", enType.ToString()); 208xml.WriteElementString("EnlistmentOptions", enOptions.ToString()); 245xml.WriteElementString("NotificationCall", notCall.ToString()); 282xml.WriteElementString("EnlistmentCallback", callback.ToString()); 319xml.WriteElementString("EnlistmentCallback", callback.ToString()); 528xml.WriteElementString("TransactionScopeResult", txScopeResult.ToString()); 776xml.WriteElementString("DependentCloneOption", option.ToString());
System.Web (36)
Compilation\ClientBuildManager.cs (1)
707Debug.Trace("CBM", "OnAppDomainUnloaded " + reason.ToString());
Compilation\CompilationUtil.cs (1)
323throw new HttpException( SR.GetString(SR.Unknown_buildprovider_extension, extension, neededFor.ToString()));
Compilation\PageCodeDomTreeGenerator.cs (2)
243cacheSettings.Location.ToString())); 417new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(TraceMode)), Parser.TraceMode.ToString())));
Configuration\AuthorizationRule.cs (3)
47internal string _ActionString = AuthorizationRuleAction.Allow.ToString(); 225_ElementName = value.ToString().ToLower(CultureInfo.InvariantCulture); 227_ActionString = _Action.ToString();
Configuration\SessionStateSection.cs (2)
142SessionIDManager.COOKIEMODE_DEFAULT.ToString(), 333base[_propCookieless] = value.ToString();
FileChangesMonitor.cs (2)
1297" action=" + action.ToString() + 1333" action=" + nqi.Action.ToString() +
HttpRequest.cs (1)
2738return "Request." + requestCollection.ToString();
Management\WebEvents.cs (1)
1025property.Name, property.SerializeAs.ToString(), property.PropertyType.AssemblyQualifiedName ),
ModelBinding\DataTypeUtil.cs (16)
6internal static readonly string CurrencyTypeName = DataType.Currency.ToString(); 7internal static readonly string DateTypeName = DataType.Date.ToString(); 8internal static readonly string DateTimeTypeName = DataType.DateTime.ToString(); 9internal static readonly string DurationTypeName = DataType.Duration.ToString(); 10internal static readonly string EmailAddressTypeName = DataType.EmailAddress.ToString(); 11internal static readonly string HtmlTypeName = DataType.Html.ToString(); 12internal static readonly string ImageUrlTypeName = DataType.ImageUrl.ToString(); 13internal static readonly string MultiLineTextTypeName = DataType.MultilineText.ToString(); 14internal static readonly string PasswordTypeName = DataType.Password.ToString(); 15internal static readonly string PhoneNumberTypeName = DataType.PhoneNumber.ToString(); 16internal static readonly string TextTypeName = DataType.Text.ToString(); 17internal static readonly string TimeTypeName = DataType.Time.ToString(); 18internal static readonly string UrlTypeName = DataType.Url.ToString(); 19internal static readonly string CreditCardTypeName = DataType.CreditCard.ToString(); 20internal static readonly string PostalCodeTypeName = DataType.PostalCode.ToString(); 21internal static readonly string UploadTypeName = DataType.Upload.ToString();
PipelineModuleStepContainer.cs (1)
77"GetStepArray: " + notification.ToString() + " mapped to index " + index.ToString(CultureInfo.InvariantCulture) + "\r\n");
UI\WebControls\DataListItem.cs (1)
152Parent.ID, itemType.ToString()));
UI\WebControls\MenuRendererStandards.cs (1)
55Menu.Orientation.ToString().ToLowerInvariant(),
UI\WebControls\TableHeaderCell.cs (1)
114writer.AddAttribute(HtmlTextWriterAttribute.Scope, scope.ToString().ToLowerInvariant());
UI\WebParts\PersonalizationProviderHelper.cs (1)
130"usernames", "scope", PersonalizationScope.Shared.ToString()));
UI\WebParts\WebPartManager.cs (2)
2212writer.WriteAttributeString(ExportPropertyScopeAttribute, scope.ToString()); 3127String.Equals(scope, PersonalizationScope.Shared.ToString(), StringComparison.OrdinalIgnoreCase) ?
System.Web.DataVisualization (49)
Common\Annotation\AnnotationBase.cs (1)
3379 axis.AxisName.ToString();
Common\Annotation\RectangleAnnotation.cs (1)
703 IBorderType border3D = this.Common.BorderTypeRegistry.GetBorderType(_borderSkin.SkinStyle.ToString());
Common\ChartTypes\BoxPlotChart.cs (4)
700 markerStyle = point.MarkerStyle.ToString(); 715 markerStyle = point.MarkerStyle.ToString(); 1488 markerStyle = point.MarkerStyle.ToString(); 1503 markerStyle = point.MarkerStyle.ToString();
Common\ChartTypes\ErrorBarChart.cs (6)
752 markerStyle = point.MarkerStyle.ToString(); 769 markerStyle = point.MarkerStyle.ToString(); 1527 markerStyle = point.MarkerStyle.ToString(); 1544 markerStyle = point.MarkerStyle.ToString(); 1650 typeName = typeName.Substring(errorBarType.ToString().Length); 1787System.Diagnostics.Debug.Fail("Unknown ErrorBarType=" + errorBarType.ToString());
Common\ChartTypes\FunnelChart.cs (2)
613throw (new InvalidOperationException(SR.ExceptionFunnelStyleUnknown(this._funnelStyle.ToString()))); 2123 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid(labelStyle.ToString(), this.funnelLabelStyleAttributeName) ) );
Common\ChartTypes\StackedBarChart.cs (2)
578 stackGroupName = "_X_" + ser.XAxisType.ToString() + ser.XSubAxisName + "_Y_" + ser.YAxisType.ToString() + ser.YSubAxisName + "__";
Common\ChartTypes\StackedColumnChart.cs (2)
585 stackGroupName = "_X_" + ser.XAxisType.ToString() + ser.XSubAxisName + "_Y_" + ser.YAxisType.ToString() + ser.YSubAxisName + "__";
Common\General\Chart.cs (1)
2116 border3D = Common.BorderTypeRegistry.GetBorderType(_borderSkin.SkinStyle.ToString());
Common\General\ChartGraphics.cs (2)
362 hatch = (HatchStyle)Enum.Parse(typeof(HatchStyle),hatchStyle.ToString()); 4914 IBorderType borderTypeInterface = _common.BorderTypeRegistry.GetBorderType(borderSkin.SkinStyle.ToString());
Common\General\FormulaData.cs (1)
1251Formula(formulaName.ToString(), parameters, inputSeries, outputSeries);
Common\General\Label.cs (1)
323throw (new ArgumentException(SR.ExceptionAxisLabelsIntervalTypeUnsupported(intervalType.ToString())));
Common\General\Legend.cs (1)
4410throw (new InvalidOperationException(SR.ExceptionLegendSeparatorTypeUnknown(separatorType.ToString())));
Common\General\LegendColumns.cs (2)
1534throw (new InvalidOperationException(SR.ExceptionLegendCellTypeUnknown(this.CellType.ToString()))); 1962 throw (new InvalidOperationException(SR.ExceptionLegendCellTypeUnknown(this.CellType.ToString())));
Common\General\Selection.cs (5)
2024builder.Append(elementType.ToString() + ";"); 2049if (!String.IsNullOrEmpty(alowedElements) && alowedElements.IndexOf(region.Type.ToString() + ";", StringComparison.Ordinal) == -1) 3170if (elementType.ToString().StartsWith("Legend", StringComparison.Ordinal) || elementType.ToString().StartsWith("Title", StringComparison.Ordinal)) 3174if (elementType.ToString().StartsWith("PlottingArea", StringComparison.Ordinal))
Common\Utilities\XmlSerializer.cs (2)
1632String properyName = propertyType.ToString(); 2502String properyName = propertyType.ToString();
WebForm\ChartWebControl.cs (4)
672chartImage = ChartHttpHandler.GetChartImageUrl(stream, this.ImageType.ToString()); 1236 ImageFormat format = (ImageFormat)new ImageFormatConverter().ConvertFromString(ImageType.ToString()); 1701if (Int32.TryParse(value.ToString(), out result)) 1703throw new ArgumentException(SR.ExceptionEnumInvalid(value.ToString()));
WebForm\General\ChartHttpHandler.cs (12)
568settings.Add("StorageType", Settings.StorageType.ToString()); 576settings.Add("ImageOwnerKey", Settings.ImageOwnerKey.ToString()); 1334throw new InvalidOperationException(SR.ExceptionHttpHandlerPrivacyKeyInvalid("ImageOwnerKey", ImageOwnerKey.ToString())); 1342throw new InvalidOperationException(SR.ExceptionHttpHandlerPrivacyKeyInvalid("ImageOwnerKey", ImageOwnerKey.ToString())); 1350throw new InvalidOperationException(SR.ExceptionHttpHandlerPrivacyKeyInvalid("ImageOwnerKey", ImageOwnerKey.ToString())); 1448throw new NotSupportedException( SR.ExceptionHttpHandlerStorageTypeUnsupported( settings.StorageType.ToString() )); 1517Diagnostics.TraceWrite( SR.DiagnosticChartImageSavedPrivate(key, imageOwnerKeyType.ToString()), null); 1538Diagnostics.TraceWrite(SR.DiagnosticChartImageSavedPrivate(key, imageOwnerKeyType.ToString()), null); 1574Diagnostics.TraceWrite(SR.DiagnosticChartImageServedFail(key, SR.DiagnosticChartImageServedFailPrivacyFail(imageOwnerKeyType.ToString())), null); 1582Diagnostics.TraceWrite(SR.DiagnosticChartImageServedFail(key, SR.DiagnosticChartImageServedFailPrivacyFail(imageOwnerKeyType.ToString())), null); 1629Diagnostics.TraceWrite(SR.DiagnosticChartImageServedFail(key, SR.DiagnosticChartImageServedFailPrivacyFail(imageOwnerKeyType.ToString())), null); 1641Diagnostics.TraceWrite(SR.DiagnosticChartImageServedFail(key, SR.DiagnosticChartImageServedFailPrivacyFail(imageOwnerKeyType.ToString())), null);
System.Web.DynamicData (2)
DynamicData\EntityTemplateFactory.cs (1)
120string modeString = mode == DataBoundControlMode.ReadOnly ? String.Empty : "_" + mode.ToString();
DynamicData\FieldTemplateFactory.cs (1)
70_typesToTemplateNames[typeof(string)] = DataType.Text.ToString();
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
373throw new InvalidOperationException(Strings.EntityDataSourceUtil_UnableToConvertTypeCodeToType(typeCode.ToString()));
System.Web.Extensions (3)
ClientServices\Providers\ProxyHelper.cs (1)
95throw new WebException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ProxyHelper_BadStatusCode, response.StatusCode.ToString(), GetResponseString(response)), we);
UI\WebControls\Expressions\SearchExpression.cs (2)
84return Expression.Call(property, SearchType.ToString(), Type.EmptyTypes, Expression.Constant(query, property.Type)); 86return Expression.Call(property, SearchType.ToString(), Type.EmptyTypes, Expression.Constant(query, property.Type), Expression.Constant(ComparisonType));
System.Web.Mobile (4)
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (1)
94webCalendar.Attributes["align"] = align.ToString();
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
99writer.WriteAttribute("method", Control.Method.ToString().ToLower(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (1)
49writer.WriteAttribute ("method", Control.Method.ToString().ToLower(CultureInfo.CurrentCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlStyleClass.cs (1)
112classBuilder.Append ("text-align: " + styleAlignment.ToString ().ToLower(CultureInfo.InvariantCulture) + ";\r\n");
System.Web.Services (6)
System\Web\Services\Configuration\ProtocolElementCollection.cs (1)
64return configElementKey.Name.ToString();
System\Web\Services\Configuration\WsiProfilesElementCollection.cs (1)
64return configElementKey.Name.ToString();
System\Web\Services\Description\SoapProtocolImporter.cs (2)
616AddMetadataProperty("Direction", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapHeaderDirection).FullName), SoapHeaderDirection.Out.ToString())); 619AddMetadataProperty("Direction", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapHeaderDirection).FullName), SoapHeaderDirection.InOut.ToString()));
System\Web\Services\Description\SoapProtocolReflector.cs (1)
137throw new InvalidOperationException(Res.GetString(Res.BPConformanceHeaderFault, soapMethod.methodInfo.ToString(), soapMethod.methodInfo.DeclaringType.FullName, "Direction", typeof(SoapHeaderDirection).Name, SoapHeaderDirection.Fault.ToString()));
System\Web\Services\Protocols\SoapMessage.cs (1)
138if ((this.stage & stage) == 0) throw new InvalidOperationException(Res.GetString(Res.WebCannotAccessValueStage, this.stage.ToString()));
System.Windows.Forms (51)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
991Debug.Fail(SR.GetString(SR.InvalidArgument, "composition", composition.ToString())); 1018Debug.Fail(SR.GetString(SR.InvalidArgument, "composition", composition.ToString()));
winforms\Managed\System\WinForms\Control.cs (5)
7642Debug.WriteLineIf(ControlKeyboardRouting.TraceVerbose, "Control.IsInputKey " + keyData.ToString()); 10482Debug.WriteLineIf(ControlKeyboardRouting.TraceVerbose, "Control.ProcessDialogKey " + keyData.ToString()); 19871this.ToString() + ", accEvent = " + accEvent.ToString() + ", childID = self"); 19884", accEvent = " + accEvent.ToString() + 19898", accEvent = " + accEvent.ToString() +
winforms\Managed\System\WinForms\DataGrid.cs (1)
9414return "{ " + ((type).ToString()) + "," + row.ToString(CultureInfo.InvariantCulture) + "," + col.ToString(CultureInfo.InvariantCulture) + "}";
winforms\Managed\System\WinForms\DataGridView.cs (3)
4756throw new InvalidOperationException(SR.GetString(SR.DataGridView_SelectionModeAndSortModeClash, (value).ToString())); 6998SR.GetString(SR.DataGridView_SelectionModeAndSortModeClash, (selectionMode).ToString()), 6999(defaultSelectionMode).ToString()));
winforms\Managed\System\WinForms\DataGridViewAdvancedBorderStyle.cs (5)
339return "DataGridViewAdvancedBorderStyle { All=" + this.All.ToString() + ", Left=" + this.Left.ToString() + ", Right=" + this.Right.ToString() + ", Top=" + this.Top.ToString() + ", Bottom=" + this.Bottom.ToString() + " }";
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (2)
895sb.Append(" WrapMode=" + this.WrapMode.ToString()); 904sb.Append(" Alignment=" + this.Alignment.ToString());
winforms\Managed\System\WinForms\DataGridViewColumn.cs (2)
977throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumn_SortModeAndSelectionModeClash, (value).ToString(), this.DataGridView.SelectionMode.ToString()));
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
94throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumnHeaderCell_SortModeAndSortGlyphDirectionClash, (value).ToString()));
winforms\Managed\System\WinForms\DataGridViewHitTestInfo.cs (1)
139return "{ Type:" + type.ToString() + ", Column:" + col.ToString(CultureInfo.CurrentCulture) + ", Row:" + row.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
10906throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.Automatic.ToString(), this.SelectionMode.ToString())); 11029throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.Automatic.ToString(), this.SelectionMode.ToString())); 15868throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.Automatic.ToString(), this.SelectionMode.ToString()));
winforms\Managed\System\WinForms\DataObject.cs (1)
709Debug.WriteLineIf(CompModSwitches.DataObject.TraceVerbose, "EnumFormatEtc: " + dwDirection.ToString());
winforms\Managed\System\WinForms\Form.cs (2)
4225string zoneName = currentZone.SecurityZone.ToString(); 4240securityZone = SecurityZone.MyComputer.ToString();
winforms\Managed\System\WinForms\HelpInfo.cs (1)
85return "{HelpFilePath=" + helpFilePath + ", keyword =" + keyword + ", navigator=" + navigator.ToString() + "}";
winforms\Managed\System\WinForms\HtmlElement.cs (1)
578UnsafeNativeMethods.IHTMLElement iHtmlElement = ((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).InsertAdjacentElement(orient.ToString(),
winforms\Managed\System\WinForms\KeysConverter.cs (1)
308terms.Add(((Enum)keyOnly).ToString());
winforms\Managed\System\WinForms\ListView.cs (2)
2249((value).ToString()))); 3113throw new ArgumentOutOfRangeException("searchDirection", SR.GetString(SR.InvalidArgument, "searchDirection", (searchDirection).ToString()));
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
1705Debug.Assert( keyCode == Keys.Delete || keyCode == Keys.Back, "Delete called with keyCode == " + keyCode.ToString() );
winforms\Managed\System\WinForms\Panel.cs (1)
307return (ClientUtils.IsEnumValid(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D)) ? (borderStyleType.ToString() + "." + value.ToString()) : "[Invalid BorderStyle]";
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
3915string tabName = tab.TabName + propertySortValue.ToString(); 4706string tabName = viewTabs[selectedViewTab].TabName + propertySortValue.ToString();
winforms\Managed\System\WinForms\TableLayoutSettings.cs (2)
82throw new ArgumentException(SR.GetString(SR.InvalidArgument, "CellBorderStyle", value.ToString())); 199throw new ArgumentException(SR.GetString(SR.InvalidArgument, "GrowStyle", value.ToString()));
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1600Debug.WriteLineIf(ControlKeyboardRouting.TraceVerbose, "TextBoxBase.ProcessDialogKey [" + keyData.ToString() + "]");
winforms\Managed\System\WinForms\ToolStripManager.cs (6)
1531Debug.WriteLineIf(Control.ControlKeyboardRouting.TraceVerbose, "ToolStripManager.ProcessCmdKey - processing: [" + keyData.ToString() + "]"); 1537Debug.WriteLineIf(Control.ControlKeyboardRouting.TraceVerbose, "ToolStripManager.ProcessCmdKey - IsValidShortcut: [" + keyData.ToString() + "]"); 1542Debug.WriteLineIf(Control.ControlKeyboardRouting.TraceVerbose, "ToolStripManager.ProcessCmdKey - Checking if it's a menu key: [" + keyData.ToString() + "]"); 1563Debug.WriteLineIf(Control.ControlKeyboardRouting.TraceVerbose, "ToolStripManager.ProcessShortcut - processing: [" + shortcut.ToString() + "]"); 1737Debug.WriteLineIf(ToolStrip.SnapFocusDebug.TraceVerbose, "[ProcessMenuKey] DETECTED SHIFT+F10" + keyData.ToString()); 2288return "MergeAction: " + mergeAction.ToString() + " | TargetItem: " + (TargetItem == null ? "null" : TargetItem.Text) + " Index: " + index.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ToolStripSettings.cs (2)
217toolStripPanelName = toolStripPanel.Parent.Name + "." + toolStripPanel.Dock.ToString(); 384this.ToolStripPanelName = parentPanel.Parent.Name + "." + parentPanel.Dock.ToString();
System.Windows.Forms.DataVisualization (33)
Common\Annotation\AnnotationBase.cs (1)
3379 axis.AxisName.ToString();
Common\Annotation\RectangleAnnotation.cs (1)
703 IBorderType border3D = this.Common.BorderTypeRegistry.GetBorderType(_borderSkin.SkinStyle.ToString());
Common\ChartTypes\BoxPlotChart.cs (4)
700 markerStyle = point.MarkerStyle.ToString(); 715 markerStyle = point.MarkerStyle.ToString(); 1488 markerStyle = point.MarkerStyle.ToString(); 1503 markerStyle = point.MarkerStyle.ToString();
Common\ChartTypes\ErrorBarChart.cs (6)
752 markerStyle = point.MarkerStyle.ToString(); 769 markerStyle = point.MarkerStyle.ToString(); 1527 markerStyle = point.MarkerStyle.ToString(); 1544 markerStyle = point.MarkerStyle.ToString(); 1650 typeName = typeName.Substring(errorBarType.ToString().Length); 1787System.Diagnostics.Debug.Fail("Unknown ErrorBarType=" + errorBarType.ToString());
Common\ChartTypes\FunnelChart.cs (2)
613throw (new InvalidOperationException(SR.ExceptionFunnelStyleUnknown(this._funnelStyle.ToString()))); 2123 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid(labelStyle.ToString(), this.funnelLabelStyleAttributeName) ) );
Common\ChartTypes\StackedBarChart.cs (2)
578 stackGroupName = "_X_" + ser.XAxisType.ToString() + ser.XSubAxisName + "_Y_" + ser.YAxisType.ToString() + ser.YSubAxisName + "__";
Common\ChartTypes\StackedColumnChart.cs (2)
585 stackGroupName = "_X_" + ser.XAxisType.ToString() + ser.XSubAxisName + "_Y_" + ser.YAxisType.ToString() + ser.YSubAxisName + "__";
Common\General\Chart.cs (1)
2116 border3D = Common.BorderTypeRegistry.GetBorderType(_borderSkin.SkinStyle.ToString());
Common\General\ChartGraphics.cs (2)
362 hatch = (HatchStyle)Enum.Parse(typeof(HatchStyle),hatchStyle.ToString()); 4914 IBorderType borderTypeInterface = _common.BorderTypeRegistry.GetBorderType(borderSkin.SkinStyle.ToString());
Common\General\FormulaData.cs (1)
1251Formula(formulaName.ToString(), parameters, inputSeries, outputSeries);
Common\General\Label.cs (1)
323throw (new ArgumentException(SR.ExceptionAxisLabelsIntervalTypeUnsupported(intervalType.ToString())));
Common\General\Legend.cs (1)
4410throw (new InvalidOperationException(SR.ExceptionLegendSeparatorTypeUnknown(separatorType.ToString())));
Common\General\LegendColumns.cs (2)
1534throw (new InvalidOperationException(SR.ExceptionLegendCellTypeUnknown(this.CellType.ToString()))); 1962 throw (new InvalidOperationException(SR.ExceptionLegendCellTypeUnknown(this.CellType.ToString())));
Common\General\Selection.cs (5)
2024builder.Append(elementType.ToString() + ";"); 2049if (!String.IsNullOrEmpty(alowedElements) && alowedElements.IndexOf(region.Type.ToString() + ";", StringComparison.Ordinal) == -1) 3170if (elementType.ToString().StartsWith("Legend", StringComparison.Ordinal) || elementType.ToString().StartsWith("Title", StringComparison.Ordinal)) 3174if (elementType.ToString().StartsWith("PlottingArea", StringComparison.Ordinal))
Common\Utilities\XmlSerializer.cs (2)
1632String properyName = propertyType.ToString(); 2502String properyName = propertyType.ToString();
System.Workflow.Activities (21)
ActivityTrace.cs (2)
45activity.Switch = new SourceSwitch("System.Workflow.Activities", SourceLevels.Off.ToString()); 48rules.Switch = new SourceSwitch("System.Workflow.Activities.Rules", SourceLevels.Off.ToString());
Rules\ArithmeticLiteral.cs (1)
318string message = string.Format(CultureInfo.CurrentCulture, Messages.ArithOpBadTypes, operation.ToString(),
Rules\CodeDomDecompiler.cs (1)
481string message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, binaryExpr.Operator.ToString());
Rules\Expressions.cs (10)
203message = string.Format(CultureInfo.CurrentCulture, Messages.NullBinaryOpLHS, binaryExpr.Operator.ToString()); 224message = string.Format(CultureInfo.CurrentCulture, Messages.NullBinaryOpRHS, binaryExpr.Operator.ToString()); 327message = string.Format(CultureInfo.CurrentCulture, Messages.LogicalOpBadTypeLHS, binaryExpr.Operator.ToString(), 336message = string.Format(CultureInfo.CurrentCulture, Messages.LogicalOpBadTypeRHS, binaryExpr.Operator.ToString(), 347message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, binaryExpr.Operator.ToString()); 631message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, operation.ToString()); 639operation.ToString(), 658string message = string.Format(CultureInfo.CurrentCulture, Messages.NullBinaryOpLHS, binaryExpr.Operator.ToString()); 665string message = string.Format(CultureInfo.CurrentCulture, Messages.NullBinaryOpRHS, binaryExpr.Operator.ToString()); 730string message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, binaryExpr.Operator.ToString());
Rules\Literal.cs (6)
433string message = string.Format(CultureInfo.CurrentCulture, Messages.RelationalOpBadTypes, comparison.ToString(), 457string message2 = string.Format(CultureInfo.CurrentCulture, Messages.RelationalOpBadTypes, comparison.ToString(), 552Debug.Assert(false, "Operator " + op.ToString() + " not implemented"); 553message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, op.ToString()); 775op.ToString(), 793op.ToString(),
Rules\RuleValidation.cs (1)
744string message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, op.ToString());
System.Workflow.ComponentModel (16)
AuthoringOM\ActivityExecutorOperation.cs (8)
88throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(), ActivityExecutionStatus.Executing.ToString())); 106throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(), ActivityExecutionStatus.Canceling.ToString())); 125throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(), ActivityExecutionStatus.Compensating.ToString())); 143throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(), ActivityExecutionStatus.Faulting.ToString()));
AuthoringOM\Compiler\CompileXomlTask.cs (2)
552compilerParameters.LanguageToUse = this.ProjectType.ToString(); 627WorkflowMarkupSerializationHelpers.FixStandardNamespacesAndRootNamespace(ccu.Namespaces, this.RootNamespace, CompilerHelpers.GetSupportedLanguage(this.ProjectType.ToString())); //just add the standard namespaces
AuthoringOM\Compiler\XomlCompilerParameters.cs (2)
445if (String.Compare(value, SupportedLanguages.CSharp.ToString(), StringComparison.OrdinalIgnoreCase) != 0 && 446String.Compare(value, SupportedLanguages.VB.ToString(), StringComparison.OrdinalIgnoreCase) != 0)
AuthoringOM\Design\CustomActivityDesigner.cs (1)
660attributeList.Add(new AttributeInfo(typeof(DesignerSerializationVisibilityAttribute), new string[] { }, new object[] { new CodeSnippetExpression(typeof(DesignerSerializationVisibility).Name + "." + property.DesignerSerializationVisibility.ToString()) }));
AuthoringOM\Trace.cs (3)
62runtime.Switch = new SourceSwitch("System.Workflow.Runtime", SourceLevels.Off.ToString()); 66tracking.Switch = new SourceSwitch("System.Workflow.Runtime.Tracking", SourceLevels.Off.ToString()); 69host.Switch = new SourceSwitch("System.Workflow.Runtime.Hosting", SourceLevels.Off.ToString());
System.Workflow.Runtime (5)
System\Activities\Statements\Interop.cs (2)
1139string message = string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropBodyRootLevelViolation, activity.DisplayName, validationEnum.ToString() + "Activity"); 1150string message = string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropBodyNestedViolation, activity.DisplayName, validationEnum.ToString() + "Activity");
Tracking\TrackingProfileSerializer.cs (3)
1240writer.WriteElementString("Operator", condition.Operator.ToString()); 1298writer.WriteValue(s.ToString()); 1328writer.WriteValue(s.ToString());
System.WorkflowServices (1)
System\ServiceModel\Description\WorkflowServiceBehavior.cs (1)
356wmiInstance.SetProperty("AddressFilterMode", this.AddressFilterMode.ToString());
System.Xml (67)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3969System.Diagnostics.Debug.WriteLine("Unhandled token: " + token.ToString());
System\Xml\Core\ReadContentAsBinaryHelper.cs (3)
256throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo ); 296throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo ); 387throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo );
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (3)
206throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo ); 240throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo ); 311throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo );
System\Xml\Core\XmlReader.cs (15)
735throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 743throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 757throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 774throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 780throw new XmlException(Res.Xml_UnexpectedNodeInSimpleContent, new string[] { this.NodeType.ToString(), "ReadElementString" }, this as IXmlLineInfo); 796throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 806throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 822throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 832throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 846throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 1354throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 1374return new InvalidOperationException(AddLineInfo(Res.GetString(Res.Xml_InvalidReadContentAs, new string[] { methodName, nodeType.ToString() }), lineInfo)); 1378return new InvalidOperationException(AddLineInfo(Res.GetString(Res.Xml_InvalidReadElementContentAs, new string[] { methodName, nodeType.ToString() }), lineInfo)); 1462throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString()); 1733string result = nt.ToString();
System\Xml\Core\XmlReaderAsync.cs (1)
381throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString());
System\Xml\Core\XmlReaderSettings.cs (2)
622throw new InvalidOperationException(Res.GetString(Res.Xml_IncompatibleConformanceLevel, this.conformanceLevel.ToString())); 676throw new InvalidOperationException(Res.GetString(Res.Xml_IncompatibleConformanceLevel, this.conformanceLevel.ToString()));
System\Xml\Core\XmlSubtreeReader.cs (4)
768throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 885throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 1146throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 1171throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
System\Xml\Core\XmlSubtreeReaderAsync.cs (4)
292throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 409throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 497throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 522throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
System\Xml\Core\XmlTextReaderImpl.cs (4)
2784Throw( Res.Xml_PartialContentNodeTypeNotSupportedEx, fragmentType.ToString() ); 5367Throw( Res.Xml_InvalidNodeType, curNode.type.ToString() ); 7984Throw( Res.Xml_InvalidNodeType, curNode.type.ToString() ); 8432throw new XmlException( Res.Xml_InvalidNodeType, curNode.type.ToString(), this as IXmlLineInfo );
System\Xml\Core\XmlTextReaderImplAsync.cs (3)
3417Throw( Res.Xml_InvalidNodeType, curNode.type.ToString() ); 4938Throw( Res.Xml_InvalidNodeType, curNode.type.ToString() ); 5073throw new XmlException( Res.Xml_InvalidNodeType, curNode.type.ToString(), this as IXmlLineInfo );
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
819throw new XmlException( Res.Xml_InvalidNodeType, outerReader.NodeType.ToString());
System\Xml\Core\XmlValidatingReaderImplAsync.cs (1)
187throw new XmlException( Res.Xml_InvalidNodeType, outerReader.NodeType.ToString());
System\Xml\Dom\DocumentSchemaValidator.cs (2)
290throw new InvalidOperationException( Res.GetString( Res.Xml_UnexpectedNodeType, new string[]{ currentNode.NodeType.ToString() } ) ); 672throw new InvalidOperationException( Res.GetString( Res.Xml_UnexpectedNodeType, new string[]{ currentNode.NodeType.ToString() } ) );
System\Xml\Dom\XmlDocument.cs (1)
848throw new InvalidOperationException( String.Format( CultureInfo.InvariantCulture, Res.GetString(Res.Xdom_Import), node.NodeType.ToString() ) );
System\Xml\Dom\XmlLoader.cs (1)
873return new InvalidOperationException( string.Format( CultureInfo.InvariantCulture, Res.GetString(Res.Xml_UnexpectedNodeType), nodetype.ToString()));
System\Xml\Dom\XmlNode.cs (2)
92set { throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, Res.GetString(Res.Xdom_Node_SetVal), NodeType.ToString()));} 1210string result = nodeType.ToString();
System\Xml\Schema\DataTypeImplementation.cs (1)
1862exception = new FormatException(Res.GetString(Res.XmlConvert_BadFormat, s, dateTimeFlags.ToString()));
System\Xml\Schema\XmlSchemaDataType.cs (1)
249return typeCode.ToString();
System\Xml\Serialization\SchemaObjectWriter.cs (1)
480return v.ToString();
System\Xml\ValidateNames.cs (4)
504if (throwOnError) throw new XmlException(Res.XmlBadName, new string[] {nodeKind.ToString(), localName}); 520if (throwOnError) throw new XmlException(Res.XmlNoNameAllowed, nodeKind.ToString()); 544if (throwOnError) throw new XmlException(Res.XmlBadName, new string[] {nodeKind.ToString(), localName}); 579if (throwOnError) throw new XmlException(Res.XmlNoNameAllowed, nodeKind.ToString());
System\Xml\XPath\Internal\BaseAxisQuery.cs (1)
127w.WriteAttributeString("nodeType", TypeTest.ToString());
System\Xml\XPath\Internal\BooleanExpr.cs (1)
58w.WriteAttributeString("op", (isOr ? Operator.Op.OR : Operator.Op.AND).ToString());
System\Xml\XPath\Internal\BooleanFunctions.cs (1)
83w.WriteAttributeString("name", funcType.ToString());
System\Xml\XPath\Internal\DescendantBaseQuery.cs (1)
60w.WriteAttributeString("nodeType", TypeTest.ToString());
System\Xml\XPath\Internal\LogicalExpr.cs (1)
376w.WriteAttributeString("op", op.ToString());
System\Xml\XPath\Internal\NodeFunctions.cs (1)
98w.WriteAttributeString("name", funcType.ToString());
System\Xml\XPath\Internal\NumberFunctions.cs (1)
108w.WriteAttributeString("name", ftype.ToString());
System\Xml\XPath\Internal\NumericExpr.cs (1)
73w.WriteAttributeString("op", op.ToString());
System\Xml\XPath\Internal\StringFunctions.cs (1)
229w.WriteAttributeString("name", funcType.ToString());
System\Xml\XPath\Internal\XPathAncestorQuery.cs (1)
67w.WriteAttributeString("nodeType", TypeTest.ToString());
System\Xml\XPath\XPathNavigator.cs (1)
1889string result = nav.NodeType.ToString();
System\Xml\XPath\XPathNavigatorReader.cs (1)
887Debug.Assert( this.nav.NodeType == XPathNodeType.Element, this.nav.NodeType.ToString() + " == XPathNodeType.Element" );
WindowsBase (14)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (1)
1107userName.Append(user.AuthenticationType.ToString());
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
576writer.WriteAttributeString(TargetModeAttributeName, relationship.TargetMode.ToString());
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
1361AuthenticationType.Windows.ToString().ToUpper(CultureInfo.InvariantCulture),
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (4)
617if (String.CompareOrdinal(userIdTypeStr, AuthenticationType.Windows.ToString().ToUpperInvariant()) == 0) 621else if (String.CompareOrdinal(userIdTypeStr, AuthenticationType.Passport.ToString().ToUpperInvariant()) == 0) 625else if (String.CompareOrdinal(userIdTypeStr, AuthenticationType.Internal.ToString().ToUpperInvariant()) == 0) 1062return user.AuthenticationType.ToString();
Base\System\Security\Permissions\MediaPermission.cs (3)
379securityElement.AddAttribute("Audio", _mediaPermissionAudio.ToString()); 380securityElement.AddAttribute("Video", _mediaPermissionVideo.ToString()); 381securityElement.AddAttribute("Image", _mediaPermissionImage.ToString());
Base\System\Security\Permissions\WebBrowserPermission.cs (1)
243securityElement.AddAttribute("Level", _webBrowserPermissionLevel.ToString());
Base\System\Security\RightsManagement\User.cs (1)
212hashString.Append(_authenticationType.ToString());
Base\System\Windows\Input\KeyConverter.cs (1)
247return key.ToString();
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
621throw new InvalidOperationException("InitializationState != " + requiredState.ToString());
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (2)
129Debug.Fail("Unrecognized XamlNodeType value" + reader.NodeType.ToString()); 213Debug.Fail("Unrecognized XamlNodeType value" + reader.NodeType.ToString());