8 writes to ExpectedType
PresentationFramework (8)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (8)
1602
ParentContext.
ExpectedType
= null;
3196
context.
ExpectedType
= null; // Don't want to receive any other values
3502
CurrentContext.
ExpectedType
= null;
3789
CurrentContext.
ExpectedType
= null;
3929
CurrentContext.
ExpectedType
= null;
4304
context.
ExpectedType
= null; // Don't want to receive any other values
4366
d.
ExpectedType
= expectedType;
4941
parentContext.
ExpectedType
= null;
21 references to ExpectedType
PresentationFramework (21)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (21)
1048
null == currentContext.
ExpectedType
)
1424
Type elementType = ParentContext.
ExpectedType
;
3181
arrayExt.Type = context.
ExpectedType
.GetElementType();
3494
Debug.Assert( CurrentContext.ObjectData == null && CurrentContext.
ExpectedType
!= null,
3498
object o = GetObjectFromString(CurrentContext.
ExpectedType
, bamlTextRecord.Value, converterTypeId);
3507
CurrentContext.
ExpectedType
.FullName);
3519
ThrowException(SRID.ParserCantCreateInstanceType, CurrentContext.
ExpectedType
.FullName);
3547
if (null == CurrentContext.
ExpectedType
)
3580
if (null == CurrentContext.
ExpectedType
)
3587
object o = GetObjectFromString(CurrentContext.
ExpectedType
, bamlTextRecord.Value, converterTypeId);
3596
CurrentContext.
ExpectedType
.FullName, bamlTextRecord.Value);
3681
null != CurrentContext.
ExpectedType
&& null != ParentContext);
3888
null != CurrentContext.
ExpectedType
);
4290
null != context.
ExpectedType
)
4293
"We had expected to use a TypeConverter for this " + context.
ExpectedType
.FullName +
4296
context.ObjectData = CreateInstanceFromType(context.
ExpectedType
,
4300
ThrowException(SRID.ParserCantCreateInstanceType, context.
ExpectedType
.FullName);
4870
else if (parentContext.
ExpectedType
!= null)
4872
return parentContext.
ExpectedType
;
4905
parentContext.
ExpectedType
!= null)
4935
if (isMarkupExtension || parentContext.
ExpectedType
.IsAssignableFrom(elementType))