100+ results results for 'namespace microsoft' (279 ms)
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)")]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 { 10ScriptControl.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 }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{ExceptionTests.cs https://IronPython.svn.codeplex.com/svn | C# | 812 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. 18 19namespace IronRuby.Tests { 20 public partial class Tests {WeakDictionary.cs https://IronPython.svn.codeplex.com/svn | C# | 398 lines
7 * you cannot locate the Microsoft Public License, 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 Microsoft Public License. 15 16using System; using Microsoft; 17using System.Collections.Generic; 20 21namespace Microsoft.Scripting.Utils { 22 /// <summary> 70 71 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")] // TODO: fix 72 public ICollection<TKey> Keys { 86 87 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")] // TODO: fix 88 public ICollection<TValue> Values {EntityConfigurations.cs https://cfx.svn.codeplex.com/svn | C# | 319 lines
3* Project: CSEFCodeOnly 4* Copyright (c) Microsoft Corporation. 5* 8* 9* This source is subject to the Microsoft Public License. 10* See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. 22using System.Text; 23using Microsoft.Data.Objects; 24#endregion 25 26namespace CSEFCodeOnly 27{OpenDBConnection.cs https://spm.svn.codeplex.com/svn | C# | 334 lines
8 9//using Microsoft.SqlServer.Management.Smo; 10using System.Data.SqlClient; 10using System.Data.SqlClient; 11//using Microsoft.SqlServer.Management.Common; 12using Microsoft.Win32; 14 15namespace Keutmann.SharePointManager.Forms 16{ControlIdentifiers.Designer.cs https://prism.svn.codeplex.com/svn | C# | 305 lines
1//=================================================================================== 2// Microsoft patterns & practices 3// Composite Application Guidance for Windows Presentation Foundation and Silverlight 4//=================================================================================== 5// Copyright (c) Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 26 27namespace ModularityWithMef.Tests.AcceptanceTest.TestData { 28 using System; 46 47 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 48 internal ControlIdentifiers() {dl_check_table.cpp https://git01.codeplex.com/z3 | C++ | 364 lines
1/*++ 2Copyright (c) 2010 Microsoft Corporation 3 25 26namespace datalog { 27PCGamePad.cs https://fitclub.svn.codeplex.com/svn | C# | 258 lines
3// <copyright file="PCGamePad.cs" company="Faculty of Information Technology, Czech Technical University in Prague"> 4// This document is shared by Microsoft Public License (MS-PL) 5// For further details please see http://msdn.microsoft.com/en-us/library/ff648068.aspx or license.txt. 19using System.Collections.Generic; 20using Microsoft.Xna.Framework.Input; 21using Nuclex.Input; 22 23namespace ExternalClasses.Controls 24{Orphan.cs https://LinqOverCSharp.svn.codeplex.com/svn | C# | 265 lines
7using CSharpTreeBuilder.ProjectContent; 8using Microsoft.VisualStudio.TestTools.UnitTesting; 9using SoftwareApproach.TestingExtensions; 10 11namespace CSharpTreeBuilderTest 12{ 16 /// <summary> 17 /// Error CS0101: The namespace 'A' already contains a definition for 'B' (namespace and class) 18 /// </summary> 20 //[TestMethod] 21 public void CS0101_ClassAndNamespaceSameName() 22 { 23 var project = new CSharpProject(WorkingFolder); 24 project.AddFile(@"EntityBuilderSyntaxNodeVisitor\CS0101_ClassAndNamespaceSameName.cs"); 25 InvokeParser(project, true, false).ShouldBeTrue();ParallelAlgorithms_Scan.cs https://hg.codeplex.com/associativy | C# | 218 lines
2// 3// Copyright (c) Microsoft Corporation. All rights reserved. 4// 12 13namespace System.Threading.Algorithms 14{XmlRpcHandler.cs https://hg01.codeplex.com/orchard | C# | 348 lines
22 23namespace Orchard.Blogs.Services { 24 [UsedImplicitly] 52 public void SetCapabilities(XElement options) { 53 const string manifestUri = "http://schemas.microsoft.com/wlw/manifest/weblog"; 54 options.SetElementValue(XName.Get("supportsSlug", manifestUri), "Yes");PerformanceMeasurement.cs https://hg.codeplex.com/measureitdotnet | C# | 287 lines
1/* Copyright (c) Microsoft Corporation. All rights reserved. */ 2/* AUTHOR: Vance Morrison Date : 10/20/2007 */ 14 15namespace PerformanceMeasurement 16{ReflectionComposablePartDefinitionTests.cs https://hg.codeplex.com/mef | C# | 342 lines
1// ----------------------------------------------------------------------- 2// Copyright (c) Microsoft Corporation. All rights reserved. 3// ----------------------------------------------------------------------- 8using System.Reflection; 9using Microsoft.Internal; 10using Microsoft.VisualStudio.TestTools.UnitTesting; 15 16namespace System.ComponentModel.Composition.ReflectionModel 17{JXLoader.cs https://JADENGINE.svn.codeplex.com/svn | C# | 567 lines
5 6using Microsoft.DirectX; 7using Microsoft.DirectX.Direct3D; 16 17namespace JadEngine.Import 18{GlobalSuppressions.cs https://SLExtensions.svn.codeplex.com/svn | C# | 71 lines
58[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", MessageId = "0#", Scope = "member", Target = "Microsoft.Expression.Encoder.AdaptiveStreaming.IUrlGenerator.#GenerateUrlStringForChunk(System.String,System.Int32,System.Int32,System.UInt64,System.Int64,System.Int64)")] 59[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", MessageId = "0#", Scope = "member", Target = "Microsoft.Expression.Encoder.AdaptiveStreaming.StreamInfo.#.ctor(System.String,System.String,System.Int32,System.Windows.Media.MediaStreamType,System.Int32)")] 60[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors", Scope = "type", Target = "Microsoft.Expression.Encoder.AdaptiveStreaming.ChunkParserException")] 61[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors", Scope = "type", Target = "MS.Internal.Expression.Encoder.AdaptiveStreaming.Utilities.ChunkNotParsedException")] 62[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors", Scope = "type", Target = "Microsoft.Expression.Encoder.AdaptiveStreaming.AdaptiveStreamingException")] 63[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1014:MarkAssembliesWithClsCompliant")] 63[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1014:MarkAssembliesWithClsCompliant")] 64[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Microsoft.Expression.Encoder.AdaptiveStreaming.BandwidthCalculator.#GetLastCalculation()")] 65[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Microsoft.Expression.Encoder.AdaptiveStreaming.IChunkParser.#GetFrame()")] 65[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Microsoft.Expression.Encoder.AdaptiveStreaming.IChunkParser.#GetFrame()")] 66[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Expression.Encoder.AdaptiveStreaming.AdaptiveStreamingSource.#DoSample(Microsoft.Expression.Encoder.AdaptiveStreaming.AdaptiveStreamingSource+WorkQueueElement)")] 67[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "MS.Internal.Expression.Encoder.AdaptiveStreaming.Parsing.FragmentedMp4ParserImpl.#ParseHeader(System.IO.Stream)")] 68[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Expression.Encoder.AdaptiveStreaming.GetFrameData.#DrmData")] 69[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "MS.Internal.Expression.Encoder.AdaptiveStreaming.Manifest.ManifestParserImpl.#ParseStreamInfo(System.Xml.XmlReader,System.Int32,System.String,Microsoft.Expression.Encoder.AdaptiveStreaming.ManifestInfo)")] 70[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "MS.Internal.Expression.Encoder.AdaptiveStreaming.Utilities.Configuration+Heuristics+FrameRate.#.cctor()")]frmStopLight.cs https://ConferenceXP.svn.codeplex.com/svn | C# | 327 lines
12 13namespace MSR.LST.ConferenceXP 14{ 33 /// </summary> 34 [global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303")] 35 private void InitializeComponent()LibraryNode.cs https://guidanceExplorer.svn.codeplex.com/svn | C# | 314 lines
1//=============================================================================== 2// Microsoft patterns & practices 3// Guidance Explorer Offline Client 4//=============================================================================== 5// Copyright Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 17 18namespace GuidanceExplorer.Controls 19{ReflectionModelServices.cs https://spm.svn.codeplex.com/svn | C# | 352 lines
1// ----------------------------------------------------------------------- 2// Copyright (c) Microsoft Corporation. All rights reserved. 3// ----------------------------------------------------------------------- 7using System.Reflection; 8using Microsoft.Internal; 9using System.Collections.Generic; 13 14namespace System.ComponentModel.Composition.ReflectionModel 15{ 107 108 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] 109 public static ComposablePartDefinition CreatePartDefinition( 128 129 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] 130 public static ExportDefinition CreateExportDefinition(DafnyProvider.cs https://hg.codeplex.com/boogie | C# | 386 lines
7 8namespace Microsoft.Boogie.ModelViewer.Dafny 9{Button.cs https://gadgeteer.svn.codeplex.com/svn | C# | 315 lines
2using Gadgeteer.Interfaces; 3using Microsoft.SPOT; 4 8 9namespace Gadgeteer.Modules.Sytech 10{ 18 /// using System; 19 /// using Microsoft.SPOT; 20 /// using Microsoft.SPOT.Presentation; 20 /// using Microsoft.SPOT.Presentation; 21 /// using Microsoft.SPOT.Presentation.Controls; 22 /// using Microsoft.SPOT.Presentation.Media; 28 /// 29 /// namespace GadgeteerAppGettingStarted 30 /// {SettingsPage.cs https://VFPX.svn.codeplex.com/svn | C# | 432 lines
2 3Copyright (c) Microsoft Corporation. All rights reserved. 4This code is licensed under the Visual Studio SDK license terms. 11 12using Microsoft.VisualStudio.OLE.Interop; 13using Microsoft.VisualStudio.Shell.Interop; 13using Microsoft.VisualStudio.Shell.Interop; 14using Microsoft.VisualStudio.Designer.Interfaces; 15using System; 26 27namespace Microsoft.VisualStudio.Package 28{ 34 public abstract class SettingsPage : 35 Microsoft.VisualStudio.Package.LocalizableProperties, 36 IPropertyPageChannel.cs https://hg01.codeplex.com/cul | C# | 328 lines
56 Contract.Requires<ArgumentException>(Element.Name.Equals("channel", StringComparison.CurrentCultureIgnoreCase), "Element is not a channel"); 57 XmlNamespaceManager NamespaceManager = new XmlNamespaceManager(Element.OwnerDocument.NameTable); 58 XmlNode Node = Element.SelectSingleNode("./title", NamespaceManager); 62 } 63 Node = Element.SelectSingleNode("./link", NamespaceManager); 64 if (Node != null) 67 } 68 Node = Element.SelectSingleNode("./description", NamespaceManager); 69 if (Node != null) 87 } 88 Node = Element.SelectSingleNode("./pubdate", NamespaceManager); 89 if (Node != null) 92 } 93 XmlNodeList Nodes = Element.SelectNodes("./category", NamespaceManager); 94 foreach (XmlNode TempNode in Nodes)MetaWeblogController.cs https://oxite.svn.codeplex.com/svn | C# | 250 lines
54 { 55 XNamespace rsdNamespace = "http://archipelago.phrasewise.com/rsd"; 56 XDocument rsd = new XDocument( 56 XDocument rsd = new XDocument( 57 new XElement(rsdNamespace + "rsd", new XAttribute("version", "1.0"), 58 new XElement(rsdNamespace + "service", 58 new XElement(rsdNamespace + "service", 59 new XElement(rsdNamespace + "engineName", "Oxite"), 60 new XElement(rsdNamespace + "engineLink", Url.Oxite()), 70 71 protected XElement[] GenerateRsdApiList(Blog blog, XNamespace rsdNamespace) 72 { 202 { 203 XNamespace ns = "http://schemas.microsoft.com/wlw/manifest/weblog"; 204TriggerCollection.cs https://tridentworkflow.svn.codeplex.com/svn | C# | 356 lines
2// 3// Copyright (c) Microsoft. All rights reserved. 4// This code is licensed under the Apache License, Version 2.0. 11 12namespace Microsoft.Research.eResearch.WFServiceLibrary.SchedulerLogic 13{StorageCredentialsAccountAndKey.cs https://watoolkitwp7.svn.codeplex.com/svn | C# | 265 lines
1// ---------------------------------------------------------------------------------- 2// Microsoft Developer & Platform Evangelism 3// 3// 4// Copyright (c) Microsoft Corporation. All rights reserved. 5// 16 17namespace Microsoft.Samples.WindowsPhoneCloud.StorageClient.Credentials 18{streamTest.cs https://FacebookToolkit.svn.codeplex.com/svn | C# | 308 lines
1using Microsoft.VisualStudio.TestTools.UnitTesting; 2using Facebook.Schema; 7 8namespace Facebook.Tests.Synchronous 9{Picking.cs https://hg01.codeplex.com/3dfm | C# | 296 lines
4using System.Collections.Generic; 5using Microsoft.Xna.Framework; 6using Microsoft.Xna.Framework.Content; 6using Microsoft.Xna.Framework.Content; 7using Microsoft.Xna.Framework.Graphics; 8using Microsoft.Xna.Framework.Input; 10 11namespace _3D_FileExplorer 12{SpriteFactory.cs https://agro2d.svn.codeplex.com/svn | C# | 295 lines
36using System.Collections.Generic; 37using Microsoft.Xna.Framework; 38using Microsoft.Xna.Framework.Audio; 38using Microsoft.Xna.Framework.Audio; 39using Microsoft.Xna.Framework.Content; 40using Microsoft.Xna.Framework.Graphics; 40using Microsoft.Xna.Framework.Graphics; 41using Microsoft.Xna.Framework.Input; 42using Microsoft.Xna.Framework.Storage; 48 49namespace Agro2D 50{CBFSWinUtil.cs https://Liquesce.svn.codeplex.com/svn | C# | 224 lines
37 38namespace CBFS 39{ 111 112 // Check http://msdn.microsoft.com/en-us/library/ms819772.aspx (WinError.h) for error codes 113 // From WinError.h -> http://msdn.microsoft.com/en-us/library/windows/desktop/ms681382%28v=vs.85%29.aspxResources.Designer.cs https://LinqLib.svn.codeplex.com/svn | C# | 379 lines
10 11namespace LinqLib.Properties 12{ 30 31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 internal Resources()FeatureCreator.cs https://cksdev.svn.codeplex.com/svn | C# | 291 lines
6 7using Microsoft.VisualStudio.SharePoint; 8 13 14namespace CKS.Dev.WCT.ModelCreators 15{TaskServiceTest.cs https://Calcium.svn.codeplex.com/svn | C# | 396 lines
8 9using Microsoft.VisualStudio.TestTools.UnitTesting; 10 10 11namespace DanielVaughan.Tests.TaskModel 12{FileCodeModelHelper.cs https://vssdkassist.svn.codeplex.com/svn | C# | 463 lines
22 /// <returns></returns> 23 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:ValidateArgumentsOfPublicMethods")] 24 public static object GetActiveCodeElement(DTE vs, FileCodeModel fileCodeModel, Type codeElementType) 34 35 if(codeElementType.IsAssignableFrom(typeof(CodeNamespace))) 36 { 38 { 39 element = (CodeNamespace)fileCodeModel.CodeElementFromPoint( 40 point, 40 point, 41 vsCMElement.vsCMElementNamespace); 42 return element; 143 /// <param name="dontCreateIfExists">if set to <c>true</c> [dont create if exists].</param> 144 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:ValidateArgumentsOfPublicMethods")] 145 public static void AddAttribute(CodeClass element, string attributeName, string attributeValue, bool dontCreateIfExists)TeamMembersListViewModelSpecs.cs https://scrumsprintmonitor.svn.codeplex.com/svn | C# | 455 lines
1// ReSharper disable InconsistentNaming 2namespace ScrumSprintMonitor.WorkItemMonitor.Test 3{ 19 20 using Microsoft.Practices.ServiceLocation; 21MainWindow.xaml.cs https://chessconcur.svn.codeplex.com/svn | C# | 299 lines
2// 3// Copyright (c) Microsoft Corporation. All rights reserved. 4// 19 20namespace AntisocialRobots 21{ImapFetchQueryTranslator.cs https://equinox.svn.codeplex.com/svn | C# | 287 lines
1#region Microsoft Public License (Ms-PL) 2 2 3// // Microsoft Public License (Ms-PL) 4// // 45 46namespace Crystalbyte.Equinox.Imap.Linq 47{DotNetSCORMControlBase.cs https://dotnetscorm.svn.codeplex.com/svn | C# | 254 lines
1/* Copyright (c) Microsoft Corporation. All rights reserved. */ 2 2 3// MICROSOFT PROVIDES SAMPLE CODE "AS IS" AND WITH ALL FAULTS, AND WITHOUT ANY WARRANTY WHATSOEVER. 4// MICROSOFT EXPRESSLY DISCLAIMS ALL WARRANTIES WITH RESPECT TO THE SOURCE CODE, INCLUDING BUT NOT 24using System.Web.UI.WebControls.WebParts; 25using Microsoft.LearningComponents; 26using Microsoft.LearningComponents.Storage; 35 36namespace DotNetSCORM.LearningAPI 37{LeafCellTreeNode.cs https://git01.codeplex.com/entityframework | C# | 321 lines
1// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. 2 2 3namespace System.Data.Entity.Core.Mapping.ViewGeneration.Structures 4{VMListViewModel.cs https://UACluster2.svn.codeplex.com/svn | C# | 371 lines
6using System.Collections.ObjectModel; 7using Microsoft.Practices.Composite.Wpf.Commands; 8using System.Windows; 11 12namespace VMClusterManager.ViewModels 13{Ventas.Designer.cs https://arso.svn.codeplex.com/svn | C# | 276 lines
1namespace Ventas 2{ 57 this.label1.AutoSize = true; 58 this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 59 this.label1.Location = new System.Drawing.Point(245, 9);CallConstructorStrategyFixture.cs https://websf.svn.codeplex.com/svn | C# | 384 lines
1using Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan; 2using Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan; 2using Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan; 3using Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.Creation; 4using Microsoft.Practices.CompositeWeb.Tests.Mocks; 4using Microsoft.Practices.CompositeWeb.Tests.Mocks; 5using Microsoft.Practices.CompositeWeb.Tests.Mocks.ObjectBuilder.BuildPlan.DynamicMethodPlan.Creation; 6using Microsoft.Practices.ObjectBuilder; 6using Microsoft.Practices.ObjectBuilder; 7using Microsoft.VisualStudio.TestTools.UnitTesting; 8 8 9namespace Microsoft.Practices.CompositeWeb.Tests.ObjectBuilder.BuildPlan.DynamicMethodPlan.Creation 10{HiveFileMapper.cs https://cksdev.svn.codeplex.com/svn | C# | 333 lines
9using CKS.Dev.WCT.ModelCreators; 10using Microsoft.VisualStudio.SharePoint; 11 11 12namespace CKS.Dev.WCT.Mappers 13{ 324 if (!this.WCTContext.SourceProject.IsCSharp 325 && !string.IsNullOrEmpty(this.WCTContext.SourceProject.RootNamespace)) 326 { 326 { 327 fullClassName = String.Format("{0}.{1}", this.WCTContext.SourceProject.RootNamespace, fullClassName); 328 }WSSExport.cs https://wssimex.svn.codeplex.com/svn | C# | 306 lines
7using System.Xml; 8using Microsoft.SharePoint; 9using Microsoft.SharePoint.Administration; 9using Microsoft.SharePoint.Administration; 10using Microsoft.SharePoint.Deployment; 11using Microsoft.SharePoint.WebPartPages; 13 14namespace ImpEx.Engine 15{ 214 return ( 215 !name.StartsWith("microsoft.sharepoint.") && 216 !name.StartsWith("microsoft.sharepoint,") && 216 !name.StartsWith("microsoft.sharepoint,") && 217 !name.StartsWith("microsoft.build.") && 218 !name.StartsWith("microsoft.build,") &&ModifyPropertyBag.aspx.cs https://pbs2010.svn.codeplex.com/svn | C# | 297 lines
3using System.Web.UI.WebControls; 4using Microsoft.SharePoint; 5using Microsoft.SharePoint.WebControls; 6 7namespace Havivi.PropertyBagSettings 8{SpatialServicesTests.cs https://git01.codeplex.com/entityframework | C# | 349 lines
1// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. 2using System; 12 13namespace ProviderTests 14{CalendarExtender.cs https://git01.codeplex.com/ajaxcontroltoolkit | C# | 279 lines
19 20namespace AjaxControlToolkit { 21 /// <summary> 138 [IDReferenceProperty] 139 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase", Justification = "Following ASP.NET AJAX pattern")] 140 public virtual string PopupButtonID {TableStoragePagingUtility.vb https://cfx.svn.codeplex.com/svn | Visual Basic | 252 lines
3'* Project: AzureTableStoragePaging 4'* Copyright (c) Microsoft Corporation. 5'* 9'* 10'* This source is subject to the Microsoft Public License. 11'* See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. 17'\************************************************************************** 18Imports Microsoft.WindowsAzure 19Imports Microsoft.WindowsAzure.StorageClient 20 21Namespace Utilities 22 Public Class TableStoragePagingUtility(Of T) 249 End Class 250End Namespace 251ProjectInstaller.cs https://pubsub.svn.codeplex.com/svn | C# | 285 lines
10 11namespace Microsoft.WebSolutionsPlatform.Event 12{UCTranslate.Designer.cs https://doctranslate.svn.codeplex.com/svn | C# | 271 lines
1namespace docTranslate 2{ 58 this.groupBox1.Controls.Add(this.label2); 59 this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 60 this.groupBox1.Location = new System.Drawing.Point(48, 3); 69 this.cbbTo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 70 this.cbbTo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 71 this.cbbTo.FormattingEnabled = true; 79 this.cbbFrom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 80 this.cbbFrom.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 81 this.cbbFrom.FormattingEnabled = true; 89 this.label3.AutoSize = true; 90 this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 91 this.label3.Location = new System.Drawing.Point(45, 96); 99 this.label2.AutoSize = true; 100 this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 101 this.label2.Location = new System.Drawing.Point(43, 48);PolicyInjectionSettingsFixture.cs https://entlib.svn.codeplex.com/svn | C# | 309 lines
1//=============================================================================== 2// Microsoft patterns & practices Enterprise Library 3// Policy Injection Application Block 4//=============================================================================== 5// Copyright Å Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 12using System.Linq; 13using Microsoft.Practices.EnterpriseLibrary.Common.Configuration; 14using Microsoft.Practices.EnterpriseLibrary.Common.TestSupport.Configuration.ContainerModel; 14using Microsoft.Practices.EnterpriseLibrary.Common.TestSupport.Configuration.ContainerModel; 15using Microsoft.Practices.EnterpriseLibrary.PolicyInjection.Configuration; 16using Microsoft.Practices.EnterpriseLibrary.PolicyInjection.TestSupport.ObjectsUnderTest; 19 20namespace Microsoft.Practices.EnterpriseLibrary.PolicyInjection.Tests.Configuration 21{Fixture.cs https://hg.codeplex.com/autofixture | C# | 298 lines
6 7namespace Ploeh.AutoFixture 8{ 184 /// </remarks> 185 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Justification = "Although this CA warning should never be suppressed, this particular usage scenario has been discussed and accepted on the FxCop DL.")] 186 public ICustomizationComposer<T> Build<T>()DynamicDuck.cs https://hg.codeplex.com/adnug | C# | 261 lines
8 9namespace Dynamic.Duck 10{ 40 /// </remarks> 41 [SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Justification = "By design.")] 42 public static T AsIf<T>(IDynamicMetaObjectProvider target) where T : classDataFlow.cs https://git01.codeplex.com/rawviewer | C# | 265 lines
14using Microsoft.SqlServer.Dts.Pipeline; 15using Microsoft.SqlServer.Dts.Pipeline.Wrapper; 16using Microsoft.SqlServer.Dts.DtsClient; 25 // Package, Pipe, Connection Members 26 private Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageClass _objPackage = new Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageClass(); 27 private MainPipe _objMainPipe = null; 28 private IDTSPath100 _objIDTSPath = null; 29 private Microsoft.SqlServer.Dts.Runtime.Wrapper.Application app = null; 30 31 // Metadata Members 32 private Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100 _objIDTSSRCMetaData; 33 private Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100 _objIDTSDSTReaderMetaData; 43 private const string _strSourceDFComponentID = "DTSAdapter.RawSource.2"; 44 private const string _strDestinationDFReaderComponentID = "Microsoft.SqlServer.Dts.Pipeline.DataReaderDestinationAdapter, Microsoft.SqlServer.DataReaderDest, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"; 45ConfigureServerShape.cs https://DiskSpaceMonitoring.svn.codeplex.com/svn | C# | 278 lines
2 3Copyright (c) 2007 Microsoft Corporation 4 18using System.Collections; 19using Visio = Microsoft.Office.Interop.Visio; 20using System.Windows.Forms; 26 27namespace NRTMAddIn 28{ConsoleDispatcher.cs https://hg01.codeplex.com/nugetgallery | C# | 0 lines
7using System.Windows.Media; 8using Microsoft.VisualStudio.Text; 9using NuGet; 10 11namespace NuGetConsole.Implementation.Console { 12 105 if (handler != null) { 106 Microsoft.VisualStudio.Shell.ThreadHelper.Generic.Invoke(() => handler(this, EventArgs.Empty)); 107 } 140 if (host.IsCommandEnabled) { 141 Microsoft.VisualStudio.Shell.ThreadHelper.Generic.Invoke(_dispatcher.Start); 142 }log4net.Appender.SmtpAppenderMethods.html https://NSsh.svn.codeplex.com/svn | HTML | 79 lines
3 <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> 4 <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> 5 <title>SmtpAppender Methods</title> 34<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Appender.AppenderSkeleton.DoAppend_overloads.html">DoAppend</a> (inherited from <b>AppenderSkeleton</b>)</td><td width="50%">Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific <a href="log4net.Appender.AppenderSkeleton.Append_overload_2.html">Append</a> method. </td></tr> 35<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassEqualsTopic.asp">Equals</a> (inherited from <b>Object</b>)</td><td width="50%"> 36 Determines whether the specified <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</a> is equal to the current <b>Object</b>. 38<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Appender.BufferingAppenderSkeleton.Flush_overloads.html">Flush</a> (inherited from <b>BufferingAppenderSkeleton</b>)</td><td width="50%">Overloaded. Flush the currently buffered events </td></tr> 39<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassGetHashCodeTopic.asp">GetHashCode</a> (inherited from <b>Object</b>)</td><td width="50%"> 40 Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. 41 </td></tr> 42<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassGetTypeTopic.asp">GetType</a> (inherited from <b>Object</b>)</td><td width="50%"> 43 Gets the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemTypeClassTopic.asp">Type</a> of the current instance. 45<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassToStringTopic.asp">ToString</a> (inherited from <b>Object</b>)</td><td width="50%"> 46 Returns a <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</a> that represents the current <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</a>. 47 </td></tr></table>ServiceLocatorTest.cs https://codetitans.svn.codeplex.com/svn | C# | 363 lines
29#else 30using Microsoft.VisualStudio.TestTools.UnitTesting; 31#endif 32 33namespace CodeTitans.UnitTests.Services 34{ColorGradient.cs https://sle.svn.codeplex.com/svn | C# | 298 lines
37 38namespace starLiGHT.Noise.Noise 39{ 43 using System.Text; 44 using Microsoft.Xna.Framework; 45 using Microsoft.Xna.Framework.Graphics;PropertyGrid2.xaml.cs https://git01.codeplex.com/snoopwpf | C# | 432 lines
1// (c) Copyright Cory Plotts. 2// This source is subject to the Microsoft Public License (Ms-PL). 3// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 16 17namespace Snoop 18{Settings.Designer.cs https://hg01.codeplex.com/npe | C# | 228 lines
10 11namespace PackageExplorer.Properties { 12 14 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] 16 public sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 51 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 52 [global::System.Configuration.DefaultSettingValueAttribute("https://go.microsoft.com/fwlink/?LinkID=230477")] 53 public string PackageSource {BroadPhase.cs https://sle.svn.codeplex.com/svn | C# | 423 lines
2using System; 3using Microsoft.Xna.Framework; 4using System.Diagnostics; 78 79namespace starLiGHT.Physic.TwoD 80{GuidPartitionTableTest.cs https://hg01.codeplex.com/discutils | C# | 204 lines
26 27namespace DiscUtils.Partitions 28{ 70 Assert.AreEqual(2, table.Partitions.Count); 71 Assert.AreEqual(GuidPartitionTypes.MicrosoftReserved, table[0].GuidType); 72 Assert.AreEqual(32 * 1024 * 1024, table[0].SectorCount * 512); 73 74 // Make sure the partition fills from first to last usable, allowing for MicrosoftReserved sector. 75 Assert.AreEqual(table[0].LastSector + 1, table[idx].FirstSector); 90 Assert.AreEqual(2, table.Partitions.Count); 91 Assert.AreEqual(GuidPartitionTypes.MicrosoftReserved, table[0].GuidType); 92 Assert.AreEqual(128 * 1024 * 1024, table[0].SectorCount * 512); 93 94 // Make sure the partition fills from first to last usable, allowing for MicrosoftReserved sector. 95 Assert.AreEqual(table[0].LastSector + 1, table[idx].FirstSector);Web.config https://SharpMap.svn.codeplex.com/svn | ASP.NET | 108 lines
38 <controls> 39 <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 40 <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 41 </controls> 42 <namespaces> 43 <add namespace="System.Web.Mvc" /> 43 <add namespace="System.Web.Mvc" /> 44 <add namespace="System.Web.Mvc.Ajax" /> 45 <add namespace="System.Web.Mvc.Html" /> 45 <add namespace="System.Web.Mvc.Html" /> 46 <add namespace="System.Web.Routing" /> 47 <add namespace="System.Linq" /> 47 <add namespace="System.Linq" /> 48 <add namespace="System.Collections.Generic" /> 49 </namespaces>D3D11ComputeShaderPipelineStage.h https://hg01.codeplex.com/poshconsole | C Header | 144 lines
1//Copyright (c) Microsoft Corporation. All rights reserved. 2 6 7namespace Microsoft { namespace WindowsAPICodePack { namespace DirectX { namespace Direct3D11 { 8PositionModuleFixture.cs https://prism.svn.codeplex.com/svn | C# | 186 lines
1//=============================================================================== 2// Microsoft patterns & practices 3// Composite Application Guidance for Windows Presentation Foundation 4//=============================================================================== 5// Copyright (c) Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 20using System.Linq; 21using Microsoft.VisualStudio.TestTools.UnitTesting; 22using Core.UIItems; 29 30namespace StockTraderRI.AcceptanceTests.AutomatedTests 31{DefaultPropertyValidator.cs https://entlib.svn.codeplex.com/svn | C# | 201 lines
1//=============================================================================== 2// Microsoft patterns & practices Enterprise Library 3// Core 4//=============================================================================== 5// Copyright Å Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 15using System.Linq; 16using Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Properties; 17using Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel; 20 21namespace Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation 22{ 39 40 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")] 41 private static bool TryGetConvertedValue(Property property, string value, IList<ValidationResult> errors, out object convertedValue)MainWnd.cs https://streaminsight.svn.codeplex.com/svn | C# | 317 lines
1// StockInsight 2// - Microsoft StreamInsight application examples 3// (C) Johan Ĺhlén, 2010. Released under Apache License 2.0 (http://www.apache.org/licenses/) 15using System.ServiceModel.Channels; 16using Microsoft.ComplexEventProcessing; 17using Microsoft.ComplexEventProcessing.Linq; 20 21namespace AdvantIQ.StockInsight 22{ 32 33 private Microsoft.ComplexEventProcessing.Application application; 34XsltBasedFunctionProviderElementProvider.cs https://CompositeC1.svn.codeplex.com/svn | C# | 264 lines
32using Composite.C1Console.Workflow; 33using Microsoft.Practices.EnterpriseLibrary.Common.Configuration; 34using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder; 34using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder; 35using Microsoft.Practices.ObjectBuilder; 36 37 38namespace Composite.Plugins.Elements.ElementProviders.XsltBasedFunctionProviderElementProvider 39{ 104 where function.Name.ToLowerInvariant().Contains(keyword) || 105 function.Namespace.ToLowerInvariant().Contains(keyword) 106 orderby function.Name 222 223 public string Namespace 224 {SvnRibbon.Designer.cs https://officesvn.svn.codeplex.com/svn | C# | 234 lines
1namespace WordSVN { 2 partial class SvnRibbon { 25 private void InitializeComponent() { 26 this.officeSvnTab = new Microsoft.Office.Tools.Ribbon.RibbonTab(); 27 this.lockGroup = new Microsoft.Office.Tools.Ribbon.RibbonGroup(); 27 this.lockGroup = new Microsoft.Office.Tools.Ribbon.RibbonGroup(); 28 this.getLockButton = new Microsoft.Office.Tools.Ribbon.RibbonButton(); 29 this.releaseLockButton = new Microsoft.Office.Tools.Ribbon.RibbonButton(); 29 this.releaseLockButton = new Microsoft.Office.Tools.Ribbon.RibbonButton(); 30 this.commitGroup = new Microsoft.Office.Tools.Ribbon.RibbonGroup(); 31 this.addButton = new Microsoft.Office.Tools.Ribbon.RibbonButton(); 31 this.addButton = new Microsoft.Office.Tools.Ribbon.RibbonButton(); 32 this.revertButton = new Microsoft.Office.Tools.Ribbon.RibbonButton(); 33 this.commentEditBox = new Microsoft.Office.Tools.Ribbon.RibbonEditBox(); 33 this.commentEditBox = new Microsoft.Office.Tools.Ribbon.RibbonEditBox(); 34 this.commitButton = new Microsoft.Office.Tools.Ribbon.RibbonButton(); 35 this.updateButton = new Microsoft.Office.Tools.Ribbon.RibbonButton();VsPkg.cs https://WarcraftAddOnStudio.svn.codeplex.com/svn | C# | 266 lines
2 3Copyright (c) 2006 Microsoft Corporation. All rights reserved. 4 7using EnvDTE; 8using Microsoft.VisualStudio; 9using Microsoft.VisualStudio.OLE.Interop; 9using Microsoft.VisualStudio.OLE.Interop; 10using Microsoft.VisualStudio.Shell; 11using Microsoft.VisualStudio.Shell.Interop; 17 18namespace Microsoft.Samples.VisualStudio.PowerToy.SourceOutliner 19{ 39 // the /root switch. 40 [DefaultRegistryRoot("Software\\Microsoft\\VisualStudio\\9.0")] 41jet_indexlist.cs https://managedese.svn.codeplex.com/svn | C# | 292 lines
1//----------------------------------------------------------------------- 2// <copyright file="jet_indexlist.cs" company="Microsoft Corporation"> 3// Copyright (c) Microsoft Corporation. 6 7namespace Microsoft.Isam.Esent.Interop 8{ 17 [StructLayout(LayoutKind.Sequential)] 18 [SuppressMessage("Microsoft.StyleCop.CSharp.NamingRules", 19 "SA1305:FieldNamesMustNotUseHungarianNotation", 21 [SuppressMessage( 22 "Microsoft.StyleCop.CSharp.NamingRules", 23 "SA1307:AccessibleFieldsMustBeginWithUpperCaseLetter", 133 [SuppressMessage( 134 "Microsoft.StyleCop.CSharp.NamingRules", 135 "SA1300:ElementMustBeginWithUpperCaseLetter",TwitterGetUserNetworkDialog.cs https://NetMap.svn.codeplex.com/svn | C# | 375 lines
2 3// Copyright (c) Microsoft Corporation. All rights reserved. 4 8using System.Diagnostics; 9using Microsoft.SocialNetworkLib; 10 10 11namespace Microsoft.NodeXL.GraphDataProviders.Twitter 12{RemoteConsoleHost.cs https://IronSmalltalk.svn.codeplex.com/svn | C# | 286 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. 23 24namespace Microsoft.Scripting.Hosting.Shell.Remote { 25 /// <summary> 120 121 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] 122 protected virtual void OnRemoteRuntimeExited(object sender, EventArgs args) { 138 139 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] // TODO: This is protected only for test code, which could be rewritten to not require this to be protected 140 protected virtual void OnOutputDataReceived(object sender, DataReceivedEventArgs eventArgs) {MediaFoundationTransform.cs https://hg01.codeplex.com/naudio | C# | 286 lines
5 6namespace NAudio.MediaFoundation 7{ 183 /// Some useful info here: 184 /// http://msdn.microsoft.com/en-gb/library/windows/desktop/aa965264%28v=vs.85%29.aspx#process_data 185 /// </summary>Controller.cs https://netmf.svn.codeplex.com/svn | C# | 413 lines
1////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 2// This file is part of the Microsoft .NET Micro Framework Porting Kit Code Samples and is unsupported. 3// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. 26 27namespace Microsoft.SPOT.Debugger.WireProtocol 28{XmlEditor.cs https://iswix.svn.codeplex.com/svn | C# | 207 lines
23 24namespace XmlEditorDesigner 25{ 57 58 if (_mgr.Document.GetWiXNameSpace() == "http://schemas.microsoft.com/wix/2006/wi") 59 { 90 doc = XDocument.Parse(editor.Text); 91 if (_mgr.Schemas.Contains(_mgr.DefaultNamespace.ToString())) 92 {StringReaderTests.cs https://codetitans.svn.codeplex.com/svn | C# | 204 lines
30#else 31using Microsoft.VisualStudio.TestTools.UnitTesting; 32#endif 33 34namespace CodeTitans.UnitTests.Core 35{BoxContactManifold.cs https://hg01.codeplex.com/xnafinalengine | C# | 239 lines
5using BEPUutilities.ResourceManagement; 6using Microsoft.Xna.Framework; 7using BEPUutilities.DataStructures; 9 10namespace BEPUphysics.CollisionTests.Manifolds 11{InstancedMeshPairHandler.cs https://hg01.codeplex.com/xnafinalengine | C# | 217 lines
10using BEPUphysics.Settings; 11using Microsoft.Xna.Framework; 12using BEPUutilities; 13 14namespace BEPUphysics.NarrowPhaseSystems.Pairs 15{App.xaml.cs https://wp7adrotator.svn.codeplex.com/svn | C# | 223 lines
6using System.Windows.Navigation; 7using Microsoft.Phone.Controls; 8using Microsoft.Phone.Shell; 10 11namespace AdRotatorExample.WP8 12{ 181 // 182 // For more info on localizing Windows Phone apps see http://go.microsoft.com/fwlink/?LinkId=262072. 183 //AfaOperator.cs https://streaminsight.svn.codeplex.com/svn | C# | 245 lines
2// 3// Copyright (c) Microsoft. All rights reserved. 4// This code is licensed under the Apache 2.0 License. 12 13namespace StreamInsight.Samples.UserExtensions.Afa 14{ 17 using System.Runtime.Serialization; 18 using Microsoft.ComplexEventProcessing; 19 using Microsoft.ComplexEventProcessing.Extensibility;BlobTrackerTypes.cs https://swrobotics.svn.codeplex.com/svn | C# | 509 lines
1//----------------------------------------------------------------------- 2// This file is part of Microsoft Robotics Developer Studio Code Samples. 3// 3// 4// Copyright (C) Microsoft Corporation. All rights reserved. 5// 7//----------------------------------------------------------------------- 8using Microsoft.Ccr.Core; 9using Microsoft.Dss.Core.Attributes; 9using Microsoft.Dss.Core.Attributes; 10using Microsoft.Dss.ServiceModel.Dssp; 11using System; 18 19namespace Microsoft.Robotics.Services.Sample.BlobTracker 20{LinqTemplatesCommon.vb https://GenDotNet.svn.codeplex.com/svn | Visual Basic | 250 lines
16Public Class Support 17 Private Const vbcrlf As String = Microsoft.VisualBasic.ControlChars.CrLf 18 99 '<%= OutputImports(importList) %> 100 ' <%= OutputNamespace(nspace) %> 101 ' </code> 112 '<%= If(String.IsNullOrEmpty(nspace), "", <code> 113 'End Namespace 114 ' </code>.Value) %> 125 '<%= If(String.IsNullOrEmpty(nspace), "", <code> 126 'End Namespace 127 ' </code>.Value) %> 134 135 ' Public Shared Function OutputNamespace(ByVal nspace As String) As String 136 ' Return <code>ServiceDeskController.cs https://fjycUnifyShow.svn.codeplex.com/svn | C# | 206 lines
6using Wicresoft.UnifyShow.Business; 7using Microsoft.Practices.Unity; 8using System.Windows.Forms.DataVisualization.Charting; 12 13namespace Wicresoft.UnifyShow.Portal.Controllers 14{RetryPolicyConfigurationSettings.cs https://hg.codeplex.com/hashfoosqlserver | C# | 173 lines
1//======================================================================================= 2// Microsoft Windows Server AppFabric Customer Advisory Team (CAT) Best Practices Series 3// 7//======================================================================================= 8// Copyright © 2010 Microsoft Corporation. All rights reserved. 9// 16 17namespace HashFoo.SqlServer.TransientDbConnection 18{sat_scc.cpp https://git01.codeplex.com/z3 | C++ | 242 lines
1/*++ 2Copyright (c) 2011 Microsoft Corporation 3 24 25namespace sat { 26App.xaml.cs https://git01.codeplex.com/yna | C# | 223 lines
6using System.Windows.Navigation; 7using Microsoft.Phone.Controls; 8using Microsoft.Phone.Shell; 10 11namespace YnPhoneGame 12{ 181 // 182 // For more info on localizing Windows Phone apps see http://go.microsoft.com/fwlink/?LinkId=262072. 183 //SykboxProcessor.cs https://git01.codeplex.com/xnags30unleashed | C# | 222 lines
2using System.Collections.Generic; 3using Microsoft.Xna.Framework; 4using Microsoft.Xna.Framework.Graphics; 4using Microsoft.Xna.Framework.Graphics; 5using Microsoft.Xna.Framework.Content.Pipeline; 6using Microsoft.Xna.Framework.Content.Pipeline.Graphics; 6using Microsoft.Xna.Framework.Content.Pipeline.Graphics; 7using Microsoft.Xna.Framework.Content.Pipeline.Processors; 8 8 9using TInput = Microsoft.Xna.Framework.Content.Pipeline.Graphics.Texture2DContent; 10using TOutput = SkyboxPipeline.SkyboxContent; 13 14namespace SkyboxPipeline 15{App.xaml.cs https://git01.codeplex.com/websocket4net | C# | 223 lines
6using System.Windows.Navigation; 7using Microsoft.Phone.Controls; 8using Microsoft.Phone.Shell; 10 11namespace WP8Test 12{ 181 // 182 // For more info on localizing Windows Phone apps see http://go.microsoft.com/fwlink/?LinkId=262072. 183 //Schema.Expressions.cs https://git01.codeplex.com/signum | C# | 237 lines
7using System.IO; 8using Microsoft.SqlServer.Server; 9using Signum.Utilities; 19 20namespace Signum.Engine.Maps 21{EventManager.cs https://hg.codeplex.com/themvcforum | C# | 291 lines
9 10namespace MVCForum.Domain.Events 11{ 105 106 if (nextAssembly.FullName.StartsWith("System") || nextAssembly.FullName.StartsWith("Microsoft")) 107 { 107 { 108 // Skip microsoft assemblies 109 continue;SiteMapMenuAdapter.cs https://hg01.codeplex.com/mojoportal | C# | 348 lines
1/// Originally from Microsoft, Sample released under 2/// MS Permissive License 2/// MS Permissive License 3/// http://www.microsoft.com/resources/sharedsource/licensingbasics/permissivelicense.mspx 4/// (see license-ms-permissive.txt in the root of the solution) 25 26namespace mojoPortal.Web 27{Manager.cs https://hg01.codeplex.com/sharpsnmplib | C# | 296 lines
24#pragma warning disable 612,618 25namespace Lextm.SharpSnmpLib.Messaging 26{ 247 /// <returns></returns> 248 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1814:PreferJaggedArraysOverMultidimensional", MessageId = "Return", Justification = "ByDesign")] 249 public Variable[,] GetTable(IPEndPoint endpoint, string community, ObjectIdentifier table) 266 /// <returns></returns> 267 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1814:PreferJaggedArraysOverMultidimensional", MessageId = "Return", Justification = "ByDesign")] 268 public Variable[,] GetTable(IPAddress address, string community, ObjectIdentifier table) 279 /// <returns></returns> 280 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1814:PreferJaggedArraysOverMultidimensional", MessageId = "Return", Justification = "ByDesign")] 281 public Variable[,] GetTable(string address, string community, ObjectIdentifier table)ContentTypeConfiguration.cs https://sharepointobjects.svn.codeplex.com/svn | C# | 283 lines
5using System.Web.UI.WebControls; 6using Microsoft.SharePoint; 7using TST.SharePoint.Shared; 10 11namespace TST.WebParts 12{ExcelPSHost.cs https://ExcelPoSH.svn.codeplex.com/svn | C# | 437 lines
6using System.Management.Automation.Host; 7using Excel = Microsoft.Office.Interop.Excel; 8using System.Reflection; 10 11namespace ExcelPoSH 12{EditMembershipProviders.cs https://CKS.svn.codeplex.com/svn | C# | 252 lines
5using System.Configuration; 6using Microsoft.SharePoint; 7using Microsoft.SharePoint.WebControls; 7using Microsoft.SharePoint.WebControls; 8using Microsoft.SharePoint.Administration; 9using System.Web.UI.WebControls; 11 12namespace CKS.FormsBasedAuthentication 13{RegionManagerExtensions.cs https://PasswordMgr.svn.codeplex.com/svn | C# | 174 lines
1//=================================================================================== 2// Microsoft patterns & practices 3// Composite Application Guidance for Windows Presentation Foundation and Silverlight 4//=================================================================================== 5// Copyright (c) Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 19using System.Threading; 20using Microsoft.Practices.Prism.Properties; 21using Microsoft.Practices.ServiceLocation; 22 23namespace Microsoft.Practices.Prism.Regions 24{Transform2D.cs https://sle.svn.codeplex.com/svn | C# | 300 lines
34 35namespace starLiGHT.Collision 36{ 40 using System.Text; 41 using Microsoft.Xna.Framework; 42 #endregionFeatureMapper.cs https://cksdev.svn.codeplex.com/svn | C# | 260 lines
4using System.Xml; 5using Microsoft.VisualStudio.SharePoint; 6using CKS.Dev.WCT.Common; 9using CKS.Dev.WCT.ModelCreators; 10using Microsoft.VisualStudio.SharePoint.Features; 11using CKS.Dev.WCT.Framework.Extensions; 15 16namespace CKS.Dev.WCT.Mappers 17{ 199 200 Microsoft.VisualStudio.SharePoint.Features.FeatureScope featureScope = Microsoft.VisualStudio.SharePoint.Features.FeatureScope.Site; 201 if (Enum.TryParse(featureDef.Scope.ToString(), out featureScope)) 251 if (!this.WCTContext.SourceProject.IsCSharp 252 && !string.IsNullOrEmpty(this.WCTContext.SourceProject.RootNamespace)) 253 {CustomActionHandlers.cs https://spbulkactions.svn.codeplex.com/svn | C# | 181 lines
4// ****************************************************************************** 5namespace BulkListActions 6{ 10 using System.Collections.Specialized; 11 using Microsoft.SharePoint; 12 using Microsoft.SharePoint.Utilities;StraightLineMovementComponent.cs https://modelvirtualcasting.svn.codeplex.com/svn | C# | 197 lines
4// 5// Microsoft XNA Community Game Platform 6// Copyright (C) Microsoft Corporation. All rights reserved. 15using System.Text; 16using Microsoft.Xna.Framework; 17using Microsoft.Xna.Framework.Graphics; 21 22namespace NinjaBra 23{MetaWeblogController.cs https://oxite.svn.codeplex.com/svn | C# | 246 lines
54 { 55 XNamespace rsdNamespace = "http://archipelago.phrasewise.com/rsd"; 56 XDocument rsd = new XDocument( 56 XDocument rsd = new XDocument( 57 new XElement(rsdNamespace + "rsd", new XAttribute("version", "1.0"), 58 new XElement(rsdNamespace + "service", 58 new XElement(rsdNamespace + "service", 59 new XElement(rsdNamespace + "engineName", "Oxite"), 60 new XElement(rsdNamespace + "engineLink", Url.Oxite()), 70 71 protected XElement[] GenerateRsdApiList(BlogAddress blogAddress, XNamespace rsdNamespace) 72 { 198 { 199 XNamespace ns = "http://schemas.microsoft.com/wlw/manifest/weblog"; 200WorkflowManagerModule.cs https://tridentworkflow.svn.codeplex.com/svn | C# | 228 lines
2// 3// Copyright (c) Microsoft. All rights reserved. 4// This code is licensed under the Apache License, Version 2.0. 11 12using Microsoft.Research.ScientificWorkflow.ManagementStudioControls.Interfaces; 13using Microsoft.Research.ScientificWorkflow.TridentUtilities; 13using Microsoft.Research.ScientificWorkflow.TridentUtilities; 14using Microsoft.Research.ScientificWorkflow.UIDesigner.WpfComposite; 15using Microsoft.Practices.Unity; 16 17namespace Microsoft.Research.ScientificWorkflow.ManagementStudioControls.WorkflowManagerModule 18{VsMultipleFileGenerator.cs https://csd.svn.codeplex.com/svn | C# | 310 lines
18 19namespace Microsoft.Samples.DslTools.ConfigurationSectionDesigner 20{ 20{ 21 public abstract class VsMultipleFileGenerator<IterativeElementType> : IEnumerable<IterativeElementType>, Microsoft.VisualStudio.TextTemplating.VSHost.IVsSingleFileGenerator, IObjectWithSite 22 { 72 { 73 Microsoft.VisualStudio.OLE.Interop.IServiceProvider oleServiceProvider = site as Microsoft.VisualStudio.OLE.Interop.IServiceProvider; 74 serviceProvider = new ServiceProvider( oleServiceProvider ); 113 114 public void Generate( string wszInputFilePath, string bstrInputFileContents, string wszDefaultNamespace, out IntPtr rgbOutputFileContents, out int pcbOutput, Microsoft.VisualStudio.TextTemplating.VSHost.IVsGeneratorProgress pGenerateProgress ) 115 { 123 EnvDTE.ProjectItem item; 124 Microsoft.VisualStudio.Shell.Interop.VSDOCUMENTPRIORITY[] pdwPriority = new Microsoft.VisualStudio.Shell.Interop.VSDOCUMENTPRIORITY[1]; 125MatchPropertiesVisitor.cs https://ajaxmin.svn.codeplex.com/svn | C# | 435 lines
2// 3// Copyright 2010 Microsoft Corporation 4// 16 17namespace Microsoft.Ajax.Utilities 18{OnesComplement.cs https://IronPython.svn.codeplex.com/svn | C# | 271 lines
3#else 4using Microsoft.Scripting.Ast; 5#endif 10 11namespace ETScenarios.Operators { 12 using EU = ETUtils.ExpressionUtils; 13 using Expr = Expression; 14 using AstUtils = Microsoft.Scripting.Ast.Utils; 15DsNhatKyChungTuSo5.xsd https://AccountingGuid.svn.codeplex.com/svn | XML Schema | 87 lines
1<?xml version="1.0" encoding="utf-8"?> 2<xs:schema id="DsNhatKyChungTuSo5" targetNamespace="http://tempuri.org/DsNhatKyChungTuSo5.xsd" xmlns:mstns="http://tempuri.org/DsNhatKyChungTuSo5.xsd" xmlns="http://tempuri.org/DsNhatKyChungTuSo5.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">CoordinateTransform.cs https://hg01.codeplex.com/d3future | C# | 188 lines
5using System.Windows; 6using Microsoft.Research.DynamicDataDisplay.Common; 7using System.Diagnostics; 9 10namespace Microsoft.Research.DynamicDataDisplay 11{SimpleObject.cs https://cfx.svn.codeplex.com/svn | C# | 195 lines
3* Project: CSServicedComponent 4* Copyright (c) Microsoft Corporation. 5* 10* this way can be hosted in a COM+ application and can use COM+ services by 11* way of the EnterpriseServices namespace. 12* 38* 39* This source is subject to the Microsoft Public License. 40* See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. 56 57namespace CSServicedComponent 58{EFCachingCommand.cs https://GroupVersion.svn.codeplex.com/svn | C# | 272 lines
1// Copyright (c) Microsoft Corporation. All rights reserved. 2 13 14namespace EFCachingProvider 15{Field.cs https://hg01.codeplex.com/stylecop | C# | 0 lines
5// <license> 6// This source code is subject to terms and conditions of the Microsoft 7// Public License. A copy of the license can be found in the License.html 9// By using this source code in any fashion, you are agreeing to be bound 10// by the terms of the Microsoft Public License. You must not remove this 11// notice, or any other, from this software. 13//----------------------------------------------------------------------- 14namespace StyleCop.CSharp.CodeModel 15{ 96 [SuppressMessage( 97 "Microsoft.Naming", 98 "CA1702:CompoundWordsShouldBeCasedCorrectly",SerializedPlayerData.cs https://hg01.codeplex.com/workingmemoryworkout | C# | 225 lines
3using System.Linq; 4using Microsoft.Xna.Framework; 5using Microsoft.Xna.Framework.Audio; 5using Microsoft.Xna.Framework.Audio; 6using Microsoft.Xna.Framework.Content; 7using Microsoft.Xna.Framework.GamerServices; 7using Microsoft.Xna.Framework.GamerServices; 8using Microsoft.Xna.Framework.Graphics; 9using Microsoft.Xna.Framework.Input; 9using Microsoft.Xna.Framework.Input; 10using Microsoft.Xna.Framework.Media; 11using Microsoft.Xna.Framework.Net; 11using Microsoft.Xna.Framework.Net; 12using Microsoft.Xna.Framework.Storage; 13using Working_Memory_Workout;ILoggingConfigurationSendToMsmqTraceListener.cs https://entlib.svn.codeplex.com/svn | C# | 153 lines
1//=============================================================================== 2// Microsoft patterns & practices Enterprise Library 3// Logging Application Block 4//=============================================================================== 5// Copyright Å Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 15using System.Text; 16using Microsoft.Practices.EnterpriseLibrary.Logging.Configuration; 17using System.Diagnostics; 18using System.Messaging; 19using Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners; 20using System.Collections.Specialized; 23 24namespace Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent 25{JSonAutoSerialization.cs https://codetitans.svn.codeplex.com/svn | C# | 366 lines
31#else 32using Microsoft.VisualStudio.TestTools.UnitTesting; 33#endif 34 35namespace CodeTitans.UnitTests.JSon 36{MainWindow.xaml.cs https://taskcardcreator.svn.codeplex.com/svn | C# | 316 lines
1// This source is subject to Microsoft Public License (Ms-PL). 2// Please see http://taskcardcreator.codeplex.com for details. 17using System.Windows.Xps.Packaging; 18using Microsoft.TeamFoundation.Client; 19using Microsoft.TeamFoundation.Server; 19using Microsoft.TeamFoundation.Server; 20using Microsoft.TeamFoundation.WorkItemTracking.Client; 21using Microsoft.Windows.Controls.Ribbon; 23using MessageBox = System.Windows.MessageBox; 24using Microsoft.Practices.EnterpriseLibrary.Logging; 25 25 26namespace TaskCardCreator 27{ 103 { 104 MicrosoftVisualStudioScrum10, 105 MSFforAgileSoftwareDevelopmentv50,AppHostManager.cs https://cloudsamurai.svn.codeplex.com/svn | C# | 269 lines
1namespace Bowlus.AppHost 2{ 12 13 using Microsoft.Web.Administration; 14 using Microsoft.WindowsAzure.ServiceRuntime;Exceptions.cs https://pubsub.svn.codeplex.com/svn | C# | 276 lines
6 7namespace Microsoft.WebSolutionsPlatform.PubSubManager 8{NakedObjectsSurfaceExtensions.cs https://hg01.codeplex.com/nakedobjects | C# | 219 lines
2// All Rights Reserved. This code released under the terms of the 3// Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html) 4 6 7namespace NakedObjects.Surface.Utility { 8 public static class NakedObjectsSurfaceExtensions {SqlVwBlagajnaStavkaProviderBase.generated.cs https://hg.codeplex.com/napp | C# | 286 lines
12using System.Data.SqlClient; 13using Microsoft.Practices.EnterpriseLibrary.Data; 14using Microsoft.Practices.EnterpriseLibrary.Data.Sql; 23 24namespace NetROS.Tiers.Data.SqlClient 25{ 284 }//end class 285} // end namespace 286MetaweblogResources.Designer.cs https://hg.codeplex.com/mojoportal | C# | 226 lines
10 11namespace Resources { 12 using System; 21 // with the /str option or rebuild the Visual Studio project. 22 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "12.0.0.0")] 23 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 30 31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 internal MetaweblogResources() {HgRole.cs https://hg.codeplex.com/liquidsilver | C# | 341 lines
3using System.Security.Permissions; 4using Microsoft.SharePoint; 5using Microsoft.SharePoint.Security; 6 7namespace LiquidSilver 8{Context.cs https://hg.codeplex.com/boogie | C# | 234 lines
2// 3// Copyright (C) Microsoft Corporation. All Rights Reserved. 4// 10using System.Diagnostics.Contracts; 11using Microsoft.Boogie.VCExprAST; 12 12 13namespace Microsoft.Boogie 14{SqlXmlReader.cs https://hg.codeplex.com/hashfoosqlserver | C# | 303 lines
19 20namespace HashFoo.SqlServer.TransientDbConnection 21{ 124 /// <summary> 125 /// Returns the value of the attribute with the specified <see cref="System.Xml.XmlReader.LocalName"/> and <see cref="System.Xml.XmlReader.NamespaceURI"/>. 126 /// </summary> 127 /// <param name="name">The local name of the attribute.</param> 128 /// <param name="namespaceURI">The namespace URI of the attribute.</param> 129 /// <returns>The value of the specified attribute. If the attribute is not found or the value is <see cref="String.Empty"/>, null is returned. This method does not move the reader.</returns> 171 /// </summary> 172 /// <param name="prefix">The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string.</param> 173 /// <returns>The namespace URI to which the prefix maps or null if no matching prefix is found.</returns> 235 /// <summary> 236 /// Returns the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. 237 /// </summary>play-music.cpp https://zport.svn.codeplex.com/svn | C++ | 247 lines
23using namespace std; 24using namespace Microsoft::VisualStudio::CppUnitTestFramework; 25 25 26namespace ut 27{ 66 //GloomEngine::instance()->font()->unregister(L"msyh.ttc"); 67 //GloomEngine::instance()->graphic()->loadfont(L"Microsoft YaHei"); 68 //GloomEngine::instance()->graphic()->begin();Tasks.cs https://teamprojectmanager.svn.codeplex.com/svn | C# | 161 lines
1using Microsoft.TeamFoundation.Build.Client; 2using System; 7 8namespace TeamProjectManager.Modules.BuildProcessTemplates 9{ShoppingCartTests.cs https://VSArchitectureGuide.svn.codeplex.com/svn | C# | 250 lines
4using System.Text; 5using Microsoft.VisualStudio.TestTools.UnitTesting; 6using Tailspin.Model; 7 8namespace Tailspin.Tests { 9 /*RepeatRegion.cs https://MSCompBio.svn.codeplex.com/svn | C# | 306 lines
2// 3// Copyright (c) Microsoft Corporation. All rights reserved. 4// 16 17namespace Bio.IO.GenBank 18{Test8 (2).cs https://expressionscompiler.svn.codeplex.com/svn | C# | 364 lines
5using Expressions.Compiler.Interfaces; 6using Microsoft.VisualStudio.TestTools.UnitTesting; 7using Excel.Expressions.Interfaces; 8 9namespace Tests 10{ErrorUtilities.cs https://SolutionFramework.svn.codeplex.com/svn | C# | 279 lines
1namespace Microsoft.Build.Shared 2{ 18 { 19 throw new ArgumentException(Microsoft.Build.Shared.ResourceUtilities.FormatResourceString(resourceName, args), innerException); 20 } 38 { 39 throw new Microsoft.Build.Shared.InternalErrorException(Microsoft.Build.Shared.ResourceUtilities.FormatString(message, args)); 40 } 46 { 47 throw new Microsoft.Build.Shared.InternalErrorException(Microsoft.Build.Shared.ResourceUtilities.FormatString(message, args), innerException); 48 } 54 { 55 throw new Microsoft.Build.Shared.InternalErrorException("Unreachable?"); 56 } 62 { 63 throw new InvalidOperationException(Microsoft.Build.Shared.ResourceUtilities.FormatResourceString(resourceName, args)); 64 }TabControl.cs https://hg01.codeplex.com/xnafinalengine | C# | 330 lines
17using System.Collections.Generic; 18using Microsoft.Xna.Framework; 19using Microsoft.Xna.Framework.Graphics; 21 22namespace XNAFinalEngine.UserInterface 23{SearchFacetSpecifier.designer.cs https://hg01.codeplex.com/hydrodesktop | C# | 195 lines
1namespace FacetedSearch3 2{ 108 this.FacetTextBox.Dock = System.Windows.Forms.DockStyle.Fill; 109 this.FacetTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 110 this.FacetTextBox.Location = new System.Drawing.Point(0, 0); 131 this.DeleteFacetBtn.Dock = System.Windows.Forms.DockStyle.Right; 132 this.DeleteFacetBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 133 this.DeleteFacetBtn.Location = new System.Drawing.Point(219, 0);Driver.cs https://hg01.codeplex.com/jemgine | C# | 201 lines
4using System.Text; 5using Microsoft.Xna.Framework.Graphics; 6using Microsoft.Xna.Framework; 7 8namespace Jemgine.Engine.Renderer 9{ 60 61 Device.Clear(Microsoft.Xna.Framework.Color.Black); 62 Effect.Technique = "DrawShadow"; 134 135 Device.Clear(Microsoft.Xna.Framework.Color.Black); 136 Effect.Technique = "DrawLighted";VectorRendererTest.cs https://WpfSharpMapControls.svn.codeplex.com/svn | C# | 253 lines
1using SharpMap.Wpf.Rendering; 2using Microsoft.VisualStudio.TestTools.UnitTesting; 3using SharpMap.Rendering.Rendering2D; 8 9namespace SharpMap.Rendering.Wpf.Test 10{MemoryDiagnosticsHelper.cs https://WP7Contrib.svn.codeplex.com/svn | C# | 403 lines
1namespace MemoryTest_Communications.MemoryDiagnostics 2{ 10 using System.Windows.Threading; 11 using Microsoft.Phone.Info; 12EnetaSiteDefinitions.Designer.cs https://eneta.svn.codeplex.com/svn | C# | 325 lines
10 11namespace Eneta.Portal.Deployment.Resources { 12 using System; 30 31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 internal EnetaSiteDefinitions() {VSCodeGenAccessors.cs https://tfsbuildversionsync.svn.codeplex.com/svn | C# | 385 lines
53 54 protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType("TFSAssemblyInfoTask", "TFSAssemblyInfoTask.AssemblyInfoWrapper"); 55 164 165 protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType(typeof(global::TFSAssemblyInfoTask.RewriteFileVersions)); 166 172 get { 173 global::Microsoft.Build.Framework.ITaskItem[] ret = ((global::Microsoft.Build.Framework.ITaskItem[])(m_privateObject.GetField("assemblyInfoFiles"))); 174 return ret; 220 221 protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType("TFSAssemblyInfoTask", "TFSAssemblyInfoTask.Version"); 222 338 tfsBuildNumber}; 339 Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject priv_obj = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject("TFSAssemblyInfoTask", "TFSAssemblyInfoTask.Version", new System.Type[] { 340 typeof(string),DependentModuleLoaderService.cs https://git01.codeplex.com/scsf2012 | C# | 495 lines
1//=============================================================================== 2// Microsoft patterns & practices 3// Smart Client Software Factory 2010 4//=============================================================================== 5// Copyright (c) Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 23using System.Threading; 24using Microsoft.Practices.CompositeUI; 25using Microsoft.Practices.CompositeUI.Configuration; 25using Microsoft.Practices.CompositeUI.Configuration; 26using Microsoft.Practices.CompositeUI.Services; 27using Microsoft.Practices.CompositeUI.Utility; 27using Microsoft.Practices.CompositeUI.Utility; 28using Microsoft.Practices.ObjectBuilder; 29RotaryH1_42.cs https://gadgeteer.svn.codeplex.com/svn | C# | 297 lines
7 8namespace Gadgeteer.Modules.GHIElectronics 9{ 10 /// <summary> 11 /// A RotaryH1 module for Microsoft .NET Gadgeteer 12 /// </summary>codedomvisitor.fs https://fshappowerpack.svn.codeplex.com/svn | F# | 102 lines
1namespace Microsoft.Test.Compiler.CodeDom.Internal 2 8open System.CodeDom.Compiler 9open Microsoft.FSharp.Collections 10 27 (fun (c:obj) -> match c with | :? CodeCommentStatement as co -> [(co.Comment:>obj);] | _ -> []); 28 (fun (c:obj) -> match c with | :? CodeCompileUnit as co -> [(co.AssemblyCustomAttributes:>obj); (co.EndDirectives:>obj); (co.Namespaces:>obj); (co.StartDirectives:>obj);] | _ -> []); 29 (fun (c:obj) -> match c with | :? CodeConditionStatement as co -> [(co.Condition:>obj); (co.FalseStatements:>obj); (co.TrueStatements:>obj);] | _ -> []); 47 (fun (c:obj) -> match c with | :? CodeMethodReturnStatement as co -> [(co.Expression:>obj);] | _ -> []); 48 (fun (c:obj) -> match c with | :? CodeNamespace as co -> [(co.Comments:>obj); (co.Imports:>obj); (co.Types:>obj);] | _ -> []); 49 (fun (c:obj) -> match c with | :? CodeNamespaceImport as co -> [(co.LinePragma:>obj);] | _ -> []);Resources.Designer.cs https://ScintillaNET.svn.codeplex.com/svn | C# | 216 lines
10 11namespace ScintillaNET.Properties { 12 using System; 30 31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 internal Resources() {frmManualSearch.Designer.cs https://wdtvhubgen.svn.codeplex.com/svn | C# | 199 lines
1namespace WDTVHubGen 2{ 150 this.label5.Enabled = false; 151 this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 152 this.label5.Location = new System.Drawing.Point(353, 44);IMFMediaEvent.cs https://hg01.codeplex.com/naudio | C# | 209 lines
6 7namespace NAudio.MediaFoundation 8{ 10 /// IMFMediaEvent - Represents an event generated by a Media Foundation object. Use this interface to get information about the event. 11 /// http://msdn.microsoft.com/en-us/library/windows/desktop/ms702249%28v=vs.85%29.aspx 12 /// Mfobjects.hCalendarButtonAutomationPeer.cs https://entlib.svn.codeplex.com/svn | C# | 293 lines
1//=============================================================================== 2// Microsoft patterns & practices Enterprise Library 3// Core 4//=============================================================================== 5// Copyright Å Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 13// 14// Copyright (C) Microsoft Corporation. All rights reserved. 15// 23using System.Windows.Input; 24using Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls.Toolkit.Windows.Controls.Primitives; 25using Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls.Toolkit.Windows.Controls; 30 31namespace Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls.Toolkit.Windows.Automation.Peers 32{FlatFileTraceListenerFixture.cs https://entlib.svn.codeplex.com/svn | C# | 229 lines
1//=============================================================================== 2// Microsoft patterns & practices Enterprise Library 3// Logging Application Block 4//=============================================================================== 5// Copyright Å Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 16using System.Security.Permissions; 17using Microsoft.Practices.EnterpriseLibrary.Logging.Formatters; 18using Microsoft.VisualStudio.TestTools.UnitTesting; 19 20namespace Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.Tests 21{TypeConversionValidatorFixture.cs https://entlib.svn.codeplex.com/svn | C# | 231 lines
1//=============================================================================== 2// Microsoft patterns & practices Enterprise Library 3// Validation Application Block 4//=============================================================================== 5// Copyright Å Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 13using System.Text.RegularExpressions; 14using Microsoft.Practices.EnterpriseLibrary.Validation.Properties; 15using Microsoft.Practices.EnterpriseLibrary.Validation.TestSupport; 15using Microsoft.Practices.EnterpriseLibrary.Validation.TestSupport; 16using Microsoft.Practices.EnterpriseLibrary.Validation.TestSupport.TestClasses; 17using Microsoft.Practices.EnterpriseLibrary.Validation.Validators; 19 20namespace Microsoft.Practices.EnterpriseLibrary.Validation.Tests.Validators 21{WeakHash.cs https://IronPython.svn.codeplex.com/svn | C# | 295 lines
2 * 3 * Copyright (c) Microsoft Corporation. All rights reserved. 4 * 7 * at the root of this distribution. If you can not locate the Shared Source License 8 * for IronPython, please send an email to ironpy@microsoft.com. 9 * By using this source code in any fashion, you are agreeing to be bound by 23 24namespace IronPython.Runtime { 25 class WeakHash<TKey, TValue> : IDictionary<TKey, TValue> {VirtualEarthTileSystem.cs https://geoCache.svn.codeplex.com/svn | C# | 157 lines
1//------------------------------------------------------------------------------ 2// <copyright file="VirtualEarthTileSystem.cs" company="Microsoft"> 3// Copyright (c) 2006 Microsoft Corporation. All rights reserved. 5// 6// Source from http://msdn.microsoft.com/en-us/library/bb259689.aspx 7//------------------------------------------------------------------------------ 11 12namespace Microsoft.MapPoint 13{ViewDataDictionaryExtensions.cs https://hg.codeplex.com/mvcextensions | C# | 159 lines
2// Copyright (c) 2009 - 2010, Kazi Manzur Rashid <kazimanzurrashid@gmail.com>. 3// This source is subject to the Microsoft Public License. 4// See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. 7 8namespace MvcExtensions 9{ServiceHelper.cs https://git01.codeplex.com/tfsdeployer | C# | 175 lines
3using System.Text; 4using Microsoft.TeamFoundation.Server; 5using Microsoft.TeamFoundation.Client; 14 15namespace Readify.Useful.TeamFoundation.Common 16{RegistrationByConventionHelpersFixture.cs https://git01.codeplex.com/unity | C# | 226 lines
1// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. 2 5using System.Collections.Generic; 6using Microsoft.Practices.Unity.TestSupport; 7#if NETFX_CORE 7#if NETFX_CORE 8using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; 9#elif __IOS__ 14#else 15using Microsoft.VisualStudio.TestTools.UnitTesting; 16#endif 17 18namespace Microsoft.Practices.Unity.Tests 19{ForCustomCacheManagerNamedExtensionFixture.cs https://entlib.svn.codeplex.com/svn | C# | 308 lines
1//=============================================================================== 2// Microsoft patterns & practices Enterprise Library 3// Caching Application Block 4//=============================================================================== 5// Copyright Å Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 15using System.Text; 16using Microsoft.VisualStudio.TestTools.UnitTesting; 17using Microsoft.Practices.EnterpriseLibrary.Common.Configuration; 17using Microsoft.Practices.EnterpriseLibrary.Common.Configuration; 18using Microsoft.Practices.EnterpriseLibrary.Caching.Configuration; 19using System.Collections.Specialized; 20 21namespace Microsoft.Practices.EnterpriseLibrary.Caching.Tests.Configuration.Fluent 22{DirectoryUtils.cs https://git01.codeplex.com/xamlimageconverter | C# | 226 lines
1// This is based on MSDN Magazine article codes by Stephen Toub (stoub@microsoft.com) 2// The article is http://msdn.microsoft.com/en-us/magazine/cc163696.aspx 9using System.Security.Permissions; 10using Microsoft.Win32.SafeHandles; 11using System.Runtime.InteropServices; 14 15namespace SharpVectors.Converters.Utils 16{EmbeddedShellView.xaml.cs https://git01.codeplex.com/snoopwpf | C# | 247 lines
1// (c) Copyright Bailey Ling. 2// This source is subject to the Microsoft Public License (Ms-PL). 3// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 14 15namespace Snoop.Shell 16{ScriptManager.cs https://git01.codeplex.com/xnascumm | C# | 285 lines
4using System.Text; 5using Microsoft.Xna.Framework; 6 6 7namespace Scumm.Engine.Resources.Scripts 8{DeckWorkspace.cs https://git01.codeplex.com/scsf2012 | C# | 341 lines
1//=============================================================================== 2// Microsoft patterns & practices 3// Smart Client Software Factory 2010 4//=============================================================================== 5// Copyright (c) Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 21using System.Collections.ObjectModel; 22using Microsoft.Practices.CompositeUI; 23using System.Windows.Forms.Integration; 24using System.Windows; 25using Microsoft.Practices.CompositeUI.WPF; 26using Microsoft.Practices.CompositeUI.SmartParts; 27 28namespace Microsoft.Practices.CompositeUI.WPF 29{DataGridPanel.cs https://git01.codeplex.com/extendedsilverlight | C# | 454 lines
6 7 This program is provided to you under the terms of the Microsoft Public 8 License (Ms-PL) as published at http://extendedsilverlight.codeplex.com/license 28 29namespace Xceed.Silverlight.DataGrid 30{IncludeTests.cs https://git01.codeplex.com/entityframework | C# | 263 lines
1// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. 2 2 3namespace System.Data.Entity.Query.LinqToEntities 4{SubscriptionReposTransformationsTests.cs https://rockbus.svn.codeplex.com/svn | C# | 218 lines
3using System.Transactions; 4using Microsoft.VisualStudio.TestTools.UnitTesting; 5using RockBus.DataContracts; 9 10namespace RockBus.SubscriptionRepository.Tests 11{ 66 { 67 // Namespaces 68 var nis = new[] 69 { 70 new NamespaceInfo("ns1", "http://somenamespace/"), 71 }; 148 { 149 new NamespaceInfo("ns1", "http://somenamespace/"), 150 };GlobalSuppressions.cs https://ExFinderReflector.svn.codeplex.com/svn | C# | 48 lines
3// Project-level suppressions either have no target or are given 4// a specific target and scoped to a namespace, type, member, etc. 5// 14[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "ExceptionFinder.TestTarget.NestedExceptionHandlers.#ParseMe(System.Int32)")] 15[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "ExceptionFinder.TestTarget.NestedExceptionHandlers.#ParseMe(System.Int32)")] 16[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.TestTarget.NestedExceptionHandlers.#ParseMe(System.Int32)")] 25[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "s", Scope = "member", Target = "ExceptionFinder.TestTarget.FrameworkScenarios.#WarmUp()")] 26[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "ExceptionFinder.TestTarget")] 27[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "s", Scope = "member", Target = "ExceptionFinder.TestTarget.FrameworkInitialization.#Initialize()")] 27[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "s", Scope = "member", Target = "ExceptionFinder.TestTarget.FrameworkInitialization.#Initialize()")] 28[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "ExceptionFinder.TestTarget.FrameworkInitialization.#Initialize()")] 29[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ExceptionHandlerScenarios.#ComplexHandlers(System.String)")] 35[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#ThrowArgument(System.Exception)")] 36[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "ExceptionFinder.Tests.Scenarios")] 37[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#ThrowArgumentFromInstance(System.Exception)")]TryStatementBuilder.cs https://IronSmalltalk.svn.codeplex.com/svn | C# | 231 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. 20using System.Dynamic; 21using Microsoft.Scripting.Utils; 22 22 23namespace Microsoft.Scripting.Ast { 24 public sealed class TryStatementBuilder {ViewStockChangeInformation.Designer.cs https://hg01.codeplex.com/simpleinventory | C# | 241 lines
1namespace WhistlingPalms 2{ 144 this.lblProduct.AutoSize = true; 145 this.lblProduct.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 146 this.lblProduct.Location = new System.Drawing.Point(71, 15); 154 this.lblWareHouse.AutoSize = true; 155 this.lblWareHouse.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 156 this.lblWareHouse.Location = new System.Drawing.Point(91, 37);LabelInfo.cs https://IronSmalltalk.svn.codeplex.com/svn | C# | 304 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. 23using System.Text; 24using Microsoft.Scripting.Utils; 25 25 26namespace Microsoft.Scripting.Interpreter { 27CacheCluster.cs https://MdcAdminTool.svn.codeplex.com/svn | C# | 339 lines
10using System.Xml.Linq; 11using Microsoft.Data.Caching.AdminApi; 12using System.ComponentModel; 13 14namespace MDCAdminTool 15{PdbFunction.cs https://Confuser.svn.codeplex.com/svn | C# | 402 lines
11 12namespace Microsoft.Cci.Pdb { 13 internal class PdbFunction { 32 internal ushort[]/*?*/ usingCounts; 33 internal IEnumerable<INamespaceScope>/*?*/ namespaceScopes; 34 internal string/*?*/ iteratorClass; 36 37 private static string StripNamespace(string module) { 38 int li = module.LastIndexOf('.'); 48 bool readStrings) { 49 string mod = StripNamespace(module); 50 int begin = bits.Position; 174 case SYM.S_UNAMESPACE: 175 usedNamespaces++; 176 bits.Position = stop;Orchard.Forms.csproj https://hg01.codeplex.com/orchard | MSBuild scripts | 135 lines
1<?xml version="1.0" encoding="utf-8"?> 2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <PropertyGroup> 11 <AppDesignerFolder>Properties</AppDesignerFolder> 12 <RootNamespace>Orchard.Forms</RootNamespace> 13 <AssemblyName>Orchard.Forms</AssemblyName> 45 </Reference> 46 <Reference Include="Microsoft.CSharp" /> 47 <Reference Include="System" /> 96 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 97 <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" /> 98 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 98 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 99 Other similar extension points exist, see Microsoft.Common.targets. 100 <Target Name="BeforeBuild">CSVSXSaveProjectPackage.cs https://cfx.svn.codeplex.com/svn | C# | 210 lines
3 * Project : CSVSXSaveProject 4 * Copyright (c) Microsoft Corporation 5 * 10 * 11 * The source is subject to the Microsoft Public License. 12 * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. 28using EnvDTE; 29using Microsoft.VisualStudio.Shell; 30 30 31namespace Microsoft.CSVSXSaveProject 32{AKS_BlackSingleLevel.master https://aks.svn.codeplex.com/svn | ASP.NET | 213 lines
3<%@ Import Namespace="Microsoft.SharePoint" %> 4<%@ Register Tagprefix="SPSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 5<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 5<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 6<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 7<%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 7<%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 8<%@ Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 9<%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %> 19 <META name="WebPartPageExpansion" content="full"> 20 <meta name="GENERATOR" content="Microsoft SharePoint"> 21 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">SR.Designer.cs https://hg01.codeplex.com/wcf | C# | 152 lines
10 11namespace Microsoft.ApplicationServer.HttpEnhancements { 12 25 if (object.ReferenceEquals(resourceManager, null)) { 26 System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Microsoft.ApplicationServer.HttpEnhancements.SR", typeof(SR).Assembly); 27 resourceManager = temp;DataSourceGroupContext.cs https://git01.codeplex.com/extendedsilverlight | C# | 429 lines
6 7 This program is provided to you under the terms of the Microsoft Public 8 License (Ms-PL) as published at http://extendedsilverlight.codeplex.com/license 25 26namespace Xceed.Silverlight.Data 27{RemovingItemTransitionAnimation.cs https://git01.codeplex.com/extendedsilverlight | C# | 327 lines
6 7 This program is provided to you under the terms of the Microsoft Public 8 License (Ms-PL) as published at http://extendedsilverlight.codeplex.com/license 24 25namespace Xceed.Silverlight.ListBox 26{PropertyAttributes.Designer.cs https://aip.svn.codeplex.com/svn | C# | 226 lines
10 11namespace DaveSexton.Web.Controls.Resources { 12 using System; 30 31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 internal PropertyAttributes() {BackgroundImage.cs https://git01.codeplex.com/webgrease | C# | 251 lines
1// -------------------------------------------------------------------------------------------------------------------- 2// <copyright file="BackgroundImage.cs" company="Microsoft"> 3// Copyright Microsoft Corporation, all rights reserved 14 15namespace WebGrease.Css.ImageAssemblyAnalysis.PropertyModel 16{AccountModels.cs https://git01.codeplex.com/razorgenerator | C# | 249 lines
7 8namespace MvcSample.Models 9{ 178 { 179 // See http://go.microsoft.com/fwlink/?LinkID=177550 for 180 // a full list of status codes.HierarchyTest.cs https://ahp.svn.codeplex.com/svn | C# | 180 lines
4using System.Linq; 5using Microsoft.VisualStudio.TestTools.UnitTesting; 6using Ahp; 7 8namespace AhpTest 9{data-type-names.Designer.cs https://EffiProz.svn.codeplex.com/svn | C# | 361 lines
10 11namespace EffiProz.Core.Resources { 12 using System; 30 31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 public data_type_names() {V2DSprite.cs https://swf.svn.codeplex.com/svn | C# | 352 lines
4using System.Text; 5using Microsoft.Xna.Framework.Graphics; 6using DDW.Display; 6using DDW.Display; 7using Microsoft.Xna.Framework; 8using Box2DX.Dynamics; 12 13namespace DDW.V2D 14{ItemBase.cs https://spdx.svn.codeplex.com/svn | C# | 248 lines
3using System.Text; 4using Microsoft.SharePoint; 5 5 6namespace MyNamespace 7{ControlIdentifiers.Designer.cs https://prism.svn.codeplex.com/svn | C# | 215 lines
1//=================================================================================== 2// Microsoft patterns & practices 3// Composite Application Guidance for Windows Presentation Foundation and Silverlight 4//=================================================================================== 5// Copyright (c) Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 26 27namespace MVVM.Tests.AcceptanceTest.TestData { 28 using System; 46 47 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 48 internal ControlIdentifiers() {SqlCeResultSetWrapper.cs https://entlib.svn.codeplex.com/svn | C# | 316 lines
1//=============================================================================== 2// Microsoft patterns & practices Enterprise Library 3// Data Access Application Block 4//=============================================================================== 5// Copyright Å Microsoft Corporation. All rights reserved. 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 17 18namespace Microsoft.Practices.EnterpriseLibrary.Data.SqlCe 19{