File tree 4 files changed +20
-21
lines changed
ImmediateReflection.Benchmark
4 files changed +20
-21
lines changed Original file line number Diff line number Diff line change 1
1
# Release notes
2
2
3
+ ## What's new in 1.5.0 January 23 2020
4
+ ### Fixes:
5
+ * IsDefined/GetAttribute(s) properly handle get of attribute when dealing inheriting attributes.
6
+
7
+ ### New:
8
+ * All ImmediateReflection types are serializable via C# standard serialization.
9
+
10
+ ### Misc:
11
+ * JetBrains.Annotations are no more embedded in the assembly, replaced by a private reference to official NuGet.
12
+ * Minor optimization.
13
+
3
14
## What's new in 1.4.1 September 2 2019
4
15
### Fixes:
5
16
* Properly handle null parameter for Copy and TryCopy (return null).
Original file line number Diff line number Diff line change 7
7
<GeneratePackageOnBuild >false</GeneratePackageOnBuild >
8
8
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
9
9
10
- <Title >ImmediateReflection</Title >
10
+ <Title >ImmediateReflection.Benchmark </Title >
11
11
12
12
<Version >1.0.0</Version >
13
13
<AssemblyVersion >1.0.0</AssemblyVersion >
Original file line number Diff line number Diff line change @@ -95,22 +95,6 @@ public static IEnumerable<T> Empty<T>()
95
95
return EmptyEnumerable < T > . Instance ;
96
96
}
97
97
98
- /// <summary>
99
- /// Gets an enumerable and return it as a enumerable sequence.
100
- /// </summary>
101
- /// <typeparam name="T">Element type.</typeparam>
102
- /// <param name="source">Source enumerable.</param>
103
- /// <returns>Enumerable.</returns>
104
- [ Pure ]
105
- [ NotNull , ItemNotNull ]
106
- public static IEnumerable < T > AsEnumerable < T > ( [ NotNull , ItemNotNull ] IEnumerable < T > source )
107
- {
108
- Debug . Assert ( source != null ) ;
109
-
110
- foreach ( T element in source )
111
- yield return element ;
112
- }
113
-
114
98
#region Buffer helper
115
99
116
100
/// <summary>
Original file line number Diff line number Diff line change @@ -39,12 +39,16 @@ See benchmarks here: https://kernelith.github.io/ImmediateReflection/documentati
39
39
40
40
<IsPackable >true</IsPackable >
41
41
<PackageId >ImmediateReflection</PackageId >
42
- <PackageReleaseNotes >➟ Release 1.4.1
42
+ <PackageReleaseNotes >➟ Release 1.5.0
43
43
Fixes:
44
- - Properly handle null parameter for Copy and TryCopy (return null) .
44
+ - IsDefined/GetAttribute(s) properly handle get of attribute when dealing inheriting attributes .
45
45
46
- Changes:
47
- - Copy and TryCopy consider string and Type as copyable types and return themselves if asked.</PackageReleaseNotes >
46
+ New:
47
+ - All ImmediateReflection types are serializable via C# standard serialization.
48
+
49
+ Misc:
50
+ - JetBrains.Annotations are no more embedded in the assembly, replaced by a private reference to official NuGet.
51
+ - Minor optimization.</PackageReleaseNotes >
48
52
<PackageTags >C# Reflection Fast Immediate Performance Delegate Dynamic</PackageTags >
49
53
50
54
<PublishRepositoryUrl >true</PublishRepositoryUrl >
You can’t perform that action at this time.
0 commit comments