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