// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Diagnostics; using Microsoft.VisualBasic; /* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */ /* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia */ /* TODO ERROR: Skipped DefineDirectiveTrivia *//* TODO ERROR: Skipped DefineDirectiveTrivia *//* TODO ERROR: Skipped DefineDirectiveTrivia *//* TODO ERROR: Skipped DefineDirectiveTrivia */ /* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */ /* TODO ERROR: Skipped IfDirectiveTrivia */ namespace Pilz.Updating.Client.GUI.My { /* TODO ERROR: Skipped IfDirectiveTrivia */ [System.CodeDom.Compiler.GeneratedCode("MyTemplate", "11.0.0.0")] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] /* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia */ internal partial class MyApplication : Microsoft.VisualBasic.ApplicationServices.ApplicationBase { /* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */ } /* TODO ERROR: Skipped EndIfDirectiveTrivia */ /* TODO ERROR: Skipped IfDirectiveTrivia */ [System.CodeDom.Compiler.GeneratedCode("MyTemplate", "11.0.0.0")] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] /* TODO ERROR: Skipped IfDirectiveTrivia */ internal partial class MyComputer : Microsoft.VisualBasic.Devices.Computer { /* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */ [DebuggerHidden()] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] public MyComputer() : base() { } } /* TODO ERROR: Skipped EndIfDirectiveTrivia */ [HideModuleName()] [System.CodeDom.Compiler.GeneratedCode("MyTemplate", "11.0.0.0")] internal static class MyProject { /* TODO ERROR: Skipped IfDirectiveTrivia */ [System.ComponentModel.Design.HelpKeyword("My.Computer")] internal static MyComputer Computer { [DebuggerHidden()] get { return m_ComputerObjectProvider.GetInstance; } } private readonly static ThreadSafeObjectProvider m_ComputerObjectProvider = new ThreadSafeObjectProvider(); /* TODO ERROR: Skipped EndIfDirectiveTrivia */ /* TODO ERROR: Skipped IfDirectiveTrivia */ [System.ComponentModel.Design.HelpKeyword("My.Application")] internal static MyApplication Application { [DebuggerHidden()] get { return m_AppObjectProvider.GetInstance; } } private readonly static ThreadSafeObjectProvider m_AppObjectProvider = new ThreadSafeObjectProvider(); /* TODO ERROR: Skipped EndIfDirectiveTrivia */ /* TODO ERROR: Skipped IfDirectiveTrivia */ [System.ComponentModel.Design.HelpKeyword("My.User")] internal static Microsoft.VisualBasic.ApplicationServices.User User { [DebuggerHidden()] get { return m_UserObjectProvider.GetInstance; } } private readonly static ThreadSafeObjectProvider m_UserObjectProvider = new ThreadSafeObjectProvider(); /* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */ /* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */ /* TODO ERROR: Skipped IfDirectiveTrivia */ [System.ComponentModel.Design.HelpKeyword("My.WebServices")] internal static MyWebServices WebServices { [DebuggerHidden()] get { return m_MyWebServicesObjectProvider.GetInstance; } } [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] [MyGroupCollection("System.Web.Services.Protocols.SoapHttpClientProtocol", "Create__Instance__", "Dispose__Instance__", "")] internal sealed class MyWebServices { [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] [DebuggerHidden()] public override bool Equals(object o) { return base.Equals(o); } [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] [DebuggerHidden()] public override int GetHashCode() { return base.GetHashCode(); } [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] [DebuggerHidden()] internal new Type GetType() { return typeof(MyWebServices); } [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] [DebuggerHidden()] public override string ToString() { return base.ToString(); } [DebuggerHidden()] private static T Create__Instance__(T instance) where T : new() { if (instance == null) { return new T(); } else { return instance; } } [DebuggerHidden()] private void Dispose__Instance__(ref T instance) { instance = default; } [DebuggerHidden()] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] public MyWebServices() : base() { } } private readonly static ThreadSafeObjectProvider m_MyWebServicesObjectProvider = new ThreadSafeObjectProvider(); /* TODO ERROR: Skipped EndIfDirectiveTrivia */ /* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */ [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] [System.Runtime.InteropServices.ComVisible(false)] internal sealed class ThreadSafeObjectProvider where T : new() { internal T GetInstance { /* TODO ERROR: Skipped IfDirectiveTrivia */ [DebuggerHidden()] get { var Value = m_Context.Value; if (Value == null) { Value = new T(); m_Context.Value = Value; } return Value; } /* TODO ERROR: Skipped ElseDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */ } [DebuggerHidden()] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] public ThreadSafeObjectProvider() : base() { } /* TODO ERROR: Skipped IfDirectiveTrivia */ private readonly Microsoft.VisualBasic.MyServices.Internal.ContextValue m_Context = new Microsoft.VisualBasic.MyServices.Internal.ContextValue(); /* TODO ERROR: Skipped ElseDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */ } } } /* TODO ERROR: Skipped EndIfDirectiveTrivia */