Skip to content

Commit 5c1fb72

Browse files
committed
Fixes #361
1 parent 515c006 commit 5c1fb72

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Xbim.Ifc2x3/MeasureResource/IfcSIUnitPartial.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
using System.Collections.Generic;
33
using Xbim.Common;
44
using Xbim.Common.Step21;
5-
using Xbim.Ifc2x3.PropertyResource;
65

76
namespace Xbim.Ifc2x3.MeasureResource
87
{
98
// ReSharper disable once InconsistentNaming
109
public partial class IfcSIUnit
1110
{
12-
private static readonly Dictionary<IfcSIUnitName, IfcDimensionalExponents> ExponentsCache = new Dictionary<IfcSIUnitName, IfcDimensionalExponents>();
11+
private readonly Dictionary<IfcSIUnitName, IfcDimensionalExponents> ExponentsCache = new Dictionary<IfcSIUnitName, IfcDimensionalExponents>();
1312
internal IfcDimensionalExponents IfcDimensionsForSiUnit(IfcSIUnitName name)
1413
{
1514
IfcDimensionalExponents result;

Xbim.Ifc4/MeasureResource/IfcSIUnitPartial.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Xbim.Ifc4.MeasureResource
1717
// ReSharper disable once InconsistentNaming
1818
public partial class IfcSIUnit
1919
{
20-
private static readonly Dictionary<IfcSIUnitName, IfcDimensionalExponents> ExponentsCache = new Dictionary<IfcSIUnitName, IfcDimensionalExponents>();
20+
private readonly Dictionary<IfcSIUnitName, IfcDimensionalExponents> ExponentsCache = new Dictionary<IfcSIUnitName, IfcDimensionalExponents>();
2121
internal IfcDimensionalExponents IfcDimensionsForSiUnit(IfcSIUnitName name)
2222
{
2323
IfcDimensionalExponents result;

Xbim.Ifc4x3/MeasureResource/IfcSIUnitPartial.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
using System.Collections.Generic;
33
using Xbim.Common;
44
using Xbim.Common.Step21;
5-
using Xbim.Ifc4x3.PropertyResource;
65

76
namespace Xbim.Ifc4x3.MeasureResource
87
{
98
// ReSharper disable once InconsistentNaming
109
public partial class IfcSIUnit
1110
{
12-
private static readonly Dictionary<IfcSIUnitName, IfcDimensionalExponents> ExponentsCache = new Dictionary<IfcSIUnitName, IfcDimensionalExponents>();
11+
private readonly Dictionary<IfcSIUnitName, IfcDimensionalExponents> ExponentsCache = new Dictionary<IfcSIUnitName, IfcDimensionalExponents>();
1312
internal IfcDimensionalExponents IfcDimensionsForSiUnit(IfcSIUnitName name)
1413
{
1514
IfcDimensionalExponents result;

0 commit comments

Comments
 (0)