public static void Set_Windows_UI_Xaml_Controls_ItemsControl_ItemsSource(global::Windows.UI.Xaml.Controls.ItemsControl obj, global::System.Object value, string targetNullValue) { if (value == null && targetNullValue != null) { value = (global::System.Object)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::System.Object), targetNullValue); } obj.ItemsSource = value; }
public override bool equals(global::System.Object prm1) { return(default(bool)); }
// IDataTemplateComponent public void ProcessBindings(global::System.Object item, int itemIndex, int phase, out int nextPhase) { throw new global::System.NotImplementedException(); }
public static void Serializer(global::System.Object untypedInput, global::Orleans.Serialization.BinaryTokenStreamWriter stream, global::System.Type expected) { global::Contracts.Message input = (global::Contracts.Message)untypedInput; }
public static void CreateRadzenDatePicker_1 <TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, System.Object __arg1, int __seq2, global::System.String __arg2, int __seq3, global::System.Object __arg3, int __seq4, global::Microsoft.AspNetCore.Components.EventCallback <TValue> __arg4, int __seq5, global::System.Linq.Expressions.Expression <global::System.Func <TValue> > __arg5) { __builder.OpenComponent <global::Radzen.Blazor.RadzenDatePicker <TValue> >(seq); __builder.AddAttribute(__seq0, "DateFormat", __arg0); __builder.AddAttribute(__seq1, "style", __arg1); __builder.AddAttribute(__seq2, "Name", __arg2); __builder.AddAttribute(__seq3, "Value", __arg3); __builder.AddAttribute(__seq4, "ValueChanged", __arg4); __builder.AddAttribute(__seq5, "ValueExpression", __arg5); __builder.CloseComponent(); }
private void messageBoxForm_Load(global::System.Object sender, EventArgs e) { this.AddOwnedForm(msbox); }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute(), global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] private static void AutoSaveSettings(global::System.Object sender, global::System.EventArgs e) { if ((new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).SaveMySettingsOnExit) { My.Settings.Default.Save(); } }
global::System.Object Read1_Object(bool isNullable, bool checkType, string defaultNamespace = null) { System.Xml.XmlQualifiedName xsiType = checkType ? GetXsiType() : null; bool isNull = false; if (isNullable) isNull = ReadNull(); if (checkType) { if (isNull) { if (xsiType != null) return (global::System.Object)ReadTypedNull(xsiType); else return null; } if (xsiType == null) { return ReadTypedPrimitive(new System.Xml.XmlQualifiedName("anyType", "http://www.w3.org/2001/XMLSchema")); } else return ReadTypedPrimitive((System.Xml.XmlQualifiedName)xsiType); } if (isNull) return null; global::System.Object o; o = new global::System.Object(); bool[] paramsRead = new bool[0]; while (Reader.MoveToNextAttribute()) { if (!IsXmlnsAttribute(Reader.Name)) { UnknownNode((object)o); } } Reader.MoveToElement(); if (Reader.IsEmptyElement) { Reader.Skip(); return o; } Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations0 = 0; int readerCount0 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { UnknownNode((object)o, @""); } else { UnknownNode((object)o, @""); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations0, ref readerCount0); } ReadEndElement(); return o; }
public virtual void timedWait(global::System.Object prm1, long prm2) { }
public virtual void put(global::java.lang.String prm1, global::System.Object prm2) { }
protected virtual global::System.Object replaceObject(global::System.Object prm1) { return(default(global::System.Object)); }
public virtual void writeUnshared(global::System.Object prm1) { }
protected virtual void writeObjectOverride(global::System.Object prm1) { }
public void writeObject(global::System.Object prm1) { }
/// <summary> /// Called when the control is initialized. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> /// <remarks> /// In the non-WPF implementation, this event is actually hooked to the <c>LayoutUpdated</c> event. /// </remarks> private void OnInitialized(object sender, UIEventArgs e) { if (CatelEnvironment.IsInDesignMode) { Loaded -= OnInitialized; } else { #if NET Initialized -= OnInitialized; #else Loaded -= OnInitialized; #endif } FinalInitialize(); }
// IComponentConnector public void Connect(int connectionId, global::System.Object target) { switch (connectionId) { case 8: this.obj8 = (global::Windows.UI.Xaml.Controls.Grid)target; break; case 17: this.obj17 = (global::Windows.UI.Xaml.Controls.AppBarButton)target; break; case 18: this.obj18 = (global::Windows.UI.Xaml.Controls.AppBarButton)target; break; case 19: this.obj19 = (global::Windows.UI.Xaml.Controls.AppBarButton)target; break; case 20: this.obj20 = (global::Windows.UI.Xaml.Controls.AppBarToggleButton)target; (this.obj20).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Primitives.ToggleButton.IsCheckedProperty, (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) => { if (this.initialized) { // Update Two Way binding this.dataRoot.MainVM.IsInSortMode = (this.obj20).IsChecked; } }); break; case 21: this.obj21 = (global::Windows.UI.Xaml.Controls.Pivot)target; (this.obj21).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Pivot.SelectedIndexProperty, (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) => { if (this.initialized) { // Update Two Way binding this.dataRoot.MainVM.SelectedIndex = (this.obj21).SelectedIndex; } }); break; case 22: this.obj22 = (global::Windows.UI.Xaml.Controls.ListView)target; break; case 23: this.obj23 = (global::Windows.UI.Xaml.Controls.StackPanel)target; break; case 24: this.obj24 = (global::Windows.UI.Xaml.Controls.ListView)target; break; case 25: this.obj25 = (global::Windows.UI.Xaml.Controls.StackPanel)target; break; case 26: this.obj26 = (global::Windows.UI.Xaml.Controls.Button)target; break; case 27: this.obj27 = (global::Windows.UI.Xaml.Controls.Button)target; break; case 28: this.obj28 = (global::Windows.UI.Xaml.Controls.Image)target; break; case 29: this.obj29 = (global::Windows.UI.Xaml.Controls.Image)target; break; case 31: this.obj31 = (global::JP.Utils.UI.AnimatedTextBlock)target; break; case 32: this.obj32 = (global::Windows.UI.Xaml.Controls.ProgressRing)target; break; default: break; } }
public static void Set_Microsoft_Toolkit_Uwp_UI_Controls_MasterDetailsView_SelectedItem(global::Microsoft.Toolkit.Uwp.UI.Controls.MasterDetailsView obj, global::System.Object value, string targetNullValue) { if (value == null && targetNullValue != null) { value = (global::System.Object)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::System.Object), targetNullValue); } obj.SelectedItem = value; }
public void Serializer(global::System.Object untypedInput, global::Orleans.Serialization.ISerializationContext context, global::System.Type expected) { global::Entity.GoodsEntity input = (global::Entity.GoodsEntity)untypedInput; context.SerializeInner(input.GoodsName, typeof(global::System.String)); context.SerializeInner(input.ID, typeof(global::System.Int32)); }
private void messageBoxForm_show(global::System.Object sender, EventArgs e) { this.DialogResult = msbox.ShowDialog(); }
public static void Set_Windows_UI_Xaml_Data_CollectionViewSource_Source(global::Windows.UI.Xaml.Data.CollectionViewSource obj, global::System.Object value, string targetNullValue) { if (value == null && targetNullValue != null) { value = (global::System.Object)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::System.Object), targetNullValue); } obj.Source = value; }
public static global::System.Object DeepCopier(global::System.Object original) { return(original); }
public virtual void println(global::System.Object prm1) { }
static SWIGPendingException() { exceptionsLock = new global::System.Object(); }
public static void Set_Microsoft_UI_Xaml_Controls_NavigationView_SelectedItem(global::Microsoft.UI.Xaml.Controls.NavigationView obj, global::System.Object value, string targetNullValue) { if (value == null && targetNullValue != null) { value = (global::System.Object)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::System.Object), targetNullValue); } obj.SelectedItem = value; }
public static void CreateRadzenDropDown_3 <TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Collections.IEnumerable __arg0, int __seq1, global::System.String __arg1, int __seq2, global::System.String __arg2, int __seq3, global::System.String __arg3, int __seq4, System.Object __arg4, int __seq5, global::System.String __arg5, int __seq6, global::System.Object __arg6, int __seq7, global::Microsoft.AspNetCore.Components.EventCallback <TValue> __arg7, int __seq8, global::System.Linq.Expressions.Expression <global::System.Func <TValue> > __arg8) { __builder.OpenComponent <global::Radzen.Blazor.RadzenDropDown <TValue> >(seq); __builder.AddAttribute(__seq0, "Data", __arg0); __builder.AddAttribute(__seq1, "TextProperty", __arg1); __builder.AddAttribute(__seq2, "ValueProperty", __arg2); __builder.AddAttribute(__seq3, "Placeholder", __arg3); __builder.AddAttribute(__seq4, "style", __arg4); __builder.AddAttribute(__seq5, "Name", __arg5); __builder.AddAttribute(__seq6, "Value", __arg6); __builder.AddAttribute(__seq7, "ValueChanged", __arg7); __builder.AddAttribute(__seq8, "ValueExpression", __arg8); __builder.CloseComponent(); }
public static void Set_VerkstedFinder_App_Behaviors_NavigationViewHeaderBehavior_DefaultHeader(global::VerkstedFinder.App.Behaviors.NavigationViewHeaderBehavior obj, global::System.Object value, string targetNullValue) { if (value == null && targetNullValue != null) { value = (global::System.Object)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::System.Object), targetNullValue); } obj.DefaultHeader = value; }
public static void Set_Windows_UI_Xaml_FrameworkElement_DataContext(global::Windows.UI.Xaml.FrameworkElement obj, global::System.Object value, string targetNullValue) { if (value == null && targetNullValue != null) { value = (global::System.Object)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::System.Object), targetNullValue); } obj.DataContext = value; }
global::System.Object Read1_Object(bool isNullable, bool checkType, string defaultNamespace = null) { System.Xml.XmlQualifiedName xsiType = checkType ? GetXsiType() : null; bool isNull = false; if (isNullable) isNull = ReadNull(); if (checkType) { if (isNull) { if (xsiType != null) return (global::System.Object)ReadTypedNull(xsiType); else return null; } if (xsiType == null) { return ReadTypedPrimitive(new System.Xml.XmlQualifiedName("anyType", "http://www.w3.org/2001/XMLSchema")); } else if (((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id3_PersistModel && string.Equals( ((System.Xml.XmlQualifiedName)xsiType).Namespace, defaultNamespace ?? id2_Item))) return Read2_PersistModel(isNullable, false, defaultNamespace); else if (((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id1_ArrayOfPersistModel && string.Equals( ((System.Xml.XmlQualifiedName)xsiType).Namespace, defaultNamespace ?? id2_Item))) { global::System.Collections.Generic.List<global::NavigationMenuSample.Models.PersistModel> a = null; if (!ReadNull()) { if ((object)(a) == null) a = new global::System.Collections.Generic.List<global::NavigationMenuSample.Models.PersistModel>(); global::System.Collections.Generic.List<global::NavigationMenuSample.Models.PersistModel> z_0_0 = (global::System.Collections.Generic.List<global::NavigationMenuSample.Models.PersistModel>)a; if ((Reader.IsEmptyElement)) { Reader.Skip(); } else { Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations1 = 0; int readerCount1 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (((object) Reader.LocalName == (object)id3_PersistModel && string.Equals(Reader.NamespaceURI, defaultNamespace ?? id2_Item))) { if ((object)(z_0_0) == null) Reader.Skip(); else z_0_0.Add(Read2_PersistModel(true, true, defaultNamespace)); } else { UnknownNode(null, @":PersistModel"); } } else { UnknownNode(null, @":PersistModel"); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations1, ref readerCount1); } ReadEndElement(); } } return a; } else return ReadTypedPrimitive((System.Xml.XmlQualifiedName)xsiType); } if (isNull) return null; global::System.Object o; o = new global::System.Object(); bool[] paramsRead = new bool[0]; while (Reader.MoveToNextAttribute()) { if (!IsXmlnsAttribute(Reader.Name)) { UnknownNode((object)o); } } Reader.MoveToElement(); if (Reader.IsEmptyElement) { Reader.Skip(); return o; } Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations2 = 0; int readerCount2 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { UnknownNode((object)o, @""); } else { UnknownNode((object)o, @""); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations2, ref readerCount2); } ReadEndElement(); return o; }
// IDataTemplateComponent public void ProcessBindings(global::System.Object item, int itemIndex, int phase, out int nextPhase) { nextPhase = -1; }
public static void Set_Windows_UI_Xaml_Controls_Primitives_Selector_SelectedItem(global::Windows.UI.Xaml.Controls.Primitives.Selector obj, global::System.Object value, string targetNullValue) { if (value == null && targetNullValue != null) { value = (global::System.Object)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::System.Object), targetNullValue); } obj.SelectedItem = value; }
global::System.Object Read1_Object(bool isNullable, bool checkType) { System.Xml.XmlQualifiedName xsiType = checkType ? GetXsiType() : null; bool isNull = false; if (isNullable) isNull = ReadNull(); if (checkType) { if (isNull) { if (xsiType != null) return (global::System.Object)ReadTypedNull(xsiType); else return null; } if (xsiType == null) { return ReadTypedPrimitive(new System.Xml.XmlQualifiedName("anyType", "http://www.w3.org/2001/XMLSchema")); } else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id40_EnumMetadataEnumValue && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read49_EnumMetadataEnumValue(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id39_EnumMetadataEnum && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read48_EnumMetadataEnum(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id38_ClassMetadataData && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read47_ClassMetadataData(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id32_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read46_Item(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id16_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read44_Item(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id15_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read43_Item(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id14_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read42_Item(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id10_AssociationAssociatedInstance && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read41_AssociationAssociatedInstance(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id5_ClassMetadataInstanceCmdlets && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read40_ClassMetadataInstanceCmdlets(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id3_ClassMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read36_ClassMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id24_StaticCmdletMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read34_StaticCmdletMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id34_InstanceCmdletMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read31_InstanceCmdletMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id28_CommonMethodParameterMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read26_CommonMethodParameterMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id29_StaticMethodParameterMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read27_StaticMethodParameterMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id31_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read25_Item(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id26_CommonMethodMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read29_CommonMethodMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id33_InstanceMethodMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read30_InstanceMethodMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id27_StaticMethodMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read28_StaticMethodMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id30_CmdletOutputMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read23_CmdletOutputMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id21_GetCmdletMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read22_GetCmdletMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id22_CommonCmdletMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read21_CommonCmdletMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id25_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read45_Item(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id6_GetCmdletParameters && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read19_GetCmdletParameters(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id20_QueryOption && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read18_QueryOption(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id9_Association && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read17_Association(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id7_PropertyMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read15_PropertyMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id35_PropertyQuery && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read14_PropertyQuery(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id36_WildcardablePropertyQuery && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read13_WildcardablePropertyQuery(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id11_CmdletParameterMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read10_CmdletParameterMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id12_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read11_Item(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id13_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read12_Item(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id18_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read9_Item(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id19_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read8_Item(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id17_ObsoleteAttributeMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read7_ObsoleteAttributeMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id8_TypeMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) return Read2_TypeMetadata(isNullable, false); else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id37_ItemsChoiceType && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) { Reader.ReadStartElement(); object e = Read3_ItemsChoiceType(CollapseWhitespace(Reader.ReadElementContentAsString())); ReadEndElement(); return e; } else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id69_ArrayOfString && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) { global::System.String[] a = null; if (!ReadNull()) { global::System.String[] z_0_0 = null; int cz_0_0 = 0; if ((Reader.IsEmptyElement)) { Reader.Skip(); } else { Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations11 = 0; int readerCount11 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (((object)Reader.LocalName == (object)_id64_AllowedValue && (object)Reader.NamespaceURI == (object)_id2_Item)) { { z_0_0 = (global::System.String[])EnsureArrayIndex(z_0_0, cz_0_0, typeof(global::System.String)); z_0_0[cz_0_0++] = Reader.ReadElementContentAsString(); } } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:AllowedValue"); } } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:AllowedValue"); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations11, ref readerCount11); } ReadEndElement(); } a = (global::System.String[])ShrinkArray(z_0_0, cz_0_0, typeof(global::System.String), false); } return a; } else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id70_ArrayOfPropertyMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) { global::Microsoft.PowerShell.Cmdletization.Xml.PropertyMetadata[] a = null; if (!ReadNull()) { global::Microsoft.PowerShell.Cmdletization.Xml.PropertyMetadata[] z_0_0 = null; int cz_0_0 = 0; if ((Reader.IsEmptyElement)) { Reader.Skip(); } else { Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations12 = 0; int readerCount12 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (((object)Reader.LocalName == (object)_id71_Property && (object)Reader.NamespaceURI == (object)_id2_Item)) { z_0_0 = (global::Microsoft.PowerShell.Cmdletization.Xml.PropertyMetadata[])EnsureArrayIndex(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.PropertyMetadata)); z_0_0[cz_0_0++] = Read15_PropertyMetadata(false, true); } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Property"); } } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Property"); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations12, ref readerCount12); } ReadEndElement(); } a = (global::Microsoft.PowerShell.Cmdletization.Xml.PropertyMetadata[])ShrinkArray(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.PropertyMetadata), false); } return a; } else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id72_ArrayOfAssociation && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) { global::Microsoft.PowerShell.Cmdletization.Xml.Association[] a = null; if (!ReadNull()) { global::Microsoft.PowerShell.Cmdletization.Xml.Association[] z_0_0 = null; int cz_0_0 = 0; if ((Reader.IsEmptyElement)) { Reader.Skip(); } else { Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations13 = 0; int readerCount13 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (((object)Reader.LocalName == (object)_id9_Association && (object)Reader.NamespaceURI == (object)_id2_Item)) { z_0_0 = (global::Microsoft.PowerShell.Cmdletization.Xml.Association[])EnsureArrayIndex(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.Association)); z_0_0[cz_0_0++] = Read17_Association(false, true); } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Association"); } } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Association"); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations13, ref readerCount13); } ReadEndElement(); } a = (global::Microsoft.PowerShell.Cmdletization.Xml.Association[])ShrinkArray(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.Association), false); } return a; } else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id73_ArrayOfQueryOption && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) { global::Microsoft.PowerShell.Cmdletization.Xml.QueryOption[] a = null; if (!ReadNull()) { global::Microsoft.PowerShell.Cmdletization.Xml.QueryOption[] z_0_0 = null; int cz_0_0 = 0; if ((Reader.IsEmptyElement)) { Reader.Skip(); } else { Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations14 = 0; int readerCount14 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (((object)Reader.LocalName == (object)_id74_Option && (object)Reader.NamespaceURI == (object)_id2_Item)) { z_0_0 = (global::Microsoft.PowerShell.Cmdletization.Xml.QueryOption[])EnsureArrayIndex(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.QueryOption)); z_0_0[cz_0_0++] = Read18_QueryOption(false, true); } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Option"); } } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Option"); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations14, ref readerCount14); } ReadEndElement(); } a = (global::Microsoft.PowerShell.Cmdletization.Xml.QueryOption[])ShrinkArray(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.QueryOption), false); } return a; } else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id23_ConfirmImpact && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) { Reader.ReadStartElement(); object e = Read20_ConfirmImpact(CollapseWhitespace(Reader.ReadElementContentAsString())); ReadEndElement(); return e; } else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id75_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) { global::Microsoft.PowerShell.Cmdletization.Xml.StaticMethodParameterMetadata[] a = null; if (!ReadNull()) { global::Microsoft.PowerShell.Cmdletization.Xml.StaticMethodParameterMetadata[] z_0_0 = null; int cz_0_0 = 0; if ((Reader.IsEmptyElement)) { Reader.Skip(); } else { Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations15 = 0; int readerCount15 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (((object)Reader.LocalName == (object)_id76_Parameter && (object)Reader.NamespaceURI == (object)_id2_Item)) { z_0_0 = (global::Microsoft.PowerShell.Cmdletization.Xml.StaticMethodParameterMetadata[])EnsureArrayIndex(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.StaticMethodParameterMetadata)); z_0_0[cz_0_0++] = Read27_StaticMethodParameterMetadata(false, true); } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Parameter"); } } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Parameter"); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations15, ref readerCount15); } ReadEndElement(); } a = (global::Microsoft.PowerShell.Cmdletization.Xml.StaticMethodParameterMetadata[])ShrinkArray(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.StaticMethodParameterMetadata), false); } return a; } else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id77_Item && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) { global::Microsoft.PowerShell.Cmdletization.Xml.InstanceMethodParameterMetadata[] a = null; if (!ReadNull()) { global::Microsoft.PowerShell.Cmdletization.Xml.InstanceMethodParameterMetadata[] z_0_0 = null; int cz_0_0 = 0; if ((Reader.IsEmptyElement)) { Reader.Skip(); } else { Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations16 = 0; int readerCount16 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (((object)Reader.LocalName == (object)_id76_Parameter && (object)Reader.NamespaceURI == (object)_id2_Item)) { z_0_0 = (global::Microsoft.PowerShell.Cmdletization.Xml.InstanceMethodParameterMetadata[])EnsureArrayIndex(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.InstanceMethodParameterMetadata)); z_0_0[cz_0_0++] = Read25_Item(false, true); } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Parameter"); } } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Parameter"); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations16, ref readerCount16); } ReadEndElement(); } a = (global::Microsoft.PowerShell.Cmdletization.Xml.InstanceMethodParameterMetadata[])ShrinkArray(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.InstanceMethodParameterMetadata), false); } return a; } else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id78_ArrayOfStaticCmdletMetadata && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) { global::Microsoft.PowerShell.Cmdletization.Xml.StaticCmdletMetadata[] a = null; if (!ReadNull()) { global::Microsoft.PowerShell.Cmdletization.Xml.StaticCmdletMetadata[] z_0_0 = null; int cz_0_0 = 0; if ((Reader.IsEmptyElement)) { Reader.Skip(); } else { Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations17 = 0; int readerCount17 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (((object)Reader.LocalName == (object)_id79_Cmdlet && (object)Reader.NamespaceURI == (object)_id2_Item)) { z_0_0 = (global::Microsoft.PowerShell.Cmdletization.Xml.StaticCmdletMetadata[])EnsureArrayIndex(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.StaticCmdletMetadata)); z_0_0[cz_0_0++] = Read34_StaticCmdletMetadata(false, true); } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Cmdlet"); } } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Cmdlet"); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations17, ref readerCount17); } ReadEndElement(); } a = (global::Microsoft.PowerShell.Cmdletization.Xml.StaticCmdletMetadata[])ShrinkArray(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.StaticCmdletMetadata), false); } return a; } else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id80_ArrayOfClassMetadataData && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) { global::Microsoft.PowerShell.Cmdletization.Xml.ClassMetadataData[] a = null; if (!ReadNull()) { global::Microsoft.PowerShell.Cmdletization.Xml.ClassMetadataData[] z_0_0 = null; int cz_0_0 = 0; if ((Reader.IsEmptyElement)) { Reader.Skip(); } else { Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations18 = 0; int readerCount18 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (((object)Reader.LocalName == (object)_id81_Data && (object)Reader.NamespaceURI == (object)_id2_Item)) { z_0_0 = (global::Microsoft.PowerShell.Cmdletization.Xml.ClassMetadataData[])EnsureArrayIndex(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.ClassMetadataData)); z_0_0[cz_0_0++] = Read35_ClassMetadataData(false, true); } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Data"); } } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Data"); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations18, ref readerCount18); } ReadEndElement(); } a = (global::Microsoft.PowerShell.Cmdletization.Xml.ClassMetadataData[])ShrinkArray(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.ClassMetadataData), false); } return a; } else if (((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)_id82_ArrayOfEnumMetadataEnum && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)_id2_Item)) { global::Microsoft.PowerShell.Cmdletization.Xml.EnumMetadataEnum[] a = null; if (!ReadNull()) { global::Microsoft.PowerShell.Cmdletization.Xml.EnumMetadataEnum[] z_0_0 = null; int cz_0_0 = 0; if ((Reader.IsEmptyElement)) { Reader.Skip(); } else { Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations19 = 0; int readerCount19 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (((object)Reader.LocalName == (object)_id83_Enum && (object)Reader.NamespaceURI == (object)_id2_Item)) { z_0_0 = (global::Microsoft.PowerShell.Cmdletization.Xml.EnumMetadataEnum[])EnsureArrayIndex(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.EnumMetadataEnum)); z_0_0[cz_0_0++] = Read38_EnumMetadataEnum(false, true); } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Enum"); } } else { UnknownNode(null, @"http://schemas.microsoft.com/cmdlets-over-objects/2009/11:Enum"); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations19, ref readerCount19); } ReadEndElement(); } a = (global::Microsoft.PowerShell.Cmdletization.Xml.EnumMetadataEnum[])ShrinkArray(z_0_0, cz_0_0, typeof(global::Microsoft.PowerShell.Cmdletization.Xml.EnumMetadataEnum), false); } return a; } else return ReadTypedPrimitive((System.Xml.XmlQualifiedName)xsiType); } if (isNull) return null; global::System.Object o; o = new global::System.Object(); bool[] paramsRead = new bool[0]; while (Reader.MoveToNextAttribute()) { if (!IsXmlnsAttribute(Reader.Name)) { UnknownNode((object)o); } } Reader.MoveToElement(); if (Reader.IsEmptyElement) { Reader.Skip(); return o; } Reader.ReadStartElement(); Reader.MoveToContent(); int whileIterations20 = 0; int readerCount20 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { UnknownNode((object)o, @""); } else { UnknownNode((object)o, @""); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations20, ref readerCount20); } ReadEndElement(); return o; }
public virtual V remove(global::System.Object prm1) { return(default(V)); }
internal Ldc(global::Truesight.Parser.Impl.MethodBody source, global::System.IO.BinaryReader reader, global::System.Collections.ObjectModel.ReadOnlyCollection<global::Truesight.Parser.Impl.ILOp> prefixes) : base(source, AssertSupportedOpCode(reader), (int)reader.BaseStream.Position - global::System.Linq.Enumerable.Sum(global::System.Linq.Enumerable.Select(prefixes ?? global::XenoGears.Functional.EnumerableExtensions.ToReadOnly(global::System.Linq.Enumerable.Empty<global::Truesight.Parser.Impl.ILOp>()), prefix => prefix.Size)), prefixes ?? global::XenoGears.Functional.EnumerableExtensions.ToReadOnly(global::System.Linq.Enumerable.Empty<global::Truesight.Parser.Impl.ILOp>())) { // this is necessary for further verification var origPos = reader.BaseStream.Position; // initializing _constValue switch((ushort)OpSpec.OpCode.Value) { case 0x14: //ldnull _constValue = null; break; case 0x15: //ldc.i4.m1 _constValue = -1; break; case 0x16: //ldc.i4.0 _constValue = 0; break; case 0x17: //ldc.i4.1 _constValue = 1; break; case 0x18: //ldc.i4.2 _constValue = 2; break; case 0x19: //ldc.i4.3 _constValue = 3; break; case 0x1a: //ldc.i4.4 _constValue = 4; break; case 0x1b: //ldc.i4.5 _constValue = 5; break; case 0x1c: //ldc.i4.6 _constValue = 6; break; case 0x1d: //ldc.i4.7 _constValue = 7; break; case 0x1e: //ldc.i4.8 _constValue = 8; break; case 0x1f: //ldc.i4.s case 0x20: //ldc.i4 case 0x21: //ldc.i8 case 0x22: //ldc.r4 case 0x23: //ldc.r8 _constValue = default(global::System.Object); break; case 0x72: //ldstr _constValue = ((global::System.Func<global::System.String>)(() => { var token = ReadMetadataToken(reader); return StringFromToken(token) ?? ("string at 0x" + token.ToString("x8")); }))(); break; case 0xd0: //ldtoken _constValue = ((global::System.Func<global::System.Object>)(() => { var i_token = ReadMetadataToken(reader); var token = new global::Truesight.Parser.Api.Ops.RuntimeHandle(Source.Module, Source.Type, Source.Method, i_token); try { var resolved = token.ResolveHandle(); if (resolved != null) return resolved; else { return token; } } catch { return token; } }))(); break; default: throw global::XenoGears.Assertions.AssertionHelper.Fail(); } // initializing _useConstValue switch((ushort)OpSpec.OpCode.Value) { case 0x14: //ldnull case 0x15: //ldc.i4.m1 case 0x16: //ldc.i4.0 case 0x17: //ldc.i4.1 case 0x18: //ldc.i4.2 case 0x19: //ldc.i4.3 case 0x1a: //ldc.i4.4 case 0x1b: //ldc.i4.5 case 0x1c: //ldc.i4.6 case 0x1d: //ldc.i4.7 case 0x1e: //ldc.i4.8 case 0x72: //ldstr case 0xd0: //ldtoken _useConstValue = true; break; case 0x1f: //ldc.i4.s case 0x20: //ldc.i4 case 0x21: //ldc.i8 case 0x22: //ldc.r4 case 0x23: //ldc.r8 _useConstValue = default(bool); break; default: throw global::XenoGears.Assertions.AssertionHelper.Fail(); } // initializing _value switch((ushort)OpSpec.OpCode.Value) { case 0x14: //ldnull case 0x15: //ldc.i4.m1 case 0x16: //ldc.i4.0 case 0x17: //ldc.i4.1 case 0x18: //ldc.i4.2 case 0x19: //ldc.i4.3 case 0x1a: //ldc.i4.4 case 0x1b: //ldc.i4.5 case 0x1c: //ldc.i4.6 case 0x1d: //ldc.i4.7 case 0x1e: //ldc.i4.8 case 0x20: //ldc.i4 _value = _useConstValue ? _constValue : ReadI4(reader); break; case 0x1f: //ldc.i4.s _value = _useConstValue ? _constValue : (int)ReadI1(reader); break; case 0x21: //ldc.i8 _value = _useConstValue ? _constValue : ReadI8(reader); break; case 0x22: //ldc.r4 _value = _useConstValue ? _constValue : ReadR4(reader); break; case 0x23: //ldc.r8 _value = _useConstValue ? _constValue : ReadR8(reader); break; case 0x72: //ldstr _value = _useConstValue ? _constValue : ReadStr(reader); break; case 0xd0: //ldtoken _value = _useConstValue ? _constValue : ReadToken(reader); break; default: throw global::XenoGears.Assertions.AssertionHelper.Fail(); } // verify that we've read exactly the amount of bytes we should var bytesRead = reader.BaseStream.Position - origPos; global::XenoGears.Assertions.AssertionHelper.AssertTrue(bytesRead == SizeOfOperand); // now when the initialization is completed verify that we've got only prefixes we support global::XenoGears.Assertions.AssertionHelper.AssertAll(Prefixes, prefix => { return false; }); }
public virtual SelectionKey register(Selector prm1, int prm2, global::System.Object prm3) { return(default(SelectionKey)); }