Skip to content

Commit

Permalink
update references
Browse files Browse the repository at this point in the history
  • Loading branch information
lg2de committed May 12, 2020
1 parent 799eb03 commit e73cfcf
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 41 deletions.
4 changes: 2 additions & 2 deletions buildscripts/common.props
Expand Up @@ -47,8 +47,8 @@
<DiagnosticsConstants>DEBUG</DiagnosticsConstants>
<NetStandard13Constants>TRACE;FEATURE_NETCORE_REFLECTION_API;FEATURE_TEST_SERILOGINTEGRATION</NetStandard13Constants>
<NetStandard15Constants>$(NetStandard13Constants);FEATURE_CUSTOMMODIFIERS</NetStandard15Constants>
<NetStandard20Constants>TRACE;FEATURE_BINDINGLIST;FEATURE_DICTIONARYADAPTER_XML;FEATURE_CUSTOMMODIFIERS;FEATURE_EVENTLOG;FEATURE_GAC;FEATURE_IDATAERRORINFO;FEATURE_ISUPPORTINITIALIZE;FEATURE_LISTSORT;FEATURE_SMTP;FEATURE_TARGETEXCEPTION;FEATURE_TEST_DATASET;FEATURE_TEST_SERILOGINTEGRATION;FEATURE_NETSTANDARD2_COMPATIBILITY</NetStandard20Constants>
<NetStandard21Constants>TRACE;FEATURE_BINDINGLIST;FEATURE_DICTIONARYADAPTER_XML;FEATURE_CUSTOMMODIFIERS;FEATURE_EVENTLOG;FEATURE_GAC;FEATURE_IDATAERRORINFO;FEATURE_ISUPPORTINITIALIZE;FEATURE_LISTSORT;FEATURE_SMTP;FEATURE_TARGETEXCEPTION;FEATURE_TEST_DATASET;FEATURE_TEST_SERILOGINTEGRATION;FEATURE_NETSTANDARD2_COMPATIBILITY</NetStandard21Constants>
<NetStandard20Constants>TRACE;FEATURE_BINDINGLIST;FEATURE_DICTIONARYADAPTER_XML;FEATURE_CUSTOMMODIFIERS;FEATURE_GAC;FEATURE_IDATAERRORINFO;FEATURE_ISUPPORTINITIALIZE;FEATURE_LISTSORT;FEATURE_SMTP;FEATURE_TARGETEXCEPTION;FEATURE_TEST_DATASET;FEATURE_TEST_SERILOGINTEGRATION;FEATURE_NETSTANDARD2_COMPATIBILITY</NetStandard20Constants>
<NetStandard21Constants>TRACE;FEATURE_BINDINGLIST;FEATURE_DICTIONARYADAPTER_XML;FEATURE_CUSTOMMODIFIERS;FEATURE_GAC;FEATURE_IDATAERRORINFO;FEATURE_ISUPPORTINITIALIZE;FEATURE_LISTSORT;FEATURE_SMTP;FEATURE_TARGETEXCEPTION;FEATURE_TEST_DATASET;FEATURE_TEST_SERILOGINTEGRATION;FEATURE_NETSTANDARD2_COMPATIBILITY</NetStandard21Constants>
<CommonDesktopClrConstants>TRACE;FEATURE_APPDOMAIN;FEATURE_ASSEMBLYBUILDER_SAVE;FEATURE_BINDINGLIST;FEATURE_DICTIONARYADAPTER_XML;FEATURE_CUSTOMMODIFIERS;FEATURE_EVENTLOG;FEATURE_GAC;FEATURE_GET_REFERENCED_ASSEMBLIES;FEATURE_IDATAERRORINFO;FEATURE_ISUPPORTINITIALIZE;FEATURE_LISTSORT;FEATURE_REMOTING;FEATURE_SECURITY_PERMISSIONS;FEATURE_SERIALIZATION;FEATURE_SMTP;FEATURE_SYSTEM_CONFIGURATION;FEATURE_TARGETEXCEPTION;FEATURE_TEST_COM;FEATURE_TEST_DATASET;FEATURE_TEST_SERILOGINTEGRATION</CommonDesktopClrConstants>
<DesktopClrConstants Condition="'$(OS)'=='Unix'">$(CommonDesktopClrConstants)</DesktopClrConstants>
<DesktopClrConstants Condition="'$(OS)'=='Windows_NT'">$(CommonDesktopClrConstants);FEATURE_TEST_PEVERIFY</DesktopClrConstants>
Expand Down
46 changes: 28 additions & 18 deletions ref/Castle.Core-netstandard2.0.cs
Expand Up @@ -716,6 +716,28 @@ public class RemoveIfEmptyAttribute : Castle.Components.DictionaryAdapter.Remove
{
public RemoveIfEmptyAttribute() { }
}
public class SetProjection<T> : Castle.Components.DictionaryAdapter.ListProjection<T>, System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.ISet<T>, System.Collections.IEnumerable
{
public SetProjection(Castle.Components.DictionaryAdapter.ICollectionAdapter<T> adapter) { }
public override bool Add(T item) { }
public override void Clear() { }
public override bool Contains(T item) { }
public override void EndNew(int index) { }
public void ExceptWith(System.Collections.Generic.IEnumerable<T> other) { }
public void IntersectWith(System.Collections.Generic.IEnumerable<T> other) { }
public bool IsProperSubsetOf(System.Collections.Generic.IEnumerable<T> other) { }
public bool IsProperSupersetOf(System.Collections.Generic.IEnumerable<T> other) { }
public bool IsSubsetOf(System.Collections.Generic.IEnumerable<T> other) { }
public bool IsSupersetOf(System.Collections.Generic.IEnumerable<T> other) { }
protected override bool OnInserting(T value) { }
protected override bool OnReplacing(T oldValue, T newValue) { }
public bool Overlaps(System.Collections.Generic.IEnumerable<T> other) { }
public override bool Remove(T item) { }
public override void RemoveAt(int index) { }
public bool SetEquals(System.Collections.Generic.IEnumerable<T> other) { }
public void SymmetricExceptWith(System.Collections.Generic.IEnumerable<T> other) { }
public void UnionWith(System.Collections.Generic.IEnumerable<T> other) { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)]
public class StringFormatAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter
{
Expand Down Expand Up @@ -1633,6 +1655,12 @@ public class XmlSelfCursor : Castle.Components.DictionaryAdapter.IVirtual, Castl
public System.Xml.XmlWriter WriteAttributes() { }
public System.Xml.XmlWriter WriteChildren() { }
}
public class XmlSetSerializer : Castle.Components.DictionaryAdapter.Xml.XmlCollectionSerializer
{
public static readonly Castle.Components.DictionaryAdapter.Xml.XmlSetSerializer Instance;
protected XmlSetSerializer() { }
public override System.Type ListTypeConstructor { get; }
}
public class static XmlSimpleSerializer
{
public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForBoolean;
Expand Down Expand Up @@ -1678,7 +1706,6 @@ public class XmlSubtreeReader : System.Xml.XmlReader
public override string BaseURI { get; }
public override int Depth { get; }
public override bool EOF { get; }
public override bool HasValue { get; }
public bool IsAtRootElement { get; }
public bool IsDisposed { get; }
public override bool IsEmptyElement { get; }
Expand Down Expand Up @@ -2000,23 +2027,6 @@ public class ConsoleLogger : Castle.Core.Logging.LevelFilteredLogger
public override Castle.Core.Logging.ILogger CreateChildLogger(string loggerName) { }
protected override void Log(Castle.Core.Logging.LoggerLevel loggerLevel, string loggerName, string message, System.Exception exception) { }
}
public class DiagnosticsLogger : Castle.Core.Logging.LevelFilteredLogger, System.IDisposable
{
public DiagnosticsLogger(string logName) { }
public DiagnosticsLogger(string logName, string source) { }
public DiagnosticsLogger(string logName, string machineName, string source) { }
public override Castle.Core.Logging.ILogger CreateChildLogger(string loggerName) { }
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
protected override void Finalize() { }
protected override void Log(Castle.Core.Logging.LoggerLevel loggerLevel, string loggerName, string message, System.Exception exception) { }
}
public class DiagnosticsLoggerFactory : Castle.Core.Logging.AbstractLoggerFactory
{
public DiagnosticsLoggerFactory() { }
public override Castle.Core.Logging.ILogger Create(string name) { }
public override Castle.Core.Logging.ILogger Create(string name, Castle.Core.Logging.LoggerLevel level) { }
}
public interface IContextProperties
{
object this[string key] { get; set; }
Expand Down
46 changes: 28 additions & 18 deletions ref/Castle.Core-netstandard2.1.cs
Expand Up @@ -716,6 +716,28 @@ public class RemoveIfEmptyAttribute : Castle.Components.DictionaryAdapter.Remove
{
public RemoveIfEmptyAttribute() { }
}
public class SetProjection<T> : Castle.Components.DictionaryAdapter.ListProjection<T>, System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.ISet<T>, System.Collections.IEnumerable
{
public SetProjection(Castle.Components.DictionaryAdapter.ICollectionAdapter<T> adapter) { }
public override bool Add(T item) { }
public override void Clear() { }
public override bool Contains(T item) { }
public override void EndNew(int index) { }
public void ExceptWith(System.Collections.Generic.IEnumerable<T> other) { }
public void IntersectWith(System.Collections.Generic.IEnumerable<T> other) { }
public bool IsProperSubsetOf(System.Collections.Generic.IEnumerable<T> other) { }
public bool IsProperSupersetOf(System.Collections.Generic.IEnumerable<T> other) { }
public bool IsSubsetOf(System.Collections.Generic.IEnumerable<T> other) { }
public bool IsSupersetOf(System.Collections.Generic.IEnumerable<T> other) { }
protected override bool OnInserting(T value) { }
protected override bool OnReplacing(T oldValue, T newValue) { }
public bool Overlaps(System.Collections.Generic.IEnumerable<T> other) { }
public override bool Remove(T item) { }
public override void RemoveAt(int index) { }
public bool SetEquals(System.Collections.Generic.IEnumerable<T> other) { }
public void SymmetricExceptWith(System.Collections.Generic.IEnumerable<T> other) { }
public void UnionWith(System.Collections.Generic.IEnumerable<T> other) { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)]
public class StringFormatAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter
{
Expand Down Expand Up @@ -1633,6 +1655,12 @@ public class XmlSelfCursor : Castle.Components.DictionaryAdapter.IVirtual, Castl
public System.Xml.XmlWriter WriteAttributes() { }
public System.Xml.XmlWriter WriteChildren() { }
}
public class XmlSetSerializer : Castle.Components.DictionaryAdapter.Xml.XmlCollectionSerializer
{
public static readonly Castle.Components.DictionaryAdapter.Xml.XmlSetSerializer Instance;
protected XmlSetSerializer() { }
public override System.Type ListTypeConstructor { get; }
}
public class static XmlSimpleSerializer
{
public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForBoolean;
Expand Down Expand Up @@ -1678,7 +1706,6 @@ public class XmlSubtreeReader : System.Xml.XmlReader
public override string BaseURI { get; }
public override int Depth { get; }
public override bool EOF { get; }
public override bool HasValue { get; }
public bool IsAtRootElement { get; }
public bool IsDisposed { get; }
public override bool IsEmptyElement { get; }
Expand Down Expand Up @@ -2000,23 +2027,6 @@ public class ConsoleLogger : Castle.Core.Logging.LevelFilteredLogger
public override Castle.Core.Logging.ILogger CreateChildLogger(string loggerName) { }
protected override void Log(Castle.Core.Logging.LoggerLevel loggerLevel, string loggerName, string message, System.Exception exception) { }
}
public class DiagnosticsLogger : Castle.Core.Logging.LevelFilteredLogger, System.IDisposable
{
public DiagnosticsLogger(string logName) { }
public DiagnosticsLogger(string logName, string source) { }
public DiagnosticsLogger(string logName, string machineName, string source) { }
public override Castle.Core.Logging.ILogger CreateChildLogger(string loggerName) { }
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
protected override void Finalize() { }
protected override void Log(Castle.Core.Logging.LoggerLevel loggerLevel, string loggerName, string message, System.Exception exception) { }
}
public class DiagnosticsLoggerFactory : Castle.Core.Logging.AbstractLoggerFactory
{
public DiagnosticsLoggerFactory() { }
public override Castle.Core.Logging.ILogger Create(string name) { }
public override Castle.Core.Logging.ILogger Create(string name, Castle.Core.Logging.LoggerLevel level) { }
}
public interface IContextProperties
{
object this[string key] { get; set; }
Expand Down
Expand Up @@ -3,7 +3,7 @@
<Import Project="..\..\buildscripts\common.props"></Import>

<PropertyGroup>
<TargetFrameworks>net461;netcoreapp2.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net461;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Castle.Core.Tests/Castle.Core.Tests.csproj
Expand Up @@ -3,7 +3,7 @@
<Import Project="..\..\buildscripts\common.props"></Import>

<PropertyGroup>
<TargetFrameworks>net461;netcoreapp2.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net461;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion src/Castle.Core/Castle.Core.csproj
Expand Up @@ -46,7 +46,6 @@

<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
<PackageReference Include="System.Diagnostics.EventLog" Version="4.7.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.1'">
Expand Down

0 comments on commit e73cfcf

Please sign in to comment.