2 instantiations of XamlDebuggerXmlReader
System.Activities (1)
System\Activities\Debugger\SourceLocationProvider.cs (1)
257
using (XamlDebuggerXmlReader xamlDebuggerReader = new
XamlDebuggerXmlReader
(streamReader, new XamlSchemaContext(), localAssembly))
System.Activities.Presentation (1)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
474
using (XamlDebuggerXmlReader debuggerReader = new
XamlDebuggerXmlReader
(new StringReader(text), this.XamlSchemaContext))
39 references to XamlDebuggerXmlReader
System.Activities (27)
System\Activities\Debugger\InstrumentationTracker.cs (1)
75
string sourcePath =
XamlDebuggerXmlReader
.GetFileName(activity) as string;
System\Activities\Debugger\SourceLocationProvider.cs (8)
92
sourcePath =
XamlDebuggerXmlReader
.GetFileName(rootActivity) as string;
108
string bodySourcePath =
XamlDebuggerXmlReader
.GetFileName(body) as string;
257
using (
XamlDebuggerXmlReader
xamlDebuggerReader = new XamlDebuggerXmlReader(streamReader, new XamlSchemaContext(), localAssembly))
259
xamlDebuggerReader.SourceLocationFound +=
XamlDebuggerXmlReader
.SetSourceLocation;
366
if (AttachablePropertyServices.TryGetProperty<int>(obj,
XamlDebuggerXmlReader
.StartLineName, out startLine) &&
367
AttachablePropertyServices.TryGetProperty<int>(obj,
XamlDebuggerXmlReader
.StartColumnName, out startColumn) &&
368
AttachablePropertyServices.TryGetProperty<int>(obj,
XamlDebuggerXmlReader
.EndLineName, out endLine) &&
369
AttachablePropertyServices.TryGetProperty<int>(obj,
XamlDebuggerXmlReader
.EndColumnName, out endColumn) &&
System\Activities\Debugger\XamlDebuggerXmlReader.cs (18)
21
public static readonly AttachableMemberIdentifier StartLineName = new AttachableMemberIdentifier(typeof(
XamlDebuggerXmlReader
), StartLineMemberName);
24
public static readonly AttachableMemberIdentifier StartColumnName = new AttachableMemberIdentifier(typeof(
XamlDebuggerXmlReader
), StartColumnMemberName);
27
public static readonly AttachableMemberIdentifier EndLineName = new AttachableMemberIdentifier(typeof(
XamlDebuggerXmlReader
), EndLineMemberName);
30
public static readonly AttachableMemberIdentifier EndColumnName = new AttachableMemberIdentifier(typeof(
XamlDebuggerXmlReader
), EndColumnMemberName);
33
public static readonly AttachableMemberIdentifier FileNameName = new AttachableMemberIdentifier(typeof(
XamlDebuggerXmlReader
), FileNameMemberName);
41
private static readonly Type attachingType = typeof(
XamlDebuggerXmlReader
);
89
this.SourceLocationFound +=
XamlDebuggerXmlReader
.SetSourceLocation;
118
this.SourceLocationFound +=
XamlDebuggerXmlReader
.SetSourceLocation;
377
XamlDebuggerXmlReader
reader = (
XamlDebuggerXmlReader
)sender;
403
XamlDebuggerXmlReader
.SetStartLine(target, sourceLocation.StartLine);
404
XamlDebuggerXmlReader
.SetStartColumn(target, sourceLocation.StartColumn);
405
XamlDebuggerXmlReader
.SetEndLine(target, sourceLocation.EndLine);
406
XamlDebuggerXmlReader
.SetEndColumn(target, sourceLocation.EndColumn);
684
private
XamlDebuggerXmlReader
parent;
692
internal XamlSourceLocationCollector(
XamlDebuggerXmlReader
parent)
811
private
XamlDebuggerXmlReader
parent;
815
internal ValueNodeXamlMemberInvoker(
XamlDebuggerXmlReader
parent, XamlMemberInvoker wrapped, DocumentRange attributeValueRange)
System.Activities.Presentation (12)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (5)
28
XamlDebuggerXmlReader
.StartLineName.MemberName,
29
XamlDebuggerXmlReader
.StartColumnName.MemberName,
30
XamlDebuggerXmlReader
.EndLineName.MemberName,
31
XamlDebuggerXmlReader
.EndColumnName.MemberName
839
|| xamlReader.Member.UnderlyingMember.DeclaringType != typeof(
XamlDebuggerXmlReader
))
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (4)
204
if (AttachablePropertyServices.TryGetProperty<string>(rootWorkflowElement,
XamlDebuggerXmlReader
.FileNameName, out sourceFile))
206
AttachablePropertyServices.RemoveProperty(rootWorkflowElement,
XamlDebuggerXmlReader
.FileNameName);
274
XamlDebuggerXmlReader
.SetFileName(rootWorkflowElement, sourceFile);
474
using (
XamlDebuggerXmlReader
debuggerReader = new XamlDebuggerXmlReader(new StringReader(text), this.XamlSchemaContext))
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (2)
285
if (AttachablePropertyServices.TryGetProperty(currentElement,
XamlDebuggerXmlReader
.FileNameName, out fileName))
287
AttachablePropertyServices.RemoveProperty(currentElement,
XamlDebuggerXmlReader
.FileNameName);
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
1060
XamlType debuggerReaderType = objectReader.SchemaContext.GetXamlType(typeof(
XamlDebuggerXmlReader
));