Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' into pr793
Browse files Browse the repository at this point in the history
  • Loading branch information
terrajobst committed Jul 13, 2018
2 parents 87e2b5b + d0aa241 commit 6c21cc6
Show file tree
Hide file tree
Showing 82 changed files with 31,014 additions and 30,917 deletions.
1 change: 1 addition & 0 deletions dir.props
Expand Up @@ -44,6 +44,7 @@
<RunApiCompat>true</RunApiCompat>
<AssemblyKey>Open</AssemblyKey>
<TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
<LangVersion>latest</LangVersion> <!-- default to allowing all language features -->
</PropertyGroup>

<!--
Expand Down
62 changes: 62 additions & 0 deletions netstandard/ref/Microsoft.Win32.SafeHandles.cs
@@ -0,0 +1,62 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace Microsoft.Win32.SafeHandles
{
public abstract partial class CriticalHandleMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle
{
protected CriticalHandleMinusOneIsInvalid() : base (default(System.IntPtr)) { }
public override bool IsInvalid { get { throw null; } }
}
public abstract partial class CriticalHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle
{
protected CriticalHandleZeroOrMinusOneIsInvalid() : base (default(System.IntPtr)) { }
public override bool IsInvalid { get { throw null; } }
}
public sealed partial class SafeFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
{
public SafeFileHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base (default(bool)) { }
protected override bool ReleaseHandle() { throw null; }
}
public abstract partial class SafeHandleMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle
{
protected SafeHandleMinusOneIsInvalid(bool ownsHandle) : base (default(System.IntPtr), default(bool)) { }
public override bool IsInvalid { get { throw null; } }
}
public abstract partial class SafeHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle
{
protected SafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle) : base (default(System.IntPtr), default(bool)) { }
public override bool IsInvalid { get { throw null; } }
}
public sealed partial class SafeMemoryMappedFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
{
internal SafeMemoryMappedFileHandle() : base (default(bool)) { }
protected override bool ReleaseHandle() { throw null; }
}
public sealed partial class SafeMemoryMappedViewHandle : System.Runtime.InteropServices.SafeBuffer
{
internal SafeMemoryMappedViewHandle() : base (default(bool)) { }
protected override bool ReleaseHandle() { throw null; }
}
public sealed partial class SafePipeHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
{
public SafePipeHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base (default(bool)) { }
protected override bool ReleaseHandle() { throw null; }
}
public sealed partial class SafeProcessHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
{
public SafeProcessHandle(System.IntPtr existingHandle, bool ownsHandle) : base (default(bool)) { }
protected override bool ReleaseHandle() { throw null; }
}
public sealed partial class SafeWaitHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
{
public SafeWaitHandle(System.IntPtr existingHandle, bool ownsHandle) : base (default(bool)) { }
protected override bool ReleaseHandle() { throw null; }
}
public sealed partial class SafeX509ChainHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
{
internal SafeX509ChainHandle() : base (default(bool)) { }
protected override bool ReleaseHandle() { throw null; }
}
}
57 changes: 57 additions & 0 deletions netstandard/ref/System.CodeDom.Compiler.cs
@@ -0,0 +1,57 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace System.CodeDom.Compiler
{
[System.AttributeUsageAttribute((System.AttributeTargets)(32767), Inherited=false, AllowMultiple=false)]
public sealed partial class GeneratedCodeAttribute : System.Attribute
{
public GeneratedCodeAttribute(string tool, string version) { }
public string Tool { get { throw null; } }
public string Version { get { throw null; } }
}
public partial class IndentedTextWriter : System.IO.TextWriter
{
public const string DefaultTabString = " ";
public IndentedTextWriter(System.IO.TextWriter writer) { }
public IndentedTextWriter(System.IO.TextWriter writer, string tabString) { }
public override System.Text.Encoding Encoding { get { throw null; } }
public int Indent { get { throw null; } set { } }
public System.IO.TextWriter InnerWriter { get { throw null; } }
public override string NewLine { get { throw null; } set { } }
public override void Close() { }
public override void Flush() { }
protected virtual void OutputTabs() { }
public override void Write(bool value) { }
public override void Write(char value) { }
public override void Write(char[] buffer) { }
public override void Write(char[] buffer, int index, int count) { }
public override void Write(double value) { }
public override void Write(int value) { }
public override void Write(long value) { }
public override void Write(object value) { }
public override void Write(float value) { }
public override void Write(string s) { }
public override void Write(string format, object arg0) { }
public override void Write(string format, object arg0, object arg1) { }
public override void Write(string format, params object[] arg) { }
public override void WriteLine() { }
public override void WriteLine(bool value) { }
public override void WriteLine(char value) { }
public override void WriteLine(char[] buffer) { }
public override void WriteLine(char[] buffer, int index, int count) { }
public override void WriteLine(double value) { }
public override void WriteLine(int value) { }
public override void WriteLine(long value) { }
public override void WriteLine(object value) { }
public override void WriteLine(float value) { }
public override void WriteLine(string s) { }
public override void WriteLine(string format, object arg0) { }
public override void WriteLine(string format, object arg0, object arg1) { }
public override void WriteLine(string format, params object[] arg) { }
[System.CLSCompliantAttribute(false)]
public override void WriteLine(uint value) { }
public void WriteLineNoTabs(string s) { }
}
}

0 comments on commit 6c21cc6

Please sign in to comment.