100+ results for 'namespace microsoft'

Not the results you expected?

csharp.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 168 lines

135

136 <KEYWORD2>using</KEYWORD2>

137 <KEYWORD2>namespace</KEYWORD2>

138

139 <KEYWORD3>bool</KEYWORD3>

dl_check_table.cpp (https://bitbucket.org/chyh1990/z3.git) C++ · 363 lines

1 /*++

2 Copyright (c) 2010 Microsoft Corporation

3

4 Module Name:

24

25

26 namespace datalog {

27

28 bool check_table_plugin::can_handle_signature(table_signature const& s) {

Resource.Designer.cs (https://github.com/jonathan-inventti/Estudo-do-MVC3.git) C# · 378 lines

9 //------------------------------------------------------------------------------

10

11 namespace MyResources {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal Resource() {

33 }

test_class_info_load.vcproj (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

5 Name="test_class_info_load"

6 ProjectGUID="{A7D4CC95-F2AC-11D6-9E47-525400E2CF85}"

7 RootNamespace="test_class_info_load"

8 Keyword="Win32Proj">

9 <Platforms>

soap3.xsd (https://github.com/cazzar/MCaznowl-Build.git) XML Schema · 242 lines

1 <?xml version="1.0" encoding="utf-8"?>

2 <xs:schema xmlns:tns="http://api.microsofttranslator.com/V2" elementFormDefault="qualified" targetNamespace="http://api.microsofttranslator.com/V2" xmlns:xs="http://www.w3.org/2001/XMLSchema">

3 <xs:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />

4 <xs:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" />

5 <xs:element name="AddTranslation">

6 <xs:complexType>

36 <xs:complexType>

37 <xs:sequence>

38 <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="BreakSentencesResult" nillable="true" type="q1:ArrayOfint" />

39 </xs:sequence>

40 </xs:complexType>

59 <xs:sequence>

60 <xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />

61 <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="texts" nillable="true" type="q2:ArrayOfstring" />

62 </xs:sequence>

63 </xs:complexType>

permissions.rb (https://gitlab.com/pymevirtual/azure-sdk-for-ruby) Ruby · 277 lines

102 def list_for_resource(resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, custom_headers = nil)

103 fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?

104 fail ArgumentError, 'resource_provider_namespace is nil' if resource_provider_namespace.nil?

105 fail ArgumentError, 'parent_resource_path is nil' if parent_resource_path.nil?

106 fail ArgumentError, 'resource_type is nil' if resource_type.nil?

113 request_headers['x-ms-client-request-id'] = SecureRandom.uuid

114 request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?

115 path_template = '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/permissions'

116 options = {

117 middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],

118 path_params: {'resourceGroupName' => resource_group_name,'resourceProviderNamespace' => resource_provider_namespace,'resourceName' => resource_name,'subscriptionId' => @client.subscription_id},

119 skip_encoding_path_params: {'parentResourcePath' => parent_resource_path,'resourceType' => resource_type},

120 query_params: {'api-version' => @client.api_version},

BinaryExpression.Generated.cs (https://github.com/thomo13/ironruby.git) C# · 154 lines

1 /* ****************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation.

4 *

5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A

6 * copy of the license can be found in the License.html file at the root of this distribution. If

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.

10 *

18 using System.Text;

19

20 using Microsoft.Scripting.Runtime;

21

22 using IronPython.Runtime.Operations;

UnityConfiguration30.xsd (https://gitlab.com/gqy117/YoutubeBatchDownloader) XML Schema · 319 lines

3 xmlns="http://schemas.microsoft.com/practices/2010/unity"

4 targetNamespace="http://schemas.microsoft.com/practices/2010/unity"

5 elementFormDefault="qualified"

6 attributeFormDefault="unqualified">

16 <xs:element name="alias" type="AliasElement" />

17 <xs:element name="sectionExtension" type="SectionExtensionElement" />

18 <xs:element name="namespace" type="NamedElement" />

19 <xs:element name="assembly" type="NamedElement" />

20 </xs:choice>

265 <xs:simpleType>

266 <xs:restriction base="xs:string">

267 <xs:enumeration value="Microsoft.Practices.Unity.InterceptionExtension.Configuration.InterceptionConfigurationExtension, Microsoft.Practices.Unity.Interception.Configuration"/>

268 </xs:restriction>

269 </xs:simpleType>

290 <xs:enumeration value="CustomAttributeMatchingRule"/>

291 <xs:enumeration value="MemberNameMatchingRule"/>

292 <xs:enumeration value="NamespaceMatchingRule"/>

293 <xs:enumeration value="ParameterTypeMatchingRule"/>

294 <xs:enumeration value="PropertyMatchingRule"/>

FileTest.cs (https://github.com/thomo13/ironruby.git) C# · 211 lines

1 /* ****************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation.

4 *

5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A

6 * copy of the license can be found in the License.html file at the root of this distribution. If

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.

10 *

16 using System.IO;

17 using IronRuby.Runtime;

18 using Microsoft.Scripting.Runtime;

19

20 #if CLR2

ListInitExpression.cs (https://github.com/nataren/mono.git) C# · 237 lines

1 /* ****************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation.

4 *

5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A

6 * copy of the license can be found in the License.html file at the root of this distribution. If

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.

10 *

27

28 #if CLR2

29 namespace Microsoft.Scripting.Ast {

30 #else

31 namespace System.Linq.Expressions {

CodeInterfaceTests.vb (https://gitlab.com/sharadag/Roslyn) Visual Basic · 456 lines

5 Imports Microsoft.CodeAnalysis

6 Imports Microsoft.VisualStudio.LanguageServices.VisualBasic.CodeModel.Extenders

7 Imports Microsoft.VisualStudio.LanguageServices.VisualBasic.CodeModel.Interop

8 Imports Roslyn.Test.Utilities

9

10 Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.CodeModel.VisualBasic

11 Public Class CodeInterfaceTests

12 Inherits AbstractCodeInterfaceTests

313 Dim code =

314 <Code>

315 Namespace N

316 Interface I$$

317 Inherits IFoo(Of Integer)

324 Inherits IBar

325 End Interface

326 End Namespace

327 </Code>

328

url_pattern_set_unittest.cc (https://gitlab.com/0072016/Facebook-SDK-) C++ · 479 lines

13 #include "url/gurl.h"

14

15 namespace extensions {

16

17 namespace {

36 }

37

38 } // namespace

39

40 TEST(URLPatternSetTest, Empty) {

52 EXPECT_TRUE(set.MatchesURL(GURL("http://www.google.com/monkey")));

53 EXPECT_FALSE(set.MatchesURL(GURL("https://www.google.com/")));

54 EXPECT_FALSE(set.MatchesURL(GURL("https://www.microsoft.com/")));

55 }

56

Import_Tests.cs (https://gitlab.com/Banul/la-project1) C# · 329 lines

1 // Copyright (c) Microsoft. All rights reserved.

2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.

3

4 //-----------------------------------------------------------------------

5 // <copyright file="Import_Tests.cs" company="Microsoft">

6 // Copyright (c) Microsoft Corporation. All rights reserved.

16 using NUnit.Framework;

17

18 using Microsoft.Build;

19 using Microsoft.Build.BuildEngine;

21 using Microsoft.Build.UnitTests;

22

23 namespace Microsoft.Build.UnitTests.OM.OrcasCompatibility

24 {

25 /// <summary>

whenAnyTest.cpp (https://github.com/microsoft/react-native-windows.git) C++ · 406 lines

1 // Copyright (c) Microsoft Corporation.

2 // Licensed under the MIT license.

3

10 #include "testExecutor.h"

11

12 namespace FutureTests {

13

14 TEST_CLASS_EX (WhenAnyTest, LibletAwareMemLeakDetection) {

404 };

405

406 } // namespace FutureTests

407

DepthStencilState.OpenGL.cs (https://github.com/vostok4/MonoGame.git) C# · 244 lines

19 #endif

20

21 namespace Microsoft.Xna.Framework.Graphics

22 {

23 public partial class DepthStencilState

LiveStock.wsdl (https://github.com/kiouftis/Web-Services-Indexing-In-P2P.git) Web Services Description Language · 243 lines

1 <wsdl:definitions xmlns:soat="http://ws.soatrader.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"

2 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

3 xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"

4 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

5 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"

6 xmlns:tns="http://www.myereef.com/webservices/"

7 xmlns:s1="http://microsoft.com/wsdl/types/"

8 xmlns:s="http://www.w3.org/2001/XMLSchema"

9 xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"

33 targetNamespace="http://www.myereef.com/webservices/">

34 <s:import namespace="http://microsoft.com/wsdl/types/"/>

35 <s:element name="GetLivestock">

36 <s:complexType/>

128 </s:schema>

129 <s:schema elementFormDefault="qualified"

130 targetNamespace="http://microsoft.com/wsdl/types/">

131 <s:simpleType name="guid">

132 <s:restriction base="s:string">

PSCloudJob.cs (https://gitlab.com/jslee1/azure-powershell) C# · 394 lines

1 // -----------------------------------------------------------------------------

2 //

3 // Copyright Microsoft Corporation

4 // Licensed under the Apache License, Version 2.0 (the "License");

5 // you may not use this file except in compliance with the License.

22 //------------------------------------------------------------------------------

23

24 namespace Microsoft.Azure.Commands.Batch.Models

25 {

26 using System.Collections.Generic;

30 {

31

32 internal Microsoft.Azure.Batch.CloudJob omObject;

33

34 private IList<PSEnvironmentSetting> commonEnvironmentSettings;

ServiceOperationInvoker.cs (https://github.com/pruiz/mono.git) C# · 334 lines

1 //------------------------------------------------------------

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 //------------------------------------------------------------

4 namespace System.ServiceModel.Dispatcher

155 // We pass the exception to another thread

156 [SuppressMessage("Reliability", "Reliability104")]

157 [SuppressMessage("Microsoft.Design", "CA1031")]

158 static void FinishComplete(IAsyncResult result)

159 {

185 // We pass the exception to another thread

186 [SuppressMessage("Reliability", "Reliability104")]

187 [SuppressMessage("Microsoft.Design", "CA1031")]

188 static void InvokeComplete(IAsyncResult resultParameter)

189 {

223 // We pass the exception to another thread

224 [SuppressMessage("Reliability", "Reliability104")]

225 [SuppressMessage("Microsoft.Design", "CA1031")]

226 static void StartComplete(IAsyncResult resultParameter)

227 {

NodeInfo.h (https://github.com/Microsoft/service-fabric.git) C Header · 228 lines

1 // ------------------------------------------------------------

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 // Licensed under the MIT License (MIT). See License.txt in the repo root for license information.

4 // ------------------------------------------------------------

6 #pragma once

7

8 namespace Reliability

9 {

10 namespace FailoverManagerComponent

HttpServerWebSocket.cpp (https://github.com/Microsoft/service-fabric.git) C++ · 382 lines

1 // ------------------------------------------------------------

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 // Licensed under the MIT License (MIT). See License.txt in the repo root for license information.

4 // ------------------------------------------------------------

7 #if NTDDI_VERSION >= NTDDI_WIN8

8

9 using namespace std;

10 using namespace Common;

11 using namespace HttpCommon;

12 using namespace HttpServer;

BufferBuilder.h (https://gitlab.com/Srijancse/ChakraCore) C Header · 357 lines

1 //-------------------------------------------------------------------------------------------------------

2 // Copyright (C) Microsoft. All rights reserved.

3 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.

4 //-------------------------------------------------------------------------------------------------------

24 typedef _SIMDValue SIMDValue;

25

26 namespace Js

27 {

28 // The base buffer builder class

Conformance.dynamic.context.operator.compound.event.negative.cs (https://github.com/dotnet/runtime.git) C# · 420 lines

4 using Xunit;

5

6 namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg001.neg001

7 {

8 // <Area> Dynamic -- compound operator</Area>

38 c.E *= new Dele(C.Foo);

39 }

40 catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException e)

41 {

42 if (ErrorVerifier.Verify(ErrorMessageId.BadBinaryOps, e.Message, "*=", "Dele", "Dele"))

48 c.E /= new Dele(C.Foo);

49 }

50 catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException e)

51 {

52 if (ErrorVerifier.Verify(ErrorMessageId.BadBinaryOps, e.Message, "/=", "Dele", "Dele"))

SiteSourceControl.PowerShell.cs (https://github.com/Azure/azure-powershell.git) C# · 149 lines

1 namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801

2 {

3 using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell;

95 }

96 // actually deserialize

97 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteSourceControlPropertiesTypeConverter.ConvertFrom);

98 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name, global::System.Convert.ToString);

102 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Branch = (string) content.GetValueForProperty("Branch",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Branch, global::System.Convert.ToString);

103 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).DeploymentRollbackEnabled = (bool?) content.GetValueForProperty("DeploymentRollbackEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).DeploymentRollbackEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));

104 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).IsManualIntegration = (bool?) content.GetValueForProperty("IsManualIntegration",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).IsManualIntegration, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));

122 }

123 // actually deserialize

124 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteSourceControlPropertiesTypeConverter.ConvertFrom);

125 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name, global::System.Convert.ToString);

132 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).IsMercurial = (bool?) content.GetValueForProperty("IsMercurial",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).IsMercurial, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));

133 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).RepoUrl = (string) content.GetValueForProperty("RepoUrl",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).RepoUrl, global::System.Convert.ToString);

134 AfterDeserializePSObject(content);

135 }

SetCmdletCommand.cs (https://psstudio.svn.codeplex.com/svn) C# · 512 lines

5 using System.Management.Automation;

6

7 namespace Microsoft.PowerShell.CmdletManagement

8 {

9 [Cmdlet(VerbsCommon.Set, "PsSpecCmdlet", SupportsShouldProcess = true)]

GlobalSuppressions.cs (https://rxx.svn.codeplex.com/svn) C# · 64 lines

13 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Reactive.Disposables")]

14 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.ComponentModel")]

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")]

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")]

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)")]

58 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Data.SqlClient")]

59 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.ServiceModel.Reactive")]

60 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "System.Reactive.Linq.Observable2.#Collect`5(System.Func`2<System.IDisposable,!!0>,System.IObservable`1<!!1>,System.IObservable`1<System.Reactive.CollectionModification`1<!!3>>,System.Func`2<!!1,!!2>,System.Func`2<!!3,!!2>,System.Func`3<!!2,!!1,System.Reactive.CollectionNotification`1<!!3>>,System.Func`2<System.IObservable`1<System.Reactive.CollectionNotification`1<!!3>>,System.IObservable`1<System.Reactive.CollectionModification`1<!!4>>>,System.Collections.Generic.IEqualityComparer`1<!!2>)")]

Matrix.UnitTest.cs (https://MSCompBio.svn.codeplex.com/svn) C# · 296 lines

1 //*********************************************************

2 //

3 // Copyright (c) Microsoft Corporation. All rights reserved.

4 //

5 //

18 using System.IO;

19

20 namespace Bio.Matrix

21 {

22

CloudError.PowerShell.cs (https://github.com/Azure/azure-powershell.git) C# · 141 lines

1 namespace Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320

2 {

3 using Microsoft.Azure.PowerShell.Cmdlets.VMWare.Runtime.PowerShell;

64 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorResponseTypeConverter.ConvertFrom);

65 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray<Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorAdditionalInfo>(__y, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorAdditionalInfoTypeConverter.ConvertFrom));

66 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Code, global::System.Convert.ToString);

68 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Target, global::System.Convert.ToString);

69 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray<Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse>(__y, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorResponseTypeConverter.ConvertFrom));

70 AfterDeserializeDictionary(content);

71 }

87 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorResponseTypeConverter.ConvertFrom);

88 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray<Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorAdditionalInfo>(__y, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorAdditionalInfoTypeConverter.ConvertFrom));

89 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Code, global::System.Convert.ToString);

91 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Target, global::System.Convert.ToString);

92 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray<Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse>(__y, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorResponseTypeConverter.ConvertFrom));

93 AfterDeserializePSObject(content);

94 }

StaticSiteUserInvitationRequestResourceProperties.PowerShell.cs (https://github.com/Azure/azure-powershell.git) C# · 142 lines

1 namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801

2 {

3 using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell;

101 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).NumHoursToExpiration = (int?) content.GetValueForProperty("NumHoursToExpiration",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).NumHoursToExpiration, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));

102 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Provider, global::System.Convert.ToString);

103 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Role = (string) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Role, global::System.Convert.ToString);

120 }

121 // actually deserialize

122 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Domain = (string) content.GetValueForProperty("Domain",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Domain, global::System.Convert.ToString);

123 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).NumHoursToExpiration = (int?) content.GetValueForProperty("NumHoursToExpiration",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).NumHoursToExpiration, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));

124 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Provider, global::System.Convert.ToString);

125 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Role = (string) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Role, global::System.Convert.ToString);

126 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).UserDetail = (string) content.GetValueForProperty("UserDetail",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).UserDetail, global::System.Convert.ToString);

127 AfterDeserializePSObject(content);

128 }

QuotaCheckError.html (http://google-api-adwords-java.googlecode.com/svn/trunk/) HTML · 405 lines

158 <tr class="rowColor">

159 <td class="colFirst"><code>static org.apache.axis.encoding.Deserializer</code></td>

160 <td class="colLast"><code><strong><a href="../../../../../../com/google/api/adwords/v201206/cm/QuotaCheckError.html#getDeserializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)">getDeserializer</a></strong>(java.lang.String&nbsp;mechType,

161 java.lang.Class&nbsp;_javaType,

162 javax.xml.namespace.QName&nbsp;_xmlType)</code>

172 <tr class="rowColor">

173 <td class="colFirst"><code>static org.apache.axis.encoding.Serializer</code></td>

174 <td class="colLast"><code><strong><a href="../../../../../../com/google/api/adwords/v201206/cm/QuotaCheckError.html#getSerializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)">getSerializer</a></strong>(java.lang.String&nbsp;mechType,

175 java.lang.Class&nbsp;_javaType,

176 javax.xml.namespace.QName&nbsp;_xmlType)</code>

311 </li>

312 </ul>

313 <a name="getSerializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)">

314 <!-- -->

315 </a>

Handcrafted.vcproj (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

5 Name="Handcrafted"

6 ProjectGUID="{155DB9E1-28AC-4671-8248-5FD03E8FCDAD}"

7 RootNamespace="Handcrafted"

8 Keyword="Win32Proj"

9 TargetFrameworkVersion="131072"

PropertyNames.cs (https://github.com/tforsberg/z.git) C# · 160 lines

1 //------------------------------------------------------------------------------

2 // <copyright file="WinFormsUtils.cs" company="Microsoft">

3 // Copyright (c) Microsoft Corporation. All rights reserved.

5 //------------------------------------------------------------------------------

6

7 namespace System.Windows.Forms.Layout {

8 using System.Diagnostics.CodeAnalysis;

9

13 // names that extenders provide.

14 internal class PropertyNames {

15 [SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]

16 public static readonly string Alignment = "Alignment";

17 [SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]

18 public static readonly string Anchor = "Anchor";

19 [SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]

20 public static readonly string AutoScroll = "AutoScroll";

21 [SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]

VSCodeGenAccessors.cs (https://github.com/zeldin/OpenCBM.git) C# · 275 lines

52 internal class PaytonByrd_ProcessConfiguration_Helpers_ResourceHelperAccessor : BaseAccessor {

53

54 protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType("PaytonByrd.ProcessConfiguration", "PaytonByrd.ProcessConfiguration.Helpers.ResourceHelper");

55

56 internal PaytonByrd_ProcessConfiguration_Helpers_ResourceHelperAccessor(object target) :

217 internal class PaytonByrd_ProcessConfiguration_ParameterValidationErrorAccessor : BaseAccessor {

218

219 protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType("PaytonByrd.ProcessConfiguration", "PaytonByrd.ProcessConfiguration.ParameterValidationError");

220

221 internal PaytonByrd_ProcessConfiguration_ParameterValidationErrorAccessor(object target) :

245 internal static object CreatePrivate() {

246 object[] args = new object[0];

247 Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject priv_obj = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject("PaytonByrd.ProcessConfiguration", "PaytonByrd.ProcessConfiguration.ParameterValidationError", new System.Type[0], args);

248 return priv_obj.Target;

249 }

ComposablePartCatalogCollection.cs (https://github.com/iainlane/mono.git) C# · 415 lines

1 // -----------------------------------------------------------------------

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 // -----------------------------------------------------------------------

4 using System;

10 using System.Threading;

11 using System.Diagnostics;

12 using Microsoft.Internal;

13 using Microsoft.Internal.Collections;

14 using System.Collections;

15

16 namespace System.ComponentModel.Composition.Hosting

17 {

18 /// <summary>

ScoreCalculationAlternatives.feature.cs (https://github.com/chrispfarrell/SpecFlow-Spike.git) C# · 195 lines

11 // ------------------------------------------------------------------------------

12 #region Designer generated code

13 namespace Bowling.SpecFlow

14 {

15 using TechTalk.SpecFlow;

18 [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.6.0.0")]

19 [System.Runtime.CompilerServices.CompilerGeneratedAttribute()]

20 [Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute()]

21 public partial class ScoreCalculationAlternativeFormsFeature

22 {

27 #line hidden

28

29 [Microsoft.VisualStudio.TestTools.UnitTesting.ClassInitializeAttribute()]

30 public static void FeatureSetup(Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext)

36 }

37

38 [Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute()]

39 public static void FeatureTearDown()

40 {

PasswordBoxBindingBehavior.cs (https://github.com/MahApps/MahApps.Metro.git) C# · 223 lines

12 using MahApps.Metro.Controls;

13 using MahApps.Metro.ValueBoxes;

14 using Microsoft.Xaml.Behaviors;

15

16 namespace MahApps.Metro.Behaviors

AccessPolicyHelper.cs (https://gitlab.com/jslee1/azure-powershell) C# · 190 lines

1 // ----------------------------------------------------------------------------------

2 //

3 // Copyright Microsoft Corporation

4 // Licensed under the Apache License, Version 2.0 (the "License");

5 // you may not use this file except in compliance with the License.

13 // ----------------------------------------------------------------------------------

14

15 namespace Microsoft.WindowsAzure.Commands.Storage.Common

16 {

17 using Microsoft.WindowsAzure.Commands.Utilities.Common;

18 using Microsoft.WindowsAzure.Storage.Blob;

19 using Microsoft.WindowsAzure.Storage.File;

20 using Microsoft.WindowsAzure.Storage.Queue;

21 using Microsoft.WindowsAzure.Storage.Table;

StorageCloudBlobCmdletBase.cs (https://gitlab.com/jslee1/azure-powershell) C# · 221 lines

1 // ----------------------------------------------------------------------------------

2 //

3 // Copyright Microsoft Corporation

4 // Licensed under the Apache License, Version 2.0 (the "License");

5 // you may not use this file except in compliance with the License.

13 // ----------------------------------------------------------------------------------

14

15 namespace Microsoft.WindowsAzure.Commands.Storage

16 {

17 using Commands.Common.Storage.ResourceModel;

18 using Microsoft.WindowsAzure.Commands.Common.Storage;

19 using Microsoft.WindowsAzure.Commands.Storage.Common;

20 using Microsoft.WindowsAzure.Commands.Storage.Model.Contract;

21 using Microsoft.WindowsAzure.Storage;

PublishAzureVMDscConfigurationCommand.cs (https://gitlab.com/jslee1/azure-powershell) C# · 206 lines

1 using Microsoft.Azure.Commands.Common.Authentication.Models;

2 using Microsoft.Azure.Commands.Compute.Common;

3 using Microsoft.WindowsAzure.Commands.Common.Extensions.DSC;

4 using Microsoft.WindowsAzure.Commands.Common.Extensions.DSC.Publish;

5 using Microsoft.WindowsAzure.Storage.Auth;

6 using System;

7 using System.Management.Automation;

8

9 namespace Microsoft.Azure.Commands.Compute.Extension.DSC

10 {

11 /// <summary>

112 ///Path to a .psd1 file that specifies the data for the Configuration. This

113 /// file must contain a hashtable with the items described in

114 /// http://technet.microsoft.com/en-us/library/dn249925.aspx.

115 /// </summary>

116 [Parameter(

From37To38.cs (https://github.com/samueldjack/ravendb.git) C# · 282 lines

4 // </copyright>

5 // -----------------------------------------------------------------------

6 using Microsoft.Isam.Esent.Interop;

7 using Raven.Database.Impl;

8

9 namespace Raven.Storage.Esent.SchemaUpdates.Updates

10 {

11 public class From37To38 : ISchemaUpdate

Master.cs (https://bitbucket.org/pmfsampaio/netmf-lpc.git) C# · 151 lines

1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

4

7 using Microsoft.SPOT.Platform.Test;

8

9 namespace Microsoft.SPOT.Platform.Tests

10 {

11 public class Master

13 public static void Main()

14 {

15 string[] args = { "NamespacesTests" };

16 MFTestRunner runner = new MFTestRunner(args);

17 }

Master.cs (https://bitbucket.org/pmfsampaio/netmf-lpc.git) C# · 151 lines

1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

4

7 using Microsoft.SPOT.Platform.Test;

8

9 namespace Microsoft.SPOT.Platform.Tests

10 {

11 public class Master

Solver.cs (https://bitbucket.org/chyh1990/z3.git) C# · 301 lines

1 /*++

2 Copyright (c) 2012 Microsoft Corporation

3

4 Module Name:

21 using System.Diagnostics.Contracts;

22

23 namespace Microsoft.Z3

24 {

25 /// <summary>

ExportCollectionTests.cs (https://github.com/gimlism/mono.git) C# · 208 lines

1 // -----------------------------------------------------------------------

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 // -----------------------------------------------------------------------

4 using System;

11 using System.ComponentModel.Composition.UnitTesting;

12 using System.UnitTesting;

13 using Microsoft.VisualStudio.TestTools.UnitTesting;

14

15 namespace System.ComponentModel.Composition

company.rb (https://github.com/wrozka/rails.git) Ruby · 218 lines

24 end

25

26 module Namespaced

27 class Company < ::Company

28 end

29

30 class Firm < ::Company

31 has_many :clients, :class_name => 'Namespaced::Client'

32 end

33

51 has_many :limited_clients, :class_name => "Client", :limit => 1

52 has_many :clients_with_interpolated_conditions, :class_name => "Client", :conditions => proc { "rating > #{rating}" }

53 has_many :clients_like_ms, :conditions => "name = 'Microsoft'", :class_name => "Client", :order => "id"

54 has_many :clients_like_ms_with_hash_conditions, :conditions => { :name => 'Microsoft' }, :class_name => "Client", :order => "id"

Messages.Designer.cs (https://github.com/castleproject/MonoRail.git) C# · 324 lines

9 //------------------------------------------------------------------------------

10

11 namespace Castle.Components.Validator {

12 using System;

13

29 private static global::System.Globalization.CultureInfo resourceCulture;

30

31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

32 internal Messages() {

33 }

DNNTreeNavigationProvider.cs (https://mathphoenix.svn.codeplex.com/svn) C# · 479 lines

1 namespace DotNetNuke.NavigationControl

2 {

3 using DotNetNuke.Modules.NavigationProvider;

4 using DotNetNuke.UI.WebControls;

5 using Microsoft.VisualBasic;

6 using Microsoft.VisualBasic.CompilerServices;

PSPoolSpecification.cs (https://gitlab.com/jslee1/azure-powershell) C# · 375 lines

1 // -----------------------------------------------------------------------------

2 //

3 // Copyright Microsoft Corporation

4 // Licensed under the Apache License, Version 2.0 (the "License");

5 // you may not use this file except in compliance with the License.

22 //------------------------------------------------------------------------------

23

24 namespace Microsoft.Azure.Commands.Batch.Models

25 {

26 using System.Collections.Generic;

30 {

31

32 internal Microsoft.Azure.Batch.PoolSpecification omObject;

33

34 private IList<PSApplicationPackageReference> applicationPackageReferences;

DelegateHelpers.Generated.cs (https://github.com/jdhardy/ironpython.git) C# · 293 lines

1 /* ****************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation.

4 *

5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A

6 * copy of the license can be found in the License.html file at the root of this distribution. If

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.

10 *

23

24 #if !FEATURE_CORE_DLR

25 namespace Microsoft.Scripting.Ast.Compiler {

26 using Microsoft.Scripting.Utils;

27 #else

28 namespace System.Linq.Expressions.Compiler {

29 #endif

30 internal static partial class DelegateHelpers {

NamespaceKeywordRecommenderTests.vb (https://gitlab.com/sharadag/TestProject2) Visual Basic · 328 lines

8 Imports Xunit

9

10 Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.Recommendations.Declarations

11 Public Class NamespaceKeywordRecommenderTests

26 Public Sub NamespaceInNamespace()

27 VerifyRecommendationsContain(<NamespaceDeclaration>|</NamespaceDeclaration>, "Namespace")

28 End Sub

29

45 <Fact, WorkItem(530727)>

46 <Trait(Traits.Feature, Traits.Features.KeywordRecommending)>

47 Public Sub NamespaceFollowsNamespace()

48 Dim code =

49 <File>

210 Public Sub NamespaceNotAfterPrivateInNamespace()

211 VerifyRecommendationsMissing(<NamespaceDeclaration>Private |</NamespaceDeclaration>, "Namespace")

212 End Sub

213

StartActionWithOnlyEndActionRuleTests.cs (https://gitlab.com/sharadag/TestProject2) C# · 344 lines

4 using Microsoft.CodeAnalysis.CodeFixes;

5 using Microsoft.CodeAnalysis.CSharp.Analyzers.MetaAnalyzers;

6 using Microsoft.CodeAnalysis.Diagnostics;

8 using Xunit;

9

10 namespace Microsoft.CodeAnalysis.UnitTests.Analyzers.MetaAnalyzers

11 {

12 public class StartActionWithOnlyEndActionRuleTests : CodeFixTestBase

18 using System;

19 using System.Collections.Immutable;

20 using Microsoft.CodeAnalysis;

21 using Microsoft.CodeAnalysis.CSharp;

71 Imports Microsoft.CodeAnalysis.Diagnostics

72 Imports Microsoft.CodeAnalysis.VisualBasic

73

74 <DiagnosticAnalyzer(LanguageNames.VisualBasic)>

attention_cpu_base.h (https://github.com/microsoft/onnxruntime.git) C Header · 214 lines

1 // Copyright (c) Microsoft Corporation. All rights reserved.

2 // Licensed under the MIT License.

3

11 #include "core/framework/op_kernel.h"

12

13 namespace onnxruntime {

14 namespace contrib {

211 };

212

213 } // namespace contrib

214 } // namespace onnxruntime

SelectExtensions.cs (https://github.com/Microsoft/Trill.git) C# · 229 lines

1 // *********************************************************************

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 // Licensed under the MIT License

4 // *********************************************************************

9 using System.Reflection;

10

11 namespace Microsoft.StreamProcessing

12 {

13 /// <summary>

MovingEffect.cs (https://gitlab.com/swak/UltimaXNA) C# · 190 lines

11 #region usings

12 using System;

13 using Microsoft.Xna.Framework;

14 using UltimaXNA.Ultima.World.Entities.Items;

15 using UltimaXNA.Ultima.World.Entities.Mobiles;

18 #endregion

19

20 namespace UltimaXNA.Ultima.World.Entities.Effects

21 {

22 public class MovingEffect : AEffect

Settings.Designer.cs (https://github.com/bitbeans/SimpleDnsCrypt.git) C# · 314 lines

9 //------------------------------------------------------------------------------

10

11 namespace SimpleDnsCrypt.Properties {

12

13

14 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]

15 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.5.0.0")]

16 internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {

17

ITimespanFormatter.cs (https://enhancedreminders.svn.codeplex.com/svn) C# · 227 lines

1 //++

2 //

3 // Copyright (c) Microsoft Corporation. All rights reserved.

4 //

5 // Module Name:

16 using System.Globalization;

17

18 namespace Microsoft.EnhancedReminders.Dispatcher

19 {

20 /// <summary>

UserProfile.cs (https://mathphoenix.svn.codeplex.com/svn) C# · 383 lines

1 namespace DotNetNuke.Entities.Users

2 {

3 using DotNetNuke.Common.Utilities;

4 using Microsoft.VisualBasic.CompilerServices;

5 using System;

6 using System.Collections;

_LinkApplicationPlacementType_DAL.cs (https://PlacementManager.svn.codeplex.com/svn) C# · 336 lines

28 using System.Web.UI.WebControls.WebParts;

29 using System.Web.UI.HtmlControls;

30 using Microsoft.Practices.EnterpriseLibrary.Data;

31 using Microsoft.Practices.EnterpriseLibrary.Data.Sql;

32

33

34 namespace PlacementManager.DAL

35 {

36 public abstract class _LinkApplicationPlacementType_DAL

UserExperienceAnalyticsDeviceStartupHistory.php (https://github.com/microsoftgraph/msgraph-sdk-php.git) PHP · 499 lines

1 <?php

2 /**

3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.

4 *

5 * UserExperienceAnalyticsDeviceStartupHistory File

7 *

8 * @category Library

9 * @package Microsoft.Graph

10 * @copyright © Microsoft Corporation. All rights reserved.

12 * @link https://graph.microsoft.com

13 */

14 namespace Beta\Microsoft\Graph\Model;

15

16 /**

18 *

19 * @category Model

20 * @package Microsoft.Graph

21 * @copyright © Microsoft Corporation. All rights reserved.

RegionManagerExtensionsFixture.cs (https://github.com/jeffras/Prism-4-with-WinForms.git) C# · 179 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

7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT

21 using System.Linq;

22 using System.Text;

23 using Microsoft.Practices.Prism.Tests.Mocks;

24 using Microsoft.Practices.Prism.Regions;

26 using Microsoft.VisualStudio.TestTools.UnitTesting;

27

28 namespace Microsoft.Practices.Prism.Tests.Regions

29 {

30 [TestClass]

DynamicTypeGenerator.cs (https://github.com/iainlane/mono.git) C# · 125 lines

1 /* ****************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation. All rights reserved.

4 *

5 * This software is subject to the Microsoft Public License (Ms-PL).

11 * ***************************************************************************/

12

13 namespace System.Web.Mvc {

14 using System;

15 using System.Collections.Generic;

98 Type[] parameterTypes = (from p in parameters select p.ParameterType).ToArray();

99

100 // based on http://msdn.microsoft.com/en-us/library/system.reflection.emit.typebuilder.definemethodoverride.aspx

101 MethodBuilder newMethod = newType.DefineMethod(interfaceMethod.DeclaringType.Name + "." + interfaceMethod.Name,

102 MethodAttributes.Private | MethodAttributes.HideBySig | MethodAttributes.NewSlot | MethodAttributes.Virtual | MethodAttributes.Final,

InitializationScopeTests.cs (https://github.com/iainlane/mono.git) C# · 150 lines

1 // -----------------------------------------------------------------------

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 // -----------------------------------------------------------------------

4 using System;

8 using System.ComponentModel.Composition.Hosting;

9 using System.Linq;

10 using Microsoft.VisualStudio.TestTools.UnitTesting;

11

12 namespace System.ComponentModel.Composition

EasyCachingInterceptor.cs (https://github.com/dotnetcore/EasyCaching.git) C# · 282 lines

1 namespace EasyCaching.Interceptor.Castle

2 {

3 using EasyCaching.Core;

5 using EasyCaching.Core.Interceptor;

6 using global::Castle.DynamicProxy;

7 using Microsoft.Extensions.Logging;

8 using Microsoft.Extensions.Options;

EqualPartitionsBalancingStrategyTests.cs (https://github.com/Azure/azure-cosmos-dotnet-v3.git) C# · 216 lines

1 //------------------------------------------------------------

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 //------------------------------------------------------------

4

5 namespace Microsoft.Azure.Cosmos.ChangeFeed.Tests

6 {

7 using System;

8 using System.Collections.Generic;

9 using System.Linq;

10 using Microsoft.Azure.Cosmos.ChangeFeed.FeedManagement;

11 using Microsoft.Azure.Cosmos.ChangeFeed.LeaseManagement;

12 using Microsoft.VisualStudio.TestTools.UnitTesting;

13 using Moq;

14

OrganizationRequest.cs (https://github.com/microsoftgraph/msgraph-sdk-dotnet.git) C# · 274 lines

1 // ------------------------------------------------------------------------------

2 // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.

3 // ------------------------------------------------------------------------------

4

8 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt

9

10 namespace Microsoft.Graph

11 {

12 using System;

118 /// <param name="organizationToUpdate">The Organization to update.</param>

119 /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>

120 /// <exception cref="ClientException">Thrown when an object returned in a response is used for updating an object in Microsoft Graph.</exception>

121 /// <returns>The updated Organization.</returns>

122 public async System.Threading.Tasks.Task<Organization> UpdateAsync(Organization organizationToUpdate, CancellationToken cancellationToken)

ParcelModelTest.cs (https://github.com/alfamale/Shaver.git) C# · 247 lines

18

19 using FlyByNight.Models;

20 using Microsoft.VisualStudio.TestTools.UnitTesting;

21 using System;

22 using Microsoft.VisualStudio.TestTools.UnitTesting.Web;

23

24 namespace FlyByNight.Tests.Models

25 {

26

CharacterClass.cs (https://github.com/mauriciocirelli/MonoGame-Samples.git) C# · 279 lines

3 // CharacterClass.cs

4 //

5 // Microsoft XNA Community Game Platform

6 // Copyright (C) Microsoft Corporation. All rights reserved.

11 using System;

12 using System.Collections.Generic;

13 using Microsoft.Xna.Framework.Content;

14 #endregion

15

16 namespace RolePlayingGameData

17 {

18 /// <summary>

DsComentarios.xsd (https://bitbucket.org/rjulietagarcia/estadisticas.git) XML Schema · 90 lines

1 <?xml version="1.0" encoding="utf-8"?>

2 <xs:schema id="DsComentarios" targetNamespace="http://tempuri.org/DsComentarios.xsd" xmlns:mstns="http://tempuri.org/DsComentarios.xsd" xmlns="http://tempuri.org/DsComentarios.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">

3 <xs:annotation>

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">

6 <Connections>

7 <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="db911ConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="db911ConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WsEstadisticasEducativas.Properties.Settings.GlobalReference.Default.db911ConnectionString1" Provider="System.Data.SqlClient">

IFrameworkLogOptions.cs (https://github.com/Microsoft/CodeContracts.git) C# · 456 lines

1 // Copyright (c) Microsoft. All rights reserved.

2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.

3

7 using System.Diagnostics.Contracts;

8

9 namespace Microsoft.Research.CodeAnalysis

10 {

11 public partial interface IFrameworkLogOptions

FileBuffer.cs (https://github.com/Microsoft/BuildXL.git) C# · 317 lines

1 // Copyright (c) Microsoft Corporation.

2 // Licensed under the MIT License.

3

7 using BuildXL.Utilities;

8

9 namespace BuildXL.Native.Streams

10 {

11 /// <summary>

ExceptionMessages.Designer.cs (https://github.com/NzbDrone/NzbDrone.git) C# · 222 lines

9 //------------------------------------------------------------------------------

10

11 namespace NzbDrone.Common.EnsureThat.Resources {

12 /// <summary>

13 /// A strongly-typed resource class, for looking up localized strings, etc.

26 private static global::System.Globalization.CultureInfo resourceCulture;

27

28 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

29 internal ExceptionMessages() {

30 }

DsBusquedaInmuebles.xsd (https://bitbucket.org/rjulietagarcia/estadisticas.git) XML Schema · 140 lines

1 <?xml version="1.0" encoding="utf-8"?>

2 <xs:schema xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:mstns="http://tempuri.org/DsBusquedaInmuebles.xsd" xmlns="http://tempuri.org/DsBusquedaInmuebles.xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/DsBusquedaInmuebles.xsd" id="DsBusquedaInmuebles" xmlns:xs="http://www.w3.org/2001/XMLSchema">

3 <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="DsBusquedaInmuebles">

4 <xs:complexType>

EntityConfigurations.cs (https://cfx.svn.codeplex.com/svn) C# · 319 lines ✨ Summary

This C# code defines entity configurations for a database, including tables and relationships between them. It specifies column mappings, data types, and constraints for each table, as well as complex type configurations for additional data such as names and addresses. The configurations are used to map the database schema to the C# classes that represent the data.

2 * Module Name: EntityConfigurations.cs

3 * Project: CSEFCodeOnly

4 * Copyright (c) Microsoft Corporation.

5 *

6 * This code file contains the EntityConfiguration for the POCO entities to

7 * create the Entity Data Model metadata.

8 *

9 * This source is subject to the Microsoft Public License.

10 * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.

21 using System.Linq;

22 using System.Text;

23 using Microsoft.Data.Objects;

24 #endregion

25

26 namespace CSEFCodeOnly

27 {

28 #region EntityConfiguration for TPT inheritance POCO entities

Reader.cs (https://gitlab.com/taveek/cordova-plugin-barcodescanner) C# · 197 lines

1 /*

2 * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.

3 *

4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

9 */

10

11 namespace WinRTBarcodeReader

12 {

13 using System;

GamePadState.cs (https://github.com/notJUSTguitar/MonoGame.git) C# · 168 lines

42 using System;

43

44 namespace Microsoft.Xna.Framework.Input

45 {

46 public struct GamePadState

132 if (gamePadButtons.Y == ButtonState.Pressed)

133 {

134 buttons |= Microsoft.Xna.Framework.Input.Buttons.Y;

135 }

136 if (gamePadButtons.Back == ButtonState.Pressed)

144 if (gamePadButtons.BigButton == ButtonState.Pressed)

145 {

146 buttons |= Microsoft.Xna.Framework.Input.Buttons.BigButton;

147 }

148 if (gamePadButtons.LeftShoulder == ButtonState.Pressed)

PolicyHttpMessageHandlerTest.cs (https://github.com/aspnet/Extensions.git) C# · 338 lines

7 using System.Threading;

8 using System.Threading.Tasks;

9 using Microsoft.Extensions.Internal;

10 using Polly;

11 using Polly.Timeout;

12 using Xunit;

13

14 namespace Microsoft.Extensions.Http

15 {

16 public class PolicyHttpMessageHandlerTest

MLSService.wsdl (https://github.com/kiouftis/Web-Services-Indexing-In-P2P.git) Web Services Description Language · 143 lines

5 xmlns:tns="http://www.realtytrac.com/"

6 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

7 xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"

8 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"

9 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

10 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

11 targetNamespace="http://www.realtytrac.com/">

12 <wsdl:message name="SOATraderLicense">

13 <wsdl:part element="soat:SOATraderLicense" name="SOATraderLicense"/>

18 <wsdl:types>

19 <schema xmlns="http://www.w3.org/2001/XMLSchema"

20 targetNamespace="http://ws.soatrader.com/"

21 elementFormDefault="qualified">

22 <element type="string" name="SOATraderLicense"/>

SharedPCConfiguration.php (https://github.com/microsoftgraph/msgraph-sdk-php.git) PHP · 387 lines

1 <?php

2 /**

3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.

4 *

5 * SharedPCConfiguration File

7 *

8 * @category Library

9 * @package Microsoft.Graph

10 * @copyright © Microsoft Corporation. All rights reserved.

12 * @link https://graph.microsoft.com

13 */

14 namespace Microsoft\Graph\Model;

15

16 /**

18 *

19 * @category Model

20 * @package Microsoft.Graph

21 * @copyright © Microsoft Corporation. All rights reserved.

LinkContext.cs (https://github.com/QuickJack/mono.git) C# · 258 lines

34 using Mono.Cecil.Cil;

35

36 namespace Mono.Linker {

37

38 public class LinkContext {

229 default:

230 return name.Name.StartsWith ("System")

231 || name.Name.StartsWith ("Microsoft");

232 }

233 }

InheritanceTest.cs (https://github.com/mikependon/RepoDb.git) C# · 376 lines

1 using System;

2 using Microsoft.Data.SqlClient;

3 using System.Linq;

4 using Microsoft.VisualStudio.TestTools.UnitTesting;

6 using RepoDb.IntegrationTests.Setup;

7

8 namespace RepoDb.IntegrationTests

9 {

10 [TestClass]

jet_objectlist.cs (https://github.com/jalchr/ravendb.git) C# · 178 lines

1 //-----------------------------------------------------------------------

2 // <copyright file="jet_objectlist.cs" company="Microsoft Corporation">

3 // Copyright (c) Microsoft Corporation.

5 //-----------------------------------------------------------------------

6

7 namespace Microsoft.Isam.Esent.Interop

8 {

9 using System;

17 [StructLayout(LayoutKind.Sequential)]

18 [SuppressMessage(

19 "Microsoft.StyleCop.CSharp.NamingRules",

20 "SA1307:AccessibleFieldsMustBeginWithUpperCaseLetter",

21 Justification = "This should match the unmanaged API, which isn't capitalized.")]

90 /// </summary>

91 [SuppressMessage(

92 "Microsoft.StyleCop.CSharp.NamingRules",

93 "SA1300:ElementMustBeginWithUpperCaseLetter",

94 Justification = "This should match the unmanaged API, which isn't capitalized.")]

PsApiManagement.cs (https://gitlab.com/jslee1/azure-powershell) C# · 246 lines

1 //

2 // Copyright (c) Microsoft. All rights reserved.

3 //

4 // Licensed under the Apache License, Version 2.0 (the "License");

13 // limitations under the License.

14

15 namespace Microsoft.Azure.Commands.ApiManagement.Models

16 {

17 using AutoMapper;

18 using Microsoft.Azure.Commands.ApiManagement.Properties;

19 using Microsoft.Azure.Management.ApiManagement.Models;

CodeGenerationOptions.cs (https://gitlab.com/sharadag/TestProject2) C# · 184 lines

7 using Roslyn.Utilities;

8

9 namespace Microsoft.CodeAnalysis.CodeGeneration

10 {

11 /// <summary>

75

76 /// <summary>

77 /// True if the code generator should merge namespaces which only contain other namespaces

78 /// into a single declaration with a dotted name. False if the nesting should be preserved

79 /// and each namespace declaration should be nested and should only have a single non-dotted

153 this.AdditionalImports = additionalImports ?? SpecializedCollections.EmptyEnumerable<INamespaceSymbol>();

154 this.GenerateMembers = generateMembers;

155 this.MergeNestedNamespaces = mergeNestedNamespaces;

156 this.MergeAttributes = mergeAttributes;

157 this.GenerateDefaultAccessibility = generateDefaultAccessibility;

EndBlockKeywordRecommenderTests.vb (https://gitlab.com/sharadag/TestProject2) Visual Basic · 279 lines

1 ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

2

3 Imports Microsoft.CodeAnalysis.Text

4 Imports Microsoft.CodeAnalysis.VisualBasic

5 Imports Microsoft.CodeAnalysis.VisualBasic.Symbols

6 Imports Microsoft.CodeAnalysis.VisualBasic.Syntax

7 Imports Roslyn.Test.Utilities

8 Imports Xunit

9

10 Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.Recommendations.Declarations

11 Public Class EndBlockKeywordRecommenderTests

12 <Fact>

index.rst (https://gitlab.com/mayakarya/Docs) ReStructuredText · 447 lines

1

2

3 Microsoft.AspNetCore.Mvc.ViewFeatures.Internal Namespace

4 ========================================================

5

254

255

256 .. dn:namespace:: Microsoft.AspNetCore.Mvc.ViewFeatures.Internal

257

258

349

350

351 Finds and executes an :any:`Microsoft.AspNetCore.Mvc.ViewEngines.IView` for a :any:`Microsoft.AspNetCore.Mvc.PartialViewResult`\.

352

353

ControlIdentifiers.Designer.cs (https://prism.svn.codeplex.com/svn) C# · 305 lines ✨ Summary

This is a C# class that provides access to localized strings for a Silverlight application. It contains a collection of static properties, each returning a string value from a resource file (not shown). The class allows developers to retrieve these strings in their code, making it easier to manage internationalization and localization in the application.

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

7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT

25 //------------------------------------------------------------------------------

26

27 namespace ModularityWithMef.Tests.AcceptanceTest.TestData {

28 using System;

29

45 private static global::System.Globalization.CultureInfo resourceCulture;

46

47 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

48 internal ControlIdentifiers() {

49 }

StartOperationTests.cs (https://github.com/microsoft/qsharp-runtime.git) C# · 190 lines

1 // Copyright (c) Microsoft Corporation. All rights reserved.

2 // Licensed under the MIT License.

3

4 using Microsoft.Quantum.Simulation.Core;

5 using Microsoft.Quantum.Tests.StartOperation;

7 using Xunit;

8

9 namespace Microsoft.Quantum.Simulation.Simulators.Tests

10 {

11 using Helper = Microsoft.Quantum.Simulation.Simulators.Tests.OperationsTestHelper;

26 var q3 = new FreeQubit(3) as Qubit;

27

28 Assert.Equal(1, tracker.GetNumberOfCalls("Microsoft.Quantum.Tests.StartOperation.StartOperationTest"));

29

30 var allVariantsBody = 3;

MapLoaderTest.cs (https://github.com/theblackunknown/trash-2012.git) C# · 199 lines

1 using Trash2012.Engine;

2 using Microsoft.VisualStudio.TestTools.UnitTesting;

3 using System;

4 using Trash2012.Model;

5

6 namespace TestTrash2012

7 {

8

AsyncEnumerable.Creation.cs (https://gitlab.com/svsamipillai/Rx.NET) C# · 283 lines

1 // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.

2 using System;

3 using System.Collections.Generic;

6 using System.Threading.Tasks;

7

8 namespace System.Linq

9 {

10 public static partial class AsyncEnumerable

AssignmentTests.cs (https://github.com/kumaryu/IronLanguages-main.git) C# · 404 lines

1 /* ****************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation.

4 *

5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A

6 * copy of the license can be found in the License.html file at the root of this distribution. If

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.

10 *

14 * ***************************************************************************/

15

16 namespace IronRuby.Tests {

17 public partial class Tests {

18 public void Scenario_Assignment1() {

EventProviderTraceListener.cs (https://gitlab.com/unofficial-mirrors/PowerShell) C# · 288 lines

1 // Copyright (c) Microsoft Corporation. All rights reserved.

2 // Licensed under the MIT License.

3

6 using System.Diagnostics.CodeAnalysis;

7

8 namespace System.Diagnostics.Eventing

9 {

10 public class EventProviderTraceListener : TraceListener

28 private const int s_defaultPayloadSize = 512;

29

30 [SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly")]

31 public string Delimiter

32 {

36 }

37

38 [SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly")]

39 set

40 {

NewAzureServiceRemoteDesktopExtensionConfig.cs (https://gitlab.com/jslee1/azure-powershell) C# · 128 lines

1 // ----------------------------------------------------------------------------------

2 //

3 // Copyright Microsoft Corporation

4 // Licensed under the Apache License, Version 2.0 (the "License");

5 // you may not use this file except in compliance with the License.

18 using System.Security.Cryptography.X509Certificates;

19

20 namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions

21 {

22 /// <summary>

111 CertificateThumbprint = CertificateThumbprint,

112 ThumbprintAlgorithm = ThumbprintAlgorithm,

113 ProviderNameSpace = ProviderNamespace,

114 Type = ExtensionName,

115 PublicConfiguration = PublicConfiguration,

Eval.cs (https://github.com/swax/SwarmNLP.git) C# · 233 lines

1 using System;

2 using System.Text;

3 using Microsoft.CSharp;

4 using System.Reflection;

5 using System.CodeDom.Compiler;

6 using System.Collections.Specialized;

7

8 namespace Evaluator

9 {

10 /// <summary>

72 }

73

74 sourceBuilder.Append(language.beginNamespace(namespaceName));

75 sourceBuilder.Append(typeSource);

76 sourceBuilder.Append(language.endNamespace(namespaceName));

InvocationExpression.cs (https://github.com/acken/mono.git) C# · 199 lines

1 /* ****************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation.

4 *

5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A

6 * copy of the license can be found in the License.html file at the root of this distribution. If

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.

10 *

22

23 #if !FEATURE_CORE_DLR

24 namespace Microsoft.Scripting.Ast {

25 #else

26 namespace System.Linq.Expressions {

CollectionExtensions.cs (https://github.com/jdecuyper/mono.git) C# · 195 lines

1 /* ****************************************************************************

2 *

3 * Copyright (c) Microsoft Corporation.

4 *

5 * This source code is subject to terms and conditions of the Microsoft Public License. A

6 * copy of the license can be found in the License.html file at the root of this distribution. If

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.

10 *

11 * You must not remove this notice, or any other, from this software.

15

16 #if CLR2

17 using Microsoft.Scripting.Utils;

18 #else

19 using System.Diagnostics.Contracts;

This.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 268 lines ✨ Summary

This Java code defines a class This that represents a scripted object in the BeanShell programming language. It provides methods for invoking methods on the object, handling primitive values, and implementing the default Object protocol. The class also allows binding to a parent namespace and reinitializing the call stack. It’s used by the BeanShell interpreter to manage scripted objects.

49 The namespace that this This reference wraps.

50 */

51 NameSpace namespace;

52

53 /**

85 */

86 static This getThis(

87 NameSpace namespace, Interpreter declaringInterpreter )

88 {

89 try {

261 This ths, NameSpace namespace, Interpreter declaringInterpreter )

262 {

263 ths.namespace.setParent( namespace );

264 ths.declaringInterpreter = declaringInterpreter;

265 }

qpatternplatform.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 301 lines

46 #include "qpatternplatform_p.h"

47

48 QT_BEGIN_NAMESPACE

49

50 using namespace QPatternist;

51

52 namespace QPatternist

53 {

54 /**

299 }

300

301 QT_END_NAMESPACE

302

BSHClassDeclaration.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 105 lines ✨ Summary

This Java class represents a class declaration in the BeanShell scripting language. It extends SimpleNode and provides methods for resolving superclass information, getting interfaces, and generating a new class based on the provided parameters. The eval() method is used to create a new class instance, while the toString() method returns a string representation of the class declaration.

41 The class instance initializer method name.

42 A BshMethod by this name is installed by the class delcaration into

43 the static class body namespace.

44 It is called once to initialize the static members of the class space

45 and each time an instances is created to initialize the instance

convert.h (git://github.com/jwiegley/ledger.git) C Header · 56 lines ✨ Summary

This C header file defines a function convert_command that takes a call_scope_t object as an argument and returns a value_t. The function is part of a namespace called ledger, indicating its relation to a larger project or system, likely related to financial transactions or accounting. It appears to be a utility function for converting data within the scope of a specific context.

45 #include "value.h"

46

47 namespace ledger {

48

49 class call_scope_t;

51 value_t convert_command(call_scope_t& scope);

52

53 } // namespace ledger

54

55 #endif // _CONVERT_H

NamespaceConstructor.html (http://xbird.googlecode.com/svn/trunk/) HTML · 476 lines ✨ Summary

This HTML code outputs a documentation page for a Java class, NamespaceConstructor, generated by an automatic documentation tool. It displays information about the class, including its methods and fields, as well as links to related classes and pages. The output is formatted in a standard documentation style, with navigation bars and summaries of key concepts.

165 </TR>

166 <TR BGCOLOR="white" CLASS="TableRowColor">

167 <TD><CODE><B><A HREF="../../../../xbird/xquery/expr/constructor/NamespaceConstructor.html#NamespaceConstructor(java.lang.String, java.lang.String)">NamespaceConstructor</A></B>(<A HREF="http://java.sun.com/products/j2se/1.5/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,

168 <A HREF="http://java.sun.com/products/j2se/1.5/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)</CODE>

169

295 NamespaceConstructor</H3>

296 <PRE>

297 public <A HREF="../../../../src-html/xbird/xquery/expr/constructor/NamespaceConstructor.html#line.50"><B>NamespaceConstructor</B></A>(<A HREF="http://java.sun.com/products/j2se/1.5/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,

298 <A HREF="http://java.sun.com/products/j2se/1.5/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)</PRE>

299 <DL>

379 eval</H3>

380 <PRE>

381 public <A HREF="../../../../xbird/xquery/dm/value/node/DMNamespace.html" title="class in xbird.xquery.dm.value.node">DMNamespace</A> <A HREF="../../../../src-html/xbird/xquery/expr/constructor/NamespaceConstructor.html#line.78"><B>eval</B></A>(<A HREF="../../../../xbird/xquery/dm/value/Sequence.html" title="interface in xbird.xquery.dm.value">Sequence</A>&lt;? extends <A HREF="../../../../xbird/xquery/dm/value/Item.html" title="interface in xbird.xquery.dm.value">Item</A>&gt;&nbsp;contextSeq,

382 <A HREF="../../../../xbird/xquery/meta/DynamicContext.html" title="class in xbird.xquery.meta">DynamicContext</A>&nbsp;dynEnv)

383 throws <A HREF="../../../../xbird/xquery/XQueryException.html" title="class in xbird.xquery">XQueryException</A></PRE>

boost_no_mem_templates.ipp (http://hadesmem.googlecode.com/svn/trunk/) C++ Header · 0 lines ✨ Summary

This C++ header code tests whether member templates are fully supported by the compiler. It defines a struct foo with nested template functions and checks if they can be instantiated correctly, including template metaprogramming features like BOOST_NESTED_TEMPLATE. The test function test_proc exercises these features to verify their behavior.

15

16

17 namespace boost_no_member_templates{

18

19 template <class T>

month_and_week_grid.cpp (http://hadesmem.googlecode.com/svn/trunk/) C++ · 0 lines ✨ Summary

The code generates a time grid representing a two-month period, dividing it into monthly and weekly partitions. It then prints out the intervals for each partition, showing which days are part of a new month or week. The output shows the start and end dates for each interval, indicating how the time is divided into months and weeks.

35 #include <boost/icl/split_interval_set.hpp>

36

37 using namespace std;

38 using namespace boost::gregorian;

39 using namespace boost::icl;

40

41 typedef split_interval_set<boost::gregorian::date> date_grid;

is_object.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

20 #include <boost/type_traits/detail/bool_trait_def.hpp>

21

22 namespace boost {

23

24 namespace detail {

43 };

44

45 } // namespace detail

46

47 BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_object,T,::boost::detail::is_object_impl<T>::value)

48

49 } // namespace boost

50

51 #include <boost/type_traits/detail/bool_trait_undef.hpp>

FsmAsPtr.cpp (http://hadesmem.googlecode.com/svn/trunk/) C++ · 0 lines ✨ Summary

The provided C++ code implements a finite state machine (FSM) for a media player. It defines states and transitions based on user input events, such as playing, pausing, opening, closing, and detecting CDs. The FSM is created using the Boost.MSM library and can be controlled through various methods, including do_play(), do_pause(), and do_open_close().

15

16 // cpp: using directives are okay

17 using namespace std;

18 using namespace boost::msm::front::euml;

19 namespace msm = boost::msm;

20

21 // entry/exit/action/guard logging functors

22 #include "logging_functors.h"

23

24 namespace

25 {

26 // events

uint.hpp (http://hadesmem.googlecode.com/svn/trunk/) C++ Header · 0 lines ✨ Summary

This C++ header file provides a set of macros and functions for creating parsers for various data types, including integers, unsigned integers, and long-long integers, in different bases (binary, octal, hexadecimal). It allows users to create parsers with specific modifiers and parameters, making it easier to parse input data into the desired data type.

25 #include <boost/type_traits/is_same.hpp>

26

27 namespace boost { namespace spirit

28 {

29 namespace tag

37 }

38

39 namespace qi

40 {

41 ///////////////////////////////////////////////////////////////////////

185 }}

186

187 namespace boost { namespace spirit { namespace qi

188 {

189 #ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS

Spreadsheets.csproj (http://google-gdata.googlecode.com/svn/trunk/) MSBuild · 188 lines

1 <?xml version="1.0" encoding="utf-8"?>

2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">

3 <PropertyGroup>

4 <ProjectType>Local</ProjectType>

18 <DelaySign>false</DelaySign>

19 <OutputType>Library</OutputType>

20 <RootNamespace>Google.GData.Spreadsheets</RootNamespace>

21 <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>

22 <StartupObject>

163 </ItemGroup>

164 <ItemGroup>

165 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">

166 <Visible>False</Visible>

167 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>

168 <Install>false</Install>

169 </BootstrapperPackage>

170 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">

171 <Visible>False</Visible>

172 <ProductName>.NET Framework 3.5 SP1</ProductName>

BSHPrimarySuffix.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 305 lines ✨ Summary

This Java code defines a class doIndex that handles array indexing operations in a Bash-like interpreter. It takes an object, index value, and call stack as input and returns the indexed value. The method also handles cases where the index is not an integer type, throwing an error if so.

77 throw new EvalError("Can't assign .class",

78 this, callstack );

79 NameSpace namespace = callstack.top();

80 return ((BSHType)obj).getType( callstack, interpreter );

81 } else

jEdit.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 3856 lines ✨ Summary

This Java code is part of a text editor application, managing various aspects such as plugin configuration, buffer management, and user interface settings. It initializes and configures the application’s properties, including plugin errors, action sets, and theme. The code also handles buffer linking, sorting, and caching, ensuring thread-safe operations for temporary files.

468 try

469 {

470 BeanShell.getNameSpace().setVariable("args",args);

471 }

472 catch(UtilEvalError e)

valid.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 459 lines

366 const xmlChar *value);

367 XMLPUBFUN int XMLCALL

368 xmlValidateOneNamespace (xmlValidCtxtPtr ctxt,

369 xmlDocPtr doc,

370 xmlNodePtr elem,

decay_array.hpp (http://hadesmem.googlecode.com/svn/trunk/) C++ Header · 0 lines ✨ Summary

This C++ header defines a metafunction decay_array that takes an array type as input and returns its corresponding pointer-to-element type. The function is used to decay arrays into pointers, allowing for more flexible use in template metaprogramming. It’s part of the Boost Phoenix library, providing a way to work with arrays in a more expressive and generic manner.

11 #define PHOENIX_ALGORITHM_DETAIL_DECAY_ARRAY_HPP

12

13 namespace boost { namespace phoenix {

14 namespace detail

bg.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 23 lines

1 /**

2 Source a command in its own thread in the caller's namespace

3 <p>

4

12 Thread bg( String filename )

13 {

14 this.callerNameSpace = this.caller.namespace;

15 run() {

16 this.interpreter.source( filename, callerNameSpace );

adapt_assoc_struct_named.hpp (http://hadesmem.googlecode.com/svn/trunk/) C++ Header · 0 lines ✨ Summary

This C++ header file provides a macro for adapting structs to work with Boost.Fusion, a library for working with sequences and containers. It allows users to define a struct with named attributes and adapt it to be used as a view in a sequence, providing a convenient way to access its elements by name.

20

21 #define BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED_NS( \

22 WRAPPED_TYPE, NAMESPACE_SEQ, NAME, ATTRIBUTES) \

23 \

24 BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE_IMPL( \

25 WRAPPED_TYPE,(0)NAMESPACE_SEQ,NAME) \

26 \

27 BOOST_FUSION_ADAPT_ASSOC_STRUCT_AS_VIEW( \

28 BOOST_FUSION_ADAPT_STRUCT_NAMESPACE_DECLARATION((0)NAMESPACE_SEQ)NAME, \

29 BOOST_PP_CAT( \

30 BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED_FILLER_0 ATTRIBUTES,_END))

javap.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 63 lines

29 Class clas;

30 if ( o instanceof ClassIdentifier )

31 clas = this.caller.namespace.identifierToClass(o);

32 else if ( o instanceof String )

33 {

36 return;

37 }

38 clas = this.caller.namespace.getClass((String)o);

39 } else if ( o instanceof Class )

40 clas = o;

example08.cpp (http://hadesmem.googlecode.com/svn/trunk/) C++ · 0 lines ✨ Summary

This C++ code sets up a unit test framework using Boost.Test. It defines a test class with a method that checks if a double value multiplied by 100 is close to an integer value. The init_unit_test function creates a parameterized test case that runs the test method on different input values, verifying its correctness for various precision levels.

4 #include <boost/test/parameterized_test.hpp>

5 #include <boost/bind.hpp>

6 using namespace boost::unit_test;

7 using namespace boost;

DatePrototype.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1096 lines

68 #endif

69

70 using namespace WTF;

71

72 namespace JSC {

124 #include "DatePrototype.lut.h"

125

126 namespace JSC {

127

128 enum LocaleDateTimeFormat { LocaleDateAndTime, LocaleDate, LocaleTime };

CSSPrimitiveValueCache.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 72 lines

32 #include <wtf/RefPtr.h>

33

34 namespace WebCore {

35

36 class CSSPrimitiveValue;

qfunctionfactorycollection.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 138 lines

49 #include "qfunctionfactorycollection_p.h"

50

51 QT_BEGIN_NAMESPACE

52

53 using namespace QPatternist;

136 }

137

138 QT_END_NAMESPACE

139

JThis.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 238 lines ✨ Summary

This Java code defines a set of listener interfaces and event handlers for various GUI events, such as button clicks, key presses, and window changes. It also provides a method to update an image in a graphical application. The code uses a custom interpreter and call stack system to handle the event handling and method invocation.

48 arbitrary interfaces.

49

50 The NameSpace getThis() method will produce instances of JThis if

51 the java version is prior to 1.3 and swing is available... (e.g. 1.2

52 or 1.1 + swing installed)

76 {

77

78 JThis( NameSpace namespace, Interpreter declaringInterp ) {

79 super( namespace, declaringInterp );

81

82 public String toString() {

83 return "'this' reference (JThis) to Bsh object: " + namespace.getName();

84 }

85

86 void event(String name, Object event)

87 {

88 CallStack callstack = new CallStack( namespace );

89 BshMethod method = null;

90

BSHMethodInvocation.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 104 lines ✨ Summary

This Java code defines a class BSHMethodInvocation that extends SimpleNode. It handles method invocations in BeanShell, a JavaScript-like scripting language for Java. The class evaluates the method invocation with the specified call stack and interpreter, handling exceptions and errors, and returns the result of the method invocation.

56 throws EvalError

57 {

58 NameSpace namespace = callstack.top();

59 BSHAmbiguousName nameNode = getNameNode();

60

61 // Do not evaluate methods this() or super() in class instance space

62 // (i.e. inside a constructor)

63 if ( namespace.getParent() != null && namespace.getParent().isClass

64 && ( nameNode.text.equals("super") || nameNode.text.equals("this") )

65 )

66 return Primitive.VOID;

67

68 Name name = nameNode.getName(namespace);

69 Object[] args = getArgsNode().getArguments(callstack, interpreter);

70

requireddestination.cs (http://google-gdata.googlecode.com/svn/trunk/) C# · 53 lines ✨ Summary

This C# code defines a class RequiredDestination that represents an element in Google’s Content for Shopping API. It has a default constructor and a parameterized constructor to create instances with a destination value. The class provides a public property Destination to access and modify the element’s attribute.

16 using Google.GData.Extensions;

17

18 namespace Google.GData.ContentForShopping.Elements {

19 public class RequiredDestination : SimpleElement {

20 /// <summary>

24 : base(ContentForShoppingNameTable.RequiredDestination,

25 ContentForShoppingNameTable.scDataPrefix,

26 ContentForShoppingNameTable.BaseNamespace) {

27 }

28

34 : base(ContentForShoppingNameTable.RequiredDestination,

35 ContentForShoppingNameTable.scDataPrefix,

36 ContentForShoppingNameTable.BaseNamespace) {

37 this.Destination = destination;

38 }

qsequencegeneratingfns_p.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 167 lines

68 QT_BEGIN_HEADER

69

70 QT_BEGIN_NAMESPACE

71

72 namespace QPatternist

162 }

163

164 QT_END_NAMESPACE

165 QT_END_HEADER

166

source.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 19 lines

1 /**

2 Read filename into the interpreter and evaluate it in the current

3 namespace. Like the Bourne Shell "." command.

4 */

5

7

8 Object source( String filename ) {

9 return this.interpreter.source( filename, this.caller.namespace );

10 }

11

12 Object source( URL url ) {

13 return this.interpreter.eval(

14 new InputStreamReader(url.openStream()), this.caller.namespace,

15 "URL: "+url.toString()

16 );

DelaySlotFiller.cpp (git://pkgs.fedoraproject.org/llvm) C++ · 324 lines

24 #include "llvm/ADT/Statistic.h"

25

26 using namespace llvm;

27

28 STATISTIC(FilledSlots, "Number of delay slots filled");

34 cl::Hidden);

35

36 namespace {

37 struct Filler : public MachineFunctionPass {

38 /// Target machine description which we query for reg. names, data

84 };

85 char Filler::ID = 0;

86 } // end of anonymous namespace

87

88 /// createSparcDelaySlotFillerPass - Returns a pass that fills in delay

smoke_particle_holder.cpp (git://pkgs.fedoraproject.org/pingus) C++ · 92 lines

19 #include "engine/display/scene_context.hpp"

20

21 namespace Particles {

22

23 SmokeParticleHolder::SmokeParticle::SmokeParticle (float x, float y, float vel_x, float vel_y) :

87 }

88

89 } // namespace Particles

90

91 /* EOF */

RegisterFile.cpp (git://pkgs.fedoraproject.org/qtwebkit) C++ · 102 lines

35 #include "JSGlobalObject.h"

36

37 namespace JSC {

38

39 static size_t committedBytesCount = 0;

99 }

100

101 } // namespace JSC

102

DrawableSegsGL.hxx (git://pkgs.fedoraproject.org/scilab) C++ Header · 193 lines

76 #endif

77

78 namespace org_scilab_modules_renderer_segsDrawing {

79 class GIWSEXPORT DrawableSegsGL {

80

DrawingAreaInfo.h (git://pkgs.fedoraproject.org/qtwebkit) C++ Header · 42 lines

27 #define DrawingAreaType_h

28

29 namespace WebKit {

30

31 enum DrawingAreaType {

37 };

38

39 } // namespace WebKit

40

41 #endif // DrawingAreaType_h

Mesh2dn.cpp (git://pkgs.fedoraproject.org/freefem++) C++ · 456 lines

46 #include "PlotStream.hpp"

47

48 namespace Fem2D {

49 long verbosity=1;

50

pdfimporter.h (git://pkgs.fedoraproject.org/tellico) C Header · 53 lines

28 #include "importer.h"

29

30 namespace Tellico {

31 namespace Import {

ibm85n102.xml (git://github.com/landgraf/matreshka.git) XML · 21 lines

7 </processingInstruction>

8 <startElement>

9 <namespaceURI/>

10 <localName>animal</localName>

11 <qualifiedName>animal</qualifiedName>

13 </startElement>

14 <endElement>

15 <namespaceURI/>

16 <localName>animal</localName>

17 <qualifiedName>animal</qualifiedName>