1 instantiation of TypeLimiter
System.Data.Common (1)
System\Data\TypeLimiter.cs (1)
43
return (activeScope != null) ? new
TypeLimiter
(activeScope) : null;
13 references to TypeLimiter
System.Data.Common (13)
System\Data\Common\ObjectStorage.cs (1)
419
TypeLimiter
.EnsureTypeIsAllowed(type);
System\Data\Common\SqlUDTStorage.cs (1)
188
TypeLimiter
.EnsureTypeIsAllowed(type);
System\Data\DataColumn.cs (1)
158
TypeLimiter
.EnsureTypeIsAllowed(type);
System\Data\DataSet.cs (2)
2076
restrictedScope =
TypeLimiter
.EnterRestrictedScope(this);
2593
restictedScope =
TypeLimiter
.EnterRestrictedScope(this);
System\Data\DataTable.cs (2)
5740
restrictedScope =
TypeLimiter
.EnterRestrictedScope(this);
5984
restrictedScope =
TypeLimiter
.EnterRestrictedScope(this);
System\Data\Filter\FunctionNode.cs (3)
20
private readonly
TypeLimiter
? _capturedLimiter;
49
_capturedLimiter =
TypeLimiter
.Capture();
309
TypeLimiter
.EnsureTypeIsAllowed(dataType, _capturedLimiter);
System\Data\TypeLimiter.cs (3)
33
/// Captures the current <see cref="
TypeLimiter
"/> instance so that future
40
public static
TypeLimiter
? Capture()
55
public static void EnsureTypeIsAllowed(Type? type,
TypeLimiter
? capturedLimiter = null)