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