context
stringlengths
2.52k
185k
gt
stringclasses
1 value
using System.Text.RegularExpressions; using System.Diagnostics; using System; using System.Drawing.Drawing2D; using System.Windows.Forms; using System.Collections; using System.Drawing; using Microsoft.VisualBasic; using System.Data.SqlClient; using System.Data; using System.Collections.Generic; using WeifenLuo.WinForm...
#region Copyright (c) Roni Schuetz - All Rights Reserved // * --------------------------------------------------------------------- * // * Roni Schuetz * // * Copyright (c) 2008 All Rights reserved * // * ...
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
namespace SqlBulkCopyExample { using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Linq.Expressions; using System.Reflection; /// <summary> /// Object Data Reader from developerFusion /// http://www.developerfusion.com/article/122498/us...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
namespace AutoMapper { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Impl; using Internal; [DebuggerDisplay("{DestinationProperty.Name}")] public class PropertyMap { ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Contracts; using System.Reflection; namesp...
// Amplify Shader Editor - Visual Shader Editing Tool // Copyright (c) Amplify Creations, Lda <info@amplify.pt> using UnityEngine; using UnityEditor; using System; namespace AmplifyShaderEditor { [Serializable] [NodeAttributes( "Color", "Constants", "Color property", null, KeyCode.Alpha5 )] public sealed class Col...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace TaskManagement.Web.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Web.Http; using System.Web...
// Copyright (c) 2021 Alachisoft // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //////////////////////////////////////////////////////////////////////////// // // // Purpose: This class defines ...
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
/* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for Additional information regarding copyright ownership. The ASF licenses this file to Y...
// **************************************************************** // This is free software licensed under the NUnit license. You // may obtain a copy of the license as well as information regarding // copyright ownership at http://nunit.org/?p=license&r=2.4. // ********************************************************...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Interop; using System.Windows.Markup; using GodLesZ.Library.Win7.Controls; using GodLesZ.Library...
using Lucene.Net.Support; using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using CompoundFileDirectory = Lucene.Net.Store.CompoundFileDirectory; using Directory = Lucene.Net.Store.Directory; namespace Lucene.Net.Codecs.Lucene3x { /* * Licensed to the Apache...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
// // Copyright (c) 2004-2018 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of s...
#region Header // --------------------------------------------------------------------------- // Sepura - Commercially Confidential. // // ArrayTypeDefinition.cs // Implementation of the Class ArrayTypeDefinition // // Copyright (c) 2010 Sepura Plc // All Rights reserved. // // Original author: robinsond // // $Id:$...
#region [R# naming] // ReSharper disable ArrangeTypeModifiers // ReSharper disable UnusedMember.Local // ReSharper disable FieldCanBeMadeReadOnly.Local // ReSharper disable ArrangeTypeMemberModifiers // ReSharper disable InconsistentNaming #endregion using System; using NUnit.Framework; using FluentAssertions; namespa...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
using System; using System.Net.Http; using System.Threading.Tasks; using System.Threading; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using System.Text.RegularExpressions; using ModernHttpClient....
using System; using System.Data; using System.Data.OleDb; using PCSComUtils.Common; using PCSComUtils.DataAccess; using PCSComUtils.PCSExc; namespace PCSComSale.Order.DS { public class SO_ReturnedGoodsDetailDS { public SO_ReturnedGoodsDetailDS() { } private const string THIS = "PCSComSale.Order.DS.SO_R...
using System; using UnityEngine; namespace Codes.Linus.IntVectors { [Serializable] public struct Vector2i { // Fields public int x; public int y; // Indexer public int this [int index] { get { switch (index) { case X_INDEX: return this.x; case Y_INDEX: return this.y...
using Plugin.Calendars.Abstractions; using System; using System.Linq; using System.Threading.Tasks; using System.Collections.Generic; using EventKit; using Foundation; #nullable enable namespace Plugin.Calendars { /// <summary> /// Implementation for Calendars /// </summary> public class CalendarsImp...
using System; using System.Data; using System.Data.SqlClient; using Csla; using Csla.Data; namespace SelfLoad.Business.ERLevel { /// <summary> /// C04_SubContinent (editable child object).<br/> /// This is a generated base class of <see cref="C04_SubContinent"/> business object. /// </summary> ///...
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
// Code generated by Microsoft (R) AutoRest Code Generator 1.2.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace ApplicationGateway { using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; using System.Collections; using System.Collection...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Data.Common; using System.Diagnostics; using System.Globalization; using System.Runtime.InteropServices...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.IO; using System.Text; using System.Threading.Tasks; using Xunit; public class ReadAndWr...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections; using System.Collections.Generic; using System.ComponentModel.Design; using System.Globali...
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using System.Buffers.Binary; using System.IO; using System.Linq; using Geb.Image.Formats.Png.Filters; using Geb.Image.Formats.Png.Zlib; using Geb.Image.Formats.Quantization; namespace Geb.Image.Formats.Png {...
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Sockets; using System.Text; namespace NntpClientLib { /// <summary> /// <para> /// This is a very lightweight NNTP client library. It is written a base class the implements /// the RFC977 and a subclass ...
#if WINDOWS #define USE_CUSTOM_SHADER #endif using System; using System.Collections.Generic; using System.Text; using FlatRedBall.Graphics; using FlatRedBall.Graphics.Animation; using FlatRedBall.Gui; using FlatRedBall.Input; using FlatRedBall.Math; using FlatRedBall.Math.Geometry; using Microsoft.Xna.Framework.Gra...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
#if UNITY_ECS using System.Collections; using Svelto.Common; using Svelto.DataStructures; using Svelto.ECS.Native; using Svelto.ECS.Schedulers; using Unity.Entities; using Unity.Jobs; namespace Svelto.ECS.Extensions.Unity { /// <summary> /// Group of UECS/Svelto SystemBase engines that creates UECS entities. ...
#region File Description //----------------------------------------------------------------------------- // Vat.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #endregion #region ...
using Microsoft.AspNetCore.Http; using Ocelot.LoadBalancer.LoadBalancers; using Ocelot.Middleware; using Ocelot.Responses; using Ocelot.Values; using Shouldly; using System; using System.Collections.Generic; using System.Threading.Tasks; using TestStack.BDDfy; using Xunit; namespace Ocelot.UnitTests.LoadBalancer { ...
namespace Epi.Windows.MakeView.Dialogs.FieldDefinitionDialogs { partial class SingleLineTextFieldDefinition { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any r...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE_APACHE.txt in the project root for license information. using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace Microsoft.AspNetCore.Buffering { internal cla...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using MessagePack; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; [MessagePackObject] public struct QuadData { [Key(0)] public int SpriteId; [Key(1)] public Vector2 origin; [Key(2)] public Vector2 sca...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Reactive; using System.Reactive.Linq...
using System; using GuruComponents.Netrix.HtmlFormatting.Elements; namespace GuruComponents.Netrix.VmlDesigner.Elements { /// <summary> /// This class is used to store information about the kind of element. /// </summary> /// <remarks> /// It is used internally to control the formatting behavior. Externally it i...
using System; using System.IO; using System.Text; using IdSharp.Common.Utils; namespace IdSharp.AudioInfo { /// <summary> /// MPEG /// </summary> public class Mpeg : IAudioFile { static Mpeg() { BitrateTable = new[] { new[] { ...
// // WebHeaderCollection.cs // Copied from System.Net.WebHeaderCollection.cs // // Authors: // Lawrence Pit (loz@cable.a2000.nl) // Gonzalo Paniagua Javier (gonzalo@ximian.com) // Miguel de Icaza (miguel@novell.com) // sta (sta.blockhead@gmail.com) // // Copyright (c) 2003 Ximian, Inc. (http://www.ximian.com) // Copyr...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// // Utilities.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2010 Jb Evain // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, includin...
#region CopyrightHeader // // Copyright by Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0.txt // // Unless requ...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System.Threading.Tasks; using IdentityServer4.Models; using IdentityServer4.Extensions; using IdentityServer4.Hosting; using IdentityMod...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; #if SRM nam...
// // System.Web.Compilation.AspGenerator // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // (C) 2002,2003 Ximian, Inc (http://www.ximian.com) // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Internal.Cryptography.Pal.Native; using System; using System.Diagnostics; using System.IO; using System.Runtim...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using...
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 //...
#region MigraDoc - Creating Documents on the Fly // // Authors: // Stefan Lange (mailto:Stefan.Lange@pdfsharp.com) // Klaus Potzesny (mailto:Klaus.Potzesny@pdfsharp.com) // David Stephensen (mailto:David.Stephensen@pdfsharp.com) // // Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany) // // http://ww...
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 //...
using global::System; using global::System.Linq.Expressions; namespace ExpressiveExpressionTrees { #if EXPRESSIVE_EXPRESSION_TREES_ASSEMBLY public #endif partial class ExpressionGenerator { public Expression<Func<T2>> FromFunc<T1, T2>(Expression<Func<T1>> p1, Expression<Func<T1, T2>> expr) { ...
// // MessageIdList.cs // // Author: Jeffrey Stedfast <jeff@xamarin.com> // // Copyright (c) 2013 Jeffrey Stedfast // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, i...
#region Copyright Notice // Copyright 2011-2013 Eleftherios Aslanoglou // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2...
#region License // Copyright (c) 2010-2019, Mark Final // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, this // ...
// Copyright (C) Kirill Osenkov, www.osenkov.com // Feel free to use and reuse in any projects. // Please do not remove this comment. using System; using System.Collections.Generic; using System.Drawing; // needed for System.Drawing.Color using System.IO; using System.Xml; namespace GuiLabs.Utils { public interface ...
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modif...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Chill; using FluentAssertions.Equivalency; using Xunit; using Xunit.Sdk; namespace FluentAssertions.Specs { /// <summary> /// Test Class containing specs over the extensibility points of ShouldBeEquivalentTo /...
using System; using ChainUtils.BouncyCastle.Crypto.Parameters; namespace ChainUtils.BouncyCastle.Crypto.Modes { /** * implements a Cipher-FeedBack (CFB) mode on top of a simple cipher. */ public class CfbBlockCipher : IBlockCipher { private byte[] IV; private byte[] cfbV; ...
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.Validation { using System; using System.Collections.Generic; ...
// // Authors: // Christian Hergert <chris@mosaix.net> // Ben Motmans <ben.motmans@gmail.com> // // Copyright (C) 2005 Mosaix Communications, Inc. // Copyright (c) 2007 Ben Motmans // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation fi...
using System.Linq; using System.Threading.Tasks; using OmniSharp.Models; using OmniSharp.Roslyn.CSharp.Services.Signatures; using OmniSharp.Tests; using Xunit; namespace OmniSharp.Roslyn.CSharp.Tests { public class SignatureHelpFacts { [Fact] public async Task NoInvocationNoHelp() { ...
using System; using System.Collections.Generic; using UnityEngine; namespace KERBALISM { public static class DB { public static void Load(ConfigNode node) { // get version (or use current one for new savegames) string versionStr = Lib.ConfigValue(node, "version", Lib.Ke...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using Xunit; namespace System.Data.SqlClient.ManualTesting.Tests { public class SqlBulkCopyTest ...
namespace AgileObjects.AgileMapper.Members { using System; using System.Collections.Generic; using System.Linq; #if NET35 using Microsoft.Scripting.Ast; #else using System.Linq.Expressions; #endif using Caching; using Extensions; using Extensions.Internal; using NetStandardPolyfills;...
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Bond.Expressions { using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; public class TaggedP...
// Copyright (c) 2003, Paul Welter // All rights reserved. // Modified by Joerg Krause (joerg@krause.net) to adapt usage in Netrix component using System; using System.Collections; using System.Text; using System.Text.RegularExpressions; using System.ComponentModel; using System.ComponentModel.Design; using System.Dia...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace postalcodefinder.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it...
/* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for Additional information regarding copyright ownership. The ASF licenses this file to Y...
using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace SpaceExplorers { /// <summary> /// Modified version of code written by Laurent Cozic, obtained from https://www.codeproject.com/Articles/15573/D-Polygon-Collision-Detection /// Modified version of code writt...
namespace BookingApp.Migrations { using System; using System.Data.Entity.Migrations; public partial class Modelupdates : DbMigration { public override void Up() { CreateTable( "dbo.Accommodations", c => new { ...
using Plugin.MobileFirst.Abstractions; using System; using System.Collections.Generic; using System.Json; using System.Threading.Tasks; using Worklight; namespace Plugin.MobileFirst { /// <summary> /// Implementation for Feature /// </summary> public class MobileFirstImplementation : IMobileFirst { #...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Globalization; using System.Runtime.CompilerServices; using System.Runtime.Serialization; using System....
using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using LavaLeak.Diplomata.Dictionaries; using LavaLeak.Diplomata.Helpers; using LavaLeak.Diplomata.Models.Submodels; using LavaLeak.Diplomata.Persistence; using LavaLeak.Diplomata.Persistence.Models; using UnityEngine; namespace LavaLe...
namespace Nancy.Tests.Unit.IO { using System; using System.IO; using FakeItEasy; using Nancy.IO; using Xunit; public class RequestStreamFixture { [Fact] public void Should_not_dispose_wrapped_stream_when_not_switched() { // Given var stream...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // BufferBlock.cs // //...
using System.Security; using System; public struct TestStruct { public int IntValue; public string StringValue; } public class DisposableClass : IDisposable { public void Dispose() { } } /// <summary> /// ctor(System.Object, System.Boolean) /// </summary> [SecuritySafeCritical] public class Weak...
using System; using Box2D.Collision.Shapes; using Box2D.Common; using Box2D.Dynamics; using Cocos2D; namespace AngryNinjas { public class Enemy : BodyNode { b2World theWorld; string baseImageName; string spriteImageName; CCPoint initialLocation; int breaksAfterHowMuchContact; //0 will break the enemy a...
// Copyright (c) 2014 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) // Parts based on code by MJ Hutchinson http://mjhutchinson.com/journal/2010/01/25/integrating_gtk_application_mac using System; namespace SIL.PlatformUtilities { public static class Platfor...
// 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.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Microsoft.CodeAnalysis.Editor.UnitTests.BraceMatching; using Microsoft...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System; using System.Diagnostics; using System.Globalization; using System.IO; using System.Text.RegularExpressions; using System.Threading; using System.Timers; using Syste...
namespace MonoRpg.Engine.UI { using global::System; using global::System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using MonoRpg.Engine.GameStates; using MonoRpg.Engine.RenderEngine; public class Textbox : BaseStateObject { public Vec...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using System.Runtime.CompilerServices; namespace System { /// <summary>Methods for pa...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Testing; using Xunit; using VerifyCS = Test.Utilities.CSharpCodeFixVerifier< Micr...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics.Contracts; namespace System.Globalization { ////////////////////////////...
// 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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.U...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. #if FEATURE_CUSTOM_TYPE_DESCRIPTOR using System; using System.Collections.Generic; using System.ComponentMod...
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serializat...