2 types derived from BuildExceptionBase
MSBuildTaskHost (2)
GenericBuildTransferredException.cs (1)
11
internal sealed class GenericBuildTransferredException :
BuildExceptionBase
InternalErrorException.cs (1)
19
internal sealed class InternalErrorException :
BuildExceptionBase
13 references to BuildExceptionBase
MSBuildTaskHost (13)
BinaryTranslator.cs (2)
519
value =
BuildExceptionBase
.ReadExceptionFromTranslator(this);
1220
BuildExceptionBase
.WriteExceptionToTranslator(this, value);
BuildExceptionBase.cs (2)
96
IDictionary<string, string?>? customKeyedSerializedData = (exception as
BuildExceptionBase
)?.FlushCustomState();
144
BuildExceptionBase
exception = BuildExceptionSerializationHelper.CreateExceptionFactory(serializationType)(message, innerException);
BuildExceptionSerializationHelper.cs (9)
14
public TypeConstructionTuple(Type type, Func<string, Exception?,
BuildExceptionBase
> factory)
21
public Func<string, Exception?,
BuildExceptionBase
> Factory { get; }
24
private static Dictionary<string, Func<string, Exception?,
BuildExceptionBase
>>? s_exceptionFactories;
26
private static readonly Func<string, Exception?,
BuildExceptionBase
> s_defaultFactory =
34
type.IsSubclassOf(typeof(
BuildExceptionBase
));
49
var exceptionFactories = new Dictionary<string, Func<string, Exception?,
BuildExceptionBase
>>();
54
Func<string, Exception?,
BuildExceptionBase
> exceptionFactory = typeConstructionTuple.Factory;
76
internal static Func<string, Exception?,
BuildExceptionBase
> CreateExceptionFactory(string serializationType)
78
Func<string, Exception?,
BuildExceptionBase
>? factory = null;