PageRenderTime 581ms queryTime 112ms sortTime 152ms getByIdsTime 86ms findMatchingLines 67ms

100+ results results for 'namespace microsoft' (581 ms)

Not the results you expected?
Highscores.cs https://bitbucket.org/totallyevil/racing-game-kit.git | C# | 403 lines
                    
4//
                    
5// Microsoft XNA Community Game Platform
                    
6// Copyright (C) Microsoft Corporation. All rights reserved.
                    
22using RacingGame.Properties;
                    
23using Microsoft.Xna.Framework;
                    
24using Microsoft.Xna.Framework.Graphics;
                    
27
                    
28namespace RacingGame.GameScreens
                    
29{
                    
                
FunctionDefinition.cs https://gitlab.com/SplatoonModdingHub/PTVS | C# | 372 lines
                    
1// Python Tools for Visual Studio
                    
2// Copyright(c) Microsoft Corporation
                    
3// All rights reserved.
                    
20
                    
21namespace Microsoft.PythonTools.Parsing.Ast {
                    
22
                    
                
dl_check_table.cpp https://bitbucket.org/chyh1990/z3.git | C++ | 363 lines
                    
1/*++
                    
2Copyright (c) 2010 Microsoft Corporation
                    
3
                    
25
                    
26namespace datalog {
                    
27    
                    
                
FloatWindow.cs https://bitbucket.org/kkszysiu/flashdevelop.git | C# | 435 lines
                    
9
                    
10namespace WeifenLuo.WinFormsUI.Docking
                    
11{
                    
132
                    
133        [SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.Windows.Forms.Control.set_Text(System.String)")]
                    
134        internal void SetText()
                    
                
ManageController.cs https://gitlab.com/Fajardo16/Encapsular-js-Luis | C# | 387 lines
                    
5using System.Web.Mvc;
                    
6using Microsoft.AspNet.Identity;
                    
7using Microsoft.AspNet.Identity.Owin;
                    
7using Microsoft.AspNet.Identity.Owin;
                    
8using Microsoft.Owin.Security;
                    
9using AdminLTE.Models;
                    
10
                    
11namespace AdminLTE.Controllers
                    
12{
                    
                
soap3.xsd https://github.com/cazzar/MCaznowl-Build.git | XML Schema | 242 lines
                    
1<?xml version="1.0" encoding="utf-8"?>
                    
2<xs:schema xmlns:tns="http://api.microsofttranslator.com/V2" elementFormDefault="qualified" targetNamespace="http://api.microsofttranslator.com/V2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
                    
3  <xs:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
                    
3  <xs:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
                    
4  <xs:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" />
                    
5  <xs:element name="AddTranslation">
                    
37      <xs:sequence>
                    
38        <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="BreakSentencesResult" nillable="true" type="q1:ArrayOfint" />
                    
39      </xs:sequence>
                    
60        <xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
                    
61        <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="texts" nillable="true" type="q2:ArrayOfstring" />
                    
62      </xs:sequence>
                    
67      <xs:sequence>
                    
68        <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="DetectArrayResult" nillable="true" type="q3:ArrayOfstring" />
                    
69      </xs:sequence>
                    
                
shared_any.h https://gitlab.com/jslee1/omaha | C Header | 412 lines
                    
2//
                    
3//  Copyright ( C ) Microsoft, 2002.
                    
4//
                    
14//
                    
15//  Author:     Eric Niebler ( ericne@microsoft.com )
                    
16//
                    
27
                    
28namespace detail
                    
29{
                    
321
                    
322namespace detail
                    
323{
                    
                
RenderThemeWin.cpp https://github.com/weissms/owb-mirror.git | C++ | 342 lines
                    
32 * Windows' Theme API. For more information on theme parts and states see
                    
33 * http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/userex/topics/partsandstates.asp
                    
34 */
                    
84
                    
85namespace WebCore {
                    
86
                    
                
ManageController.cs https://gitlab.com/camilleblondie/tekconf | C# | 387 lines
                    
5using System.Web.Mvc;
                    
6using Microsoft.AspNet.Identity;
                    
7using Microsoft.AspNet.Identity.Owin;
                    
7using Microsoft.AspNet.Identity.Owin;
                    
8using Microsoft.Owin.Security;
                    
9using TekConf.Models;
                    
10
                    
11namespace TekConf.Controllers
                    
12{
                    
                
BootstrapContextTest.cs https://github.com/pruiz/mono.git | C# | 249 lines
                    
13
                    
14namespace MonoTests.System.IdentityModel.Tokens.net_4_5 {
                    
15	[TestFixture]
                    
16	public class BootstrapContextTest {
                    
17		// The following byte arrays are the serialized bytes as emitted on Microsoft .Net 4.5.
                    
18		private static readonly byte [] SerializedBootstrapContextByteArray = new byte [] { 0x00, 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x02, 0x00, 0x00, 0x00, 0x57, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6D, 0x2E, 0x49, 0x64, 0x65, 0x6E, 0x74, 0x69, 0x74, 0x79, 0x4D, 0x6F, 0x64, 0x65, 0x6C, 0x2C, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6F, 0x6E, 0x3D, 0x34, 0x2E, 0x30, 0x2E, 0x30, 0x2E, 0x30, 0x2C, 0x20, 0x43, 0x75, 0x6C, 0x74, 0x75, 0x72, 0x65, 0x3D, 0x6E, 0x65, 0x75, 0x74, 0x72, 0x61, 0x6C, 0x2C, 0x20, 0x50, 0x75, 0x62, 0x6C, 0x69, 0x63, 0x4B, 0x65, 0x79, 0x54, 0x6F, 0x6B, 0x65, 0x6E, 0x3D, 0x62, 0x37, 0x37, 0x61, 0x35, 0x63, 0x35, 0x36, 0x31, 0x39, 0x33, 0x34, 0x65, 0x30, 0x38, 0x39, 0x05, 0x01, 0x00, 0x00, 0x00, 0x2C, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6D, 0x2E, 0x49, 0x64, 0x65, 0x6E, 0x74, 0x69, 0x74, 0x79, 0x4D, 0x6F, 0x64, 0x65, 0x6C, 0x2E, 0x54, 0x6F, 0x6B, 0x65, 0x6E, 0x73, 0x2E, 0x42, 0x6F, 0x6F, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x43, 0x6F, 0x6E, 0x74, 0x65, 0x78, 0x74, 0x02, 0x00, 0x00, 0x00, 0x01, 0x4B, 0x01, 0x54, 0x00, 0x07, 0x03, 0x02, 0x02, 0x00, 0x00, 0x00, 0x42, 0x09, 0x03, 0x00, 0x00, 0x00, 0x0F, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x01, 0x0B };
                    
                
UnityConfiguration30.xsd https://gitlab.com/YuraHavrylko/SolidAndIoC | XML Schema | 319 lines
                    
3           xmlns="http://schemas.microsoft.com/practices/2010/unity"
                    
4           targetNamespace="http://schemas.microsoft.com/practices/2010/unity"
                    
5           elementFormDefault="qualified"
                    
17        <xs:element name="sectionExtension" type="SectionExtensionElement" />
                    
18        <xs:element name="namespace" type="NamedElement" />
                    
19        <xs:element name="assembly" type="NamedElement" />
                    
266        <xs:restriction base="xs:string">
                    
267          <xs:enumeration value="Microsoft.Practices.Unity.InterceptionExtension.Configuration.InterceptionConfigurationExtension, Microsoft.Practices.Unity.Interception.Configuration"/>
                    
268        </xs:restriction>
                    
291          <xs:enumeration value="MemberNameMatchingRule"/>
                    
292          <xs:enumeration value="NamespaceMatchingRule"/>
                    
293          <xs:enumeration value="ParameterTypeMatchingRule"/>
                    
                
Protocol1RuntimeClientTest.php https://bitbucket.org/skudatech/azure-sdk-for-php.git | PHP | 304 lines
                    
16 *
                    
17 * @category  Microsoft
                    
18 * @package   Tests\Unit\WindowsAzure\ServiceRuntime\Internal
                    
18 * @package   Tests\Unit\WindowsAzure\ServiceRuntime\Internal
                    
19 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
20 * @copyright 2012 Microsoft Corporation
                    
23 */
                    
24namespace Tests\Unit\WindowsAzure\ServiceRuntime\Internal;
                    
25
                    
41 *
                    
42 * @category  Microsoft
                    
43 * @package   Tests\Unit\WindowsAzure\ServiceRuntime\Internal
                    
43 * @package   Tests\Unit\WindowsAzure\ServiceRuntime\Internal
                    
44 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
45 * @copyright 2012 Microsoft Corporation
                    
                
ApplicationConfiguraton.cs https://github.com/seif/roundhouse.git | C# | 213 lines
                    
2using log4net;
                    
3using Microsoft.Build.Framework;
                    
4
                    
4
                    
5namespace roundhouse.infrastructure.app
                    
6{
                    
                
ListInitExpression.cs https://github.com/dknott/mono.git | C# | 237 lines
                    
2 *
                    
3 * Copyright (c) Microsoft Corporation. 
                    
4 *
                    
7 * you cannot locate the  Apache License, Version 2.0, please send an email to 
                    
8 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 
                    
9 * by the terms of the Apache License, Version 2.0.
                    
28#if CLR2
                    
29namespace Microsoft.Scripting.Ast {
                    
30#else
                    
30#else
                    
31namespace System.Linq.Expressions {
                    
32#endif
                    
                
BinaryExpression.Generated.cs https://github.com/thomo13/ironruby.git | C# | 154 lines
                    
2 *
                    
3 * Copyright (c) Microsoft Corporation. 
                    
4 *
                    
7 * you cannot locate the  Apache License, Version 2.0, please send an email to 
                    
8 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 
                    
9 * by the terms of the Apache License, Version 2.0.
                    
19
                    
20using Microsoft.Scripting.Runtime;
                    
21
                    
24#if CLR2
                    
25using Microsoft.Scripting.Math;
                    
26using Complex = Microsoft.Scripting.Math.Complex64;
                    
30
                    
31namespace IronPython.Compiler.Ast {
                    
32    public partial class BinaryExpression {
                    
                
ManageController.cs https://gitlab.com/Lumel16/proyecto-JSON_LF | C# | 387 lines
                    
5using System.Web.Mvc;
                    
6using Microsoft.AspNet.Identity;
                    
7using Microsoft.AspNet.Identity.Owin;
                    
7using Microsoft.AspNet.Identity.Owin;
                    
8using Microsoft.Owin.Security;
                    
9using _17_09_16_G.Models;
                    
10
                    
11namespace _17_09_16_G.Controllers
                    
12{
                    
                
permissions.rb https://gitlab.com/pymevirtual/azure-sdk-for-ruby | Ruby | 277 lines
                    
1# encoding: utf-8
                    
2# Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
                    
3# Changes may cause incorrect behavior and will be lost if the code is
                    
44      request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
                    
45      path_template = '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/permissions'
                    
46      options = {
                    
103      fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
                    
104      fail ArgumentError, 'resource_provider_namespace is nil' if resource_provider_namespace.nil?
                    
105      fail ArgumentError, 'parent_resource_path is nil' if parent_resource_path.nil?
                    
114      request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
                    
115      path_template = '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/permissions'
                    
116      options = {
                    
117          middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
                    
118          path_params: {'resourceGroupName' => resource_group_name,'resourceProviderNamespace' => resource_provider_namespace,'resourceName' => resource_name,'subscriptionId' => @client.subscription_id},
                    
119          skip_encoding_path_params: {'parentResourcePath' => parent_resource_path,'resourceType' => resource_type},
                    
                
x509store.cs https://github.com/pruiz/mono.git | C# | 297 lines
                    
2// 
                    
3//   Copyright (c) Microsoft Corporation.  All rights reserved.
                    
4// 
                    
10
                    
11namespace System.Security.Cryptography.X509Certificates {
                    
12    using System.Globalization;
                    
                
CompilerParameters.cs https://github.com/pruiz/mono.git | C# | 363 lines
                    
1//------------------------------------------------------------------------------
                    
2// <copyright file="CompilerParameters.cs" company="Microsoft">
                    
3// 
                    
3// 
                    
4// <OWNER>Microsoft</OWNER>
                    
5//     Copyright (c) Microsoft Corporation.  All rights reserved.
                    
8
                    
9namespace System.CodeDom.Compiler {
                    
10    using System;
                    
13    using System.Collections.Specialized;
                    
14    using Microsoft.Win32;
                    
15    using Microsoft.Win32.SafeHandles;
                    
344        [Obsolete("CAS policy is obsolete and will be removed in a future release of the .NET Framework."
                    
345                + " Please see http://go2.microsoft.com/fwlink/?LinkId=131738 for more information.")]
                    
346        public Evidence Evidence {
                    
                
ManageController.cs https://gitlab.com/eare17/Tareadefunciones | C# | 387 lines
                    
5using System.Web.Mvc;
                    
6using Microsoft.AspNet.Identity;
                    
7using Microsoft.AspNet.Identity.Owin;
                    
7using Microsoft.AspNet.Identity.Owin;
                    
8using Microsoft.Owin.Security;
                    
9using pruebaMVC.Models;
                    
10
                    
11namespace pruebaMVC.Controllers
                    
12{
                    
                
ManageController.cs https://gitlab.com/stevenmunoz/Mvc-WebApi-Angular | C# | 387 lines
                    
5using System.Web.Mvc;
                    
6using Microsoft.AspNet.Identity;
                    
7using Microsoft.AspNet.Identity.Owin;
                    
7using Microsoft.AspNet.Identity.Owin;
                    
8using Microsoft.Owin.Security;
                    
9using Pluralsight.Models;
                    
10
                    
11namespace Pluralsight.Controllers
                    
12{
                    
                
ExpressionGenerator.cs https://gitlab.com/sharadag/Roslyn | C# | 321 lines
                    
1// Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.
                    
2
                    
6using System.Linq;
                    
7using Microsoft.CodeAnalysis.CodeGeneration;
                    
8using Microsoft.CodeAnalysis.CSharp.Extensions;
                    
8using Microsoft.CodeAnalysis.CSharp.Extensions;
                    
9using Microsoft.CodeAnalysis.CSharp.Symbols;
                    
10using Microsoft.CodeAnalysis.CSharp.Syntax;
                    
10using Microsoft.CodeAnalysis.CSharp.Syntax;
                    
11using Microsoft.CodeAnalysis.Shared.Extensions;
                    
12using Microsoft.CodeAnalysis.Shared.Utilities;
                    
12using Microsoft.CodeAnalysis.Shared.Utilities;
                    
13using Microsoft.CodeAnalysis.Simplification;
                    
14using Roslyn.Utilities;
                    
17
                    
18namespace Microsoft.CodeAnalysis.CSharp.CodeGeneration
                    
19{
                    
                
frmSinhvienTT.Designer.cs https://gitlab.com/chup01811/store | C# | 268 lines
                    
1
                    
2namespace DoAn
                    
3{
                    
55            this.label1.AutoSize = true;
                    
56            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    
57            this.label1.Location = new System.Drawing.Point(434, 9);
                    
236            this.Controls.Add(this.label1);
                    
237            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    
238            this.Name = "frmSinhvienTT";
                    
                
FileTest.cs https://github.com/thomo13/ironruby.git | C# | 211 lines
                    
2 *
                    
3 * Copyright (c) Microsoft Corporation. 
                    
4 *
                    
7 * you cannot locate the  Apache License, Version 2.0, please send an email to 
                    
8 * ironruby@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 
                    
9 * by the terms of the Apache License, Version 2.0.
                    
17using IronRuby.Runtime;
                    
18using Microsoft.Scripting.Runtime;
                    
19
                    
20#if CLR2
                    
21using Microsoft.Scripting.Utils;
                    
22using System;
                    
26
                    
27namespace IronRuby.Builtins {
                    
28    // TODO: conversion: to_io, to_path, to_str
                    
                
UnsafeNativeMethods.cs https://github.com/directhex/mono-1.git | C# | 247 lines
                    
1//------------------------------------------------------------
                    
2// Copyright (c) Microsoft Corporation.  All rights reserved.
                    
3//------------------------------------------------------------
                    
4
                    
5namespace System.Runtime.Interop
                    
6{
                    
11    using System.Runtime.Versioning;
                    
12    using Microsoft.Win32.SafeHandles;
                    
13    using System.Runtime.InteropServices;
                    
                
CodeInterfaceTests.vb https://gitlab.com/sharadag/Roslyn | Visual Basic | 456 lines
                    
1' Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.
                    
2
                    
5Imports Microsoft.CodeAnalysis
                    
6Imports Microsoft.VisualStudio.LanguageServices.VisualBasic.CodeModel.Extenders
                    
7Imports Microsoft.VisualStudio.LanguageServices.VisualBasic.CodeModel.Interop
                    
9
                    
10Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.CodeModel.VisualBasic
                    
11    Public Class CodeInterfaceTests
                    
314<Code>
                    
315Namespace N
                    
316    Interface I$$
                    
325    End Interface
                    
326End Namespace
                    
327</Code>
                    
346<Code>
                    
347Namespace N
                    
348    Interface I$$
                    
                
EventHookupSessionManager_EventHookupSession.cs https://gitlab.com/sharadag/Roslyn | C# | 267 lines
                    
1// Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.
                    
2
                    
8using Microsoft.CodeAnalysis.CSharp.Extensions;
                    
9using Microsoft.CodeAnalysis.CSharp.Syntax;
                    
10using Microsoft.CodeAnalysis.Editor.Shared.Extensions;
                    
11using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
                    
12using Microsoft.CodeAnalysis.Internal.Log;
                    
13using Microsoft.CodeAnalysis.LanguageServices;
                    
13using Microsoft.CodeAnalysis.LanguageServices;
                    
14using Microsoft.CodeAnalysis.Shared.Extensions;
                    
15using Microsoft.CodeAnalysis.Shared.TestHooks;
                    
15using Microsoft.CodeAnalysis.Shared.TestHooks;
                    
16using Microsoft.CodeAnalysis.Shared.Utilities;
                    
17using Microsoft.CodeAnalysis.Text;
                    
21
                    
22namespace Microsoft.CodeAnalysis.Editor.CSharp.EventHookup
                    
23{
                    
                
VisualBasicCodeModelService_Prototype.vb https://gitlab.com/sharadag/Roslyn | Visual Basic | 261 lines
                    
1' Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.
                    
2
                    
4Imports System.Text
                    
5Imports Microsoft.CodeAnalysis
                    
6Imports Microsoft.CodeAnalysis.VisualBasic
                    
6Imports Microsoft.CodeAnalysis.VisualBasic
                    
7Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
                    
8Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
                    
8Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
                    
9Imports Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel
                    
10Imports Microsoft.VisualStudio.LanguageServices.Implementation.Utilities
                    
11
                    
12Namespace Microsoft.VisualStudio.LanguageServices.VisualBasic.CodeModel
                    
13    Partial Friend Class VisualBasicCodeModelService
                    
17                memberOptions:=SymbolDisplayMemberOptions.IncludeContainingType,
                    
18                typeQualificationStyle:=SymbolDisplayTypeQualificationStyle.NameAndContainingTypesAndNamespaces,
                    
19                genericsOptions:=SymbolDisplayGenericsOptions.IncludeTypeParameters,
                    
                
RetargetingModuleSymbol.vb https://gitlab.com/sharadag/Roslyn | Visual Basic | 281 lines
                    
9Imports Microsoft.CodeAnalysis.Text
                    
10Imports Microsoft.CodeAnalysis.VisualBasic.Symbols.Metadata.PE
                    
11Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
                    
11Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
                    
12Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
                    
13Imports TypeKind = Microsoft.CodeAnalysis.TypeKind
                    
16
                    
17Namespace Microsoft.CodeAnalysis.VisualBasic.Symbols.Retargeting
                    
18
                    
82            Me._createRetargetingMethod = AddressOf CreateRetargetingMethod
                    
83            Me._createRetargetingNamespace = AddressOf CreateRetargetingNamespace
                    
84            Me._createRetargetingNamedType = AddressOf CreateRetargetingNamedType
                    
146
                    
147        Public Overrides ReadOnly Property GlobalNamespace As NamespaceSymbol
                    
148            Get
                    
                
SwarmForm.Designer.cs https://github.com/swax/SwarmNLP.git | C# | 252 lines
                    
1namespace SwarmNLP
                    
2{
                    
64            this.label1.AutoSize = true;
                    
65            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    
66            this.label1.Location = new System.Drawing.Point(12, 15);
                    
81            this.label2.AutoSize = true;
                    
82            this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    
83            this.label2.Location = new System.Drawing.Point(13, 76);
                    
91            this.label3.AutoSize = true;
                    
92            this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    
93            this.label3.Location = new System.Drawing.Point(13, 41);
                    
101            this.label4.AutoSize = true;
                    
102            this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    
103            this.label4.Location = new System.Drawing.Point(13, 103);
                    
132            this.label5.AutoSize = true;
                    
133            this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    
134            this.label5.Location = new System.Drawing.Point(13, 161);
                    
                
ProcessRequestAsyncResult.cs https://github.com/kumpera/mono.git | C# | 281 lines
                    
1//----------------------------------------------------------------
                    
2// Copyright (c) Microsoft Corporation.  All rights reserved.
                    
3//----------------------------------------------------------------
                    
4
                    
5namespace System.ServiceModel.Routing
                    
6{
                    
                
url_pattern_set_unittest.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 479 lines
                    
14
                    
15namespace extensions {
                    
16
                    
16
                    
17namespace {
                    
18
                    
37
                    
38}  // namespace
                    
39
                    
53  EXPECT_FALSE(set.MatchesURL(GURL("https://www.google.com/")));
                    
54  EXPECT_FALSE(set.MatchesURL(GURL("https://www.microsoft.com/")));
                    
55}
                    
478
                    
479}  // namespace extensions
                    
480
                    
                
Import_Tests.cs https://gitlab.com/Banul/la-project1 | C# | 329 lines
                    
1// Copyright (c) Microsoft. All rights reserved.
                    
2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
                    
4//-----------------------------------------------------------------------
                    
5// <copyright file="Import_Tests.cs" company="Microsoft">
                    
6//     Copyright (c) Microsoft Corporation.  All rights reserved.
                    
17
                    
18using Microsoft.Build;
                    
19using Microsoft.Build.BuildEngine;
                    
19using Microsoft.Build.BuildEngine;
                    
20using Microsoft.Build.Framework;
                    
21using Microsoft.Build.UnitTests;
                    
22
                    
23namespace Microsoft.Build.UnitTests.OM.OrcasCompatibility
                    
24{
                    
                
TestMethodManager.cs https://github.com/kvervo/HorizontalLoopingSelector.git | C# | 318 lines
                    
1// (c) Copyright Microsoft Corporation.
                    
2// This source is subject to the Microsoft Public License (Ms-PL).
                    
2// This source is subject to the Microsoft Public License (Ms-PL).
                    
3// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
                    
4// All other rights reserved.
                    
8using System.Reflection;
                    
9using Microsoft.Silverlight.Testing.Harness;
                    
10using Microsoft.Silverlight.Testing.UnitTesting.Metadata;
                    
11
                    
12namespace Microsoft.Silverlight.Testing.Harness
                    
13{
                    
                
MimeTools.cs https://bitbucket.org/xact/cs.ff.xact.lib.git | C# | 300 lines
                    
1namespace XAct.UI.Web.Tools
                    
2{
                    
7    using System.Xml.Serialization;
                    
8    using Microsoft.Win32;
                    
9
                    
27        /// <internal>
                    
28        /// Src: http://msdn.microsoft.com/en-us/library/ms775147(v=vs.85).aspx
                    
29        /// </internal>
                    
                
activeqt-qutlook.html https://github.com/muromec/qtopia-ezx.git | HTML | 319 lines
                    
23</ul>
                    
24<p>The Qutlook example demonstrates the use of <a href="activeqt.html#activeqt">ActiveQt</a> to automate Outlook. The example makes use of the <a href="activeqt-dumpcpp.html#dumpcpp">dumpcpp</a> tool to generate a C++ namespace for the type library describing the Outlook Object Model.</p>
                    
25<p>The project file for the example looks like this:</p>
                    
32 isEmpty(TYPELIBS) {
                    
33     message(&quot;Microsoft Outlook type library not found!&quot;)
                    
34     REQUIRES += Outlook
                    
91     if (!outlook.isNull()) {
                    
92         Outlook::NameSpace session(outlook.Session());
                    
93         session.Logon();
                    
108     if (!outlook.isNull())
                    
109         Outlook::NameSpace(outlook.Session()).Logoff();
                    
110 }</pre>
                    
                
_warnings.cs https://bitbucket.org/mdavid/dlr.git | C# | 262 lines
                    
2 *
                    
3 * Copyright (c) Microsoft Corporation. 
                    
4 *
                    
7 * you cannot locate the  Apache License, Version 2.0, please send an email to 
                    
8 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 
                    
9 * by the terms of the Apache License, Version 2.0.
                    
26using IronPython.Runtime.Types;
                    
27using Microsoft.Scripting;
                    
28using Microsoft.Scripting.Runtime;
                    
30[assembly: PythonModule("_warnings", typeof(IronPython.Modules.PythonWarnings))]
                    
31namespace IronPython.Modules {
                    
32    public static class PythonWarnings {
                    
                
PSCloudJob.cs https://gitlab.com/jslee1/azure-powershell | C# | 394 lines
                    
2//
                    
3// Copyright Microsoft Corporation
                    
4// Licensed under the Apache License, Version 2.0 (the "License");
                    
23
                    
24namespace Microsoft.Azure.Commands.Batch.Models
                    
25{
                    
31
                    
32        internal Microsoft.Azure.Batch.CloudJob omObject;
                    
33
                    
51
                    
52        internal PSCloudJob(Microsoft.Azure.Batch.CloudJob omObject)
                    
53        {
                    
69                    list = new List<PSEnvironmentSetting>();
                    
70                    IEnumerator<Microsoft.Azure.Batch.EnvironmentSetting> enumerator;
                    
71                    enumerator = this.omObject.CommonEnvironmentSettings.GetEnumerator();
                    
                
BCMIMETypeRegistryWK.cpp https://github.com/weissms/owb-mirror.git | C++ | 336 lines
                    
43
                    
44namespace OWBAL {
                    
45
                    
70
                    
71    // On Tiger and Leopard, com.microsoft.bmp doesn't have a MIME type in the registry.
                    
72    supportedImageMIMETypes->add("image/bmp");
                    
335
                    
336} // namespace WebCore
                    
337
                    
                
MIMETypeRegistry.cpp https://github.com/weissms/owb-mirror.git | C++ | 336 lines
                    
43
                    
44namespace WebCore {
                    
45
                    
70
                    
71    // On Tiger and Leopard, com.microsoft.bmp doesn't have a MIME type in the registry.
                    
72    supportedImageMIMETypes->add("image/bmp");
                    
335
                    
336} // namespace WebCore
                    
337
                    
                
_msvc.h https://github.com/manishasarkar/rhodes.git | C Header | 353 lines
                    
2 * It is internal STLport header - DO NOT include it directly
                    
3 * Microsoft Visual C++ 6.0, 7.0, 7.1, 8.0, ICL
                    
4 */
                    
6#if !defined (_STLP_COMPILER)
                    
7#  define _STLP_COMPILER "Microsoft Visual Studio C++"
                    
8#endif
                    
106uncaught_exception is declared in the SDKs delivered with eVC4 (eVC3 is
                    
107unknown) and they all reside in namespace 'std' there. However, they are not
                    
108part of any lib so linking fails. When using VC8 to crosscompile for CE 5 on
                    
183/*
                    
184 * MSVC6 is known to have many trouble with namespace management but
                    
185 * MSVC .Net 2003 and 2005 also have a bug difficult to reproduce without
                    
193 * As you can see foo is available without namespace specification as if
                    
194 * a using namespace stlp_std has been performed. Defining _STLP_USING_NAMESPACE_BUG
                    
195 * restore the expected compilation error.
                    
                
MainWindow.g.cs https://gitlab.com/mimahone/IIO11300 | C# | 313 lines
                    
34
                    
35namespace H12BookShopEF {
                    
36    
                    
44        #line 15 "..\..\MainWindow.xaml"
                    
45        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
                    
46        internal System.Windows.Controls.Button btnGetCustomers;
                    
52        #line 16 "..\..\MainWindow.xaml"
                    
53        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
                    
54        internal System.Windows.Controls.Button btnGetBooks;
                    
60        #line 17 "..\..\MainWindow.xaml"
                    
61        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
                    
62        internal System.Windows.Controls.ComboBox cbCountries;
                    
68        #line 21 "..\..\MainWindow.xaml"
                    
69        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
                    
70        internal System.Windows.Controls.StackPanel spBook;
                    
                
ActiveXBrowserHost.cpp https://github.com/GordonSmith/FireBreath.git | C++ | 395 lines
                    
34
                    
35using namespace FB;
                    
36using namespace FB::ActiveX;
                    
129        /* Throw away returned VARIANT, this method always returns VT_EMPTY.
                    
130           http://msdn.microsoft.com/en-us/library/aa741364(VS.85).aspx */
                    
131        return;
                    
                
BufferBuilder.h https://gitlab.com/Srijancse/ChakraCore | C Header | 357 lines
                    
1//-------------------------------------------------------------------------------------------------------
                    
2// Copyright (C) Microsoft. All rights reserved.
                    
3// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
                    
25
                    
26namespace Js
                    
27{
                    
                
ServiceController.cs https://github.com/iainlane/mono.git | C# | 456 lines
                    
41
                    
42namespace System.ServiceProcess
                    
43{
                    
157				// categorized as by design:
                    
158				// https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                    
159
                    
184				// categorized as by design:
                    
185				// https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                    
186
                    
223				// categorized as by design:
                    
224				// https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                    
225
                    
                
Import.cs https://github.com/pruiz/mono.git | C# | 320 lines
                    
35
                    
36using Microsoft.Build.Framework;
                    
37using Microsoft.Build.Utilities;
                    
39
                    
40namespace Microsoft.Build.BuildEngine {
                    
41	public class Import {
                    
86
                    
87			if (Path.GetFileName (path) == "Microsoft.CSharp.Targets") {
                    
88				path = Path.ChangeExtension (path, ".targets");
                    
99			string filename = evaluatedProjectPath;
                    
100			// NOTE: it's a hack to transform Microsoft.CSharp.Targets to Microsoft.CSharp.targets
                    
101			if (!File.Exists (filename) && Path.GetFileName (filename) == "Microsoft.CSharp.Targets")
                    
                
SettingsPage.cs https://github.com/89sos98/nemerle.git | C# | 487 lines
                    
2
                    
3Copyright (c) Microsoft Corporation. All rights reserved.
                    
4This code is licensed under the Visual Studio SDK license terms.
                    
19using System.Windows.Forms;
                    
20using Microsoft.VisualStudio.Designer.Interfaces;
                    
21using Microsoft.VisualStudio.OLE.Interop;
                    
21using Microsoft.VisualStudio.OLE.Interop;
                    
22using Microsoft.VisualStudio.Shell.Interop;
                    
23
                    
23
                    
24namespace Microsoft.VisualStudio.Project
                    
25{
                    
                
CLIBlobFunc.cs https://gitlab.com/jslee1/azure-powershell | C# | 270 lines
                    
2//
                    
3// Copyright Microsoft Corporation
                    
4// Licensed under the Apache License, Version 2.0 (the "License");
                    
21using Commands.Storage.ScenarioTest.Util;
                    
22using Microsoft.VisualStudio.TestTools.UnitTesting;
                    
23using Microsoft.WindowsAzure.Storage;
                    
23using Microsoft.WindowsAzure.Storage;
                    
24using Microsoft.WindowsAzure.Storage.Blob;
                    
25using MS.Test.Common.MsTestLib;
                    
27
                    
28namespace Commands.Storage.ScenarioTest
                    
29{
                    
125
                    
126            RootBlobOperations(new PowerShellAgent(), BlockFilePath, DownloadDirPath, Microsoft.WindowsAzure.Storage.Blob.BlobType.BlockBlob);
                    
127            RootBlobOperations(new PowerShellAgent(), PageFilePath, DownloadDirPath, Microsoft.WindowsAzure.Storage.Blob.BlobType.PageBlob);
                    
                
WaitAzureHDInsightJobCmdlet.cs https://gitlab.com/jslee1/azure-powershell | C# | 248 lines
                    
2//
                    
3// Copyright Microsoft Corporation
                    
4// Licensed under the Apache License, Version 2.0 (the "License");
                    
21using System.Threading.Tasks;
                    
22using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.BaseCommandInterfaces;
                    
23using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.CommandInterfaces;
                    
23using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.CommandInterfaces;
                    
24using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects;
                    
25using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters;
                    
25using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters;
                    
26using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions;
                    
27using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.ServiceLocation;
                    
29
                    
30namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.PSCmdlets
                    
31{
                    
                
Variable.cs https://gitlab.com/hoseinyeganloo/automatic-graph-layout | C# | 270 lines
                    
1// --------------------------------------------------------------------------------------------------------------------
                    
2// <copyright file="Variable.cs" company="Microsoft">
                    
3//   (c) Microsoft Corporation.  All rights reserved.
                    
17
                    
18namespace Microsoft.Msagl.Core.ProjectionSolver
                    
19{
                    
23    /// </summary>
                    
24    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1036:OverrideMethodsOnComparableTypes")]
                    
25    public class Variable : IComparable<Variable>
                    
226        ///         and rhs are equal.</returns>
                    
227        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.CompareTo(System.String)")]
                    
228        public int CompareTo(Variable other)
                    
                
AggregateQuery.cs https://bitbucket.org/EvilDev/evildev.nugetserver.git | C# | 317 lines
                    
9
                    
10namespace NuGet
                    
11{
                    
203
                    
204        [SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "By definition we want to suppress all exceptions if the flag is set")]
                    
205        private TaskResult ReadQueue(LazyQueue<TVal> queue)
                    
272
                    
273        [SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "By definition we want to suppress all exceptions if the flag is set")]
                    
274        private TResult TryExecute<TResult>(IQueryable queryable, Expression expression)
                    
                
TD.Designer.cs https://github.com/directhex/mono-1.git | C# | 246 lines
                    
9
                    
10namespace System.ServiceModel.Channels
                    
11{
                    
35        
                    
36        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification="This is an auto-generated code, some ETW/TraceSource mixed code would use it.")]
                    
37        static System.Resources.ResourceManager ResourceManager
                    
48        
                    
49        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification="This template is shared across all assemblies, some of which use this accessor.")]
                    
50        internal static System.Globalization.CultureInfo Culture
                    
                
backend.cpp https://bitbucket.org/ultra_iter/qt-vtl.git | C++ | 351 lines
                    
35
                    
36QT_BEGIN_NAMESPACE
                    
37
                    
39
                    
40namespace Phonon
                    
41{
                    
41{
                    
42    namespace DS9
                    
43    {
                    
110            {
                    
111                QSettings settings(QLatin1String("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Multimedia\\mplayer2\\mime types"), QSettings::NativeFormat);
                    
112                ret += settings.childGroups();
                    
114            {
                    
115                QSettings settings(QLatin1String("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Multimedia\\wmplayer\\mime types"), QSettings::NativeFormat);
                    
116                ret += settings.childGroups();
                    
                
StringBreaker.cs https://gitlab.com/sharadag/Roslyn | C# | 327 lines
                    
1// Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.
                    
2
                    
5using System.Diagnostics;
                    
6using Microsoft.CodeAnalysis.Text;
                    
7
                    
7
                    
8namespace Microsoft.CodeAnalysis.Shared.Utilities
                    
9{
                    
                
ExportCollectionTests.cs https://github.com/iainlane/mono.git | C# | 208 lines
                    
1// -----------------------------------------------------------------------
                    
2// Copyright (c) Microsoft Corporation.  All rights reserved.
                    
3// -----------------------------------------------------------------------
                    
12using System.UnitTesting;
                    
13using Microsoft.VisualStudio.TestTools.UnitTesting;
                    
14
                    
14
                    
15namespace System.ComponentModel.Composition
                    
16{
                    
                
StatusGump.cs https://gitlab.com/swak/UltimaXNA | C# | 212 lines
                    
11#region usings
                    
12using Microsoft.Xna.Framework;
                    
13using UltimaXNA.Core.Graphics;
                    
21
                    
22namespace UltimaXNA.Ultima.UI.WorldGumps
                    
23{
                    
                
PropertyNames.cs https://github.com/tforsberg/z.git | C# | 160 lines
                    
1//------------------------------------------------------------------------------
                    
2// <copyright file="WinFormsUtils.cs" company="Microsoft">
                    
3//     Copyright (c) Microsoft Corporation.  All rights reserved.
                    
6
                    
7namespace System.Windows.Forms.Layout {
                    
8    using System.Diagnostics.CodeAnalysis;
                    
14    internal class PropertyNames {
                    
15        [SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]
                    
16        public static readonly string Alignment = "Alignment";
                    
16        public static readonly string Alignment = "Alignment";
                    
17        [SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]
                    
18        public static readonly string Anchor = "Anchor";
                    
18        public static readonly string Anchor = "Anchor";
                    
19        [SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]
                    
20        public static readonly string AutoScroll = "AutoScroll";
                    
                
VSCodeGenAccessors.cs https://github.com/zeldin/OpenCBM.git | C# | 275 lines
                    
53    
                    
54    protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType("PaytonByrd.ProcessConfiguration", "PaytonByrd.ProcessConfiguration.Helpers.ResourceHelper");
                    
55    
                    
107    
                    
108    protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType("PaytonByrd.ProcessConfiguration", "PaytonByrd.ProcessConfiguration.ProcessParameterAttribute");
                    
109    
                    
190                pv_strParameterHelpResource};
                    
191        Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject priv_obj = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject("PaytonByrd.ProcessConfiguration", "PaytonByrd.ProcessConfiguration.ProcessParameterAttribute", new System.Type[] {
                    
192                    typeof(string),
                    
218    
                    
219    protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType("PaytonByrd.ProcessConfiguration", "PaytonByrd.ProcessConfiguration.ParameterValidationError");
                    
220    
                    
246        object[] args = new object[0];
                    
247        Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject priv_obj = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject("PaytonByrd.ProcessConfiguration", "PaytonByrd.ProcessConfiguration.ParameterValidationError", new System.Type[0], args);
                    
248        return priv_obj.Target;
                    
                
DataControllerDescriptionTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 192 lines
                    
10using Microsoft.Web.Http.Data.EntityFramework;
                    
11using Microsoft.Web.Http.Data.EntityFramework.Metadata;
                    
12using Microsoft.Web.Http.Data.Test.Models;
                    
13using Xunit;
                    
14using Assert = Microsoft.TestCommon.AssertEx;
                    
15
                    
15
                    
16namespace Microsoft.Web.Http.Data.Test
                    
17{
                    
99            Assert.True(entityTypes.Contains(typeof(Microsoft.Web.Http.Data.Test.Models.EF.Customer)));
                    
100            Assert.True(entityTypes.Contains(typeof(Microsoft.Web.Http.Data.Test.Models.EF.Employee)));
                    
101            Assert.True(entityTypes.Contains(typeof(Microsoft.Web.Http.Data.Test.Models.EF.Product)));
                    
182
                    
183    internal class IncludedAssociationTestController_ExplicitDataContract : LinqToEntitiesDataController<Microsoft.Web.Http.Data.Test.Models.EF.NorthwindEntities>
                    
184    {
                    
                
StructuredTypeEmitter.cs https://github.com/pruiz/mono.git | C# | 312 lines
                    
1//---------------------------------------------------------------------
                    
2// <copyright file="StructuredTypeEmitter.cs" company="Microsoft">
                    
3//      Copyright (c) Microsoft Corporation.  All rights reserved.
                    
5//
                    
6// @owner       Microsoft
                    
7// @backupOwner Microsoft
                    
24
                    
25namespace System.Data.EntityModel.Emitters
                    
26{
                    
                
SqlTypesSchemaImporter.cs https://github.com/pruiz/mono.git | C# | 248 lines
                    
46                          string[] references,
                    
47                          CodeNamespaceImport[] namespaceImports,
                    
48                          string destinationType,
                    
62            } else {
                    
63                m_namespaceImports = namespaceImports;
                    
64            }
                    
73                                                CodeCompileUnit compileUnit,
                    
74                                                CodeNamespace mainNamespace,
                    
75                                                CodeGenerationOptions options,
                    
92                                                CodeCompileUnit compileUnit,
                    
93                                                CodeNamespace mainNamespace,
                    
94                                                CodeGenerationOptions options,
                    
101                        compileUnit.ReferencedAssemblies.AddRange(m_references);
                    
102                        mainNamespace.Imports.AddRange(m_namespaceImports);
                    
103                        return m_destinationType;
                    
                
Pick.cs https://github.com/pruiz/mono.git | C# | 340 lines
                    
1//-----------------------------------------------------------------------------
                    
2// Copyright (c) Microsoft Corporation.  All rights reserved.
                    
3//-----------------------------------------------------------------------------
                    
4
                    
5namespace System.Activities.Statements
                    
6{
                    
                
PythonUwpInterpreter.cs https://gitlab.com/SplatoonModdingHub/PTVS | C# | 222 lines
                    
1// Python Tools for Visual Studio
                    
2// Copyright(c) Microsoft Corporation
                    
3// All rights reserved.
                    
22using System.Threading.Tasks;
                    
23using Microsoft.PythonTools.Analysis;
                    
24using Microsoft.PythonTools.Interpreter;
                    
25
                    
26namespace Microsoft.PythonTools.Uwp.Interpreter {
                    
27    class PythonUwpInterpreter : IPythonInterpreter, IPythonInterpreterWithProjectReferences2, IDisposable {
                    
                
ModuleManager.cs https://gitlab.com/SplatoonModdingHub/PTVS | C# | 177 lines
                    
1// Python Tools for Visual Studio
                    
2// Copyright(c) Microsoft Corporation
                    
3// All rights reserved.
                    
19using System.Linq;
                    
20using Microsoft.PythonTools.Debugger;
                    
21using Microsoft.PythonTools.DkmDebugger.Proxies;
                    
21using Microsoft.PythonTools.DkmDebugger.Proxies;
                    
22using Microsoft.PythonTools.DkmDebugger.Proxies.Structs;
                    
23using Microsoft.VisualStudio.Debugger;
                    
23using Microsoft.VisualStudio.Debugger;
                    
24using Microsoft.VisualStudio.Debugger.CustomRuntimes;
                    
25using Microsoft.VisualStudio.Debugger.Evaluation;
                    
27
                    
28namespace Microsoft.PythonTools.DkmDebugger {
                    
29    internal class ModuleManager : DkmDataItem {
                    
                
Sybase.pm git://pkgs.fedoraproject.org/perl-DBIx-Class-Schema-Loader | Perl | 500 lines
                    
7use List::MoreUtils 'any';
                    
8use namespace::clean;
                    
9
                    
22
                    
23This class reblesses into the L<DBIx::Class::Schema::Loader::DBI::Sybase::Microsoft_SQL_Server> class for connections to MSSQL.
                    
24
                    
31    my $DBMS_VERSION = @{$dbh->selectrow_arrayref(qq{sp_server_info \@attribute_id=1})}[2];
                    
32    if ($DBMS_VERSION =~ /^Microsoft /i) {
                    
33        $DBMS_VERSION =~ s/\s/_/g;
                    
                
AccessPolicyHelper.cs https://gitlab.com/jslee1/azure-powershell | C# | 190 lines
                    
2//
                    
3// Copyright Microsoft Corporation
                    
4// Licensed under the Apache License, Version 2.0 (the "License");
                    
14
                    
15namespace Microsoft.WindowsAzure.Commands.Storage.Common
                    
16{
                    
16{
                    
17    using Microsoft.WindowsAzure.Commands.Utilities.Common;
                    
18    using Microsoft.WindowsAzure.Storage.Blob;
                    
18    using Microsoft.WindowsAzure.Storage.Blob;
                    
19    using Microsoft.WindowsAzure.Storage.File;
                    
20    using Microsoft.WindowsAzure.Storage.Queue;
                    
20    using Microsoft.WindowsAzure.Storage.Queue;
                    
21    using Microsoft.WindowsAzure.Storage.Table;
                    
22    using System;
                    
                
StorageCloudBlobCmdletBase.cs https://gitlab.com/jslee1/azure-powershell | C# | 221 lines
                    
2//
                    
3// Copyright Microsoft Corporation
                    
4// Licensed under the Apache License, Version 2.0 (the "License");
                    
14
                    
15namespace Microsoft.WindowsAzure.Commands.Storage
                    
16{
                    
17    using Commands.Common.Storage.ResourceModel;
                    
18    using Microsoft.WindowsAzure.Commands.Common.Storage;
                    
19    using Microsoft.WindowsAzure.Commands.Storage.Common;
                    
19    using Microsoft.WindowsAzure.Commands.Storage.Common;
                    
20    using Microsoft.WindowsAzure.Commands.Storage.Model.Contract;
                    
21    using Microsoft.WindowsAzure.Storage;
                    
21    using Microsoft.WindowsAzure.Storage;
                    
22    using Microsoft.WindowsAzure.Storage.Blob;
                    
23    using System;
                    
                
PublishAzureVMDscConfigurationCommand.cs https://gitlab.com/jslee1/azure-powershell | C# | 206 lines
                    
1using Microsoft.Azure.Commands.Common.Authentication.Models;
                    
2using Microsoft.Azure.Commands.Compute.Common;
                    
2using Microsoft.Azure.Commands.Compute.Common;
                    
3using Microsoft.WindowsAzure.Commands.Common.Extensions.DSC;
                    
4using Microsoft.WindowsAzure.Commands.Common.Extensions.DSC.Publish;
                    
4using Microsoft.WindowsAzure.Commands.Common.Extensions.DSC.Publish;
                    
5using Microsoft.WindowsAzure.Storage.Auth;
                    
6using System;
                    
8
                    
9namespace Microsoft.Azure.Commands.Compute.Extension.DSC
                    
10{
                    
113        /// file must contain a hashtable with the items described in 
                    
114        /// http://technet.microsoft.com/en-us/library/dn249925.aspx.
                    
115        /// </summary>
                    
                
ComposablePartCatalogCollection.cs https://github.com/iainlane/mono.git | C# | 415 lines
                    
1// -----------------------------------------------------------------------
                    
2// Copyright (c) Microsoft Corporation.  All rights reserved.
                    
3// -----------------------------------------------------------------------
                    
11using System.Diagnostics;
                    
12using Microsoft.Internal;
                    
13using Microsoft.Internal.Collections;
                    
15
                    
16namespace System.ComponentModel.Composition.Hosting
                    
17{
                    
                
App.xaml.cs https://gitlab.com/generic-library/openh264 | C# | 223 lines
                    
6using System.Windows.Navigation;
                    
7using Microsoft.Phone.Controls;
                    
8using Microsoft.Phone.Shell;
                    
10
                    
11namespace CodecApp
                    
12{
                    
181        //
                    
182        // For more info on localizing Windows Phone apps see http://go.microsoft.com/fwlink/?LinkId=262072.
                    
183        //
                    
                
sat_scc.cpp https://bitbucket.org/chyh1990/z3.git | C++ | 241 lines
                    
1/*++
                    
2Copyright (c) 2011 Microsoft Corporation
                    
3
                    
24
                    
25namespace sat {
                    
26
                    
                
Solver.cs https://bitbucket.org/chyh1990/z3.git | C# | 301 lines
                    
1/*++
                    
2Copyright (c) 2012 Microsoft Corporation
                    
3
                    
22
                    
23namespace Microsoft.Z3
                    
24{
                    
                
LineSeries.cs https://github.com/kvervo/HorizontalLoopingSelector.git | C# | 268 lines
                    
1// (c) Copyright Microsoft Corporation.
                    
2// This source is subject to the Microsoft Public License (Ms-PL).
                    
2// This source is subject to the Microsoft Public License (Ms-PL).
                    
3// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
                    
4// All other rights reserved.
                    
14#if DEFINITION_SERIES_COMPATIBILITY_MODE
                    
15namespace System.Windows.Controls.DataVisualization.Charting
                    
16#else
                    
16#else
                    
17namespace System.Windows.Controls.DataVisualization.Charting.Compatible
                    
18#endif
                    
216        /// </summary>
                    
217        [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Polyline", Scope = "member", Target = "System.Windows.Controls.DataVisualization.Charting.Compatible.LineSeries.#PolylineStyle", Justification = "Matches spelling of same-named framework class.")]
                    
218        public Style PolylineStyle
                    
226        /// </summary>
                    
227        [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Polyline", Justification = "Matches spelling of same-named framework class.")]
                    
228        public static readonly DependencyProperty PolylineStyleProperty =
                    
                
BinaryParser.cs https://rxx.svn.codeplex.com/svn | C# | 481 lines
                    
7
                    
8namespace Rxx.Parsers
                    
9{
                    
323		/// enum type and converts them into an instance of the enum.</returns>
                    
324		[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Contracts", "RequiresAtCall-typeof(TEnum).IsEnum",
                    
325			Justification = "The static checker doesn't understand typeof(TEnum).IsEnum.")]
                    
                
Matrix.UnitTest.cs https://MSCompBio.svn.codeplex.com/svn | C# | 296 lines
                    
2//
                    
3// Copyright (c) Microsoft Corporation. All rights reserved.
                    
4//
                    
19
                    
20namespace Bio.Matrix
                    
21{
                    
                
GlobalSuppressions.cs https://rxx.svn.codeplex.com/svn | C# | 64 lines
                    
15[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net")]
                    
16[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.IO")]
                    
17[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Collections.Generic")]
                    
17[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Collections.Generic")]
                    
18[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Linq")]
                    
19[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "Rxx.Parsers.Linq")]
                    
22[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net.Mail")]
                    
23[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net.NetworkInformation")]
                    
24[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net.Sockets")]
                    
24[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net.Sockets")]
                    
25[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Reactive.Linq")]
                    
26[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Windows")]
                    
51[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "System.Reactive.Linq.Observable2.#FromAsyncPattern`4(System.FuncExtended`6<!!0,!!1,!!2,System.AsyncCallback,System.Object,System.IAsyncResult>,System.Func`2<System.IAsyncResult,!!3>)")]
                    
52[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "Microsoft.Phone.UserData")]
                    
53[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "System.Net.Sockets.SocketExtensions.#ReceiveUntilCompleted(System.Net.Sockets.Socket,System.Net.Sockets.SocketFlags)")]
                    
                
MenuAdapter.cs https://github.com/ShaneMcC/websitepanel.git | C# | 334 lines
                    
1// Material sourced from the bluePortal project (http://blueportal.codeplex.com).
                    
2// Licensed under the Microsoft Public License (available at http://www.opensource.org/licenses/ms-pl.html).
                    
3
                    
11
                    
12namespace CSSFriendly
                    
13{
                    
                
App.xaml.cs https://bitbucket.org/cjarrett/wp8maasdfaspsexamplessd.git | C# | 223 lines
                    
6using System.Windows.Navigation;
                    
7using Microsoft.Phone.Controls;
                    
8using Microsoft.Phone.Shell;
                    
10
                    
11namespace Marker
                    
12{
                    
181        //
                    
182        // For more info on localizing Windows Phone apps see http://go.microsoft.com/fwlink/?LinkId=262072.
                    
183        //
                    
                
company.rb https://github.com/wrozka/rails.git | Ruby | 218 lines
                    
25
                    
26module Namespaced
                    
27  class Company < ::Company
                    
30  class Firm < ::Company
                    
31    has_many :clients, :class_name => 'Namespaced::Client'
                    
32  end
                    
52  has_many :clients_with_interpolated_conditions, :class_name => "Client", :conditions => proc { "rating > #{rating}" }
                    
53  has_many :clients_like_ms, :conditions => "name = 'Microsoft'", :class_name => "Client", :order => "id"
                    
54  has_many :clients_like_ms_with_hash_conditions, :conditions => { :name => 'Microsoft' }, :class_name => "Client", :order => "id"
                    
                
ScoreCalculationAlternatives.feature.cs https://github.com/chrispfarrell/SpecFlow-Spike.git | C# | 195 lines
                    
12#region Designer generated code
                    
13namespace Bowling.SpecFlow
                    
14{
                    
19    [System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
                    
20    [Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute()]
                    
21    public partial class ScoreCalculationAlternativeFormsFeature
                    
28        
                    
29        [Microsoft.VisualStudio.TestTools.UnitTesting.ClassInitializeAttribute()]
                    
30        public static void FeatureSetup(Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext)
                    
37        
                    
38        [Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute()]
                    
39        public static void FeatureTearDown()
                    
49        
                    
50        [Microsoft.VisualStudio.TestTools.UnitTesting.TestCleanupAttribute()]
                    
51        public virtual void ScenarioTearDown()
                    
                
Program.cs https://bitbucket.org/leispire/phonegap.git | C# | 424 lines
                    
31// Windows Phone Emulator Libraries
                    
32using Microsoft.SmartDevice.Connectivity;
                    
33using Microsoft.SmartDevice.Connectivity.Interface;
                    
33using Microsoft.SmartDevice.Connectivity.Interface;
                    
34using Microsoft.SmartDevice.MultiTargeting.Connectivity;
                    
35
                    
36
                    
37namespace CordovaDeploy
                    
38{
                    
                
Master.cs https://bitbucket.org/pmfsampaio/netmf-lpc.git | C# | 151 lines
                    
1////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                    
2// Copyright (c) Microsoft Corporation.  All rights reserved.
                    
3////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                    
6using System.Reflection;
                    
7using Microsoft.SPOT.Platform.Test;
                    
8
                    
8
                    
9namespace Microsoft.SPOT.Platform.Tests
                    
10{
                    
                
Master.cs https://bitbucket.org/pmfsampaio/netmf-lpc.git | C# | 151 lines
                    
1////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                    
2// Copyright (c) Microsoft Corporation.  All rights reserved.
                    
3////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                    
6using System.Reflection;
                    
7using Microsoft.SPOT.Platform.Test;
                    
8
                    
8
                    
9namespace Microsoft.SPOT.Platform.Tests
                    
10{
                    
14        {
                    
15            string[] args = {  "NamespacesTests" };
                    
16            MFTestRunner runner = new MFTestRunner(args);
                    
                
sys_IconFromFileExt.vb https://github.com/max-weller/ScriptIDE.git | Visual Basic | 322 lines
                    
5Imports System.Runtime.InteropServices
                    
6Imports Microsoft.Win32
                    
7Imports System.Drawing
                    
8
                    
9Namespace FileTypeAndIcon
                    
10  ''' <summary>
                    
321  End Class
                    
322End Namespace
                    
323
                    
                
App.xaml.cs https://bitbucket.org/pylenius/communicationsample.git | C# | 223 lines
                    
6using System.Windows.Navigation;
                    
7using Microsoft.Phone.Controls;
                    
8using Microsoft.Phone.Shell;
                    
10
                    
11namespace PhoneTest
                    
12{
                    
181        //
                    
182        // For more info on localizing Windows Phone apps see http://go.microsoft.com/fwlink/?LinkId=262072.
                    
183        //
                    
                
PSSyncOutputEvents.cs https://gitlab.com/jslee1/azure-powershell | C# | 295 lines
                    
2//
                    
3// Copyright Microsoft Corporation
                    
4// Licensed under the Apache License, Version 2.0 (the "License");
                    
19using System.Management.Automation.Runspaces;
                    
20using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
                    
21using Microsoft.WindowsAzure.Commands.Sync;
                    
21using Microsoft.WindowsAzure.Commands.Sync;
                    
22using Microsoft.WindowsAzure.Commands.Sync.Upload;
                    
23using Microsoft.WindowsAzure.Commands.Tools.Vhd.Model;
                    
23using Microsoft.WindowsAzure.Commands.Tools.Vhd.Model;
                    
24using Microsoft.WindowsAzure.Storage;
                    
25using ProgressRecord = Microsoft.WindowsAzure.Commands.Sync.ProgressRecord;
                    
26
                    
27namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Model
                    
28{
                    
                
PSPoolSpecification.cs https://gitlab.com/jslee1/azure-powershell | C# | 375 lines
                    
2//
                    
3// Copyright Microsoft Corporation
                    
4// Licensed under the Apache License, Version 2.0 (the "License");
                    
23
                    
24namespace Microsoft.Azure.Commands.Batch.Models
                    
25{
                    
31
                    
32        internal Microsoft.Azure.Batch.PoolSpecification omObject;
                    
33
                    
49        {
                    
50            this.omObject = new Microsoft.Azure.Batch.PoolSpecification();
                    
51        }
                    
52
                    
53        internal PSPoolSpecification(Microsoft.Azure.Batch.PoolSpecification omObject)
                    
54        {
                    
                
MemoryMappedFile.cs https://github.com/ccflo/mono.git | C# | 393 lines
                    
33using System.Collections.Generic;
                    
34using Microsoft.Win32.SafeHandles;
                    
35using Mono.Unix.Native;
                    
38
                    
39namespace System.IO.MemoryMappedFiles
                    
40{
                    
                
DelegateHelpers.Generated.cs https://github.com/jdhardy/ironpython.git | C# | 293 lines
                    
2 *
                    
3 * Copyright (c) Microsoft Corporation. 
                    
4 *
                    
7 * you cannot locate the  Apache License, Version 2.0, please send an email to 
                    
8 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 
                    
9 * by the terms of the Apache License, Version 2.0.
                    
24#if !FEATURE_CORE_DLR
                    
25namespace Microsoft.Scripting.Ast.Compiler {
                    
26    using Microsoft.Scripting.Utils;
                    
27#else
                    
28namespace System.Linq.Expressions.Compiler {
                    
29#endif
                    
206        /// </summary>
                    
207        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
                    
208        private static Type MakeNewDelegate(Type[] types) {
                    
                
gl_image_dxgi.cc https://github.com/chromium/chromium.git | C++ | 406 lines
                    
22
                    
23namespace gl {
                    
24
                    
24
                    
25namespace {
                    
26// Keys used to acquire and release the keyed mutex.  Will need to be kept in
                    
106
                    
107EGLSurface CreatePbuffer(const Microsoft::WRL::ComPtr<ID3D11Texture2D>& texture,
                    
108                         gfx::BufferFormat format,
                    
133
                    
134}  // namespace
                    
135
                    
235  buffer_format_ = format;
                    
236  Microsoft::WRL::ComPtr<ID3D11Device> d3d11_device =
                    
237      QueryD3D11DeviceObjectFromANGLE();
                    
                
FileDocumentManager.cs https://github.com/leppie/IronScheme.VisualStudio.git | C# | 260 lines
                    
1/// Copyright (c) Microsoft Corporation.  All rights reserved.
                    
2
                    
5using System.Runtime.InteropServices;
                    
6using Microsoft.VisualStudio;
                    
7using Microsoft.VisualStudio.Shell.Interop;
                    
7using Microsoft.VisualStudio.Shell.Interop;
                    
8using IOleServiceProvider = Microsoft.VisualStudio.OLE.Interop.IServiceProvider;
                    
9
                    
9
                    
10namespace Microsoft.VisualStudio.Project
                    
11{
                    
45		/// </summary>
                    
46		/// <param name="editorFlags">Specifies actions to take when opening a specific editor. Possible editor flags are defined in the enumeration Microsoft.VisualStudio.Shell.Interop.__VSOSPEFLAGS</param>
                    
47		/// <param name="editorType">Unique identifier of the editor type</param>
                    
                
BuildDirectoryManagerL0.cs https://gitlab.com/srbhgupta/vsts-agent | C# | 318 lines
                    
1using Microsoft.TeamFoundation.DistributedTask.WebApi;
                    
2using Microsoft.VisualStudio.Services.Agent.Worker;
                    
2using Microsoft.VisualStudio.Services.Agent.Worker;
                    
3using Microsoft.VisualStudio.Services.Agent.Worker.Build;
                    
4using Moq;
                    
11
                    
12namespace Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build
                    
13{
                    
                
WaitHandle.cs https://bitbucket.org/luobailiang/mono.git | C# | 411 lines
                    
36using System.Runtime.InteropServices;
                    
37using Microsoft.Win32.SafeHandles;
                    
38using System.Runtime.ConstrainedExecution;
                    
39
                    
40namespace System.Threading
                    
41{
                    
                
Relayout.cs https://gitlab.com/hoseinyeganloo/automatic-graph-layout | C# | 294 lines
                    
5using System.Linq;
                    
6using Microsoft.Msagl.Core;
                    
7using Microsoft.Msagl.Core.DataStructures;
                    
7using Microsoft.Msagl.Core.DataStructures;
                    
8using Microsoft.Msagl.Core.Geometry;
                    
9using Microsoft.Msagl.Core.Layout;
                    
9using Microsoft.Msagl.Core.Layout;
                    
10using Microsoft.Msagl.Core.Routing;
                    
11using Microsoft.Msagl.Layout.Incremental;
                    
11using Microsoft.Msagl.Layout.Incremental;
                    
12using Microsoft.Msagl.Layout.Layered;
                    
13using Microsoft.Msagl.Layout.MDS;
                    
21
                    
22namespace Microsoft.Msagl.Layout.Initial {
                    
23    /// <summary>
                    
                
SplineRouterTests.cs https://gitlab.com/hoseinyeganloo/automatic-graph-layout | C# | 338 lines
                    
12#if GDI_DEBUG_VIEWER
                    
13using Microsoft.Msagl.GraphViewerGdi;
                    
14#endif
                    
14#endif
                    
15using Microsoft.Msagl.Core;
                    
16using Microsoft.Msagl.Core.DataStructures;
                    
17using Microsoft.Msagl.Core.Geometry;
                    
18using Microsoft.Msagl.Core.Geometry.Curves;
                    
19using Microsoft.Msagl.Core.Layout;
                    
19using Microsoft.Msagl.Core.Layout;
                    
20using Microsoft.Msagl.Core.Routing;
                    
21using Microsoft.Msagl.DebugHelpers.Persistence;
                    
28
                    
29namespace Microsoft.Msagl.UnitTests
                    
30{
                    
                
ILGeneratorTest.cs https://github.com/cschlote/mono.git | C# | 430 lines
                    
15
                    
16namespace MonoTests.System.Reflection.Emit
                    
17{
                    
189#if NET_2_0
                    
190		[Category ("NotDotNet")] // MS bug: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=304610
                    
191#endif
                    
207		[Test] // Emit (OpCode, ConstructorInfo)
                    
208		[Category ("NotWorking")] // MS bug: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=304610
                    
209		public void Emit3_Constructor_Null_MS ()
                    
235		[Test] // Emit (OpCode, Label [])
                    
236		[Category ("NotDotNet")] // MS bug: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=304610
                    
237		public void Emit10_Labels_Null ()
                    
252		[Test]
                    
253		[Category ("NotWorking")] // MS bug: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=304610
                    
254		public void Emit10_Labels_Null_MS ()
                    
                
LinkTest.cs https://extendedmvc.svn.codeplex.com/svn | C# | 449 lines
                    
6using ExtendedMvc.Tests.Model.Entities;
                    
7using Microsoft.VisualStudio.TestTools.UnitTesting;
                    
8
                    
8
                    
9namespace ExtendedMvc.Tests {
                    
10
                    
                
Saml2Assertion.cs https://github.com/pruiz/mono.git | C# | 240 lines
                    
1//-----------------------------------------------------------------------
                    
2// <copyright file="Saml2Assertion.cs" company="Microsoft">
                    
3//     Copyright (c) Microsoft Corporation.  All rights reserved.
                    
6
                    
7namespace System.IdentityModel.Tokens
                    
8{
                    
                
wave.cpp http://boxvivid.googlecode.com/svn/trunk/ | C++ | 576 lines
                    
10#else
                    
11// Microsoft doesn't include min, though it's part of the standard library!
                    
12template<class T>
                    
17
                    
18using namespace std;
                    
19
                    
                
GetDeviceFrameworkPath.cs https://bitbucket.org/pmfsampaio/netmf-lpc.git | C# | 322 lines
                    
5using System.Text;
                    
6using Microsoft.Build.Framework;
                    
7using Microsoft.Build.Utilities;
                    
7using Microsoft.Build.Utilities;
                    
8using Microsoft.Win32;
                    
9using System.Diagnostics;
                    
12
                    
13namespace Microsoft.SPOT.Tasks
                    
14{
                    
19            public const string Default = "";
                    
20            public const string FrameworkRegistryBase = @"Software\Microsoft\.NETMicroFramework";
                    
21            public const string FrameworkRegistryBase32 = @"Software\Wow6432Node\Microsoft\.NETMicroFramework";
                    
                
store.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 175 lines
                    
26		localStorageName = 'localStorage',
                    
27		namespace = '__storejs__',
                    
28		storage
                    
89		// iframe pointing to the favicon in an ActiveXObject(htmlfile) object
                    
90		// (see: http://msdn.microsoft.com/en-us/library/aa752574(v=VS.85).aspx)
                    
91		// since the iframe access rules appear to allow direct access and
                    
111				args.unshift(storage)
                    
112				// See http://msdn.microsoft.com/en-us/library/ms531081(v=VS.85).aspx
                    
113				// and http://msdn.microsoft.com/en-us/library/ms531424(v=VS.85).aspx
                    
163	try {
                    
164		store.set(namespace, namespace)
                    
165		if (store.get(namespace) != namespace) { store.disabled = true }
                    
165		if (store.get(namespace) != namespace) { store.disabled = true }
                    
166		store.remove(namespace)
                    
167	} catch(e) {
                    
                
MessageDictionary.cs https://github.com/oyvindkinsey/dotnetopenid.git | C# | 409 lines
                    
6
                    
7namespace DotNetOpenAuth.Messaging.Reflection {
                    
8	using System;
                    
278		/// <param name="item">The name-value pair to add.  The name is the serialized form of the key.</param>
                    
279		[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "Code Contracts ccrewrite does this.")]
                    
280		public void Add(KeyValuePair<string, string> item) {
                    
399		/// </summary>
                    
400		[SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Justification = "Called by code contracts.")]
                    
401		[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Called by code contracts.")]
                    
                
MovingEffect.cs https://gitlab.com/swak/UltimaXNA | C# | 190 lines
                    
12using System;
                    
13using Microsoft.Xna.Framework;
                    
14using UltimaXNA.Ultima.World.Entities.Items;
                    
19
                    
20namespace UltimaXNA.Ultima.World.Entities.Effects
                    
21{
                    
                
security_level.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 221 lines
                    
9
                    
10namespace sandbox {
                    
11
                    
134// the PROC_THREAD_ATTRIBUTE_MITIGATION_POLICY attribute argument; documented
                    
135// here: http://msdn.microsoft.com/en-us/library/windows/desktop/ms686880
                    
136// Some mitigations are implemented directly by the sandbox or emulated to
                    
201// directories can be added via the Windows AddDllDirectory() function.
                    
202// http://msdn.microsoft.com/en-us/library/windows/desktop/hh310515
                    
203// Must be enabled after startup.
                    
218
                    
219}  // namespace sandbox
                    
220
                    
                
App.xaml.cs https://gitlab.com/prabaprakash/Real_Metro_Player | C# | 319 lines
                    
12
                    
13// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234227
                    
14
                    
14
                    
15namespace IPlayer
                    
16{
                    
                
ScriptControl.cs https://cfx.svn.codeplex.com/svn | C# | 391 lines
                    
44        private const string ScriptAppDomainFriendlyName = "ScriptDomain";
                    
45        private const string ContainerNamespace = "ScriptContainerNamespace";
                    
46        private const string ContainerClassName = "ScriptContainer";
                    
122                {
                    
123                    sc.AddNamespaceImport(this.CodeNamespaceImports[i]);
                    
124                }
                    
141        /// <summary>
                    
142        /// Adds a namespace import.
                    
143        /// </summary>
                    
266        {
                    
267            CodeNamespace ns = new CodeNamespace(ContainerNamespace);
                    
268
                    
271            {
                    
272                ns.Imports.Add(new CodeNamespaceImport(this.CodeNamespaceImports[i]));
                    
273            }
                    
                
CompilationHandler.cs https://gitlab.com/dotnetfoundation/sdk | C# | 278 lines
                    
13using System.Threading.Tasks;
                    
14using Microsoft.CodeAnalysis;
                    
15using Microsoft.CodeAnalysis.CSharp;
                    
15using Microsoft.CodeAnalysis.CSharp;
                    
16using Microsoft.CodeAnalysis.ExternalAccess.Watch.Api;
                    
17using Microsoft.CodeAnalysis.Text;
                    
17using Microsoft.CodeAnalysis.Text;
                    
18using Microsoft.Extensions.Tools.Internal;
                    
19
                    
19
                    
20namespace Microsoft.DotNet.Watcher.Tools
                    
21{
                    
                
DynamicTypeGenerator.cs https://github.com/iainlane/mono.git | C# | 125 lines
                    
2 *
                    
3 * Copyright (c) Microsoft Corporation. All rights reserved.
                    
4 *
                    
4 *
                    
5 * This software is subject to the Microsoft Public License (Ms-PL). 
                    
6 * A copy of the license can be found in the license.htm file included 
                    
12
                    
13namespace System.Web.Mvc {
                    
14    using System;
                    
99
                    
100            // based on http://msdn.microsoft.com/en-us/library/system.reflection.emit.typebuilder.definemethodoverride.aspx
                    
101            MethodBuilder newMethod = newType.DefineMethod(interfaceMethod.DeclaringType.Name + "." + interfaceMethod.Name,
                    
                
InitializationScopeTests.cs https://github.com/iainlane/mono.git | C# | 150 lines
                    
1// -----------------------------------------------------------------------
                    
2// Copyright (c) Microsoft Corporation.  All rights reserved.
                    
3// -----------------------------------------------------------------------
                    
9using System.Linq;
                    
10using Microsoft.VisualStudio.TestTools.UnitTesting;
                    
11
                    
11
                    
12namespace System.ComponentModel.Composition
                    
13{
                    
                
DsComentarios.xsd https://bitbucket.org/rjulietagarcia/estadisticas.git | XML Schema | 90 lines
                    
1<?xml version="1.0" encoding="utf-8"?>
                    
2<xs:schema id="DsComentarios" targetNamespace="http://tempuri.org/DsComentarios.xsd" xmlns:mstns="http://tempuri.org/DsComentarios.xsd" xmlns="http://tempuri.org/DsComentarios.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
                    
3  <xs:annotation>
                    
3  <xs:annotation>
                    
4    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
                    
5      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
                    
                
Representer.cs https://github.com/thomo13/ironruby.git | C# | 243 lines
                    
14 * Copyright (C) 2007 Ola Bini <ola@ologix.com>
                    
15 * Copyright (c) Microsoft Corporation.
                    
16 * 
                    
22using System.Reflection;
                    
23using Microsoft.Scripting.Runtime;
                    
24using Microsoft.Scripting.Utils;
                    
26
                    
27namespace IronRuby.StandardLibrary.Yaml {
                    
28    public class Representer {
                    
                
StringResources.Designer.cs https://iupp.svn.codeplex.com/svn | C# | 325 lines
                    
10
                    
11namespace vkUpploaderApp {
                    
12    using System;
                    
30        
                    
31        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
                    
32        internal StringResources() {
                    
                
Sample3DynamicPublishSubscribeTests.cs https://rockbus.svn.codeplex.com/svn | C# | 255 lines
                    
1using Microsoft.VisualStudio.TestTools.UnitTesting;
                    
2using RockBus.Clients.Interfaces;
                    
17
                    
18namespace RockBus.Samples._3DynamicPublishSubscribe
                    
19{
                    
                
Sample5DatabaseTransportTests.cs https://rockbus.svn.codeplex.com/svn | C# | 259 lines
                    
1using Microsoft.VisualStudio.TestTools.UnitTesting;
                    
2using RockBus.Clients.Interfaces;
                    
18
                    
19namespace RockBus.Samples._5DatabaseTransport.Dapper.SqlServer
                    
20{
                    
                
MembershipSection.cs https://github.com/directhex/mono-1.git | C# | 163 lines
                    
1//------------------------------------------------------------------------------
                    
2// <copyright file="MembershipSection.cs" company="Microsoft">
                    
3//     Copyright (c) Microsoft Corporation.  All rights reserved.
                    
6
                    
7namespace System.Web.Configuration {
                    
8    using System;
                    
56                <add name="AspNetSqlMembershipProvider"
                    
57                    type="System.Web.Security.SqlMembershipProvider, System.Web, Version=%ASSEMBLY_VERSION%, Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%"
                    
58                    connectionStringName="LocalSqlServer"
                    
70                    passwordFormat="Hashed"
                    
71                    description="Stores and retrieves membership data from the local Microsoft SQL Server database"
                    
72                />
                    
                
DsBusquedaInmuebles.xsd https://bitbucket.org/rjulietagarcia/estadisticas.git | XML Schema | 140 lines
                    
1<?xml version="1.0" encoding="utf-8"?>
                    
2<xs:schema xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:mstns="http://tempuri.org/DsBusquedaInmuebles.xsd" xmlns="http://tempuri.org/DsBusquedaInmuebles.xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/DsBusquedaInmuebles.xsd" id="DsBusquedaInmuebles" xmlns:xs="http://www.w3.org/2001/XMLSchema">
                    
3  <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="DsBusquedaInmuebles">
                    
                
browser_switcher_service.cc https://github.com/chromium/chromium.git | C++ | 412 lines
                    
28
                    
29namespace browser_switcher {
                    
30
                    
30
                    
31namespace {
                    
32
                    
54            "Mode, see: "
                    
55            "https://docs.microsoft.com/internet-explorer/ie11-deploy-guide"
                    
56            "/what-is-enterprise-mode"
                    
81
                    
82}  // namespace
                    
83
                    
411
                    
412}  // namespace browser_switcher
                    
413
                    
                
Reader.cs https://gitlab.com/taveek/cordova-plugin-barcodescanner | C# | 197 lines
                    
1/*
                    
2 * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
                    
3 *
                    
10
                    
11namespace WinRTBarcodeReader
                    
12{
                    
                
ServerBehaviour.cs https://bitbucket.org/fernandofig/smtp4dev.git | C# | 272 lines
                    
15
                    
16namespace Rnwood.Smtp4dev
                    
17{
                    
128            {
                    
129                //RegistryKey key = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows", false);
                    
130                //string sdkPath = (string)key.GetValue("CurrentInstallFolder", null);
                    
135                //    string makeCertArgs =
                    
136                //        "-r -pe -n CN=\"{0}\" -e {1} -eku 1.3.6.1.5.5.7.3.1 -sky exchange -ss my -sp \"Microsoft RSA SChannel Cryptographic Provider\" -sy 12";
                    
137
                    
                
GamePadState.cs https://github.com/notJUSTguitar/MonoGame.git | C# | 168 lines
                    
43
                    
44namespace Microsoft.Xna.Framework.Input
                    
45{
                    
90     
                    
91        public bool IsButtonDown(Microsoft.Xna.Framework.Input.Buttons button)
                    
92        {
                    
95
                    
96        public bool IsButtonUp(Microsoft.Xna.Framework.Input.Buttons button)
                    
97        {
                    
133            {
                    
134                buttons |= Microsoft.Xna.Framework.Input.Buttons.Y;
                    
135            }
                    
137            {
                    
138                buttons |= Microsoft.Xna.Framework.Input.Buttons.Back;
                    
139            }
                    
                
X86MCTargetDesc.cpp https://gitlab.com/Birhetia/platform_external_llvm | C++ | 270 lines
                    
33
                    
34using namespace llvm;
                    
35
                    
126             TheTriple.isWindowsCoreCLREnvironment()) {
                    
127    MAI = new X86MCAsmInfoMicrosoft(TheTriple);
                    
128  } else if (TheTriple.isOSCygMing() ||
                    
                
 

Source

Language