65 references to Parse
mscorlib (2)
system\enum.cs (1)
353return Parse(enumType, value, false);
system\reflection\assembly.cs (1)
2820webArgs[0] = (Enum) Enum.Parse(type, "Connect", true);
PresentationCore (1)
Core\CSharp\System\Windows\Media\RequestCachePolicyConverter.cs (1)
89HttpRequestCacheLevel level = (HttpRequestCacheLevel)Enum.Parse(typeof(HttpRequestCacheLevel), s, true);
System (8)
compmod\system\componentmodel\EnumConverter.cs (2)
124convertedValue |= Convert.ToInt64((Enum)Enum.Parse(type, v, true), culture); 129return Enum.Parse(type, strValue, true);
compmod\system\diagnostics\SourceSwitch.cs (1)
36SwitchSetting = (int) Enum.Parse(typeof(SourceLevels), Value, true);
compmod\system\diagnostics\TraceSwitch.cs (1)
113SwitchSetting = (int) Enum.Parse(typeof(TraceLevel), Value, true);
compmod\system\diagnostics\traceutils.cs (1)
126return Enum.Parse(type, value, false);
net\System\Net\Configuration\UriSectionReader.cs (1)
167sectionData.IdnScope = (UriIdnScope)Enum.Parse(typeof(UriIdnScope), attributeValue, true);
net\System\Net\SocketPermission.cs (2)
142transport = (TransportType) Enum.Parse(typeof(TransportType), m_transport, true); 537transport = (TransportType) Enum.Parse(typeof(TransportType), tmpStr, true);
System.Activities (1)
System\Activities\Debugger\DebugInfo.cs (1)
416location.Value = Enum.Parse(t, value, true);
System.ComponentModel.DataAnnotations (1)
DataAnnotations\EnumDataTypeAttribute.cs (1)
66convertedValue = Enum.Parse(this.EnumType, stringValue, false);
System.Data (6)
fx\src\data\System\Data\Common\DBDataPermission.cs (1)
303behavior = (KeyRestrictionBehavior) Enum.Parse(typeof(KeyRestrictionBehavior), behavr, true);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (2)
690convertedValue |= (int)(OleDbServiceValues)Enum.Parse(typeof(OleDbServiceValues), v, true); 695return (int)(OleDbServiceValues)Enum.Parse(typeof(OleDbServiceValues), svalue, true);
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (3)
983SqlNotificationType temp = (SqlNotificationType)Enum.Parse(typeof(SqlNotificationType), xmlReader.Value, true); 998SqlNotificationSource temp = (SqlNotificationSource)Enum.Parse(typeof(SqlNotificationSource), xmlReader.Value, true); 1026SqlNotificationInfo temp = (SqlNotificationInfo)Enum.Parse(typeof(SqlNotificationInfo), value, true);
System.Data.Entity (2)
System\Data\Metadata\Converter.cs (2)
46(int)Enum.Parse(typeof(ConcurrencyMode), name, false))); 62(int)Enum.Parse(typeof(StoreGeneratedPattern), name, false)));
System.Data.Linq (2)
parent\DbmlShared\Mapping.cs (1)
226: (MappingParameterDirection)Enum.Parse(typeof(MappingParameterDirection), value, true);
SqlClient\SqlTypeSystemProvider.cs (1)
884SqlDbType dbType = (SqlDbType)Enum.Parse(typeof(SqlDbType), typeName, true);
System.Drawing (1)
commonui\System\Drawing\FontConverter.cs (1)
160style |= (FontStyle)Enum.Parse(typeof(FontStyle), styleText, true);
System.Runtime.Remoting (5)
channels\ipc\ipcclientchannel.cs (1)
412Enum.Parse(typeof(TokenImpersonationLevel),
channels\tcp\tcpclientchannel.cs (3)
611Enum.Parse(typeof(SocketCachePolicy), 619Enum.Parse(typeof(TokenImpersonationLevel), 625Enum.Parse(typeof(ProtectionLevel),
channels\tcp\tcpserverchannel.cs (1)
110Enum.Parse(typeof(ProtectionLevel),
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
87return Enum.Parse(parameterType, parameter, true);
System.Web (2)
UI\PropertyConverter.cs (1)
35return Enum.Parse(enumType, value, true);
UI\Util.cs (1)
968val = Enum.Parse(enumType, value, true /*ignoreCase*/);
System.Web.DataVisualization (13)
Common\ChartTypes\BoxPlotChart.cs (1)
793 MarkerStyle marker = (MarkerStyle)Enum.Parse(typeof(MarkerStyle), markerStyle, true);
Common\ChartTypes\ErrorBarChart.cs (1)
854 MarkerStyle marker = (MarkerStyle)Enum.Parse(typeof(MarkerStyle), markerStyle, true);
Common\ChartTypes\FunnelChart.cs (6)
2119 labelStyle = (FunnelLabelStyle)Enum.Parse(typeof(FunnelLabelStyle), attrValue, true); 2496 drawingStyle = (FunnelStyle)Enum.Parse(typeof(FunnelStyle), attrValue, true); 2523 placement = (FunnelLabelPlacement)Enum.Parse(typeof(FunnelLabelPlacement), attrValue, true); 2549 alignment = (FunnelLabelVerticalAlignment)Enum.Parse(typeof(FunnelLabelVerticalAlignment), attrValue, true); 2576 drawingStyle = (Funnel3DDrawingStyle)Enum.Parse(typeof(Funnel3DDrawingStyle), attrValue, true); 2725 valueType = (PyramidValueType)Enum.Parse(typeof(PyramidValueType), attrValue, true);
Common\Converters\CustomAttributesConverters.cs (1)
673 result = Enum.Parse(this._customAttributeInfo.ValueType, stringValue, true);
Common\DataManager\DataSeries.cs (1)
2391type = (SeriesChartType)Enum.Parse(typeof(SeriesChartType), this.ChartTypeName, true);
Common\Formulas\FormulaHelpers.cs (2)
1523seriesField = (DataField)Enum.Parse(typeof(DataField), seriesFieldId, true); 1616seriesField = (DataField)Enum.Parse(typeof(DataField), seriesFieldId, true);
WebForm\General\ChartHttpHandler.cs (1)
1147ImageOwnerKey = (ImageOwnerKeyType)Enum.Parse(typeof(ImageOwnerKeyType), value, true);
System.Web.Mobile (1)
UI\MobileControls\DeviceSpecificChoice.cs (1)
237o = Enum.Parse(type, value, true);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (1)
204SizeType type = (SizeType)Enum.Parse(sizeTypeType, styleString.Substring(currentIndex, nextIndex - currentIndex), true);
System.Windows.Forms.DataVisualization (12)
Common\ChartTypes\BoxPlotChart.cs (1)
793 MarkerStyle marker = (MarkerStyle)Enum.Parse(typeof(MarkerStyle), markerStyle, true);
Common\ChartTypes\ErrorBarChart.cs (1)
854 MarkerStyle marker = (MarkerStyle)Enum.Parse(typeof(MarkerStyle), markerStyle, true);
Common\ChartTypes\FunnelChart.cs (6)
2119 labelStyle = (FunnelLabelStyle)Enum.Parse(typeof(FunnelLabelStyle), attrValue, true); 2496 drawingStyle = (FunnelStyle)Enum.Parse(typeof(FunnelStyle), attrValue, true); 2523 placement = (FunnelLabelPlacement)Enum.Parse(typeof(FunnelLabelPlacement), attrValue, true); 2549 alignment = (FunnelLabelVerticalAlignment)Enum.Parse(typeof(FunnelLabelVerticalAlignment), attrValue, true); 2576 drawingStyle = (Funnel3DDrawingStyle)Enum.Parse(typeof(Funnel3DDrawingStyle), attrValue, true); 2725 valueType = (PyramidValueType)Enum.Parse(typeof(PyramidValueType), attrValue, true);
Common\Converters\CustomAttributesConverters.cs (1)
673 result = Enum.Parse(this._customAttributeInfo.ValueType, stringValue, true);
Common\DataManager\DataSeries.cs (1)
2391type = (SeriesChartType)Enum.Parse(typeof(SeriesChartType), this.ChartTypeName, true);
Common\Formulas\FormulaHelpers.cs (2)
1523seriesField = (DataField)Enum.Parse(typeof(DataField), seriesFieldId, true); 1616seriesField = (DataField)Enum.Parse(typeof(DataField), seriesFieldId, true);
System.Workflow.ComponentModel (2)
AuthoringOM\Design\Themes.cs (1)
348themeType = (ThemeType)Enum.Parse(typeof(ThemeType), (string)registryValue, true);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
1248propVal = Enum.Parse(propertyType, value, true);
System.Xml (2)
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
200ilg.Ldc(Enum.Parse(mapping.TypeDesc.Type, enumDefaultValue, false)); 2277ilg.Ldc(Enum.Parse(type, memberName, false));
WindowsBase (2)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
387relationshipTargetMode = (TargetMode)(Enum.Parse(typeof(TargetMode), targetModeAttributeValue, false /* ignore case */));
Base\System\Windows\Input\KeyConverter.cs (1)
221default: keyFound = (Key)Enum.Parse(typeof(Key), keyToken, true); break;