Imported Upstream version 5.4.0.167

Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-08-21 15:34:15 +00:00
parent e49d6f06c0
commit 536cd135cc
12856 changed files with 563812 additions and 223249 deletions

View File

@@ -367,19 +367,19 @@ namespace Microsoft.Win32 {
[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)]
[ResourceExposure(ResourceScope.None)]
[return: MarshalAs(UnmanagedType.Bool)]
[SuppressMessage("Microsoft.Security", "CA2118:ReviewSuppressUnmanagedCodeSecurityUsage", Justification = "[....]: EventLog is protected by EventLogPermission")]
[SuppressMessage("Microsoft.Security", "CA2118:ReviewSuppressUnmanagedCodeSecurityUsage", Justification = "Microsoft: EventLog is protected by EventLogPermission")]
public static extern bool GetOldestEventLogRecord(SafeHandle hEventLog, out int number);
[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)]
[ResourceExposure(ResourceScope.Machine)]
[return: MarshalAs(UnmanagedType.Bool)]
[SuppressMessage("Microsoft.Security", "CA2118:ReviewSuppressUnmanagedCodeSecurityUsage", Justification = "[....]: EventLog is protected by EventLogPermission")]
[SuppressMessage("Microsoft.Security", "CA2118:ReviewSuppressUnmanagedCodeSecurityUsage", Justification = "Microsoft: EventLog is protected by EventLogPermission")]
public static extern bool ReadEventLog(SafeHandle hEventLog, int dwReadFlags,
int dwRecordOffset, byte[] buffer, int numberOfBytesToRead, out int bytesRead,
out int minNumOfBytesNeeded);
[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)]
[ResourceExposure(ResourceScope.None)]
[return: MarshalAs(UnmanagedType.Bool)]
[SuppressMessage("Microsoft.Security", "CA2118:ReviewSuppressUnmanagedCodeSecurityUsage", Justification = "[....]: EventLog is protected by EventLogPermission")]
[SuppressMessage("Microsoft.Security", "CA2118:ReviewSuppressUnmanagedCodeSecurityUsage", Justification = "Microsoft: EventLog is protected by EventLogPermission")]
public static extern bool NotifyChangeEventLog(SafeHandle hEventLog, SafeWaitHandle hEvent);
[DllImport(ExternDll.Kernel32, EntryPoint="ReadDirectoryChangesW", CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)]

View File

@@ -7,7 +7,7 @@
**
** Class: SafeEventLogReadHandle
**
** <EMAIL>Author: David Gutierrez ([....]) </EMAIL>
** <EMAIL>Author: David Gutierrez (Microsoft) </EMAIL>
**
** A wrapper for event log handles
**

View File

@@ -7,7 +7,7 @@
**
** Class: SafeEventLogWriteHandle
**
** <EMAIL>Author: David Gutierrez ([....]) </EMAIL>
** <EMAIL>Author: David Gutierrez (Microsoft) </EMAIL>
**
** A wrapper for event log handles
**

View File

@@ -7,7 +7,7 @@
**
** Class: SafeFileMapViewHandle
**
** <EMAIL>Author: Brian Grunkemeyer ([....]) </EMAIL>
** <EMAIL>Author: Brian Grunkemeyer (Microsoft) </EMAIL>
**
** A wrapper for handles returned from MapViewOfFile, used
** for shared memory.

View File

@@ -7,7 +7,7 @@
**
** Class: SafeFileMappingHandle
**
** <EMAIL>Author: David Gutierrez ([....]) </EMAIL>
** <EMAIL>Author: David Gutierrez (Microsoft) </EMAIL>
**
** A wrapper for handle to file mappings, returned by
** CreateFileMapping and OpenFileMapping. Used for shared

View File

@@ -7,7 +7,7 @@
**
** Class: SafeLibraryHandle
**
** <EMAIL>Author: David Gutierrez ([....]) </EMAIL>
** <EMAIL>Author: David Gutierrez (Microsoft) </EMAIL>
**
** A wrapper for a library handles
**

View File

@@ -7,7 +7,7 @@
**
** Class: SafeLocalMemHandle
**
** <EMAIL>Author: David Gutierrez ([....]) </EMAIL>
** <EMAIL>Author: David Gutierrez (Microsoft) </EMAIL>
**
** A wrapper for handle to local memory
**

View File

@@ -7,7 +7,7 @@
**
** Class: SafeTimerHandle
**
** <EMAIL>Author: David Gutierrez ([....]) </EMAIL>
** <EMAIL>Author: David Gutierrez (Microsoft) </EMAIL>
**
** A wrapper for a timer handle
**

View File

@@ -7,7 +7,7 @@
**
** Class: SafeUserTokenHandle
**
** <EMAIL>Author: David Gutierrez ([....]) </EMAIL>
** <EMAIL>Author: David Gutierrez (Microsoft) </EMAIL>
**
** A wrapper for a user token handle
**

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <copyright file="CodeArgumentReferenceExpression.cs" company="Microsoft">
//
// <OWNER>[....]</OWNER>
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <copyright file="CodeArrayCreateExpression.cs" company="Microsoft">
//
// <OWNER>[....]</OWNER>
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <copyright file="CodeArrayIndexerExpression.cs" company="Microsoft">
//
// <OWNER>[....]</OWNER>
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <copyright file="CodeAssignStatement.cs" company="Microsoft">
//
// <OWNER>[....]</OWNER>
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <copyright file="CodeAttachEventStatement.cs" company="Microsoft">
//
// <OWNER>[....]</OWNER>
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <copyright file="CodeAttributeArgument.cs" company="Microsoft">
//
// <OWNER>[....]</OWNER>
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
// ------------------------------------------------------------------------------
// <copyright file="CodeAttributeArgumentCollection.cs" company="Microsoft">
//
// <OWNER>[....]</OWNER>
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// ------------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <copyright file="CodeAttributeDeclaration.cs" company="Microsoft">
//
// <OWNER>[....]</OWNER>
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
// ------------------------------------------------------------------------------
// <copyright file="CodeAttributeDeclarationCollection.cs" company="Microsoft">
//
// <OWNER>[....]</OWNER>
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// ------------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <copyright file="CodeBinaryOperatorExpression.cs" company="Microsoft">
//
// <OWNER>[....]</OWNER>
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <copyright file="CodeCastExpression.cs" company="Microsoft">
//
// <OWNER>[....]</OWNER>
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

Some files were not shown because too many files have changed in this diff Show More