1 implementation of ISurrogateSelector
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\SurrogateSelector.cs (1)
10
public class SurrogateSelector :
ISurrogateSelector
39 references to ISurrogateSelector
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
756
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.
ISurrogateSelector
))]
netstandard (1)
netstandard.cs (1)
1779
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.
ISurrogateSelector
))]
System.Runtime.Serialization.Formatters (37)
System\Runtime\Serialization\Formatter.cs (1)
188
public abstract
ISurrogateSelector
? SurrogateSelector { get; set; }
System\Runtime\Serialization\Formatters\Binary\BinaryFormatter.cs (3)
13
internal
ISurrogateSelector
? _surrogates;
24
public
ISurrogateSelector
? SurrogateSelector { get { return _surrogates; } set { _surrogates = value; } }
32
public BinaryFormatter(
ISurrogateSelector
? selector, StreamingContext context)
System\Runtime\Serialization\Formatters\Binary\BinaryObjectInfo.cs (9)
71
internal static WriteObjectInfo Serialize(object obj,
ISurrogateSelector
? surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder? binder)
80
internal void InitSerialize(object obj,
ISurrogateSelector
? surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder? binder)
126
ISurrogateSelector
? surrogateSelector,
140
ISurrogateSelector
? surrogateSelector,
364
ISurrogateSelector
? surrogateSelector,
378
ISurrogateSelector
? surrogateSelector,
399
ISurrogateSelector
? surrogateSelector,
415
ISurrogateSelector
? surrogateSelector,
440
private void InitReadConstructor(Type objectType,
ISurrogateSelector
? surrogateSelector, StreamingContext context)
System\Runtime\Serialization\Formatters\Binary\BinaryObjectReader.cs (2)
19
internal
ISurrogateSelector
? _surrogates;
67
internal ObjectReader(Stream stream,
ISurrogateSelector
? selector, StreamingContext context, InternalFE formatterEnums, SerializationBinder? binder)
System\Runtime\Serialization\Formatters\Binary\BinaryObjectWriter.cs (2)
18
private readonly
ISurrogateSelector
? _surrogates;
42
internal ObjectWriter(
ISurrogateSelector
? selector, StreamingContext context, InternalFE formatterEnums, SerializationBinder? binder)
System\Runtime\Serialization\FormatterServices.cs (1)
387
public object SetObjectData(object obj, SerializationInfo info, StreamingContext context,
ISurrogateSelector
? selector)
System\Runtime\Serialization\IFormatter.cs (1)
20
ISurrogateSelector
? SurrogateSelector { get; set; }
System\Runtime\Serialization\ISerializationSurrogate.cs (1)
10
object SetObjectData(object obj, SerializationInfo info, StreamingContext context,
ISurrogateSelector
? selector);
System\Runtime\Serialization\ISurrogateSelector.cs (3)
9
void ChainSelector(
ISurrogateSelector
selector);
10
ISerializationSurrogate? GetSurrogate(Type type, StreamingContext context, out
ISurrogateSelector
selector);
11
ISurrogateSelector
? GetNextSelector();
System\Runtime\Serialization\ObjectManager.cs (4)
29
internal readonly
ISurrogateSelector
? _selector;
32
public ObjectManager(
ISurrogateSelector
? selector, StreamingContext context)
174
ISurrogateSelector
? uselessSelector = null;
677
ISurrogateSelector
useless;
System\Runtime\Serialization\SurrogateSelector.cs (10)
13
internal
ISurrogateSelector
? _nextSelector;
24
private static bool HasCycle(
ISurrogateSelector
selector)
28
ISurrogateSelector
? head = selector, tail = selector;
54
public virtual void ChainSelector(
ISurrogateSelector
selector)
72
ISurrogateSelector
? tempCurr = selector.GetNextSelector();
73
ISurrogateSelector
tempEnd = selector;
86
ISurrogateSelector
? tempPrev = selector;
132
ISurrogateSelector
? temp = _nextSelector;
141
public virtual
ISurrogateSelector
? GetNextSelector() => _nextSelector;
145
public virtual ISerializationSurrogate? GetSurrogate(Type type, StreamingContext context, out
ISurrogateSelector
selector)