diff options
385 files changed, 9158 insertions, 32476 deletions
diff --git a/tools/Sandcastle/Presentation/Prototype/chm/Test.hhp b/tools/Sandcastle/Presentation/Prototype/chm/Test.hhp new file mode 100644 index 0000000..e1d3ac6 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/chm/Test.hhp @@ -0,0 +1,14 @@ +[OPTIONS] +Compatibility=1.1 or later +Compiled file=Test.chm +Contents file=Test.hhc +Display compile progress=No +Language=0x409 English (United States) + +[FILES] +art\*.gif +html\*.htm +scripts\*.js +styles\*.css + +[INFOTYPES] diff --git a/tools/Sandcastle/Presentation/Prototype/configuration/conceptual.config b/tools/Sandcastle/Presentation/Prototype/configuration/conceptual.config index 86659f4..36be43c 100644 --- a/tools/Sandcastle/Presentation/Prototype/configuration/conceptual.config +++ b/tools/Sandcastle/Presentation/Prototype/configuration/conceptual.config @@ -68,7 +68,7 @@ <!-- transform --> <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <transform file="%DXROOT%\Presentation\Prototype\transforms\main_conceptual.xsl" /> + <transform file="%DXROOT%\Presentation\Prototype\transforms\main_conceptual.xsl" > <argument key="metadata" value="true" /> <argument key="languages"> <language label="CSharp" name="CSharp" style="cs" /> diff --git a/tools/Sandcastle/Presentation/Prototype/configuration/reference-core.config b/tools/Sandcastle/Presentation/Prototype/configuration/reference-core.config new file mode 100644 index 0000000..c1a5de2 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/configuration/reference-core.config @@ -0,0 +1,190 @@ +<configuration> + <dduetools> + <builder> + + <context> + <namespace prefix="ddue" uri="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + </context> + + <components> + + <!-- Create skeleton document --> + <component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <data file="%DXROOT%\Presentation\Prototype\transforms\skeleton.xml" /> + <copy source="/*" target="/" /> + </component> + + <!-- Copy in reflection data --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <index name="reflection" value="/reflection/apis/api" key="@id" cache="10"> + <data files=".\reflection.xml" /> + </index> + <copy name="reflection" source="*" target="/document/reference" /> + </component> + + <!-- Copy in container data --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" key="string(/document/reference/containers/namespace/@api)" source="apidata" target="/document/reference/containers/namespace" /> + </component> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/containers//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|templates|attributes" target="/document/reference/containers//type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Generate syntax --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="/document/reference/topicdata/@group='api'" /> + <then> + <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <syntax input="/document/reference" output="/document/syntax" /> + <generators> + <generator name="VisualBasic" type="Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="CSharp" type="Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="ManagedCPlusPlus" type="Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator type="Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + </generators> + </component> + <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <syntax input="/document/reference" output="/document/usyntax" /> + <generators> + <generator name="VisualBasic" type="Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + </generators> + </component> + </then> + </component> + + <!-- Copy in comments --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <index name="comments" value="/doc/members/member" key="@name" cache="100"> + <data base=".\DdueXml" recurse="true" files="*.xml" /> + </index> + <copy name="comments" source="*" target="/document/comments" /> + </component> + + <!-- Resolve code snippets --> + <component type="Microsoft.Ddue.Tools.ExampleComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <examples file="%DXROOT%\Data\CodeSnippet.xml" /> + <colors language="VisualBasic"> + <color pattern="^\s*'[^\r\n]*" class="comment" /> + <color pattern="\".*\"" class="literal" /> + <color pattern="\b((AddHandler)|(AddressOf)|(As)|(ByRef)|(ByVal)|(Case)|(Catch)|(Class)|(Const)|(Continue)|(Delegate)|(Dim)|(Each)|(Else)|(ElseIf)|(End)|(Enum)|(Event)|(Exit)|(False)|(Finally)|(For)|(Friend)|(Function)|(Get)|(Handles)|(Implements)|(Imports)|(In)|(Inherits)|(Interface)|(Is)|(Loop)|(Me)|(Module)|(MustInherit)|(MustOverride)|(MyBase)|(Namespace)|(New)|(Next)|(Nothing)|(NotInheritable)|(NotOverrideable)|(Of)|(Overloads)|(Overridable)|(Overrides)|(ParamArray)|(Partial)|(Private)|(Property)|(Protected)|(Public)|(RaiseEvent)|(ReadOnly)|(RemoveHandler)|(Set)|(Shadows)|(Shared)|(Static)|(Step)|(Structure)|(Sub)|(Then)|(Throw)|(To)|(True)|(Try)|(Until)|(Using)|(When)|(While)|(With)|(WriteOnly))\b" class="keyword" /> + </colors> + <colors language="CSharp"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\".*\"" class="literal" /> + <color pattern="\b((abstract)|(as)|(base)|(bool)|(break)|(case)|(catch)|(class)|(const)|(continue)|(default)|(delegate)|(do)|(else)|(enum)|(event)|(extern)|(false)|(finally)|(for)|(foreach)|(get)|(if)|(in)|(interface)|(internal)|(is)|(namespace)|(new)|(null)|(out)|(override)|(params)|(private)|(protected)|(public)|(readonly)|(ref)|(return)|(sealed)|(set)|(static)|(struct)|(switch)|(this)|(throw)|(true)|(try)|(typeof)|(using)|(virtual)|(volatile)|(void)|(while))\b" class="keyword" /> + </colors> + <colors language="ManagedCPlusPlus"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\".*\"" class="literal" /> + <color pattern="\b((abstract)|(array)|(break)|(case)|(catch)|(class)|(const)|(continue)|(delegate)|(delete)|(do)|(else)|(enum)|(event)|(extern)|(false)|(finally)|(for)|(friend)|(gcnew)|(generic)|(goto)|(if)|(initonly)|(inline)|(interface)|(literal)|(namespace)|(new)|(noinline)|(nullptr)|(operator)|(private)|(property)|(protected)|(public)|(ref)|(register)|(return)|(sealed)|(sizeof)|(static)|(struct)|(switch)|(template)|(this)|(throw)|(true)|(try)|(typedef)|(union)|(using)|(value)|(virtual)|(void)|(volatile)|(while))\b" class="keyword" /> + </colors> + </component> + + <!-- Copy in reflection data and comments for members --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/elements/element/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="not(/document/reference/elements/element[@api=$key]/*)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="*[not(local-name()='elements')]" target="/document/reference/elements/element[@api=$key]" /> + </component> + </then> + </component> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" source="ddue:dduexml/ddue:summary" target="/document/reference/elements/element[@api=$key]" /> + </component> + </components> + </component> + +<!-- + <component type="Microsoft.Ddue.Tools.DisplayComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <xpath>/</xpath> + </component> + --> + + <!-- resolve tokens --> + <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <content file="%DXROOT%\Data\tokens.xml" /> + <replace elements="/document//ddue:token" item="string(.)" /> + </component> + + <!-- transform --> + <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <transform file="%DXROOT%\Presentation\Prototype\transforms\main_reference.xsl"> + <argument key="metadata" value="true" /> + <argument key="languages"> + <language label="CSharp" name="CSharp" style="cs" /> + <language label="VisualBasic" name="VisualBasic" style="vb" /> + <language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cpp" /> + </argument> + </transform> + </component> + + <!-- + <component type="Microsoft.Ddue.Tools.DisplayComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <xpath>/</xpath> + </component> + --> + + <!-- resolve art links --> + <component type="Microsoft.Ddue.Tools.ResolveArtLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets input="%DXROOT%\Data\ArtStore" output=".\Output\media" link="../media" map="%DXROOT%\Data\ArtSharedContent.loc.xml" /> + </component> + + <!-- resolve shared content --> + <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <content file="%DXROOT%\Presentation\Prototype\content\shared_content.xml" /> + <content file="%DXROOT%\Presentation\Prototype\content\reference_content.xml" /> + <content file="%DXROOT%\Presentation\Shared\content\syntax_content.xml" /> + </component> + + <!-- resolve conceptual links --> + <component type="Microsoft.Ddue.Tools.ResolveConceptualLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets base="%DXROOT%\Data\XmlComp" type="index"/> + </component> + + <!-- resolve reference links --> + <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets files=".\reflection.xml" type="local" /> + </component> + + <!-- Write out intellisense --> + <component type="Microsoft.Ddue.Tools.IntellisenseComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <output directory=".\Intellisense" /> + <expressions root="/html/body/div[@id='main']" + assembly="string(p/span[@sdata='assembly'])" + summary="span[@sdata='authoredSummary']" + parameters="div[@id='parameters']/div[@class='section']/div[@class='sectionContent']/dl" + parameterContent="dd/span[@sdata='authoredParameterSummary']" + templates="div[@id='genericParameters']/div[@class='section']/div[@class='sectionContent']/dl" + templateContent="dd" + returns="div[@id='returns']/div[@class='section']/div[@class='sectionContent']/span[@sdata='authoredValueSummary']" + exception="div[@class='section']/div[@class='sectionContent']/table[@class='exceptions']/tr/td[2]" + exceptionCref="../td[1]/span[@sdata='cer']" + enumeration="div[@id='enumerationSection']/div[@class='section']/div[@class='sectionContent']/table[@class='members']/tr/td[2]" + enumerationApi="../td[1]" + memberSummary="span[@sdata='memberAuthoredSummary']" /> + </component> + + <!-- save the result --> + <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <save base=".\Output\html" path="concat(/html/head/meta[@name='file']/@content,'.htm')" indent="false" omit-xml-declaration="true" /> + </component> + + </components> + + </builder> + </dduetools> +</configuration> diff --git a/tools/Sandcastle/Presentation/Prototype/configuration/reference.config b/tools/Sandcastle/Presentation/Prototype/configuration/reference.config new file mode 100644 index 0000000..01371ab --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/configuration/reference.config @@ -0,0 +1,175 @@ +<configuration> + <dduetools> + <builder> + <components> + + <!-- Create skeleton document --> + <component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <data file="%DXROOT%\Presentation\Prototype\transforms\skeleton.xml" /> + <copy source="/*" target="/" /> + </component> + + <!-- Copy in reflection data --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <index name="reflection" value="/reflection/apis/api" key="@id" cache="10"> + <data base="%DXROOT%\Data\Reflection" recurse="true" files="*.xml" /> + <data files=".\reflection.xml" /> + </index> + <copy name="reflection" source="*" target="/document/reference" /> + </component> + + <!-- Copy in container data --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" key="string(/document/reference/containers/namespace/@api)" source="apidata" target="/document/reference/containers/namespace" /> + </component> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/containers//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|templates|attributes" target="/document/reference/containers//type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Generate syntax --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="/document/reference/topicdata/@group='api'" /> + <then> + <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <syntax input="/document/reference" output="/document/syntax" /> + <generators> + <generator type="Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator type="Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator type="Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator type="Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + </generators> + </component> + <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <syntax input="/document/reference" output="/document/usyntax" /> + <generators> + <generator type="Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + </generators> + </component> + </then> + </component> + + <!-- Copy in comments --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <index name="comments" value="/doc/members/member" key="@name" cache="100"> + <data base="%DXROOT%\Data\DdueXml" recurse="true" files="*.xml" /> + <data base=".\DdueXml" recurse="true" files="*.xml" /> + </index> + <copy name="comments" source="*" target="/document/comments" /> + </component> + + <!-- Resolve code snippets --> + <component type="Microsoft.Ddue.Tools.ExampleComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <examples file="%DXROOT%\Data\CodeSnippet.xml" /> + <colors language="VisualBasic"> + <color pattern="^\s*'[^\r\n]*" class="comment" /> + <color pattern="\".*\"" class="literal" /> + <color pattern="\b((AddHandler)|(AddressOf)|(As)|(ByRef)|(ByVal)|(Case)|(Catch)|(Class)|(Const)|(Continue)|(Delegate)|(Dim)|(Each)|(Else)|(ElseIf)|(End)|(Enum)|(Event)|(Exit)|(False)|(Finally)|(For)|(Friend)|(Function)|(Get)|(Handles)|(Implements)|(Imports)|(In)|(Inherits)|(Interface)|(Is)|(Loop)|(Me)|(Module)|(MustInherit)|(MustOverride)|(MyBase)|(Namespace)|(New)|(Next)|(Nothing)|(NotInheritable)|(NotOverrideable)|(Of)|(Overloads)|(Overridable)|(Overrides)|(ParamArray)|(Partial)|(Private)|(Property)|(Protected)|(Public)|(RaiseEvent)|(ReadOnly)|(RemoveHandler)|(Set)|(Shadows)|(Shared)|(Static)|(Step)|(Structure)|(Sub)|(Then)|(Throw)|(To)|(True)|(Try)|(Until)|(Using)|(When)|(While)|(With)|(WriteOnly))\b" class="keyword" /> + </colors> + <colors language="CSharp"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\".*\"" class="literal" /> + <color pattern="\b((abstract)|(as)|(base)|(bool)|(break)|(case)|(catch)|(class)|(const)|(continue)|(default)|(delegate)|(do)|(else)|(enum)|(event)|(extern)|(false)|(finally)|(for)|(foreach)|(get)|(if)|(in)|(interface)|(internal)|(is)|(namespace)|(new)|(null)|(out)|(override)|(params)|(private)|(protected)|(public)|(readonly)|(ref)|(return)|(sealed)|(set)|(static)|(struct)|(switch)|(this)|(throw)|(true)|(try)|(typeof)|(using)|(virtual)|(volatile)|(void)|(while))\b" class="keyword" /> + </colors> + <colors language="ManagedCPlusPlus"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\".*\"" class="literal" /> + <color pattern="\b((abstract)|(array)|(break)|(case)|(catch)|(class)|(const)|(continue)|(delegate)|(delete)|(do)|(else)|(enum)|(event)|(extern)|(false)|(finally)|(for)|(friend)|(gcnew)|(generic)|(goto)|(if)|(initonly)|(inline)|(interface)|(literal)|(namespace)|(new)|(noinline)|(nullptr)|(operator)|(private)|(property)|(protected)|(public)|(ref)|(register)|(return)|(sealed)|(sizeof)|(static)|(struct)|(switch)|(template)|(this)|(throw)|(true)|(try)|(typedef)|(union)|(using)|(value)|(virtual)|(void)|(volatile)|(while))\b" class="keyword" /> + </colors> + </component> + + <!-- Copy in reflection data and comments for members --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/elements/element/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="not(/document/reference/elements/element[@api=$key]/*)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="*[not(local-name()='elements')]" target="/document/reference/elements/element[@api=$key]" /> + </component> + </then> + </component> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" target="/document/reference/elements/element[@api=$key]" /> + </component> + </components> + </component> + + <!-- resolve tokens --> + <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <content file="%DXROOT%\Presentation\Prototype\content\token_content.xml" /> + <replace elements="/document//ddue:token" item="string(.)" /> + </component> + + <!-- transform --> + <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <transform file="%DXROOT%\Presentation\Prototype\transforms\main_reference.xsl"> + <argument key="metadata" value="true" /> + <argument key="languages"> + <language label="CSharp" name="CSharp" style="cs" /> + <language label="VisualBasic" name="VisualBasic" style="vb" /> + <language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cs" /> + </argument> + </transform> + </component> + + <!-- resolve art links --> + <component type="Microsoft.Ddue.Tools.ResolveArtLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets input="%DXROOT%\Data\ArtStore" output=".\Output\media" link="../media" map="%DXROOT%\Data\ArtSharedContent.loc.xml" /> + </component> + + <!-- resolve shared content --> + <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <content file="%DXROOT%\Presentation\Prototype\content\shared_content.xml" /> + <content file="%DXROOT%\Presentation\Prototype\content\reference_content.xml" /> + <content file="%DXROOT%\Presentation\Shared\content\syntax_content.xml" /> + </component> + + <!-- resolve conceptual links --> + <component type="Microsoft.Ddue.Tools.ResolveConceptualLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets base="%DXROOT%\Data\XmlComp" type="index"/> + </component> + + <!-- resolve reference links --> + <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets base="%DXROOT%\Data\Reflection" recurse="true" files="*.xml" type="index" /> + <targets files=".\reflection.xml" type="local" /> + </component> + + <!-- Write out intellisense --> + <component type="Microsoft.Ddue.Tools.IntellisenseComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <output directory=".\Intellisense" /> + <expressions root="/html/body/div[@id='main']" + assembly="string(p/span[@sdata='assembly'])" + summary="span[@sdata='authoredSummary']" + parameters="div[@id='parameters']/div[@class='section']/div[@class='sectionContent']/dl" + parameterContent="dd/span[@sdata='authoredParameterSummary']" + templates="div[@id='genericParameters']/div[@class='section']/div[@class='sectionContent']/dl" + templateContent="dd" + returns="div[@id='returns']/div[@class='section']/div[@class='sectionContent']/span[@sdata='authoredValueSummary']" + exception="div[@class='section']/div[@class='sectionContent']/table[@class='exceptions']/tr/td[2]" + exceptionCref="../td[1]/span[@sdata='cer']" + enumeration="div[@id='enumerationSection']/div[@class='section']/div[@class='sectionContent']/table[@class='members']/tr/td[2]" + enumerationApi="../td[1]" + memberSummary="span[@sdata='memberAuthoredSummary']" /> + </component> + + <!-- save the result --> + <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <save base=".\Output\html" path="concat(/html/head/meta[@name='file']/@content,'.htm')" indent="false" omit-xml-declaration="true" /> + </component> + + </components> + </builder> + </dduetools> +</configuration> diff --git a/tools/Sandcastle/Presentation/Prototype/configuration/schema.config b/tools/Sandcastle/Presentation/Prototype/configuration/schema.config new file mode 100644 index 0000000..d67b56f --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/configuration/schema.config @@ -0,0 +1,27 @@ +<configuration> + <dduetools> + <builder> + <components> + + <!-- Copy in schema data --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <index name="schema" value="/schema/elements/element" key="concat(@namespace,'#',@name)" cache="10"> + <data files="schemadata.xml" /> + </index> + <copy name="schema" source="*" target="/" /> + </component> + + <!-- transform --> + <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <transform file="%DXROOT%\Presentation\Prototype\transforms\main_schema.xsl" /> + </component> + + <!-- save the result --> + <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <save base ="Output\html" path="concat(/html/head/meta[@name='file']/@content,'.htm')" indent="false" omit-xml-declaration="true" /> + </component> + + </components> + </builder> + </dduetools> +</configuration> diff --git a/tools/Sandcastle/Presentation/Prototype/content/reference_content.xml b/tools/Sandcastle/Presentation/Prototype/content/reference_content.xml index 655e4b0..2253bfe 100644 --- a/tools/Sandcastle/Presentation/Prototype/content/reference_content.xml +++ b/tools/Sandcastle/Presentation/Prototype/content/reference_content.xml @@ -6,6 +6,8 @@ <!-- topic titles --> <item id="namespacesTopicTitle">Namespaces</item> + <item id="rootTopicTitle">Namespaces</item> + <item id="namespaceTopicTitle">{0} Namespace</item> <item id="classTopicTitle">{0} Class</item> <item id="structureTopicTitle">{0} Structure</item> @@ -58,7 +60,7 @@ <item id="notesForImplementersTitle">Notes For Implementers</item> <item id="notesForInheritersTitle">Notes For Inheriters</item> <item id="exceptionsTitle">Exceptions</item> - <item id="permissionsTitle">Permissions</item> + <item id="permissionsTitle">.NET Framework Security</item> <item id="namespacesTitle">Namespaces</item> <item id="typesTitle">Types</item> <item id="membersTitle">Members</item> diff --git a/tools/Sandcastle/Presentation/Prototype/hxs/test.HxC b/tools/Sandcastle/Presentation/Prototype/hxs/test.HxC new file mode 100644 index 0000000..0469973 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/hxs/test.HxC @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE HelpCollection SYSTEM "MS-Help://Hx/Resources/HelpCollection.dtd"> +<HelpCollection DTDVersion="1.0" FileVersion="08.00.50720.2102" LangId="1033" Title="Common Scripts" Copyright="© 2005 Microsoft Corporation. All rights reserved."> + <CompilerOptions OutputFile="test.HxS" CreateFullTextIndex="Yes" CompileResult="Hxs"> + <IncludeFile File="test.HxF" /> + </CompilerOptions> + <TOCDef File="test.HxT" /> + <KeywordIndexDef File="test_A.HxK" /> + <KeywordIndexDef File="test_K.HxK" /> + <KeywordIndexDef File="test_F.HxK" /> + <KeywordIndexDef File="test_N.HxK" /> + <KeywordIndexDef File="test_S.HxK" /> + <KeywordIndexDef File="test_B.HxK" /> + <ItemMoniker Name="!DefaultTOC" ProgId="HxDs.HxHierarchy" InitData="AnyString" /> + <ItemMoniker Name="!DefaultFullTextSearch" ProgId="HxDs.HxFullTextSearch" InitData="AnyString" /> + <ItemMoniker Name="!DefaultAssociativeIndex" ProgId="HxDs.HxIndex" InitData="A" /> + <ItemMoniker Name="!DefaultKeywordIndex" ProgId="HxDs.HxIndex" InitData="K" /> + <ItemMoniker Name="!DefaultContextWindowIndex" ProgId="HxDs.HxIndex" InitData="F" /> + <ItemMoniker Name="!DefaultNamedUrlIndex" ProgId="HxDs.HxIndex" InitData="NamedUrl" /> + <ItemMoniker Name="!DefaultSearchWindowIndex" ProgId="HxDs.HxIndex" InitData="S" /> + <ItemMoniker Name="!DefaultDynamicLinkIndex" ProgId="HxDs.HxIndex" InitData="B" /> +</HelpCollection> diff --git a/tools/Sandcastle/Presentation/Prototype/hxs/test.HxF b/tools/Sandcastle/Presentation/Prototype/hxs/test.HxF new file mode 100644 index 0000000..7a04fb3 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/hxs/test.HxF @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE HelpFileList SYSTEM "MS-Help://Hx/Resources/HelpFileList.dtd"> +<HelpFileList DTDVersion="1.0"> + <File Url="icons\*.gif" /> + <File Url="scripts\*.js" /> + <File Url="styles\*.css" /> + <File Url="html\*.htm" /> +</HelpFileList> diff --git a/tools/Sandcastle/Presentation/Prototype/hxs/test_A.HxK b/tools/Sandcastle/Presentation/Prototype/hxs/test_A.HxK new file mode 100644 index 0000000..4430fba --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/hxs/test_A.HxK @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE HelpIndex SYSTEM "MS-Help://Hx/Resources/HelpIndex.dtd"> +<HelpIndex Name="A" DTDVersion="1.0" />
\ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Prototype/hxs/test_B.HxK b/tools/Sandcastle/Presentation/Prototype/hxs/test_B.HxK new file mode 100644 index 0000000..dba159d --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/hxs/test_B.HxK @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE HelpIndex SYSTEM "MS-Help://Hx/Resources/HelpIndex.dtd"> +<HelpIndex Name="B" DTDVersion="1.0" />
\ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Prototype/hxs/test_F.HxK b/tools/Sandcastle/Presentation/Prototype/hxs/test_F.HxK new file mode 100644 index 0000000..1dbf6f4 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/hxs/test_F.HxK @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE HelpIndex SYSTEM "MS-Help://Hx/Resources/HelpIndex.dtd"> +<HelpIndex Name="F" DTDVersion="1.0" />
\ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Prototype/hxs/test_K.HxK b/tools/Sandcastle/Presentation/Prototype/hxs/test_K.HxK new file mode 100644 index 0000000..fb9a52d --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/hxs/test_K.HxK @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE HelpIndex SYSTEM "MS-Help://hx/resources/HelpIndex.DTD"> +<HelpIndex Name="K" Visible="Yes" DTDVersion="1.0" FileVersion="1.0" LangId="1033" />
\ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Prototype/hxs/test_N.HxK b/tools/Sandcastle/Presentation/Prototype/hxs/test_N.HxK new file mode 100644 index 0000000..6923ac1 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/hxs/test_N.HxK @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE HelpIndex SYSTEM "MS-Help://Hx/Resources/HelpIndex.dtd"> +<HelpIndex Name="NamedUrl" DTDVersion="1.0" />
\ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Prototype/hxs/test_S.HxK b/tools/Sandcastle/Presentation/Prototype/hxs/test_S.HxK new file mode 100644 index 0000000..646b6de --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/hxs/test_S.HxK @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE HelpIndex SYSTEM "MS-Help://Hx/Resources/HelpIndex.dtd"> +<HelpIndex Name="S" DTDVersion="1.0" />
\ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Prototype/styles/presentation.css b/tools/Sandcastle/Presentation/Prototype/styles/presentation.css index 97549db..0366d1b 100644 --- a/tools/Sandcastle/Presentation/Prototype/styles/presentation.css +++ b/tools/Sandcastle/Presentation/Prototype/styles/presentation.css @@ -347,6 +347,10 @@ span.cpp { display: none; } +span.fs { + display: none; +} + span.nu { display: none; diff --git a/tools/Sandcastle/Presentation/Prototype/transforms/utilities_reference.xsl b/tools/Sandcastle/Presentation/Prototype/transforms/utilities_reference.xsl index 42402b0..a6d7019 100644 --- a/tools/Sandcastle/Presentation/Prototype/transforms/utilities_reference.xsl +++ b/tools/Sandcastle/Presentation/Prototype/transforms/utilities_reference.xsl @@ -355,6 +355,9 @@ <xsl:when test="boolean($tsubgroup)"> <xsl:value-of select="$tsubgroup" /> </xsl:when> + <xsl:when test="$tgroup='root'"> + <xsl:value-of select="$tgroup" /> + </xsl:when> </xsl:choose> <xsl:text>TopicTitle</xsl:text> </xsl:attribute> @@ -398,6 +401,9 @@ <xsl:when test="boolean($tsubgroup)"> <xsl:value-of select="$tsubgroup" /> </xsl:when> + <xsl:when test="$tgroup='root'"> + <xsl:value-of select="$tgroup" /> + </xsl:when> </xsl:choose> <xsl:text>TopicTitle</xsl:text> </xsl:attribute> diff --git a/tools/Sandcastle/Presentation/Shared/configuration/xamlSyntax.config b/tools/Sandcastle/Presentation/Shared/configuration/xamlSyntax.config index 60f3830..b107cf1 100644 --- a/tools/Sandcastle/Presentation/Shared/configuration/xamlSyntax.config +++ b/tools/Sandcastle/Presentation/Shared/configuration/xamlSyntax.config @@ -10,48 +10,83 @@ The XAML syntax blocks for members of all other assemblies get a generic boilerplate, e.g. "Not applicable." --> <xamlAssemblies> <assembly name="PresentationFramework"> - <xmlns uri="http://schemas.microsoft.com/winfx/xaml/presentation"> - <clrNamespace name="System.Windows.Input"/> + <xmlns uri="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <clrNamespace name="System.Windows.Navigation"/> + <clrNamespace name="System.Windows.Controls"/> + <clrNamespace name="System.Windows.Documents"/> + <clrNamespace name="System.Windows.Shapes"/> + <clrNamespace name="System.Windows.Data"/> <clrNamespace name="System.Windows"/> + <clrNamespace name="System.Windows.Controls.Primitives"/> <clrNamespace name="System.Windows.Media.Animation"/> + <clrNamespace name="System.Windows.Input"/> + </xmlns> + <xmlns uri="http://schemas.microsoft.com/netfx/2007/xaml/presentation"> <clrNamespace name="System.Windows.Controls.Primitives"/> - <clrNamespace name="System.Windows.Data"/> - <clrNamespace name="System.Windows.Navigation"/> - <clrNamespace name="System.Windows.Shapes"/> - <clrNamespace name="System.Windows.Documents"/> <clrNamespace name="System.Windows.Controls"/> + <clrNamespace name="System.Windows.Documents"/> + <clrNamespace name="System.Windows.Shapes"/> + <clrNamespace name="System.Windows.Navigation"/> + <clrNamespace name="System.Windows.Data"/> + <clrNamespace name="System.Windows"/> + <clrNamespace name="System.Windows.Input"/> + <clrNamespace name="System.Windows.Media.Animation"/> </xmlns> - <xmlns uri="http://schemas.microsoft.com/winfx/xaml"> + <xmlns uri="http://schemas.microsoft.com/winfx/2006/xaml"> <clrNamespace name="System.Windows.Markup"/> </xmlns> </assembly> <assembly name="PresentationCore"> - <xmlns uri="http://schemas.microsoft.com/winfx/xaml/presentation"> - <clrNamespace name="System.Windows.Input"/> - <clrNamespace name="System.Windows"/> + <xmlns uri="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <clrNamespace name="System.Windows.Media.Imaging"/> - <clrNamespace name="System.Windows.Media.TextFormatting"/> - <clrNamespace name="System.Windows.Media.Effects"/> - + <clrNamespace name="System.Windows.Input"/> <clrNamespace name="System.Windows.Media"/> - <clrNamespace name="System.Windows.Media.Animation"/> + <clrNamespace name="System.Windows.Media.Effects"/> + <clrNamespace name="System.Windows.Automation"/> <clrNamespace name="System.Windows.Media.Media3D"/> + <clrNamespace name="System.Windows.Media.Animation"/> + <clrNamespace name="System.Windows"/> + <clrNamespace name="System.Windows.Media.TextFormatting"/> <clrNamespace name="System.Windows.Ink"/> + </xmlns> + <xmlns uri="http://schemas.microsoft.com/netfx/2007/xaml/presentation"> + <clrNamespace name="System.Windows.Media.Imaging"/> + <clrNamespace name="System.Windows.Media.Media3D"/> + <clrNamespace name="System.Windows.Ink"/> + <clrNamespace name="System.Windows.Input"/> <clrNamespace name="System.Windows.Automation"/> + <clrNamespace name="System.Windows.Media.TextFormatting"/> + <clrNamespace name="System.Windows.Media.Animation"/> + <clrNamespace name="System.Windows.Media"/> + <clrNamespace name="System.Windows"/> + <clrNamespace name="System.Windows.Media.Effects"/> </xmlns> - <xmlns uri="http://schemas.microsoft.com/winfx/xaml"> + <xmlns uri="http://schemas.microsoft.com/winfx/2006/xaml"> <clrNamespace name="System.Windows.Markup"/> </xmlns> </assembly> <assembly name="WindowsBase"> - <xmlns uri="http://schemas.microsoft.com/winfx/xaml/presentation"> + <xmlns uri="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <clrNamespace name="System.Diagnostics"/> + <clrNamespace name="System.Windows.Media"/> <clrNamespace name="System.Windows.Input"/> <clrNamespace name="System.Windows"/> + </xmlns> + <xmlns uri="http://schemas.microsoft.com/netfx/2007/xaml/presentation"> + <clrNamespace name="System.Windows.Input"/> <clrNamespace name="System.Windows.Media"/> + <clrNamespace name="System.Diagnostics"/> + <clrNamespace name="System.Windows"/> + </xmlns> + <xmlns uri="http://schemas.microsoft.com/winfx/2006/xaml"> + <clrNamespace name="System.Windows.Markup"/> </xmlns> </assembly> <assembly name="WindowsFormsIntegration"> - <xmlns uri="http://schemas.microsoft.com/winfx/xaml/presentation"> + <xmlns uri="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <clrNamespace name="System.Windows.Forms.Integration"/> + </xmlns> + <xmlns uri="http://schemas.microsoft.com/netfx/2007/xaml/presentation"> <clrNamespace name="System.Windows.Forms.Integration"/> </xmlns> </assembly> diff --git a/tools/Sandcastle/Presentation/Shared/content/syntax_content.xml b/tools/Sandcastle/Presentation/Shared/content/syntax_content.xml index 8197bec..8f92668 100644 --- a/tools/Sandcastle/Presentation/Shared/content/syntax_content.xml +++ b/tools/Sandcastle/Presentation/Shared/content/syntax_content.xml @@ -6,6 +6,10 @@ <!-- C++ messages --> <item id="UnsupportedOperator_ManagedCPlusPlus">Visual C++ does not support this operator.</item> + <!-- F# messages --> + <item id="UnsupportedOperator_FSharp">F# does not support this operator.</item> + <item id="UnsupportedCast_FSharp">F# does not support the declaration of new casting operators.</item>" + <!-- VB messages --> <item id="UnsupportedUnsafe_VisualBasic">Visual Basic does not support APIs that consume or return unsafe types.</item> <item id="UnsupportedOperator_VisualBasic">Visual Basic does not support this operator.</item> @@ -70,7 +74,7 @@ <item id="propertyXamlSyntax_nonXaml">You cannot set this property in XAML.</item> <!-- syntax used with all enums in xaml assemblies --> - <item id="enumerationOverviewXamlSyntax"><span><<i>object property</i>="<i>enumerationValue</i>" .../></span></item> + <item id="enumerationOverviewXamlSyntax"><span><<i>object property</i>="<i>enumerationMemberName</i>" .../></span></item> <!-- boilerplate used with all method, field, etc. in xaml assemblies --> <item id="constructorOverviewXamlSyntax">You cannot use constructors in XAML.</item> diff --git a/tools/Sandcastle/Presentation/Shared/transforms/utilities_metadata.xsl b/tools/Sandcastle/Presentation/Shared/transforms/utilities_metadata.xsl index 6d92746..30fa695 100644 --- a/tools/Sandcastle/Presentation/Shared/transforms/utilities_metadata.xsl +++ b/tools/Sandcastle/Presentation/Shared/transforms/utilities_metadata.xsl @@ -71,6 +71,8 @@ <xsl:template name="combineTextNames"> <xsl:param name="left" /> <xsl:param name="right" /> + <xsl:param name="concatenateOperator" select="'.'" /> + <xsl:choose> <xsl:when test="count($left/name) > 1"> <xsl:choose> @@ -80,7 +82,7 @@ <xsl:variable name="language" select="@language" /> <name language="{$language}"> <xsl:apply-templates select="." /> - <xsl:value-of select="'.'"/> + <xsl:copy-of select="$concatenateOperator" /> <xsl:apply-templates select="$right/name[@language=$language]" /> </name> </xsl:for-each> @@ -90,8 +92,11 @@ <xsl:for-each select="$left/name"> <xsl:variable name="language" select="@language" /> <name language="{$language}"> - <xsl:apply-templates select="." /> - <xsl:value-of select="concat('.', $right/name)"/> + <xsl:apply-templates select="." /> + <xsl:if test="$right/name"> + <xsl:copy-of select="$concatenateOperator"/> + </xsl:if> + <xsl:value-of select="$right/name"/> </name> </xsl:for-each> </xsl:otherwise> @@ -104,7 +109,10 @@ <xsl:for-each select="$right/name"> <xsl:variable name="language" select="@language" /> <name language="{.}"> - <xsl:value-of select="concat($left/name, '.')"/> + <xsl:value-of select="$left/name"/> + <xsl:if test="$left/name"> + <xsl:copy-of select="$concatenateOperator"/> + </xsl:if> <xsl:apply-templates select="." /> </name> </xsl:for-each> @@ -112,7 +120,11 @@ <xsl:otherwise> <!-- neiter is multi-language --> <name> - <xsl:value-of select="concat($left/name,'.',$right/name)" /> + <xsl:value-of select="$left/name"/> + <xsl:if test="$left/name and $right/name"> + <xsl:copy-of select="$concatenateOperator"/> + </xsl:if> + <xsl:value-of select="$right/name"/> </name> </xsl:otherwise> </xsl:choose> @@ -125,8 +137,13 @@ <!-- if there are templates: <name langauge="c">Blah<T></name><name language="v">Blah(Of T)</name> --> <xsl:template name="simpleTextNames"> <xsl:choose> - <xsl:when test="specialization | templates"> - <xsl:apply-templates select="specialization | templates" mode="index"> + <xsl:when test="specialization"> + <xsl:apply-templates select="specialization" mode="index"> + <xsl:with-param name="name" select="apidata/@name" /> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="templates"> + <xsl:apply-templates select="templates" mode="index"> <xsl:with-param name="name" select="apidata/@name" /> </xsl:apply-templates> </xsl:when> @@ -219,6 +236,30 @@ <xsl:value-of select="@name" /> </xsl:template> + <xsl:template match="arrayOf" mode="index"> + <name language="c"> + <xsl:apply-templates select="type|arrayOf|pointerTo|referenceTo|template|specialization|templates" mode="index"/> + <xsl:text>[</xsl:text> + <xsl:if test="number(@rank) > 1">,</xsl:if> + <xsl:text>]</xsl:text> + </name> + <name language="v"> + <xsl:apply-templates select="type|arrayOf|pointerTo|referenceTo|template|specialization|templates" mode="index"/> + <xsl:text>(</xsl:text> + <xsl:if test="number(@rank) > 1">,</xsl:if> + <xsl:text>)</xsl:text> + </name> + </xsl:template> + + <xsl:template match="pointerTo" mode="index"> + <xsl:apply-templates select="type|arrayOf|pointerTo|referenceTo|template|specialization|templates" mode="index"/> + <xsl:text>*</xsl:text> + </xsl:template> + + <xsl:template match="referenceTo" mode="index"> + <xsl:apply-templates select="type|arrayOf|pointerTo|referenceTo|template|specialization|templates" mode="index"/> + </xsl:template> + <xsl:template match="type" mode="index"> <xsl:call-template name="textNames" /> </xsl:template> @@ -226,7 +267,7 @@ <xsl:template match="name/name"> <xsl:variable name="lang" select="ancestor::*/@language"/> - <xsl:if test="@language = $lang"> + <xsl:if test="not(@language) or @language = $lang"> <xsl:value-of select="."/> </xsl:if> </xsl:template> @@ -234,5 +275,45 @@ <xsl:template match="name/text()"> <xsl:value-of select="."/> </xsl:template> - + + <xsl:template name="operatorTextNames"> + <xsl:variable name="left"> + <xsl:if test="parameters/parameter[1]"> + <xsl:choose> + <xsl:when test="parameters/parameter[1]//specialization | parameters/parameter[1]//templates | parameters/parameter[1]//arrayOf"> + <xsl:apply-templates select="parameters/parameter[1]" mode="index" /> + </xsl:when> + <xsl:otherwise> + <name> + <xsl:apply-templates select="parameters/parameter[1]" mode="index" /> + </name> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:variable> + + <xsl:variable name="right"> + <xsl:if test="returns[1]"> + <xsl:choose> + <xsl:when test="returns[1]//specialization | returns[1]//templates | returns[1]//arrayOf"> + <xsl:apply-templates select="returns[1]" mode="index" /> + </xsl:when> + <xsl:otherwise> + <name> + <xsl:apply-templates select="returns[1]" mode="index" /> + </name> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:variable> + + <xsl:call-template name="combineTextNames"> + <xsl:with-param name="left" select="msxsl:node-set($left)" /> + <xsl:with-param name="right" select="msxsl:node-set($right)" /> + <xsl:with-param name="concatenateOperator"> + <xsl:text> to </xsl:text> + </xsl:with-param> + </xsl:call-template> + </xsl:template> + </xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/Shared/transforms/utilities_reference.xsl b/tools/Sandcastle/Presentation/Shared/transforms/utilities_reference.xsl index b3c499f..1ef5792 100644 --- a/tools/Sandcastle/Presentation/Shared/transforms/utilities_reference.xsl +++ b/tools/Sandcastle/Presentation/Shared/transforms/utilities_reference.xsl @@ -42,6 +42,7 @@ </span> <span class="cpp"><</span> <span class="nu">(</span> + <span class="fs"><'</span> </span> <xsl:for-each select="*"> <xsl:apply-templates select="." mode="link" /> @@ -54,6 +55,7 @@ <span class="vb">)</span> <span class="cpp">></span> <span class="nu">)</span> + <span class="fs">></span> </span> </xsl:template> @@ -88,6 +90,11 @@ <xsl:if test="number(@rank) > 1">,</xsl:if> <xsl:text>]</xsl:text> </span> + <span class="fs"> + <xsl:text>[</xsl:text> + <xsl:if test="number(@rank) > 1">,</xsl:if> + <xsl:text>]</xsl:text> + </span> </span> </xsl:template> @@ -156,6 +163,27 @@ </xsl:if> </xsl:template> + <!-- Produces parameter and return types in (plain) format:(Int32 to Decimal) for operator members --> + <xsl:template name="operatorTypesPlain"> + <xsl:if test="count(parameters/parameter/*) = 1 or count(returns/*) = 1"> + <xsl:text>(</xsl:text> + </xsl:if> + <xsl:if test="count(parameters/parameter/*) = 1"> + <xsl:apply-templates select="parameters/parameter[1]/type|parameters/parameter[1]/arrayOf|parameters/parameter[1]/pointerTo| + parameters/parameter[1]/referenceTo|parameters/parameter[1]/template" mode="plain" /> + </xsl:if> + <xsl:if test="count(parameters/parameter/*) = 1 and count(returns/*) = 1"> + <xsl:text> to </xsl:text> + </xsl:if> + <xsl:if test="count(returns/*) = 1"> + <xsl:apply-templates select="returns[1]/type|returns[1]/arrayOf|returns[1]/pointerTo|returns[1]/referenceTo| + returns[1]/template" mode="plain" /> + </xsl:if> + <xsl:if test="count(parameters/parameter/*) = 1 or count(returns/*) = 1"> + <xsl:text>)</xsl:text> + </xsl:if> + </xsl:template> + <!-- when position on a type api, produces a (plain) name; outer types are indicated by dot-seperators; --> <!-- generic types are indicated by a keyword, because we can't show templates in a language-independent way --> <xsl:template name="typeNamePlain"> @@ -223,6 +251,27 @@ </xsl:if> </xsl:template> + <!-- Produces parameter and return types in (decorated) format:(Int32 to Decimal) for operator members --> + <xsl:template name="operatorTypesDecorated"> + <xsl:if test="count(parameters/parameter/*) = 1 or count(returns/*) = 1"> + <xsl:text>(</xsl:text> + </xsl:if> + <xsl:if test="count(parameters/parameter/*) = 1"> + <xsl:apply-templates select="parameters/parameter[1]/type|parameters/parameter[1]/arrayOf|parameters/parameter[1]/pointerTo| + parameters/parameter[1]/referenceTo|parameters/parameter[1]/template" mode="decorated" /> + </xsl:if> + <xsl:if test="count(parameters/parameter/*) = 1 and count(returns/*) = 1"> + <xsl:text> to </xsl:text> + </xsl:if> + <xsl:if test="count(returns/*) = 1"> + <xsl:apply-templates select="returns[1]/type|returns[1]/arrayOf|returns[1]/pointerTo|returns[1]/referenceTo| + returns[1]/template" mode="decorated" /> + </xsl:if> + <xsl:if test="count(parameters/parameter/*) = 1 or count(returns/*) = 1"> + <xsl:text>)</xsl:text> + </xsl:if> + </xsl:template> + <!-- when position on a type api, produces a (decorated) name, including outer types and templates --> <xsl:template name="typeNameDecorated"> <xsl:if test="type|(containers/type)"> @@ -232,6 +281,7 @@ <span class="vb">.</span> <span class="cpp">::</span> <span class="nu">.</span> + <span class="fs">.</span> </span> </xsl:if> <xsl:value-of select="apidata/@name" /> @@ -257,6 +307,7 @@ </span> <span class="cpp"><</span> <span class="nu">(</span> + <span class="fs"><'</span> </span> <xsl:for-each select="*"> <xsl:apply-templates select="." mode="decorated" /> @@ -269,6 +320,7 @@ <span class="vb">)</span> <span class="cpp">></span> <span class="nu">)</span> + <span class="fs">></span> </span> </xsl:template> @@ -300,6 +352,11 @@ <xsl:if test="number(@rank) > 1">,</xsl:if> <xsl:text>]</xsl:text> </span> + <span class="fs"> + <xsl:text>[</xsl:text> + <xsl:if test="number(@rank) > 1">,</xsl:if> + <xsl:text>]</xsl:text> + </span> </span> </xsl:template> diff --git a/tools/Sandcastle/Presentation/hana/Content/conceptual_content.xml b/tools/Sandcastle/Presentation/hana/Content/conceptual_content.xml deleted file mode 100644 index 3869c90..0000000 --- a/tools/Sandcastle/Presentation/hana/Content/conceptual_content.xml +++ /dev/null @@ -1,68 +0,0 @@ -<content xml:space="preserve"> - - <!-- control window stuff --> - <item id="productTitle">.NET Framework Developer's Guide</item> - - <!-- main window stuff --> - - <!-- body --> - - <!-- section titles --> - <item id="inThisSectionTitle">In This Section</item> - <item id="buildInstructionsTitle">Compiling the Code</item> - <item id="nextStepsTitle">Next Steps</item> - <item id="requirementsTitle">Requirements</item> - <item id="relatedSectionsTitle">Related Sections</item> - <item id="relatedTopicsTitle">See Also</item> - <item id="syntaxTitle">Syntax</item> - <item id="parametersTitle">Parameters</item> - <item id="returnValueTitle">Return Value</item> - <item id="attributesAndElements">Attributes and Elements</item> - <item id="attributes">Attributes</item> - <item id="childElement">Child Elements</item> - <item id="parentElement">Parent Elements</item> - <item id="elementInformation">Element Information</item> - <item id="textValue">Text Value</item> - <item id="dotNetFrameworkEquivalent">.NET Framework Equivalent</item> - <item id="prerequisites">Prerequisites</item> - <item id="robustProgramming">Robust Programming</item> - <item id="securitySection">Security</item> - <item id="externalResources">External Resources</item> - <item id="demonstrates">Demonstrates</item> - <item id="appliesTo">Applies To</item> - <item id="conclusion">Conclusion</item> - <item id="background">Background</item> - <item id="whatsNew">What's New</item> - <item id="reference">Reference</item> - <item id="errorMessage">Error Message</item> - - <!-- language filter --> - <item id="languageFilter">Language Filter: {0}</item> - <item id="all">All</item> - <item id="multiple">Multiple</item> - <item id="VisualBasic">Visual Basic</item> - <item id="VBScript">Visual Basic Script</item> - <item id="CSharp">C#</item> - <item id="ManagedCPlusPlus">Visual C++</item> - <item id="JSharp">J#</item> - <item id="JScript">JScript</item> - <item id="xmlLang">Xml</item> - <item id="html">Html</item> - <item id="visualbasicANDcsharp"><include item="VisualBasic"/> and <include item="CSharp"/></item> - <item id="other"></item> - <item id="XAML">XAML</item> - <item id="usage">Usage</item> - - <item id="VisualBasicDeclaration"><include item="VisualBasic"/> (Declaration)</item> - <item id="VisualBasicUsage"><include item="VisualBasic"/> (<include item="usage"/>)</item> - - <item id="collapseAll">Collapse All</item> - <item id="expandAll">Expand All</item> - <item id="Example">Example</item> - - <!-- Sample Topics --> - <item id="downloadSample">Download</item> - <item id="sampleFiles">Sample Files:</item> - <item id="viewSampleSource">View Source</item> - -</content> diff --git a/tools/Sandcastle/Presentation/hana/Content/reference_content.xml b/tools/Sandcastle/Presentation/hana/Content/reference_content.xml deleted file mode 100644 index 4660e47..0000000 --- a/tools/Sandcastle/Presentation/hana/Content/reference_content.xml +++ /dev/null @@ -1,483 +0,0 @@ -<content xml:space="preserve"> - - <!-- note text --> - <item id="notDocumentedText">This API is not documented.</item> - <item id="preliminaryText">This API is preliminary and subject to change.</item> - <!-- topic titles --> - <item id="tocTitle">{0}</item> - <item id="rlTitle">{0} ({1})</item> - <item id="rootTopicTitle">Namespaces</item> - <item id="namespaceTopicTitle">{0} Namespace</item> - <item id="classTopicTitle">{0} Class</item> - <item id="structureTopicTitle">{0} Structure</item> - <item id="interfaceTopicTitle">{0} Interface</item> - <item id="DerivedTypeListTopicTitle">{0} Derived Classes</item> - - <item id="delegateTopicTitle">{0} Delegate</item> - <item id="enumerationTopicTitle">{0} Enumeration</item> - <item id="fieldTopicTitle">{0} Field</item> - <item id="methodTopicTitle">{0} Method {1}</item> - <item id="constructorTopicTitle">{0} Constructor {1}</item> - <item id="propertyTopicTitle">{0} Property {1}</item> - <item id="eventTopicTitle">{0} Event</item> - <item id="operatorTopicTitle">{0} Operator</item> - - <item id="attachedPropertyTopicTitle">{0} Attached Property</item> - <item id="attachedEventTopicTitle">{0} Attached Event</item> - - <item id="generic_classTopicTitle">{0} Generic Class</item> - <item id="generic_structureTopicTitle">{0} Generic Structure</item> - <item id="generic_interfaceTopicTitle">{0} Generic Interface</item> - <item id="generic_delegateTopicTitle">{0} Generic Delegate</item> - <item id="generic_methodTopicTitle">{0} Generic Method</item> - - <!-- list topic titles --> - <item id="FieldsTopicTitle">{0} Fields</item> - <item id="MethodsTopicTitle">{0} Methods {1}</item> - <item id="ConstructorsTopicTitle">{0} Constructors {1}</item> - <item id="PropertiesTopicTitle">{0} Properties {1}</item> - <item id="EventsTopicTitle">{0} Events</item> - <item id="AttachedPropertiesTopicTitle">{0} Attached Properties</item> - <item id="AttachedEventsTopicTitle">{0} Attached Events</item> - <item id="membersTopicTitle">{0} Members</item> - - <!-- member titles --> - <item id="enumMembersTitle">Members</item> - - <!-- index entries --> - <item id="rootIndexEntry">namespaces</item> - <item id="namespaceIndexEntry">{0} namespace</item> - <item id="classIndexEntry">{0} class</item> - <item id="structureIndexEntry">{0} structure</item> - <item id="interfaceIndexEntry">{0} interface</item> - <item id="delegateIndexEntry">{0} delegate</item> - <item id="enumerationIndexEntry">{0} enumeration</item> - <item id="enumerationMemberIndexEntry">{0} enumeration member</item> - <item id="aboutTypeIndexEntry">{0}, about {0}</item> - <item id="derivedTypesIndexEntry">{0}, derived types</item> - <item id="membersIndexEntry">{0}, all members</item> - <item id="methodsIndexEntry">{0}, methods</item> - <item id="propertiesIndexEntry">{0}, properties</item> - <item id="fieldsIndexEntry">{0}, fields</item> - <item id="eventsIndexEntry">{0}, events</item> - <item id="constructorsIndexEntry">{0}, constructors</item> - <item id="constructorIndexEntry">{0}, constructor</item> - <item id="constructorTypeIndexEntry">{0} constructor</item> - <item id="methodIndexEntry">{0} method</item> - <item id="propertyIndexEntry">{0} property</item> - <item id="eventIndexEntry">{0} event</item> - <item id="fieldIndexEntry">{0} field</item> - <item id="operatorIndexEntry">{0} operator</item> - <item id="attachedPropertyIndexEntry">{0} attached property</item> - <item id="attachedEventIndexEntry">{0} attached event</item> - - <!-- index entries like: "FileClassifier class" or "Execute method" or "Microsoft.Build.Tasks.Windows.FileClassifier class" - {0} is API's name, which is shortname in some cases, or FQName in others - {1} is API's subgroup, e.g. 'class', 'method', etc. - <item id="nameSubgroupIndexEntry">{0} <include item="{1}IndexEntry"/></item> ---> - <!-- index entries like: "FileClassifier class, about FileClassifier class" - {0} is API's name, which is shortname in some cases, or FQName in others - {1} is API's subgroup, e.g. 'class', 'method', etc. - <item id="aboutTypeIndexEntry">{0} <include item="{1}IndexEntry"/>, about {0} <include item="{1}IndexEntry"/></item> - --> - <!-- index entries like: "FileClassifier class, methods" - {0} is type's name; - {1} is type's subgroup, e.g. 'class'; - {2} is the kind of list, e.g. 'AllMembers', 'Methods', etc. - <item id="listTopicIndexEntry">{0} <include item="{1}IndexEntry"/>, <include item="{2}IndexEntry"/></item> - --> - <!-- main window stuff --> - - <!-- body --> - - <!-- section titles --> - <item id="syntaxTitle">Syntax</item> - <item id="templatesTitle">Type Parameters</item> - <item id="parametersTitle">Parameters</item> - <item id="valueTitle">Value</item> - <item id="delegateValueTitle">Return Value</item> - <item id="methodValueTitle">Return Value</item> - <item id="propertyValueTitle">Property Value</item> - <item id="fieldValueTitle">Field Value</item> - <item id="implementsTitle">Implements</item> - <item id="examplesTitle">Examples</item> - <item id="threadSafetyTitle">Thread Safety</item> - <item id="exceptionsTitle">Exceptions</item> - <item id="permissionsTitle">Permissions</item> - <item id="namespacesTitle">Namespaces</item> - <item id="typesTitle">Types</item> - <item id="allMembersTitle">Members</item> - <item id="membersTitle">Overload List</item> - <item id="familyTitle">Inheritance Hierarchy</item> - <item id="versionsTitle">Version Information</item> - <item id="platformsTitle">Platforms</item> - <item id="relatedTitle">See Also</item> - - <!-- table headers --> - <item id="namespaceNameHeader">Namespace</item> - <item id="namespaceDescriptionHeader">Description</item> - <item id="typeIconHeader">Icon</item> - <item id="classNameHeader">Class</item> - <item id="structureNameHeader">Structure</item> - <item id="interfaceNameHeader">Interface</item> - <item id="delegateNameHeader">Delegate</item> - <item id="enumerationNameHeader">Enumeration</item> - <item id="typeNameHeader">Name</item> - <item id="typeDescriptionHeader">Description</item> - <item id="memberIconHeader">Icon</item> - <item id="memberNameHeader">Member</item> - <item id="memberDescriptionHeader">Description</item> - <item id="exceptionNameHeader">Exception</item> - <item id="exceptionConditionHeader">Condition</item> - <item id="permissionNameHeader">Permission</item> - <item id="permissionDescriptionHeader">Description</item> - - <!-- filter control text --> - <item id="allTypesFilterLabel">All Types</item> - <item id="classTypesFilterLabel">Classes</item> - <item id="structureTypesFilterLabel">Structures</item> - <item id="interfaceTypesFilterLabel">Interfaces</item> - <item id="delegateTypesFilterLabel">Delegates</item> - <item id="enumerationTypesFilterLabel">Enumerations</item> - <item id="allMembersFilterLabel">All Members</item> - <item id="constructorMembersFilterLabel">Constructors</item> - <item id="methodMembersFilterLabel">Methods</item> - <item id="propertyMembersFilterLabel">Properties</item> - <item id="attachedPropertyMembersFilterLabel">Attached Properties</item> - <item id="fieldMembersFilterLabel">Fields</item> - <item id="eventMembersFilterLabel">Events</item> - <item id="operatorMembersFilterLabel">Operators</item> - <item id="attachedEventMembersFilterLabel">Attached Events</item> - <item id="explicitInterfaceMembersFilterLabel">Explicit Interface Implementations</item> - <item id="publicMembersFilterLabel">Public</item> - <item id="protectedMembersFilterLabel">Protected</item> - <item id="instanceMembersFilterLabel">Instance</item> - <item id="staticMembersFilterLabel">Static</item> - <item id="declaredMembersFilterLabel">Declared</item> - <item id="inheritedMembersFilterLabel">Inherited</item> - <item id=".NETCompactFilterLabel">.NET Compact Framework Only</item> - <item id="XNAFilterLabel">XNA Framework Only</item> - <!-- member list stuff --> - <item id="Publicconstructor">Public Constructors</item> - <item id="Protectedconstructor">Protected Constructors</item> - <item id="constructorsTable">Constructors</item> - <item id="Privateconstructor">Private Constructors</item> - <item id="Publicmethod">Public Methods</item> - <item id="Protectedmethod">Protected Methods</item> - <item id="Privatemethod">Private Methods</item> - <item id="Publicfield">Public Fields</item> - <item id="Protectedfield">Protected Fields</item> - <item id="Privatefield">Private Fields</item> - <item id="Publicproperty">Public Properties</item> - <item id="Protectedproperty">Protected Properties</item> - <item id="Privateproperty">Private Properties</item> - <item id="Publicevent">Public Events</item> - <item id="Protectedevent">Protected Events</item> - <item id="Privateevent">Private Events</item> - <item id="PublicattachedProperty">Public Attached Properties</item> - <item id="ProtectedattachedProperty">Protected Attached Properties</item> - <item id="PrivateattachedProperty">Private Attached Properties</item> - <item id="PublicattachedEvent">Public Attached Events</item> - <item id="ProtectedattachedEvent">Protected Attached Events</item> - <item id="PrivateattachedEvent">Private Attached Events</item> - <item id="seeMemberGroup"> (see also {0})</item> - - <!-- Thread Safety --> - <item id="ThreadSafety">Thread Safety</item> - <item id="ThreadSafetyBP">Any public static (<b>Shared</b> in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.</item> - - <item id="NotesForImplementers">Notes to Implementers: </item> - <item id="NotesForCallers">Notes to Callers: </item> - <item id="NotesForInheritors">Notes to Inheritors: </item> - - <!-- Used for Platform Notes --> - <item id="PlatformNote"> - <b>{0} Platform Note:</b> {1} - </item> - <item id="Win95">Windows 95</item> - <item id="Win98Se">Windows 98 Second Edition</item> - - <item id="WinNT4">Windows NT 4.0</item> - <item id="WinNT4Svr">Windows NT Server 4.0</item> - <item id="WinNT4Wks">Windows NT Workstation 4.0</item> - - <item id="Win2kFamily">Windows 2000</item> - <item id="Win2kProfessional">Windows 2000 Professional</item> - <item id="Win2kServer">Windows 2000 Server</item> - <item id="Win2kDatacenter">Windows 2000 Advanced Server</item> - - <item id="WinXPPersonal">Windows XP Home Edition</item> - <item id="WinXPPro">Windows XP Professional x64 Edition</item> - <item id="WinXPSvr"><include item="WinSvr2003"/></item> - <item id="WinXpTablet">Windows XP Tablet PC Edition</item> - <item id="WinXpEmbedded">Windows XP Embedded</item> - - <item id="ECMACLI">Common Language Infrastructure (CLI) Standard</item> - - <item id="MSTV">Microsoft TV</item> - - <item id="Win9xFamily"><include item="Win95"/>, <include item="Win98"/>, <include item="Win98Se"/>, <include item="WinME"/></item> - <item id="WinNt4Family"><include item="WinNT4"/></item> - <item id="WinXpFamily"><include item="WinXPPersonal"/>, <include item="WinXPPro"/>, <include item="WinXPSvr"/></item> - <item id="WinCE"><include item="WindowsCE"/></item> - <item id="Win2K"><include item="WinSvr2000"/></item> - <item id="Win2KSvr"><include item="Win2kServer"/></item> - <item id="Win2KADC"><include item="Win2kDatacenter"/></item> - - <item id="WinNt4Server"><include item="WinNT4Svr"/></item> - <item id="WinNt4Workstation"><include item="WinNT4Wks"/></item> - <item id="Win2kAdvanced"><include item="Win2kDatacenter"/></item> - <item id="Win2kServerApplianceKit"></item> - <item id="WinXpHome"><include item="WinXPPersonal"/></item> - <item id="WinXpProfessional"><include item="WinXPPro"/></item> - <item id="Win2003Server"><include item="WinXPSvr"/></item> - <item id="NETCF"><include item="PocketPC"/>, <include item="SmartPhone"/>, <include item="WindowsCE"/></item> - <!-- Platform Notes --> - - <item id="Platforms">Platforms</item> - <!-- Platforms Information --> - <item id="developmentPlatformsLayout"> - <p/> - <span> - The .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1. - </span> - </item> - - <!-- inserted boilerplate --> - <item id="runningHeaderText">.NET Framework Class Library</item> - <item id="rootLink"><referenceLink target="R:Project">Namespaces</referenceLink></item> - <item id="obsoleteShort"><span class="obsolete">Obsolete.</span></item> - <item id="obsoleteLong"><span class="obsolete">This API is obsolete.</span></item> - <item id="nonobsoleteAlternative">The non-obsolete alternative is {0}.</item> - <item id="obsoleteRed"><font color="red"><b>Obsolete. </b></font></item> - <item id="ObsoleteBoilerPlate"> - <font color="red"><b>NOTE: This API is now obsolete.</b></font> - </item> - <item id="inheritedFrom">(Inherited from {0}.)</item> - <item id="overridesMember">(Overrides {0}.)</item> - <item id="locationInformation">Assembly: {0} (Module: {1})</item> - <item id="hostProtectionAttributeShort">HostProtectionAttribute.</item> - <item id="hostProtectionAttributeLong">The <referenceLink target="T:System.Security.Permissions.HostProtectionAttribute" prefer-overload="true" /> attribute applied to this <include item="{0}"/> has the following <referenceLink target="P:System.Security.Permissions.HostProtectionAttribute.Resources" prefer-overload="true" /> property value: {1}. The <referenceLink target="T:System.Security.Permissions.HostProtectionAttribute" prefer-overload="true" /> does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the <referenceLink target="T:System.Security.Permissions.HostProtectionAttribute" prefer-overload="true" /> class or <conceptualLink target="7dfa36b4-e773-4c75-a3ff-ff1af3ce4c4f" />.</item> - <item id="classLower">class</item> - <item id="delegateLower">delegate</item> - <item id="structureLower">structure</item> - <item id="interfaceLower">interface</item> - <item id="enumerationLower">enumeration</item> - <!-- thread safety boilerplate --> - <item id="staticThreadSafe">Static members of this type are safe for multi-threaded operations. </item> - <item id="staticNotThreadSafe">Static members of this type are not safe for multi-threaded operations. </item> - <item id="instanceThreadSafe">Instance members of this type are safe for multi-threaded operations. </item> - <item id="instanceNotThreadSafe">Instance members of this type are not safe for multi-threaded operations. </item> - - <!-- alt text for images --> - <item id="pubClassAltText">Public class</item> - <item id="pubStructureAltText">Public structure</item> - <item id="pubInterfaceAltText">Public interface</item> - <item id="pubDelegateAltText">Public delegate</item> - <item id="pubEnumerationAltText">Public enumeration</item> - <item id="protClassAltText">Protected class</item> - <item id="protStructureAltText">Protected structure</item> - <item id="protInterfaceAltText">Protected interface</item> - <item id="protDelegateAltText">Protected delegate</item> - <item id="protEnumerationAltText">Protected enumeration</item> - <item id="privClassAltText">Private class</item> - <item id="privStructureAltText">Private structure</item> - <item id="privInterfaceAltText">Private interface</item> - <item id="privDelegateAltText">Private delegate</item> - <item id="privEnumerationAltText">Private enumeration</item> - - <item id="pubConstructorAltText">Public constructor</item> - <item id="pubMethodAltText">Public method</item> - <item id="pubFieldAltText">Public field</item> - <item id="pubPropertyAltText">Public property</item> - <item id="pubEventAltText">Public event</item> - <item id="pubOperatorAltText">Public operator</item> - <item id="pubAttachedPropertyAltText">Public attached property</item> - <item id="pubAttachedEventAltText">Public attached event</item> - <item id="protConstructorAltText">Protected constructor</item> - <item id="protMethodAltText">Protected method</item> - <item id="protFieldAltText">Protected field</item> - <item id="protPropertyAltText">Protected property</item> - <item id="protEventAltText">Protected event</item> - <item id="protOperatorAltText">Protected operator</item> - <item id="protAttachedPropertyAltText">Protected attached property</item> - <item id="protAttachedEventAltText">Protected attached event</item> - <item id="privConstructorAltText">Private constructor</item> - <item id="privMethodAltText">Private method</item> - <item id="privFieldAltText">Private field</item> - <item id="privPropertyAltText">Private property</item> - <item id="privEventAltText">Private event</item> - <item id="privOperatorAltText">Private operator</item> - <item id="privtAttachedPropertyAltText">Private attached property</item> - <item id="privAttachedEventAltText">Private attached event</item> - <item id="staticAltText">Static member</item> - - <!-- language filter --> - <item id="languageFilter">Language Filter: {0}</item> - <item id="all">All</item> - <item id="multiple">Multiple</item> - <item id="VisualBasic">Visual Basic</item> - <item id="VBScript">Visual Basic Script</item> - <item id="CSharp">C#</item> - <item id="ManagedCPlusPlus">Visual C++</item> - <item id="JSharp">J#</item> - <item id="JScript">JScript</item> - <item id="xmlLang">Xml</item> - <item id="html">Html</item> - <item id="visualbasicANDcsharp"><include item="VisualBasic"/> and <include item="CSharp"/></item> - <item id="other"></item> - <item id="XAML">XAML</item> - <item id="usage">Usage</item> - - <item id="VisualBasicDeclaration"><include item="VisualBasic"/> (Declaration)</item> - <item id="VisualBasicUsage"><include item="VisualBasic"/> (<include item="usage"/>)</item> - <!-- labels for links at the top of the All Members topic --> - <item id="constructorGroup">Constructors</item> - <item id="methodGroup">Methods</item> - <item id="propertyGroup">Properties</item> - <item id="eventGroup">Events</item> - <item id="fieldGroup">Fields</item> - <item id="operatorGroup">Operators</item> - <item id="attachedPropertyGroup">Attached Properties</item> - <item id="attachedEventGroup">Attached Events</item> - <item id="Group"></item> - <item id="collapseAll">Collapse All</item> - <item id="expandAll">Expand All</item> - - <item id="Example">Example</item> - <item id="SeeAlsoNamespaceLinkText">{0} Namespace</item> - <item id="SeeAlsoTypeLinkText">{0} <include item="{1}SubGroup"/></item> - <item id="SeeAlsoMembersLinkText">{0} Members</item> - <item id="SeeAlsoOverloadLinkText">{0} Overload</item> - - <item id="SubGroup"></item> - <item id="classSubGroup">Class</item> - <item id="structureSubGroup">Structure</item> - <item id="interfaceSubGroup">Interface</item> - <item id="delegateSubGroup">Delegate</item> - <item id="enumerationSubGroup">Enumeration</item> - - <item id="membersOptionsShowAll">Members Options: Show All</item> - <item id="membersOptionsFiltered">Members Options: Filtered</item> - <item id="includeInheritedMembers">Include Inherited Members</item> - <item id="includeProtectedMembers">Include Protected Members</item> - <item id="netcfMembersOnly">.NET Compact Framework Members Only</item> - <item id="netXnaMembersOnly">XNA Framework Members Only</item> - - <item id="requirementsNamespaceLayout"> - <b>Namespace:</b> - </item> - - <item id="requirementsPlatformsLayout"> - <b>Platforms:</b> {0} - </item> - - <item id="requirementsAssembliesLabel"> - <b>Assemblies:</b> - </item> - - <item id="requirementsAssemblyLabel"> - <b>Assembly:</b> - </item> - - <item id="assemblyNameAndModule">{0} (in {1}.{2})</item> - - <item id="requirementsAssemblyLayout"> - <b>Assembly:</b> {0} (in {1}.dll) - </item> - - <!-- Used for Version Information Section --> - <item id="supportedIn_1">Supported in: {0}</item> - <item id="supportedIn_2">Supported in: {0}, {1}</item> - <item id="supportedIn_3">Supported in: {0}, {1}, {2}</item> - <item id="supportedIn_4">Supported in: {0}, {1}, {2}, {3}</item> - <item id="supportedIn_5">Supported in: {0}, {1}, {2}, {3}, {4}</item> - <item id="obsoleteWarning">Obsolete (compiler warning) in {0}</item> - <item id="obsoleteError">Obsolete (does not compile) in {0} and later</item> - - - <item id="ReturnValue">Return Value</item> - <item id="PropertyValue">Property Value</item> - <item id="FieldValue">Field Value</item> - - <item id="derivedClasses">Derived Classes</item> - <item id="CompactFrameworkAltText">Supported by the .NET Compact Framework</item> - <item id="XNAFrameworkAltText">Supported by the XNA Framework</item> - <item id="ExplicitInterfaceImplementation">Explicit Interface Implementations</item> - <item id="ExplicitInterfaceAltText">Explicit interface implemetation</item> - - <!-- boilerplate intro to member list tables --> - <item id="genericExposedMembersTableText">The {0} generic type exposes the following <include item="{1}"/>.</item> - <item id="exposedMembersTableText">The {0} type exposes the following <include item="{1}"/>.</item> - <item id="membersSubgroup">members</item> - <item id="MethodsSubgroup">methods</item> - <item id="PropertiesSubgroup">properties</item> - <item id="EventsSubgroup">events</item> - <item id="FieldsSubgroup">fields</item> - <item id="OperatorsSubgroup">operators</item> - <item id="AttachedPropertiesSubgroup">attached properties</item> - <item id="AttachedEventsSubgroup">attached events</item> - - <item id="dependencyPropertyInfoHeading">Dependency Property Information</item> - <item id="routedEventInfoHeading">Routed Event Information</item> - <item id="mrefTaskMoreCodeHeading">More Code</item> - - <item id="Overloaded">Overloaded. </item> - <item id="defaultNamespace">( Default Namespace )</item> - - <!-- First line of a param or retval description is a link to the type of the param or retval. - This boilerplate is used if the type is a type parameter of the member's type. --> - <item id="typeLinkToTypeParameter"><b>{0}</b> type parameter of {1}.</item> - - <!-- Internal only Boilerplate text --> - <item id="internalOnly">This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.</item> - <item id="infraStructure">Infrastructure. </item> - - <!-- platform names that appear in the Platforms section on mref type and member pages - The id values must be in sync with the platform/@name values used in the manifold platformFilters.xml filter files. - These values are also used in <platformNotes> - --> - <item id="Win98">Windows 98</item> - <item id="WinME">Windows Millennium Edition</item> - <item id="WinSvr2000">Windows Server 2000 SP4</item> - <item id="WinXPPro64">Windows XP Professional x64 Edition</item> - <item id="WinXP">Windows XP SP2</item> - <item id="WindowsCE">Windows CE</item> - <item id="PocketPC">Windows Mobile for Pocket PC</item> - <item id="SmartPhone">Windows Mobile for Smartphone</item> - <item id="WinSvr2003">Windows Server 2003</item> - <item id="WinXpMediaCenter">Windows XP Media Center Edition</item> - <item id="WinXPSE">Windows XP Starter Edition</item> - <item id="WinVista">Windows Vista</item> - - <!-- framework ids: - These shared content item strings are used for the headings in the Version Information section - These ids must be in sync with the ids used in the config file for VersionBuilder. - --> - <item id="netfw">.NET Framework</item> - <item id="netcfw">.NET Compact Framework</item> - <item id="xnafw">XNA Framework</item> - - <!-- framework version ids - These shared content item strings are used in the Version Information section. - These ids must be in sync with the ids used in the config file for VersionBuilder. - The ids are also used in the platformFilters.xml filter files to indicate the framework version supported by each platform - --> - <item id="netfw35">3.5</item> - <item id="netfw30">3.0</item> - <item id="netfw20">2.0</item> - <item id="netfw11">1.1</item> - <item id="netfw10">1.0</item> - - <item id="netcfw35">3.5</item> - <item id="netcfw20">2.0</item> - <item id="netcfw10">1.0</item> - - <item id="xnafw10">1.0</item> - - <!-- Used in the Requirements section to display an xmlns URI for apis that can be used in XAML --> - <item id="xamlXmlnsRequirementsLayout"><b>XMLNS for XAML:</b> {0}</item> - <item id="unmappedXamlXmlns">Not mapped to an xmlns.</item> - -</content> diff --git a/tools/Sandcastle/Presentation/hana/Content/shared_content.xml b/tools/Sandcastle/Presentation/hana/Content/shared_content.xml deleted file mode 100644 index 2d0718b..0000000 --- a/tools/Sandcastle/Presentation/hana/Content/shared_content.xml +++ /dev/null @@ -1,140 +0,0 @@ -<content xml:space="preserve" - xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> - - <!-- paths --> - <item id="iconPath">../icons/{0}</item> - <item id="scriptPath">../scripts/{0}</item> - <item id="artPath">../art/{0}</item> - <item id="stylePath">../styles/{0}</item> - - <!-- locale --> - <item id="locale">en-us</item> - - <item id="desktopTechnologyAttribute">kbNetFramewk</item> - <item id="netcfTechnologyAttribute">kbNetCompactFramewk</item> - <item id="netcfDocSetAttribute">NetCompactFramework</item> - - <!-- header --> - <item id="header"><font color="DarkGray">[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]</font> - <p/> </item> - - <!-- alert titles --> - <item id="tipTitle"><b>Tip:</b></item> - <item id="cautionTitle"><b>Caution:</b></item> - <item id="securityTitle"><b>Security Note:</b></item> - <item id="noteTitle"><b>Note:</b></item> - <item id="importantTitle"><b>Important Note:</b></item> - <item id="visualBasicTitle"><b>Visual Basic Note:</b></item> - <item id="visualC#Title"><b>C# Note:</b></item> - <item id="visualC++Title"><b>C++ Note:</b></item> - <item id="visualJ#Title"><b>J# Note:</b></item> - - <!-- alert alt text --> - <item id="tipAltText">Tip</item> - <item id="cautionAltText">Caution note</item> - <item id="securityAltText">Security note</item> - <item id="noteAltText">Note</item> - <item id="importantAltText">Important note</item> - <item id="visualBasicAltText">Visual Basic note</item> - <item id="visualC#AltText">C# note</item> - <item id="visualC++AltText">C++ note</item> - <item id="visualJ#AltText">J# note</item> - - <!-- code labels --> - <item id="CSharpLabel">C#</item> - <item id="VisualBasicLabel">Visual Basic</item> - <item id="VisualBasicUsageLabel">Visual Basic Usage</item> - <item id="ManagedCPlusPlusLabel">Visual C++</item> - <item id="JSharpLabel">J#</item> - <item id="JScriptLabel">JScript</item> - <item id="XAMLLabel">XAML</item> - <item id="declarationLabel">Declaration</item> - <item id="usageLabel">Usage</item> - <item id="JavaScriptLabel">JavaScript</item> - - <item id="SeeAlso">See Also</item> - <item id="SeeAlsoTasks">Tasks</item> - <item id="SeeAlsoReference">Reference</item> - <item id="SeeAlsoConcepts">Concepts</item> - <item id="SeeAlsoOtherResources">Other Resources</item> - - <!-- tool tips --> - <item id="collapseAllImage">CollapseAll image</item> - <item id="expandAllImage">ExpandAll image</item> - <item id="dropDownImage">DropDown image</item> - <item id="dropDownHoverImage">DropDownHover image</item> - <item id="collapseImage">Collapse image</item> - <item id="expandImage">Expand Image</item> - <item id="copyHoverImage">CopyHover image</item> - <item id="copyImage">Copy image</item> - <item id="footerImage">Footer image</item> - - <!-- product labels --> - <item id="framework">.NET Framework</item> - <item id="compact">.NET Compact Framework</item> - <item id="everett">1.1</item> - <item id="whidbey">2.0</item> - - <item id="copyCode">Copy Code</item> - - - <!-- dynamic Link Information --> - <item id="mshelpKTable"><MSHelp:ktable keywords='{0}' locHeader='Location' topicHeader = 'Topic' disambiguator='table' indexMoniker='!DefaultDynamicLinkIndex' /></item> - - <item id="dynamicLinkInlinePreFixText">For more information, see </item> - <item id="dynamicLinkInlinePostFixText">.</item> - <item id="dynamicLinkInlineSeperatorText"> and </item> - - <item id="remarksTitle">Remarks</item> - - <!-- transforms insert K Index Technology qualifiers based on a conceptual topic's //metadata/attribute[@name='DocSet'] value />--> - <!-- If you add new docset values, the item/@id must = "kIndexTechTag_" + the lower-case DocSet name. --> - <item id="kIndexTermWithTechQualifier">{0}<include item="kIndexTechTag_{1}" />{2}</item> - <item id="kIndexTechTag_avalon"> [Windows Presentation Foundation]</item> - <item id="kIndexTechTag_wpf"> [Windows Presentation Foundation]</item> - <item id="kIndexTechTag_wcf"> [Windows Communication Foundation]</item> - <item id="kindextechtag_windowsforms"> [Windows Forms]</item> - - <!-- values for MSHelp:Attr Name="TopicType" --> - <item id="TT_developerConceptualDocument">kbArticle</item> - <item id="TT_developerErrorMessageDocument">kbRef</item> - <item id="TT_developerGlossaryDocument">kbRef</item> - <item id="TT_developerHowToDocument">kbHowTo</item> - <item id="TT_developerOrientationDocument">kbOrient</item> - <item id="TT_developerReferenceWithSyntaxDocument">kbSyntax</item> - <item id="TT_developerReferenceWithoutSyntaxDocument">kbRef</item> - <item id="TT_developerSampleDocument">kbSampleProd</item> - <item id="TT_developerSDKTechnologyOverviewArchitectureDocument">kbArticle</item> - <item id="TT_developerSDKTechnologyOverviewCodeDirectoryDocument">kbOrient</item> - <item id="TT_developerSDKTechnologyOverviewOrientationDocument">kbOrient</item> - <item id="TT_developerSDKTechnologyOverviewScenariosDocument">kbHowTo</item> - <item id="TT_developerSDKTechnologyOverviewTechnologySummaryDocument">kbRef</item> - <item id="TT_developerTroubleshootingDocument">kbHowTo</item> - <item id="TT_developerUIReferenceDocument">kbRef</item> - <item id="TT_developerWalkthroughDocument">kbHowTo</item> - <item id="TT_developerWhitePaperDocument">kbArticle</item> - <item id="TT_developerXmlReference">kbSyntax</item> - <item id="TT_ManagedReference">apiref</item> - - <item id="top">Top</item> - - <!-- footer --> - - <item id="footer"> - <p/> - <span> - Send - <a> - <includeAttribute name="href" item="MailToLink"> - <parameter>{0}</parameter> - <parameter>{1}</parameter> - </includeAttribute> - comments - </a> - about this topic to Microsoft. - </span> - </item> - - <item id="MailToLink">javascript:sendfeedback('Documentation Feedback (Sandcastle CTP): ', '{1}', '');</item> - -</content> diff --git a/tools/Sandcastle/Presentation/hana/Content/token_content.xml b/tools/Sandcastle/Presentation/hana/Content/token_content.xml deleted file mode 100644 index 1ccae34..0000000 --- a/tools/Sandcastle/Presentation/hana/Content/token_content.xml +++ /dev/null @@ -1,4 +0,0 @@ -<items xml:space="preserve" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink"> - <item id="vbprvblong"><ddue:legacyItalic>Visual Basic 2005</ddue:legacyItalic></item> - <item id="aspnet_see_dataaccess_overview">See <ddue:link xlink:href="1ff79676-9b84-4939-91b7-885a5ce4fdf8" /> for more information.</item> -</items> diff --git a/tools/Sandcastle/Presentation/hana/DocModel.ps1 b/tools/Sandcastle/Presentation/hana/DocModel.ps1 deleted file mode 100644 index dade8e2..0000000 --- a/tools/Sandcastle/Presentation/hana/DocModel.ps1 +++ /dev/null @@ -1,22 +0,0 @@ - -# Sandcastle build script overrides for vsorcas doc model. - -. $DxRoot\Presentation\Shared\SharedDocModel.ps1 - -function PostProcessReflectionData($sourceFile, $targetFile) { - WriteInfo "Post processing reflection data." - &$XslTransform $sourceFile ` - /xsl:$DxRoot\ProductionTransforms\ApplyVSDocModel.xsl ` - /xsl:$DxRoot\ProductionTransforms\AddFriendlyFilenames.xsl ` - /arg:IncludeAllMembersTopic=false ` - /arg:IncludeInheritedOverloadTopics=true ` - /out:$targetFile -} - -function CreateToc { - WriteInfo "Creating TOC." - &$XslTransform $TempDir\ReflectionData\targets.xml ` - /xsl:$DxRoot\ProductionTransforms\createvstoc.xsl ` - /out:$TempDir\toc.xml -} - diff --git a/tools/Sandcastle/Presentation/hana/Scripts/CommonUtilities.js b/tools/Sandcastle/Presentation/hana/Scripts/CommonUtilities.js deleted file mode 100644 index dbb8fa1..0000000 --- a/tools/Sandcastle/Presentation/hana/Scripts/CommonUtilities.js +++ /dev/null @@ -1,328 +0,0 @@ -function codeBlockHandler(id, data, value, curvedTabCollections, tabCollections, blockCollections) -{ - var names = value.split(' '); - - //Blocks - for(var blockCount = 0; blockCount < blockCollections.length; blockCount++) - { - toggleStyle(blockCollections[blockCount], 'x-lang', names[0], 'display', 'block', 'none'); - } - - //curvedTabs - for(var curvedTabCount = 0; curvedTabCount < curvedTabCollections.length; curvedTabCount++) - { - curvedToggleClass(curvedTabCollections[curvedTabCount], 'x-lang',names[0]); - } - - //Tabs - for(var tabCount = 0; tabCount < tabCollections.length; tabCount++) - { - toggleClass(tabCollections[tabCount], 'x-lang', names[0], 'activeTab', 'tab'); - } -} - -function styleSheetHandler(id, data, value, curvedTabCollections, tabCollections, blockCollections) -{ - var names = value.split(' '); - var name = names[1]; - toggleInlineStyle(name); -} - -function persistenceHandler(id, data, value, curvedTabCollections, tabCollections, blockCollections) -{ - data.set('lang', value); - data.save(); -} - -function languageHandler(id, data, value, curvedTabCollections, tabCollections, blockCollections) -{ - var names = value.split(' '); - toggleLanguage(id, 'x-lang', names[0]); -} - -toggleInlineStyle = function(name) -{ - var sd = getStyleDictionary(); - if (name == 'cs') { - sd['span.cs'].display = 'inline'; - sd['span.vb'].display = 'none'; - sd['span.cpp'].display = 'none'; - } else if (name == 'vb') { - sd['span.cs'].display = 'none'; - sd['span.vb'].display = 'inline'; - sd['span.cpp'].display = 'none'; - } else if (name == 'cpp') { - sd['span.cs'].display = 'none'; - sd['span.vb'].display = 'none'; - sd['span.cpp'].display = 'inline'; - } else { - } -} - -toggleLanguage = function(id, data, value) -{ - var tNodes = getChildNodes('languageFilterToolTip'); - - for(var labelCount=0; labelCount < tNodes.length; labelCount++) - { - if(tNodes[labelCount].tagName != 'IMG' && tNodes[labelCount].tagName != '/IMG') - { - if(tNodes[labelCount].getAttribute('id').indexOf(value) >= 0) - { - tNodes[labelCount].style['display'] = 'inline'; - } - else - { - tNodes[labelCount].style['display'] = 'none'; - } - } - } - - var languageNodes = getChildNodes(id); - - for(var languageCount=0; languageCount < languageNodes.length; languageCount++) - { - if(languageNodes[languageCount].tagName == 'DIV'); - { - if(languageNodes[languageCount].getAttribute('id')) - { - var imageNodes = getChildNodes(languageNodes[languageCount].getAttribute('id'))[0]; - if (languageNodes[languageCount].getAttribute('id') == value) - { - imageNodes.src = radioSelectImage.src; - } - else - { - imageNodes.src = radioUnSelectImage.src; - } - } - } - } -} - -toggleStyle = function(blocks, attributeName, attributeValue, styleName, trueStyleValue, falseStyleValue) -{ - var blockNodes = getChildNodes(blocks); - - for(var blockCount=0; blockCount < blockNodes.length; blockCount++) - { - var blockElement = blockNodes[blockCount].getAttribute(attributeName); - if (blockElement == attributeValue) blockNodes[blockCount].style[styleName] = trueStyleValue; - else blockNodes[blockCount].style[styleName] = falseStyleValue; - } -} - -curvedToggleClass = function(curvedTabs, attributeName, attributeValue) -{ - var curvedTabNodes = getChildNodes(curvedTabs); - - for(var curvedTabCount=0; curvedTabCount < curvedTabNodes.length; curvedTabCount++) - { - var curvedTabElement = curvedTabNodes[curvedTabCount].getAttribute(attributeName); - if (curvedTabElement == attributeValue) - { - if (curvedTabNodes[curvedTabCount].className == 'leftTab' || curvedTabNodes[curvedTabCount].className == 'activeLeftTab') - { - curvedTabNodes[curvedTabCount].className = 'activeLeftTab'; - } - else if(curvedTabNodes[curvedTabCount].className == 'rightTab' || curvedTabNodes[curvedTabCount].className == 'activeRightTab') - { - curvedTabNodes[curvedTabCount].className = 'activeRightTab'; - } - else if(curvedTabNodes[curvedTabCount].className == 'middleTab' || curvedTabNodes[curvedTabCount].className == 'activeMiddleTab') - { - curvedTabNodes[curvedTabCount].className = 'activeMiddleTab'; - } - } - else - { - if (curvedTabNodes[curvedTabCount].className == 'leftTab' || curvedTabNodes[curvedTabCount].className == 'activeLeftTab') - { - curvedTabNodes[curvedTabCount].className = 'leftTab'; - } - else if(curvedTabNodes[curvedTabCount].className == 'rightTab' || curvedTabNodes[curvedTabCount].className == 'activeRightTab') - { - curvedTabNodes[curvedTabCount].className = 'rightTab'; - } - else if(curvedTabNodes[curvedTabCount].className == 'middleTab' || curvedTabNodes[curvedTabCount].className == 'activeMiddleTab') - { - curvedTabNodes[curvedTabCount].className = 'middleTab'; - } - } - } -} - -toggleClass = function(tabs, attributeName, attributeValue, trueClass, falseClass) -{ - var tabNodes = getChildNodes(tabs); - - for(var tabCount=0; tabCount < tabNodes.length; tabCount++) - { - var tabElement = tabNodes[tabCount].getAttribute(attributeName); - - if (tabElement == attributeValue) - { - if(tabNodes[tabCount].className == 'leftGrad' || tabNodes[tabCount].className == 'activeLeftGrad') - { - tabNodes[tabCount].className = 'activeLeftGrad'; - } - else if (tabNodes[tabCount].className == 'rightGrad' || tabNodes[tabCount].className == 'activeRightGrad') - { - tabNodes[tabCount].className = 'activeRightGrad'; - } - else tabNodes[tabCount].className = trueClass; - } - else - { - if(tabNodes[tabCount].className == 'leftGrad' || tabNodes[tabCount].className == 'activeLeftGrad') - { - tabNodes[tabCount].className = 'leftGrad'; - } - else if (tabNodes[tabCount].className == 'rightGrad' || tabNodes[tabCount].className == 'activeRightGrad') - { - tabNodes[tabCount].className = 'rightGrad'; - } - else tabNodes[tabCount].className = falseClass; - } - } -} - -getChildNodes = function(node) -{ - var element = document.getElementById(node); - - // get the children - if (element.tagName == 'TABLE') - { - // special handling for tables - var bodies = element.tBodies; - for(i = 0; i < bodies.length; i++) - { - var nodes = bodies[i].rows; - return nodes; - } - } - else - { - // all other cases - var nodes = element.childNodes; - return nodes; - } -} - -process = function(list, methodName, typeName) { - var listNodes = getChildNodes(list); - - for(var i=0; i < listNodes.length; i++) - { - var listElement = listNodes[i]; - - if (typeName == 'type' && tf != null) getInstanceDelegate(tf,methodName)(listElement); - else if (typeName == 'member' && mf != null) getInstanceDelegate(mf, methodName)(listElement); - } -} - -function getStyleDictionary() { - var styleDictionary = new Array(); - - // iterate through stylesheets - var sheets = document.styleSheets; - - for(var i=0; i<sheets.length;i++) { - var sheet = sheets[i]; - - // Ignore sheets at ms-help Urls - if (sheet.href.substr(0,8) == 'ms-help:') continue; - - // get sheet rules - var rules = sheet.cssRules; - - if (rules == null) rules = sheet.rules; - - // iterate through rules - for(j=0; j<rules.length; j++) { - var rule = rules[j]; - - // Ignore ones that aren't defined - if(rule.selectorText == null) - continue; - - // add rule to dictionary - styleDictionary[rule.selectorText.toLowerCase()] = rule.style; - } - } - - return(styleDictionary); -} - -function toggleCheck(imageElement) -{ - if(imageElement.src == checkBoxSelectImage.src) - { - imageElement.src = checkBoxUnSelectImage.src; - return false; - } - else - { - imageElement.src = checkBoxSelectImage.src; - return true; - } -} - -function mouseOverCheck(imageElement, selected, unselected, selected_hover, unselected_hover) -{ - if(imageElement.src == selected.src) - { - imageElement.src = selected_hover.src; - } - else if(imageElement.src == unselected.src) - { - imageElement.src = unselected_hover.src; - } -} - - -function mouseOutCheck(imageElement, selected, unselected, selected_hover, unselected_hover) -{ - if(imageElement.src == selected_hover.src) - { - imageElement.src = selected.src; - } - else if(imageElement.src == unselected_hover.src) - { - imageElement.src = unselected.src; - } -} - -function toggleSelect(imageElement, section) -{ - if(imageElement.src == twirlSelectImage.src) - { - imageElement.src = twirlUnSelectImage.src; - section.style['display'] = 'none'; - } - else - { - imageElement.src = twirlSelectImage.src; - section.style['display'] = 'block'; - } -} - -function changeLanguage(data, name, style) { - if (languageFilter == null) return; - - languageFilter.changeLanguage(data, name, style); -} - -function processSubgroup(subgroup, typeName) { - if (typeName == 'type' && tf != null) tf.subgroup = subgroup; - else if (typeName == 'member' && mf != null) mf.subgroup = subgroup; -} - -function toggleCheckState(visibility, value) { - if (mf == null) return; - mf[visibility] = value; -} - - - diff --git a/tools/Sandcastle/Presentation/hana/Scripts/DataStore.js b/tools/Sandcastle/Presentation/hana/Scripts/DataStore.js deleted file mode 100644 index 12e072c..0000000 --- a/tools/Sandcastle/Presentation/hana/Scripts/DataStore.js +++ /dev/null @@ -1,116 +0,0 @@ -// cookie data store -function DataStore(name) -{ - this.name = name; - this.load(); -} - -DataStore.prototype.load = function () -{ - // create a key/value store - this.language = new Object(); - - // get cookie text - var text = getCookie(this.name); - - if (text == null) return; - - // populate the store using the cookie text - var data = text.split(';'); - - for (var i=0; i<data.length; i++) - { - var datum = data[i]; - var index = datum.indexOf('='); - - if (index > 0) - { - var key = datum.substring(0,index); - var value = datum.substring(index+1); - this.language[key] = value; - } - } - -} - -function setCookie(name, value, expires, path, domain, secure) -{ - var text = name + "=" + escape(value); - - if (expires) - { - - var currentDate = new Date(); - var expireDate = new Date( currentDate.getTime() + expires*24*60*60*1000 ); - text = text + ";expires=" + expireDate.toGMTString(); - } - if (path) text = text + ";path=" + path; - if (domain) text = text + ";domain=" + domain; - if (secure) text = text + ";secure"; - - document.cookie = text; -} - -function removeCookie(name) -{ - setCookie(name, "", -1); -} - -function getCookie(name) -{ - var text = document.cookie; - - var index = text.indexOf(name + "="); - - if (index < 0) return(null); - - var start = index + name.length + 1; - var end = text.indexOf(";", start); - - if (end < 0) end = text.length; - - var value = unescape( text.substring(start, end) ); - return(value); -} - -DataStore.prototype.set = function(key, value) -{ - this.language[key] = value; -} - -DataStore.prototype.get = function(key) -{ - return(this.language[key]); -} - -DataStore.prototype.clear = function () -{ - this.language = new Object(); -} - -DataStore.prototype.save = function () -{ - // prepare a cookie string - var text = ""; - - // construct the string - for (var key in this.language) - { - var datum = key + "=" + this.language[key]; - text = text + datum + ";"; - } - - // set it - setCookie(this.name, text); -} - -DataStore.prototype.count = function() -{ - var i = 0; - for (var key in this.data) - { - i++; - } - return(i); -} -
\ No newline at end of file diff --git a/tools/Sandcastle/Presentation/hana/Scripts/Dropdown.js b/tools/Sandcastle/Presentation/hana/Scripts/Dropdown.js deleted file mode 100644 index d4f1fe0..0000000 --- a/tools/Sandcastle/Presentation/hana/Scripts/Dropdown.js +++ /dev/null @@ -1,56 +0,0 @@ - - // Dropdown menu control - - function Dropdown(activatorId, dropdownId) { - - // store activator and dropdown elements - this.activator = document.getElementById(activatorId); - this.dropdown = document.getElementById(dropdownId); - - // wire up show/hide events - registerEventHandler(this.activator,'mouseover', getInstanceDelegate(this, "show")); - registerEventHandler(this.activator,'mouseout', getInstanceDelegate(this, "requestHide")); - registerEventHandler(this.dropdown,'mouseover', getInstanceDelegate(this, "show")); - registerEventHandler(this.dropdown,'mouseout', getInstanceDelegate(this, "requestHide")); - - // fix visibility and position - this.dropdown.style.visibility = 'hidden'; - this.dropdown.style.position = 'absolute'; - this.reposition(null); - - // wire up repositioning event - registerEventHandler(window, 'resize', getInstanceDelegate(this, "reposition")); - - - } - - Dropdown.prototype.show = function(e) { - clearTimeout(this.timer); - this.dropdown.style.visibility = 'visible'; - } - - Dropdown.prototype.hide = function(e) { - this.dropdown.style.visibility = 'hidden'; - } - - Dropdown.prototype.requestHide = function(e) { - this.timer = setTimeout( getInstanceDelegate(this, "hide"), 250); - } - - Dropdown.prototype.reposition = function(e) { - - // get position of activator - var offsetLeft = 0; - var offsetTop = 0; - var offsetElement = this.activator; - while (offsetElement) { - offsetLeft += offsetElement.offsetLeft; - offsetTop += offsetElement.offsetTop; - offsetElement = offsetElement.offsetParent; - } - - // set position of dropdown relative to it - this.dropdown.style.left = offsetLeft; - this.dropdown.style.top = offsetTop + this.activator.offsetHeight; - - } diff --git a/tools/Sandcastle/Presentation/hana/Scripts/EventUtilities.js b/tools/Sandcastle/Presentation/hana/Scripts/EventUtilities.js deleted file mode 100644 index 1828a11..0000000 --- a/tools/Sandcastle/Presentation/hana/Scripts/EventUtilities.js +++ /dev/null @@ -1,23 +0,0 @@ - - // attach a handler to a particular event on an element - // in a browser-independent way - function registerEventHandler (element, event, handler) { - if (element.attachEvent) { - // MS registration model - element.attachEvent('on' + event, handler); - } else if (element.addEventListener) { - // NN (W4C) regisration model - element.addEventListener(event, handler, false); - } else { - // old regisration model as fall-back - element[event] = handler; - } - } - - // get a delegate that refers to an instance method - function getInstanceDelegate (obj, methodName) { - return( function(e) { - e = e || window.event; - return obj[methodName](e); - } ); - } diff --git a/tools/Sandcastle/Presentation/hana/Scripts/LanguageFilter.js b/tools/Sandcastle/Presentation/hana/Scripts/LanguageFilter.js deleted file mode 100644 index c5b75f9..0000000 --- a/tools/Sandcastle/Presentation/hana/Scripts/LanguageFilter.js +++ /dev/null @@ -1,91 +0,0 @@ -/* - -function Selector2 (id, tag, attribute) { - this.root = document.getElementById(id); - this.elements = new Array(); - this.values = new Array(); - this.registerChildren(root, attribute); - - this.handlers = new Array(); -} - -Selector2.prototype.registerChildren(parent, tag, attribute) { - var children = parent.childNodes; - for (var i = 0; i<children.length; i++) { - var child = children[i]; - if (child.nodeType == 1) { - var value = child.getAttribute(attribute); - if (value) { - this.elements.add(child); - this.values.add(value); - } - this.registerChildren(child, tag, attribute); - } - } -} - -Selector2.prototype.registerHandler(handler) { - this.handlers.add(handler); -} - -Selector2.prototype.select(value) { - for (var i=0; i<handlers.length; i++) { - this.handlers[i](this, value); - } -} -*/ - -function Selector(id) -{ - this.selectorHandlers = new Array(); - this.curvedTabCollections = new Array(); - this.tabCollections = new Array(); - this.blockCollections = new Array(); - this.id = id; -} - -Selector.prototype.register=function(handler) -{ - this.selectorHandlers.push(handler); -} - -Selector.prototype.registerTabbedArea = function(curvedTabCollection, tabCollection, blockCollection) -{ - this.curvedTabCollections.push(curvedTabCollection); - this.tabCollections.push(tabCollection); - this.blockCollections.push(blockCollection); -} - -Selector.prototype.changeLanguage = function(data, name, style) -{ - - var value= name + ' ' + style; - - for(var handler in this.selectorHandlers) - { - this.selectorHandlers[handler](this.id, data, value, this.curvedTabCollections, this.tabCollections, this.blockCollections); - } -} - -Selector.prototype.select = function(data) -{ - var value = data.get('lang'); - - if (value == null) return; - var names = value.split(' '); - - var nodes = getChildNodes(this.id); - - for( var i=0; i<nodes.length; i++) - { - if(nodes[i].getAttribute('id') == names[0]) - { - styleSheetHandler(this.id, data, value, this.curvedTabCollections, this.tabCollections, this.blockCollections); - codeBlockHandler(this.id, data, value, this.curvedTabCollections, this.tabCollections, this.blockCollections); - languageHandler(this.id, data, value, this.curvedTabCollections, this.tabCollections, this.blockCollections); - } - } -} - - - diff --git a/tools/Sandcastle/Presentation/hana/Scripts/MemberFilter.js b/tools/Sandcastle/Presentation/hana/Scripts/MemberFilter.js deleted file mode 100644 index b6cd3ec..0000000 --- a/tools/Sandcastle/Presentation/hana/Scripts/MemberFilter.js +++ /dev/null @@ -1,110 +0,0 @@ - - // a member filter - - function MemberFilter () { - - // set up defaults - - this.subgroup = "all"; - - this.public = true; - this.protected = true; - this.private = true; - - this.instance = true; - this.static = true; - - this.declared = true; - this.inherited = true; - - this.compact = true; - - this.xna = true; - } - - MemberFilter.prototype.filterElement = function(element) { - - // get the data for the element - if (element == null) return; - var data = element.getAttribute("data"); - if (data == null) return; - var datum = data.split("; "); - if (datum.length != 6) return; - - // extract the relevent member attributes - var subgroup = datum[0]; - var visibility = datum[1]; - var binding = datum[2]; - var origin = datum[3]; - var compactFramework = datum[4]; - var xnaFramework = datum[5]; - - - // determine whether to show the member - var show = true; - if (this[visibility] == false) show = false; - if (this[binding] == false) show = false; - if (this[origin] == false) show = false; - if (this[compactFramework] == false) show = false; - if(this[xnaFramework] == false) show = false; - - if ((this.subgroup != null) && (this.subgroup != 'all')) { - if (subgroup != this.subgroup) show = false; - } - - - // show or hide the element - if (show) { - // either block or table-row, depending on browswer, so use default - element.style["display"] = ""; - } else { - element.style["display"] = "none"; - } - - } - - // a type filter - - function TypeFilter () { - - // set up defaults - - - this.subgroup = "all"; - - this.public = true; - this.internal = true; - - } - - TypeFilter.prototype.filterElement = function(element) { - - // get the data for the element - if (element == null) return; - var data = element.getAttribute("data"); - if (data == null) return; - var datum = data.split("; "); - if (datum.length != 2) return; - - // extract the relevent member attributes - var subgroup = datum[0]; - var visibility = datum[1]; - - // determine whether to show the member - var show = true; - if (this[visibility] == false) show = false; - if ((this.subgroup != null) && (this.subgroup != 'all')) { - if (subgroup != this.subgroup) show = false; - } - - // show or hide the element - if (show) { - // either block or table-row, depending on browser, so use default - element.style["display"] = ""; - } else { - element.style["display"] = "none"; - } - - } - -
\ No newline at end of file diff --git a/tools/Sandcastle/Presentation/hana/Scripts/SplitScreen.js b/tools/Sandcastle/Presentation/hana/Scripts/SplitScreen.js deleted file mode 100644 index 3b04f0a..0000000 --- a/tools/Sandcastle/Presentation/hana/Scripts/SplitScreen.js +++ /dev/null @@ -1,29 +0,0 @@ - - function SplitScreen (nonScrollingRegionId, scrollingRegionId) { - - // store references to the two regions - this.nonScrollingRegion = document.getElementById(nonScrollingRegionId); - this.scrollingRegion = document.getElementById(scrollingRegionId); - - // set the scrolling settings - document.body.style.margin = "0px"; - document.body.style.overflow = "hidden"; - this.scrollingRegion.style.overflow = "auto"; - - // fix the size of the scrolling region - this.resize(null); - - // add an event handler to resize the scrolling region when the window is resized - registerEventHandler(window, 'resize', getInstanceDelegate(this, "resize")); - - } - - SplitScreen.prototype.resize = function(e) { - var height = document.body.clientHeight - this.nonScrollingRegion.offsetHeight; - if (height > 0) { - this.scrollingRegion.style.height = height; - } else { - this.scrollingRegion.style.height = 0; - } - this.scrollingRegion.style.width = document.body.clientWidth; - } diff --git a/tools/Sandcastle/Presentation/hana/Scripts/script_manifold.js b/tools/Sandcastle/Presentation/hana/Scripts/script_manifold.js deleted file mode 100644 index 3ed6665..0000000 --- a/tools/Sandcastle/Presentation/hana/Scripts/script_manifold.js +++ /dev/null @@ -1,1690 +0,0 @@ -window.onload=LoadPage; -window.onunload=Window_Unload; -//window.onresize=ResizeWindow; -window.onbeforeprint = set_to_print; -window.onafterprint = reset_form; - -var languageFilter; -var data; -var tf; -var mf; -var lang = 'CSharp'; - -var vbDeclaration; -var vbUsage; -var csLang; -var cLang; -var jsharpLang; -var jsLang; -var xamlLang; - -var scrollPos = 0; - -var inheritedMembers; -var protectedMembers; -var netcfMembersOnly; -var netXnaMembersOnly; - -// Initialize array of section states - -var sectionStates = new Array(); -var sectionStatesInitialized = false; - -//Hide sample source in select element -function HideSelect() -{ - var selectTags = document.getElementsByTagName("SELECT"); - var spanEles = document.getElementsByTagName("span"); - var i = 10; - var m; - - if (selectTags.length != null || selectTags.length >0) - { - for (n=0; n<selectTags.length; n++) - { - var lan = selectTags(n).getAttribute("id").substr("10"); - //hide the first select that is on - switch (lan.toLowerCase()) - { - case "visualbasic": - //alert(lan); - for (m=0; m<spanEles.length; m++) - { - if (spanEles[m].getAttribute("codeLanguage") == "VisualBasic" && spanEles[m].style.display != "none" && n <i) - i = n; - } - break; - case "visualbasicdeclaration": - for (m=0; m<spanEles.length; m++) - { - if (spanEles[m].getAttribute("codeLanguage") == "VisualBasicDeclaration" && spanEles[m].style.display != "none" && n < i) - i = n; - } - break; - case "visualbasicusage": - //alert(lan); - for (m=0; m<spanEles.length; m++) - { - if (spanEles[m].getAttribute("codeLanguage") == "VisualBasicUsage" && spanEles[m].style.display != "none" && n <i) - i = n; - } - break; - case "csharp": - for (m=0; m<spanEles.length; m++) - { - if (spanEles[m].getAttribute("codeLanguage") == "CSharp" && spanEles[m].style.display != "none" && n < i) - i = n; - } - break; - case "managedcplusplus": - for (m=0; m<spanEles.length; m++) - { - if (spanEles[m].getAttribute("codeLanguage") == "ManagedCPlusPlus" && spanEles[m].style.display != "none" && n < i) - i = n; - } - break; - case "jsharp": - for (m=0; m<spanEles.length; m++) - { - if (spanEles[m].getAttribute("codeLanguage") == "JSharp" && spanEles[m].style.display != "none" && n < i) - i = n; - } - break; - case "jscript": - for (m=0; m<spanEles.length; m++) - { - if (spanEles[m].getAttribute("codeLanguage") == "JScript" && spanEles[m].style.display != "none" && n < i) - i = n; - } - break; - case "xaml": - //alert(lan); - for (m=0; m<spanEles.length; m++) - { - if (spanEles[m].getAttribute("codeLanguage") == "XAML" && spanEles[m].style.display != "none" && n <i) - i = n; - } - break; - } - } - if (i != 10) - selectTags(i).style.visibility = "hidden"; - } - else{ alert("Not found!");} -} - -function UnHideSelect() -{ - var selectTags = document.getElementsByTagName("SELECT"); - var n; - - //un-hide all the select sections - if (selectTags.length != null || selectTags.length >0) - { - for (n=0; n<selectTags.length; n++) - selectTags(n).style.visibility = "visible"; - } -} - -function InitSectionStates() -{ - sectionStatesInitialized = true; - - if (globals == null) globals = GetGlobals(); - - // SectionStates has the format: - // - // firstSectionId:state;secondSectionId:state;thirdSectionId:state; ... ;lastSectionId:state - // - // where state is either "e" (expanded) or "c" (collapsed) - - // get the SectionStates from the previous topics - var states = Load("SectionStates"); - - var start = 0; - var end; - var section; - var state; - var allCollapsed = false; - // copy the previous section states to the sectionStates array for the current page - if (states != null && states != "") - { - allCollapsed = true; - while (start < states.length) - { - end = states.indexOf(":", start); - - section = states.substring(start, end); - - start = end + 1; - end = states.indexOf(";", start); - if (end == -1) end = states.length; - state = states.substring(start, end); - sectionStates[section] = state; - allCollapsed = allCollapsed && (state == "c"); - start = end + 1; - } - } - - // now set the state for any section ids in the current document that weren't in previous - var imgElements = document.getElementsByName("toggleSwitch"); - var i; - for (i = 0; i < imgElements.length; ++i) - sectionStates[imgElements[i].id] = GetInitialSectionState(imgElements[i].id, allCollapsed); -} - -function GetInitialSectionState(itemId, allCollapsed) -{ - // if the global state is "allCollapsed", set all section states to collapsed - if (allCollapsed) return "c"; - - // generic <section> node ids begin with "sectionToggle", so the same id can refer to different sections in different topics - // we don't want to persist their state; set it to expanded - if (itemId.indexOf("sectionToggle", 0) == 0) return "e"; - - // the default state for new section ids is expanded - if (sectionStates[itemId] == null) return "e"; - - // otherwise, persist the passed in state - return sectionStates[itemId]; -} - -var noReentry = false; - -function OnLoadImage(eventObj) -{ - if (noReentry) return; - - if (!sectionStatesInitialized) - InitSectionStates(); - - var elem; - if(document.all) elem = eventObj.srcElement; - else elem = eventObj.target; - - - if ((sectionStates[elem.id] == "e")) - ExpandSection(elem); - else if((sectionStates[elem.id] == "c")) - CollapseSection(elem); -} - -/* -********** -********** Begin -********** -*/ - -function LoadPage() -{ - // If not initialized, grab the DTE.Globals object - if (globals == null) globals = GetGlobals(); - - // show correct language - LoadLanguages(); - LoadMembersOptions(); - - Set_up_checkboxes(); - - DisplayLanguages(); - - DisplayFilteredMembers(); - - ChangeMembersOptionsFilterLabel(); - - if (!sectionStatesInitialized) - InitSectionStates(); - var imgElements = document.getElementsByName("toggleSwitch"); - - for (i = 0; i < imgElements.length; i++) - { - if ((sectionStates[imgElements[i].id] == "e")) - ExpandSection(imgElements[i]); - else - CollapseSection(imgElements[i]); - } - - SetCollapseAll(); - -// ResizeWindow(); - // split screen - var screen = new SplitScreen('header', 'mainSection'); - - // filtering dropdowns - if (document.getElementById('languageSpan') != null) { - var languageMenu = new Dropdown('languageFilterToolTip', 'languageSpan'); - languageFilter = new Selector('languageSpan'); - languageFilter.register(codeBlockHandler); - languageFilter.register(styleSheetHandler); - languageFilter.register(persistenceHandler); - languageFilter.register(languageHandler); - toggleLanguage('languageSpan', 'x-lang', 'CSharp'); - toggleInlineStyle('cs'); - } - if (document.getElementById('membersOptionsFilterToolTip') != null) { - var languageMenu = new Dropdown('membersOptionsFilterToolTip', 'membersOptionsSpan'); - } - - data = new DataStore('docs'); - registerEventHandler(window, 'load', function() {if (languageFilter != null) languageFilter.select(data)}); - - // process tab behavior for syntax, snippets, type and member sections - tf = new TypeFilter(); - mf = new MemberFilter(); - setUpSyntax(); - setUpSnippets(); - setUpType(); - setUpAllMembers(); - var mainSection = document.getElementById("mainSection"); - - // vs70.js did this to allow up/down arrow scrolling, I think - try { mainSection.setActive(); } catch(e) { } - - //set the scroll position - try{mainSection.scrollTop = scrollPos;} - catch(e){} -} - -function Window_Unload() -{ - SaveLanguages(); - SaveMembersOptions(); - SaveSections(); -} - -/* -function ResizeWindow() -{ - if (document.body.clientWidth==0) return; - var header = document.all.item("header"); - var mainSection = document.all.item("mainSection"); - if (mainSection == null) return; - - - document.body.scroll = "no" - mainSection.style.overflow= "auto"; - header.style.width= document.body.offsetWidth - 2; - //mainSection.style.paddingRight = "20px"; // Width issue code - mainSection.style.width= document.body.offsetWidth - 2; - mainSection.style.top=0; - if (document.body.offsetHeight > header.offsetHeight + 10) - mainSection.style.height= document.body.offsetHeight - (header.offsetHeight + 2); - else - mainSection.style.height=0; - - try - { - mainSection.setActive(); - } - catch(e) - { - } -} -*/ - -function set_to_print() -{ - //breaks out of divs to print - var i; - - if (window.text)document.all.text.style.height = "auto"; - - for (i=0; i < document.all.length; i++) - { - if (document.all[i].tagName == "body") - { - document.all[i].scroll = "yes"; - } - if (document.all[i].id == "header") - { - document.all[i].style.margin = "0px 0px 0px 0px"; - document.all[i].style.width = "100%"; - } - if (document.all[i].id == "mainSection") - { - document.all[i].style.overflow = "visible"; - document.all[i].style.top = "5px"; - document.all[i].style.width = "100%"; - document.all[i].style.padding = "0px 10px 0px 30px"; - } - } -} - -function reset_form() -{ - //returns to the div nonscrolling region after print - document.location.reload(); -} - -function Set_up_checkboxes() -{ - var checkbox; - - checkbox = document.getElementById("vbDeclarationCheckbox"); - if(checkbox != null) - { - if(vbDeclaration == "on") - checkbox.checked = true; - else - checkbox.checked = false; - } - - checkbox = document.getElementById("vbUsageCheckbox"); - if(checkbox != null) - { - if(vbUsage == "on") - checkbox.checked = true; - else - checkbox.checked = false; - } - - checkbox = document.getElementById("csCheckbox"); - if(checkbox != null) - { - if(csLang == "on") - checkbox.checked = true; - else - checkbox.checked = false; - } - - checkbox = document.getElementById("cCheckbox"); - if(checkbox != null) - { - if(cLang == "on") - checkbox.checked = true; - else - checkbox.checked = false; - } - - checkbox = document.getElementById("jsharpCheckbox"); - if(checkbox != null) - { - if(jsharpLang == "on") - checkbox.checked = true; - else - checkbox.checked = false; - } - - checkbox = document.getElementById("jsCheckbox"); - if(checkbox != null) - { - if(jsLang == "on") - checkbox.checked = true; - else - checkbox.checked = false; - } - - checkbox = document.getElementById("xamlCheckbox"); - if(checkbox != null) - { - if(xamlLang == "on") - checkbox.checked = true; - else - checkbox.checked = false; - } - - checkbox = document.getElementById("inheritedCheckbox"); - if(checkbox != null) - { - if(inheritedMembers == "on") - checkbox.checked = true; - else - checkbox.checked = false; - } - - checkbox = document.getElementById("protectedCheckbox"); - if(checkbox != null) - { - if(protectedMembers == "on") - checkbox.checked = true; - else - checkbox.checked = false; - } - - checkbox = document.getElementById("netcfCheckbox"); - if(checkbox != null) - { - if(netcfMembersOnly == "on") - checkbox.checked = true; - else - checkbox.checked = false; - } - - checkbox = document.getElementById("netXnaCheckbox"); - if(checkbox != null) - { - if(netXnaMembersOnly == "on") - checkbox.checked = true; - else - checkbox.checked = false; - } -} - -/* -********** -********** End -********** -*/ - - -/* -********** -********** Begin Language Filtering -********** -*/ - -function SetLanguage(key) -{ - var i = 0; - if(vbDeclaration == "on") - i++; - if(vbUsage == "on") - i++; - if(csLang == "on") - i++; - if(cLang == "on") - i++; - if(jsharpLang == "on") - i++; - if(jsLang == "on") - i++; - if(xamlLang == "on") - i++; - - if(key.id == "vbDeclarationCheckbox") - { - if(vbDeclaration == "on") - { - if(i == 1) - { - key.checked = true; - return; - } - vbDeclaration = "off"; - } - else - vbDeclaration = "on"; - } - if(key.id == "vbUsageCheckbox") - { - if(vbUsage == "on") - { - if(i == 1) - { - key.checked = true; - return; - } - - vbUsage = "off"; - } - else - vbUsage = "on"; - } - if(key.id == "csCheckbox") - { - if(csLang == "on") - { - if(i == 1) - { - key.checked = true; - return; - } - - csLang = "off"; - } - else - csLang = "on"; - } - if(key.id == "cCheckbox") - { - if(cLang == "on") - { - if(i == 1) - { - key.checked = true; - return; - } - - cLang = "off"; - } - else - cLang = "on"; - } - if(key.id == "jsharpCheckbox") - { - if(jsharpLang == "on") - { - if(i == 1) - { - key.checked = true; - return; - } - - jsharpLang = "off"; - } - else - jsharpLang = "on"; - } - if(key.id == "jsCheckbox") - { - if(jsLang == "on") - { - if(i == 1) - { - key.checked = true; - return; - } - - jsLang = "off"; - } - else - jsLang = "on"; - } - if(key.id == "xamlCheckbox") - { - if(xamlLang == "on") - { - if(i == 1) - { - key.checked = true; - return; - } - - xamlLang = "off"; - } - else - xamlLang = "on"; - } - - DisplayLanguages(); -} - -function DisplayLanguages() -{ - var spanElements = document.getElementsByTagName("span"); - var x = 0; - if(vbDeclaration == "on") - x++; - if(vbUsage == "on") - x++; - if(csLang == "on") - x++; - if(cLang == "on") - x++; - if(jsharpLang == "on") - x++; - if(jsLang == "on") - x++; - if(xamlLang == "on") - x++; - - var i; - for(i = 0; i < spanElements.length; ++i) - { - if(spanElements[i].getAttribute("codeLanguage") != null) - { - if(spanElements[i].getAttribute("codeLanguage") == "VisualBasic") - { - if(vbDeclaration == "on" || vbUsage == "on") - spanElements[i].style.display = ""; - else - spanElements[i].style.display = "none"; - } - if(spanElements[i].getAttribute("codeLanguage") == "VisualBasicDeclaration") - { - - if(vbDeclaration == "on") - spanElements[i].style.display = ""; - else{ - - spanElements[i].style.display = "none"; - } - } - if(spanElements[i].getAttribute("codeLanguage") == "VisualBasicUsage") - { - if(vbUsage == "on") - spanElements[i].style.display = ""; - else - spanElements[i].style.display = "none"; - } - if(spanElements[i].getAttribute("codeLanguage") == "CSharp") - { - if(csLang == "on") - spanElements[i].style.display = ""; - else - spanElements[i].style.display = "none"; - } - if(spanElements[i].getAttribute("codeLanguage") == "ManagedCPlusPlus") - { - if(cLang == "on") - spanElements[i].style.display = ""; - else - spanElements[i].style.display = "none"; - } - if(spanElements[i].getAttribute("codeLanguage") == "JSharp") - { - if(jsharpLang == "on") - spanElements[i].style.display = ""; - else - spanElements[i].style.display = "none"; - } - if(spanElements[i].getAttribute("codeLanguage") == "JScript") - { - if(jsLang == "on") - spanElements[i].style.display = ""; - else - spanElements[i].style.display = "none"; - } - if(spanElements[i].getAttribute("codeLanguage") == "XAML") - { - if(xamlLang == "on") - spanElements[i].style.display = ""; - else - spanElements[i].style.display = "none"; - } - - if(spanElements[i].getAttribute("codeLanguage") == "NotVisualBasicUsage") - { - if((x == 1) && (vbUsage == "on")) - { - spanElements[i].style.display = "none"; - } - else - { - spanElements[i].style.display = ""; - } - } - } - } - ChangeLanguageFilterLabel(); -} - -function ChangeLanguageFilterLabel() -{ - var i = 0; - if(vbDeclaration == "on") - i++; - if(vbUsage == "on") - i++; - if(csLang == "on") - i++; - if(cLang == "on") - i++; - if(jsharpLang == "on") - i++; - if(jsLang == "on") - i++; - if(xamlLang == "on") - i++; - - var labelElement; - - labelElement = document.getElementById("showAllLabel"); - - if(labelElement == null) - return; - - labelElement.style.display = "none"; - - labelElement = document.getElementById("multipleLabel"); - labelElement.style.display = "none"; - - labelElement = document.getElementById("vbLabel"); - labelElement.style.display = "none"; - - labelElement = document.getElementById("csLabel"); - labelElement.style.display = "none"; - - labelElement = document.getElementById("cLabel"); - labelElement.style.display = "none"; - - labelElement = document.getElementById("jsharpLabel"); - labelElement.style.display = "none"; - - labelElement = document.getElementById("jsLabel"); - labelElement.style.display = "none"; - - labelElement = document.getElementById("xamlLabel"); - labelElement.style.display = "none"; - - if(i == 7) - { - labelElement = document.getElementById("showAllLabel"); - labelElement.style.display = "inline"; - } - else if ((i > 1) && (i < 7)) - { - if((i == 2) && ((vbDeclaration == "on") && (vbUsage == "on"))) - { - labelElement = document.getElementById("vbLabel"); - labelElement.style.display = "inline"; - } - else - { - labelElement = document.getElementById("multipleLabel"); - labelElement.style.display = "inline"; - } - } - else if (i == 1) - { - if(vbDeclaration == "on" || vbUsage == "on") - { - labelElement = document.getElementById("vbLabel"); - labelElement.style.display = "inline"; - } - if(csLang == "on") - { - labelElement = document.getElementById("csLabel"); - labelElement.style.display = "inline"; - } - if(cLang == "on") - { - labelElement = document.getElementById("cLabel"); - labelElement.style.display = "inline"; - } - if(jsharpLang == "on") - { - labelElement = document.getElementById("jsharpLabel"); - labelElement.style.display = "inline"; - } - if(jsLang == "on") - { - labelElement = document.getElementById("jsLabel"); - labelElement.style.display = "inline"; - } - if(xamlLang == "on") - { - labelElement = document.getElementById("xamlLabel"); - labelElement.style.display = "inline"; - } - } -} - -function LoadLanguages() -{ - var value; - value = Load("vbDeclaration"); - if(value == null) - vbDeclaration = "on"; - else - vbDeclaration = value; - - value = Load("vbUsage"); - if(value == null) - vbUsage = "on"; - else - vbUsage = value; - - value = Load("csLang"); - if(value == null) - csLang = "on"; - else - csLang = value; - - value = Load("cLang"); - if(value == null) - cLang = "on"; - else - cLang = value; - - value = Load("jsharpLang"); - if(value == null) - jsharpLang = "on"; - else - jsharpLang = value; - - value = Load("jsLang"); - if(value == null) - jsLang = "on"; - else - jsLang = value; - - value = Load("xamlLang"); - if(value == null) - xamlLang = "on"; - else - xamlLang = value; -} - -function SaveLanguages() -{ - Save("vbDeclaration", vbDeclaration); - Save("vbUsage", vbUsage); - Save("csLang", csLang); - Save("cLang", cLang); - Save("jsharpLang", jsharpLang); - Save("jsLang", jsLang); - Save("xamlLang", xamlLang); -} - -/* -********** -********** End Language Filtering -********** -*/ - - -/* -********** -********** Begin Members Options Filtering -********** -*/ - -function SetMembersOptions(key) -{ - if(key.id == "inheritedCheckbox") - { - if(key.checked == true) - inheritedMembers = "on"; - else - inheritedMembers = "off"; - } - if(key.id == "protectedCheckbox") - { - if(key.checked == true) - protectedMembers = "on"; - else - protectedMembers = "off"; - } - if(key.id == "netcfCheckbox") - { - if(key.checked == true) - netcfMembersOnly = "on"; - else - netcfMembersOnly = "off"; - } - if(key.id == "netXnaCheckbox") - { - if(key.checked == true) - netXnaMembersOnly = "on"; - else - netXnaMembersOnly = "off"; - } - DisplayFilteredMembers(); - - ChangeMembersOptionsFilterLabel(); -} - -function DisplayFilteredMembers() -{ - var iAllMembers = document.getElementsByTagName("tr"); - var i; - - for(i = 0; i < iAllMembers.length; ++i) - { - if (((iAllMembers[i].getAttribute("protected") == "true") && (protectedMembers == "off")) || - ((iAllMembers[i].notSupportedOnXna == "true") && (netXnaMembersOnly == "on")) || - ((iAllMembers[i].getAttribute("name") == "inheritedMember") && (inheritedMembers == "off")) || - ((iAllMembers[i].getAttribute("notSupportedOn") == "netcf") && (netcfMembersOnly == "on"))) - iAllMembers[i].style.display = "none"; - else - iAllMembers[i].style.display = ""; - } -} - -function ChangeMembersOptionsFilterLabel() -{ - - var showAllMembersLabelElement = document.getElementById("showAllMembersLabel"); - var filteredMembersLabelElement = document.getElementById("filteredMembersLabel"); - - if(showAllMembersLabelElement == null || filteredMembersLabelElement == null) - return; - - if ((inheritedMembers=="off") || (protectedMembers=="off") || (netXnaMembersOnly == "on") || (netcfMembersOnly=="on")) - { - filteredMembersLabelElement.style.display = "inline"; - showAllMembersLabelElement.style.display = "none"; - } - else - { - filteredMembersLabelElement.style.display = "none"; - showAllMembersLabelElement.style.display = "inline"; - } -} - -function LoadMembersOptions() -{ - var value; - value = Load("inheritedMembers"); - if(value == null) - inheritedMembers = "on"; - else - inheritedMembers = value; - - value = Load("protectedMembers"); - if(value == null) - protectedMembers = "on"; - else - protectedMembers = value; - - value = Load("netcfMembersOnly"); - if(value == null) - netcfMembersOnly = "off"; - else - netcfMembersOnly = value; - - value = Load("netXnaMembersOnly"); - if(value == null) - netXnaMembersOnly = "off"; - else - netXnaMembersOnly = value; -} - -function SaveMembersOptions() -{ - Save("inheritedMembers", inheritedMembers); - Save("protectedMembers", protectedMembers); - Save("netcfMembersOnly", netcfMembersOnly); - Save("netXnaMembersOnly", netXnaMembersOnly); -} - -/* -********** -********** End Members Options Filtering -********** -*/ - - -/* -********** -********** Begin Expand/Collapse -********** -*/ - -// expand or collapse a section -function ExpandCollapse(imageItem) -{ - if (sectionStates[imageItem.id] == "e") - CollapseSection(imageItem); - else - ExpandSection(imageItem); - - SetCollapseAll(); -} - -// expand or collapse all sections -function ExpandCollapseAll(imageItem) -{ - var collapseAllImage = document.getElementById("collapseAllImage"); - var expandAllImage = document.getElementById("expandAllImage"); - if (imageItem == null || collapseAllImage == null || expandAllImage == null) return; - noReentry = true; // Prevent entry to OnLoadImage - - var imgElements = document.getElementsByName("toggleSwitch"); - var i; - var collapseAll = (imageItem.src == collapseAllImage.src); - if (collapseAll) - { - imageItem.src = expandAllImage.src; - imageItem.alt = expandAllImage.alt; - - for (i = 0; i < imgElements.length; ++i) - { - CollapseSection(imgElements[i]); - } - } - else - { - imageItem.src = collapseAllImage.src; - imageItem.alt = collapseAllImage.alt; - - for (i = 0; i < imgElements.length; ++i) - { - ExpandSection(imgElements[i]); - } - } - SetAllSectionStates(collapseAll); - SetToggleAllLabel(collapseAll); - - noReentry = false; -} - -function ExpandCollapse_CheckKey(imageItem, eventObj) -{ - if(eventObj.keyCode == 13) - ExpandCollapse(imageItem); -} - -function ExpandCollapseAll_CheckKey(imageItem, eventObj) -{ - if(eventObj.keyCode == 13) - ExpandCollapseAll(imageItem); -} - -function SetAllSectionStates(collapsed) -{ - for (var sectionId in sectionStates) - sectionStates[sectionId] = (collapsed) ? "c" : "e"; -} - -function ExpandSection(imageItem) -{ - noReentry = true; // Prevent re-entry to OnLoadImage - try - { - var collapseImage = document.getElementById("collapseImage"); - imageItem.src = collapseImage.src; - imageItem.alt = collapseImage.alt; - - imageItem.parentNode.parentNode.nextSibling.style.display = ""; - sectionStates[imageItem.id] = "e"; - } - catch (e) - { - } - noReentry = false; -} - -function CollapseSection(imageItem) -{ - noReentry = true; // Prevent re-entry to OnLoadImage - var expandImage = document.getElementById("expandImage"); - imageItem.src = expandImage.src; - imageItem.alt = expandImage.alt; - imageItem.parentNode.parentNode.nextSibling.style.display = "none"; - sectionStates[imageItem.id] = "c"; - noReentry = false; -} - -function AllCollapsed() -{ - var imgElements = document.getElementsByName("toggleSwitch"); - var allCollapsed = true; - var i; - - for (i = 0; i < imgElements.length; i++) allCollapsed = allCollapsed && (sectionStates[imgElements[i].id] == "c"); - - return allCollapsed; -} - -function SetCollapseAll() -{ - var imageElement = document.getElementById("toggleAllImage"); - if (imageElement == null) return; - - var allCollapsed = AllCollapsed(); - if (allCollapsed) - { - var expandAllImage = document.getElementById("expandAllImage"); - if (expandAllImage == null) return; - imageElement.src = expandAllImage.src; - imageElement.alt = expandAllImage.alt; - } - else - { - var collapseAllImage = document.getElementById("collapseAllImage"); - if (collapseAllImage == null) return; - imageElement.src = collapseAllImage.src; - imageElement.alt = collapseAllImage.alt; - } - - SetToggleAllLabel(allCollapsed); -} - -function SetToggleAllLabel(allCollapsed) -{ - var collapseLabelElement = document.getElementById("collapseAllLabel"); - var expandLabelElement = document.getElementById("expandAllLabel"); - - if (collapseLabelElement == null || expandLabelElement == null) return; - - if (allCollapsed) - { - collapseLabelElement.style.display = "none"; - expandLabelElement.style.display = "inline"; - } - else - { - collapseLabelElement.style.display = "inline"; - expandLabelElement.style.display = "none"; - } -} - -function SaveSections() -{ - try - { - var states = ""; - - for (var sectionId in sectionStates) states += sectionId + ":" + sectionStates[sectionId] + ";"; - - Save("SectionStates", states.substring(0, states.length - 1)); - } - catch (e) - { - } - -} - -function OpenSection(imageItem) -{ - if (sectionStates[imageItem.id] == "c") ExpandCollapse(imageItem); -} - -/* -********** -********** End Expand/Collapse -********** -*/ - - - -/* -********** -********** Begin Copy Code -********** -*/ - -function CopyCode(key) -{ - var trElements = document.getElementsByTagName("tr"); - var i; - for(i = 0; i < trElements.length; ++i) - { - if(key.parentNode.parentNode.parentNode == trElements[i].parentNode) - { - if (window.clipboardData) - { - // the IE-manner - window.clipboardData.setData("Text", trElements[i].innerText); - } - else if (window.netscape) - { - // Gives unrestricted access to browser APIs using XPConnect - try - { - netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); - } - catch(e) - { - alert("Universal Connect was refused, cannot copy to " + - "clipboard. Go to about:config and set " + - "signed.applets.codebase_principal_support to true to " + - "enable clipboard support."); - return; - } - - // Creates an instance of nsIClipboard - var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard); - if (!clip) return; - - // Creates an instance of nsITransferable - var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable); - if (!trans) return; - - // register the data flavor - trans.addDataFlavor('text/unicode'); - - // Create object to hold the data - var str = new Object(); - - // Creates an instance of nsISupportsString - var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString); - - //Assigns the data to be copied - var copytext = trElements[i].textContent; - str.data = copytext; - - // Add data objects to transferable - trans.setTransferData("text/unicode",str,copytext.length*2); - var clipid = Components.interfaces.nsIClipboard; - if (!clip) return false; - - // Transfer the data to clipboard - clip.setData(trans,null,clipid.kGlobalClipboard); - } - } - } -} - -function ChangeCopyCodeIcon(key) -{ - var i; - var imageElements = document.getElementsByName("ccImage") - for(i=0; i<imageElements.length; ++i) - { - if(imageElements[i].parentNode == key) - { - if(imageElements[i].src == copyImage.src) - { - imageElements[i].src = copyHoverImage.src; - imageElements[i].alt = copyHoverImage.alt; - key.className = 'copyCodeOnHover'; - } - else - { - imageElements[i].src = copyImage.src; - imageElements[i].alt = copyImage.alt; - key.className = 'copyCode'; - } - } - } -} - -function CopyCode_CheckKey(key, eventObj) -{ - if(eventObj.keyCode == 13) - CopyCode(key); -} - -/* -********** -********** End Copy Code -********** -*/ - - -/* -********** -********** Begin Maintain Scroll Position -********** -*/ - -function loadAll(){ - try - { - scrollPos = allHistory.getAttribute("Scroll"); - } - catch(e){} -} - -function saveAll(){ - try - { - allHistory.setAttribute("Scroll", mainSection.scrollTop); - } - catch(e){} -} - -/* -********** -********** End Maintain Scroll Position -********** -*/ - - -/* -********** -********** Begin Send Mail -********** -*/ - -function formatMailToLink(anchor) -{ - var release = "Release: " + anchor.doc_Release; - var topicId = "Topic ID: " + anchor.doc_TopicID; - var topicTitle = "Topic Title: " + anchor.doc_TopicTitle; - var url = "URL: " + document.URL; - var browser = "Browser: " + window.navigator.userAgent; - - var crlf = "%0d%0a"; - var body = release + crlf + topicId + crlf + topicTitle + crlf + url + crlf + browser + crlf + crlf + "Comments:" + crlf + crlf; - - anchor.href = anchor.href + "&body=" + body; -} - -/* -********** -********** End Send Mail -********** -*/ - - -/* -********** -********** Begin Persistence -********** -*/ - -var globals; - -function GetGlobals() -{ - var tmp; - - // Try to get VS implementation - try { tmp = window.external.Globals; } - catch (e) { tmp = null; } - - // Try to get DExplore implementation - try { if (tmp == null) tmp = window.external.GetObject("DTE", "").Globals; } - catch (e) { tmp = null; } - - return tmp; -} - -function Load(key) -{ - try - { - return globals.VariableExists(key) ? globals.VariableValue(key) : null; - } - catch (e) - { - return null; - } -} - -function Save(key, value) -{ - try - { - globals.VariableValue(key) = value; - globals.VariablePersists(key) = true; - } - catch (e) - { - } -} - -/* -********** -********** End Persistence -********** -*/ - -/* This is the part for Glossary popups */ -// The method is called when the user positions the mouse cursor over a glossary term in a document. -// Current implementation assumes the existence of an associative array (g_glossary). -// The keys of the array correspond to the argument passed to this function. - -var bGlossary=true; -var oDialog; -var oTimeout=""; -var oTimein=""; -var iTimein=.5; -var iTimeout=30; -var oLastNode; -var oNode; -var bInit=false; -var aTerms=new Array(); - -// Called from mouseover and when the contextmenu behavior fires oncontextopen. -function clearDef(eventObj){ - if(eventObj){ - var elem; - if(document.all) elem = eventObj.toElement; - else elem = eventObj.relatedTarget; - if(elem!=null || elem!="undefined"){ - if(typeof(oTimein)=="number"){ - window.clearTimeout(oTimein); - } - if(oDialog.dlg_status==true){ - hideDef(); - } - } - } -} -function hideDef(eventObj){ - window.clearTimeout(oTimeout); - oTimeout=""; - oDialog.style.display="none"; - oDialog.dlg_status=false; -} -function showDef(oSource){ - if(bInit==false){ - glossaryInit(); - bInit=true; - } - if(bGlossary==true){ - if(typeof(arguments[0])=="object"){ - oNode=oSource; - } - else{ - if(document.all) oNode = eventObj.srcElement; - else oNode = eventObj.target; - } - var bStatus=oDialog.dlg_status; // BUGBUG: oDialog is null. - if((oLastNode!=oNode)||(bStatus==false)){ - if((typeof(oTimein)=="number")&& eventObj){ - - var elem; - if(document.all) elem = eventObj.fromElement; - else elem = eventObj.relatedTarget; - - if( elem != null || elem != "undefined") - window.clearTimeout(oTimein); - } - oTimein=window.setTimeout("openDialog(oNode)",iTimein*1000); - } - } -} - - - -function glossaryInit(){ - oDialog=fnCreateDialog(150,50); -} - -function navigateTerm(eventObj){ - var oNode; - if(document.all) oNode = eventObj.srcElement; - else oNode = eventObj.target; - - var iTermID=oNode.termID; - if(oNode!=aTerms[iTermID]){ - var iAbsTop=getAbsoluteTop(aTerms[iTermID]); - if(iAbsTop<document.body.scrollTop){ - window.scrollTo(document.body.scrollLeft,getAbsoluteTop(aTerms[iTermID])); - } - openDialog(aTerms[iTermID]); - } -} -function disableGlossary(eventObj){ - if(bGlossary==true){ - if(document.all) eventObj.srcElement.innerText="Enable Automatic Glossary"; - else eventObj.target.innerText="Enable Automatic Glossary"; - bGlossary=false; - hideDef(); - } - else{ - if(document.all) eventObj.srcElement.innerText="Disable Automatic Glossary"; - else eventObj.target.innerText="Disable Automatic Glossary"; - bGlossary=true; - } -} -function openGlossary(){ - -} -function fnSetMenus(eventObj){ - var oNode; - if(document.all) oNode = eventObj.srcElement; - else oNode = eventObj.target; - - var oMenu=oNode.createMenu("SPAN","G_RID"); - var oSubItem1=oNode.createMenuItem("Glossary",fnStub,oMenu,true); - document.body.createMenuItem("Open External Glossary",openGlossary,oSubItem1.subMenu); - document.body.createMenuItem("Disable Automatic Glossary",disableGlossary,oSubItem1.subMenu); - for(var i=0;i<aTerms.length;i++){ - var oItem=document.body.createMenuItem(aTerms[i].innerText,navigateTerm,oMenu); - oItem.termID=i; - } -} -// This is a bogus stub. It should be sniffed out rather than added in. -function fnStub(){ - -} -function fnAttachMenus(aTips){ - // This walk is only necessary for the context menu. - var aTips=document.getElementsByTagName("SPAN"); - for(var i=0;i<aTips.length;i++){ - var oNode=aTips[i]; - if(oNode.getAttribute("G_RID")){ - var sTerm=oNode.getAttribute("G_RID"); - if(typeof(g_glossary[sTerm])=="string"){ - // Removed client-side scripting to add events. This entire process should be singled out for IE 5 and later .. and, its only for the context menu. - aTerms[aTerms.length]=oNode; - } - } - } - if(oBD.majorVer>=5){ - document.body.addBehavior(gsContextMenuPath); - document.body.onbehaviorready="fnSetMenus()"; - document.body.oncontextopen="clearDef()"; - } - -} -// Called by showDef. The showDef function sniffs for initialization. -function openDialog(oNode,x,y){ - var bStatus=oDialog.dlg_status; // BUGBUG: This code assumes that oDialog has been initialized - if(bStatus==false){ - oDialog.dlg_status=true; - oDialog.style.display="block"; - } - else{ - if(typeof(oTimeout)=="number"){ - window.clearTimeout(oTimeout); - } - } - - var sTerm=oNode.getAttribute("G_RID"); - var oDef=oNode.children(0); - var sDef=oDef.text; - sDef=sDef.substr(4,sDef.length-7); //Strips the html comment markers from the definition. - oDialog.innerHTML=sDef - - - //oDialog.innerHTML=g_glossary[sTerm]; - - var iScrollLeft=document.body.scrollLeft; - var iScrollTop=document.body.scrollTop; - var iOffsetLeft=getAbsoluteLeft(oNode)// - iScrollLeft; - var iOffsetWidth=oNode.offsetWidth; - var oParent=oNode.parentNode; - var iOffsetParentLeft=getAbsoluteLeft(oParent); - var iOffsetTop=getAbsoluteTop(oNode); //- iScrollTop; - var iOffsetDialogWidth=oDialog.offsetWidth; - - - if((iOffsetLeft + iOffsetWidth) > (iOffsetParentLeft + oParent.offsetWidth)){ - iOffsetLeft=iOffsetParentLeft; - if(iOffsetLeft - iOffsetDialogWidth>0){ - iOffsetTop+=oNode.offsetHeight; - } - } - var iLeft=0; - var iTop=0; - if((iOffsetLeft + iOffsetWidth - iScrollLeft + iOffsetDialogWidth) < document.body.offsetWidth ){ - iLeft=iOffsetLeft + iOffsetWidth; - } - else{ - if(iOffsetLeft - iOffsetDialogWidth>0){ - iLeft=iOffsetLeft - iOffsetDialogWidth; - } - else{ - iLeft=iOffsetParentLeft; - } - } - if(iOffsetTop - iScrollTop<oDialog.offsetHeight){ - iTop=iOffsetTop + oNode.offsetHeight; - } - else{ - iTop=iOffsetTop - oDialog.offsetHeight; - } - oDialog.style.top=iTop; - oDialog.style.left=iLeft; - oTimeout=window.setTimeout("hideDef()",iTimeout*1000); -} -function getAbsoluteTop(oNode){ - var oCurrentNode=oNode; - var iTop=0; - while(oCurrentNode.tagName!="BODY"){ - iTop+=oCurrentNode.offsetTop; - oCurrentNode=oCurrentNode.offsetParent; - } - return iTop; -} -function getAbsoluteLeft(oNode){ - var oCurrentNode=oNode; - var iLeft=0; - while(oCurrentNode.tagName!="BODY"){ - iLeft+=oCurrentNode.offsetLeft; - oCurrentNode=oCurrentNode.offsetParent; - } - return iLeft; -} -function fnCreateDialog(iWidth,iHeight){ - document.body.insertAdjacentHTML("BeforeEnd","<DIV></DIV>"); - oNewDialog=document.body.children(document.body.children.length-1); - oNewDialog.className="clsTooltip"; - oNewDialog.style.width=iWidth; - oNewDialog.dlg_status=false; - return oNewDialog; -} - -function sendfeedback(subject, id,alias){ - var rExp = /\"/gi; - var url = location.href; - // Need to replace the double quotes with single quotes for the mailto to work. - var rExpSingleQuotes = /\'\'"/gi; - - var title; - if(document.getElementsByTagName("TITLE")[0].innerText) title = document.getElementsByTagName("TITLE")[0].innerText.replace(rExp, "''") - else title = document.getElementsByTagName("TITLE")[0].textContent.replace(rExp, "''"); - location.href = "mailto:" + alias + "?subject=" + subject + title + "&body=Topic%20ID:%20" + id + "%0d%0aURL:%20" + url + "%0d%0a%0d%0aComments:%20"; -} - -function setUpSyntax() { - var syntaxSection = document.getElementById('syntaxCodeBlocks'); - if (syntaxSection == null) return; - - processSection(syntaxSection, 'x-lang', lang, true, true, true, true); -} - -function setUpSnippets() { - var divs = document.getElementsByTagName("DIV"); - - for (var i = 0; i < divs.length; i++) - { - var name = divs[i].getAttribute("name"); - if (name == null || name != "snippetGroup") continue; - processSection(divs[i], 'x-lang', lang, true, true, true, true); - } -} - -function setUpType() { - var typeSection = document.getElementById("typeSection"); - if (typeSection == null) return; - - processSection(typeSection, 'value', 'all', true, false, true, false); -} - -function setUpAllMembers() { - var allMembersSection = document.getElementById("allMembersSection"); - if (allMembersSection == null) return; - - processSection(allMembersSection, 'value', 'all', true, false, true, false); -} - -function processSection(section, attribute, value, toggleClassValue, toggleStyleValue, curvedToggleClassValue, registerValue) { - var nodes = section.childNodes; - - var curvedTabId; - var tabId; - var blockId; - - if (nodes.length != 2) return; - - if (nodes[0].tagName == 'TABLE') { - var rows = nodes[0].getElementsByTagName('tr'); - - if (rows.length != 2) return; - - curvedTabId = rows[0].getAttribute('id'); - tabId = rows[1].getAttribute('id'); - } - - if(nodes[1].tagName == 'DIV') { - blockId = nodes[1].getAttribute('id'); - } - - if (toggleClassValue) toggleClass(tabId,attribute,value,'activeTab','tab'); - if (toggleStyleValue) toggleStyle(blockId,attribute,value,'display','block','none'); - if (curvedToggleClassValue) curvedToggleClass(curvedTabId, attribute, value); - - if (languageFilter == null) return; - - if (registerValue) languageFilter.registerTabbedArea(curvedTabId, tabId, blockId); -} - diff --git a/tools/Sandcastle/Presentation/hana/Styles/Presentation.css b/tools/Sandcastle/Presentation/hana/Styles/Presentation.css deleted file mode 100644 index 0a01db1..0000000 --- a/tools/Sandcastle/Presentation/hana/Styles/Presentation.css +++ /dev/null @@ -1,934 +0,0 @@ -/* * * This file was autogenerated by Styler at 02:02 on 02/15/2003 * * */ - -@import url("tabs.css"); -@import url("syntax.css"); - -/*********************************************************** - * SCRIPT-SUPPORTING STYLES - ***********************************************************/ - -/* Defines the userData cache persistence mechanism. */ -.userDataStyle -{ - behavior: url(#default#userData); -} - -/* Used to save the scroll bar position when navigating away from a page. */ -div.saveHistory -{ - behavior: url(#default#saveHistory); -} - -/* Formats the expand/collapse images for all collapsible regions. */ -img.toggle -{ - border: 0px; - margin-right: 5px; -} - -/* Formats the Language filter drop-down image. */ -img#languageFilterImage -{ - border: 0px; - margin-left: 0px; - vertical-align: middle; -} - -/* Formats the Members Options filter drop-down image. */ -img#membersOptionsFilterImage -{ - border: 0px; - margin-left: 0px; - vertical-align: middle; -} - -/* Formats the Collapse All/Expand All images. */ -img#toggleAllImage -{ - margin-left: 0px; - vertical-align: middle; -} - -/* Supports XLinks */ -MSHelp\:link -{ - text-decoration: underline; - /*color: #0000ff; */ - color: #0481DA; - hoverColor: #3366ff; - filterString: ; -} - - -/*********************************************************** - * CONTENT PRESENTATION STYLES - ***********************************************************/ - -body -{ - background: #FFFFFF; - color: #000000; - font-family: Verdana; - font-size: medium; - font-style: normal; - font-weight: normal; - margin: 0px; - width: 100%; -} - -dl -{ - margin-top: 15px; - margin-bottom:5px; - padding-left: 1px; -} - -/*dt -{ - font-style: italic; -}*/ - -dd -{ - margin-left: 0px; -} - -ul -{ - margin-top:0px; - margin-bottom:0px; - margin-left: 17px; - list-style-type: disc; -} - -ul ul -{ - margin-bottom: 4px; - margin-left: 17px; - margin-top: 3px; - list-style-type: disc; -} - -ol -{ - margin-top:0px; - margin-bottom:0px; - margin-left: 28px; - list-style-type: decimal; -} - -ol ol -{ - margin-bottom: 4px; - margin-left: 28px; - margin-top: 3px; - list-style-type: lower-alpha; -} - -li -{ - margin-top: 5; - margin-bottom: 5; -} - -p -{ - margin-top: 10px; - margin-bottom: 5px; -} -a[href] -{ - color: #0481DA; -} -a -{ - color:#0481DA; -} - -a:visited -{ - color: #0481DA; -} - -a:hover -{ - /*color: #3366FF;*/ - color: #E85F17; -} - -code -{ - font-family: Monospace, Courier New, Courier; - font-size: 105%; - color: #000066; -} - -span.parameter { - font-style: italic; - font-weight:bold; -} - -span.italic { - font-style: italic; -} - -span.referenceNoLink { - font-weight: bold; -} -span.nolink { - font-weight: bold; -} - -span.selflink { - font-weight: bold; -} - -span.nonLinkTerm { - font-weight: bold; -} -span.linkTerm { - font-weight:normal; -} - -/*********************************************************** - * STRUCTURE PRESENTATION STYLES - ***********************************************************/ - -/* Applies to everything below the non-scrolling header region. */ -div#mainSection -{ - font-size: 62.5%; - width: 100%; - overflow:hidden; -} -html>body #mainSection -{ - font-size:73%; - width: 100%; -} - -/* Applies to everything below the non-scrolling header region, minus the footer. */ -div#mainBody -{ - font-size: 100%; - margin-left: 15px; - margin-top: 10px; - padding-bottom: 20px; - overflow:hidden; -} - -html>body #mainBody -{ - font-size: 93%; - margin-left: 15px; - margin-top: 10px; - padding-bottom: 20px; -} - -/* Adds right padding for all blocks in mainBody */ -div#mainBody p, div#mainBody ol, div#mainBody ul, div#mainBody dl -{ - padding-right: 5px; -} - -/*------------------------------ Begin Non-scrolling Header Region Styles -------------------------------*/ -/* Applies to the entire non-scrolling header region. */ -div#header -{ - background-color: white; - padding-top: 0px; - padding-bottom: 0px; - padding-left: 0px; - padding-right: 0px; - width: 100%; -} - -/* Applies to both tables in the non-scrolling header region. */ -div#header table -{ - width: 100%; -} - -/* Applies to cells in both tables in the non-scrolling header region. */ -div#header table td -{ - /*color: #0000FF;*/ - color:#0481DA; - font-size: 70%; - margin-top: 0px; - margin-bottom: 0; - padding-right: 20; -} - -/* Applies to the last row in the upper table of the non-scrolling header region. Text - in this row includes See Also, Constructors, Methods, and Properties. */ -div#header table tr#headerTableRow3 td -{ - padding-bottom: 2px; - padding-top: 5px; - padding-left: 15px; -} - -/* Applies to the lower table in the non-scrolling header region. Text in this table - includes Collapse All/Expand All, Language Filter, and Members Options. */ -div#header table#bottomTable -{ - border-top-color: #FFFFFF; - border-top-style: solid; - border-top-width: 1px; - text-align: left; - padding-left: 15px; -} - -/* Formats the first column--the one that displays icons--in mref list tables (such as Public Constructors, - Protected Constructors, Public Properties, Protected Properties, and so on). */ -div#mainSection table td.imageCell -{ - white-space: nowrap; -} -/*------------------------------ End General Table Styles -------------------------------*/ - -/*------------------------------ Begin General Table Styles -------------------------------*/ - -div#mainBody div.alert, div#mainBody div.code, div#mainBody div.tableSection -{ - width:98.9%; -} - -div#mainBody div.section div.alert, div#mainBody div.section div.code, -div#mainBody div.section div.tableSection -{ - width:100%; -} - -div#mainBody div.section ul div.alert, div#mainBody div.section ul div.code, -div#mainBody div.section ul div.tableSection, div#mainBody div.section ol div.alert, -div#mainBody div.section ol div.code, div#mainBody div.section ol div.tableSection -{ - width:100%; -} - -div.alert p, div.code p -{ - margin-top:5px; - margin-bottom:8px; -} -dd p -{ - margin-top:2px; - margin-bottom:8px; -} -div.tableSection p -{ - margin-top:1px; - margin-bottom:4px; -} -li p -{ - margin-top:2px; - margin-bottom:2px; -} -div.seeAlsoNoToggleSection dl -{ - margin-top:8px; - margin-bottom:1px; - padding-left:1px; -} -div.seeAlsoNoToggleSection dd p -{ - margin-top:2px; - margin-bottom:8px; -} -div.section dl -{ - margin-top:8px; - margin-bottom:1px; - padding-left:1px; -} -div.section dd p -{ - margin-top:2px; - margin-bottom:8px; -} -/*------------------------------ End General Table Styles -------------------------------*/ - -/* Applies to the running header text in the first row of the upper table in the - non-scrolling header region. */ -span#runningHeaderText -{ - color: #495F7F; - font-size: 90%; - padding-left: 13px; -} - -/* Applies to the topic title in the second row of the upper table in the - non-scrolling header region. */ -span#nsrTitle -{ - color: #495F7F; - font-size: 120%; - font-weight: 600; - padding-left: 13px; -} -/*------------------------------ End Non-scrolling Header Region Styles -------------------------------*/ - - -/* Formats the footer. Currently, the transforms pass in two parameters to the - footer SSC, but the default footer SSC doesn't use either parameter. - TODO: Investigate whether the default footer SSC has any impact on doc spec. */ -div#footer -{ - font-size: 80%; - margin: 0px; - padding-top: 8px; - padding-bottom: 6px; - padding-left: 5px; - padding-right: 2px; - width: 100%; -} - -html>body div#footer -{ - font-size: 80%; - margin: 0px; - padding-top: 2px; - padding-bottom: 6px; - padding-left: 5px; - padding-right: 2px; - width: 98%; -} - -/* Unable to find this style in the transforms. The default footer SSC adds a plain horizontal rule. - TODO: Determine whether this style is required by the doc spec. */ -/* -hr#footerHR -{ - border-bottom-color: #EEEEFF; - border-bottom-style: solid; - border-bottom-width: 1px; - border-top-color: C8CDDE; - border-top-style: solid; - border-top-width: 1px; - height: 3px; - color: #D4DFFF; -} -*/ - -/******************************************************************************************************************** - Collapsible Section Structure - - <h1 class="heading"> // Format of the collapsible section text - <span onclick="ExpandCollapse(xxxToggle)"> // Defines the onclick procedure for the expand/collapse section - <img id="xxxToggle"> // Expand/collapse image - </img> - </span> - </h1> - - <div id="xxxSection" class="section"> // The body of the collapsible section; hidden by default - </div> - - - The ExpandCollapse() function is responsible for toggling the expand/collapse image, and for - displaying/hiding the body of the collapsible section. -********************************************************************************************************************/ - -/* Applies to the body of a collapsible section */ -div.seeAlsoNoToggleSection -{ - margin-left:0; - padding-top: 2px; - padding-bottom: 2px; - padding-left: 0px; - padding-right: 15px; - width: 100%; -} - -div.section -{ - margin-left:0px; - padding-left: 16px; - padding-right: 15px; - width: 100%; -} -html>body div.section -{ - margin-left:0px; - padding-top: 2px; - padding-bottom: 2px; - padding-left: 16px; - padding-right: 15px; - width: 97%; -} -div.seeSection -{ - margin-left:0px; - padding-top: 0px; - padding-bottom: 2px; - padding-left: 16px; - padding-right: 15px; - width: 100%; -} - -/*------------------------------ Begin Heading Styles -------------------------------*/ -/* As far as I can tell, only <h1> tags use this class. - TODO: Decide whether to roll these attributes into the h1.heading style */ -.heading -{ - font-weight: bold; - margin-top: 18px; - margin-bottom: 8px; -} - -/* All <h1> headings. */ -h1.heading -{ - color: #0481DA; - font-size: 130%; -} - -/* Applies to table titles and subsection titles. */ -.subHeading -{ - font-weight: bold; - margin-bottom: 4px; -} -.procedureSubHeading -{ - font-weight: bold; - margin-bottom: 4px; -} - -/* Formats the titles of author-generated tables. */ -h3.subHeading -{ - color: #000000; - font-size: 120%; - font-weight:800; -} - -h3.procedureSubHeading -{ - color: #0481DA; - font-size: 120%; -} - -/* Formats the titles of all subsections. */ -h4.subHeading -{ - color: #000000; - font-size: 110%; - font-weight:800; -} -span.labelheading, div.labelheading -{ - font-size:100%; - color: #0481DA; -} - -/*------------------------------ End Heading Styles -------------------------------*/ - - -/*------------------------------ Begin Image Styles -------------------------------*/ -img.copyCodeImage -{ - border: 0px; - margin: 1px; - margin-right: 3px; -} - -img.downloadCodeImage -{ - border: 0px; - margin-right: 3px; -} - -img.viewCodeImage -{ - border: 0px; - margin-right: 3px; -} - -img.note -{ - border: 0px; - margin-right: 3px; -} -/*------------------------------ End Image Styles -------------------------------*/ - -/*------------------------------ Begin Note Styles -------------------------------*/ -div.alert table -{ - border: 0px; - font-size: 100%; - width: 100%; -} - -div.alert table th -{ - background: #EFEFF7; - border-bottom-width: 0px; - color: #000066; - padding-left: 5px; - padding-right: 5px; -} - -div.alert table td -{ - background: #F7F7FF; - border-top-color: #FFFFFF; - border-top-style: solid; - border-top-width: 1px; - padding-left: 5px; - padding-right: 5px; -} - - -/*------------------------------ End Note Styles -------------------------------*/ - - -/* Applies to the copy code text and image. */ -span.copyCode -{ - color: #0481DA; - font-size:xx-small; - font-weight: normal; - cursor: pointer; - float: left; - display: inline; - text-align: left; - padding-bottom:10px; -} -span.copyCodeOnHover -{ - color: #E85F17; - font-size:xx-small; - font-weight: normal; - cursor: pointer; - float: left; - display: inline; - text-align: left; - padding-bottom:10px; - text-decoration: underline; -} - -.downloadCode -{ - color: #0000ff; - font-size: 90%; - font-weight: normal; - cursor: pointer; -} - -.viewCode -{ - color: #0000ff; - font-size: 90%; - font-weight: normal; - cursor: pointer; -} - -/* Formats parameter tooltips. */ -.tip -{ - color: #0000FF; - font-style: italic; - cursor: pointer; - text-decoration:underline; -} - -/* Applies to the language labels in the Language Filter drop-down list. */ -.languageFilter -{ - color: #0000FF; - cursor: pointer; - text-decoration:underline; - padding-bottom:4px; -} - -/* Applies to text styled as math. This text is passed as a parameter to the italics SSC definition */ -.math -{ - font-family: Times New Roman; - font-size: 125% -} - -/* The sourceCodeList class doesn't appear in the transforms. - TODO: Find out whether this style is needed for the doc spec. */ -/* -.sourceCodeList -{ - font-family: Verdana; - font-size: 90%; -} -*/ - -/* The viewCode class doesn't appear in the transforms. - TODO: Find out whether this style is needed for the doc spec. */ -/* -pre.viewCode -{ - width: 100%; - overflow: auto; -} -*/ - -/* Dropdown areas */ - -#languageSpan -{ - position: absolute; - visibility: hidden; - border-style: solid; - border-width: 1px; - border-color: #C8CDDE; - background:white; - padding: 4px; - font-size:82.5%; - } - -#membersOptionsSpan { - position: absolute; - visibility: hidden; - border-style: solid; - border-width: 1px; - border-color: #C8CDDE; - background: #d4dfff; - padding: 4px; - font-size: 62.5%; -} - -/* Line seperating footer from main body */ - -div.footerLine { - margin: 0; - width: 100%; - padding-top: 8px; - padding-bottom: 6px; - padding-left: 5px; - padding-right: 2px; - -} - -div.hr1 -{ - margin: 0px; - width: 100%; - height: 1px; - padding: 0px; - background: #C8CDDE; - font-size: 1px; -} - -div.hr2 -{ - margin: 0px; - width: 100%; - height: 1px; - padding: 0px; - background: #D4DFFF; - font-size: 1px; -} - -div.hr3 -{ - margin: 0px; - width: 100%; - height: 1px; - padding: 0px; - background: #EEEEFF; - font-size: 1px; -} - -span.cs -{ - display: none; -} - -span.vb -{ - display: inline; -} - -span.cpp -{ - display: none; -} - -span.nu -{ - display: none; -} - -span.code -{ - font-family: Monospace, Courier New, Courier; - font-size: 105%; - color: #000066; -} -span.ui -{ - font-weight: bold; -} -span.math -{ - font-style: italic; -} -span.input -{ - font-weight: bold; -} -span.term -{ - font-style: italic; -} -span.label -{ - font-weight: bold; -} -span.foreignPhrase -{ - font-style: italic; -} -span.placeholder -{ - font-style: italic; -} -span.keyword -{ - font-weight: bold; -} -span.typeparameter -{ - font-style:italic; -} - -div.caption -{ - font-weight: bold; - font-size:100%; - color:#003399; -} - -div.code -{ - clear: both; - width: 100%; - background: #E3E6EB; - padding: 0.4em; - font-family: "Andale Mono", "Courier New", Courier, monospace; - font-size: 9pt; - margin-bottom: 1em; - border-bottom:solid 1px #bfc2c7; - border-right:solid 1px #bfc2c7; - display:block; - background-image:url(../icons/tab_sel_lft_grad.gif); - background-repeat:repeat-y; -} - -div.memberSection -{ - background: #E3E6EB; - border-bottom:solid 1px #bfc2c7; - border-right:solid 1px #bfc2c7; - padding:8px; - background-image:url(../icons/tab_sel_lft_grad.gif); - background-repeat:repeat-y; - width:100%; -} - -div.listSection -{ - background: #E3E6EB; - border-top:solid 1px #bfc2c7; - border-bottom:solid 1px #bfc2c7; - border-right:solid 1px #bfc2c7; - padding:8px; - background-image:url(../icons/tab_sel_lft_grad.gif); - background-repeat:repeat-y; - width:100%; -} - -/* table styles */ - -table.memberOptions -{ - font-size:xx-small; - padding:0px; -} -table.members { - table-layout: fixed; - background: white; - padding:0px; - width:100%; -} - -table.members tr { - min-height: 20px; -} - -table.members th.iconColumn { - width: 60px; -} - -table.members th.nameColumn { - width: 33%; -} - -table.members th.descriptionColumn { - width: 66%; -} - -table.members th { - border-color: #c7ced8; - border-style: solid; - border-width: 1px; - background: white; - text-align: left; - color: #000066; - font-weight: bold; - font-size:xx-small; -} - -table.members td { - border-style: solid; - border-color: #c7ced8; - border-width: 1px; - background: white; - vertical-align: top; - overflow: hidden; - font-size:xx-small; -} - -div.section table.filter { - table-layout: fixed; -} - -/* end of table styles */ - - -td.line -{ - width:22em; -} - -td.nsrBottom -{ - height:0.6em; -} -/* end of tab styles */ - -span.syntaxLabel -{ - color:#0481DA; - font-weight:bold; -} - -div.seeAlsoStyle -{ - padding-top:5px; -} -/* end of syntax styles */ - -/* Glossary */ -SPAN.clsGlossary {cursor: default; color: #509950; font-weight: bold;} -DIV.clsTooltip {border: 1px solid black; padding: 2px; position: absolute; top: 0; left: 0; display: none; background-color: #FFFFAA; color: black; font-size: 8pt; font-family: Arial;} diff --git a/tools/Sandcastle/Presentation/hana/Styles/syntax.css b/tools/Sandcastle/Presentation/hana/Styles/syntax.css deleted file mode 100644 index ec5b4dd..0000000 --- a/tools/Sandcastle/Presentation/hana/Styles/syntax.css +++ /dev/null @@ -1,22 +0,0 @@ - -/* syntax styles */ - -div.code span.identifier { - font-weight: bold; -} - -div.code span.keyword { - color: #0000ff; -} - -div.code span.parameter { - font-style: italic; -} - -div.code span.literal { - color: #a31515; -} - -div.code span.comment { - color: #007f00; -} diff --git a/tools/Sandcastle/Presentation/hana/Styles/tabs.css b/tools/Sandcastle/Presentation/hana/Styles/tabs.css deleted file mode 100644 index af06695..0000000 --- a/tools/Sandcastle/Presentation/hana/Styles/tabs.css +++ /dev/null @@ -1,118 +0,0 @@ -/* tab styles */ - -/* unselected label */ -div.section table.filter tr.tabs td.tab { - width: 10em; - background: white; - text-align: center; - color: #0481DA; - font-weight: normal; - overflow: hidden; - cursor: pointer; - border-bottom: solid 1px #cad1da; - font-size: xx-small; -} - -/* selected label */ -div.section table.filter tr.tabs td.activeTab { - width: 10em; - background: #E3E6EB; - text-align: center; - color: #000066; - font-weight: bold; - overflow: hidden; - font-size: xx-small; -} - -/* unselected upper left corner */ -td.LeftTab { - width: 5px; - height: 5px; - background-image: url("../icons/tab_unsel_lft_cnr.gif"); - background-repeat: no-repeat; - font-size:2pt; -} - -/* selected upper left corner */ -td.activeLeftTab { - width: 5px; - height: 5px; - background-image: url("../icons/tab_sel_lft_cnr.gif"); - background-repeat: no-repeat; - font-size:2pt; -} - -/* unselected upper right corner */ -td.RightTab { - width: 5px; - height: 5px; - background-image: url("../icons/tab_unsel_rt_cnr.gif"); - background-repeat: no-repeat; - font-size:2pt; -} - -/* selected upper right corner */ -td.activeRightTab { - width: 5px; - height: 5px; - background-image: url("../icons/tab_sel_rt_cnr.gif"); - background-repeat: no-repeat; - font-size:2pt; -} - -/* unselected left gradient */ -td.leftGrad { - width: 5px; - border-bottom: solid 1px #cad1da; - background-image: url("../icons/tab_unsel_lft_grad.gif"); - background-repeat: repeat-y; - font-size:2pt; -} - -/* selected left gradient */ -td.activeLeftGrad { - width: 5px; - background-image: url("../icons/tab_sel_lft_grad.gif"); - background-repeat: repeat-y; - font-size:2pt; -} - -/* unselected right gradient */ -td.RightGrad { - width: 5px; - border-bottom: solid 1px #cad1da; - background-image: url("../icons/tab_unsel_rt_grad.gif"); - background-repeat: repeat-y; - white-space:nowrap; - font-size:2pt; -} - -/* selected right gradient */ -td.activeRightGrad { - width: 5px; - background-image: url("../icons/tab_sel_rt_grad.gif"); - background-repeat: repeat-y; - white-space:nowrap; - font-size:2pt; -} - -/* unselected label top */ -td.middleTab { - width: 10em; - background: white; - height: 5px; - border-top: solid 1px #cad1da; - font-size:2pt; -} - -/* selected label top */ -td.activeMiddleTab -{ - width: 10em; - background: #E3E6EB; - height: 5px; - border-top: solid 1px #bdc6d2; - font-size:2pt; -} - - diff --git a/tools/Sandcastle/Presentation/hana/configuration/conceptual.config b/tools/Sandcastle/Presentation/hana/configuration/conceptual.config deleted file mode 100644 index 0d26c8f..0000000 --- a/tools/Sandcastle/Presentation/hana/configuration/conceptual.config +++ /dev/null @@ -1,108 +0,0 @@ -<configuration> - <dduetools> - <builder> - <components> - - <!-- Create skeleton document --> - <component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <data file="%DXROOT%\Presentation\Vsorcas\transforms\skeleton_conceptual.xml" /> - <copy source="/*" target="/" /> - </component> - - <!-- Copy in comments --> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <index name="comments" value="/topic" key="@id"> - <data files=".\DdueXml\*.xml" /> - </index> - <copy name="comments" source="/topic" target="/document" /> - </component> - - <!-- resolve tokens --> - <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> - <content file="%DXROOT%\Data\tokens.xml" /> - <replace elements="/*//ddue:token" item="string(.)" /> - </component> - - <!-- copy in metadata keywords --> - <component type="Microsoft.Ddue.Tools.CopyFromFilesComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy base=".\XmlComp" file="concat($key,'.cmp.xml')" source="/metadata/topic[@id=$key]/*" target="/document/metadata" /> - </component> - - <!-- copy in metadata attributes --> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <index name="metadata" value="/metadata/topic" key="@id"> - <data files=".\ExtractedFiles\*.ContentMetadata.xml" /> - </index> - <copy name="metadata" source="*" target="/document/metadata" /> - <copy name="metadata" key="string('*')" source="*" target="/document/metadata" /> - </component> - - <!-- Resolve code snippets --> - <component type="Microsoft.Ddue.Tools.ExampleComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <examples file="%DXROOT%\Data\CodeSnippet.xml" /> - <colors language="VisualBasic"> - <color pattern="^\s*'[^\r\n]*" class="comment" /> - <color pattern="\".*\"" class="literal" /> - <color pattern="\b((AddHandler)|(AddressOf)|(As)|(ByRef)|(ByVal)|(Case)|(Catch)|(Class)|(Const)|(Continue)|(Delegate)|(Dim)|(Each)|(Else)|(ElseIf)|(End)|(Enum)|(Event)|(Exit)|(False)|(Finally)|(For)|(Friend)|(Function)|(Get)|(Handles)|(Implements)|(Imports)|(In)|(Inherits)|(Interface)|(Is)|(Loop)|(Me)|(Module)|(MustInherit)|(MustOverride)|(MyBase)|(Namespace)|(New)|(Next)|(Nothing)|(NotInheritable)|(NotOverrideable)|(Of)|(Overloads)|(Overridable)|(Overrides)|(ParamArray)|(Partial)|(Private)|(Property)|(Protected)|(Public)|(RaiseEvent)|(ReadOnly)|(RemoveHandler)|(Set)|(Shadows)|(Shared)|(Static)|(Step)|(Structure)|(Sub)|(Then)|(Throw)|(To)|(True)|(Try)|(Until)|(Using)|(When)|(While)|(With)|(WriteOnly))\b" class="keyword" /> - </colors> - <colors language="CSharp"> - <color pattern="/\*(.|\n)+?\*/" class="comment" /> - <color pattern="//[^\r\n]*" class="comment" /> - <color pattern="\".*\"" class="literal" /> - <color pattern="\b((abstract)|(as)|(base)|(bool)|(break)|(case)|(catch)|(class)|(const)|(continue)|(default)|(delegate)|(do)|(else)|(enum)|(event)|(extern)|(false)|(finally)|(for)|(foreach)|(get)|(if)|(in)|(interface)|(internal)|(is)|(namespace)|(new)|(null)|(out)|(override)|(params)|(private)|(protected)|(public)|(readonly)|(ref)|(return)|(sealed)|(set)|(static)|(struct)|(switch)|(this)|(throw)|(true)|(try)|(typeof)|(using)|(virtual)|(volatile)|(void)|(while))\b" class="keyword" /> - </colors> - <colors language="ManagedCPlusPlus"> - <color pattern="/\*(.|\n)+?\*/" class="comment" /> - <color pattern="//[^\r\n]*" class="comment" /> - <color pattern="\".*\"" class="literal" /> - <color pattern="\b((abstract)|(array)|(break)|(case)|(catch)|(class)|(const)|(continue)|(delegate)|(delete)|(do)|(else)|(enum)|(event)|(extern)|(false)|(finally)|(for)|(friend)|(gcnew)|(generic)|(goto)|(if)|(initonly)|(inline)|(interface)|(literal)|(namespace)|(new)|(noinline)|(nullptr)|(operator)|(private)|(property)|(protected)|(public)|(ref)|(register)|(return)|(sealed)|(sizeof)|(static)|(struct)|(switch)|(template)|(this)|(throw)|(true)|(try)|(typedef)|(union)|(using)|(value)|(virtual)|(void)|(volatile)|(while))\b" class="keyword" /> - </colors> - </component> - - <!-- transform --> - <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <transform file="%DXROOT%\Presentation\vsorcas\transforms\main_conceptual.xsl"> - <argument key="metadata" value="true" /> - <argument key="languages"> - <language label="CSharp" name="CSharp" style="cs" /> - <language label="VisualBasic" name="VisualBasic" style="vb" /> - <language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cs" /> - <language label="JSharp" name="JSharp" style="cs" /> - <language label="JScript" name="JScript" style="cs" /> - <language label="XAML" name="XAML" style="cs" /> - </argument> - </transform> - </component> - - <!-- resolve art links --> - <component type="Microsoft.Ddue.Tools.ResolveArtLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <targets input="%DXROOT%\Data\ArtStore" output=".\Output\media" link="../media" map="%DXROOT%\Data\ArtSharedContent.loc.xml" /> - </component> - - <!-- resolve shared content --> - <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <content file="%DXROOT%\Presentation\vsorcas\content\shared_content.xml" /> - <content file="%DXROOT%\Presentation\vsorcas\content\conceptual_content.xml" /> - </component> - - <!-- resolve conceptual links --> - <component type="Microsoft.Ddue.Tools.ResolveConceptualLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <targets base=".\XmlComp" type="local" /> - <targets base="%DXROOT%\Data\XmlComp" type="index"/> - </component> - - <!-- resolve reference links --> - <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <targets base="%FxReflectionData%" recurse="true" files="*.xml" type="index" /> - </component> - - <!-- save the result --> - <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <save base=".\Output\html" path="concat($key,'.htm')" indent="true" omit-xml-declaration="true" /> - </component> - - </components> - </builder> - </dduetools> -</configuration> diff --git a/tools/Sandcastle/Presentation/hana/configuration/sandcastle-scbuild.config b/tools/Sandcastle/Presentation/hana/configuration/sandcastle-scbuild.config deleted file mode 100644 index aa276f7..0000000 --- a/tools/Sandcastle/Presentation/hana/configuration/sandcastle-scbuild.config +++ /dev/null @@ -1,127 +0,0 @@ -<configuration> - <dduetools> - <builder> - <components> - - <!-- Create skeleton document --> - <component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <data file="%DXROOT%\Presentation\hana\Transforms\skeleton.xml" /> - <copy source="/*" target="/" /> - </component> - - <!-- Copy in reflection data --> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <index name="reflection" value="/reflection/apis/api" key="@id" cache="10"> - <data base="%DxTempDir%\ReflectionData" recurse="true" files="*.xml" /> - </index> - <copy name="reflection" source="*" target="/document/reference" /> - </component> - - <!-- Copy in container data --> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="reflection" key="string(/document/reference/containers/namespace/@api)" source="*[not(local-name()='elements')]" target="/document/reference/containers/namespace" /> - </component> - <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <variable expression="/document/reference/containers//type/@api" /> - <components> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="reflection" source="apidata|typedata|templates|attributes" target="/document/reference/containers//type[@api=$key]" /> - </component> - </components> - </component> - - <!-- Copy in parameter data --> - <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <variable expression="/document/reference/parameters/parameter//type/@api" /> - <components> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="reflection" source="apidata" target="/document/reference/parameters/parameter//type[boolean(@api=$key) and not(apidata)]" /> - </component> - </components> - </component> - - <!-- Generate syntax --> - <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <if condition="not(starts-with($key,'Overload:') or starts-with($key,'R:'))" /> - <then> - <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <syntax input="/document/reference" output="/document/syntax" /> - <generators> - <generator type="Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> - <generator type="Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> - <generator type="Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> - </generators> - </component> - </then> - </component> - - <!-- Copy in comments --> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <index name="comments" value="/doc/members/member" key="@name" cache="100"> - <data base="%DxTempDir%\Comments\" recurse="false" files="*.xml" /> - </index> - <copy name="comments" source="*" target="/document/comments" /> - </component> - - <!-- Copy in reflection data and comments for members --> - <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <variable expression="/document/reference/elements//element/@api" /> - <components> - <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <if condition="not(/document/reference/elements//element[@api=$key]/apidata)" /> - <then> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="reflection" source="*[not(self::elements)]" target="/document/reference/elements//element[@api=$key]" /> - </component> - </then> - </component> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="comments" source="summary|overloads" target="/document/reference/elements//element[@api=$key]" /> - </component> - </components> - </component> - - <!-- Copy in comments for the member's declaring type. --> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="comments" key="string(/document/reference/containers/type/@api)" source="summary" target="/document/reference/containers" /> - </component> - - <!-- transform --> - <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <transform file="%DXROOT%\Presentation\hana\Transforms\main_sandcastle.xsl"> - <argument key="metadata" value="true" /> - <argument key="languages"> - <language label="VisualBasic" name="VisualBasic" style="vb" /> - <language label="CSharp" name="CSharp" style="cs" /> - <language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cpp" /> - <!--<language label="JSharp" name="JSharp" style="cs" /> - <language label="JScript" name="JScript" style="cs" /> - <language label="XAML" name="XAML" style="cs" /> --> - <language label="JavaScript" name="JavaScript" style="cs" /> - </argument> - </transform> - </component> - - <!-- resolve shared content --> - <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <content file="%DXROOT%\Presentation\hana\content\shared_content.xml" /> - <content file="%DXROOT%\Presentation\hana\content\reference_content.xml" /> - <content file="%DXROOT%\Presentation\shared\content\syntax_content.xml" /> - </component> - - <!-- resolve reference links --> - <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <targets base="%DxTempDir%\ReflectionData\Framework" recurse="true" files="*.xml" type="msdn" /> - <targets base="%DxTempDir%\ReflectionData\Dependencies" recurse="true" files="*.xml" type="index" /> - <targets files="%DxTempDir%\ReflectionData\targets.xml" type="local" /> - </component> - - <!-- save the result --> - <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <save base ="%DxTempDir%\Output\html" path="concat(/html/head/meta[@name='guid']/@content,'.htm')" indent="false" omit-xml-declaration="true" /> - </component> - - </components> - </builder> - </dduetools> -</configuration> diff --git a/tools/Sandcastle/Presentation/hana/configuration/sandcastle.config b/tools/Sandcastle/Presentation/hana/configuration/sandcastle.config deleted file mode 100644 index e75578a..0000000 --- a/tools/Sandcastle/Presentation/hana/configuration/sandcastle.config +++ /dev/null @@ -1,128 +0,0 @@ -<configuration> - <dduetools> - <builder> - <components> - - <!-- Create skeleton document --> - <component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <data file="%DXROOT%\Presentation\hana\Transforms\skeleton.xml" /> - <copy source="/*" target="/" /> - </component> - - <!-- Copy in reflection data --> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <index name="reflection" value="/reflection/apis/api" key="@id" cache="10"> - <data base="%FxReflectionData%" recurse="true" files="*.xml" /> - <data files=".\reflection.xml" /> - </index> - <copy name="reflection" source="*" target="/document/reference" /> - </component> - - <!-- Copy in container data --> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="reflection" key="string(/document/reference/containers/namespace/@api)" source="*[not(local-name()='elements')]" target="/document/reference/containers/namespace" /> - </component> - <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <variable expression="/document/reference/containers//type/@api" /> - <components> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="reflection" source="apidata|typedata|templates|attributes" target="/document/reference/containers//type[@api=$key]" /> - </component> - </components> - </component> - - <!-- Copy in parameter data --> - <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <variable expression="/document/reference/parameters/parameter//type/@api" /> - <components> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="reflection" source="apidata" target="/document/reference/parameters/parameter//type[boolean(@api=$key) and not(apidata)]" /> - </component> - </components> - </component> - - <!-- Generate syntax --> - <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <if condition="not(starts-with($key,'Overload:') or starts-with($key,'R:'))" /> - <then> - <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <syntax input="/document/reference" output="/document/syntax" /> - <generators> - <generator type="Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> - <generator type="Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> - <generator type="Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> - </generators> - </component> - </then> - </component> - - <!-- Copy in comments --> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <index name="comments" value="/doc/members/member" key="@name" cache="100"> - <data files="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\*.xml" /> - <data files=".\comments.xml" /> - </index> - <copy name="comments" source="*" target="/document/comments" /> - </component> - - <!-- Copy in reflection data and comments for members --> - <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <variable expression="/document/reference/elements//element/@api" /> - <components> - <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <if condition="not(/document/reference/elements//element[@api=$key]/apidata)" /> - <then> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="reflection" source="*[not(self::elements)]" target="/document/reference/elements//element[@api=$key]" /> - </component> - </then> - </component> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="comments" source="summary|overloads" target="/document/reference/elements//element[@api=$key]" /> - </component> - </components> - </component> - - <!-- Copy in comments for the member's declaring type. --> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="comments" key="string(/document/reference/containers/type/@api)" source="summary" target="/document/reference/containers" /> - </component> - - <!-- transform --> - <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <transform file="%DXROOT%\Presentation\hana\Transforms\main_sandcastle.xsl"> - <argument key="metadata" value="true" /> - <argument key="languages"> - <language label="VisualBasic" name="VisualBasic" style="vb" /> - <language label="CSharp" name="CSharp" style="cs" /> - <language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cpp" /> - <!--<language label="JSharp" name="JSharp" style="cs" /> - <language label="JScript" name="JScript" style="cs" /> - <language label="XAML" name="XAML" style="cs" /> --> - <language label="JavaScript" name="JavaScript" style="cs" /> - </argument> - </transform> - </component> - - <!-- resolve shared content --> - <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <content file="%DXROOT%\Presentation\hana\content\shared_content.xml" /> - <content file="%DXROOT%\Presentation\hana\content\reference_content.xml" /> - <content file="%DXROOT%\Presentation\shared\content\syntax_content.xml" /> - </component> - - <!-- resolve reference links --> - <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <targets base="%FxReflectionData%" recurse="true" files="*.xml" type="msdn" /> - <targets files=".\reflection.xml" type="local" /> - </component> - - <!-- save the result --> - <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <save base =".\Output\html" path="concat(/html/head/meta[@name='guid']/@content,'.htm')" indent="false" omit-xml-declaration="true" /> - </component> - - </components> - </builder> - </dduetools> -</configuration> diff --git a/tools/Sandcastle/Presentation/hana/copyOutput.bat b/tools/Sandcastle/Presentation/hana/copyOutput.bat deleted file mode 100644 index 60fc216..0000000 --- a/tools/Sandcastle/Presentation/hana/copyOutput.bat +++ /dev/null @@ -1,11 +0,0 @@ -if not exist Output mkdir Output -if not exist Output\html mkdir Output\html -if not exist Output\icons mkdir Output\icons -if not exist Output\scripts mkdir Output\scripts -if not exist Output\styles mkdir Output\styles -if not exist Output\media mkdir Output\media -copy "%DXROOT%\Presentation\hana\icons\*" Output\icons -copy "%DXROOT%\Presentation\hana\scripts\*" Output\scripts -copy "%DXROOT%\Presentation\hana\styles\*" Output\styles -if not exist Intellisense mkdir Intellisense - diff --git a/tools/Sandcastle/Presentation/hana/icons/CFW.gif b/tools/Sandcastle/Presentation/hana/icons/CFW.gif Binary files differdeleted file mode 100644 index cbcabf1..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/CFW.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/Caution.gif b/tools/Sandcastle/Presentation/hana/icons/Caution.gif Binary files differdeleted file mode 100644 index c58e1f9..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/Caution.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/LastChild.gif b/tools/Sandcastle/Presentation/hana/icons/LastChild.gif Binary files differdeleted file mode 100644 index 0b9af7e..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/LastChild.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/NSRbottomgrad.gif b/tools/Sandcastle/Presentation/hana/icons/NSRbottomgrad.gif Binary files differdeleted file mode 100644 index a6f9ac6..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/NSRbottomgrad.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/adm.gif b/tools/Sandcastle/Presentation/hana/icons/adm.gif Binary files differdeleted file mode 100644 index 558dbd1..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/adm.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/adm_arch.gif b/tools/Sandcastle/Presentation/hana/icons/adm_arch.gif Binary files differdeleted file mode 100644 index 918f568..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/adm_arch.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/adm_dev.gif b/tools/Sandcastle/Presentation/hana/icons/adm_dev.gif Binary files differdeleted file mode 100644 index e7398bb..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/adm_dev.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/adm_dev_arch.gif b/tools/Sandcastle/Presentation/hana/icons/adm_dev_arch.gif Binary files differdeleted file mode 100644 index 9beb941..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/adm_dev_arch.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/alert_caution.gif b/tools/Sandcastle/Presentation/hana/icons/alert_caution.gif Binary files differdeleted file mode 100644 index c58e1f9..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/alert_caution.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/alert_note.gif b/tools/Sandcastle/Presentation/hana/icons/alert_note.gif Binary files differdeleted file mode 100644 index 3393af3..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/alert_note.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/alert_security.gif b/tools/Sandcastle/Presentation/hana/icons/alert_security.gif Binary files differdeleted file mode 100644 index 48661ce..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/alert_security.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/arch.gif b/tools/Sandcastle/Presentation/hana/icons/arch.gif Binary files differdeleted file mode 100644 index a75cdf8..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/arch.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/big_adm.gif b/tools/Sandcastle/Presentation/hana/icons/big_adm.gif Binary files differdeleted file mode 100644 index 9351c4b..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/big_adm.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/big_arch.gif b/tools/Sandcastle/Presentation/hana/icons/big_arch.gif Binary files differdeleted file mode 100644 index 8ba260d..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/big_arch.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/big_dev.gif b/tools/Sandcastle/Presentation/hana/icons/big_dev.gif Binary files differdeleted file mode 100644 index 221a4dd..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/big_dev.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/big_kw.gif b/tools/Sandcastle/Presentation/hana/icons/big_kw.gif Binary files differdeleted file mode 100644 index 365cca2..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/big_kw.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/box.gif b/tools/Sandcastle/Presentation/hana/icons/box.gif Binary files differdeleted file mode 100644 index c022894..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/box.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/ch_selected.gif b/tools/Sandcastle/Presentation/hana/icons/ch_selected.gif Binary files differdeleted file mode 100644 index 7a81770..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/ch_selected.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/ch_selected_hover.gif b/tools/Sandcastle/Presentation/hana/icons/ch_selected_hover.gif Binary files differdeleted file mode 100644 index 21edffc..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/ch_selected_hover.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/ch_unselected.gif b/tools/Sandcastle/Presentation/hana/icons/ch_unselected.gif Binary files differdeleted file mode 100644 index 04c9cfd..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/ch_unselected.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/ch_unselected_hover.gif b/tools/Sandcastle/Presentation/hana/icons/ch_unselected_hover.gif Binary files differdeleted file mode 100644 index 693ec56..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/ch_unselected_hover.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/collall.gif b/tools/Sandcastle/Presentation/hana/icons/collall.gif Binary files differdeleted file mode 100644 index 66a6f11..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/collall.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/collapse.gif b/tools/Sandcastle/Presentation/hana/icons/collapse.gif Binary files differdeleted file mode 100644 index d57c046..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/collapse.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/collapse_all.gif b/tools/Sandcastle/Presentation/hana/icons/collapse_all.gif Binary files differdeleted file mode 100644 index 45f018a..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/collapse_all.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/copycode.gif b/tools/Sandcastle/Presentation/hana/icons/copycode.gif Binary files differdeleted file mode 100644 index 1678162..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/copycode.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/copycodeHighlight.gif b/tools/Sandcastle/Presentation/hana/icons/copycodeHighlight.gif Binary files differdeleted file mode 100644 index be87230..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/copycodeHighlight.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/dev.gif b/tools/Sandcastle/Presentation/hana/icons/dev.gif Binary files differdeleted file mode 100644 index 376241d..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/dev.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/dev_arch.gif b/tools/Sandcastle/Presentation/hana/icons/dev_arch.gif Binary files differdeleted file mode 100644 index 12b5520..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/dev_arch.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/drpdown.gif b/tools/Sandcastle/Presentation/hana/icons/drpdown.gif Binary files differdeleted file mode 100644 index 9d3bbb6..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/drpdown.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/drpdown_orange.gif b/tools/Sandcastle/Presentation/hana/icons/drpdown_orange.gif Binary files differdeleted file mode 100644 index cf50c20..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/drpdown_orange.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/drpdown_orange_up.gif b/tools/Sandcastle/Presentation/hana/icons/drpdown_orange_up.gif Binary files differdeleted file mode 100644 index a173df1..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/drpdown_orange_up.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/drpup.gif b/tools/Sandcastle/Presentation/hana/icons/drpup.gif Binary files differdeleted file mode 100644 index de77198..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/drpup.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/exp.gif b/tools/Sandcastle/Presentation/hana/icons/exp.gif Binary files differdeleted file mode 100644 index 023b837..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/exp.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/expall.gif b/tools/Sandcastle/Presentation/hana/icons/expall.gif Binary files differdeleted file mode 100644 index 1a91b12..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/expall.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/expand_all.gif b/tools/Sandcastle/Presentation/hana/icons/expand_all.gif Binary files differdeleted file mode 100644 index 123fda9..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/expand_all.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/filter1a.gif b/tools/Sandcastle/Presentation/hana/icons/filter1a.gif Binary files differdeleted file mode 100644 index 8a2f9b5..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/filter1a.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/filter1c.gif b/tools/Sandcastle/Presentation/hana/icons/filter1c.gif Binary files differdeleted file mode 100644 index 49de223..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/filter1c.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/footer.gif b/tools/Sandcastle/Presentation/hana/icons/footer.gif Binary files differdeleted file mode 100644 index 7092cde..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/footer.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/greencheck.gif b/tools/Sandcastle/Presentation/hana/icons/greencheck.gif Binary files differdeleted file mode 100644 index 4ba1751..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/greencheck.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/greychck.gif b/tools/Sandcastle/Presentation/hana/icons/greychck.gif Binary files differdeleted file mode 100644 index adb8fa1..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/greychck.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/header_prev_next.jpg b/tools/Sandcastle/Presentation/hana/icons/header_prev_next.jpg Binary files differdeleted file mode 100644 index 2f53424..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/header_prev_next.jpg +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_blank.jpg b/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_blank.jpg Binary files differdeleted file mode 100644 index aca0566..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_blank.jpg +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_logo.GIF b/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_logo.GIF Binary files differdeleted file mode 100644 index e0b0bcc..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_logo.GIF +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/kw.gif b/tools/Sandcastle/Presentation/hana/icons/kw.gif Binary files differdeleted file mode 100644 index 40a943c..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/kw.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_adm.gif b/tools/Sandcastle/Presentation/hana/icons/kw_adm.gif Binary files differdeleted file mode 100644 index 6e05cc8..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/kw_adm.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_adm_arch.gif b/tools/Sandcastle/Presentation/hana/icons/kw_adm_arch.gif Binary files differdeleted file mode 100644 index 162c7d8..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/kw_adm_arch.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev.gif b/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev.gif Binary files differdeleted file mode 100644 index 2d67824..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev_arch.gif b/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev_arch.gif Binary files differdeleted file mode 100644 index 358f2fa..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev_arch.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_arch.gif b/tools/Sandcastle/Presentation/hana/icons/kw_arch.gif Binary files differdeleted file mode 100644 index ab5d3bb..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/kw_arch.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_dev.gif b/tools/Sandcastle/Presentation/hana/icons/kw_dev.gif Binary files differdeleted file mode 100644 index 6ff27ed..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/kw_dev.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_dev_arch.gif b/tools/Sandcastle/Presentation/hana/icons/kw_dev_arch.gif Binary files differdeleted file mode 100644 index 99f017a..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/kw_dev_arch.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/load.gif b/tools/Sandcastle/Presentation/hana/icons/load.gif Binary files differdeleted file mode 100644 index 9492447..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/load.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/load_hover.gif b/tools/Sandcastle/Presentation/hana/icons/load_hover.gif Binary files differdeleted file mode 100644 index 65f44aa..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/load_hover.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/note.gif b/tools/Sandcastle/Presentation/hana/icons/note.gif Binary files differdeleted file mode 100644 index 3393af3..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/note.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/pencil.GIF b/tools/Sandcastle/Presentation/hana/icons/pencil.GIF Binary files differdeleted file mode 100644 index 000dcb4..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/pencil.GIF +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/privclass.gif b/tools/Sandcastle/Presentation/hana/icons/privclass.gif Binary files differdeleted file mode 100644 index 0939694..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/privclass.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/privdelegate.gif b/tools/Sandcastle/Presentation/hana/icons/privdelegate.gif Binary files differdeleted file mode 100644 index d3aa8a6..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/privdelegate.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/privenum.gif b/tools/Sandcastle/Presentation/hana/icons/privenum.gif Binary files differdeleted file mode 100644 index 47f387e..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/privenum.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/privenumeration.gif b/tools/Sandcastle/Presentation/hana/icons/privenumeration.gif Binary files differdeleted file mode 100644 index 47f387e..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/privenumeration.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/privevent.gif b/tools/Sandcastle/Presentation/hana/icons/privevent.gif Binary files differdeleted file mode 100644 index 30db46d..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/privevent.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/privfield.gif b/tools/Sandcastle/Presentation/hana/icons/privfield.gif Binary files differdeleted file mode 100644 index cbf70f7..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/privfield.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/privinterface.gif b/tools/Sandcastle/Presentation/hana/icons/privinterface.gif Binary files differdeleted file mode 100644 index f3b7950..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/privinterface.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/privmethod.gif b/tools/Sandcastle/Presentation/hana/icons/privmethod.gif Binary files differdeleted file mode 100644 index 71f8822..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/privmethod.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/privproperty.gif b/tools/Sandcastle/Presentation/hana/icons/privproperty.gif Binary files differdeleted file mode 100644 index b1e8074..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/privproperty.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/privstructure.gif b/tools/Sandcastle/Presentation/hana/icons/privstructure.gif Binary files differdeleted file mode 100644 index ed6d1ef..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/privstructure.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/protclass.gif b/tools/Sandcastle/Presentation/hana/icons/protclass.gif Binary files differdeleted file mode 100644 index 0f92942..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/protclass.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/protdelegate.gif b/tools/Sandcastle/Presentation/hana/icons/protdelegate.gif Binary files differdeleted file mode 100644 index b209f2d..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/protdelegate.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/protenum.gif b/tools/Sandcastle/Presentation/hana/icons/protenum.gif Binary files differdeleted file mode 100644 index cc96bb6..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/protenum.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/protenumeration.gif b/tools/Sandcastle/Presentation/hana/icons/protenumeration.gif Binary files differdeleted file mode 100644 index cc96bb6..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/protenumeration.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/protevent.gif b/tools/Sandcastle/Presentation/hana/icons/protevent.gif Binary files differdeleted file mode 100644 index 0e510b2..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/protevent.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/protfield.gif b/tools/Sandcastle/Presentation/hana/icons/protfield.gif Binary files differdeleted file mode 100644 index 9ae6833..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/protfield.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/protinterface.gif b/tools/Sandcastle/Presentation/hana/icons/protinterface.gif Binary files differdeleted file mode 100644 index a1b96d2..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/protinterface.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/protmethod.gif b/tools/Sandcastle/Presentation/hana/icons/protmethod.gif Binary files differdeleted file mode 100644 index 2bc9468..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/protmethod.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/protoperator.gif b/tools/Sandcastle/Presentation/hana/icons/protoperator.gif Binary files differdeleted file mode 100644 index 2cb75ab..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/protoperator.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/protproperty.gif b/tools/Sandcastle/Presentation/hana/icons/protproperty.gif Binary files differdeleted file mode 100644 index 55473d1..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/protproperty.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/protstructure.gif b/tools/Sandcastle/Presentation/hana/icons/protstructure.gif Binary files differdeleted file mode 100644 index af356a1..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/protstructure.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/pubclass.gif b/tools/Sandcastle/Presentation/hana/icons/pubclass.gif Binary files differdeleted file mode 100644 index 1a968ab..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/pubclass.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/pubdelegate.gif b/tools/Sandcastle/Presentation/hana/icons/pubdelegate.gif Binary files differdeleted file mode 100644 index 0a43eb2..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/pubdelegate.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/pubenum.gif b/tools/Sandcastle/Presentation/hana/icons/pubenum.gif Binary files differdeleted file mode 100644 index 46888ad..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/pubenum.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/pubenumeration.gif b/tools/Sandcastle/Presentation/hana/icons/pubenumeration.gif Binary files differdeleted file mode 100644 index 46888ad..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/pubenumeration.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/pubevent.gif b/tools/Sandcastle/Presentation/hana/icons/pubevent.gif Binary files differdeleted file mode 100644 index b9226da..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/pubevent.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/pubfield.gif b/tools/Sandcastle/Presentation/hana/icons/pubfield.gif Binary files differdeleted file mode 100644 index 5aed175..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/pubfield.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/pubinterface.gif b/tools/Sandcastle/Presentation/hana/icons/pubinterface.gif Binary files differdeleted file mode 100644 index c38a4c4..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/pubinterface.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/pubmethod.gif b/tools/Sandcastle/Presentation/hana/icons/pubmethod.gif Binary files differdeleted file mode 100644 index 2c72988..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/pubmethod.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/puboperator.gif b/tools/Sandcastle/Presentation/hana/icons/puboperator.gif Binary files differdeleted file mode 100644 index 0ebe10a..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/puboperator.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/pubproperty.gif b/tools/Sandcastle/Presentation/hana/icons/pubproperty.gif Binary files differdeleted file mode 100644 index dfad7b4..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/pubproperty.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/pubstructure.gif b/tools/Sandcastle/Presentation/hana/icons/pubstructure.gif Binary files differdeleted file mode 100644 index 1344416..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/pubstructure.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/r_select.gif b/tools/Sandcastle/Presentation/hana/icons/r_select.gif Binary files differdeleted file mode 100644 index a66334b..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/r_select.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/r_select_hover.gif b/tools/Sandcastle/Presentation/hana/icons/r_select_hover.gif Binary files differdeleted file mode 100644 index 58444d6..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/r_select_hover.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/r_unselect.gif b/tools/Sandcastle/Presentation/hana/icons/r_unselect.gif Binary files differdeleted file mode 100644 index 8c5a85d..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/r_unselect.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/r_unselect_hover.gif b/tools/Sandcastle/Presentation/hana/icons/r_unselect_hover.gif Binary files differdeleted file mode 100644 index 58444d6..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/r_unselect_hover.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/requirements1a.gif b/tools/Sandcastle/Presentation/hana/icons/requirements1a.gif Binary files differdeleted file mode 100644 index 3b08793..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/requirements1a.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/requirements1c.gif b/tools/Sandcastle/Presentation/hana/icons/requirements1c.gif Binary files differdeleted file mode 100644 index d62bda3..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/requirements1c.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/save.gif b/tools/Sandcastle/Presentation/hana/icons/save.gif Binary files differdeleted file mode 100644 index 6a5177e..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/save.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/save_hover.gif b/tools/Sandcastle/Presentation/hana/icons/save_hover.gif Binary files differdeleted file mode 100644 index 7b62e92..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/save_hover.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/security.gif b/tools/Sandcastle/Presentation/hana/icons/security.gif Binary files differdeleted file mode 100644 index 48661ce..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/security.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/seealso1a.gif b/tools/Sandcastle/Presentation/hana/icons/seealso1a.gif Binary files differdeleted file mode 100644 index 2f5d50a..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/seealso1a.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/seealso1c.gif b/tools/Sandcastle/Presentation/hana/icons/seealso1c.gif Binary files differdeleted file mode 100644 index 84f79e7..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/seealso1c.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/static.gif b/tools/Sandcastle/Presentation/hana/icons/static.gif Binary files differdeleted file mode 100644 index c54022b..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/static.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_cnr.gif b/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_cnr.gif Binary files differdeleted file mode 100644 index 9653f83..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_cnr.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_grad.gif b/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_grad.gif Binary files differdeleted file mode 100644 index be9c0c5..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_grad.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_cnr.gif b/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_cnr.gif Binary files differdeleted file mode 100644 index ba65c4e..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_cnr.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_grad.gif b/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_grad.gif Binary files differdeleted file mode 100644 index 50fee8d..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_grad.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_cnr.gif b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_cnr.gif Binary files differdeleted file mode 100644 index 989a051..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_cnr.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_grad.gif b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_grad.gif Binary files differdeleted file mode 100644 index 1b5c283..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_grad.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_cnr.gif b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_cnr.gif Binary files differdeleted file mode 100644 index d748332..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_cnr.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_grad.gif b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_grad.gif Binary files differdeleted file mode 100644 index 31d4f87..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_grad.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/twirl_selected.gif b/tools/Sandcastle/Presentation/hana/icons/twirl_selected.gif Binary files differdeleted file mode 100644 index 4cfa69b..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/twirl_selected.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/twirl_selected_hover.gif b/tools/Sandcastle/Presentation/hana/icons/twirl_selected_hover.gif Binary files differdeleted file mode 100644 index f54afa1..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/twirl_selected_hover.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/twirl_unselected.gif b/tools/Sandcastle/Presentation/hana/icons/twirl_unselected.gif Binary files differdeleted file mode 100644 index 97a1ea8..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/twirl_unselected.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/twirl_unselected_hover.gif b/tools/Sandcastle/Presentation/hana/icons/twirl_unselected_hover.gif Binary files differdeleted file mode 100644 index 5a7352a..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/twirl_unselected_hover.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/icons/xna.gif b/tools/Sandcastle/Presentation/hana/icons/xna.gif Binary files differdeleted file mode 100644 index 9e6a9d4..0000000 --- a/tools/Sandcastle/Presentation/hana/icons/xna.gif +++ /dev/null diff --git a/tools/Sandcastle/Presentation/hana/transforms/globalTemplates.xsl b/tools/Sandcastle/Presentation/hana/transforms/globalTemplates.xsl deleted file mode 100644 index 0136289..0000000 --- a/tools/Sandcastle/Presentation/hana/transforms/globalTemplates.xsl +++ /dev/null @@ -1,171 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" - xmlns:MSHelp="http://msdn.microsoft.com/mshelp" - xmlns:mshelp="http://msdn.microsoft.com/mshelp" - xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:msxsl="urn:schemas-microsoft-com:xslt" - > - - <xsl:template name="autogenSeeAlsoLinks"> - - <!-- a link to the containing type on all list and member topics --> - <xsl:if test="$group='member' or $group='list'"> - <xsl:variable name="typeTopicId"> - <xsl:choose> - <xsl:when test="/document/reference/topicdata/@typeTopicId"> - <xsl:value-of select="/document/reference/topicdata/@typeTopicId"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/containers/type/@api"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <div class="seeAlsoStyle"> - <referenceLink target="{$typeTopicId}" display-target="format"> - <include item="SeeAlsoTypeLinkText"> - <parameter>{0}</parameter> - <parameter> - <xsl:choose> - <xsl:when test="/document/reference/topicdata/@typeTopicId"> - <xsl:value-of select="/document/reference/apidata/@subgroup"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/containers/type/apidata/@subgroup"/> - </xsl:otherwise> - </xsl:choose> - </parameter> - </include> - </referenceLink> - </div> - </xsl:if> - - <!-- a link to the type's All Members list --> - <xsl:variable name="allMembersTopicId"> - <xsl:choose> - <xsl:when test="/document/reference/topicdata/@allMembersTopicId"> - <xsl:value-of select="/document/reference/topicdata/@allMembersTopicId"/> - </xsl:when> - <xsl:when test="$group='member' or ($group='list' and $subgroup='overload')"> - <xsl:value-of select="/document/reference/containers/type/topicdata/@allMembersTopicId"/> - </xsl:when> - </xsl:choose> - </xsl:variable> - <xsl:if test="normalize-space($allMembersTopicId) and not($allMembersTopicId=$key)"> - <div class="seeAlsoStyle"> - <referenceLink target="{$allMembersTopicId}" display-target="format"> - <include item="SeeAlsoMembersLinkText"> - <parameter>{0}</parameter> - </include> - </referenceLink> - </div> - </xsl:if> - - <xsl:if test="/document/reference/memberdata/@overload"> - <!-- a link to the overload topic --> - <div class="seeAlsoStyle"> - <referenceLink target="{/document/reference/memberdata/@overload}" display-target="format" show-parameters="false"> - <include item="SeeAlsoOverloadLinkText"> - <parameter>{0}</parameter> - </include> - </referenceLink> - </div> - </xsl:if> - - <!-- a link to the namespace topic --> - <xsl:variable name="namespaceId"> - <xsl:value-of select="/document/reference/containers/namespace/@api"/> - </xsl:variable> - <xsl:if test="normalize-space($namespaceId)"> - <div class="seeAlsoStyle"> - <referenceLink target="{$namespaceId}" display-target="format"> - <include item="SeeAlsoNamespaceLinkText"> - <parameter>{0}</parameter> - </include> - </referenceLink> - </div> - </xsl:if> - - </xsl:template> - - <xsl:variable name="typeId"> - <xsl:choose> - <xsl:when test="/document/reference/topicdata[@group='api'] and /document/reference/apidata[@group='type']"> - <xsl:value-of select="$key"/> - </xsl:when> - <xsl:when test="/document/reference/topicdata/@typeTopicId"> - <xsl:value-of select="/document/reference/topicdata/@typeTopicId"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/containers/type/@api"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <!-- indent by 2*n spaces --> - <xsl:template name="indent"> - <xsl:param name="count" /> - <xsl:if test="$count > 1"> - <xsl:text>  </xsl:text> - <xsl:call-template name="indent"> - <xsl:with-param name="count" select="$count - 1" /> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <!-- Gets the substring after the last occurence of a period in a given string --> - <xsl:template name="subString"> - <xsl:param name="name" /> - - <xsl:choose> - <xsl:when test="contains($name, '.')"> - <xsl:call-template name="subString"> - <xsl:with-param name="name" select="substring-after($name, '.')" /> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$name" /> - </xsl:otherwise> - </xsl:choose> - - </xsl:template> - - <xsl:template name="codeSection"> - - <table width="100%" cellspacing="0" cellpadding="0"> - <tr> - <th> - <span class="copyCode" onclick="CopyCode(this)" onkeypress="CopyCode_CheckKey(this, event)" onmouseover="ChangeCopyCodeIcon(this)" onmouseout="ChangeCopyCodeIcon(this)" tabindex="0"> - <img class="copyCodeImage" name="ccImage" align="absmiddle"> - <includeAttribute name="title" item="copyImage" /> - <includeAttribute name="src" item="iconPath"> - <parameter>copycode.gif</parameter> - </includeAttribute> - </img> - <include item="copyCode"/> - </span> - </th> - </tr> - <tr> - <td colspan="2"> - <pre><xsl:text/><xsl:copy-of select="node()"/><xsl:text/></pre> - </td> - </tr> - </table> - - </xsl:template> - - <xsl:template name="languageCheck"> - <xsl:param name="codeLanguage"/> - - <xsl:if test="$languages != 'false'"> - <xsl:if test="count($languages/language) > 0"> - <xsl:for-each select="$languages/language"> - <xsl:if test="$codeLanguage = @name"> - <xsl:value-of select="@style"/> - </xsl:if> - </xsl:for-each> - </xsl:if> - </xsl:if> - </xsl:template> - -</xsl:stylesheet>
\ No newline at end of file diff --git a/tools/Sandcastle/Presentation/hana/transforms/htmlBody.xsl b/tools/Sandcastle/Presentation/hana/transforms/htmlBody.xsl deleted file mode 100644 index c52aca7..0000000 --- a/tools/Sandcastle/Presentation/hana/transforms/htmlBody.xsl +++ /dev/null @@ -1,506 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" - xmlns:MSHelp="http://msdn.microsoft.com/mshelp" - xmlns:mshelp="http://msdn.microsoft.com/mshelp" - xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:msxsl="urn:schemas-microsoft-com:xslt" - > - - <xsl:import href="globalTemplates.xsl"/> - <xsl:template name="upperBodyStuff"> - <input type="hidden" id="userDataCache" class="userDataStyle"/> - <input type="hidden" id="hiddenScrollOffset"/> - - <xsl:call-template name="commonImages"/> - - <xsl:call-template name="bodyHeader"/> - - </xsl:template> - - <xsl:template name="bodyHeader"> - <div id="header"> - <xsl:call-template name="bodyHeaderTopTable"/> - </div> - </xsl:template> - - <xsl:template name="bodyHeaderTopTable"> - <table id="topTable"> - <tr id="headerTableRow3"> - <td> - <xsl:call-template name="headerRowLinks"/> - </td> - </tr> - <tr id="headerTableRow1"> - <td align="left"> - <span id="runningHeaderText"> - <xsl:call-template name="runningHeader" /> - </span> - </td> - </tr> - <tr id="headerTableRow2"> - <td align="left"> - <span id="nsrTitle"> - <xsl:call-template name="topicTitleDecorated"/> - </span> - </td> - </tr> - <tr> - <td class="nsrBottom"> - <includeAttribute name="background" item="iconPath"> - <parameter>NSRbottomgrad.gif</parameter> - </includeAttribute> - </td> - </tr> - </table> - </xsl:template> - - <xsl:template name="headerRowLinks"> - <!-- most mref topics get autogenerated see also links to see also section --> - - <span onclick="ExpandCollapseAll(toggleAllImage)" style="cursor:default;" onkeypress="ExpandCollapseAll_CheckKey(toggleAllImage, event)" tabindex="0"> - <img ID="toggleAllImage" class="toggleAll"> - <includeAttribute name="src" item="iconPath"> - <parameter>collall.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="collapseAllImage" /> - </img> - <label id="collapseAllLabel" for="toggleAllImage" style="display: none;"> - <include item="collapseAll"/> - </label> - <label id="expandAllLabel" for="toggleAllImage" style="display: none;"> - <include item="expandAll"/> - </label> - <xsl:text> </xsl:text> - </span> - - <xsl:if test="$languages != 'false'"> - <xsl:if test="count($languages/language) > 0"> - <xsl:text> | </xsl:text> - <xsl:call-template name="languageFilterToolTip"/> - <xsl:call-template name="languageSpan"/> - </xsl:if> - </xsl:if> - - - <!-- include Example link if there's an Example section --> - <xsl:choose> - <xsl:when test="$examplesSection"> - <xsl:text> | </xsl:text> - <a href="#exampleToggle" onclick="OpenSection(exampleToggle)"> - <xsl:text/> - <include item="Example"/> - <xsl:text/> - </a> - </xsl:when> - </xsl:choose> - - <!-- class, structure, and interface About topics get link to Members topic (unless the doc model has the all members lists on the type topic) --> - <xsl:choose> - <xsl:when test="normalize-space(/document/reference/topicdata/@allMembersTopicId)"> - <xsl:text> | </xsl:text> - <referenceLink target="{/document/reference/topicdata/@allMembersTopicId}"> - <include item="allMembersTitle"/> - </referenceLink> - </xsl:when> - <xsl:when test="count(/document/reference/elements/element) > 0 and ($subgroup='class' or $subgroup='structure' or $subgroup='interface')"> - <xsl:text> | </xsl:text> - <a href="#membersToggle" onclick="OpenSection(membersToggle)"> - <xsl:text/> - <include item="allMembersTitle"/> - <xsl:text/> - </a> - </xsl:when> - </xsl:choose> - - <xsl:if test="$hasSeeAlsoSection"> - <xsl:text> | </xsl:text> - <a href="#seeAlsoToggle" onclick="OpenSection(seeAlsoToggle)"> - <xsl:text/> - <include item="SeeAlso"/> - <xsl:text/> - </a> - </xsl:if> - - <!--all members only --> - <xsl:if test="$subgroup='members'"> - <xsl:variable name="visibility"> - <xsl:for-each select="/document/reference/elements/element"> - <xsl:choose> - <xsl:when test="memberdata[@visibility = 'public']"> - <xsl:choose> - <xsl:when test="not(apidata[@subsubgroup])"> - <xsl:value-of select="concat('Public', apidata/@subgroup, ';')"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat('Public', apidata/@subsubgroup, ';')"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="memberdata[@visibility = 'private'] and not(proceduredata[@virtual = 'true'])"> - <xsl:choose> - <xsl:when test="not(apidata[@subsubgroup])"> - <xsl:value-of select="concat('Private', apidata/@subgroup, ';')"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat('Private', apidata/@subsubgroup, ';')"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="memberdata[@visibility = 'private'] and proceduredata[@virtual = 'true']"> - explicit; - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="not(apidata[@subsubgroup])"> - <xsl:value-of select="concat('Protected', apidata/@subgroup, ';')"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat('Protected', apidata/@subsubgroup, ';')"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:for-each> - </xsl:variable> - - - <xsl:for-each select="/document/reference/elements/element"> - <xsl:variable name="subgroup" select="apidata/@subgroup"/> - <xsl:variable name="subsubgroup" select="apidata/@subsubgroup" /> - <xsl:if test="not(preceding-sibling::element[apidata[@subgroup=$subgroup]]) and not($subsubgroup='attachedProperty' or $subsubgroup='attachedEvent')"> - <xsl:if test="not($subsubgroup)"> - <xsl:variable name="elementVisibility"> - <xsl:choose> - <xsl:when test="contains($visibility, concat('Public', $subgroup))"> - <xsl:value-of select="concat('Public', $subgroup)"/> - </xsl:when> - <xsl:when test="contains($visibility, concat('Private', $subgroup))"> - <xsl:value-of select="concat('Private', $subgroup)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat('Protected', $subgroup)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <!-- add a link to the member list section for this subgroup --> - <a href="#{$elementVisibility}Toggle" onclick="OpenSection({$elementVisibility}Toggle)"> - <xsl:text/> - <include item="{$subgroup}Group"/> - <xsl:text/> - </a>  - </xsl:if> - </xsl:if> - <xsl:if test="not(preceding-sibling::element[apidata[@subsubgroup=$subsubgroup]]) and ($subsubgroup='attachedProperty' or $subsubgroup='attachedEvent')"> - <xsl:variable name="elementVisibility"> - <xsl:choose> - <xsl:when test="contains($visibility, concat('Public', $subsubgroup))"> - <xsl:value-of select="concat('Public', $subsubgroup)"/> - </xsl:when> - <xsl:when test="contains($visibility, concat('Private', $subsubgroup))"> - <xsl:value-of select="concat('Private', $subsubgroup)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat('Protected', $subsubgroup)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <!-- add a link to the member list section for this subgroup --> - <a href="#{$elementVisibility}Toggle" onclick="OpenSection({$elementVisibility}Toggle)"> - <xsl:text/> - <include item="{$subsubgroup}Group"/> - <xsl:text/> - </a>  - </xsl:if> - </xsl:for-each> - - <xsl:if test="contains($visibility, 'explicit')"> - <a href="#ExplicitInterfaceImplementationToggle" onclick="OpenSection(ExplicitInterfaceImplementationSection)"> - <xsl:text/> - <include item="ExplicitInterfaceImplementation"/> - <xsl:text/> - </a>  - </xsl:if> - </xsl:if> - - </xsl:template> - - <xsl:template name="bodyHeaderBottomTable"> - <table id="bottomTable" cellspacing="0" cellpadding="0"> - <tr> - <td> - <span onclick="ExpandCollapseAll(toggleAllImage)" style="cursor:default;" onkeypress="ExpandCollapseAll_CheckKey(toggleAllImage, event)" tabindex="0"> - <img ID="toggleAllImage" class="toggleAll"> - <includeAttribute name="src" item="iconPath"> - <parameter>collall.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="collapseAllImage" /> - </img> - <label id="collapseAllLabel" for="toggleAllImage" style="display: none;"> - <include item="collapseAll"/> - </label> - <label id="expandAllLabel" for="toggleAllImage" style="display: none;"> - <include item="expandAll"/> - </label> - <xsl:text> </xsl:text> - </span> - - <xsl:text> </xsl:text> - - <xsl:call-template name="languageFilterToolTip"/> - - </td> - </tr> - </table> - </xsl:template> - - <xsl:template name="languageFilterToolTip"> - <span id="languageFilterToolTip" style="cursor:default;" onmouseover="languageFilterImage.src=dropDownHoverImage.src;" onmouseout="languageFilterImage.src=dropDownImage.src;" tabindex="0"> - <img id="languageFilterImage"> - <includeAttribute name="src" item="iconPath"> - <parameter>twirl_unselected.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="dropDownImage" /> - </img> - <xsl:for-each select="$languages/language"> - <label id="{@name}Label" for="languageFilterImage" style="display: none;"> - <include item="languageFilter"> - <parameter> - <include item="{@label}Label"/> - </parameter> - </include> - </label> - </xsl:for-each> - </span> - </xsl:template> - - <xsl:template name="membersOptionsSpan"> - <div id="membersOptionsSpan"> - <input id="inheritedCheckbox" type='checkbox' name="membersOptionsFilter" onClick="SetMembersOptions(this)"/> - <label class="membersOptionsFilter" for="inheritedCheckbox"> - <include item="includeInheritedMembers"/> - </label> - <br/> - <input id="protectedCheckbox" type='checkbox' name="membersOptionsFilter" onClick="SetMembersOptions(this)"/> - <label class="membersOptionsFilter" for="protectedCheckbox"> - <include item="includeProtectedMembers"/> - </label> - <br/> - <input id="netcfCheckbox" type='checkbox' name="membersOptionsFilter" onClick="SetMembersOptions(this)"/> - <label class="membersOptionsFilter" for="netcfCheckbox"> - <include item="netcfMembersOnly"/> - </label> - <br/> - <!-- add a checkbox for XNA filtering --> - <input id="netXnaCheckbox" type='checkbox' name="membersOptionsFilter" onClick="SetMembersOptions(this)"/> - <label class="membersOptionsFilter" for="netXnaCheckbox"> - <include item="netXnaMembersOnly"/> - </label> - </div> - </xsl:template> - - <xsl:template name="membersOptionsFilterToolTip"> - <span id="membersOptionsFilterToolTip" style="cursor:default;" onmouseover="membersOptionsFilterImage.src=dropDownHoverImage.src;" onmouseout="membersOptionsFilterImage.src=dropDownImage.src;" tabindex="0"> - <img id="membersOptionsFilterImage"> - <includeAttribute name="src" item="iconPath"> - <parameter>drpdown.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="dropDownImage" /> - </img> - <label id="showAllMembersLabel" for="membersOptionsFilterImage" style="display: none;"> - <include item="membersOptionsShowAll"/> - </label> - <label id="filteredMembersLabel" for="membersOptionsFilterImage" style="display: none;"> - <include item="membersOptionsFiltered"/> - </label> - </span> - </xsl:template> - - <xsl:template name="languageSpan"> - <div id="languageSpan"> - <xsl:for-each select="$languages/language"> - <div id="{@name}" onclick="changeLanguage(data, '{@name}', '{@style}');"> - <img id="{@name}Image" onmouseover="mouseOverCheck({@name}Image,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" onmouseout="mouseOutCheck({@name}Image,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>r_unselect.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="{@label}Label" /> - </div> - <br /> - </xsl:for-each> - </div> - </xsl:template> - - - - <!-- image links -current ndppick XSLT behavior: -expandAllImage - all -dropDownImage - not namespace or derivedTypeList -dropDownHoverImage - not namespace or derivedTypeList -collapseImage - all -expandImage - all -collapseAllImage - all -copyImage - overview (not namespace); list (only overload lists ctor, method, prop) -copyHoverImage - overview (not namespace); list (only overload lists ctor, method, prop) - --> - <xsl:template name="commonImages"> - <img id="collapseImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>collapse_all.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="collapseImage" /> - </img> - <img id="expandImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>expand_all.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="expandImage" /> - </img> - <img id="collapseAllImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>collall.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="collapseAllImage" /> - </img> - <img id="expandAllImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>expall.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="expandAllImage" /> - </img> - <img id="dropDownImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>twirl_unselected.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="dropDownImage" /> - </img> - <img id="dropDownHoverImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>twirl_unselected_hover.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="dropDownHoverImage" /> - </img> - <img id="copyImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>copycode.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="copyImage" /> - </img> - <img id="copyHoverImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>copycodeHighlight.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="copyHoverImage" /> - </img> - <img id="checkBoxSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <img id="checkBoxUnSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_unselected.gif</parameter> - </includeAttribute> - </img> - <img id="checkBoxSelectHoverImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected_hover.gif</parameter> - </includeAttribute> - </img> - <img id="checkBoxUnSelectHoverImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_unselected_hover.gif</parameter> - </includeAttribute> - </img> - <img id="radioSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>r_select.gif</parameter> - </includeAttribute> - </img> - <img id="radioUnSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>r_unselect.gif</parameter> - </includeAttribute> - </img> - <img id="radioSelectHoverImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>r_select_hover.gif</parameter> - </includeAttribute> - </img> - <img id="radioUnSelectHoverImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>r_unselect_hover.gif</parameter> - </includeAttribute> - </img> - <img id="curvedLeftSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>tab_sel_lft_cnr.gif</parameter> - </includeAttribute> - </img> - <img id="curvedRightSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>tab_sel_rt_cnr.gif</parameter> - </includeAttribute> - </img> - <img id="curvedLeftUnSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>tab_unsel_lft_cnr.gif</parameter> - </includeAttribute> - </img> - <img id="curvedRightUnSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>tab_unsel_rt_cnr.gif</parameter> - </includeAttribute> - </img> - <img id="gradLeftSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>tab_sel_lft_grad.gif</parameter> - </includeAttribute> - </img> - <img id="gradRightSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>tab_sel_rt_grad.gif</parameter> - </includeAttribute> - </img> - <img id="gradLeftUnSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>tab_unsel_lft_grad.gif</parameter> - </includeAttribute> - </img> - <img id="gradRightUnSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>tab_unsel_rt_grad.gif</parameter> - </includeAttribute> - </img> - <img id="twirlSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>twirl_selected.gif</parameter> - </includeAttribute> - </img> - <img id="twirlUnSelectImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>twirl_unselected.gif</parameter> - </includeAttribute> - </img> - <img id="twirlSelectHoverImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>twirl_selected_hover.gif</parameter> - </includeAttribute> - </img> - <img id="twirlUnSelectHoverImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>twirl_unselected_hover.gif</parameter> - </includeAttribute> - </img> - <img id="NSRBottomImage" style="display:none; height:0; width:0;"> - <includeAttribute name="src" item="iconPath"> - <parameter>NSRbottomgrad.gif</parameter> - </includeAttribute> - </img> - </xsl:template> - - -</xsl:stylesheet>
\ No newline at end of file diff --git a/tools/Sandcastle/Presentation/hana/transforms/main_conceptual.xsl b/tools/Sandcastle/Presentation/hana/transforms/main_conceptual.xsl deleted file mode 100644 index 1bd4c7e..0000000 --- a/tools/Sandcastle/Presentation/hana/transforms/main_conceptual.xsl +++ /dev/null @@ -1,451 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1" - xmlns:MSHelp="http://msdn.microsoft.com/mshelp" - xmlns:mshelp="http://msdn.microsoft.com/mshelp" - xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:msxsl="urn:schemas-microsoft-com:xslt" - > - - <xsl:output method="xml" indent="no" encoding="utf-8" /> - - <xsl:include href="htmlBody.xsl" /> - <xsl:include href="utilities_dduexml.xsl" /> - - <xsl:variable name="hasSeeAlsoSection" select="boolean(count(/document/topic/*/ddue:relatedTopics/*[local-name()!='sampleRef']) > 0)"/> - <xsl:variable name="examplesSection" select="boolean(string-length(/document/topic/*/ddue:codeExample[normalize-space(.)]) > 0)"/> - <xsl:variable name="languageFilterSection" select="normalize-space(/document/topic/*/ddue:codeExample) - or normalize-space(/document/topic/*//ddue:snippets/ddue:snippet) - or /document/topic/ddue:developerSampleDocument/ddue:relatedTopics/ddue:sampleRef[@srcID]" /> - <xsl:variable name="group" select="/document/reference/apidata/@group" /> - <xsl:variable name="subgroup" select="/document/reference/apidata/@subgroup" /> - <xsl:variable name="subsubgroup" select="/document/reference/apidata/@subsubgroup" /> - <xsl:variable name="pseudo" select="boolean(/document/reference/apidata[@pseudo='true'])"/> - <!-- key parameter is the api identifier string --> - <xsl:param name="key" /> - <xsl:param name="metadata" value="false" /> - <xsl:param name="languages">false</xsl:param> - - <xsl:template match="/document"> - <html> - <head> - <META NAME="save" CONTENT="history"/> - <title> - <xsl:call-template name="topicTitlePlain"/> - </title> - <xsl:call-template name="insertStylesheets" /> - <xsl:call-template name="insertScripts" /> - <xsl:call-template name="insertMetadata" /> - </head> - <body> - <xsl:call-template name="upperBodyStuff"/> - <xsl:call-template name="main"/> - </body> - </html> - </xsl:template> - - <!-- document head --> - - <xsl:template name="insertStylesheets"> - <link rel="stylesheet" type="text/css" href="../styles/presentation.css" /> - <!-- make mshelp links work --> - <link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" /> - <link rel="stylesheet" type="text/css" href="ms-help://Dx/DxRuntime/DxLink.css" /> - </xsl:template> - - <xsl:template name="insertScripts"> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"> - <parameter>EventUtilities.js</parameter> - </includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"> - <parameter>SplitScreen.js</parameter> - </includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"> - <parameter>Dropdown.js</parameter> - </includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"> - <parameter>script_manifold.js</parameter> - </includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"> - <parameter>LanguageFilter.js</parameter> - </includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"> - <parameter>DataStore.js</parameter> - </includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"> - <parameter>CommonUtilities.js</parameter> - </includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"> - <parameter>MemberFilter.js</parameter> - </includeAttribute> - <xsl:text> </xsl:text> - </script> - </xsl:template> - - <xsl:template name="insertMetadata"> - <xsl:if test="$metadata='true'"> - <xml> - <!-- mshelp metadata --> - - <!-- insert toctitle --> - <MSHelp:TOCTitle Title="{/document/metadata/tableOfContentsTitle}" /> - - <!-- link index --> - <MSHelp:Keyword Index="A" Term="{$key}" /> - - <!-- authored K --> - <xsl:variable name="docset" select="translate(/document/metadata/attribute[@name='DocSet'][1]/text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz ')"/> - <xsl:for-each select="/document/metadata/keyword[@index='K']"> - <xsl:variable name="nestedKeywordText"> - <xsl:call-template name="nestedKeywordText"/> - </xsl:variable> - <MSHelp:Keyword Index="K"> - <xsl:choose> - <xsl:when test="normalize-space($docset)='' or contains(text(),'[')"> - <xsl:attribute name="Term"> - <xsl:value-of select="concat(text(),$nestedKeywordText)"/> - </xsl:attribute> - </xsl:when> - <xsl:otherwise> - <includeAttribute name="Term" item="kIndexTermWithTechQualifier"> - <parameter><xsl:value-of select="text()"/></parameter> - <parameter><xsl:value-of select="$docset"/></parameter> - <parameter><xsl:value-of select="$nestedKeywordText"/></parameter> - </includeAttribute> - </xsl:otherwise> - </xsl:choose> - </MSHelp:Keyword> - </xsl:for-each> - - <!-- authored F --> - <xsl:for-each select="/document/metadata/keyword[@index='F']"> - <MSHelp:Keyword Index="F"> - <xsl:attribute name="Term"> - <xsl:value-of select="text()" /> - <xsl:for-each select="keyword[@index='F']"> - <xsl:text>, </xsl:text> - <xsl:value-of select="text()"/> - </xsl:for-each> - </xsl:attribute> - </MSHelp:Keyword> - </xsl:for-each> - - <!-- authored B --> - <xsl:for-each select="/document/metadata/keyword[@index='B']"> - <MSHelp:Keyword Index="B"> - <xsl:attribute name="Term"> - <xsl:value-of select="text()" /> - <xsl:for-each select="keyword[@index='B']"> - <xsl:text>, </xsl:text> - <xsl:value-of select="text()"/> - </xsl:for-each> - </xsl:attribute> - </MSHelp:Keyword> - </xsl:for-each> - - <!-- Topic version --> - <MSHelp:Attr Name="RevisionNumber" Value="{/document/topic/@revisionNumber}" /> - - <!-- Asset ID --> - <MSHelp:Attr Name="AssetID" Value="{/document/topic/@id}" /> - - <!-- Abstract --> - <xsl:variable name="abstract" select="string(/document/topic//ddue:para[1])" /> - <xsl:choose> - <xsl:when test="string-length($abstract) > 254"> - <MSHelp:Attr Name="Abstract" Value="{concat(substring($abstract,1,250), ' ...')}" /> - </xsl:when> - <xsl:when test="string-length($abstract) > 0"> - <MSHelp:Attr Name="Abstract" Value="{$abstract}" /> - </xsl:when> - </xsl:choose> - - <!-- authored attributes --> - <xsl:for-each select="/document/metadata/attribute"> - <MSHelp:Attr Name="{@name}" Value="{text()}" /> - </xsl:for-each> - - <!-- TopicType attribute --> - <xsl:for-each select="/document/topic/*[1]"> - <MSHelp:Attr Name="TopicType"> - <includeAttribute name="Value" item="TT_{local-name()}"/> - </MSHelp:Attr> - </xsl:for-each> - - <!-- Locale attribute --> - <MSHelp:Attr Name="Locale"> - <includeAttribute name="Value" item="locale"/> - </MSHelp:Attr> - - </xml> - </xsl:if> - </xsl:template> - - <xsl:template name="nestedKeywordText"> - <xsl:for-each select="keyword[@index='K']"> - <xsl:text>, </xsl:text> - <xsl:value-of select="text()"/> - </xsl:for-each> - </xsl:template> - - <!-- document body --> - - <!-- Title in topic --> - - <xsl:template name="topicTitleDecorated"> - <xsl:call-template name="topicTitle" /> - </xsl:template> - - <xsl:template name="topicTitlePlain"> - <xsl:call-template name="topicTitle" /> - </xsl:template> - - <xsl:template name="topicTitle"> - <xsl:choose> - <xsl:when test="normalize-space(/document/metadata/title)"> - <xsl:value-of select="normalize-space(/document/metadata/title)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="normalize-space(/document/topic/*/ddue:title)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- Title in TOC --> - - <!-- Index entry --> - - <!-- main window --> - - <xsl:template name="main"> - <div id="mainSection"> - - <div id="mainBody"> - <div id="allHistory" class="saveHistory" onsave="saveAll()" onload="loadAll()"/> - <xsl:call-template name="head" /> - <xsl:call-template name="body" /> - <xsl:call-template name="foot" /> - </div> - </div> - - </xsl:template> - - <xsl:template name="head"> - <include item="header" /> - </xsl:template> - - <xsl:template name="body"> - <xsl:apply-templates select="topic" /> - </xsl:template> - - <!-- sections that behave differently in conceptual and reference --> - - <xsl:template match="ddue:title"> - <!-- don't print title --> - </xsl:template> - - <xsl:template match="ddue:introduction"> - <xsl:apply-templates select="@address" /> - <div class="introduction"> - <xsl:apply-templates /> - </div> - </xsl:template> - - <xsl:template match="ddue:parameters"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'parameters'"/> - <xsl:with-param name="title"><include item="parametersTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:returnValue"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'returnValue'"/> - <xsl:with-param name="title"><include item="returnValueTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:exceptions"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'ddueExceptions'"/> - <xsl:with-param name="title"><include item="exceptionsTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:relatedSections"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'relatedSections'"/> - <xsl:with-param name="title"><include item="relatedSectionsTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:relatedTopics"> - <xsl:if test="$hasSeeAlsoSection"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'seeAlso'"/> - <xsl:with-param name="title"> - <include item="relatedTopicsTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - - <!-- Concepts sub-section --> - <xsl:if test="normalize-space(ddue:link) or normalize-space(ddue:dynamicLink[@type='inline'])"> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include item="SeeAlsoConcepts"/> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:for-each select="*"> - <xsl:if test="name() = 'link' or (name() = 'dynamicLink' and @type = 'inline') or (name() = 'legacyLink' and not(starts-with(@xlink:href,'frlrf') - or starts-with(@xlink:href,'N:') or starts-with(@xlink:href,'T:') or starts-with(@xlink:href,'M:') or starts-with(@xlink:href,'P:') - or starts-with(@xlink:href,'F:') or starts-with(@xlink:href,'E:') or starts-with(@xlink:href,'Overload:')))"> - <div class="seeAlsoStyle"> - <xsl:apply-templates select="."/> - </div> - </xsl:if> - </xsl:for-each> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - - <!-- Reference sub-section --> - <xsl:if test="normalize-space(ddue:codeEntityReference)"> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include item="SeeAlsoReference"/> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:for-each select="*"> - <xsl:if test="name() = 'codeEntityReference' or (name() = 'legacyLink' and (starts-with(@xlink:href,'frlrf') - or starts-with(@xlink:href,'N:') or starts-with(@xlink:href,'T:') or starts-with(@xlink:href,'M:') or starts-with(@xlink:href,'P:') - or starts-with(@xlink:href,'F:') or starts-with(@xlink:href,'E:') or starts-with(@xlink:href,'Overload:')))"> - <div class="seeAlsoStyle"> - <xsl:apply-templates select="."/> - </div> - </xsl:if> - </xsl:for-each> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - - <!-- Other Resources sub-section --> - <xsl:if test="ddue:externalLink"> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include item="SeeAlsoOtherResources"/> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:for-each select="*"> - <xsl:if test="name() = 'externalLink'"> - <div class="seeAlsoStyle"> - <xsl:apply-templates select="."/> - </div> - </xsl:if> - </xsl:for-each> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:codeExample"> - <!-- create Example section for the first codeExample node --> - <xsl:if test="not(preceding-sibling::ddue:codeExample) and ../ddue:codeExample[normalize-space(.)!='']"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'example'"/> - <xsl:with-param name="title"> - <include item="Example" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - <!-- if there are additional codeExample nodes, put them inside this section --> - <xsl:for-each select="following-sibling::ddue:codeExample"> - <xsl:apply-templates /> - </xsl:for-each> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:codeReference"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template name="runningHeader"> - <xsl:variable name="runningHeaderText"> - <xsl:value-of select="/document/metadata/runningHeaderText/@uscid"/> - </xsl:variable> - <include item="{$runningHeaderText}" /> - </xsl:template> - - <!-- Footer stuff --> - - <xsl:template name="foot"> - <div id="footer"> - <div class="footerLine"> - <img width="100%" height="3px"> - <includeAttribute name="src" item="iconPath"> - <parameter>footer.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="footerImage" /> - </img> - </div> - - <include item="footer"> - <parameter> - <xsl:value-of select="$key"/> - </parameter> - <parameter> - <xsl:call-template name="topicTitlePlain"/> - </parameter> - </include> - </div> - </xsl:template> - - -</xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/hana/transforms/main_reference.xsl b/tools/Sandcastle/Presentation/hana/transforms/main_reference.xsl deleted file mode 100644 index efb7300..0000000 --- a/tools/Sandcastle/Presentation/hana/transforms/main_reference.xsl +++ /dev/null @@ -1,449 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1" - xmlns:MSHelp="http://msdn.microsoft.com/mshelp" - xmlns:mshelp="http://msdn.microsoft.com/mshelp" - xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:msxsl="urn:schemas-microsoft-com:xslt" - > - - <!-- stuff specific to comments authored in DDUEXML --> - - <xsl:include href="utilities_reference.xsl" /> - <xsl:include href="utilities_dduexml.xsl" /> - <xsl:include href="htmlBody.xsl"/> - - <xsl:variable name="summary" select="normalize-space(/document/comments/ddue:dduexml/ddue:summary)" /> - - <xsl:variable name="abstractSummary"> - <xsl:for-each select="/document/comments/ddue:dduexml/ddue:summary"> - <xsl:apply-templates select="." mode="abstract" /> - </xsl:for-each> - </xsl:variable> - - <xsl:variable name="hasSeeAlsoSection" - select="boolean( - (count(/document/comments/ddue:dduexml/ddue:relatedTopics/*) > 0) or - ($group='type' or $group='member' or $group='list') - )"/> - <xsl:variable name="examplesSection" select="boolean(string-length(/document/comments/ddue:dduexml/ddue:codeExamples[normalize-space(.)]) > 0)"/> - <xsl:variable name="languageFilterSection" select="boolean(string-length(/document/comments/ddue:dduexml/ddue:codeExamples[normalize-space(.)]) > 0)" /> - <xsl:template name="body"> - - <!--internalOnly boilerplate --> - <xsl:call-template name="internalOnly"/> - - <!-- obsolete boilerplate --> - <xsl:if test="/document/reference/attributes/attribute/type[@api='T:System.ObsoleteAttribute']"> - <xsl:call-template name="obsoleteSection" /> - </xsl:if> - - <!-- HostProtectionAttribute boilerplate --> - <xsl:if test="/document/reference/attributes/attribute/type[@api='T:System.Security.Permissions.HostProtectionAttribute']"> - <p> - <include item="hostProtectionAttributeLong"> - <parameter> - <xsl:value-of select="concat($subgroup, 'Lower')"/> - </parameter> - <parameter> - <b> - <xsl:for-each select="/document/reference/attributes/attribute[type[@api='T:System.Security.Permissions.HostProtectionAttribute']]/assignment"> - <xsl:value-of select="@name"/> - <xsl:if test="position() != last()"> - <xsl:text> | </xsl:text> - </xsl:if> - </xsl:for-each> - </b> - </parameter> - </include> - </p> - </xsl:if> - - <!-- summary --> - <span sdata="authoredSummary"> - <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:summary[1]" /> - </span> - <xsl:if test="$group='namespace'"> - <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:remarks" /> - </xsl:if> - - <!-- assembly information --> - <xsl:if test="not($group='list' or $group='root' or $group='namespace')"> - <xsl:call-template name="requirementsInfo"/> - </xsl:if> - - <!-- syntax --> - <xsl:if test="not($group='list' or $group='namespace')"> - <xsl:apply-templates select="/document/syntax" /> - </xsl:if> - - <!-- show authored Dependency Property Information section for properties --> - <xsl:if test="$subgroup='property'"> - <xsl:apply-templates select="//ddue:section[starts-with(@address,'dependencyPropertyInfo')]" mode="section"/> - </xsl:if> - - <!-- show authored Routed Event Information section for events --> - <xsl:if test="$subgroup='event'"> - <xsl:apply-templates select="//ddue:section[starts-with(@address,'routedEventInfo')]" mode="section"/> - </xsl:if> - - <!-- members --> - <xsl:choose> - <xsl:when test="$group='root'"> - <xsl:apply-templates select="/document/reference/elements" mode="root" /> - </xsl:when> - <xsl:when test="$group='namespace'"> - <xsl:apply-templates select="/document/reference/elements" mode="namespace" /> - </xsl:when> - <xsl:when test="$subgroup='enumeration'"> - <xsl:apply-templates select="/document/reference/elements" mode="enumeration" /> - </xsl:when> - <xsl:when test="$group='type'"> - <xsl:apply-templates select="/document/reference/elements" mode="type" /> - </xsl:when> - <xsl:when test="$group='list'"> - <xsl:choose> - <xsl:when test="$subgroup='overload'"> - <xsl:apply-templates select="/document/reference/elements" mode="overload" /> - </xsl:when> - <xsl:when test="$subgroup='DerivedTypeList'"> - <xsl:apply-templates select="/document/reference/elements" mode="derivedType" /> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="/document/reference/elements" mode="member" /> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - </xsl:choose> - <!-- exceptions --> - <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:exceptions" /> - <!-- remarks --> - <xsl:if test="not($group='namespace')"> - <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:remarks[1]" /> - </xsl:if> - <!-- example --> - <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:codeExamples" /> - <!-- permissions --> - <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:permissions" /> - <!-- inheritance --> - <xsl:apply-templates select="/document/reference/family" /> - <!-- other comment sections --> - <xsl:if test="$subgroup='class' or $subgroup='structure'"> - <xsl:call-template name="threadSafety" /> - </xsl:if> - <xsl:if test="not($group='list' or $group='namespace' or $group='root')"> - <!--platforms--> - <xsl:apply-templates select="/document/reference/platforms" /> - <!--versions--> - <xsl:apply-templates select="/document/reference/versions" /> - </xsl:if> - <!-- see also --> - <xsl:call-template name="seeAlsoSection"/> - - </xsl:template> - - <xsl:template name="obsoleteSection"> - <p> - <include item="ObsoleteBoilerPlate"> - <parameter> - <xsl:value-of select="$subgroup"/> - </parameter> - </include> - <xsl:for-each select="/document/comments/ddue:dduexml/ddue:obsoleteCodeEntity"> - <xsl:text> </xsl:text> - <include item="nonobsoleteAlternative"> - <parameter><xsl:apply-templates select="ddue:codeEntityReference" /></parameter> - </include> - </xsl:for-each> - </p> - </xsl:template> - - <xsl:template name="internalOnly"> - <xsl:if test="/document/comments/ddue:dduexml/ddue:internalOnly or /document/reference/containers/ddue:internalOnly"> - <div id="internalonly" class="seeAlsoNoToggleSection"> - <p/> - <include item="internalOnly" /> - </div> - </xsl:if> - </xsl:template> - - <xsl:template name="getParameterDescription"> - <xsl:param name="name" /> - <span sdata="authoredParameterSummary"> - <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:parameters/ddue:parameter[string(ddue:parameterReference)=$name]/ddue:content" /> - </span> - </xsl:template> - - <xsl:template match="returns"> - <xsl:if test="normalize-space(/document/comments/ddue:dduexml/ddue:returnValue)"> - <div id="returns"> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include> - <xsl:attribute name="item"> - <xsl:value-of select="$subgroup" /> - <xsl:text>ValueTitle</xsl:text> - </xsl:attribute> - </include> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:call-template name="getReturnsDescription" /> - </xsl:with-param> - </xsl:call-template> - </div> - </xsl:if> - </xsl:template> - - <xsl:template name="getReturnsDescription"> - <xsl:choose> - <xsl:when test="type"> - <xsl:call-template name="typeReferenceLink"> - <xsl:with-param name="api" select="type/@api" /> - <xsl:with-param name="qualified" select="true()" /> - <xsl:with-param name="specialization" select="boolean(type/specialization)" /> - </xsl:call-template> - <xsl:apply-templates select="type/specialization" /> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[1]" /> - </xsl:otherwise> - </xsl:choose> - <br/> - <span sdata="authoredValueSummary"> - <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:returnValue" /> - </span> - </xsl:template> - - <xsl:template match="templates"> - <div id="genericParameters"> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"><include item="templatesTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:for-each select="template"> - <xsl:variable name="parameterName" select="@name" /> - <dl paramName="{$parameterName}"> - <dt> - <span class="parameter"><xsl:value-of select="$parameterName"/></span> - </dt> - <dd> - <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:genericParameters/ddue:genericParameter[string(ddue:parameterReference)=$parameterName]/ddue:content" /> - </dd> - </dl> - </xsl:for-each> - </xsl:with-param> - </xsl:call-template> - </div> - </xsl:template> - - <xsl:template name="getElementDescription"> - <span sdata="memberAuthoredSummary"> - <xsl:apply-templates select="ddue:summary[1]/ddue:para/node()" /> - </span> - </xsl:template> - - <xsl:template name="getInternalOnlyDescription"> - <xsl:choose> - <xsl:when test="ddue:internalOnly"> - <include item="infraStructure" /> - </xsl:when> - <xsl:when test="count(element) > 0"> - <xsl:variable name="internal"> - <xsl:for-each select="element"> - <xsl:if test="not(ddue:internalOnly)"> - <xsl:text>no</xsl:text> - </xsl:if> - </xsl:for-each> - </xsl:variable> - <xsl:if test="not(normalize-space($internal))"> - <include item="infraStructure" /> - </xsl:if> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template name="getOverloadSummary"> - - </xsl:template> - - <xsl:template name="getOverloadSections"> - - </xsl:template> - - <xsl:template match="syntax"> - <xsl:if test="count(*) > 0"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'syntax'" /> - <xsl:with-param name="title"> - <include item="syntaxTitle"/> - </xsl:with-param> - <xsl:with-param name="content"> - <div id="syntaxCodeBlocks" class="code"> - <xsl:call-template name="syntaxBlocks" /> - </div> - - <!-- parameters & return value --> - <xsl:apply-templates select="/document/reference/templates" /> - <xsl:apply-templates select="/document/reference/parameters" /> - <xsl:apply-templates select="/document/reference/returns" /> - <xsl:apply-templates select="/document/reference/implements" /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - - <!-- DDUEXML elements that behave differently in conceptual and reference --> - - <xsl:template match="ddue:exceptions"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'ddueExceptions'"/> - <xsl:with-param name="title"><include item="exceptionsTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:choose> - <xsl:when test="ddue:exception"> - <div class="listSection"> - <table class="members" width="100%" cellspacing="0" frame="lhs"> - <tr> - <th class="exceptionNameColumn"><include item="exceptionNameHeader" /></th> - <th class="exceptionConditionColumn"><include item="exceptionConditionHeader" /></th> - </tr> - <xsl:for-each select="ddue:exception"> - <tr> - <td> - <xsl:apply-templates select="ddue:codeEntityReference" /> - </td> - <td> - <xsl:apply-templates select="ddue:content" /> - </td> - </tr> - </xsl:for-each> - </table> - </div> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates /> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:permissions"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'permissions'" /> - <xsl:with-param name="title"> - <include item="permissionsTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <ul> - <xsl:for-each select="ddue:permission"> - <li> - <xsl:apply-templates select="ddue:codeEntityReference" /> - <xsl:text> </xsl:text> - <xsl:apply-templates select="ddue:content" /> - </li> - </xsl:for-each> - </ul> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:codeExample"> - <xsl:apply-templates /> - </xsl:template> - - <xsl:template name="runningHeader"> - <include item="runningHeaderText" /> - </xsl:template> - - <xsl:template name="memberIntro"> - <xsl:if test="$subgroup='members'"> - <p> - <xsl:apply-templates select="/document/reference/containers/ddue:summary"/> - </p> - </xsl:if> - - <xsl:if test="/document/reference/elements/element/memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly']"> - <!-- if there are exposed members, show a boilerplate intro p --> - <xsl:variable name="introTextItemId"> - <xsl:choose> - <xsl:when test="/document/reference/containers/type/templates">genericExposedMembersTableText</xsl:when> - <xsl:otherwise>exposedMembersTableText</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <p> - <include item="{$introTextItemId}"> - <parameter> - <referenceLink target="{$typeId}" /> - </parameter> - <parameter> - <xsl:value-of select="$subgroup"/><xsl:text>Subgroup</xsl:text> - </parameter> - </include> - </p> - </xsl:if> - </xsl:template> - - <xsl:template name="mshelpCodelangAttributes"> - - <xsl:for-each select="/document/comments/ddue:dduexml/ddue:codeExamples/ddue:codeExample/ddue:legacy/ddue:content/ddue:snippets/ddue:snippet"> - - <xsl:if test="not(@language=preceding::*/@language)"> - <xsl:variable name="codeLang"> - <xsl:choose> - <xsl:when test="@language = 'VBScript' or @language = 'vbs'"> - <xsl:text>VBScript</xsl:text> - </xsl:when> - <xsl:when test="@language = 'VisualBasic' or @language = 'vb' or @language = 'vb#' or @language = 'VB' or @language = 'kbLangVB'" > - <xsl:text>kbLangVB</xsl:text> - </xsl:when> - <xsl:when test="@language = 'CSharp' or @language = 'c#' or @language = 'cs' or @language = 'C#'" > - <xsl:text>CSharp</xsl:text> - </xsl:when> - <xsl:when test="@language = 'ManagedCPlusPlus' or @language = 'cpp' or @language = 'cpp#' or @language = 'c' or @language = 'c++' or @language = 'C++' or @language = 'kbLangCPP'" > - <xsl:text>kbLangCPP</xsl:text> - </xsl:when> - <xsl:when test="@language = 'JSharp' or @language = 'j#' or @language = 'jsharp' or @language = 'VJ#'"> - <xsl:text>VJ#</xsl:text> - </xsl:when> - <xsl:when test="@language = 'JScript' or @language = 'js' or @language = 'jscript#' or @language = 'jscript' or @language = 'JScript' or @language = 'kbJScript'"> - <xsl:text>kbJScript</xsl:text> - </xsl:when> - <xsl:when test="@language = 'xml'"> - <xsl:text>xml</xsl:text> - </xsl:when> - <xsl:when test="@language = 'html'"> - <xsl:text>html</xsl:text> - </xsl:when> - <xsl:when test="@language = 'vb-c#'"> - <xsl:text>visualbasicANDcsharp</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>other</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:choose> - <xsl:when test="$codeLang='other'" /> - <xsl:otherwise> - <xsl:call-template name="codeLang"> - <xsl:with-param name="codeLang" select="$codeLang" /> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - - </xsl:for-each> - </xsl:template> - - <xsl:template match="ddue:codeEntityReference" mode="abstract"> - <xsl:call-template name="subString"> - <xsl:with-param name="name" select="." /> - </xsl:call-template> - </xsl:template> - -</xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/hana/transforms/main_sandcastle.xsl b/tools/Sandcastle/Presentation/hana/transforms/main_sandcastle.xsl deleted file mode 100644 index 28b73c0..0000000 --- a/tools/Sandcastle/Presentation/hana/transforms/main_sandcastle.xsl +++ /dev/null @@ -1,727 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1"> - - <!-- stuff specified to comments authored in DDUEXML --> - - - <xsl:include href="htmlBody.xsl"/> - <xsl:include href="utilities_reference.xsl" /> - - <xsl:variable name="summary" select="normalize-space(/document/comments/summary)" /> - <xsl:variable name="abstractSummary" select="/document/comments/summary" /> - <xsl:variable name="hasSeeAlsoSection" select="boolean((count(/document/comments//seealso | /document/reference/elements/element/overloads//seealso) > 0) or - ($group='type' or $group='member' or $group='list'))"/> - <xsl:variable name="examplesSection" select="boolean(string-length(/document/comments/example[normalize-space(.)]) > 0)"/> - <xsl:variable name="languageFilterSection" select="boolean(string-length(/document/comments/example[normalize-space(.)]) > 0)" /> - - <xsl:template name="body"> - - <!-- auto-inserted info --> - <!-- <xsl:apply-templates select="/document/reference/attributes" /> --> - <xsl:apply-templates select="/document/comments/preliminary" /> - <xsl:apply-templates select="/document/comments/summary" /> - <xsl:if test="$subgroup='overload'"> - <xsl:apply-templates select="/document/reference/elements" mode="overloadSummary" /> - </xsl:if> - <!-- assembly information --> - <xsl:if test="not($group='list' or $group='root' or $group='namespace')"> - <xsl:call-template name="requirementsInfo"/> - </xsl:if> - <!-- syntax --> - <xsl:if test="not($group='list' or $group='namespace')"> - <xsl:apply-templates select="/document/syntax" /> - </xsl:if> - - <!-- members --> - <xsl:choose> - <xsl:when test="$group='root'"> - <xsl:apply-templates select="/document/reference/elements" mode="root" /> - </xsl:when> - <xsl:when test="$group='namespace'"> - <xsl:apply-templates select="/document/reference/elements" mode="namespace" /> - </xsl:when> - <xsl:when test="$subgroup='enumeration'"> - <xsl:apply-templates select="/document/reference/elements" mode="enumeration" /> - </xsl:when> - <xsl:when test="$group='type'"> - <xsl:apply-templates select="/document/reference/elements" mode="type" /> - </xsl:when> - <xsl:when test="$group='list'"> - <xsl:choose> - <xsl:when test="$subgroup='overload'"> - <xsl:apply-templates select="/document/reference/elements" mode="overload" /> - </xsl:when> - <xsl:when test="$subgroup='DerivedTypeList'"> - <xsl:apply-templates select="/document/reference/elements" mode="derivedType" /> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="/document/reference/elements" mode="member" /> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - </xsl:choose> - <!-- remarks --> - <xsl:apply-templates select="/document/comments/remarks" /> - <!-- example --> - <xsl:apply-templates select="/document/comments/example" /> - <!-- other comment sections --> - <!-- permissions --> - <xsl:call-template name="permissions" /> - <!-- exceptions --> - <xsl:call-template name="exceptions" /> - <!-- inheritance --> - <xsl:apply-templates select="/document/reference/family" /> - <xsl:apply-templates select="/document/comments/threadsafety" /> - <!--versions--> - <xsl:if test="not($group='list' or $group='namespace' or $group='root' )"> - <xsl:apply-templates select="/document/reference/versions" /> - </xsl:if> - <!-- see also --> - <xsl:call-template name="seealso" /> - - </xsl:template> - - <xsl:template name="getParameterDescription"> - <xsl:param name="name" /> - <xsl:apply-templates select="/document/comments/param[@name=$name]" /> - </xsl:template> - - <xsl:template name="getReturnsDescription"> - <xsl:param name="name" /> - <xsl:apply-templates select="/document/comments/param[@name=$name]" /> - </xsl:template> - - <xsl:template name="getElementDescription"> - <xsl:apply-templates select="summary[1]" /> - </xsl:template> - - <xsl:template name="getOverloadSummary"> - <xsl:apply-templates select="overloads" mode="summary"/> - </xsl:template> - - <xsl:template name="getOverloadSections"> - <xsl:apply-templates select="overloads" mode="sections"/> - </xsl:template> - - <xsl:template name="getInternalOnlyDescription"> - - </xsl:template> - - - <!-- block sections --> - - <xsl:template match="summary"> - <div class="summary"> - <xsl:apply-templates /> - </div> - </xsl:template> - - <xsl:template match="overloads" mode="summary"> - <xsl:choose> - <xsl:when test="count(summary) > 0"> - <xsl:apply-templates select="summary" /> - </xsl:when> - <xsl:otherwise> - <div class="summary"> - <xsl:apply-templates/> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="overloads" mode="sections"> - <xsl:apply-templates select="remarks" /> - <xsl:apply-templates select="example"/> - </xsl:template> - - <xsl:template match="value"> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include item="fieldValueTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="returns"> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include item="methodValueTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="templates"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'templates'" /> - <xsl:with-param name="title"> - <include item="templatesTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <dl> - <xsl:for-each select="template"> - <xsl:variable name="templateName" select="@name" /> - <dt> - <span class="parameter"> - <xsl:value-of select="$templateName"/> - </span> - </dt> - <dd> - <xsl:apply-templates select="/document/comments/typeparam[@name=$templateName]" /> - </dd> - </xsl:for-each> - </dl> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="remarks"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'remarks'"/> - <xsl:with-param name="title"><include item="remarksTitle" /></xsl:with-param> - <xsl:with-param name="content"><xsl:apply-templates /></xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="example"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'example'" /> - <xsl:with-param name="title"><include item="examplesTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:choose> - <xsl:when test="code/@language"> - <xsl:variable name="codeId" select="generate-id()" /> - <div name="snippetGroup"> - <table class="filter"> - <tr id="curvedTabs_{$codeId}"> - <xsl:for-each select="code"> - <td class="leftTab" x-lang="{@language}"> </td> - <td class="middleTab" x-lang="{@language}"> </td> - <td class="rightTab" x-lang="{@language}"> </td> - </xsl:for-each> - </tr> - <tr class="tabs" id="ct_{$codeId}"> - <xsl:for-each select="code"> - - <xsl:variable name="style"> - <xsl:call-template name="languageCheck"> - <xsl:with-param name="codeLanguage" select="@language" /> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="languageEvent"> - <xsl:choose> - <xsl:when test="$style != ''"> - <xsl:text>changeLanguage(data, '</xsl:text><xsl:value-of select="@language"/> - <xsl:text>', '</xsl:text><xsl:value-of select="$style" /> - <xsl:text>');</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>toggleClass('ct_</xsl:text><xsl:value-of select="$codeId" /> - <xsl:text>','x-lang','</xsl:text><xsl:value-of select="@language"/> - <xsl:text>','activeTab','tab'); curvedToggleClass('curvedTabs_</xsl:text><xsl:value-of select="$codeId"/> - <xsl:text>','x-lang','</xsl:text><xsl:value-of select="@language"/> - <xsl:text>'); toggleStyle('cb_</xsl:text><xsl:value-of select="$codeId"/> - <xsl:text>', 'x-lang','</xsl:text><xsl:value-of select="@language"/> - <xsl:text>','display','block','none');</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <td class="leftGrad" x-lang="{@language}"> </td> - <td class="tab" x-lang="{@language}" onclick="{$languageEvent}"> - <include item="{@language}Label" /> - </td> - <td class="rightGrad" x-lang="{@language}"> </td> - </xsl:for-each> - </tr> - </table> - <div id="cb_{$codeId}"> - <xsl:for-each select="code"> - <div class="code" x-lang="{@language}"> - <xsl:call-template name="codeSection" /> - </div> - </xsl:for-each> - </div> - </div> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates /> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="para"> - <p><xsl:apply-templates /></p> - </xsl:template> - - <xsl:template match="code"> - <div class="code"> - <xsl:call-template name="codeSection" /> - </div> - </xsl:template> - <xsl:template name="exceptions"> - <xsl:if test="count(/document/comments/exception) > 0"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'exceptions'"/> - <xsl:with-param name="title"><include item="exceptionsTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <div class="listSection"> - <table class="members" width="100%" cellspacing="0" frame="lhs" > - <tr> - <th class="exceptionNameColumn"><include item="exceptionNameHeader" /></th> - <th class="exceptionConditionColumn"><include item="exceptionConditionHeader" /></th> - </tr> - <xsl:for-each select="/document/comments/exception"> - <tr> - <td><referenceLink target="{@cref}" qualified="true" /></td> - <td> - <xsl:apply-templates select="." /> - </td> - </tr> - </xsl:for-each> - </table> - </div> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template name="permissions"> - <xsl:if test="count(/document/comments/permission) > 0"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'permissions'" /> - <xsl:with-param name="title"> - <include item="permissionsTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <div class="listSection"> - <table class="members" width="100%" cellspacing="0" frame="lhs" > - <tr> - <th class="permissionNameColumn"> - <include item="permissionNameHeader" /> - </th> - <th class="permissionDescriptionColumn"> - <include item="permissionDescriptionHeader" /> - </th> - </tr> - <xsl:for-each select="/document/comments/permission"> - <tr> - <td> - <referenceLink target="{@cref}" qualified="true" /> - </td> - <td> - <xsl:apply-templates select="." /> - </td> - </tr> - </xsl:for-each> - </table> - </div> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template name="seealso"> - <xsl:if test="$hasSeeAlsoSection"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'seeAlso'" /> - <xsl:with-param name="title"> - <include item="relatedTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:call-template name="autogenSeeAlsoLinks"/> - <xsl:for-each select="/document/comments//seealso | /document/reference/elements/element/overloads//seealso"> - <div class="seeAlsoStyle"> - <xsl:apply-templates select="."> - <xsl:with-param name="displaySeeAlso" select="true()" /> - </xsl:apply-templates> - </div> - </xsl:for-each> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="list[@type='bullet']"> - <ul> - <xsl:for-each select="item"> - <li><xsl:apply-templates /></li> - </xsl:for-each> - </ul> - </xsl:template> - - <xsl:template match="list[@type='number']"> - <ol> - <xsl:for-each select="item"> - <li><xsl:apply-templates /></li> - </xsl:for-each> - </ol> - </xsl:template> - - <xsl:template match="list[@type='table']"> - <div class="listSection"> - <table class="members" width="100%" cellspacing="0" frame="lhs" > - <xsl:for-each select="listheader"> - <tr> - <xsl:for-each select="*"> - <th><xsl:apply-templates /></th> - </xsl:for-each> - </tr> - </xsl:for-each> - <xsl:for-each select="item"> - <tr> - <xsl:for-each select="*"> - <td> - <xsl:apply-templates /> - </td> - </xsl:for-each> - </tr> - </xsl:for-each> - </table> - </div> - </xsl:template> - - <!-- inline tags --> - - <xsl:template match="see[@cref]"> - <xsl:choose> - <xsl:when test="normalize-space(.)"> - <referenceLink target="{@cref}"> - <xsl:value-of select="." /> - </referenceLink> - </xsl:when> - <xsl:otherwise> - <referenceLink target="{@cref}"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="see[@href]"> - <xsl:choose> - <xsl:when test="normalize-space(.)"> - <a> - <xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute> - <xsl:value-of select="." /> - </a> - </xsl:when> - <xsl:otherwise> - <a> - <xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute> - <xsl:value-of select="@href" /> - </a> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="seealso[@href]"> - <xsl:param name="displaySeeAlso" select="false()" /> - <xsl:if test="$displaySeeAlso"> - <xsl:choose> - <xsl:when test="normalize-space(.)"> - <a> - <xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute> - <xsl:value-of select="." /> - </a> - </xsl:when> - <xsl:otherwise> - <a> - <xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute> - <xsl:value-of select="@href" /> - </a> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:template> - - <xsl:template match="see[@langword]"> - <span class="keyword"> - <xsl:choose> - <xsl:when test="@langword='null' or @langword='Nothing' or @langword='nullptr'"> - <span class="cs">null</span> - <span class="vb">Nothing</span> - <span class="cpp">nullptr</span> - </xsl:when> - <xsl:when test="@langword='static' or @langword='Shared'"> - <span class="cs">static</span> - <span class="vb">Shared</span> - <span class="cpp">static</span> - </xsl:when> - <xsl:when test="@langword='virtual' or @langword='Overridable'"> - <span class="cs">virtual</span> - <span class="vb">Overridable</span> - <span class="cpp">virtual</span> - </xsl:when> - <xsl:when test="@langword='true' or @langword='True'"> - <span class="cs">true</span> - <span class="vb">True</span> - <span class="cpp">true</span> - </xsl:when> - <xsl:when test="@langword='false' or @langword='False'"> - <span class="cs">false</span> - <span class="vb">False</span> - <span class="cpp">false</span> - </xsl:when> - <xsl:when test="@langword='abstract'"> - <span class="cs">abstract</span> - <span class="vb">MustInherit</span> - <span class="cpp">abstract</span> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@langword" /> - </xsl:otherwise> - </xsl:choose> - </span> - </xsl:template> - - - <xsl:template match="seealso"> - <xsl:param name="displaySeeAlso" select="false()" /> - <xsl:if test="$displaySeeAlso"> - <xsl:choose> - <xsl:when test="normalize-space(.)"> - <referenceLink target="{@cref}" qualified="true"> - <xsl:value-of select="." /> - </referenceLink> - </xsl:when> - <xsl:otherwise> - <referenceLink target="{@cref}" qualified="true" /> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:template> - - <xsl:template match="c"> - <span class="code"><xsl:apply-templates /></span> - </xsl:template> - - <xsl:template match="paramref"> - <span class="parameter"> - <xsl:value-of select="@name" /> - </span> - </xsl:template> - - <xsl:template match="typeparamref"> - <span class="typeparameter"> - <xsl:value-of select="@name" /> - </span> - </xsl:template> - - <xsl:template match="syntax"> - <xsl:if test="count(*) > 0"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'syntax'" /> - <xsl:with-param name="title"> - <include item="syntaxTitle"/> - </xsl:with-param> - <xsl:with-param name="content"> - <div id="syntaxCodeBlocks"> - <xsl:call-template name="syntaxBlocks" /> - </div> - <!-- parameters & return value --> - <xsl:apply-templates select="/document/reference/parameters" /> - <xsl:apply-templates select="/document/reference/templates" /> - <xsl:apply-templates select="/document/comments/value" /> - <xsl:apply-templates select="/document/comments/returns" /> - <xsl:apply-templates select="/document/reference/implements" /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template name="runningHeader"> - <include item="runningHeaderText" /> - </xsl:template> - - <!-- pass through html tags --> - - <xsl:template match="p|ol|ul|li|dl|dt|dd|table|tr|th|td|a|img|b|i|strong|em|del|sub|sup|br|hr|h1|h2|h3|h4|h5|h6|pre|div|span|blockquote|abbr|acronym|u|font|map|area"> - <xsl:copy> - <xsl:copy-of select="@*" /> - <xsl:apply-templates /> - </xsl:copy> - </xsl:template> - - <!-- extra tag support --> - - <xsl:template match="threadsafety"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'threadSafety'" /> - <xsl:with-param name="title"> - <include item="threadSafetyTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:choose> - <xsl:when test="normalize-space(.)"> - <xsl:apply-templates /> - </xsl:when> - <xsl:otherwise> - <xsl:if test="@static='true'"> - <include item="staticThreadSafe" /> - </xsl:if> - <xsl:if test="@static='false'"> - <include item="staticNotThreadSafe" /> - </xsl:if> - <xsl:if test="@instance='true'"> - <include item="instanceThreadSafe" /> - </xsl:if> - <xsl:if test="@instance='false'"> - <include item="instanceNotThreadSafe" /> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="note"> - <div class="alert"> - <img> - <includeAttribute item="iconPath" name="src"> - <parameter>alert_note.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="noteAltText"/> - </img> - <xsl:text> </xsl:text> - <include item="noteTitle" /> - <xsl:apply-templates /> - </div> - </xsl:template> - - <xsl:template match="preliminary"> - <div class="preliminary"> - <include item="preliminaryText" /> - </div> - </xsl:template> - - <!-- move these off into a shared file --> - - <xsl:template name="createReferenceLink"> - <xsl:param name="id" /> - <xsl:param name="qualified" select="false()" /> - - <referenceLink target="{$id}" qualified="{$qualified}" /> - - </xsl:template> - - <xsl:template name="section"> - <xsl:param name="toggleSwitch" /> - <xsl:param name="title" /> - <xsl:param name="content" /> - - <xsl:variable name="toggleTitle" select="concat($toggleSwitch,'Toggle')" /> - <xsl:variable name="toggleSection" select="concat($toggleSwitch,'Section')" /> - - <h1 class="heading"> - <span onclick="ExpandCollapse({$toggleTitle})" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey({$toggleTitle}, event)" tabindex="0"> - <img id="{$toggleTitle}" class="toggle" name="toggleSwitch"> - <includeAttribute name="src" item="iconPath"> - <parameter>collapse_all.gif</parameter> - </includeAttribute> - </img> - <xsl:copy-of select="$title" /> - </span> - </h1> - - <div id="{$toggleSection}" class="section" name="collapseableSection" style=""> - <xsl:copy-of select="$content" /> - </div> - - </xsl:template> - - <xsl:template name="subSection"> - <xsl:param name="title" /> - <xsl:param name="content" /> - - <h4 class="subHeading"> - <xsl:copy-of select="$title" /> - </h4> - <xsl:copy-of select="$content" /> - - </xsl:template> - - <xsl:template name="memberIntro"> - <xsl:if test="$subgroup='members'"> - <p> - <xsl:apply-templates select="/document/reference/containers/summary"/> - </p> - </xsl:if> - <xsl:if test="/document/reference/elements/element/memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly']"> - <!-- if there are exposed members, show a boilerplate intro p --> - <xsl:variable name="introTextItemId"> - <xsl:choose> - <xsl:when test="/document/reference/containers/type/templates">genericExposedMembersTableText</xsl:when> - <xsl:otherwise>exposedMembersTableText</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <p> - <include item="{$introTextItemId}"> - <parameter> - <referenceLink target="{$typeId}" /> - </parameter> - <parameter> - <xsl:value-of select="$subgroup"/><xsl:text>Subgroup</xsl:text> - </parameter> - </include> - </p> - </xsl:if> - </xsl:template> - - <xsl:template name="mshelpCodelangAttributes"> - <xsl:for-each select="/document/comments/example/code"> - - <xsl:if test="not(@language=preceding::*/@language)"> - <xsl:variable name="codeLang"> - <xsl:choose> - <xsl:when test="@language = 'VBScript' or @language = 'vbs'"> - <xsl:text>VBScript</xsl:text> - </xsl:when> - <xsl:when test="@language = 'VisualBasic' or @language = 'vb' or @language = 'vb#' or @language = 'VB' or @language = 'kbLangVB'" > - <xsl:text>kbLangVB</xsl:text> - </xsl:when> - <xsl:when test="@language = 'CSharp' or @language = 'c#' or @language = 'cs' or @language = 'C#'" > - <xsl:text>CSharp</xsl:text> - </xsl:when> - <xsl:when test="@language = 'ManagedCPlusPlus' or @language = 'cpp' or @language = 'cpp#' or @language = 'c' or @language = 'c++' or @language = 'C++' or @language = 'kbLangCPP'" > - <xsl:text>kbLangCPP</xsl:text> - </xsl:when> - <xsl:when test="@language = 'JSharp' or @language = 'j#' or @language = 'jsharp' or @language = 'VJ#'"> - <xsl:text>VJ#</xsl:text> - </xsl:when> - <xsl:when test="@language = 'JScript' or @language = 'js' or @language = 'jscript#' or @language = 'jscript' or @language = 'JScript' or @language = 'kbJScript'"> - <xsl:text>kbJScript</xsl:text> - </xsl:when> - <xsl:when test="@language = 'xml'"> - <xsl:text>xml</xsl:text> - </xsl:when> - <xsl:when test="@language = 'html'"> - <xsl:text>html</xsl:text> - </xsl:when> - <xsl:when test="@language = 'vb-c#'"> - <xsl:text>visualbasicANDcsharp</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>other</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:choose> - <xsl:when test="$codeLang='other'" /> - <xsl:otherwise> - <xsl:call-template name="codeLang"> - <xsl:with-param name="codeLang" select="$codeLang" /> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - - </xsl:for-each> - </xsl:template> -</xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/hana/transforms/skeleton.xml b/tools/Sandcastle/Presentation/hana/transforms/skeleton.xml deleted file mode 100644 index 4d699b9..0000000 --- a/tools/Sandcastle/Presentation/hana/transforms/skeleton.xml +++ /dev/null @@ -1,7 +0,0 @@ -<document> - <reference /> - <syntax /> - <USyntax /> - <comments /> - <metadata /> -</document> diff --git a/tools/Sandcastle/Presentation/hana/transforms/skeleton_conceptual.xml b/tools/Sandcastle/Presentation/hana/transforms/skeleton_conceptual.xml deleted file mode 100644 index 6de97d4..0000000 --- a/tools/Sandcastle/Presentation/hana/transforms/skeleton_conceptual.xml +++ /dev/null @@ -1,3 +0,0 @@ -<document> - <metadata /> -</document> diff --git a/tools/Sandcastle/Presentation/hana/transforms/utilities_dduexml.xsl b/tools/Sandcastle/Presentation/hana/transforms/utilities_dduexml.xsl deleted file mode 100644 index 9b12491..0000000 --- a/tools/Sandcastle/Presentation/hana/transforms/utilities_dduexml.xsl +++ /dev/null @@ -1,1287 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1" - xmlns:MSHelp="http://msdn.microsoft.com/mshelp" - xmlns:mshelp="http://msdn.microsoft.com/mshelp" - xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:msxsl="urn:schemas-microsoft-com:xslt" - > - - <xsl:import href="../../shared/transforms/utilities_dduexml.xsl" /> - - <!-- sections --> - - <!-- the Remarks section includes content from these nodes, excluding the xaml sections are captured in the xaml syntax processing --> - <xsl:template name="HasRemarksContent"> - <xsl:choose> - <xsl:when test="normalize-space(ddue:content)">true</xsl:when> - <xsl:when test="normalize-space(../ddue:notesForImplementers)">true</xsl:when> - <xsl:when test="normalize-space(../ddue:notesForCallers)">true</xsl:when> - <xsl:when test="normalize-space(../ddue:notesForInheritors)">true</xsl:when> - <xsl:when test="normalize-space(../ddue:platformNotes)">true</xsl:when> - <xsl:when test="normalize-space(ddue:sections/ddue:section[not( - starts-with(@address,'xamlValues') or - starts-with(@address,'xamlTextUsage') or - starts-with(@address,'xamlAttributeUsage') or - starts-with(@address,'xamlPropertyElementUsage') or - starts-with(@address,'xamlImplicitCollectionUsage') or - starts-with(@address,'xamlObjectElementUsage') or - starts-with(@address,'dependencyPropertyInfo') or - starts-with(@address,'routedEventInfo') - )])">true</xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="ddue:remarks"> - <xsl:variable name="hasRemarks"> - <xsl:call-template name="HasRemarksContent"/> - </xsl:variable> - <xsl:if test="$hasRemarks='true'"> - <xsl:choose> - <xsl:when test="not($group = 'namespace')"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'remarks'"/> - <xsl:with-param name="title"><include item="remarksTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - <xsl:apply-templates select="../ddue:notesForImplementers"/> - <xsl:apply-templates select="../ddue:notesForCallers"/> - <xsl:apply-templates select="../ddue:notesForInheritors"/> - <xsl:apply-templates select="../ddue:platformNotes"/> - <include item="mshelpKTable"> - <parameter> - <xsl:text>tt_</xsl:text> - <xsl:value-of select="$key"/> - </parameter> - </include> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates /> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:codeExamples"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'example'"/> - <xsl:with-param name="title"> - <include item="examplesTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - <xsl:call-template name="moreCodeSection"/> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <!-- - ************************************************************** - CODE EXAMPLES section - ************************************************************** - --> - <!-- tasks/task nodes are inserted by TaskGrabberComponent which gets content from HowTo topics --> - <!-- these nodes are handled below in the moreCodeSection --> - <xsl:template match="ddue:codeExamples/ddue:codeExample/ddue:legacy/ddue:content/tasks"/> - - <xsl:template name="moreCodeSection"> - <xsl:variable name="gotCodeAlready" select="boolean( - (ddue:codeExample/ddue:legacy/ddue:content[ddue:codeReference[ddue:sampleCode] | ddue:code | ddue:snippets/ddue:snippet]) or - (ddue:codeExample[ddue:codeReference[ddue:sampleCode] | ddue:code | ddue:snippets/ddue:snippet]) - )"/> - - <xsl:variable name="gotMoreCode" select="(count(ddue:codeExample/ddue:legacy/ddue:content/tasks/task)>1) or - ($gotCodeAlready and count(ddue:codeExample/ddue:legacy/ddue:content/tasks/task)>0)"/> - - <!-- if no preceding code in the code examples section, display the tasks[1]/task[1] --> - <xsl:if test="not($gotCodeAlready)"> - <xsl:for-each select="ddue:codeExample/ddue:legacy/ddue:content/tasks[1]/task[1]"> - <xsl:apply-templates select="ddue:introduction | ddue:codeExample"/> - </xsl:for-each> - </xsl:if> - - <xsl:if test="$gotMoreCode"> - <sections> - <h4 class="subHeading"> - <include item="mrefTaskMoreCodeHeading" /> - </h4> - <div class="subsection"> - <div class="listSection"> - <table class="members" width="100%" cellspacing="0"> - <xsl:for-each select="ddue:codeExample/ddue:legacy/ddue:content/tasks/task"> - <xsl:choose> - <xsl:when test="not($gotCodeAlready) and position()=1"/> - <xsl:otherwise> - <tr valign="top"> - <td> - <conceptualLink target="{@topicId}"> - <xsl:value-of select="ddue:title"/> - </conceptualLink> - </td> - <td> - <xsl:choose> - <xsl:when test="ddue:introduction/ddue:para[1][normalize-space(.)!='']"> - <xsl:apply-templates select="ddue:introduction/ddue:para[1]/node()"/> - </xsl:when> - <xsl:when test="ddue:codeExample/ddue:legacy/ddue:content/ddue:para[1][normalize-space(.)!='']"> - <xsl:apply-templates select="ddue:codeExample/ddue:legacy/ddue:content/ddue:para[1]/node()"/> - </xsl:when> - </xsl:choose> - </td> - </tr> - </xsl:otherwise> - </xsl:choose> - </xsl:for-each> - </table> - </div> - </div> - </sections> - </xsl:if> - </xsl:template> - - <xsl:template name="threadSafety"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'threadSafety'"/> - <xsl:with-param name="title"><include item="threadSafetyTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:choose> - <xsl:when test="/document/comments/ddue:dduexml/ddue:threadSafety"> - <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:threadSafety"/> - </xsl:when> - <xsl:otherwise> - <include item="ThreadSafetyBP"/> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="ddue:notesForImplementers"> - <p/> - <b> - <include item="NotesForImplementers"/> - </b> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="ddue:notesForCallers"> - <p/> - <b> - <include item="NotesForCallers"/> - </b> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="ddue:notesForInheritors"> - <p/> - <b> - <include item="NotesForInheritors"/> - </b> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="ddue:platformNotes"> - <xsl:for-each select="ddue:platformNote[normalize-space(ddue:content)]"> - <p> - <include item="PlatformNote"> - <parameter> - <xsl:for-each select="ddue:platforms/ddue:platform"> - <xsl:variable name="platformName"><xsl:value-of select="."/></xsl:variable> - <include item="{$platformName}"/> - <xsl:if test="position() != last()">, </xsl:if> - </xsl:for-each> - </parameter> - <parameter><xsl:apply-templates select="ddue:content"/></parameter> - </include> - </p> - </xsl:for-each> - </xsl:template> - - <xsl:template match="ddue:schemaHierarchy"> - <xsl:for-each select="ddue:link"> - <xsl:call-template name="indent"> - <xsl:with-param name="count" select="position()"/> - </xsl:call-template> - <xsl:apply-templates select="."/> - <br/> - </xsl:for-each> - </xsl:template> - - <xsl:template match="ddue:syntaxSection"> - <div id="syntaxSection" class="section"> - <div id="syntaxCodeBlocks"> - <xsl:for-each select="ddue:legacySyntax"> - <xsl:variable name="codeLang"> - <xsl:choose> - <xsl:when test="@language = 'vbs'"> - <xsl:text>VBScript</xsl:text> - </xsl:when> - <xsl:when test="@language = 'vb' or @language = 'vb#' or @language = 'VB'" > - <xsl:text>VisualBasic</xsl:text> - </xsl:when> - <xsl:when test="@language = 'c#' or @language = 'cs' or @language = 'C#'" > - <xsl:text>CSharp</xsl:text> - </xsl:when> - <xsl:when test="@language = 'cpp' or @language = 'cpp#' or @language = 'c' or @language = 'c++' or @language = 'C++'" > - <xsl:text>ManagedCPlusPlus</xsl:text> - </xsl:when> - <xsl:when test="@language = 'j#' or @language = 'jsharp'"> - <xsl:text>JSharp</xsl:text> - </xsl:when> - <xsl:when test="@language = 'js' or @language = 'jscript#' or @language = 'jscript' or @language = 'JScript'"> - <xsl:text>JScript</xsl:text> - </xsl:when> - <xsl:when test="@language = 'xml'"> - <xsl:text>xmlLang</xsl:text> - </xsl:when> - <xsl:when test="@language = 'html'"> - <xsl:text>html</xsl:text> - </xsl:when> - <xsl:when test="@language = 'vb-c#'"> - <xsl:text>visualbasicANDcsharp</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>other</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <span codeLanguage="{$codeLang}"> - <table width="100%" cellspacing="0" cellpadding="0"> - <tr> - <th align="left"> - <include item="{$codeLang}"/> - </th> - </tr> - <tr> - <td> - <pre> - <xsl:apply-templates xml:space="preserve"/> - </pre> - </td> - </tr> - </table> - </span> - - </xsl:for-each> - </div> - </div> - </xsl:template> - - <xsl:template name="seeAlsoSection"> - - <xsl:if test="$hasSeeAlsoSection"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'seeAlso'"/> - <xsl:with-param name="title"><include item="relatedTitle" /></xsl:with-param> - <xsl:with-param name="content"> - - <!-- Concepts sub-section --> - <xsl:if test="normalize-space(ddue:link) or normalize-space(ddue:dynamicLink[@type='inline'])"> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include item="SeeAlsoConcepts"/> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:for-each select="/document/comments/ddue:dduexml/ddue:relatedTopics/*"> - <xsl:if test="name() = 'link' or (name() = 'dynamicLink' and @type = 'inline') or (name() = 'legacyLink' and not(starts-with(@xlink:href,'frlrf') - or starts-with(@xlink:href,'N:') or starts-with(@xlink:href,'T:') or starts-with(@xlink:href,'M:') or starts-with(@xlink:href,'P:') - or starts-with(@xlink:href,'F:') or starts-with(@xlink:href,'E:') or starts-with(@xlink:href,'Overload:')))"> - <div class="seeAlsoStyle"> - <xsl:apply-templates select="."/> - </div> - </xsl:if> - </xsl:for-each> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - - <!-- Reference sub-section (always one of these in an API topic) --> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include item="SeeAlsoReference"/> - </xsl:with-param> - - <xsl:with-param name="content"> - <xsl:call-template name="autogenSeeAlsoLinks"/> - <xsl:for-each select="/document/comments/ddue:dduexml/ddue:relatedTopics/*"> - <xsl:if test="name() = 'codeEntityReference' or (name() = 'legacyLink' and (starts-with(@xlink:href,'frlrf') - or starts-with(@xlink:href,'N:') or starts-with(@xlink:href,'T:') or starts-with(@xlink:href,'M:') or starts-with(@xlink:href,'P:') - or starts-with(@xlink:href,'F:') or starts-with(@xlink:href,'E:') or starts-with(@xlink:href,'Overload:')))"> - <div class="seeAlsoStyle"> - <xsl:apply-templates select="."/> - </div> - </xsl:if> - </xsl:for-each> - </xsl:with-param> - </xsl:call-template> - - <!-- Other Resources sub-section --> - <xsl:if test="ddue:externalLink"> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include item="SeeAlsoOtherResources"/> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:for-each select="/document/comments/ddue:dduexml/ddue:relatedTopics/*"> - <xsl:if test="name() = 'externalLink'"> - <div class="seeAlsoStyle"> - <xsl:apply-templates select="."/> - </div> - </xsl:if> - </xsl:for-each> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <!-- just skip over these --> - <xsl:template match="ddue:content | ddue:legacy"> - <xsl:apply-templates /> - </xsl:template> - - <!-- block elements --> - - <xsl:template match="ddue:table"> - <div class="listSection"> - <table class="members" width="50%" cellspacing="0" frame="lhs"> - <xsl:apply-templates /> - </table> - </div> - </xsl:template> - - <xsl:template match="ddue:tableHeader"> - <xsl:apply-templates /> - </xsl:template> - - <xsl:template match="ddue:row"> - <tr> - <xsl:apply-templates /> - </tr> - </xsl:template> - - <xsl:template match="ddue:entry"> - <td> - <xsl:apply-templates /> - </td> - </xsl:template> - - <xsl:template match="ddue:tableHeader/ddue:row/ddue:entry"> - <th> - <xsl:apply-templates /> - </th> - </xsl:template> - - <xsl:template match="ddue:definitionTable"> - <dl> - <xsl:apply-templates /> - </dl> - </xsl:template> - - <xsl:template match="ddue:definedTerm"> - <dt><span class="nonLinkTerm"><xsl:apply-templates /></span></dt> - </xsl:template> - - <xsl:template match="ddue:definition"> - <dd> - <xsl:apply-templates /> - </dd> - </xsl:template> - - <xsl:template match="ddue:code"> - <xsl:variable name="codeLang"> - <xsl:choose> - <xsl:when test="@language = 'vbs'"> - <xsl:text>VBScript</xsl:text> - </xsl:when> - <xsl:when test="@language = 'vb' or @language = 'vb#' or @language = 'VB'" > - <xsl:text>VisualBasic</xsl:text> - </xsl:when> - <xsl:when test="@language = 'c#' or @language = 'cs' or @language = 'C#'" > - <xsl:text>CSharp</xsl:text> - </xsl:when> - <xsl:when test="@language = 'cpp' or @language = 'cpp#' or @language = 'c' or @language = 'c++' or @language = 'C++'" > - <xsl:text>ManagedCPlusPlus</xsl:text> - </xsl:when> - <xsl:when test="@language = 'j#' or @language = 'jsharp'"> - <xsl:text>JSharp</xsl:text> - </xsl:when> - <xsl:when test="@language = 'js' or @language = 'jscript#' or @language = 'jscript' or @language = 'JScript'"> - <xsl:text>JScript</xsl:text> - </xsl:when> - <xsl:when test="@language = 'xml'"> - <xsl:text>xmlLang</xsl:text> - </xsl:when> - <xsl:when test="@language = 'html'"> - <xsl:text>html</xsl:text> - </xsl:when> - <xsl:when test="@language = 'vb-c#'"> - <xsl:text>visualbasicANDcsharp</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>other</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="titleName" select="../../ddue:title"/> - - <xsl:choose> - <xsl:when test="(($titleName = 'Output') or ($titleName = 'Input') or ($titleName = 'SampleOutput'))"> - <div class="code"> - <table width="100%" cellspacing="0" cellpadding="0"> - <tr> - <th> - <xsl:text> </xsl:text> - </th> - - </tr> - <tr> - <td colspan="2"> - <pre> - <xsl:apply-templates/> - </pre> - </td> - </tr> - </table> - </div> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="codeSection"> - <xsl:with-param name="codeLang" select="$codeLang" /> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - - </xsl:template> - - <xsl:template match="ddue:sampleCode"> - <div><b><xsl:value-of select="@language"/></b></div> - <div class="code"><pre><xsl:apply-templates /></pre></div> - </xsl:template> - - <xsl:template name="composeCode"> - <xsl:copy-of select="." /> - <xsl:variable name="next" select="following-sibling::*[1]" /> - <xsl:if test="boolean($next/@language) and boolean(local-name($next)=local-name())"> - <xsl:for-each select="$next"> - <xsl:call-template name="composeCode" /> - </xsl:for-each> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:alert"> - <div class="alert"> - <table width="100%" cellspacing="0" cellpadding="0"> - <tr> - <th align="left"> - <xsl:choose> - <xsl:when test="@class='tip'"> - <img class="note"> - <includeAttribute name="title" item="tipAltText" /> - <includeAttribute item="iconPath" name="src"> - <parameter>alert_note.gif</parameter> - </includeAttribute> - </img> - <include item="tipTitle" /> - </xsl:when> - <xsl:when test="@class='caution' or @class='warning'"> - <img class="note"> - <includeAttribute name="title" item="cautionAltText" /> - <includeAttribute item="iconPath" name="src"> - <parameter>alert_caution.gif</parameter> - </includeAttribute> - </img> - <include item="cautionTitle" /> - </xsl:when> - <xsl:when test="@class='security note'"> - <img class="note"> - <includeAttribute name="title" item="securityAltText" /> - <includeAttribute item="iconPath" name="src"> - <parameter>alert_security.gif</parameter> - </includeAttribute> - </img> - <include item="securityTitle" /> - </xsl:when> - <xsl:when test="@class='important'"> - <img class="note"> - <includeAttribute name="title" item="importantAltText" /> - <includeAttribute item="iconPath" name="src"> - <parameter>alert_caution.gif</parameter> - </includeAttribute> - </img> - <include item="importantTitle" /> - </xsl:when> - <xsl:when test="@class='visual basic note'"> - <img class="note"> - <includeAttribute name="title" item="visualBasicAltText" /> - <includeAttribute item="iconPath" name="src"> - <parameter>alert_note.gif</parameter> - </includeAttribute> - </img> - <include item="visualBasicTitle" /> - </xsl:when> - <xsl:when test="@class='visual c# note'"> - <img class="note"> - <includeAttribute name="title" item="visualC#AltText" /> - <includeAttribute item="iconPath" name="src"> - <parameter>alert_note.gif</parameter> - </includeAttribute> - </img> - <include item="visualC#Title" /> - </xsl:when> - <xsl:when test="@class='visual c++ note'"> - <img class="note"> - <includeAttribute name="title" item="visualC++AltText" /> - <includeAttribute item="iconPath" name="src"> - <parameter>alert_note.gif</parameter> - </includeAttribute> - </img> - <include item="visualC++Title" /> - </xsl:when> - <xsl:when test="@class='visual j# note'"> - <img class="note"> - <includeAttribute name="title" item="visualJ#AltText" /> - <includeAttribute item="iconPath" name="src"> - <parameter>alert_note.gif</parameter> - </includeAttribute> - </img> - <include item="visualJ#Title" /> - </xsl:when> - <xsl:when test="@class='note'"> - <img class="note"> - <includeAttribute name="title" item="noteAltText" /> - <includeAttribute item="iconPath" name="src"> - <parameter>alert_note.gif</parameter> - </includeAttribute> - </img> - <include item="noteTitle" /> - </xsl:when> - <xsl:otherwise> - <img class="note"> - <includeAttribute name="title" item="noteAltText" /> - <includeAttribute item="iconPath" name="src"> - <parameter>alert_note.gif</parameter> - </includeAttribute> - </img> - <include item="{@class}" /> - </xsl:otherwise> - </xsl:choose> - </th> - </tr> - <tr> - <td> - <xsl:apply-templates/> - </td> - </tr> - </table> - </div> - </xsl:template> - - <xsl:template match="ddue:sections"> - <xsl:apply-templates select="ddue:section" /> - </xsl:template> - - <xsl:template match="ddue:section"> - <xsl:if test="descendant::ddue:content[normalize-space(.)]"> - <xsl:apply-templates select="@address" /> - <!-- Count all the possible ancestor root nodes --> - <xsl:variable name="a1" select="count(ancestor::ddue:attributesandElements)" /> - <xsl:variable name="a2" select="count(ancestor::ddue:codeExample)" /> - <xsl:variable name="a3" select="count(ancestor::ddue:dotNetFrameworkEquivalent)" /> - <xsl:variable name="a4" select="count(ancestor::ddue:elementInformation)" /> - <xsl:variable name="a5" select="count(ancestor::ddue:exceptions)" /> - <xsl:variable name="a6" select="count(ancestor::ddue:introduction)" /> - <xsl:variable name="a7" select="count(ancestor::ddue:languageReferenceRemarks)" /> - <xsl:variable name="a8" select="count(ancestor::ddue:nextSteps)" /> - <xsl:variable name="a9" select="count(ancestor::ddue:parameters)" /> - <xsl:variable name="a10" select="count(ancestor::ddue:prerequisites)" /> - <xsl:variable name="a11" select="count(ancestor::ddue:procedure)" /> - <xsl:variable name="a12" select="count(ancestor::ddue:relatedTopics)" /> - <xsl:variable name="a13" select="count(ancestor::ddue:remarks)" /> - <xsl:variable name="a14" select="count(ancestor::ddue:requirements)" /> - <xsl:variable name="a15" select="count(ancestor::ddue:schemaHierarchy)" /> - <xsl:variable name="a16" select="count(ancestor::ddue:syntaxSection)" /> - <xsl:variable name="a17" select="count(ancestor::ddue:textValue)" /> - <xsl:variable name="a18" select="count(ancestor::ddue:type)" /> - <xsl:variable name="a19" select="count(ancestor::ddue:section)" /> - <xsl:variable name="total" select="$a1+$a2+$a3+$a4+$a5+$a6+$a7+$a8+$a9+$a10+$a11+$a12+$a13+$a14+$a15+$a16+$a17+$a18+$a19" /> - <xsl:choose> - <xsl:when test="$total = 0"> - <xsl:variable name="sectionCount"> - <xsl:value-of select="count(preceding-sibling::ddue:section)"/> - </xsl:variable> - <xsl:choose> - <xsl:when test="ddue:title"> - <h1 class="heading"> - <span onclick="ExpandCollapse(sectionToggle{$sectionCount})" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(sectionToggle{$sectionCount}, event)" tabindex="0"> - <img id="sectionToggle{$sectionCount}" class="toggle" name="toggleSwitch"> - <includeAttribute name="src" item="iconPath"> - <parameter>collapse_all.gif</parameter> - </includeAttribute> - </img> - <xsl:value-of select="ddue:title" /> - </span> - </h1> - <div id="sectionSection{$sectionCount}" class="section" name="collapseableSection" style=""> - <xsl:apply-templates select="ddue:content"/> - <xsl:apply-templates select="ddue:sections" /> - </div> - </xsl:when> - <xsl:otherwise> - <div id="sectionSection{$sectionCount}" class="seeAlsoNoToggleSection"> - <xsl:apply-templates select="ddue:content"/> - <xsl:apply-templates select="ddue:sections"/> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="$total = 1"> - <h3 class="subHeading"> - <xsl:value-of select="ddue:title"/> - </h3> - <div class="subsection"> - <xsl:apply-templates select="ddue:content"/> - <xsl:apply-templates select="ddue:sections" /> - </div> - </xsl:when> - <xsl:otherwise> - <h4 class="subHeading"> - <xsl:value-of select="ddue:title"/> - </h4> - <div class="subsection"> - <xsl:apply-templates select="ddue:content"/> - <xsl:apply-templates select="ddue:sections" /> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:template> -<!-- - <xsl:template match="@address"> - <a name="{string(.)}" /> - </xsl:template> ---> - <xsl:template match="ddue:mediaLink|ddue:mediaLinkInline"> - <span class="media"> - <xsl:if test="ddue:caption"> - <div class="caption"> - <xsl:apply-templates select="ddue:caption" /> - </div> - <br /> - </xsl:if> - <artLink target="{ddue:image/@xlink:href}" /> - </span> - </xsl:template> - - <xsl:template match="ddue:procedure"> - <xsl:if test="normalize-space(ddue:title)"> - <h3 class="procedureSubHeading"> - <xsl:value-of select="ddue:title"/> - </h3> - </xsl:if> - <div class="subSection"> - <xsl:apply-templates select="ddue:steps"/> - <xsl:apply-templates select="ddue:conclusion"/> - </div> - </xsl:template> - - <xsl:template match="ddue:steps"> - <xsl:choose> - <xsl:when test="@class = 'ordered'"> - <xsl:variable name="temp"> - <xsl:value-of select="count(ddue:step)"/> - </xsl:variable> - <xsl:if test="$temp = 1"> - <ul> - <xsl:apply-templates select="ddue:step"/> - </ul> - </xsl:if> - <xsl:if test="$temp > 1"> - <ol> - <xsl:apply-templates select="ddue:step"/> - </ol> - </xsl:if> - </xsl:when> - <xsl:when test="@class='bullet'"> - <ul> - <xsl:apply-templates select="ddue:step" /> - </ul> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="ddue:step"> - <li><xsl:apply-templates /></li> - </xsl:template> - - - <xsl:template match="ddue:inThisSection"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'inThisSection'"/> - <xsl:with-param name="title"><include item="inThisSectionTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:buildInstructions"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'buildInstructions'"/> - <xsl:with-param name="title"><include item="buildInstructionsTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:nextSteps"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'nextSteps'"/> - <xsl:with-param name="title"><include item="nextStepsTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:requirements"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'requirementsTitle'"/> - <xsl:with-param name="title"><include item="requirementsTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <!-- inline elements --> - - <xsl:template match="ddue:languageKeyword"> - <xsl:variable name="word" select="." /> - <span class="keyword" sdata="langKeyword" value="{$word}"> - <xsl:choose> - <xsl:when test="$word='null' or $word='Nothing' or $word='nullptr'"> - <span class="cs">null</span> - <span class="vb">Nothing</span> - <span class="cpp">nullptr</span> - </xsl:when> - <xsl:when test="$word='static' or $word='Shared'"> - <span class="cs">static</span> - <span class="vb">Shared</span> - <span class="cpp">static</span> - </xsl:when> - <xsl:when test="$word='virtual' or $word='Overridable'"> - <span class="cs">virtual</span> - <span class="vb">Overridable</span> - <span class="cpp">virtual</span> - </xsl:when> - <xsl:when test="$word='true' or $word='True'"> - <span class="cs">true</span> - <span class="vb">True</span> - <span class="cpp">true</span> - </xsl:when> - <xsl:when test="$word='false' or $word='False'"> - <span class="cs">false</span> - <span class="vb">False</span> - <span class="cpp">false</span> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="." /> - </xsl:otherwise> - </xsl:choose> - </span> - </xsl:template> - - <!-- links --> - - <xsl:template match="ddue:dynamicLink[@type='inline']"> - <MSHelp:ktable disambiguator='span' indexMoniker='!DefaultDynamicLinkIndex'> - <xsl:attribute name="keywords"> - <xsl:for-each select="ddue:keyword"> - <xsl:value-of select="."/> - <xsl:if test="position() != last()">;</xsl:if> - </xsl:for-each> - </xsl:attribute> - <includeAttribute name="prefix" item="dynamicLinkInlinePreFixText" /> - <includeAttribute name="postfix" item="dynamicLinkInlinePostFixText" /> - <includeAttribute name="separator" item="dynamicLinkInlineSeperatorText" /> - </MSHelp:ktable> - </xsl:template> - - <xsl:template match="ddue:dynamicLink[@type='table']"> - <include item="mshelpKTable"> - <parameter> - <xsl:for-each select="ddue:keyword"> - <xsl:value-of select="."/> - <xsl:if test="position() != last()">;</xsl:if> - </xsl:for-each> - </parameter> - </include> - </xsl:template> - - <xsl:template match="ddue:dynamicLink[@type='bulleted']"> - <MSHelp:ktable disambiguator='span' indexMoniker='!DefaultDynamicLinkIndex'> - <xsl:attribute name="keywords"> - <xsl:for-each select="ddue:keyword"> - <xsl:value-of select="."/> - <xsl:if test="position() != last()">;</xsl:if> - </xsl:for-each> - </xsl:attribute> - <xsl:attribute name="prefix"><ul><li></xsl:attribute> - <xsl:attribute name="postfix"></li></ul></xsl:attribute> - <xsl:attribute name="separator"></li><li></xsl:attribute> - </MSHelp:ktable> - </xsl:template> - - <xsl:template match="ddue:codeFeaturedElement"> - <xsl:if test="normalize-space(.)"> - <xsl:if test="count(preceding::ddue:codeFeaturedElement) > 0"><br/></xsl:if> - <b><xsl:apply-templates/></b> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:languageReferenceRemarks"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'languageReferenceRemarks'"/> - <xsl:with-param name="title"> - <include item="remarksTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:attributesandElements"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'attributesAndElements'"/> - <xsl:with-param name="title"> - <include item="attributesAndElements" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:attributes"> - <xsl:if test="normalize-space(.)"> - <h4 class="subHeading"> - <include item="attributes"/> - </h4> - <xsl:apply-templates/> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:attribute"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="ddue:attribute/ddue:title"> - <h4 class="subHeading"> - <xsl:apply-templates/> - </h4> - </xsl:template> - - <xsl:template match="ddue:childElement"> - <xsl:if test="normalize-space(.)"> - <h4 class="subHeading"> - <include item="childElement"/> - </h4> - <xsl:apply-templates/> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:parentElement"> - <xsl:if test="normalize-space(.)"> - <h4 class="subHeading"> - <include item="parentElement"/> - </h4> - <xsl:apply-templates/> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:textValue"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'textValue'"/> - <xsl:with-param name="title"> - <include item="textValue" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:elementInformation"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'elementInformation'"/> - <xsl:with-param name="title"> - <include item="elementInformation" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:dotNetFrameworkEquivalent"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'dotNetFrameworkEquivalent'"/> - <xsl:with-param name="title"> - <include item="dotNetFrameworkEquivalent" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:prerequisites"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'prerequisites'"/> - <xsl:with-param name="title"> - <include item="prerequisites" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:type"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="ddue:robustProgramming"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'robustProgramming'"/> - <xsl:with-param name="title"> - <include item="robustProgramming" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:security"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'security'"/> - <xsl:with-param name="title"> - <include item="securitySection" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:externalResources"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'externalResources'"/> - <xsl:with-param name="title"> - <include item="externalResources" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:demonstrates"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'demonstrates'"/> - <xsl:with-param name="title"> - <include item="demonstrates" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:appliesTo"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'appliesTo'"/> - <xsl:with-param name="title"> - <include item="appliesTo" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:conclusion"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="ddue:background"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'background'"/> - <xsl:with-param name="title"> - <include item="background" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:whatsNew"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'whatsNew'"/> - <xsl:with-param name="title"> - <include item="whatsNew" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:reference"> - <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'reference'"/> - <xsl:with-param name="title"> - <include item="reference" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:developerErrorMessageDocument"> - <xsl:for-each select="*"> - <xsl:choose> - <xsl:when test="name() = 'secondaryErrorTitle'"> - <xsl:if test="not(../ddue:nonLocErrorTitle)"> - <xsl:apply-templates select="."> - <xsl:with-param name="newSection">yes</xsl:with-param> - </xsl:apply-templates> - </xsl:if> - </xsl:when> - - <xsl:otherwise><xsl:apply-templates select="." /></xsl:otherwise> - </xsl:choose> - </xsl:for-each> - - </xsl:template> - - <xsl:template match="ddue:nonLocErrorTitle"> - <xsl:if test="string-length(../ddue:nonLocErrorTitle[normalize-space(.)]) > 0 or string-length(../ddue:secondaryErrorTitle[normalize-space(.)]) > 0"> - <div id="errorTitleSection" class="section"> - <xsl:if test="../ddue:secondaryErrorTitle"> - <h4 class="subHeading"><include item="errorMessage"/></h4> - <xsl:apply-templates select="../ddue:secondaryErrorTitle"> - <xsl:with-param name="newSection">no</xsl:with-param> - </xsl:apply-templates> - </xsl:if> - <xsl:apply-templates/><p/> - </div> - </xsl:if> - </xsl:template> - - <xsl:template match="ddue:secondaryErrorTitle"> - <xsl:param name="newSection"/> - <xsl:if test="string-length(../ddue:secondaryErrorTitle[normalize-space(.)]) > 0"> - <xsl:choose> - <xsl:when test="$newSection = 'yes'"> - <div id="errorTitleSection" class="section"> - <xsl:apply-templates/><p/> - </div> - </xsl:when> - <xsl:otherwise><xsl:apply-templates/><br/></xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:template> - - - <xsl:template name="createReferenceLink"> - <xsl:param name="id" /> - <xsl:param name="qualified" select="false()" /> - <referenceLink target="{$id}" qualified="{$qualified}" /> - </xsl:template> - - <xsl:template match="ddue:snippets"> - <xsl:variable name="codeId" select="generate-id()" /> - <div name="snippetGroup"> - <table class="filter" cellspacing="0" cellpadding="0"> - <tr id="curvedTabs_{$codeId}"> - <xsl:for-each select="ddue:snippet"> - <td class="leftTab" x-lang="{@language}"> </td> - <td class="middleTab" x-lang="{@language}"> </td> - <td class="rightTab" x-lang="{@language}"> </td> - </xsl:for-each> - </tr> - <tr class="tabs" id="ct_{$codeId}"> - <xsl:for-each select="ddue:snippet"> - - <xsl:variable name="style"> - <xsl:call-template name="languageCheck"> - <xsl:with-param name="codeLanguage" select="@language" /> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="languageEvent"> - <xsl:choose> - <xsl:when test="$style != ''"> - <xsl:text>changeLanguage(data, '</xsl:text><xsl:value-of select="@language"/> - <xsl:text>', '</xsl:text><xsl:value-of select="$style" /> - <xsl:text>');</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>toggleClass('ct_</xsl:text><xsl:value-of select="$codeId" /> - <xsl:text>','x-lang','</xsl:text><xsl:value-of select="@language"/> - <xsl:text>','activeTab','tab'); curvedToggleClass('curvedTabs_</xsl:text><xsl:value-of select="$codeId"/> - <xsl:text>','x-lang','</xsl:text><xsl:value-of select="@language"/> - <xsl:text>'); toggleStyle('cb_</xsl:text><xsl:value-of select="$codeId"/> - <xsl:text>', 'x-lang','</xsl:text><xsl:value-of select="@language"/> - <xsl:text>','display','block','none');</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <td class="leftGrad" x-lang="{@language}"> </td> - <td class="tab" x-lang="{@language}" onclick="{$languageEvent}"> - <include item="{@language}Label" /> - </td> - <td class="rightGrad" x-lang="{@language}"> </td> - </xsl:for-each> - </tr> - </table> - <div id="cb_{$codeId}"> - <xsl:for-each select="ddue:snippet"> - <div class="code" x-lang="{@language}"> - <xsl:call-template name="codeSection" /> - </div> - </xsl:for-each> - </div> - </div> - </xsl:template> - - <xsl:template name="section"> - <xsl:param name="toggleSwitch" /> - <xsl:param name="title" /> - <xsl:param name="content" /> - - <xsl:variable name="toggleTitle" select="concat($toggleSwitch,'Toggle')" /> - <xsl:variable name="toggleSection" select="concat($toggleSwitch,'Section')" /> - - <h1 class="heading"> - <span onclick="ExpandCollapse({$toggleTitle})" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey({$toggleTitle}, event)" tabindex="0"> - <img id="{$toggleTitle}" class="toggle" name="toggleSwitch"> - <includeAttribute name="src" item="iconPath"> - <parameter>collapse_all.gif</parameter> - </includeAttribute> - </img> - <xsl:copy-of select="$title" /> - </span> - </h1> - - <div id="{$toggleSection}" class="section" name="collapseableSection" style=""> - <xsl:copy-of select="$content" /> - </div> - - </xsl:template> - - <xsl:template name="subSection"> - <xsl:param name="title" /> - <xsl:param name="content" /> - - <h4 class="subHeading"> - <xsl:copy-of select="$title" /> - </h4> - <xsl:copy-of select="$content" /> - - </xsl:template> - - <!-- capture authored glossary <link> nodes --> - <xsl:template match="ddue:link[starts-with(.,'GTMT#')]"> - <!-- not supporting popup definitions; just show the display text --> - <span sdata="link"> - <xsl:value-of select="substring-after(.,'GTMT#')"/> - </span> - </xsl:template> - - - <!-- fail if any unknown elements are encountered --> - <!-- - <xsl:template match="*"> - <xsl:message terminate="yes"> - <xsl:text>An unknown element was encountered.</xsl:text> - </xsl:message> - </xsl:template> ---> - - <xsl:template match="ddue:developerSampleDocument"> - <!-- show the topic intro --> - <xsl:apply-templates select="ddue:introduction"/> - - <!-- the sample download list section from dsSample --> - <xsl:if test="ddue:relatedTopics/ddue:sampleRef"> - <include item="{ddue:relatedTopics/ddue:sampleRef/@srcID}"/> - </xsl:if> - - <!-- then the rest of the topic's content --> - <xsl:for-each select="*"> - <xsl:choose> - <!-- introduction was already captured above --> - <xsl:when test="name() = 'introduction'"/> - - <xsl:otherwise> - <xsl:apply-templates select="." /> - </xsl:otherwise> - </xsl:choose> - </xsl:for-each> - - </xsl:template> - -</xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/hana/transforms/utilities_metadata.xsl b/tools/Sandcastle/Presentation/hana/transforms/utilities_metadata.xsl deleted file mode 100644 index 8da8e5e..0000000 --- a/tools/Sandcastle/Presentation/hana/transforms/utilities_metadata.xsl +++ /dev/null @@ -1,928 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1" - xmlns:MSHelp="http://msdn.microsoft.com/mshelp" - xmlns:mshelp="http://msdn.microsoft.com/mshelp" - xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:msxsl="urn:schemas-microsoft-com:xslt" - > - - <xsl:import href="../../shared/transforms/utilities_metadata.xsl" /> - - <xsl:template name="insertMetadata"> - <xsl:if test="$metadata='true'"> - <xml> - <xsl:call-template name="mshelpTitles" /> - <MSHelp:Attr Name="AssetID" Value="{$key}" /> - <!-- toc metadata --> - <xsl:call-template name="linkMetadata" /> - <xsl:call-template name="indexMetadata" /> - <xsl:call-template name="helpMetadata" /> - <xsl:call-template name="helpPriorityMetadata" /> - <xsl:call-template name="apiTaggingMetadata" /> - <xsl:call-template name="mshelpDevlangAttributes" /> - <MSHelp:Attr Name="Locale"> - <includeAttribute name="Value" item="locale" /> - </MSHelp:Attr> - <!-- attribute to allow F1 help integration --> - <MSHelp:Attr Name="TopicType"> - <includeAttribute name="Value" item="TT_ManagedReference"/> - </MSHelp:Attr> - - <!-- Abstract --> - <xsl:choose> - <xsl:when test="string-length($abstractSummary) > 254"> - <MSHelp:Attr Name="Abstract" Value="{normalize-space(concat(substring($abstractSummary,1,250), ' ...'))}" /> - </xsl:when> - <xsl:when test="string-length($abstractSummary) > 0"> - <MSHelp:Attr Name="Abstract" Value="{normalize-space($abstractSummary)}" /> - </xsl:when> - </xsl:choose> - - <xsl:call-template name="mshelpCodelangAttributes" /> - <xsl:call-template name="versionMetadata" /> - <xsl:call-template name="authoredMetadata" /> - </xml> - </xsl:if> - </xsl:template> - - <!-- add DocSet and Technology attributes depending on the versions that support this api --> - <xsl:template name="versionMetadata"> - <xsl:variable name="supportedOnCf"> - <xsl:call-template name="IsMemberSupportedOnCf"/> - </xsl:variable> - <xsl:if test="count(/document/reference/versions/versions[@name='netfw']/version) > 0"> - <MSHelp:Attr Name="Technology"> - <includeAttribute name="Value" item="desktopTechnologyAttribute" /> - </MSHelp:Attr> - </xsl:if> - <xsl:if test="count(/document/reference/versions/versions[@name='netcfw']/version) > 0 or normalize-space($supportedOnCf)!=''"> - <MSHelp:Attr Name="Technology"> - <includeAttribute name="Value" item="netcfTechnologyAttribute" /> - </MSHelp:Attr> - <MSHelp:Attr Name="DocSet"> - <includeAttribute name="Value" item="netcfDocSetAttribute" /> - </MSHelp:Attr> - </xsl:if> - </xsl:template> - - <xsl:template name="authoredMetadata"> - - <!-- authored attributes --> - <xsl:for-each select="/document/metadata/attribute"> - <MSHelp:Attr Name="{@name}" Value="{text()}" /> - </xsl:for-each> - - <!-- authored K --> - <xsl:for-each select="/document/metadata/keyword[@index='K']"> - <MSHelp:Keyword Index="K"> - <xsl:attribute name="Term"> - <xsl:value-of select="text()" /> - <xsl:for-each select="keyword[@index='K']"> - <xsl:text>, </xsl:text> - <xsl:value-of select="text()"/> - </xsl:for-each> - </xsl:attribute> - </MSHelp:Keyword> - </xsl:for-each> - - <!-- authored F --> - <xsl:for-each select="/document/metadata/keyword[@index='F']"> - <MSHelp:Keyword Index="F"> - <xsl:attribute name="Term"> - <xsl:value-of select="text()" /> - <xsl:for-each select="keyword[@index='F']"> - <xsl:text>, </xsl:text> - <xsl:value-of select="text()"/> - </xsl:for-each> - </xsl:attribute> - </MSHelp:Keyword> - </xsl:for-each> - - <!-- authored B --> - <xsl:for-each select="/document/metadata/keyword[@index='B']"> - <MSHelp:Keyword Index="B"> - <xsl:attribute name="Term"> - <xsl:value-of select="text()" /> - <xsl:for-each select="keyword[@index='B']"> - <xsl:text>, </xsl:text> - <xsl:value-of select="text()"/> - </xsl:for-each> - </xsl:attribute> - </MSHelp:Keyword> - </xsl:for-each> - - </xsl:template> - - <xsl:template name="mshelpTitles"> - - <!-- Toc List title--> - <MSHelp:TOCTitle> - <includeAttribute name="Title" item="tocTitle"> - <parameter> - <xsl:call-template name="topicTitlePlain" /> - </parameter> - </includeAttribute> - </MSHelp:TOCTitle> - - <!-- The Results List title --> - <MSHelp:RLTitle> - <includeAttribute name="Title" item="rlTitle"> - <parameter> - <xsl:call-template name="topicTitlePlain"> - <xsl:with-param name="qualifyMembers" value="true()" /> - </xsl:call-template> - </parameter> - <parameter> - <xsl:value-of select="$namespaceName"/> - </parameter> - </includeAttribute> - </MSHelp:RLTitle> - - </xsl:template> - - <xsl:template name="apiTaggingMetadata"> - <xsl:if test="($group='type' or $group='member')"> - <MSHelp:Attr Name="APIType" Value="Managed" /> - <MSHelp:Attr Name="APILocation" Value="{/document/reference/containers/library/@assembly}.dll" /> - <xsl:choose> - <xsl:when test="$group='type'"> - <xsl:variable name="apiTypeName"> - <xsl:value-of select="concat(/document/reference/containers/namespace/apidata/@name,'.',/document/reference/apidata/@name)" /> - <xsl:if test="count(/document/reference/templates/template) > 0"> - <xsl:value-of select="concat('`',count(/document/reference/templates/template))" /> - </xsl:if> - </xsl:variable> - <!-- Namespace + Type --> - <MSHelp:Attr Name="APIName" Value="{$apiTypeName}" /> - <xsl:choose> - <xsl:when test="boolean($subgroup='delegate')"> - <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.ctor')}" /> - <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.','Invoke')}" /> - <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.','BeginInvoke')}" /> - <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.','EndInvoke')}" /> - </xsl:when> - <xsl:when test="$subgroup='enumeration'"> - <xsl:for-each select="/document/reference/elements/element"> - <MSHelp:Attr Name="APIName" Value="{substring(@api,3)}" /> - </xsl:for-each> - <!-- Namespace + Type + Member for each member --> - </xsl:when> - </xsl:choose> - </xsl:when> - <xsl:when test="$group='member'"> - <xsl:variable name="apiTypeName"> - <xsl:value-of select="concat(/document/reference/containers/namespace/apidata/@name,'.',/document/reference/containers/type/apidata/@name)" /> - <xsl:if test="count(/document/reference/templates/template) > 0"> - <xsl:value-of select="concat('`',count(/document/reference/templates/template))" /> - </xsl:if> - </xsl:variable> - <!-- Namespace + Type + Member --> - <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.',/document/reference/apidata/@name)}" /> - <xsl:choose> - <xsl:when test="boolean($subgroup='property')"> - <!-- Namespace + Type + get_Member if get-able --> - <!-- Namespace + Type + set_Member if set-able --> - </xsl:when> - <xsl:when test="boolean($subgroup='event')"> - <!-- Namespace + Type + add_Member --> - <!-- Namespace + Type + remove_Member --> - </xsl:when> - </xsl:choose> - </xsl:when> - </xsl:choose> - </xsl:if> - </xsl:template> - - <xsl:template name="linkMetadata"> - <!-- code entity reference keyword --> - <MSHelp:Keyword Index="A" Term="{$key}" /> - - <xsl:if test="$subgroup='enumeration'"> - <xsl:for-each select="/document/reference/elements/element"> - <MSHelp:Keyword Index="A" Term="{@api}" /> - </xsl:for-each> - </xsl:if> - - <!-- frlrf keywords --> - <xsl:choose> - <xsl:when test="$group='namespace'"> - <MSHelp:Keyword Index="A" Term="{translate(concat('frlrf',/document/reference/apidata/@name),'.','')}" /> - </xsl:when> - <!-- types & members, too --> - <xsl:when test="$group='type'"> - <MSHelp:Keyword Index="A" Term="{translate(concat('frlrf',/document/reference/containers/namespace/apidata/@name, /document/reference/apidata/@name, 'ClassTopic'),'.','')}" /> - </xsl:when> - <xsl:when test="$group='list'"> - <MSHelp:Keyword Index="A" Term="{translate(concat('frlrf',/document/reference/containers/namespace/apidata/@name, /document/reference/topicdata/@name, 'MembersTopic'),'.','')}" /> - </xsl:when> - <xsl:when test="$group='member'"> - <MSHelp:Keyword Index="A" Term="{translate(concat('frlrf',/document/reference/containers/namespace/apidata/@name, /document/reference/containers/type/apidata/@name, 'Class', /document/reference/apidata/@name, 'Topic'),'.','')}" /> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="$group='namespace'"> - <MSHelp:Keyword Index="A" Term="{concat('frlrf',translate(@name,'.',''))}" /> - </xsl:when> - <!-- types & members, too --> - </xsl:choose> - </xsl:template> - - <xsl:template name="oldIndexMetadata"> - <!-- K keywords --> - <xsl:choose> - <xsl:when test="$group='namespace'"> - <!-- namespace --> - <xsl:variable name="namespace" select="/document/reference/apidata/@name" /> - <xsl:if test="boolean($namespace)"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="namespaceIndexEntry"> - <parameter><xsl:value-of select="$namespace" /></parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:if> - </xsl:when> - <xsl:when test="$group='type'"> - <!-- type --> - <xsl:choose> - <xsl:when test="count(/document/reference/templates/template) = 0"> - <!-- non-generic type --> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="nameSubgroupIndexEntry"> - <parameter><xsl:value-of select="/document/reference/apidata/@name" /></parameter> - <parameter><xsl:value-of select="$subgroup" /></parameter> - </includeAttribute> - </MSHelp:Keyword> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="nameSubgroupIndexEntry"> - <parameter><xsl:value-of select="concat(/document/reference/containers/namespace[@api]/apidata/@name,'.',/document/reference/apidata/@name)" /></parameter> - <parameter><xsl:value-of select="$subgroup" /></parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:when> - <xsl:otherwise> - <!-- generic type --> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="nameSubgroupIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/apidata/@name" /> - <xsl:for-each select="/document/reference/templates"><xsl:call-template name="csTemplatesInIndex" /></xsl:for-each> - </parameter> - <parameter> - <xsl:value-of select="$subgroup" /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="nameSubgroupIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/apidata/@name" /> - <xsl:for-each select="/document/reference/templates"> - <xsl:call-template name="vbTemplates"> - <xsl:with-param name="seperator" select="string('%2C ')" /> - </xsl:call-template> - </xsl:for-each> - </parameter> - <parameter><xsl:value-of select="$subgroup" /></parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:otherwise> - </xsl:choose> - <!-- an entry like: "FileClassifier class, about FileClassifier class" --> - <xsl:if test="$subgroup='class' or $subgroup='structure' or $subgroup='interface'"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="aboutTypeIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/apidata/@name" /> - </parameter> - <parameter> - <xsl:value-of select="$subgroup"/> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:if> - <!-- for enums, an entry for each enum member, e.g. "Sunken enumeration member" --> - <xsl:if test="$subgroup='enumeration'"> - <xsl:for-each select="/document/reference/elements/element"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="nameSubgroupIndexEntry"> - <parameter> - <xsl:value-of select="apidata/@name" /> - </parameter> - <parameter> - <xsl:text>enumMember</xsl:text> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:for-each> - </xsl:if> - </xsl:when> - <xsl:when test="($group='member') and (starts-with($key,'Overload:') or not(/document/reference/memberdata/@overload))"> - <!-- member --> - <xsl:variable name="indexEntryItem"> - <xsl:choose> - <xsl:when test="boolean($subsubgroup)"> - <xsl:value-of select="$subsubgroup" /> - </xsl:when> - <xsl:when test="boolean($subgroup)"> - <xsl:value-of select="$subgroup" /> - </xsl:when> - </xsl:choose> - </xsl:variable> - <xsl:choose> - <xsl:when test="count(/document/reference/templates/template) = 0"> - <!-- non-generic member --> - <MSHelp:Keyword Index="K"> - <xsl:choose> - <xsl:when test="$subgroup='constructor'"> - <includeAttribute name="Term" item="listTopicIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/containers/type/apidata/@name"/> - </parameter> - <parameter> - <xsl:value-of select="/document/reference/containers/type/apidata/@subgroup"/> - </parameter> - <parameter> - <xsl:value-of select="$indexEntryItem" /> - </parameter> - </includeAttribute> - </xsl:when> - <xsl:otherwise> - <includeAttribute name="Term" item="nameSubgroupIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/apidata/@name"/> - </parameter> - <parameter> - <xsl:value-of select="$indexEntryItem" /> - </parameter> - </includeAttribute> - </xsl:otherwise> - </xsl:choose> - </MSHelp:Keyword> - </xsl:when> - <xsl:otherwise> - <!-- generic member --> - <MSHelp:Keyword Index="K"> - <xsl:choose> - <xsl:when test="$subgroup='constructor'"> - <includeAttribute name="Term" item="listTopicIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/containers/type/apidata/@name"/> - <xsl:for-each select="/document/reference/templates"> - <xsl:call-template name="csTemplatesInIndex" /> - </xsl:for-each> - </parameter> - <parameter> - <xsl:value-of select="/document/reference/containers/type/apidata/@subgroup"/> - </parameter> - <parameter> - <xsl:value-of select="$indexEntryItem" /> - </parameter> - </includeAttribute> - </xsl:when> - <xsl:otherwise> - <includeAttribute name="Term" item="nameSubgroupIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/apidata/@name"/> - <xsl:for-each select="/document/reference/templates"> - <xsl:call-template name="csTemplatesInIndex" /> - </xsl:for-each> - </parameter> - <parameter> - <xsl:value-of select="$indexEntryItem" /> - </parameter> - </includeAttribute> - </xsl:otherwise> - </xsl:choose> - </MSHelp:Keyword> - <MSHelp:Keyword Index="K"> - <xsl:choose> - <xsl:when test="$subgroup='constructor'"> - <includeAttribute name="Term" item="listTopicIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/containers/type/apidata/@name"/> - <xsl:for-each select="/document/reference/templates"> - <xsl:call-template name="vbTemplates"> - <xsl:with-param name="seperator" select="string('%2C ')" /> - </xsl:call-template> - </xsl:for-each> - </parameter> - <parameter> - <xsl:value-of select="/document/reference/containers/type/apidata/@subgroup"/> - </parameter> - <parameter> - <xsl:value-of select="$indexEntryItem" /> - </parameter> - </includeAttribute> - </xsl:when> - <xsl:otherwise> - <includeAttribute name="Term" item="nameSubgroupIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/apidata/@name"/> - <xsl:for-each select="/document/reference/templates"> - <xsl:call-template name="vbTemplates"> - <xsl:with-param name="seperator" select="string('%2C ')" /> - </xsl:call-template> - </xsl:for-each> - </parameter> - <parameter> - <xsl:value-of select="$indexEntryItem" /> - </parameter> - </includeAttribute> - </xsl:otherwise> - </xsl:choose> - </MSHelp:Keyword> - </xsl:otherwise> - </xsl:choose> - <!-- type + member --> - <xsl:choose> - <xsl:when test="count(/document/reference/containers/namespace[@api]/templates/template) = 0"> - <!-- non-generic type --> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="nameSubgroupIndexEntry"> - <parameter> - <xsl:choose> - <xsl:when test="$subgroup='constructor'"> - <xsl:value-of select="concat(/document/reference/containers/type/apidata/@name,'.',/document/reference/containers/type/apidata/@name)" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat(/document/reference/containers/namespace[@api]/apidata/@name,'.',/document/reference/apidata/@name)" /> - </xsl:otherwise> - </xsl:choose> - </parameter> - <parameter> - <xsl:value-of select="$indexEntryItem" /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:when> - <xsl:otherwise> - <!-- generic type --> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="nameSubgroupIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/containers/namespace[@api]/apidata/@name"/> - <xsl:for-each select="/document/reference/containers/namespace[@api]/templates"> - <xsl:call-template name="vbTemplates"> - <xsl:with-param name="seperator" select="string('%2C ')" /> - </xsl:call-template> - </xsl:for-each> - <xsl:text>.</xsl:text> - <xsl:choose> - <xsl:when test="$subgroup='constructor'"> - <xsl:value-of select="/document/reference/type/apidata/@name" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/apidata/@name" /> - </xsl:otherwise> - </xsl:choose> - </parameter> - <parameter> - <xsl:value-of select="$indexEntryItem" /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="nameSubgroupIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/containers/namespace[@api]/apidata/@name"/> - <xsl:for-each select="/document/reference/containers/namespace[@api]/templates"> - <xsl:call-template name="csTemplatesInIndex" /> - </xsl:for-each> - <xsl:text>.</xsl:text> - <xsl:choose> - <xsl:when test="$subgroup='constructor'"> - <xsl:value-of select="/document/reference/type/apidata/@name" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/apidata/@name" /> - </xsl:otherwise> - </xsl:choose> - </parameter> - <parameter> - <xsl:value-of select="$indexEntryItem" /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="($group='members' or $group='derivedtype')"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="listTopicIndexEntry"> - <parameter> - <xsl:value-of select="/document/reference/apidata/@name" /> - </parameter> - <parameter> - <xsl:value-of select="/document/reference/containers/type[@api]/apidata/@subgroup"/> - </parameter> - <parameter> - <xsl:value-of select="$subgroup" /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template name="helpMetadata"> - <!-- F keywords --> - <xsl:choose> - <!-- namespace pages get the namespace keyword, if it exists --> - <xsl:when test="$group='namespace'"> - <xsl:variable name="namespace" select="/document/reference/apidata/@name" /> - <xsl:if test="boolean($namespace)"> - <MSHelp:Keyword Index="F" Term="{$namespace}" /> - </xsl:if> - </xsl:when> - <!-- type overview and member list pages get type and namespace.type keywords --> - <xsl:when test="$group='type' or ($group='list' and $subgroup='members')"> - <xsl:variable name="namespace" select="/document/reference/containers/namespace/apidata/@name" /> - <xsl:variable name="type"> - <xsl:for-each select="/document/reference[1]"> - <xsl:call-template name="typeNamePlain"> - <xsl:with-param name="annotated" select="true()" /> - </xsl:call-template> - </xsl:for-each> - </xsl:variable> - <MSHelp:Keyword Index="F" Term="{$type}" /> - <xsl:if test="boolean($namespace)"> - <MSHelp:Keyword Index="F" Term="{concat($namespace,'.',$type)}" /> - </xsl:if> - <xsl:if test="$subgroup = 'enumeration'"> - <xsl:for-each select="/document/reference/elements/element"> - <MSHelp:Keyword Index="F" Term="{concat($type, '.', apidata/@name)}" /> - <xsl:if test="boolean($namespace)"> - <MSHelp:Keyword Index="F" Term="{concat($namespace,'.',$type, '.', apidata/@name)}" /> - </xsl:if> - </xsl:for-each> - </xsl:if> - <xsl:call-template name="xamlMSHelpFKeywords"/> - </xsl:when> - <!-- member pages get member, type.member, and namepsace.type.member keywords --> - <xsl:when test="$group='member'"> - <xsl:variable name="namespace" select="/document/reference/containers/namespace/apidata/@name" /> - <xsl:variable name="type"> - <xsl:for-each select="/document/reference/containers/type[1]"> - <xsl:call-template name="typeNamePlain"> - <xsl:with-param name="annotate" select="true()" /> - </xsl:call-template> - </xsl:for-each> - </xsl:variable> - <xsl:variable name="member"> - <xsl:choose> - <!-- if the member is a constructor, use the member name for the type name --> - <xsl:when test="$subgroup='constructor'"> - <xsl:value-of select="$type" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/apidata/@name"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <!-- - <xsl:choose> - --> - <!-- - <xsl:when test="$subgroup='constructor'"> - <MSHelp:Keyword Index="F" Term="{$type}" /> - <MSHelp:Keyword Index="F" Term="{concat($type, '.', $type)}" /> - <xsl:if test="boolean($namespace)"> - <MSHelp:Keyword Index="F" Term="{concat($namespace, '.', $type, '.', $type)}" /> - </xsl:if> - </xsl:when> - <xsl:otherwise> - --> - <MSHelp:Keyword Index="F" Term="{$member}" /> - <MSHelp:Keyword Index="F" Term="{concat($type, '.', $member)}" /> - <xsl:if test="boolean($namespace)"> - <MSHelp:Keyword Index="F" Term="{concat($namespace, '.', $type, '.', $member)}" /> - </xsl:if> - <!-- - </xsl:otherwise> - </xsl:choose> - --> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template name="helpPriorityMetadata"> - <xsl:choose> - <xsl:when test="$group='namespace' or $subgroup='members'"> - <MSHelp:Attr Name="HelpPriority" Value="1"/> - </xsl:when> - <xsl:when test="$group='type'"> - <MSHelp:Attr Name="HelpPriority" Value="2"/> - </xsl:when> - </xsl:choose> - </xsl:template> - - <!-- - <xsl:template name="apiName"> - <xsl:choose> - <xsl:when test="$subgroup='constructor'"> - <xsl:value-of select="/document/reference/containers/type/apidata/@name" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/apidata/@name" /> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - --> - - <xsl:template name="codeLang"> - <xsl:param name="codeLang" /> - <MSHelp:Attr Name="codelang" Value="{$codeLang}" /> - </xsl:template> - - <xsl:template name="mshelpDevlangAttributes"> - <xsl:for-each select="/document/syntax/div[@codeLanguage]"> - <xsl:if test="not(@codeLanguage=preceding::*/@codeLanguage)"> - <xsl:variable name="devlang"> - <xsl:choose> - <xsl:when test="@codeLanguage = 'CSharp' or @codeLanguage = 'c#' or @codeLanguage = 'cs' or @codeLanguage = 'C#'" > - <xsl:text>CSharp</xsl:text> - </xsl:when> - <xsl:when test="@codeLanguage = 'ManagedCPlusPlus' or @codeLanguage = 'cpp' or @codeLanguage = 'cpp#' or @codeLanguage = 'c' or @codeLanguage = 'c++' or @codeLanguage = 'C++' or @codeLanguage = 'kbLangCPP'" > - <xsl:text>C++</xsl:text> - </xsl:when> - <xsl:when test="@codeLanguage = 'JScript' or @codeLanguage = 'js' or @codeLanguage = 'jscript#' or @codeLanguage = 'jscript' or @codeLanguage = 'JScript' or @codeLanguage = 'kbJScript'"> - <xsl:text>JScript</xsl:text> - </xsl:when> - <xsl:when test="@codeLanguage = 'VisualBasic' or @codeLanguage = 'vb' or @codeLanguage = 'vb#' or @codeLanguage = 'VB' or @codeLanguage = 'kbLangVB'" > - <xsl:text>VB</xsl:text> - </xsl:when> - <xsl:when test="@codeLanguage = 'VBScript' or @codeLanguage = 'vbs'"> - <xsl:text>VBScript</xsl:text> - </xsl:when> - <xsl:when test="@codeLanguage = 'JSharp' or @codeLanguage = 'j#' or @codeLanguage = 'jsharp' or @codeLanguage = 'VJ#'"> - <xsl:text>VJ#</xsl:text> - </xsl:when> - <xsl:when test="@codeLanguage = 'xaml' or @codeLanguage = 'XAML'"> - <xsl:text>XAML</xsl:text> - </xsl:when> - <xsl:when test="@codeLanguage = 'xml' or @codeLanguage = 'XML'"> - <xsl:text>XML</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>other</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:choose> - <xsl:when test="$devlang='other'" /> - <xsl:otherwise> - <MSHelp:Attr Name="DevLang" Value="{$devlang}" /> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:for-each> - </xsl:template> - - <!-- - Additional F1 keywords for class, struct, and enum topics in a set of WPF namespaces. - This template inserts the MSHelp:Keyword nodes. - The keyword prefixes and the WPF namespaces are hard-coded in variables. - --> - <xsl:variable name="var_wpf_f1index_prefix_1">http://schemas.microsoft.com/winfx/2006/xaml/presentation#</xsl:variable> - <xsl:variable name="var_wpf_f1index_prefix_1_namespaces">N:System.Windows.Controls#N:System.Windows.Documents#N:System.Windows.Shapes#N:System.Windows.Navigation#N:System.Windows.Data#N:System.Windows#N:System.Windows.Controls.Primitives#N:System.Windows.Media.Animation#N:System.Windows.Annotations#N:System.Windows.Annotations.Anchoring#N:System.Windows.Annotations.Storage#N:System.Windows.Media#N:System.Windows.Media.Animation#N:System.Windows.Media.Media3D#N:</xsl:variable> - - <xsl:template name="xamlMSHelpFKeywords"> - <xsl:if test="$subgroup='class' or $subgroup='enumeration' or $subgroup='structure'"> - <xsl:if test="boolean(contains($var_wpf_f1index_prefix_1_namespaces, concat('#',/document/reference/containers/namespace/@api,'#')) - or starts-with($var_wpf_f1index_prefix_1_namespaces, concat(/document/reference/containers/namespace/@api,'#')))"> - <MSHelp:Keyword Index="F" Term="{concat($var_wpf_f1index_prefix_1, /document/reference/apidata/@name)}"/> - </xsl:if> - </xsl:if> - </xsl:template> - - <!-- Index Logic --> - - <xsl:template name="indexMetadata"> - <xsl:choose> - <!-- namespace topics get one unqualified index entry --> - <xsl:when test="$group='namespace'"> - <xsl:variable name="names"> - <xsl:for-each select="/document/reference"> - <xsl:call-template name="textNames" /> - </xsl:for-each> - </xsl:variable> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="namespaceIndexEntry"> - <parameter> - <xsl:value-of select="msxsl:node-set($names)/name" /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:when> - <!-- type overview topics get unqualified about --> - <xsl:when test="$group='type'"> - <xsl:variable name="names"> - <xsl:for-each select="/document/reference"> - <xsl:call-template name="textNames" /> - </xsl:for-each> - </xsl:variable> - <xsl:variable name="namespace" select="/document/reference/containers/namespace/apidata/@name" /> - <xsl:for-each select="msxsl:node-set($names)/name"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="{$subgroup}IndexEntry"> - <parameter> - <xsl:value-of select="." /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - <xsl:if test="boolean($namespace)"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="{$subgroup}IndexEntry"> - <parameter> - <xsl:value-of select="$namespace"/> - <xsl:text>.</xsl:text> - <xsl:value-of select="." /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:if> - <xsl:if test="$subgroup = 'class' or $subgroup= 'structure' or $subgroup= 'interface'"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="aboutTypeIndexEntry"> - <parameter> - <include item="{$subgroup}IndexEntry"> - <parameter> - <xsl:value-of select="." /> - </parameter> - </include> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:if> - </xsl:for-each> - <xsl:if test="$subgroup = 'enumeration'"> - <xsl:for-each select="/document/reference/elements/element"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="{$subgroup}MemberIndexEntry"> - <parameter> - <xsl:value-of select="apidata/@name" /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:for-each> - </xsl:if> - </xsl:when> - <!-- all member lists get unqualified entries, qualified entries, and unqualified sub-entries --> - <xsl:when test="$group='list' and $subgroup='members'"> - <xsl:variable name="typeSubgroup" select="/document/reference/apidata/@subgroup" /> - <xsl:variable name="names"> - <xsl:for-each select="/document/reference"> - <xsl:call-template name="textNames" /> - </xsl:for-each> - </xsl:variable> - <xsl:for-each select="msxsl:node-set($names)/name"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="{$typeSubgroup}IndexEntry"> - <parameter> - <xsl:value-of select="." /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="membersIndexEntry"> - <parameter> - <include item="{$typeSubgroup}IndexEntry"> - <parameter> - <xsl:value-of select="." /> - </parameter> - </include> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:for-each> - <xsl:variable name="qnames"> - <xsl:for-each select="/document/reference"> - <xsl:call-template name="qualifiedTextNames" /> - </xsl:for-each> - </xsl:variable> - <xsl:for-each select="msxsl:node-set($qnames)/name"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="{$typeSubgroup}IndexEntry"> - <parameter> - <xsl:value-of select="." /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:for-each> - <!-- enumeration topics also get entries for each member --> - </xsl:when> - <!-- other member list pages get unqualified sub-entries --> - <xsl:when test="$group='list' and not($subgroup = 'overload')"> - <xsl:variable name="typeSubgroup" select="/document/reference/apidata/@subgroup" /> - <xsl:variable name="names"> - <xsl:for-each select="/document/reference"> - <xsl:call-template name="textNames" /> - </xsl:for-each> - </xsl:variable> - <xsl:for-each select="msxsl:node-set($names)/name"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="{$subgroup}IndexEntry"> - <parameter> - <include item="{$typeSubgroup}IndexEntry"> - <parameter> - <xsl:value-of select="." /> - </parameter> - </include> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:for-each> - </xsl:when> - <!-- constructor (or constructor overload) topics get unqualified sub-entries using the type names --> - <xsl:when test="($subgroup='constructor' and not(/document/reference/memberdata/@overload)) or ($subgroup='overload' and /document/reference/apidata/@subgroup = 'constructor')"> - <xsl:variable name="typeSubgroup" select="/document/reference/containers/type/apidata/@subgroup" /> - <xsl:variable name="names"> - <xsl:for-each select="/document/reference/containers/type"> - <xsl:call-template name="textNames" /> - </xsl:for-each> - </xsl:variable> - <xsl:for-each select="msxsl:node-set($names)/name"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="constructorIndexEntry"> - <parameter> - <include item="{$typeSubgroup}IndexEntry"> - <parameter> - <xsl:value-of select="." /> - </parameter> - </include> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:for-each> - <xsl:variable name="qnames"> - <xsl:for-each select="/document/reference"> - <xsl:call-template name="qualifiedTextNames" /> - </xsl:for-each> - </xsl:variable> - <xsl:for-each select="msxsl:node-set($qnames)/name"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="constructorTypeIndexEntry"> - <parameter> - <xsl:value-of select="." /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:for-each> - </xsl:when> - <!-- other member (or overload) topics get qualified and unqualified entries using the member names --> - <xsl:when test="($group='member' and not(/document/reference/memberdata/@overload)) or $subgroup='overload'"> - <!-- no index entries for explicit interface implementations --> - <xsl:if test="not(/document/reference/proceduredata/@virtual='true' and /document/reference/memberdata/@visibility='private')"> - <xsl:variable name="entryType"> - <xsl:choose> - <xsl:when test="string($subsubgroup)"> - <xsl:value-of select="$subsubgroup" /> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$subgroup='overload'"> - <xsl:value-of select="/document/reference/apidata/@subgroup"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$subgroup" /> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="names"> - <xsl:for-each select="/document/reference"> - <xsl:call-template name="textNames" /> - </xsl:for-each> - </xsl:variable> - <xsl:for-each select="msxsl:node-set($names)/name"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="{$entryType}IndexEntry"> - <parameter> - <xsl:value-of select="." /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:for-each> - <xsl:variable name="qnames"> - <xsl:for-each select="/document/reference"> - <xsl:call-template name="qualifiedTextNames" /> - </xsl:for-each> - </xsl:variable> - <xsl:for-each select="msxsl:node-set($qnames)/name"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="{$entryType}IndexEntry"> - <parameter> - <xsl:value-of select="." /> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:for-each> - </xsl:if> - </xsl:when> - <!-- derived type lists get unqualified sub-entries --> - </xsl:choose> - </xsl:template> - -</xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/hana/transforms/utilities_reference.xsl b/tools/Sandcastle/Presentation/hana/transforms/utilities_reference.xsl deleted file mode 100644 index 0bed265..0000000 --- a/tools/Sandcastle/Presentation/hana/transforms/utilities_reference.xsl +++ /dev/null @@ -1,2407 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1" - xmlns:MSHelp="http://msdn.microsoft.com/mshelp" - xmlns:mshelp="http://msdn.microsoft.com/mshelp" - xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:msxsl="urn:schemas-microsoft-com:xslt" - > - - <xsl:import href="../../shared/transforms/utilities_reference.xsl"/> - - <xsl:output method="xml" omit-xml-declaration="yes" encoding="utf-8" /> -<!-- - <xsl:output method="xml" omit-xml-declaration="yes" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd" /> ---> - <!-- key parameter is the api identifier string --> - <xsl:param name="key" /> - <xsl:param name="metadata" value="false" /> - <xsl:param name="languages">false</xsl:param> - <xsl:param name="useOverloadRowsInMemberlists" select="false()"/> - - <xsl:include href="utilities_metadata.xsl" /> - <xsl:include href="xamlSyntax.xsl"/> - - <xsl:template match="/"> - <html> - <head> - <META NAME="save" CONTENT="history"/> - <title><xsl:call-template name="topicTitlePlain"/></title> - <xsl:call-template name="insertStylesheets" /> - <xsl:call-template name="insertScripts" /> - <xsl:call-template name="insertFilename" /> - <xsl:call-template name="insertMetadata" /> - </head> - <body> - - <xsl:call-template name="upperBodyStuff"/> - <!--<xsl:call-template name="control"/>--> - <xsl:call-template name="main"/> - </body> - </html> - </xsl:template> - - <!-- useful global variables --> - - <xsl:variable name="group"> - <xsl:choose> - <xsl:when test="/document/reference/topicdata/@group = 'api'"> - <xsl:value-of select="/document/reference/apidata/@group" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/topicdata/@group" /> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="subgroup"> - <xsl:choose> - <xsl:when test="/document/reference/topicdata/@group = 'api'"> - <xsl:value-of select="/document/reference/apidata/@subgroup" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/topicdata/@subgroup" /> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="subsubgroup"> - <xsl:choose> - <xsl:when test="/document/reference/topicdata/@group = 'api'"> - <xsl:value-of select="/document/reference/apidata/@subsubgroup" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/topicdata/@subsubgroup" /> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="pseudo" select="boolean(/document/reference/topicdata[@pseudo='true'])"/> - - <xsl:variable name="namespaceName"> - <xsl:value-of select="substring-after(/document/reference/containers/namespace/@api,':')"/> - </xsl:variable> - - - <!-- document head --> - - <xsl:template name="insertStylesheets"> - <link rel="stylesheet" type="text/css" href="../styles/presentation.css" /> - <!-- make mshelp links work --> - <link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" /> - <link rel="stylesheet" type="text/css" href="ms-help://Dx/DxRuntime/DxLink.css" /> - </xsl:template> - - <xsl:template name="insertScripts"> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"><parameter>EventUtilities.js</parameter></includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"><parameter>SplitScreen.js</parameter></includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"><parameter>Dropdown.js</parameter></includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"><parameter>script_manifold.js</parameter></includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"><parameter>LanguageFilter.js</parameter></includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"><parameter>DataStore.js</parameter></includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"><parameter>CommonUtilities.js</parameter></includeAttribute> - <xsl:text> </xsl:text> - </script> - <script type="text/javascript"> - <includeAttribute name="src" item="scriptPath"> - <parameter>MemberFilter.js</parameter> - </includeAttribute> - <xsl:text> </xsl:text> - </script> - </xsl:template> - - <xsl:template match="parameters"> - <div id="parameters"> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include item="parametersTitle"/> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:for-each select="parameter"> - <xsl:variable name="paramName" select="@name"/> - <dl paramName="{$paramName}"> - <dt> - <span class="parameter"> - <xsl:value-of select="$paramName"/> - </span> - </dt> - <dd> - <xsl:apply-templates select="*[1]" mode="link" /> - <!-- - <xsl:choose> - <xsl:when test="type"> - <xsl:call-template name="typeReferenceLink"> - <xsl:with-param name="api" select="type/@api" /> - <xsl:with-param name="qualified" select="true()" /> - <xsl:with-param name="specialization" select="boolean(type/specialization)" /> - </xsl:call-template> - <xsl:apply-templates select="type/specialization" /> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[1]" /> - </xsl:otherwise> - </xsl:choose> - --> - <br /> - <xsl:call-template name="getParameterDescription"> - <xsl:with-param name="name" select="@name" /> - </xsl:call-template> - </dd> - </dl> - </xsl:for-each> - </xsl:with-param> - </xsl:call-template> - </div> - </xsl:template> - - <xsl:template match="implements"> - <xsl:if test="member"> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include item="implementsTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:for-each select="member"> - <referenceLink target="{@api}" qualified="true" /> - <br /> - </xsl:for-each> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="element" mode="root"> - <tr> - <td> - <xsl:choose> - <xsl:when test="apidata/@name = ''"> - <referenceLink target="{@api}" qualified="false"> - <include item="defaultNamespace" /> - </referenceLink> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="createReferenceLink"> - <xsl:with-param name="id" select="@api" /> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </td> - <td> - <xsl:call-template name="getElementDescription" /> - </td> - </tr> - </xsl:template> - - <xsl:template match="element" mode="namespace"> - <xsl:variable name="typeVisibility"> - <xsl:choose> - <xsl:when test="typedata/@visibility='family' or typedata/@visibility='family or assembly' or typedata/@visibility='assembly'">prot</xsl:when> - <xsl:when test="typedata/@visibility='private'">priv</xsl:when> - <xsl:otherwise>pub</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <tr> - <xsl:attribute name="data"> - <xsl:value-of select="apidata/@subgroup" /> - <xsl:text>; public</xsl:text> - </xsl:attribute> - <td> - <xsl:call-template name="typeIcon"> - <xsl:with-param name="typeVisibility" select="$typeVisibility" /> - </xsl:call-template> - </td> - <td> - <xsl:call-template name="createReferenceLink"> - <xsl:with-param name="id" select="@api" /> - </xsl:call-template> - </td> - <td> - <xsl:call-template name="getInternalOnlyDescription" /> - <xsl:if test="attributes/attribute/type[@api='T:System.ObsoleteAttribute']"> - <xsl:text> </xsl:text> - <include item="obsoleteRed" /> - </xsl:if> - <xsl:if test="attributes/attribute/type[@api='T:System.Security.Permissions.HostProtectionAttribute']"> - <xsl:text> </xsl:text> - <include item="hostProtectionAttributeShort" /> - </xsl:if> - <xsl:call-template name="getElementDescription" /> - </td> - </tr> - </xsl:template> - - <xsl:template match="element" mode="member"> - <xsl:variable name="inheritedMember"> - <xsl:call-template name="IsMemberInherited"/> - </xsl:variable> - <xsl:variable name="staticMember"> - <xsl:call-template name="IsMemberStatic"/> - </xsl:variable> - <xsl:variable name="supportedOnXna"> - <xsl:call-template name="IsMemberSupportedOnXna"/> - </xsl:variable> - <xsl:variable name="supportedOnCf"> - <xsl:call-template name="IsMemberSupportedOnCf"/> - </xsl:variable> - <xsl:variable name="protectedMember"> - <xsl:call-template name="IsMemberProtected"/> - </xsl:variable> - <tr> - <xsl:attribute name="data"> - <xsl:choose> - <xsl:when test="memberdata[@visibility='private'] and proceduredata[@virtual = 'true']"> - <xsl:text>explicit</xsl:text> - </xsl:when> - <xsl:when test="apidata/@subsubgroup"> - <xsl:value-of select="apidata/@subsubgroup"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="apidata/@subgroup" /> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="memberdata/@visibility='public'"> - <xsl:text>; public</xsl:text> - </xsl:when> - <xsl:when test="normalize-space($protectedMember)!=''"> - <xsl:text>; protected</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>; public</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="normalize-space($staticMember)!=''"> - <xsl:text>; static</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>; instance</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="normalize-space($inheritedMember)!=''"> - <xsl:text>; inherited</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>; declared</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="normalize-space($supportedOnCf)!=''"> - <xsl:text>; compact</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>; none</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="normalize-space($supportedOnXna)!=''"> - <xsl:text>; xna</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>; none</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:attribute> - <td> - <xsl:call-template name="memberIcons"> - <xsl:with-param name="memberVisibility"> - <xsl:choose> - <xsl:when test="memberdata/@visibility='family' or memberdata/@visibility='family or assembly' or memberdata/@visibility='assembly'">prot</xsl:when> - <xsl:when test="memberdata/@visibility='private'">priv</xsl:when> - <xsl:when test="memberdata[@visibility='public']">pub</xsl:when> - <xsl:otherwise>pub</xsl:otherwise> - </xsl:choose> - </xsl:with-param> - <xsl:with-param name="staticMember" select="normalize-space($staticMember)" /> - <xsl:with-param name="supportedOnXna" select="normalize-space($supportedOnXna)"/> - <xsl:with-param name="supportedOnCf" select="normalize-space($supportedOnCf)"/> - </xsl:call-template> - </td> - <td> - <xsl:choose> - <xsl:when test="@display-api"> - <referenceLink target="{@api}" display-target="{@display-api}" /> - </xsl:when> - <xsl:otherwise> - <referenceLink target="{@api}" /> - </xsl:otherwise> - </xsl:choose> - </td> - <td> - <xsl:call-template name="getInternalOnlyDescription" /> - <xsl:if test="attributes/attribute/type[@api='T:System.ObsoleteAttribute']"> - <xsl:text> </xsl:text> - <include item="obsoleteRed" /> - </xsl:if> - <xsl:if test="attributes/attribute/type[@api='T:System.Security.Permissions.HostProtectionAttribute']"> - <xsl:text> </xsl:text> - <include item="hostProtectionAttributeShort" /> - </xsl:if> - <xsl:if test="memberdata[@overload='true']"> - <include item="Overloaded"/> - <xsl:text> </xsl:text> - </xsl:if> - <xsl:call-template name="getElementDescription" /> - <xsl:choose> - <xsl:when test="@signatureset"> - <!-- TODO add boilerplate for other members in the sig set --> - </xsl:when> - <xsl:when test="not(topicdata[@subgroup='overload'])"> - <xsl:choose> - <xsl:when test="normalize-space($inheritedMember)!=''"> - <xsl:text> </xsl:text> - <include item="inheritedFrom"> - <parameter> - <xsl:apply-templates select="containers/type" mode="link" /> - <!-- - <xsl:call-template name="typeReferenceLink"> - <xsl:with-param name="api" select="containers/type/@api" /> - <xsl:with-param name="qualified" select="false()" /> - <xsl:with-param name="specialization" select="boolean(type/specialization)" /> - </xsl:call-template> - <xsl:apply-templates select="type/specialization" /> - --> - </parameter> - </include> - </xsl:when> - <xsl:when test="overrides/member"> - <xsl:text> </xsl:text> - <include item="overridesMember"> - <parameter> - <xsl:call-template name="createReferenceLink"> - <xsl:with-param name="id" select="overrides/member/@api"/> - <xsl:with-param name="qualified" select="true()"/> - </xsl:call-template> - </parameter> - </include> - </xsl:when> - </xsl:choose> - </xsl:when> - </xsl:choose> - </td> - </tr> - </xsl:template> - - <xsl:template match="element" mode="enumeration"> - <tr> - <xsl:variable name="id" select="@api" /> - <td target="{$id}"> - <span class="referenceNoLink"><xsl:value-of select="apidata/@name"/></span> - </td> - <td> - <xsl:call-template name="getElementDescription" /> - </td> - </tr> - </xsl:template> - - <xsl:template match="element" mode="derivedType"> - <tr> - <td> - <xsl:choose> - <xsl:when test="@display-api"> - <referenceLink target="{@api}" display-target="{@display-api}" /> - </xsl:when> - <xsl:otherwise> - <referenceLink target="{@api}" /> - </xsl:otherwise> - </xsl:choose> - </td> - <td> - - <xsl:call-template name="getInternalOnlyDescription" /> - <xsl:if test="attributes/attribute/type[@api='T:System.ObsoleteAttribute']"> - <xsl:text> </xsl:text> - <include item="obsoleteRed" /> - </xsl:if> - <xsl:if test="attributes/attribute/type[@api='T:System.Security.Permissions.HostProtectionAttribute']"> - <xsl:text> </xsl:text> - <include item="hostProtectionAttributeShort" /> - </xsl:if> - <xsl:call-template name="getElementDescription" /> - <xsl:choose> - <xsl:when test="($group != 'member') and ($subgroup != 'DerivedTypeList') and not(contains($key, containers/type/@api))"> - <xsl:text> </xsl:text> - <include item="inheritedFrom"> - <parameter> - <xsl:apply-templates select="containers/type" mode="link" /> - <!-- - <xsl:call-template name="typeReferenceLink"> - <xsl:with-param name="api" select="containers/type/@api" /> - <xsl:with-param name="qualified" select="false()" /> - <xsl:with-param name="specialization" select="boolean(type/specialization)" /> - </xsl:call-template> - <xsl:apply-templates select="type/specialization" /> - --> - </parameter> - </include> - </xsl:when> - <xsl:when test="overrides"> - <xsl:text> </xsl:text> - <include item="overridesMember"> - <parameter> - <xsl:apply-templates select="overrides/member" /> - </parameter> - </include> - </xsl:when> - </xsl:choose> - </td> - </tr> - - - </xsl:template> - - <xsl:template match="element" mode="overload"> - <tr> - <xsl:attribute name="data"> - <xsl:value-of select="apidata/@subgroup" /> - <xsl:choose> - <xsl:when test="memberdata/@visibility='public'"> - <xsl:text>; public</xsl:text> - </xsl:when> - <xsl:when test="memberdata/@visibility='family'"> - <xsl:text>; protected</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>; public</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="memberdata/@static = 'true'"> - <xsl:text>; static</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>; instance</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="string(containers/type/@api) = $key"> - <xsl:text>; declared</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>; inherited</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:attribute> - <td> - <xsl:choose> - <xsl:when test="@display-api"> - <referenceLink target="{@api}" display-target="{@display-api}" /> - </xsl:when> - <xsl:otherwise> - <referenceLink target="{@api}" /> - </xsl:otherwise> - </xsl:choose> - </td> - <td> - <xsl:call-template name="getInternalOnlyDescription" /> - <xsl:if test="attributes/attribute/type[@api='T:System.ObsoleteAttribute']"> - <xsl:text> </xsl:text> - <include item="obsoleteRed" /> - </xsl:if> - <xsl:if test="attributes/attribute/type[@api='T:System.Security.Permissions.HostProtectionAttribute']"> - <xsl:text> </xsl:text> - <include item="hostProtectionAttributeShort" /> - </xsl:if> - <xsl:call-template name="getElementDescription" /> - <xsl:choose> - <xsl:when test="($group != 'member') and ($subgroup != 'overload') and not(contains($key, containers/type/@api))"> - <xsl:text> </xsl:text> - <include item="inheritedFrom"> - <parameter> - <xsl:apply-templates select="containers/type" mode="link" /> - <!-- - <xsl:call-template name="typeReferenceLink"> - <xsl:with-param name="api" select="containers/type/@api" /> - <xsl:with-param name="qualified" select="false()" /> - <xsl:with-param name="specialization" select="boolean(type/specialization)" /> - </xsl:call-template> - <xsl:apply-templates select="type/specialization" /> - --> - </parameter> - </include> - </xsl:when> - <xsl:when test="overrides"> - <xsl:text> </xsl:text> - <include item="overridesMember"> - <parameter> - <xsl:apply-templates select="overrides/member" /> - </parameter> - </include> - </xsl:when> - </xsl:choose> - - </td> - </tr> - </xsl:template> - - <xsl:template name="insertFilename"> - <meta name="guid"> - <xsl:attribute name="content"> - <xsl:value-of select="/document/reference/file/@name" /> - </xsl:attribute> - </meta> - </xsl:template> - - <!-- writing templates --> - - <xsl:template name="csTemplates"> - <xsl:param name="seperator" select="string(',')" /> - <xsl:text><</xsl:text> - <xsl:for-each select="template"> - <xsl:value-of select="@name" /> - <xsl:if test="not(position()=last())"> - <xsl:value-of select="$seperator" /> - </xsl:if> - </xsl:for-each> - <xsl:text>></xsl:text> - </xsl:template> - - <xsl:template name="csTemplatesInIndex" > - <xsl:text>%3C</xsl:text> - <xsl:for-each select="template"> - <xsl:value-of select="@name" /> - <xsl:if test="not(position()=last())"> - <xsl:text>%2C </xsl:text> - </xsl:if> - </xsl:for-each> - <xsl:text>%3E</xsl:text> - </xsl:template> - - <xsl:template name="vbTemplates"> - <xsl:param name="seperator" select="string(',')" /> - <xsl:text>(Of </xsl:text> - <xsl:for-each select="template"> - <xsl:value-of select="@name" /> - <xsl:if test="not(position()=last())"> - <xsl:value-of select="$seperator" /> - </xsl:if> - </xsl:for-each> - <xsl:text>)</xsl:text> - </xsl:template> - - <xsl:template name="typeTitle"> - <xsl:if test="containers/container[@type]"> - <xsl:for-each select="containers/container[@type]"> - <xsl:call-template name="typeTitle" /> - </xsl:for-each> - <xsl:text>.</xsl:text> - </xsl:if> - <xsl:value-of select="apidata/@name" /> - <xsl:if test="count(templates/template) > 0"> - <xsl:for-each select="templates"><xsl:call-template name="csTemplates" /></xsl:for-each> - </xsl:if> - </xsl:template> - - <!-- document body --> - - <!-- control window --> - - <xsl:template name="control"> - <div id="control"> - <span class="topicTitle"><xsl:call-template name="topicTitleDecorated" /></span><br/> - </div> - </xsl:template> - - <!-- Title in topic --> - - <!-- Title in topic --> - - <xsl:template name="topicTitlePlain"> - <xsl:param name="qualifyMembers" select="false()" /> - <include> - <xsl:attribute name="item"> - <xsl:if test="boolean(/document/reference/templates) and not($group='list')"> - <xsl:text>generic_</xsl:text> - </xsl:if> - <xsl:choose> - <xsl:when test="string($subsubgroup)"> - <xsl:value-of select="$subsubgroup" /> - </xsl:when> - <xsl:when test="string($subgroup)"> - <xsl:choose> - <xsl:when test="$subgroup='overload'"> - <xsl:value-of select="/document/reference/apidata/@subgroup"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$subgroup" /> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$group" /> - </xsl:otherwise> - </xsl:choose> - <xsl:text>TopicTitle</xsl:text> - </xsl:attribute> - <parameter> - <xsl:call-template name="shortNamePlain"> - <xsl:with-param name="qualifyMembers" select="$qualifyMembers" /> - </xsl:call-template> - </parameter> - <parameter> - <xsl:if test="document/reference/memberdata/@overload" > - <xsl:for-each select="/document/reference"> - <xsl:call-template name="parameterTypesPlain" /> - </xsl:for-each> - </xsl:if> - </parameter> - </include> - </xsl:template> - - <xsl:template name="topicTitleDecorated"> - <xsl:param name="titleType" /> - <include> - <xsl:attribute name="item"> - <xsl:choose> - <xsl:when test="$titleType = 'tocTitle' and $group='namespace'"> - <xsl:text>tocTitle</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="string($subsubgroup)"> - <xsl:value-of select="$subsubgroup" /> - </xsl:when> - <xsl:when test="string($subgroup)"> - <xsl:choose> - <xsl:when test="$subgroup='overload'"> - <xsl:value-of select="/document/reference/apidata/@subgroup" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$subgroup" /> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$group" /> - </xsl:otherwise> - </xsl:choose> - <xsl:text>TopicTitle</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:attribute> - <parameter> - <xsl:call-template name="shortNameDecorated"> - <xsl:with-param name="titleType" select="$titleType" /> - </xsl:call-template> - </parameter> - <parameter> - <xsl:if test="document/reference/memberdata/@overload" > - <xsl:for-each select="/document/reference"> - <xsl:call-template name="parameterTypesDecorated" /> - </xsl:for-each> - </xsl:if> - </parameter> - </include> - </xsl:template> - - - <!-- Title in TOC --> - - <!-- Index entry --> - - <!-- main window --> - - <xsl:template name="main"> - <div id="mainSection"> - - <div id="mainBody"> - <div id="allHistory" class="saveHistory" onsave="saveAll()" onload="loadAll()"/> - <xsl:call-template name="head" /> - <xsl:call-template name="body" /> - <xsl:call-template name="foot" /> - </div> - </div> - - </xsl:template> - - <xsl:template name="head"> - <include item="header" /> - </xsl:template> - - <xsl:template name="syntaxBlocks"> - <table class="filter" cellspacing="0" cellpadding="0"> - <tr id="curvedSyntaxTabs"> - <xsl:for-each select="div[@codeLanguage]"> - <td class="leftTab" x-lang="{@codeLanguage}"> </td> - <td class="middleTab" x-lang="{@codeLanguage}"> </td> - <td class="rightTab" x-lang="{@codeLanguage}"> </td> - </xsl:for-each> - </tr> - <tr class="tabs" id="syntaxTabs"> - <xsl:for-each select="div[@codeLanguage]"> - - <xsl:variable name="style"> - <xsl:call-template name="languageCheck"> - <xsl:with-param name="codeLanguage" select="@codeLanguage" /> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="languageEvent"> - <xsl:choose> - <xsl:when test="$style != ''"> - <xsl:text>changeLanguage(data, '</xsl:text><xsl:value-of select="@codeLanguage"/> - <xsl:text>', '</xsl:text><xsl:value-of select="$style" /> - <xsl:text>');</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>toggleClass('syntaxTabs','x-lang','</xsl:text><xsl:value-of select="@codeLanguage"/> - <xsl:text>','activeTab','tab'); curvedToggleClass('curvedSyntaxTabs','x-lang','</xsl:text><xsl:value-of select="@codeLanguage"/> - <xsl:text>');toggleStyle('syntaxBlocks','x-lang','</xsl:text><xsl:value-of select="@codeLanguage"/> - <xsl:text>','display','block','none');</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <td class="leftGrad" x-lang="{@codeLanguage}"> </td> - <td class="tab" x-lang="{@codeLanguage}" onclick="{$languageEvent}"><include item="{@codeLanguage}Label" /></td> - <td class="rightGrad" x-lang="{@codeLanguage}"> </td> - </xsl:for-each> - </tr> - </table> - <div id="syntaxBlocks"> - <xsl:for-each select="div[@codeLanguage]"> - <xsl:variable name="language" select="@codeLanguage" /> - <div class="code" x-lang="{@codeLanguage}"> - <xsl:if test="/document/USyntax/div/@codeLanguage = $language"> - <div id="{$language}Declaration" onclick="toggleSelect({$language}DeclarationImage,{$language}DeclarationSection);"> - <img id="{$language}DeclarationImage" onmouseover="mouseOverCheck({$language}DeclarationImage,twirlSelectImage,twirlUnSelectImage,twirlSelectHoverImage,twirlUnSelectHoverImage)" onmouseout="mouseOutCheck({$language}DeclarationImage,twirlSelectImage,twirlUnSelectImage,twirlSelectHoverImage,twirlUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>twirl_selected.gif</parameter> - </includeAttribute> - <xsl:text> </xsl:text> - <span class="syntaxLabel"><include item="declarationLabel" /></span> - </img> - </div> - <br/> - </xsl:if> - <div id="{$language}DeclarationSection"> - <pre><xsl:copy-of select="./node()" /></pre> - </div> - <xsl:for-each select="/document/USyntax/div[@codeLanguage]"> - <xsl:if test="@codeLanguage = $language"> - <div id="{$language}Usage" onclick="toggleSelect({$language}UsageImage,{$language}UsageSection);"> - <img id="{$language}UsageImage" onmouseover="mouseOverCheck({$language}UsageImage,twirlSelectImage,twirlUnSelectImage,twirlSelectHoverImage,twirlUnSelectHoverImage)" onmouseout="mouseOutCheck({$language}UsageImage,twirlSelectImage,twirlUnSelectImage,twirlSelectHoverImage,twirlUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>twirl_selected.gif</parameter> - </includeAttribute> - <xsl:text> </xsl:text> - <span class="syntaxLabel"><include item="usageLabel" /></span> - </img> - </div> - <div id="{$language}UsageSection"> - <pre><xsl:copy-of select="./node()" /></pre> - </div> - </xsl:if> - </xsl:for-each> - </div> - </xsl:for-each> - </div> - </xsl:template> - - <xsl:template name="languageSyntaxBlock"> - <xsl:param name="language" select="@codeLanguage"/> - <span codeLanguage="{$language}"> - <table> - <tr> - <th> - <include item="{$language}" /> - </th> - </tr> - <tr> - <td> - <pre xml:space="preserve"><xsl:text/><xsl:copy-of select="node()"/><xsl:text/></pre> - </td> - </tr> - </table> - </span> - </xsl:template> - - <xsl:template match="elements" mode="root"> - <xsl:if test="count(element) > 0"> - - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'namespaces'"/> - <xsl:with-param name="title"><include item="namespacesTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <div class="listsection"> - <table class="members" id="memberList" frame="lhs" cellspacing="0"> - <tr> - <th class="nameColumn"> - <include item="namespaceNameHeader"/> - </th> - <th class="descriptionColumn"> - <include item="namespaceDescriptionHeader" /> - </th> - </tr> - <xsl:apply-templates select="element" mode="root"> - <xsl:sort select="apidata/@name" /> - </xsl:apply-templates> - </table> - </div> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template name="namespaceSection"> - <xsl:param name="listSubgroup" /> - <xsl:variable name="header" select="concat($listSubgroup, 'TypesFilterLabel')"/> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="$listSubgroup"/> - <xsl:with-param name="title"> - <include item="{$header}" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:call-template name="namespaceList"> - <xsl:with-param name="listSubgroup" select="$listSubgroup" /> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="elements" mode="namespace"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'types'" /> - <xsl:with-param name="title"> - <include item="typesTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <div id="typeSection"> - <table class="filter" cellspacing="0" cellpadding="0"> - <tr id="curvedTypeTabs"> - <td class="leftTab" value="all"> </td> - <td class="middleTab" value="all"> </td> - <td class="rightTab" value="all"> </td> - <xsl:if test="element/apidata[@subgroup='class']"> - <td class="leftTab" value="class"> </td> - <td class="middleTab" value="class"> </td> - <td class="rightTab" value="class"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='structure']"> - <td class="leftTab" value="structure"> </td> - <td class="middleTab" value="structure"> </td> - <td class="rightTab" value="structure"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='interface']"> - <td class="leftTab" value="interface"> </td> - <td class="middleTab" value="interface"> </td> - <td class="rightTab" value="interface"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='enumeration']"> - <td class="leftTab" value="enumeration"> </td> - <td class="middleTab" value="enumeration"> </td> - <td class="rightTab" value="enumeration"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='delegate']"> - <td class="leftTab" value="delegate"> </td> - <td class="middleTab" value="delegate"> </td> - <td class="rightTab" value="delegate"> </td> - </xsl:if> - </tr> - <tr class="tabs" id="typeFilter"> - <td class="leftGrad" value="all"> </td> - <td class="tab" value="all" onclick="toggleClass('typeFilter','value','all','activeTab','tab'); curvedToggleClass('curvedTypeTabs','value','all');processSubgroup('all', 'type'); process('typeList','filterElement','type');"> - <include item="allTypesFilterLabel" /> - </td> - <td class="rightGrad" value="all"> </td> - <xsl:if test="element/apidata[@subgroup='class']"> - <td class="leftGrad" value="class"> </td> - <td class="tab" value="class" onclick="toggleClass('typeFilter','value','class','activeTab','tab'); curvedToggleClass('curvedTypeTabs','value','class'); processSubgroup('class', 'type'); process('typeList','filterElement','type');"> - <include item="classTypesFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubclass.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubClassAltText" /> - </img> - </td> - <td class="rightGrad" value="class"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='structure']"> - <td class="leftGrad" value="structure"> </td> - <td class="tab" value="structure" onclick="toggleClass('typeFilter','value','structure','activeTab','tab'); curvedToggleClass('curvedTypeTabs','value','structure'); processSubgroup('structure', 'type'); process('typeList','filterElement','type');"> - <include item="structureTypesFilterLabel" /> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubstructure.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubStructureAltText" /> - </img> - </td> - <td class="rightGrad" value="structure"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='interface']"> - <td class="leftGrad" value="interface"> </td> - <td class="tab" value="interface" onclick="toggleClass('typeFilter','value','interface','activeTab','tab'); curvedToggleClass('curvedTypeTabs','value','interface'); processSubgroup('interface','type'); process('typeList','filterElement','type');"> - <include item="interfaceTypesFilterLabel" /> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubinterface.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubInterfaceAltText" /> - </img> - </td> - <td class="rightGrad" value="interface"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='enumeration']"> - <td class="leftGrad" value="enumeration"> </td> - <td class="tab" value="enumeration" onclick="toggleClass('typeFilter','value','enumeration','activeTab','tab'); curvedToggleClass('curvedTypeTabs','value','enumeration'); processSubgroup('enumeration','type'); process('typeList','filterElement','type');"> - <include item="enumerationTypesFilterLabel" /> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubenum.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubEnumerationAltText" /> - </img> - </td> - <td class="rightGrad" value="enumeration"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='delegate']"> - <td class="leftGrad" value="delegate"> </td> - <td class="tab" value="delegate" onclick="toggleClass('typeFilter','value','delegate','activeTab','tab'); curvedToggleClass('curvedTypeTabs','value','delegate'); processSubgroup('delegate','type'); process('typeList','filterElement','type');"> - <include item="delegateTypesFilterLabel" /> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubdelegate.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubDelegateAltText" /> - </img> - </td> - <td class="rightGrad" value="delegate"> </td> - </xsl:if> - </tr> - </table> - <div class="memberSection"> - <table id="typeList" class="members" cellspacing="0"> - <tr> - <th class="iconColumn"> - <xsl:text> </xsl:text> - </th> - <th class="nameColumn"> - <include item="typeNameHeader"/> - </th> - <th class="descriptionColumn"> - <include item="typeDescriptionHeader" /> - </th> - </tr> - <xsl:apply-templates select="element" mode="namespace"> - <xsl:sort select="apidata/@name" /> - </xsl:apply-templates> - </table> - </div> - </div> - </xsl:with-param> - </xsl:call-template> - - </xsl:template> - - <xsl:template name="namespaceList"> - <xsl:param name="listSubgroup" /> - - <table id="typeList" class="members" frame="lhs"> - <tr> - <th class="iconColumn"> -   - </th> - <th class="nameColumn"> - <include item="{$listSubgroup}NameHeader"/> - </th> - <th class="descriptionColumn"> - <include item="typeDescriptionHeader" /> - </th> - </tr> - <xsl:apply-templates select="element[apidata/@subgroup=$listSubgroup]" mode="namespace"> - <xsl:sort select="@api" /> - </xsl:apply-templates> - </table> - - </xsl:template> - - <xsl:template match="elements" mode="enumeration"> - <xsl:if test="count(element) > 0"> - <div id="enumerationSection"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'members'"/> - <xsl:with-param name="title"> - <include item="enumMembersTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <div class="listSection"> - <table class="members" id="memberList" frame="lhs" cellspacing="0"> - <tr> - <th class="nameColumn"> - <include item="memberNameHeader"/> - </th> - <th class="descriptionColumn"> - <include item="memberDescriptionHeader" /> - </th> - </tr> - <!-- do not sort enumeration elements --> - <xsl:apply-templates select="element" mode="enumeration"/> - </table> - </div> - </xsl:with-param> - </xsl:call-template> - </div> - </xsl:if> - </xsl:template> - - <xsl:template match="element" mode="members"> - <xsl:param name="subgroup"/> - <xsl:if test="memberdata[@visibility='public'] and apidata[@subgroup=$subgroup]"> - public; - </xsl:if> - <xsl:if test="memberdata[@visibility='family' or @visibility='family or assembly' or @visibility='assembly'] and apidata[@subgroup=$subgroup]"> - protected; - </xsl:if> - <xsl:if test="memberdata[@visibility='private'] and apidata[@subgroup=$subgroup] and not(proceduredata[@virtual = 'true'])"> - private; - </xsl:if> - <xsl:if test="memberdata[@visibility='private'] and proceduredata[@virtual = 'true']"> - explicit; - </xsl:if> - </xsl:template> - - <xsl:template match="elements" mode="member"> - - <xsl:call-template name="memberIntro" /> - - <xsl:if test="count(element) > 0"> - <xsl:variable name="header"> - <xsl:choose> - <xsl:when test="element[apidata/@subsubgroup]"> - <xsl:value-of select="concat(element/apidata/@subsubgroup, 'MembersFilterLabel')"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat(element/apidata/@subgroup, 'MembersFilterLabel')"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="$header" /> - <xsl:with-param name="title"> - <include item="{$header}" /> - </xsl:with-param> - <xsl:with-param name="content"> - <div class="listSection"> - <table class="memberOptions"> - <tr> - <td class="line"> - <div id="public" onclick="var checked=toggleCheck(publicImage); toggleCheckState('public',checked); process('memberList','filterElement','member');"> - <img id="publicImage" onmouseover="mouseOverCheck(publicImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(publicImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="publicMembersFilterLabel" /> - </div> - <br /> - <div id="protected" onclick="var checked=toggleCheck(protectedImage); toggleCheckState('protected',checked); process('memberList','filterElement','member');"> - <img id="protectedImage" onmouseover="mouseOverCheck(protectedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(protectedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="protectedMembersFilterLabel" /> - </div> - </td> - <td class="line"> - <div id="instance" onclick="var checked=toggleCheck(instanceImage); toggleCheckState('instance',checked); process('memberList','filterElement','member');"> - <img id="instanceImage" onmouseover="mouseOverCheck(instanceImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(instanceImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="instanceMembersFilterLabel" /> - </div> - <br /> - <div id="static" onclick="var checked=toggleCheck(staticImage); toggleCheckState('static',checked); process('memberList','filterElement','member');"> - <img id="staticImage" onmouseover="mouseOverCheck(staticImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(staticImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="staticMembersFilterLabel" /> - </div> - </td> - <td class="line"> - <div id="declared" onclick="var checked=toggleCheck(declaredImage); toggleCheckState('declared',checked); process('memberList','filterElement','member');"> - <img id="declaredImage" onmouseover="mouseOverCheck(declaredImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(declaredImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="declaredMembersFilterLabel" /> - </div> - <br /> - <div id="inherited" onclick="var checked=toggleCheck(inheritedImage); toggleCheckState('inherited',checked); process('memberList','filterElement','member');"> - <img id="inheritedImage" onmouseover="mouseOverCheck(inheritedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(inheritedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="inheritedMembersFilterLabel" /> - </div> - </td> - <td class="line"> - <div id="xna" onclick="var checked=toggleCheck(xnaImage); toggleCheckState('xna',checked); process('memberList','filterElement','member');"> - <img id="xnaImage" onmouseover="mouseOverCheck(xnaImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(xnaImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="XNAFilterLabel" /> - </div> - <br/> - <div id="compact" onclick="var checked=toggleCheck(compactImage); toggleCheckState('compact',checked); process('memberList','filterElement','member');"> - <img id="compactImage" onmouseover="mouseOverCheck(compactImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(compactImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item=".NETCompactFilterLabel" /> - </div> - </td> - <td class="line"> - <br/> - </td> - </tr> - </table> - <table class="members" id="memberList" cellspacing="0" frame="lhs"> - <tr> - <th class="iconColumn"> - <xsl:text> </xsl:text> - </th> - <th class="nameColumn"> - <include item="memberNameHeader"/> - </th> - <th class="descriptionColumn"> - <include item="memberDescriptionHeader" /> - </th> - </tr> - <xsl:apply-templates select=".//element[not(child::element)]" mode="member"> - <xsl:sort select="apidata/@name" /> - </xsl:apply-templates> - </table> - </div> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - - </xsl:template> - - <xsl:template name="memberlistSectionGroup"> - <xsl:param name="listSubgroup" /> - - <xsl:if test="element[apidata[@subgroup=$listSubgroup and not(@subsubgroup)] and memberdata[@visibility='public']]"> - <xsl:call-template name="memberlistSection"> - <xsl:with-param name="listSubgroup" select="$listSubgroup" /> - <xsl:with-param name="listVisibility">public</xsl:with-param> - </xsl:call-template> - </xsl:if> - - <xsl:if test="element[apidata[@subgroup=$listSubgroup and not(@subsubgroup)] and memberdata[@visibility='protected']]"> - <xsl:call-template name="memberlistSection"> - <xsl:with-param name="listSubgroup" select="$listSubgroup" /> - <xsl:with-param name="listVisibility">protected</xsl:with-param> - </xsl:call-template> - </xsl:if> - - </xsl:template> - - <xsl:template name="memberlistSection"> - <xsl:param name="listSubgroup" /> - <xsl:param name="listSubsubgroup" /> - <xsl:param name="listVisibility" /> - <xsl:param name="explicit" /> - - <xsl:variable name="header"> - <xsl:choose> - <xsl:when test="$explicit='true'">ExplicitInterfaceImplementation</xsl:when> - <xsl:when test="$listSubgroup='constructor'">constructorsTable</xsl:when> - <xsl:when test="boolean($listSubsubgroup)"> - <xsl:value-of select="concat('Public', $listSubsubgroup)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat($listVisibility, $listSubgroup)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="$header" /> - <xsl:with-param name="title"> - <include item="{$header}" /> - </xsl:with-param> - <xsl:with-param name="content"> - <table id="typeList" class="members" frame="lhs"> - <tr> - <th class="iconColumn"> -   - </th> - <th class="nameColumn"> - <include item="typeNameHeader"/> - </th> - <th class="descriptionColumn"> - <include item="typeDescriptionHeader" /> - </th> - </tr> - - <xsl:choose> - <xsl:when test="boolean($listSubgroup) and boolean($useOverloadRowsInMemberlists)"> - <xsl:apply-templates select="element[not(starts-with(@api,'Overload:'))][apidata[@subgroup=$listSubgroup and not(@subsubgroup)] and memberdata[@visibility=$listVisibility]] - | element[starts-with(@api,'Overload:')][element[apidata[@subgroup=$listSubgroup and not(@subsubgroup)] and memberdata[@visibility=$listVisibility]]]" - mode="memberlistRow"> - <xsl:sort select="apidata/@name" /> - <xsl:with-param name="listVisibility" select="$listVisibility"/> - </xsl:apply-templates> - </xsl:when> - <xsl:when test="boolean($listSubgroup)"> - <xsl:apply-templates select="element[not(starts-with(@api,'Overload:'))][apidata[@subgroup=$listSubgroup and not(@subsubgroup)] and memberdata[@visibility=$listVisibility]] - | element[starts-with(@api,'Overload:')]/element[apidata[@subgroup=$listSubgroup and not(@subsubgroup)] and memberdata[@visibility=$listVisibility]]" - mode="memberlistRow"> - <xsl:sort select="apidata/@name" /> - <xsl:with-param name="listVisibility" select="$listVisibility"/> - </xsl:apply-templates> - </xsl:when> - <xsl:when test="boolean($listSubsubgroup)"> - <xsl:apply-templates select="element[apidata[@subsubgroup=$listSubsubgroup]]" mode="memberlistRow"> - <xsl:sort select="apidata/@name" /> - <xsl:with-param name="listVisibility" select="$listVisibility"/> - </xsl:apply-templates> - </xsl:when> - <xsl:when test="$explicit='true'"> - <xsl:apply-templates select="element[memberdata[@visibility='private'] and proceduredata[@virtual = 'true']]" mode="memberlistRow"> - <xsl:sort select="apidata/@name" /> - </xsl:apply-templates> - </xsl:when> - </xsl:choose> - </table> - </xsl:with-param> - </xsl:call-template> - - </xsl:template> - - <xsl:template match="elements" mode="type"> - <xsl:if test="count(element) > 0"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'members'" /> - <xsl:with-param name="title"> - <include item="allMembersTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <div id="allMemberSection"> - <table class="filter" cellspacing="0" cellpadding="0"> - <tr id="curvedMemberTabs"> - <td class="leftTab" value="all"> </td> - <td class="middleTab" value="all"> </td> - <td class="rightTab" value="all"> </td> - <xsl:if test="element/apidata[@subgroup='constructor']"> - <td class="leftTab" value="constructor"> </td> - <td class="middleTab" value="constructor"> </td> - <td class="rightTab" value="constructor"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='field']"> - <td class="leftTab" value="field"> </td> - <td class="middleTab" value="field"> </td> - <td class="rightTab" value="field"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='property']"> - <td class="leftTab" value="property"> </td> - <td class="middleTab" value="property"> </td> - <td class="rightTab" value="property"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='method']"> - <td class="leftTab" value="method"> </td> - <td class="middleTab" value="method"> </td> - <td class="rightTab" value="method"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='event']"> - <td class="leftTab" value="event"> </td> - <td class="middleTab" value="event"> </td> - <td class="rightTab" value="event"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subsubgroup='attachedProperty']"> - <td class="leftTab" value="attachedProperty"> </td> - <td class="middleTab" value="attachedProperty"> </td> - <td class="rightTab" value="attachedProperty"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subsubgroup='attachedEvent']"> - <td class="leftTab" value="attachedEvent"> </td> - <td class="middleTab" value="attachedEvent"> </td> - <td class="rightTab" value="attachedEvent"> </td> - </xsl:if> - <xsl:if test="element[memberdata[@visibility='private'] and proceduredata[@virtual = 'true']]"> - <td class="leftTab" value="explicit"> </td> - <td class="middleTab" value="explicit"> </td> - <td class="rightTab" value="explicit"> </td> - </xsl:if> - </tr> - <tr class="tabs" id="memberTabs"> - <td class="leftGrad" value="all"> </td> - <td class="tab" value="all" onclick="toggleClass('memberTabs','value','all','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'all'); processSubgroup('all','member'); process('memberList','filterElement','member');"> - <include item="allMembersFilterLabel" /> - </td> - <td class="rightGrad" value="all"> </td> - <xsl:if test="element/apidata[@subgroup='constructor']"> - <td class="leftGrad" value="constructor"> </td> - <td class="tab" value="constructor" onclick="toggleClass('memberTabs','value','constructor','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'constructor'); processSubgroup('constructor','member'); process('memberList','filterElement','member');"> - <include item="constructorMembersFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubmethod.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubMethodAltText" /> - </img> - </td> - <td class="rightGrad" value="constructor"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='field']"> - <td class="leftGrad" value="field"> </td> - <td class="tab" value="field" onclick="toggleClass('memberTabs','value','field','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'field'); processSubgroup('field','member'); process('memberList','filterElement','member');"> - <include item="fieldMembersFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubfield.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubFieldAltText" /> - </img> - </td> - <td class="rightGrad" value="field"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='property' and not(@subsubgroup)]"> - <td class="leftGrad" value="property"> </td> - <td class="tab" value="property" onclick="toggleClass('memberTabs','value','property','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'property'); processSubgroup('property','member'); process('memberList','filterElement','member');"> - <include item="propertyMembersFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubproperty.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubPropertyAltText" /> - </img> - </td> - <td class="rightGrad" value="property"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='method']"> - <td class="leftGrad" value="method"> </td> - <td class="tab" value="method" onclick="toggleClass('memberTabs','value','method','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'method'); processSubgroup('method','member'); process('memberList','filterElement','member');"> - <include item="methodMembersFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubmethod.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubMethodAltText" /> - </img> - </td> - <td class="rightGrad" value="method"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subgroup='event' and not(@subsubgroup)]"> - <td class="leftGrad" value="event"> </td> - <td class="tab" value="event" onclick="toggleClass('memberTabs','value','event','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'event'); processSubgroup('event','member'); process('memberList','filterElement','member');"> - <include item="eventMembersFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubevent.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubEventAltText" /> - </img> - </td> - <td class="rightGrad" value="event"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subsubgroup='attachedProperty']"> - <td class="leftGrad" value="attachedProperty"> </td> - <td class="tab" value="attachedProperty" onclick="toggleClass('memberTabs','value','attachedProperty','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'attachedProperty'); processSubgroup('attachedProperty','member'); process('memberList','filterElement','member');"> - <include item="attachedPropertyMembersFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubproperty.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubPropertyAltText" /> - </img> - </td> - <td class="rightGrad" value="attachedProperty"> </td> - </xsl:if> - <xsl:if test="element/apidata[@subsubgroup='attachedEvent']"> - <td class="leftGrad" value="attachedEvent"> </td> - <td class="tab" value="attachedEvent" onclick="toggleClass('memberTabs','value','attachedEvent','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'attachedEvent'); processSubgroup('attachedEvent','member'); process('memberList', 'filterElement', 'member');"> - <include item="attachedEventMembersFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubevent.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="pubEventAltText" /> - </img> - </td> - <td class="rightGrad" value="attachedEvent"> </td> - </xsl:if> - <xsl:if test="element[memberdata[@visibility='private'] and proceduredata[@virtual = 'true']]"> - <td class="leftGrad" value="explicit"> </td> - <td class="tab" value="explicit" onclick="toggleClass('memberTabs','value','explicit','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'explicit'); processSubgroup('explicit','member'); process('memberList', 'filterElement', 'member');"> - <include item="explicitInterfaceMembersFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubinterface.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="ExplicitInterfaceAltText" /> - </img> - </td> - <td class="rightGrad" value="explicit"> </td> - </xsl:if> - </tr> - </table> - <div class="memberSection"> - <table class="memberOptions"> - <tr> - <td class="line"> - <div id="public" onclick="var checked=toggleCheck(publicImage); toggleCheckState('public',checked); process('memberList','filterElement','member');"> - <img id="publicImage" onmouseover="mouseOverCheck(publicImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(publicImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="publicMembersFilterLabel" /> - </div> - <br /> - <div id="protected" onclick="var checked=toggleCheck(protectedImage); toggleCheckState('protected',checked); process('memberList','filterElement','member');"> - <img id="protectedImage" onmouseover="mouseOverCheck(protectedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(protectedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="protectedMembersFilterLabel" /> - </div> - </td> - <td class="line"> - <div id="instance" onclick="var checked=toggleCheck(instanceImage); toggleCheckState('instance',checked); process('memberList','filterElement','member');"> - <img id="instanceImage" onmouseover="mouseOverCheck(instanceImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(instanceImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="instanceMembersFilterLabel" /> - </div> - <br /> - <div id="static" onclick="var checked=toggleCheck(staticImage); toggleCheckState('static',checked); process('memberList','filterElement','member');"> - <img id="staticImage" onmouseover="mouseOverCheck(staticImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(staticImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="staticMembersFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>static.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="staticAltText" /> - </img> - </div> - </td> - <td class="line"> - <div id="declared" onclick="var checked=toggleCheck(declaredImage); toggleCheckState('declared',checked); process('memberList','filterElement','member');"> - <img id="declaredImage" onmouseover="mouseOverCheck(declaredImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(declaredImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="declaredMembersFilterLabel" /> - </div> - <br /> - <div id="inherited" onclick="var checked=toggleCheck(inheritedImage); toggleCheckState('inherited',checked); process('memberList','filterElement','member');"> - <img id="inheritedImage" onmouseover="mouseOverCheck(inheritedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(inheritedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="inheritedMembersFilterLabel" /> - </div> - </td> - <td class="line"> - <div id="xna" onclick="var checked=toggleCheck(xnaImage); toggleCheckState('xna',checked); process('memberList','filterElement','member');"> - <img id="xnaImage" onmouseover="mouseOverCheck(xnaImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(xnaImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item="XNAFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>xna.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="XNAFrameworkAltText" /> - </img> - </div> - <br/> - <div id="compact" onclick="var checked=toggleCheck(compactImage); toggleCheckState('compact',checked); process('memberList','filterElement','member');"> - <img id="compactImage" onmouseover="mouseOverCheck(compactImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(compactImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)"> - <includeAttribute name="src" item="iconPath"> - <parameter>ch_selected.gif</parameter> - </includeAttribute> - </img> - <xsl:text> </xsl:text> - <include item=".NETCompactFilterLabel" /> - <xsl:text> </xsl:text> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>CFW.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="compactFrameworkAltText" /> - </img> - </div> - </td> - <td class="line"> - <br/> - </td> - </tr> - </table> - <table class="members" id="memberList" cellspacing="0" frame="lhs"> - <tr> - <th class="iconColumn"> - <xsl:text> </xsl:text> - </th> - <th class="nameColumn"> - <include item="memberNameHeader"/> - </th> - <th class="descriptionColumn"> - <include item="memberDescriptionHeader" /> - </th> - </tr> - <!-- use select="element" to show overload-sets, select=".//element[not(parent::element)]" to show all overloads --> - <xsl:apply-templates select=".//element[not(child::element)]" mode="member"> - <xsl:sort select="apidata/@name" /> - </xsl:apply-templates> - </table> - </div> - </div> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template name="IsMemberSupportedOnXna"> - <xsl:choose> - <xsl:when test="element and not(@signatureset)"> - <xsl:for-each select="element"> - <xsl:call-template name="IsMemberSupportedOnXna"/> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="platformFilterExcludesXna" select="boolean(platforms and not(platforms/platform[.='Xbox360']))" /> - <xsl:if test="boolean(not($platformFilterExcludesXna) and @xnafw)"> - <xsl:text>supported</xsl:text> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template name="IsMemberSupportedOnCf"> - <xsl:choose> - <xsl:when test="document/reference/topicdata[@subgroup='overload'] and document/reference/elements/element and not(@signatureset)"> - <xsl:for-each select="document/reference/elements/element"> - <xsl:call-template name="IsMemberSupportedOnCf"/> - </xsl:for-each> - </xsl:when> - <xsl:when test="element and not(@signatureset)"> - <xsl:for-each select="element"> - <xsl:call-template name="IsMemberSupportedOnCf"/> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="platformFilterExcludesCF" select="boolean( platforms and not(platforms[platform[.='PocketPC'] or platform[.='SmartPhone'] or platform[.='WindowsCE']]) )" /> - <xsl:if test="boolean(not($platformFilterExcludesCF) and @netcfw)"> - <xsl:text>yes</xsl:text> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template name="IsMemberStatic"> - <xsl:choose> - <xsl:when test="element and not(@signatureset)"> - <xsl:for-each select="element"> - <xsl:call-template name="IsMemberStatic"/> - </xsl:for-each> - </xsl:when> - <xsl:when test="apidata[@subsubgroup='attachedProperty' or @subsubgroup='attachedEvent']"/> - <xsl:otherwise> - <xsl:if test="memberdata/@static='true'"> - <xsl:text>yes</xsl:text> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template name="IsMemberInherited"> - <xsl:choose> - <xsl:when test="element and not(@signatureset)"> - <xsl:for-each select="element"> - <xsl:call-template name="IsMemberInherited"/> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <xsl:if test="not(contains($key, containers/type/@api))"> - <xsl:text>yes</xsl:text> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template name="IsMemberProtected"> - <xsl:choose> - <xsl:when test="element and not(@signatureset)"> - <xsl:for-each select="element"> - <xsl:call-template name="IsMemberProtected"/> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <xsl:if test="memberdata[@visibility='family' or @visibility='family or assembly' or @visibility='assembly']"> - <xsl:text>yes</xsl:text> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="element" mode="memberlistRow"> - <xsl:param name="listVisibility"/> - <xsl:variable name="supportedOnXna"> - <xsl:call-template name="IsMemberSupportedOnXna"/> - </xsl:variable> - <xsl:variable name="supportedOnCf"> - <xsl:call-template name="IsMemberSupportedOnCf"/> - </xsl:variable> - <xsl:variable name="staticMember"> - <xsl:call-template name="IsMemberStatic"/> - </xsl:variable> - <xsl:variable name="inheritedMember"> - <xsl:call-template name="IsMemberInherited"/> - </xsl:variable> - <xsl:variable name="protectedMember"> - <xsl:call-template name="IsMemberProtected"/> - </xsl:variable> - <tr> - <xsl:if test="normalize-space($inheritedMember)!=''"> - <xsl:attribute name="name">inheritedMember</xsl:attribute> - </xsl:if> - <xsl:if test="normalize-space($protectedMember)!=''"> - <xsl:attribute name="protected">true</xsl:attribute> - </xsl:if> - <xsl:if test="normalize-space($supportedOnXna)=''"> - <xsl:attribute name="notSupportedOnXna">true</xsl:attribute> - </xsl:if> - <xsl:if test="normalize-space($supportedOnCf)=''"> - <xsl:attribute name="notSupportedOn">netcf</xsl:attribute> - </xsl:if> - - <td> - <xsl:call-template name="memberIcons"> - <xsl:with-param name="memberVisibility"> - <xsl:choose> - <xsl:when test="$listVisibility='public'">pub</xsl:when> - <xsl:when test="$listVisibility='private'">priv</xsl:when> - <xsl:when test="$listVisibility='protected'">prot</xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="memberdata/@visibility='family' or memberdata/@visibility='family or assembly' or memberdata/@visibility='assembly'">prot</xsl:when> - <xsl:when test="memberdata/@visibility='private'">priv</xsl:when> - <xsl:otherwise>pub</xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="memberdata[@visibility='public']">pub</xsl:when> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - <xsl:with-param name="staticMember" select="normalize-space($staticMember)" /> - <xsl:with-param name="supportedOnXna" select="normalize-space($supportedOnXna)"/> - <xsl:with-param name="supportedOnCf" select="normalize-space($supportedOnCf)"/> - </xsl:call-template> - </td> - <td> - <xsl:choose> - <xsl:when test="@display-api"> - <referenceLink target="{@api}" display-target="{@display-api}" show-parameters="false" /> - </xsl:when> - <xsl:otherwise> - <referenceLink target="{@api}" show-parameters="false" /> - </xsl:otherwise> - </xsl:choose> - </td> - <td> - <xsl:call-template name="getInternalOnlyDescription" /> - <xsl:if test="attributes/attribute/type[@api='T:System.ObsoleteAttribute']"> - <xsl:text> </xsl:text> - <include item="obsoleteRed" /> - </xsl:if> - <xsl:if test="attributes/attribute/type[@api='T:System.Security.Permissions.HostProtectionAttribute']"> - <xsl:text> </xsl:text> - <include item="hostProtectionAttributeShort" /> - </xsl:if> - <xsl:if test="topicdata[@subgroup='overload']"> - <include item="Overloaded"/> - <xsl:text> </xsl:text> - </xsl:if> - <xsl:apply-templates select="element" mode="overloadSummary" /> - <xsl:call-template name="getElementDescription" /> - <xsl:choose> - <xsl:when test="@signatureset"> - <!-- TODO add boilerplate for other members in the sig set --> - </xsl:when> - <xsl:when test="not(topicdata[@subgroup='overload'])"> - <xsl:choose> - <xsl:when test="normalize-space($inheritedMember)!=''"> - <xsl:text> </xsl:text> - <include item="inheritedFrom"> - <parameter> - <xsl:apply-templates select="containers/type" mode="link" /> - <!-- - <xsl:call-template name="typeReferenceLink"> - <xsl:with-param name="api" select="containers/type/@api" /> - <xsl:with-param name="qualified" select="false()" /> - <xsl:with-param name="specialization" select="boolean(type/specialization)" /> - </xsl:call-template> - <xsl:apply-templates select="type/specialization" /> - --> - </parameter> - </include> - </xsl:when> - <xsl:when test="overrides/member"> - <xsl:text> </xsl:text> - <include item="overridesMember"> - <parameter> - <xsl:call-template name="createReferenceLink"> - <xsl:with-param name="id" select="overrides/member/@api"/> - <xsl:with-param name="qualified" select="true()"/> - </xsl:call-template> - </parameter> - </include> - </xsl:when> - </xsl:choose> - </xsl:when> - </xsl:choose> - </td> - </tr> - </xsl:template> - - <xsl:template match="elements" mode="derivedType"> - <xsl:if test="count(element) > 0"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'DerivedClasses'"/> - <xsl:with-param name="title"> - <include item="derivedClasses" /> - </xsl:with-param> - <xsl:with-param name="content"> - <div class="listSection"> - <table class="members" id="memberList" frame="lhs" cellspacing="0"> - <tr> - <th class="nameColumn"> - <include item="memberNameHeader"/> - </th> - <th class="descriptionColumn"> - <include item="memberDescriptionHeader" /> - </th> - </tr> - <xsl:apply-templates select="element" mode="derivedType"> - <xsl:sort select="apidata/@name" /> - </xsl:apply-templates> - </table> - </div> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template match="elements" mode="overload"> - <xsl:if test="count(element) > 0"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'overloadMembers'"/> - <xsl:with-param name="title"><include item="membersTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <div class="listSection"> - <table class="members" id="memberList" frame="lhs" cellspacing="0"> - <tr> - <th class="nameColumn"> - <include item="typeNameHeader"/> - </th> - <th class="descriptionColumn"> - <include item="typeDescriptionHeader" /> - </th> - </tr> - <xsl:apply-templates select="element" mode="overload"> - <xsl:sort select="apidata/@name" /> - </xsl:apply-templates> - </table> - </div> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - <xsl:apply-templates select="element" mode="overloadSections"> - <xsl:sort select="apidata/@name" /> - </xsl:apply-templates> - </xsl:template> - - <xsl:template match="elements" mode="overloadSummary"> - <xsl:apply-templates select="element" mode="overloadSummary" > - <xsl:sort select="apidata/@name"/> - </xsl:apply-templates> - </xsl:template> - - <xsl:template match="element" mode="overloadSummary"> - <xsl:call-template name="getOverloadSummary" /> - </xsl:template> - - <xsl:template match="element" mode="overloadSections"> - <xsl:call-template name="getOverloadSections" /> - </xsl:template> - - <xsl:template name="typeIcon"> - <xsl:param name="typeVisibility" /> - - <xsl:variable name="typeSubgroup" select="apidata/@subgroup" /> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter> - <xsl:value-of select="concat($typeVisibility,$typeSubgroup,'.gif')" /> - </parameter> - </includeAttribute> - <includeAttribute name="title" item="{concat($typeVisibility,$typeSubgroup,'AltText')}" /> - </img> - - </xsl:template> - - <xsl:template name="memberIcons"> - <xsl:param name="memberVisibility" /> - <xsl:param name="staticMember" /> - <xsl:param name="supportedOnXna"/> - <xsl:param name="supportedOnCf"/> - - <xsl:variable name="memberSubgroup"> - <xsl:choose> - <xsl:when test="apidata/@subgroup='constructor'"> - <xsl:text>method</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="apidata/@subgroup" /> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <!-- test for explicit interface implementations, which get the interface icon --> - <xsl:if test="memberdata/@visibility='private' and proceduredata/@virtual='true'"> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>pubinterface.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="ExplicitInterfaceAltText" /> - </img> - </xsl:if> - - <img> - <includeAttribute name="src" item="iconPath"> - <parameter> - <xsl:value-of select="concat($memberVisibility,$memberSubgroup,'.gif')" /> - </parameter> - </includeAttribute> - <includeAttribute name="title" item="{concat($memberVisibility,$memberSubgroup,'AltText')}" /> - </img> - - <xsl:if test="$staticMember!=''"> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>static.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="staticAltText" /> - </img> - </xsl:if> - - <xsl:if test="$supportedOnCf!=''"> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>CFW.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="CompactFrameworkAltText" /> - </img> - </xsl:if> - - <xsl:if test="$supportedOnXna!=''"> - <img> - <includeAttribute name="src" item="iconPath"> - <parameter>xna.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="XNAFrameworkAltText" /> - </img> - </xsl:if> - </xsl:template> - - <!-- Footer stuff --> - - <xsl:template name="foot"> - <div id="footer"> - <div class="footerLine"> - <img width="100%" height="3px"> - <includeAttribute name="src" item="iconPath"> - <parameter>footer.gif</parameter> - </includeAttribute> - <includeAttribute name="title" item="footerImage" /> - </img> - </div> - - <include item="footer"> - <parameter> - <xsl:value-of select="$key"/> - </parameter> - <parameter> - <xsl:call-template name="topicTitlePlain"/> - </parameter> - </include> - </div> - </xsl:template> - - <!-- Assembly information --> - - <xsl:template name="requirementsInfo"> - <p/> - <include item="requirementsNamespaceLayout" /> - <xsl:text> </xsl:text> - <referenceLink target="{/document/reference/containers/namespace/@api}" /> - <br/> - <xsl:call-template name="assembliesInfo"/> - - <!-- some apis display a XAML xmlns uri --> - <xsl:call-template name="xamlXmlnsInfo"/> - </xsl:template> - - <xsl:template name="assemblyNameAndModule"> - <xsl:param name="library" select="/document/reference/containers/library"/> - <include item="assemblyNameAndModule"> - <parameter> - <span sdata="assembly"> - <xsl:value-of select="$library/@assembly"/> - </span> - </parameter> - <parameter> - <xsl:value-of select="$library/@module"/> - </parameter> - <parameter> - <xsl:choose> - <xsl:when test="$library/@kind = 'DynamicallyLinkedLibrary'"> - <xsl:text>dll</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>exe</xsl:text> - </xsl:otherwise> - </xsl:choose> - </parameter> - </include> - </xsl:template> - - <xsl:template name="assembliesInfo"> - <xsl:choose> - <xsl:when test="count(/document/reference/containers/library)>1"> - <include item="requirementsAssembliesLabel"/> - <xsl:for-each select="/document/reference/containers/library"> - <xsl:text>  </xsl:text> - <xsl:call-template name="assemblyNameAndModule"> - <xsl:with-param name="library" select="."/> - </xsl:call-template> - <br/> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <include item="requirementsAssemblyLabel"/> - <xsl:text> </xsl:text> - <xsl:call-template name="assemblyNameAndModule"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- Platform information --> - - <xsl:template match="platforms"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'platformsTitle'"/> - <xsl:with-param name="title"> - <include item="platformsTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <p> - <xsl:for-each select="platform"> - <include item="{.}" /><xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if> - </xsl:for-each> - </p> - <p> - <include item="developmentPlatformsLayout"/> - </p> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <!-- Version information --> - - <xsl:template match="versions"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'versionsTitle'"/> - <xsl:with-param name="title"> - <include item="versionsTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:call-template name="processVersions" /> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template name="processVersions"> - <xsl:choose> - <xsl:when test="versions"> - <xsl:for-each select="versions"> - <!-- $platformFilterExcluded is based on platform filtering information --> - <xsl:variable name="platformFilterExcluded" select="boolean(/document/reference/platforms and ( (@name='netcfw' and not(/document/reference/platforms/platform[.='PocketPC']) and not(/document/reference/platforms/platform[.='SmartPhone']) and not(/document/reference/platforms/platform[.='WindowsCE']) ) or (@name='xnafw' and not(/document/reference/platforms/platform[.='Xbox360']) ) ) )" /> - <xsl:if test="not($platformFilterExcluded) and count(version) > 0"> - <h4 class ="subHeading"> - <include item="{@name}" /> - </h4> - <xsl:call-template name="processVersions" /> - </xsl:if> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <!-- show the versions in which the api is supported, if any --> - <xsl:variable name="supportedCount" select="count(version[not(@obsolete)])"/> - <xsl:if test="$supportedCount > 0"> - <include item="supportedIn_{$supportedCount}"> - <xsl:for-each select="version[not(@obsolete)]"> - <parameter> - <include item="{@name}" /> - </parameter> - </xsl:for-each> - </include> - <br/> - </xsl:if> - <!-- show the versions in which the api is obsolete with a compiler warning, if any --> - <xsl:for-each select="version[@obsolete='warning']"> - <include item="obsoleteWarning"> - <parameter> - <include item="{@name}" /> - </parameter> - </include> - <br/> - </xsl:for-each> - <!-- show the versions in which the api is obsolete and does not compile, if any --> - <xsl:for-each select="version[@obsolete='error']"> - <xsl:if test="position()=last()"> - <include item="obsoleteError"> - <parameter> - <include item="{@name}" /> - </parameter> - </include> - <br/> - </xsl:if> - </xsl:for-each> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- Inheritance hierarchy --> - - <xsl:template match="family"> - - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'family'"/> - <xsl:with-param name="title"> - <include item="familyTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:variable name="ancestorCount" select="count(ancestors/*)" /> - <xsl:variable name="childCount" select="count(descendents/*)" /> - - <xsl:for-each select="ancestors/type"> - <xsl:sort select="position()" data-type="number" order="descending" /> - <!--<xsl:sort select="@api"/> --> - - <xsl:call-template name="indent"> - <xsl:with-param name="count" select="position()" /> - </xsl:call-template> - - <xsl:apply-templates select="self::type" mode="link"> - <xsl:with-param name="qualified" select="true()" /> - </xsl:apply-templates> - - <!-- - <xsl:call-template name="typeReferenceLink"> - <xsl:with-param name="api" select="@api" /> - <xsl:with-param name="qualified" select="true()" /> - <xsl:with-param name="specialization" select="boolean(specialization)" /> - </xsl:call-template> - <xsl:apply-templates select="type/specialization" /> - --> - <br/> - </xsl:for-each> - - <xsl:call-template name="indent"> - <xsl:with-param name="count" select="$ancestorCount + 1" /> - </xsl:call-template> - - <referenceLink target="{$key}" qualified="true"/> - <br/> - - <xsl:choose> - - <xsl:when test="descendents/@derivedTypes"> - <xsl:call-template name="indent"> - <xsl:with-param name="count" select="$ancestorCount + 2" /> - </xsl:call-template> - <referenceLink target="{descendents/@derivedTypes}" qualified="true"> - <include item="derivedClasses"/> - </referenceLink> - </xsl:when> - <xsl:otherwise> - - <xsl:for-each select="descendents/type"> - <xsl:sort select="@api"/> - <xsl:call-template name="indent"> - <xsl:with-param name="count" select="$ancestorCount + 2" /> - </xsl:call-template> - - <xsl:apply-templates select="self::type" mode="link"> - <xsl:with-param name="qualified" select="true()" /> - </xsl:apply-templates> - <!-- - <xsl:call-template name="typeReferenceLink"> - <xsl:with-param name="api" select="@api" /> - <xsl:with-param name="qualified" select="true()" /> - <xsl:with-param name="specialization" select="boolean(specialization)" /> - </xsl:call-template> - <xsl:apply-templates select="specialization" /> - --> - <br/> - </xsl:for-each> - </xsl:otherwise> - </xsl:choose> - - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template name="createTableEntries"> - <xsl:param name="count" /> - <xsl:if test="number($count) > 0"> - <td> </td> - <xsl:call-template name="createTableEntries"> - <xsl:with-param name="count" select="number($count)-1" /> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <xsl:template name="typeReferenceLink"> - <xsl:param name="api" /> - <xsl:param name="qualified" /> - <xsl:param name="specialization" /> - - <referenceLink target="{$api}" qualified="{$qualified}"> - <xsl:choose> - <xsl:when test="$specialization = 'true'"> - <xsl:attribute name="show-templates">false</xsl:attribute> - </xsl:when> - <xsl:otherwise> - <xsl:attribute name="show-templates">true</xsl:attribute> - </xsl:otherwise> - </xsl:choose> - </referenceLink> - - </xsl:template> - - <xsl:template match="template"> - <xsl:choose> - <xsl:when test="@api=$key"> - <xsl:value-of select="@name" /> - </xsl:when> - <xsl:otherwise> - <include item="typeLinkToTypeParameter"> - <parameter> - <xsl:value-of select="@name"/> - </parameter> - <parameter> - <referenceLink target="{@api}" qualified="true" /> - </parameter> - </include> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="member"> - <xsl:apply-templates select="type" mode="link" /> - <xsl:text>.</xsl:text> - <xsl:choose> - <xsl:when test="@display-api"> - <referenceLink target="{@api}" display-target="{@display-api}" /> - </xsl:when> - <xsl:otherwise> - <referenceLink target="{@api}" /> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- Naming --> - - <xsl:template name="shortName"> - <xsl:choose> - <xsl:when test="$subgroup='constructor'"> - <xsl:value-of select="/document/reference/containers/type/apidata/@name" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/apidata/@name" /> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- decorated names --> - - <xsl:template name="shortNameDecorated"> - <!--<xsl:param name="titleType" /> --> - <xsl:choose> - <!-- type overview pages get the type name --> - <xsl:when test="$group='type' or ($group='list' and not($subgroup='overload'))"> - <xsl:for-each select="/document/reference[1]"> - <xsl:call-template name="typeNameDecorated" /> - </xsl:for-each> - </xsl:when> - <!-- constructors and member list pages also use the type name --> - <xsl:when test="$subgroup='constructor' or ($subgroup='overload' and /document/reference/apidata/@subgroup='constructor')"> - <xsl:for-each select="/document/reference/containers/type[1]"> - <xsl:call-template name="typeNameDecorated" /> - </xsl:for-each> - </xsl:when> - <!-- - <xsl:when test="$group='member'"> - <xsl:variable name="type"> - <xsl:for-each select="/document/reference"> - <xsl:call-template name="GetTypeName" /> - </xsl:for-each> - </xsl:variable> - <xsl:choose> - <xsl:when test="$titleType = 'tocTitle'"> - <xsl:value-of select="$type" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat($typeName, '.', $type)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - --> - <!-- member pages use the qualified member name --> - <xsl:when test="$group='member' or ($subgroup='overload' and /document/reference/apidata/@group='member')"> - <xsl:for-each select="/document/reference/containers/type[1]"> - <xsl:call-template name="typeNameDecorated" /> - </xsl:for-each> - <span class="cs">.</span> - <span class="vb">.</span> - <span class="cpp">::</span> - <xsl:for-each select="/document/reference[1]"> - <xsl:value-of select="apidata/@name" /> - <xsl:apply-templates select="templates" mode="decorated" /> - </xsl:for-each> - </xsl:when> - <!-- namespace (and any other) topics just use the name --> - <xsl:when test="/document/reference/apidata/@name = ''"> - <include item="defaultNamespace" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="/document/reference/apidata/@name" /> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- plain names --> - - <xsl:template name="shortNamePlain"> - <xsl:param name="qualifyMembers" select="false()" /> - <xsl:choose> - <!-- type overview pages get the type name --> - <xsl:when test="$group='type' or (group='list' and not($subgroup = 'overload'))"> - <xsl:for-each select="/document/reference[1]"> - <xsl:call-template name="typeNamePlain" /> - </xsl:for-each> - </xsl:when> - <!-- constructors and member list pages also use the type name --> - <xsl:when test="$subgroup='constructor' or ($subgroup='overload' and /document/reference/apidata/@subgroup='constructor')"> - <xsl:for-each select="/document/reference/containers/type[1]"> - <xsl:call-template name="typeNamePlain" /> - </xsl:for-each> - </xsl:when> - <!-- namespace, member (and any other) topics just use the name --> - <xsl:when test="/document/reference/apidata/@name = ''"> - <include item="defaultNamespace" /> - </xsl:when> - <xsl:otherwise> - <xsl:if test="$qualifyMembers and /document/reference/apidata/@group='member'"> - <xsl:for-each select="/document/reference/containers/type[1]"> - <xsl:call-template name="typeNamePlain" /> - </xsl:for-each> - <xsl:text>.</xsl:text> - </xsl:if> - <xsl:value-of select="/document/reference/apidata/@name" /> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template name="typeNamePlain"> - <xsl:param name="annotate" select="false()" /> - <xsl:if test="(containers/type)|type"> - <xsl:for-each select="(containers/type)|type"> - <xsl:call-template name="typeNamePlain"> - <xsl:with-param name="annotate" select="$annotate" /> - </xsl:call-template> - </xsl:for-each> - <xsl:text>.</xsl:text> - </xsl:if> - <xsl:value-of select="apidata/@name" /> - <xsl:if test="$annotate and templates/template"> - <xsl:value-of select="concat('`',count(templates/template))"/> - </xsl:if> - </xsl:template> - -</xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/hana/transforms/xamlSyntax.xsl b/tools/Sandcastle/Presentation/hana/transforms/xamlSyntax.xsl deleted file mode 100644 index 4362a26..0000000 --- a/tools/Sandcastle/Presentation/hana/transforms/xamlSyntax.xsl +++ /dev/null @@ -1,491 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" - xmlns:MSHelp="http://msdn.microsoft.com/mshelp" - xmlns:mshelp="http://msdn.microsoft.com/mshelp" - xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:msxsl="urn:schemas-microsoft-com:xslt" - > - - <xsl:import href="globalTemplates.xsl"/> - - <xsl:variable name="showNonXamlAssemblyBoilerplate" select="'false'" /> - - <!-- XAML Syntax --> - - <xsl:template name="XamlSyntaxBlock"> - <!-- Branch based on pagetype --> - <xsl:choose> - <!-- Display boilerplate for pagetypes that cannot be used in XAML, - unless there's an authored XAML text section, which is used in place of the boilerplate. --> - <xsl:when test="$subgroup='method' or - $subgroup='constructor' or - $subgroup='interface' or - $subgroup='delegate' or - $subgroup='field'"> - <xsl:call-template name="nonXamlMembersXamlSyntax"/> - </xsl:when> - - <!-- class and struct --> - <xsl:when test="$subgroup='class' or - $subgroup='structure'"> - <xsl:call-template name="classOrStructXamlSyntax"/> - </xsl:when> - - <!-- enumeration --> - <xsl:when test="$subgroup='enumeration'"> - <xsl:call-template name="enumerationXamlSyntax"/> - </xsl:when> - - <!-- property --> - <xsl:when test="$subgroup='property' or $subsubgroup='attachedProperty'"> - <xsl:call-template name="propertyXamlSyntax"/> - </xsl:when> - - <!-- event --> - <xsl:when test="$subgroup='event' or $subsubgroup='attachedEvent'"> - <xsl:call-template name="eventXamlSyntax"/> - </xsl:when> - - </xsl:choose> - </xsl:template> - - <!-- XAML syntax for CLASS and STRUCT topics. This is the logic: - if authored OESyntax, - display it - else if autogen OESyntax (AND no authored XAML section), - display it. - if authored AttrUsage, - display it - if authored XAML section, - display it - if no (authored OESyntax OR authored AttrUsage OR authored XAML section), - display autogen boilerplate - display XAML Values section, if any - --> - <xsl:template name="classOrStructXamlSyntax"> - <!-- Object Element Usage - //ddue:section[starts-with(@address,'xamlValues')] - //ddue:section[starts-with(@address,'xamlTextUsage')] - //ddue:section[starts-with(@address,'xamlAttributeUsage')] - //ddue:section[starts-with(@address,'xamlPropertyElementUsage')] - //ddue:section[starts-with(@address,'xamlImplicitCollectionUsage')] - //ddue:section[starts-with(@address,'xamlObjectElementUsage')] - //ddue:section[starts-with(@address,'dependencyPropertyInfo')] - //ddue:section[starts-with(@address,'routedEventInfo')] - --> - <xsl:choose> - <!-- Show the authored Object Element Usage, if any. --> - <xsl:when test="//ddue:section[starts-with(@address,'xamlObjectElementUsage')]"> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlObjectElementUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - </xsl:when> - <!-- Else if no authored xamlTextUsage section, show the autogenerated Object Element Usage, if any. --> - <xsl:when test="not(//ddue:section[starts-with(@address,'xamlTextUsage')])"> - <xsl:call-template name="ShowAutogeneratedXamlSyntax"> - <xsl:with-param name="autogenContent"> - <xsl:copy-of select="div[@class='xamlObjectElementUsageHeading']"/> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - </xsl:choose> - <!-- Implicit Collection Usage - show authored section, if any. --> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlImplicitCollectionUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - <!-- Attribute Usage - show authored section, if any. --> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlAttributeUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - <!-- XAML Text section - show authored section, if any. --> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlTextUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - <!-- Autogen - show autogen boilerplate, if no authored xaml sections to override it. --> - <xsl:if test="not(//ddue:section[starts-with(@address,'xamlObjectElementUsage')] or //ddue:section[starts-with(@address,'xamlImplicitCollectionUsage')] or //ddue:section[starts-with(@address,'xamlAttributeUsage')] or //ddue:section[starts-with(@address,'xamlTextUsage')])"> - <xsl:call-template name="ShowXamlSyntaxBoilerplate"> - <xsl:with-param name="param0"> - <xsl:copy-of select="."/> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - <!-- Show the authored XAML Values section, if any. --> - <xsl:call-template name="showXamlValuesSection"/> - </xsl:template> - - <!-- XAML syntax for ENUMERATION topics. This is the logic: - if authored AttrUsage, - display it - if authored XAML section, - display it - if no (authored AttrUsage OR authored XAML section), - display autogen AttrUsage or boilerplate. - display XAML Values section, if any - --> - <xsl:template name="enumerationXamlSyntax"> - <!-- Attribute Usage - show authored section, if any. --> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlAttributeUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - <!-- XAML Text section - show authored section, if any. --> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlTextUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - <!-- Autogen - show enum syntax boilerplate, if no authored xaml sections to override it. --> - <xsl:choose> - <xsl:when test="$showNonXamlAssemblyBoilerplate='false' and div[@class='nonXamlAssemblyBoilerplate']"/> - <xsl:when test="not(//ddue:section[starts-with(@address,'xamlAttributeUsage')] or //ddue:section[starts-with(@address,'xamlTextUsage')])"> - <span codeLanguage="XAML"> - <table> - <tr> - <th> - <include item="xamlAttributeUsageHeading" /> - </th> - </tr> - <tr> - <td> - <pre xml:space="preserve"><xsl:text/><include item="enumerationOverviewXamlSyntax"/></pre> - </td> - </tr> - </table> - </span> - </xsl:when> - </xsl:choose> - <!-- Show the authored XAML Values section, if any. --> - <xsl:call-template name="showXamlValuesSection"/> - </xsl:template> - - <!-- XAML syntax for PROPERTY topics. This is the logic: - if authored OESyntax, - display it - if authored PEUsage, - display it - else if autogen PEUsage (AND no authored XAML section), - display it - if authored AttrUsage, - display it - else if autogen AttrUsage (AND no authored XAML section), - display it - if authored XAML section, - display it - if no (authored OESyntax OR authored PEUsage OR authored AttrUsage OR authored XAML section), - display autogen boilerplate - --> - <xsl:template name="propertyXamlSyntax"> - <!-- Object Element Usage - show authored section, if any. --> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlObjectElementUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - <!-- Property Element Usage --> - <xsl:choose> - <!-- Show the authored Property Element Usage, if any. --> - <xsl:when test="//ddue:section[starts-with(@address,'xamlPropertyElementUsage')]"> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlPropertyElementUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - </xsl:when> - <!-- Else if no authored xamlTextUsage section, show the autogenerated Property Element Usage, if any. --> - <xsl:when test="not(//ddue:section[starts-with(@address,'xamlTextUsage')])"> - <xsl:call-template name="ShowAutogeneratedXamlSyntax"> - <xsl:with-param name="autogenContent"> - <xsl:copy-of select="div[@class='xamlPropertyElementUsageHeading' or @class='xamlContentElementUsageHeading']"/> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - </xsl:choose> - <!-- Attribute Usage --> - <xsl:choose> - <!-- Show the authored Attribute Usage, if any. --> - <xsl:when test="//ddue:section[starts-with(@address,'xamlAttributeUsage')]"> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlAttributeUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - </xsl:when> - <!-- Else if no authored xamlTextUsage section, show the autogenerated Attribute Usage, if any. --> - <xsl:when test="not(//ddue:section[starts-with(@address,'xamlTextUsage')])"> - <xsl:call-template name="ShowAutogeneratedXamlSyntax"> - <xsl:with-param name="autogenContent"> - <xsl:copy-of select="div[@class='xamlAttributeUsageHeading']"/> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - </xsl:choose> - <!-- XAML Text section - show authored section, if any. --> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlTextUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - <!-- Autogen - show autogen boilerplate, if no authored xaml sections to override it. --> - <xsl:if test="not(//ddue:section[starts-with(@address,'xamlObjectElementUsage')] or //ddue:section[starts-with(@address,'xamlPropertyElementUsage')] or //ddue:section[starts-with(@address,'xamlAttributeUsage')] or //ddue:section[starts-with(@address,'xamlTextUsage')])"> - <xsl:call-template name="ShowXamlSyntaxBoilerplate"> - <xsl:with-param name="param0"> - <xsl:copy-of select="div/*"/> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - <!-- Show the authored XAML Values section, if any. --> - <xsl:call-template name="showXamlValuesSection"/> - </xsl:template> - - <!-- XAML syntax for EVENT topics. This is the logic: - if authored AttrUsage, - display it - if authored XAML section, - display it - if no (authored AttrUsage OR authored XAML section), - display autogen AttrUsage or boilerplate. - display XAML Values section, if any - --> - <xsl:template name="eventXamlSyntax"> - <!-- Attribute Usage - show authored section, if any. --> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlAttributeUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - <!-- XAML Text section - show authored section, if any. --> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlTextUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - <!-- Autogen - show autogen syntax or boilerplate, if no authored xaml sections to override it. --> - <xsl:if test="not(//ddue:section[starts-with(@address,'xamlAttributeUsage')] or //ddue:section[starts-with(@address,'xamlTextUsage')])"> - <!-- If XamlSyntax component generated an Attribute Usage block, this template will show it. --> - <xsl:call-template name="ShowAutogeneratedXamlSyntax"> - <xsl:with-param name="autogenContent"> - <xsl:copy-of select="div[@class='xamlAttributeUsageHeading']"/> - </xsl:with-param> - </xsl:call-template> - <!-- If XamlSyntax component generated a boilerplate block, this template will show it. --> - <xsl:call-template name="ShowXamlSyntaxBoilerplate"> - <xsl:with-param name="param0"> - <xsl:copy-of select="div/*"/> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - <!-- Show the authored XAML Values section, if any. --> - <xsl:call-template name="showXamlValuesSection"/> - </xsl:template> - - <!-- XAML syntax for members that cannot be used in XAML: interface, delegate, method, field, constructor. - If there's an authored XAML section, show it. Otherwise, use the standard boilerplate. --> - <xsl:template name="nonXamlMembersXamlSyntax"> - <xsl:choose> - <!-- XAML Text section - show authored section, if any. --> - <xsl:when test="//ddue:section[starts-with(@address,'xamlTextUsage')]"> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlTextUsage')][1]"> - <xsl:call-template name="ShowAuthoredXamlSyntax"/> - </xsl:for-each> - </xsl:when> - <!-- Autogen - show autogen boilerplate, if no authored xaml sections to override it. --> - <xsl:otherwise> - <xsl:call-template name="ShowXamlSyntaxBoilerplate"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- Displays one of the standard XAML boilerplate strings. --> - <xsl:template name="ShowXamlSyntaxBoilerplate"> - <xsl:param name="param0"/> - <xsl:variable name="boilerplateId"> - <xsl:choose> - <!-- don't show boilerplate for apis that are not in xaml assemblies --> - <xsl:when test="$showNonXamlAssemblyBoilerplate='false' and div[@class='nonXamlAssemblyBoilerplate']"/> - <xsl:otherwise> - <xsl:value-of select="div/@class[not(.='xamlAttributeUsageHeading' or - .='xamlObjectElementUsageHeading' or - .='xamlContentElementUsageHeading' or - .='xamlPropertyElementUsageHeading' or - .='xamlXmlnsUri')]"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="$boilerplateId!=''"> - <span codeLanguage="XAML"> - <table> - <tr> - <th> - <include item="xamlSyntaxBoilerplateHeading" /> - </th> - </tr> - <tr> - <td> - <pre xml:space="preserve"><span class="message"><xsl:text/><include item="{$boilerplateId}"> - <xsl:choose> - <xsl:when test="$param0!=''"> - <parameter> - <xsl:copy-of select="msxsl:node-set($param0)"/> - </parameter> - </xsl:when> - <!-- make sure we at least pass in an empty param because some boilerplates expect them --> - <xsl:otherwise> - <parameter/> - </xsl:otherwise> - </xsl:choose> - </include></span></pre> - </td> - </tr> - </table> - </span> - </xsl:if> - </xsl:template> - - <!-- Displays an authored XAML syntax section --> - <xsl:template name="ShowAuthoredXamlSyntax"> - <xsl:if test="ddue:content[normalize-space(.)!='']"> - <xsl:variable name="headingID"> - <xsl:choose> - <xsl:when test="starts-with(@address,'xamlObjectElementUsage')">xamlObjectElementUsageHeading</xsl:when> - <xsl:when test="starts-with(@address,'xamlImplicitCollectionUsage')">xamlImplicitCollectionUsageHeading</xsl:when> - <xsl:when test="starts-with(@address,'xamlPropertyElementUsage')"> - <xsl:choose> - <xsl:when test="//div[@class='xamlContentElementUsageHeading']">xamlContentElementUsageHeading</xsl:when> - <xsl:otherwise>xamlPropertyElementUsageHeading</xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="starts-with(@address,'xamlAttributeUsage')">xamlAttributeUsageHeading</xsl:when> - <xsl:when test="starts-with(@address,'xamlTextUsage')">xamlSyntaxBoilerplateHeading</xsl:when> - </xsl:choose> - </xsl:variable> - <span codeLanguage="XAML"> - <table> - <tr> - <th> - <include item="{$headingID}" /> - </th> - </tr> - <xsl:choose> - <xsl:when test="$headingID='xamlSyntaxBoilerplateHeading'"> - <tr> - <td> - <xsl:apply-templates select="ddue:content"/> - </td> - </tr> - </xsl:when> - <xsl:otherwise> - <tr> - <td> - <pre xml:space="preserve"><xsl:choose> - <xsl:when test="ddue:content/ddue:code"><xsl:apply-templates select="ddue:content/ddue:code[1]/node()" /></xsl:when> - <xsl:when test="ddue:content/ddue:para"><xsl:apply-templates select="ddue:content/ddue:para"/></xsl:when> - </xsl:choose></pre> - </td> - </tr> - </xsl:otherwise> - </xsl:choose> - </table> - </span> - </xsl:if> - </xsl:template> - - <!-- Displays the autogenerated XAML syntax for pagetypes other than enumerations --> - <xsl:template name="ShowAutogeneratedXamlSyntax"> - <xsl:param name="autogenContent"/> - <xsl:if test="count(msxsl:node-set($autogenContent))>0"> - <xsl:for-each select="msxsl:node-set($autogenContent)/div"> - <xsl:variable name="headingID"> - <xsl:value-of select="@class"/> - </xsl:variable> - <span codeLanguage="XAML"> - <table> - <tr> - <th> - <include item="{$headingID}" /> - </th> - </tr> - <tr> - <td> - <pre xml:space="preserve"><xsl:text/><xsl:copy-of select="node()"/></pre> - </td> - </tr> - </table> - </span> - </xsl:for-each> - </xsl:if> - </xsl:template> - - <!-- Display the XAML Values section. --> - <xsl:template name="showXamlValuesSection"> - <xsl:for-each select="//ddue:section[starts-with(@address,'xamlValues')]"> - <span codeLanguage="XAML"> - <p/> - <xsl:call-template name="subSection"> - <xsl:with-param name="title"> - <include item="xamlValuesSectionHeading" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates select="ddue:content"/> - </xsl:with-param> - </xsl:call-template> - </span> - </xsl:for-each> - </xsl:template> - - <!-- these xaml sections are captured in the xaml syntax processing, so this template prevents them from showing up twice --> - <xsl:template match="//ddue:section[starts-with(@address,'xamlValues') or - starts-with(@address,'xamlTextUsage') or - starts-with(@address,'xamlAttributeUsage') or - starts-with(@address,'xamlPropertyElementUsage') or - starts-with(@address,'xamlImplicitCollectionUsage') or - starts-with(@address,'xamlObjectElementUsage') or - starts-with(@address,'dependencyPropertyInfo') or - starts-with(@address,'routedEventInfo')]"/> - - <!-- the authored dependency Property Information section --> - <xsl:template match="ddue:section[starts-with(@address,'dependencyPropertyInfo')]" mode="section"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'dependencyPropertyInfo'"/> - <xsl:with-param name="title"> - <include item="dependencyPropertyInfoHeading" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates select="ddue:content" /> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <!-- the authored routed event Information section --> - <xsl:template match="ddue:section[starts-with(@address,'routedEventInfo')]" mode="section"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'routedEventInfo'"/> - <xsl:with-param name="title"> - <include item="routedEventInfoHeading" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates select="ddue:content" /> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <!-- Show XAML xmlns for apis that support XAML --> - <xsl:template name="xamlXmlnsInfo"> - <xsl:variable name="hasAuthoredXamlSyntax" select="boolean(//ddue:sections/ddue:section[ - starts-with(@address,'xamlTextUsage') or - starts-with(@address,'xamlAttributeUsage') or - starts-with(@address,'xamlPropertyElementUsage') or - starts-with(@address,'xamlImplicitCollectionUsage') or - starts-with(@address,'xamlObjectElementUsage')])" /> - <xsl:variable name="hasAutogeneratedXamlSyntax" select="boolean(/document/syntax/div[@codeLanguage='XAML']/div[ - @class='xamlAttributeUsageHeading' or - @class='xamlObjectElementUsageHeading' or - @class='xamlContentElementUsageHeading' or - @class='xamlPropertyElementUsageHeading'])" /> - <!-- All topics that have authored or autogen'd xaml syntax get an "XMLNS for XAML" line in the Requirements section. - Topics with boilerplate xaml syntax, e.g. "Not applicable", do NOT get this line. --> - <xsl:if test="$hasAuthoredXamlSyntax or $hasAutogeneratedXamlSyntax"> - <br/> - <include item="xamlXmlnsRequirementsLayout"> - <parameter> - <xsl:choose> - <xsl:when test="/document/syntax/div[@codeLanguage='XAML']/div[@class='xamlXmlnsUri']"> - <xsl:for-each select="/document/syntax/div[@codeLanguage='XAML']/div[@class='xamlXmlnsUri']"> - <xsl:if test="position()!=1"><xsl:text>, </xsl:text></xsl:if> - <xsl:value-of select="."/> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <include item="unmappedXamlXmlns"/> - </xsl:otherwise> - </xsl:choose> - </parameter> - </include> - </xsl:if> - </xsl:template> - -</xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/vs2005/Content/reference_content.xml b/tools/Sandcastle/Presentation/vs2005/Content/reference_content.xml index bc56094..8224e59 100644 --- a/tools/Sandcastle/Presentation/vs2005/Content/reference_content.xml +++ b/tools/Sandcastle/Presentation/vs2005/Content/reference_content.xml @@ -21,8 +21,15 @@ <item id="constructorTopicTitle">{0} Constructor {1}</item> <item id="propertyTopicTitle">{0} Property {1}</item> <item id="eventTopicTitle">{0} Event</item> - <item id="operatorTopicTitle">{0} Operator</item> + <!-- title for operator members --> + <item id="operatorTopicTitle">{0} Operator {1}</item> + + <!-- title for op_explicit and op_implicit members --> + <item id="typeConversionTopicTitle">{0} Conversion {1}</item> + <!-- title for overload op_explicit and op_implicit topics --> + <item id="conversionOperatorTopicTitle">{0} Conversion Operators</item> + <item id="attachedPropertyTopicTitle">{0} Attached Property</item> <item id="attachedEventTopicTitle">{0} Attached Event</item> @@ -35,9 +42,17 @@ <!-- list topic titles --> <item id="FieldsTopicTitle">{0} Fields</item> - <item id="MethodsTopicTitle">{0} Methods {1}</item> - <item id="ConstructorsTopicTitle">{0} Constructors {1}</item> - <item id="PropertiesTopicTitle">{0} Properties {1}</item> + <item id="MethodsTopicTitle">{0} Methods</item> + + <!-- title for operator list topic that has [operators + no type conversions] --> + <item id="OperatorsTopicTitle">{0} Operators</item> + <!-- title for operator list topic that has [operators + type conversions] --> + <item id="OperatorsAndTypeConversionsTopicTitle">{0} Operators and Type Conversions</item> + <!-- title for operator list topic that has [no operators + type conversions] --> + <item id="TypeConversionsTopicTitle">{0} Type Conversions</item> + + <item id="ConstructorsTopicTitle">{0} Constructors</item> + <item id="PropertiesTopicTitle">{0} Properties</item> <item id="EventsTopicTitle">{0} Events</item> <item id="AttachedPropertiesTopicTitle">{0} Attached Properties</item> <item id="AttachedEventsTopicTitle">{0} Attached Events</item> @@ -59,6 +74,14 @@ <item id="derivedTypesIndexEntry">{0}, derived types</item> <item id="membersIndexEntry">{0}, all members</item> <item id="methodsIndexEntry">{0}, methods</item> + <!-- index entry for operator list topic that has [operators + no type conversions] --> + <item id="operatorsIndexEntry">{0}, operators</item> + <!-- index entry for operator list topic that has [operators + type conversions] --> + <item id="operatorsAndTypeConversionsIndexEntry">{0}, operators and type conversions</item> + <!-- index entry for operator list topic that has [no operators + type conversions] --> + <item id="typeConversionsIndexEntry">{0}, type conversions</item> + <!-- index entries for op_explicit and op_implicit members --> + <item id="conversionOperatorIndexEntry">{0} conversion</item> <item id="propertiesIndexEntry">{0}, properties</item> <item id="fieldsIndexEntry">{0}, fields</item> <item id="eventsIndexEntry">{0}, events</item> @@ -111,7 +134,7 @@ <item id="implementsTitle">Implements</item> <item id="examplesTitle">Examples</item> <item id="threadSafetyTitle">Thread Safety</item> - <item id="permissionsTitle">Permissions</item> + <item id="permissionsTitle">.NET Framework Security</item> <item id="namespacesTitle">Namespaces</item> <item id="typesTitle">Types</item> <item id="allMembersTitle">Members</item> @@ -180,9 +203,9 @@ <item id="ThreadSafety">Thread Safety</item> <item id="ThreadSafetyBP">Any public <include item="staticKeyword"/> members of this type are thread safe. Any instance members are not guaranteed to be thread safe.</item> - <item id="NotesForImplementers">Notes to Implementers: </item> - <item id="NotesForCallers">Notes to Callers: </item> - <item id="NotesForInheritors">Notes to Inheritors: </item> + <item id="NotesForImplementers">Notes to Implementers</item> + <item id="NotesForCallers">Notes to Callers</item> + <item id="NotesForInheritors">Notes to Inheritors</item> <!-- Used for Platform Notes --> <item id="PlatformNote"> @@ -245,7 +268,7 @@ <item id="nonobsoleteAlternative">The non-obsolete alternative is {0}.</item> <item id="obsoleteRed"><font color="red"><b>Obsolete. </b></font></item> <item id="ObsoleteBoilerPlate"> - <font color="red"><b>NOTE: This API is now obsolete.</b></font> + <font color="red"><b>Note: This API is now obsolete.</b></font> </item> <item id="definedBy">(Defined by {0}.)</item> <item id="inheritedFrom">(Inherited from {0}.)</item> @@ -429,6 +452,15 @@ <item id="internalOnly">This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.</item> <item id="infraStructure">Infrastructure. </item> + + <!-- Variance boilerplate text --> + <item id="inKeyword"><span class="languageSpecificText"><span class="cs"><span class="keyword">in</span> </span><span class="vb"><span class="keyword">In</span> </span><span class="cpp"><span class="keyword">in</span> </span><span class="nu"><span class="keyword">in</span> </span><span class="fs"></span></span></item> + <item id="outKeyword"><span class="languageSpecificText"><span class="cs"><span class="keyword">out</span> </span><span class="vb"><span class="keyword">Out</span> </span><span class="cpp"><span class="keyword">out</span> </span><span class="nu"><span class="keyword">out</span> </span><span class="fs"></span></span></item> + + <item id="covariant">This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. </item> + <item id="contravariant">This type parameter is contavariant. That is, you can use either the type you specified or any type that is less derived. </item> + <item id="variance">For more information about covariance and contravariance, see <conceptualLink target="2678dc63-c7f9-4590-9ddc-0a4df684d42e" />.</item> + <!-- Non Cls Compliant boilerplate text--> <item id="NotClsCompliant">This API is not CLS-compliant.</item> <item id="AltClsCompliant">The CLS-compliant alternative is {0}.</item> @@ -451,10 +483,19 @@ <item id="PocketPC">Windows Mobile for Pocket PC</item> <item id="SmartPhone">Windows Mobile for Smartphone</item> <item id="WinSvr2003">Windows Server 2003</item> + <item id="WinSvr2008">Windows Server 2008</item> + <item id="WinSvr2008R2">Windows Server 2008 R2</item> <item id="WinXpMediaCenter">Windows XP Media Center Edition</item> <item id="WinXPSE">Windows XP Starter Edition</item> <item id="WinVista">Windows Vista</item> + <item id="Win7">Windows 7</item> <item id="Xbox360">Xbox 360</item> + <item id="Zune">Zune</item> + + <!-- Platforms boilerplate for Silverlight mref builds --> + <item id="silverlightplatforms"> + For information on the operating systems and browsers supported by <include item="silverlight"/>, see "Supported Operating Systems and Browsers" in <conceptualLink target="d1c41046-1eef-4a73-8049-5c9f0487f7fc"/>. + </item> <!-- framework ids: These shared content item strings are used for the headings in the Version Information section @@ -463,12 +504,15 @@ <item id="netfw">.NET Framework</item> <item id="netcfw">.NET Compact Framework</item> <item id="xnafw">XNA Framework</item> + <item id="silverlight">Silverlight</item> <!-- framework version ids These shared content item strings are used in the Version Information section. These ids must be in sync with the ids used in the config file for VersionBuilder. The ids are also used in the platformFilters.xml filter files to indicate the framework version supported by each platform --> + <item id="netfw40">4.0</item> + <item id="netfw35_1">3.5 SP1</item> <item id="netfw35">3.5</item> <item id="netfw30_1">3.0 SP1</item> <item id="netfw30">3.0</item> @@ -477,18 +521,23 @@ <item id="netfw11">1.1</item> <item id="netfw10">1.0</item> + <item id="netcfw37">3.7</item> <item id="netcfw35">3.5</item> <item id="netcfw20">2.0</item> <item id="netcfw10">1.0</item> <item id="xnafw10">1.0</item> + <!-- silverlight version ids used in Version Information section. --> + <item id="silverlight20">2.0</item> + <item id="silverlight10">1.0</item> + <!-- Used in the Requirements section to display an xmlns URI for apis that can be used in XAML --> <item id="xamlXmlnsRequirementsLayout"><b>XMLNS for XAML:</b> {0}</item> <item id="unmappedXamlXmlns">Not mapped to an xmlns.</item> <item id="secondaryFrameworkOverride"><br/><br/>In <include item="{0}"/>, this member is overridden by {1}.</item> - <item id="secondaryFrameworkInherited"><br/><br/>In <include item="{0}"/> <include item="{1}"/>, this member is inherited from {2}<span class="languageSpecificText"><span class="cs">.</span><span class="vb">.</span><span class="cpp">::</span><span class="nu">.</span></span>{3}.</item> + <item id="secondaryFrameworkInherited"><br/><br/>In <include item="{0}"/> <include item="{1}"/>, this member is inherited from {2}<span class="languageSpecificText"><span class="cs">.</span><span class="vb">.</span><span class="cpp">::</span><span class="nu">.</span><span class="fs">.</span></span>{3}.</item> <item id="secondaryFrameworkMember"><br/><br/>In <include item="{0}"/> <include item="{1}"/>, this member is {2}.</item> <item id="useBaseSummary">This member overrides {0}.</item> diff --git a/tools/Sandcastle/Presentation/vs2005/Content/shared_content.xml b/tools/Sandcastle/Presentation/vs2005/Content/shared_content.xml index 693bd2e..9f72e74 100644 --- a/tools/Sandcastle/Presentation/vs2005/Content/shared_content.xml +++ b/tools/Sandcastle/Presentation/vs2005/Content/shared_content.xml @@ -21,20 +21,27 @@ <!-- freshness date --> <item id="UpdateTitle"><font color="DarkGray">Updated: {0}</font></item> + <!-- if the TransformComponent of the BuildAssembler config file has the argument: + argument key="changeHistoryOptions" value="showDefaultFreshnessDate" + the "defaultFreshnessDate" item is used as the default freshness date for topics that don't have a Change History table. --> + <item id="defaultFreshnessDate"/> + + <!-- change history table section--> + <item id="changeHistory">Change History</item> <!-- topic title --> <item id="nsrTitle">{0}</item> <!-- alert titles --> - <item id="tipTitle"><b>Tip:</b></item> - <item id="cautionTitle"><b>Caution:</b></item> - <item id="securityTitle"><b>Security Note:</b></item> - <item id="noteTitle"><b>Note:</b></item> - <item id="importantTitle"><b>Important Note:</b></item> - <item id="visualBasicTitle"><b>Visual Basic Note:</b></item> - <item id="visualC#Title"><b>C# Note:</b></item> - <item id="visualC++Title"><b>C++ Note:</b></item> - <item id="visualJ#Title"><b>J# Note:</b></item> + <item id="tipTitle"><b>Tip</b></item> + <item id="cautionTitle"><b>Caution</b></item> + <item id="securityTitle"><b>Security Note</b></item> + <item id="noteTitle"><b>Note</b></item> + <item id="importantTitle"><b>Important</b></item> + <item id="visualBasicTitle"><b>Visual Basic Note</b></item> + <item id="visualC#Title"><b>C# Note</b></item> + <item id="visualC++Title"><b>C++ Note</b></item> + <item id="visualJ#Title"><b>J# Note</b></item> <!-- alert alt text --> <item id="tipAltText">Tip</item> @@ -105,6 +112,7 @@ <item id="JScript">JScript</item> <item id="xmlLang">Xml</item> <item id="JavaScript">JavaScript</item> + <item id="FSharp">F#</item> <item id="html">Html</item> <item id="visualbasicANDcsharp"><include item="VisualBasic"/> and <include item="CSharp"/></item> <item id="other"></item> diff --git a/tools/Sandcastle/Presentation/vs2005/Scripts/CommonUtilities.js b/tools/Sandcastle/Presentation/vs2005/Scripts/CommonUtilities.js index e2d5767..42a9360 100644 --- a/tools/Sandcastle/Presentation/vs2005/Scripts/CommonUtilities.js +++ b/tools/Sandcastle/Presentation/vs2005/Scripts/CommonUtilities.js @@ -103,6 +103,8 @@ function GetDevlangCheckboxId(devlang) return devlangsMenu.GetCheckboxId("JSharp"); case "JavaScript": return devlangsMenu.GetCheckboxId("JavaScript"); + case "FSharp": + return devlangsMenu.GetCheckboxId("FSharp"); default: return ""; } @@ -116,26 +118,36 @@ function styleSheetHandler(oneDevlang) var sd = getStyleDictionary(); if (devlang == 'cs') { - sd['span.cs'].display = 'inline'; - sd['span.vb'].display = 'none'; - sd['span.cpp'].display = 'none'; - sd['span.nu'].display = 'none'; + sd['span.cs'].display = 'inline'; + sd['span.vb'].display = 'none'; + sd['span.cpp'].display = 'none'; + sd['span.nu'].display = 'none'; + sd['span.fs'].display = 'none'; } else if (devlang == 'vb') { - sd['span.cs'].display = 'none'; - sd['span.vb'].display = 'inline'; - sd['span.cpp'].display = 'none'; - sd['span.nu'].display = 'none'; - } else if (devlang == 'cpp') { - sd['span.cs'].display = 'none'; - sd['span.vb'].display = 'none'; - sd['span.cpp'].display = 'inline'; - sd['span.nu'].display = 'none'; - } else if (devlang == 'nu') { - sd['span.cs'].display = 'none'; - sd['span.vb'].display = 'none'; - sd['span.cpp'].display = 'none'; - sd['span.nu'].display = 'inline'; - } + sd['span.cs'].display = 'none'; + sd['span.vb'].display = 'inline'; + sd['span.cpp'].display = 'none'; + sd['span.nu'].display = 'none'; + sd['span.fs'].display = 'none'; + } else if (devlang == 'cpp') { + sd['span.cs'].display = 'none'; + sd['span.vb'].display = 'none'; + sd['span.cpp'].display = 'inline'; + sd['span.nu'].display = 'none'; + sd['span.fs'].display = 'none'; + } else if (devlang == 'nu') { + sd['span.cs'].display = 'none'; + sd['span.vb'].display = 'none'; + sd['span.cpp'].display = 'none'; + sd['span.nu'].display = 'inline'; + sd['span.fs'].display = 'none'; + } else if (devlang == 'fs') { + sd['span.cs'].display = 'none'; + sd['span.vb'].display = 'none'; + sd['span.cpp'].display = 'none'; + sd['span.nu'].display = 'none'; + sd['span.fs'].display = 'inline'; + } } function getStyleDictionary() { diff --git a/tools/Sandcastle/Presentation/vs2005/Scripts/script_manifold.js b/tools/Sandcastle/Presentation/vs2005/Scripts/script_manifold.js index 26bb631..ebc63a7 100644 --- a/tools/Sandcastle/Presentation/vs2005/Scripts/script_manifold.js +++ b/tools/Sandcastle/Presentation/vs2005/Scripts/script_manifold.js @@ -99,6 +99,13 @@ function HideSelect() i = n; } break; + case "fsharp": + for (m=0; m<spanEles.length; m++) + { + if (spanEles[m].getAttribute("codeLanguage") == "FSharp" && spanEles[m].style.display != "none" && n < i) + i = n; + } + break; } } if (i != 10) diff --git a/tools/Sandcastle/Presentation/vs2005/Styles/Presentation.css b/tools/Sandcastle/Presentation/vs2005/Styles/Presentation.css index 095b84d..5fe081f 100644 --- a/tools/Sandcastle/Presentation/vs2005/Styles/Presentation.css +++ b/tools/Sandcastle/Presentation/vs2005/Styles/Presentation.css @@ -891,6 +891,11 @@ span.nu { display: inline; } +span.fs +{ + display: none; +} + span.code { font-family: Monospace, Courier New, Courier; font-size: 105%; diff --git a/tools/Sandcastle/Presentation/vs2005/configuration/conceptual.config b/tools/Sandcastle/Presentation/vs2005/configuration/conceptual.config index f776d19..7025e18 100644 --- a/tools/Sandcastle/Presentation/vs2005/configuration/conceptual.config +++ b/tools/Sandcastle/Presentation/vs2005/configuration/conceptual.config @@ -50,29 +50,68 @@ <copy name="projectSettings" key="string('PBM_FileVersion')" source="." target="/document/metadata" /> </component> - <!-- Resolve code snippets --> - <component type="Microsoft.Ddue.Tools.ExampleComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <examples file="%DXROOT%\Data\CodeSnippet.xml" /> - <colors language="VisualBasic"> - <color pattern="^\s*'[^\r\n]*" class="comment" /> - <color pattern="\"[^"\r\n]*\"" class="literal" /> - <color pattern="\b((AddHandler)|(AddressOf)|(Alias)|(And)|(AndAlso)|(As)|(Boolean)|(ByRef)|(Byte)|(ByVal)|(Call)|(Case)|(Catch)|(CBool)|(CByte)|(CChar)|(CDate)|(CDec)|(CDbl)|(Char)|(CInt)|(Class)|(CLng)|(CObj)|(Const)|(Continue)|(CSByte)|(CShort)|(CSng)|(CStr)|(CType)|(CUInt)|(CULng)|(CUShort)|(Date)|(Decimal)|(Declare)|(Default)|(Delegate)|(Dim)|(DirectCast)|(Do)|(Double)|(Each)|(Else)|(ElseIf)|(End)|(EndIf)|(Enum)|(Erase)|(Error)|(Event)|(Exit)|(False)|(Finally)|(For)|(Friend)|(From)|(Function)|(Get)|(GetType)|(GetXMLNamespace)|(Global)|(GoSub)|(GoTo)|(Handles)|(If)|(Implements)|(Imports)|(In)|(Inherits)|(Integer)|(Interface)|(Is)|(IsNot)|(Let)|(Lib)|(Like)|(Long)|(Loop)|(Me)|(Mod)|(Module)|(MustInherit)|(MustOverride)|(MyBase)|(MyClass)|(Namespace)|(Narrowing)|(New)|(Next)|(Not)|(Nothing)|(NotInheritable)|(NotOverridable)|(Object)|(Of)|(On)|(Operator)|(Option)|(Optional)|(Or)|(OrElse)|(Overloads)|(Overridable)|(Overrides)|(ParamArray)|(Partial)|(Private)|(Property)|(Protected)|(Public)|(RaiseEvent)|(ReadOnly)|(ReDim)|(REM)|(RemoveHandler)|(Resume)|(Return)|(SByte)|(Select)|(Set)|(Shadows)|(Shared)|(Short)|(Single)|(Static)|(Step)|(Stop)|(String)|(Structure)|(Sub)|(SyncLock)|(Then)|(Throw)|(To)|(True)|(Try)|(TryCast)|(TypeOf)|(Variant)|(Wend)|(UInteger)|(ULong)|(UShort)|(Until)|(Using)|(When)|(Where)|(While)|(Widening)|(With)|(WithEvents)|(WriteOnly)|(Xor)|(#Const)|(#Else)|(#ElseIf)|(#End)|(#If))\b" class="keyword" /> - </colors> - <colors language="CSharp"> - <color pattern="/\*(.|\n)+?\*/" class="comment" /> - <color pattern="\"[^"\r\n]*\"" class="literal" /> - <color pattern="//[^\r\n]*" class="comment" /> - <color pattern="\b((abstract)|(as)|(ascending)|(base)|(bool)|(break)|(by)|(byte)|(case)|(catch)|(char)|(checked)|(class)|(const)|(continue)|(decimal)|(default)|(delegate)|(descending)|(do)|(double)|(else)|(enum)|(equals)|(event)|(explicit)|(extern)|(false)|(finally)|(fixed)|(float)|(for)|(foreach)|(from)|(get)|(goto)|(group)|(if)|(implicit)|(in)|(int)|(interface)|(internal)|(into)|(is)|(join)|(let)|(lock)|(long)|(namespace)|(new)|(null)|(object)|(operator)|(on)|(orderby)|(out)|(override)|(params)|(partial)|(private)|(protected)|(public)|(readonly)|(ref)|(return)|(sbyte)|(sealed)|(select)|(set)|(short)|(sizeof)|(stackalloc)|(static)|(string)|(struct)|(switch)|(this)|(throw)|(true)|(try)|(typeof)|(uint)|(ulong)|(unchecked)|(unsafe)|(ushort)|(using)|(value)|(var)|(vield)|(virtual)|(volatile)|(void)|(where)|(while))\b" class="keyword" /> - </colors> - <colors language="ManagedCPlusPlus"> - <color pattern="/\*(.|\n)+?\*/" class="comment" /> - <color pattern="\"[^"\r\n]*\"" class="literal" /> - <color pattern="//[^\r\n]*" class="comment" /> - <color pattern="\b((abstract)|(array)|(bool)|(break)|(case)|(catch)|(char)|(class)|(const)|(continue)|(default)|(delegate)|(delete)|(deprecated)|(dllexport)|(dllimport)|(do)|(double)|(else)|(enum)|(event)|(explicit)|(extern)|(false)|(finally)|(float)|(for)|(friend)|(gcnew)|(generic)|(goto)|(if)|(initonly)|(inline)|(int)|(interface)|(literal)|(long)|(mutable)|(naked)|(namespace)|(new)|(noinline)|(noreturn)|(nothrow)|(novtable)|(nullptr)|(operator)|(private)|(property)|(protected)|(public)|(ref)|(register)|(return)|(safecast)|(sealed)|(selectany)|(short)|(signed)|(sizeof)|(static)|(struct)|(switch)|(template)|(this)|(thread)|(throw)|(true)|(try)|(typedef)|(typeid)|(typename)|(union)|(unsigned)|(using)|(uuid)|(value)|(virtual)|(void)|(volatile)|(while))\b" class="keyword" /> - </colors> + <!-- Resolve code snippets --> + <component type="Microsoft.Ddue.Tools.SnippetComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <examples> + <example directory="d:\SnippetComponentTest\parsnip" /> + </examples> + <!-- Each excludedUnits/unitFolder node specifies the name of a folder to exclude at the unit-level of the sample tree. + The unit folders are typically named "CS", "VB", etc. + Many example folders have "CPP_OLD" unit folders containing snippets that we do NOT want to include in the build. --> + <excludedUnits> + <unitFolder name="CPP_OLD" /> + </excludedUnits> + <!-- You can specify an optional Parsnip approval log, in which case snippets are included only if they are in approved example units in the log. --> + <!-- TFS 480671 says DO NOT USE Parsnip approval logs for DevDiv content; ALL snippets should be included, regardless of Parsnip results. --> + <!-- + <approvalLogs> + <approvalLog file="\\docbuildtask\snippet_building\Orcas\parsnip\approved-all.xml" /> + </approvalLogs> + --> + + <!-- language nodes specify: + @unit: name of the unit folders in the sample tree that contain examples in this language + @languageId: id for this language used in Manifold transforms, etc. + optional color nodes to specify rules for coloring snippets in this language + The order of language nodes determines the order in which the snippets are displayed + --> + <languages> + <language unit="VB" languageId="VisualBasic" extension=".vb"> + <color pattern="^\s*'[^\r\n]*" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="\b((AddHandler)|(AddressOf)|(Alias)|(And)|(AndAlso)|(As)|(Boolean)|(ByRef)|(Byte)|(ByVal)|(Call)|(Case)|(Catch)|(CBool)|(CByte)|(CChar)|(CDate)|(CDec)|(CDbl)|(Char)|(CInt)|(Class)|(CLng)|(CObj)|(Const)|(Continue)|(CSByte)|(CShort)|(CSng)|(CStr)|(CType)|(CUInt)|(CULng)|(CUShort)|(Date)|(Decimal)|(Declare)|(Default)|(Delegate)|(Dim)|(DirectCast)|(Do)|(Double)|(Each)|(Else)|(ElseIf)|(End)|(EndIf)|(Enum)|(Erase)|(Error)|(Event)|(Exit)|(False)|(Finally)|(For)|(Friend)|(From)|(Function)|(Get)|(GetType)|(GetXMLNamespace)|(Global)|(GoSub)|(GoTo)|(Handles)|(If)|(Implements)|(Imports)|(In)|(Inherits)|(Integer)|(Interface)|(Is)|(IsNot)|(Let)|(Lib)|(Like)|(Long)|(Loop)|(Me)|(Mod)|(Module)|(MustInherit)|(MustOverride)|(MyBase)|(MyClass)|(Namespace)|(Narrowing)|(New)|(Next)|(Not)|(Nothing)|(NotInheritable)|(NotOverridable)|(Object)|(Of)|(On)|(Operator)|(Option)|(Optional)|(Or)|(OrElse)|(Overloads)|(Overridable)|(Overrides)|(ParamArray)|(Partial)|(Private)|(Property)|(Protected)|(Public)|(RaiseEvent)|(ReadOnly)|(ReDim)|(REM)|(RemoveHandler)|(Resume)|(Return)|(SByte)|(Select)|(Set)|(Shadows)|(Shared)|(Short)|(Single)|(Static)|(Step)|(Stop)|(String)|(Structure)|(Sub)|(SyncLock)|(Then)|(Throw)|(To)|(True)|(Try)|(TryCast)|(TypeOf)|(Variant)|(Wend)|(UInteger)|(ULong)|(UShort)|(Until)|(Using)|(When)|(Where)|(While)|(Widening)|(With)|(WithEvents)|(WriteOnly)|(Xor)|(#Const)|(#Else)|(#ElseIf)|(#End)|(#If))\b" class="keyword" /> + </language> + + <language unit="CS" languageId="CSharp" extension=".cs"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\b((abstract)|(as)|(ascending)|(base)|(bool)|(break)|(by)|(byte)|(case)|(catch)|(char)|(checked)|(class)|(const)|(continue)|(decimal)|(default)|(delegate)|(descending)|(do)|(double)|(else)|(enum)|(equals)|(event)|(explicit)|(extern)|(false)|(finally)|(fixed)|(float)|(for)|(foreach)|(from)|(get)|(goto)|(group)|(if)|(implicit)|(in)|(int)|(interface)|(internal)|(into)|(is)|(join)|(let)|(lock)|(long)|(namespace)|(new)|(null)|(object)|(operator)|(on)|(orderby)|(out)|(override)|(params)|(partial)|(private)|(protected)|(public)|(readonly)|(ref)|(return)|(sbyte)|(sealed)|(select)|(set)|(short)|(sizeof)|(stackalloc)|(static)|(string)|(struct)|(switch)|(this)|(throw)|(true)|(try)|(typeof)|(uint)|(ulong)|(unchecked)|(unsafe)|(ushort)|(using)|(value)|(var)|(yield)|(virtual)|(volatile)|(void)|(where)|(while))\b" class="keyword" /> + </language> + + <language unit="CPP" languageId="ManagedCPlusPlus" extension=".cpp"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\b((abstract)|(array)|(bool)|(break)|(case)|(catch)|(char)|(class)|(const)|(continue)|(default)|(delegate)|(delete)|(deprecated)|(dllexport)|(dllimport)|(do)|(double)|(else)|(enum)|(event)|(explicit)|(extern)|(false)|(finally)|(float)|(for)|(friend)|(gcnew)|(generic)|(goto)|(if)|(initonly)|(inline)|(int)|(interface)|(literal)|(long)|(mutable)|(naked)|(namespace)|(new)|(noinline)|(noreturn)|(nothrow)|(novtable)|(nullptr)|(operator)|(private)|(property)|(protected)|(public)|(ref)|(register)|(return)|(safecast)|(sealed)|(selectany)|(short)|(signed)|(sizeof)|(static)|(struct)|(switch)|(template)|(this)|(thread)|(throw)|(true)|(try)|(typedef)|(typeid)|(typename)|(union)|(unsigned)|(using)|(uuid)|(value)|(virtual)|(void)|(volatile)|(while))\b" class="keyword" /> + </language> + + <language unit="FS" languageId="FSharp" extension=".fs"> + <color pattern="\(\*(.|\n)+?\*\)" class="comment" />" + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\b((abstract)|(and)|(as)|(asr)|(assert)|(atomic)|(base)|(begin)|(break)|(checked)|(class)|(component)|(const)|(constraint)|(constructor)|(continue)|(default)|(delegate)|(do)|(done)|(downcast)|(downto)|(eager)|(elif)|(else)|(end)|(event)|(exception)|(extern)|(external)|(false)|(finally)|(fixed)|(for)|(fun)|(function)|(functor)|(global)|(if)|(in)|(include)|(inherit)|(inline)|(interface)|(internal)|(land)|(lazy)|(let)|(lor)|(lsl)|(lsr)|(lxor)|(match)|(member)|(method)|(mixin)|(mod)|(module)|(mutable)|(namespace)|(new)|(null)|(object)|(of)|(open)|(or)|(override)|(parallel)|(private)|(process)|(protected)|(public)|(pure)|(rec)|(return)|(sealed)|(sig)|(static)|(struct)|(tailcall)|(then)|(to)|(trait)|(true)|(try)|(type)|(upcast)|(use)|(val)|(virtual)|(void)|(volatile)|(when)|(while)|(with)|(yield))\b" class="keyword" /> + </language> + + <language unit="JS" languageId="JScript" /> + <language unit="JSL" languageId="JSharp" /> + <language unit="Common" languageId="None" /> + <language unit="XAML" languageId="XAML" /> + </languages> + </component> - <!-- Copy in topicTypes --> + <!-- Copy in topicTypes --> <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> <context prefix="xlink" name="http://www.w3.org/1999/xlink" /> @@ -92,15 +131,19 @@ <!-- transform --> <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> <transform file="%DXROOT%\Presentation\Vs2005\transforms\main_conceptual.xsl"> - <argument key="metadata" value="true" /> - <argument key="languages"> - <language label="VisualBasic" name="VisualBasic" style="vb" /> + <argument key="metadata" value="true" /> + <argument key="languages"> + <language label="VisualBasic" name="VisualBasic" style="vb" /> <language label="CSharp" name="CSharp" style="cs" /> <language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cpp" /> - <language label="JSharp" name="JSharp" style="cs" /> <language label="JScript" name="JScript" style="cs" /> + <language label="FSharp" name="FSharp" style="fs" /> </argument> - <argument key="RTMReleaseDate" value="June 2007" /> + <!-- You can use the optional changeHistoryOptions argument to control display of freshness date and Change History sections. + If value='showDefaultFreshnessDate', all topics have a freshness date; default date is from 'defaultFreshnessDate' shared content item. + if value='omit', freshness date and Change History sections are omitted from all topics. + <argument key="changeHistoryOptions" value="omit" /> + --> </transform> </component> diff --git a/tools/Sandcastle/Presentation/vs2005/configuration/reference-core-componentized.config b/tools/Sandcastle/Presentation/vs2005/configuration/reference-core-componentized.config new file mode 100644 index 0000000..8081189 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/configuration/reference-core-componentized.config @@ -0,0 +1,374 @@ +<configuration> + <dduetools> + <builder> + <context> + <namespace prefix="ddue" uri="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + </context> + <components> + + <!-- Create skeleton document --> + <component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <data file="%DXROOT%\Presentation\vs2005\transforms\skeleton.xml" /> + <copy source="/*" target="/" /> + </component> + + <!-- Copy in reflection data --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <index name="reflection" value="/reflection/apis/api" key="@id" cache="10"> + <data files=".\reflection.xml" /> + </index> + <copy name="reflection" source="*" target="/document/reference" missing-entry="error" missing-source="error" missing-target="error" /> + </component> + + <!-- Copy in container data --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" key="string(/document/reference/containers/namespace/@api)" source="*[not(local-name()='elements')]" target="/document/reference/containers/namespace" /> + </component> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/containers//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="topicdata|apidata|typedata|family|templates|attributes" target="/document/reference/containers//type[@api=$key]" missing-entry="error" missing-source="error" missing-target="error" /> + </component> + </components> + </component> + + <!-- Copy in type version data on memberlist topics --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" key="string(/document/reference/topicdata/@typeTopicId)" source="versions" target="/document/reference/topicdata" /> + </component> + + <!-- Copy in members version data for overload list topics --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" key="string(/document/reference[topicdata[@subgroup='overload']]/elements//element/@api)" source="versions" target="/document/reference[topicdata[@subgroup='overload']]/elements//element[@api=$key]" /> + </component> + + <!-- Copy in explicitInterfaceImplemented reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/implements/member/@api | /document/reference/implements//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/implements//*[@api=$key and not(apidata)]" /> + <copy name="reflection" source="templates" target="/document/reference/implements//*[@api=$key and not(apidata) and not(specialization)]" /> + </component> + </components> + </component> + + <!-- Copy in parameter data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/parameters/parameter//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/parameters/parameter//type[boolean(@api=$key) and not(apidata)]" /> + </component> + </components> + </component> + + <!-- Copy in return type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/returns//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/returns//type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Copy in event handler type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/eventhandler/type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/eventhandler/type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Generate syntax --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="/document/reference/topicdata/@group='api'" /> + <then> + <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <syntax input="/document/reference" output="/document/syntax" /> + <generators> + <generator name="VisualBasic" type="Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="VisualBasicUsage" type="Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="CSharp" type="Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="ManagedCPlusPlus" type="Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="JSharp" type="Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="JScript" type="Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator type="Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll"> + <!-- filter files specify xaml configuration info, e.g. to control the assemblies whose apis get xaml syntax --> + <filter files="%DXROOT%\Presentation\shared\configuration\xamlSyntax.config"/> + </generator> + <generator type="Microsoft.Ddue.Tools.AspNetSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + </generators> + </component> + </then> + </component> + + <!-- Copy in metadata attributes --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <index name="metadata" value="/metadata/topic" key="@id"> + <data files=".\SupportFiles\*Metadata.xml" /> + </index> + <index name="version" value="/metadata/topic" key="@id"> + <data files="Version.xml" /> + </index> + <copy name="metadata" source="*" target="/document/metadata" missing-target="error" /> + <copy name="metadata" key="string('*')" source="*" target="/document/metadata" missing-target="error" /> + <copy name="version" key="string('*')" source="*" target="/document/metadata" missing-target="error" /> + </component> + + <!-- Copy in metadata project settings --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <index name="projectSettings" value="/*/item" key="@id"> + <data files=".\ExtractedFiles\*projectsettings.xml" /> + </index> + <copy name="projectSettings" key="string('PBM_FileVersion')" source="." target="/document/metadata" /> + </component> + + <!-- Copy in comments --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <index name="comments" value="/doc/members/member" key="@name" cache="100"> + <data base=".\DdueXml" recurse="true" files="*.xml" /> + </index> + <copy name="comments" source="*" target="/document/comments" missing-target="error" /> + </component> + + <!-- Copy in comments of overidden member --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/comments/ddue:dduexml/ddue:useBase)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/overrides/member/@api)" source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:parameters|ddue:dduexml/ddue:returnValue" target="/document/comments/ddue:dduexml" /> + </component> + </then> + </component> + + <!-- Copy in comments of parent topics for inherited overload topics --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/topicdata/@parentTopicId)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/topicdata/@parentTopicId)" source="*" target="/document/comments" /> + </component> + </then> + </component> + + <!-- Copy in HowDoI tasks --> + <component type="Microsoft.Ddue.Tools.TaskGrabberComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5"/> + <keywords topic="/metadata/topic[keyword[@index='B']]" keyword="keyword[@index='B']" files=".\SupportFiles\HowDoIKeywords\*.xml"/> + <source value="/topic/ddue:developerHowToDocument" key="../@id"> + <data files=".\SupportFiles\HowDoIData\*.xml"/> + </source> + <copy source="ddue:title|ddue:introduction|ddue:codeExample" target="/document/comments/ddue:dduexml/ddue:codeExamples/ddue:codeExample/ddue:legacy/ddue:content/ddue:codeReference[starts-with(.,'HOWDOI#')]"/> + </component> + + <!-- Resolve code snippets --> + <component type="Microsoft.Ddue.Tools.ExampleComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <examples file="%DXROOT%\Data\CodeSnippet.xml" /> + <colors language="VisualBasic"> + <color pattern="^\s*'[^\r\n]*" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="\b((AddHandler)|(AddressOf)|(Alias)|(And)|(AndAlso)|(As)|(Boolean)|(ByRef)|(Byte)|(ByVal)|(Call)|(Case)|(Catch)|(CBool)|(CByte)|(CChar)|(CDate)|(CDec)|(CDbl)|(Char)|(CInt)|(Class)|(CLng)|(CObj)|(Const)|(Continue)|(CSByte)|(CShort)|(CSng)|(CStr)|(CType)|(CUInt)|(CULng)|(CUShort)|(Date)|(Decimal)|(Declare)|(Default)|(Delegate)|(Dim)|(DirectCast)|(Do)|(Double)|(Each)|(Else)|(ElseIf)|(End)|(EndIf)|(Enum)|(Erase)|(Error)|(Event)|(Exit)|(False)|(Finally)|(For)|(Friend)|(From)|(Function)|(Get)|(GetType)|(GetXMLNamespace)|(Global)|(GoSub)|(GoTo)|(Handles)|(If)|(Implements)|(Imports)|(In)|(Inherits)|(Integer)|(Interface)|(Is)|(IsNot)|(Let)|(Lib)|(Like)|(Long)|(Loop)|(Me)|(Mod)|(Module)|(MustInherit)|(MustOverride)|(MyBase)|(MyClass)|(Namespace)|(Narrowing)|(New)|(Next)|(Not)|(Nothing)|(NotInheritable)|(NotOverridable)|(Object)|(Of)|(On)|(Operator)|(Option)|(Optional)|(Or)|(OrElse)|(Overloads)|(Overridable)|(Overrides)|(ParamArray)|(Partial)|(Private)|(Property)|(Protected)|(Public)|(RaiseEvent)|(ReadOnly)|(ReDim)|(REM)|(RemoveHandler)|(Resume)|(Return)|(SByte)|(Select)|(Set)|(Shadows)|(Shared)|(Short)|(Single)|(Static)|(Step)|(Stop)|(String)|(Structure)|(Sub)|(SyncLock)|(Then)|(Throw)|(To)|(True)|(Try)|(TryCast)|(TypeOf)|(Variant)|(Wend)|(UInteger)|(ULong)|(UShort)|(Until)|(Using)|(When)|(Where)|(While)|(Widening)|(With)|(WithEvents)|(WriteOnly)|(Xor)|(#Const)|(#Else)|(#ElseIf)|(#End)|(#If))\b" class="keyword" /> + </colors> + <colors language="CSharp"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\b((abstract)|(as)|(ascending)|(base)|(bool)|(break)|(by)|(byte)|(case)|(catch)|(char)|(checked)|(class)|(const)|(continue)|(decimal)|(default)|(delegate)|(descending)|(do)|(double)|(else)|(enum)|(equals)|(event)|(explicit)|(extern)|(false)|(finally)|(fixed)|(float)|(for)|(foreach)|(from)|(get)|(goto)|(group)|(if)|(implicit)|(in)|(int)|(interface)|(internal)|(into)|(is)|(join)|(let)|(lock)|(long)|(namespace)|(new)|(null)|(object)|(operator)|(on)|(orderby)|(out)|(override)|(params)|(partial)|(private)|(protected)|(public)|(readonly)|(ref)|(return)|(sbyte)|(sealed)|(select)|(set)|(short)|(sizeof)|(stackalloc)|(static)|(string)|(struct)|(switch)|(this)|(throw)|(true)|(try)|(typeof)|(uint)|(ulong)|(unchecked)|(unsafe)|(ushort)|(using)|(value)|(var)|(vield)|(virtual)|(volatile)|(void)|(where)|(while))\b" class="keyword" /> + </colors> + <colors language="ManagedCPlusPlus"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\b((abstract)|(array)|(bool)|(break)|(case)|(catch)|(char)|(class)|(const)|(continue)|(default)|(delegate)|(delete)|(deprecated)|(dllexport)|(dllimport)|(do)|(double)|(else)|(enum)|(event)|(explicit)|(extern)|(false)|(finally)|(float)|(for)|(friend)|(gcnew)|(generic)|(goto)|(if)|(initonly)|(inline)|(int)|(interface)|(literal)|(long)|(mutable)|(naked)|(namespace)|(new)|(noinline)|(noreturn)|(nothrow)|(novtable)|(nullptr)|(operator)|(private)|(property)|(protected)|(public)|(ref)|(register)|(return)|(safecast)|(sealed)|(selectany)|(short)|(signed)|(sizeof)|(static)|(struct)|(switch)|(template)|(this)|(thread)|(throw)|(true)|(try)|(typedef)|(typeid)|(typename)|(union)|(unsigned)|(using)|(uuid)|(value)|(virtual)|(void)|(volatile)|(while))\b" class="keyword" /> + </colors> + </component> + + <!-- Copy in reflection data and comments for members --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/elements//element/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="not(/document/reference/elements//element[@api=$key]/apidata)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="*[not(self::elements)]" target="/document/reference/elements//element[@api=$key]" missing-entry="error" missing-source="error" missing-target="error" /> + </component> + </then> + </component> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/elements//element[@api=$key]/topicdata/@parentTopicId)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/elements//element[@api=$key]/topicdata/@parentTopicId)" source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" target="/document/reference/elements//element[@api=$key]" /> + </component> + </then> + </component> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" target="/document/reference/elements//element[@api=$key]" missing-target="error" /> + </component> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/elements//element[@api=$key]/ddue:useBase)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/elements//element[@api=$key]/overrides/member/@api)" source="ddue:dduexml/ddue:summary" target="/document/reference/elements//element[@api=$key]" /> + </component> + </then> + </component> + </components> + </component> + + <!-- Add platforms data --> + <component type="Microsoft.Ddue.Tools.PlatformsComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <!-- The order of filter files in this config determines the order of platforms in the output. --> + <filter files=".\SupportFiles\Platforms\WinVista.xml"/> + <filter files=".\SupportFiles\Platforms\WinXP.xml"/> + <filter files=".\SupportFiles\Platforms\WinXpMediaCenter.xml"/> + <filter files=".\SupportFiles\Platforms\WinXPPro64.xml"/> + <filter files=".\SupportFiles\Platforms\WinXPSE.xml"/> + <filter files=".\SupportFiles\Platforms\WinSvr2003.xml"/> + <filter files=".\SupportFiles\Platforms\WinSvr2000.xml"/> + <filter files=".\SupportFiles\Platforms\WinME.xml"/> + <filter files=".\SupportFiles\Platforms\Win98.xml"/> + <filter files=".\SupportFiles\Platforms\WindowsCE.xml"/> + <filter files=".\SupportFiles\Platforms\SmartPhone.xml"/> + <filter files=".\SupportFiles\Platforms\PocketPC.xml"/> + <filter files=".\SupportFiles\Platforms\Xbox360.xml"/> + </component> + + <!-- Copy in comments for a member list topic's declaring type. --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/topicdata[@group='list' and @subgroup!='overload'])" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/topicdata[@group='list' and @subgroup!='overload']/@typeTopicId)" + source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" + target="/document/reference/containers" /> + </component> + </then> + </component> + + <!-- Copy in comments for a member's declaring type. --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean((/document/reference/topicdata[@group='list' and @subgroup='overload']) | (/document/reference/apidata[@group='member']))" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/containers/type/@api)" + source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" + target="/document/reference/containers" /> + </component> + </then> + </component> + + <!-- resolve tokens --> + <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <content file="%DXROOT%\Data\tokens.xml" /> + <replace elements="/document//ddue:token" item="string(.)" /> + </component> + + <!-- Copy in topicTypes --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <context prefix="xlink" name="http://www.w3.org/1999/xlink" /> + <variable expression="/document/comments/ddue:relatedTopics/*/@xlink:href" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <context prefix="xlink" name="http://www.w3.org/1999/xlink" /> + <index name="topicType" value="/metadata/topic" key="@id"> + <data base="%DXROOT%\Data\ContentMetadata" recurse="true" files="*.contentmetadata.xml" /> + </index> + <copy name="topicType" source="topicType" target="/document/comments/ddue:relatedTopics/*[@xlink:href='{0}' and not(@topicType_id)]" attribute="true" ignoreCase="true" missing-target="error" /> + </component> + </components> + </component> + + <!-- transform --> + <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <transform file="%DXROOT%\Presentation\vs2005\transforms\main_reference.xsl"> + <argument key="metadata" value="true" /> + <argument key="languages"> + <language label="VisualBasic" name="VisualBasic" style="vb" /> + <language label="CSharp" name="CSharp" style="cs" /> + <language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cpp" /> + <language label="JSharp" name="JSharp" style="cs" /> + <language label="JScript" name="JScript" style="cs" /> + </argument> + <argument key="omitAptcaBoilerplate" value="false" /> + <argument key="RTMReleaseDate" value="June 2007" /> + </transform> + </component> + + <!-- resolve art links --> + <component type="Microsoft.Ddue.Tools.ResolveArtLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets input="%DXROOT%\Data\ArtStore" baseOutput=".\Output" outputPath="concat(/html/head/meta[@name='container']/@content,'\media')" link="../media" map="%DXROOT%\Data\ArtSharedContent.loc.xml" /> + </component> + + <!-- resolve shared content --> + <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <content file="%DXROOT%\Presentation\vs2005\content\shared_content.xml" /> + <content file="%DXROOT%\Presentation\Vs2005\content\feedBack_content.xml" /> + <content file="%DXROOT%\Presentation\vs2005\content\reference_content.xml" /> + <content file="%DXROOT%\Presentation\shared\content\syntax_content.xml" /> + </component> + + <!-- resolve conceptual links --> + <component type="Microsoft.Ddue.Tools.ResolveConceptualLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets base="%DXROOT%\Data\XmlComp" type="index"/> + </component> + + <!-- resolve reference links --> + <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets files=".\reflection.xml" type="LocalOrIndex" /> + </component> + +<!-- + <component type="Microsoft.Ddue.Tools.DisplayComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <xpath>/</xpath> + </component> +--> + + <!-- Write out intellisense --> + <component type="Microsoft.Ddue.Tools.IntellisenseComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <output directory=".\Intellisense" /> + <expressions root="/html/body/div[@id='mainSection']/div[@id='mainBody']" + assembly="string(span[@sdata='assembly'])" + summary="span[@sdata='authoredSummary']" + parameters="div[@id='syntaxSection']/div[@id='parameters']/dl" + parameterContent="dd/span[@sdata='authoredParameterSummary']" + templates="div[@id='syntaxSection']/div[@id='genericParameters']/dl" + templateContent="dd" + returns="div[@id='syntaxSection']/div[@id='returns']/span[@sdata='authoredValueSummary']" + exception="div[@id='ddueExceptionsSection']/div[@class='tableSection']/table/tr/td[2]" + exceptionCref="../td[1]/span[@sdata='cer']" + enumeration="div[@id='enumerationSection']/div[@id='membersSection']/table[@class='members']/tr/td[3]" + enumerationApi="../td[2]" + memberSummary="span[@sdata='memberAuthoredSummary']" /> + </component> + + <!-- save the result --> + <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <save base=".\Output" path="concat(/html/head/meta[@name='container']/@content,'\html\',/html/head/meta[@name='file']/@content,'.htm')" indent="true" omit-xml-declaration="true" /> + </component> + + <!-- record file creation events --> + <component type="Microsoft.Ddue.Tools.HxfGeneratorComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll" input="%DXROOT%\Presentation\vs2005\seed.HxF" output="test.HXF" /> + + </components> + </builder> + </dduetools> +</configuration> diff --git a/tools/Sandcastle/Presentation/vs2005/configuration/reference-core.config b/tools/Sandcastle/Presentation/vs2005/configuration/reference-core.config new file mode 100644 index 0000000..56a14dd --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/configuration/reference-core.config @@ -0,0 +1,373 @@ +<configuration> + <dduetools> + <builder> + <context> + <namespace prefix="ddue" uri="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + </context> + <components> + + <!-- Create skeleton document --> + <component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <data file="%DXROOT%\Presentation\vs2005\transforms\skeleton.xml" /> + <copy source="/*" target="/" /> + </component> + + <!-- Copy in reflection data --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <index name="reflection" value="/reflection/apis/api" key="@id" cache="10"> + <data files=".\reflection.xml" /> + </index> + <copy name="reflection" source="*" target="/document/reference" missing-entry="error" missng-source="error" missing-target="error" /> + </component> + + <!-- Copy in container data --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" key="string(/document/reference/containers/namespace/@api)" source="*[not(local-name()='elements')]" target="/document/reference/containers/namespace" /> + </component> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/containers//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="topicdata|apidata|typedata|family|templates|attributes" target="/document/reference/containers//type[@api=$key]" missing-entry="error" missing-source="error" missing-target="error" /> + </component> + </components> + </component> + + <!-- Copy in type version data on memberlist topics --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" key="string(/document/reference/topicdata/@typeTopicId)" source="versions" target="/document/reference/topicdata" /> + </component> + + <!-- Copy in members version data for overload list topics --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" key="string(/document/reference[topicdata[@subgroup='overload']]/elements//element/@api)" source="versions" target="/document/reference[topicdata[@subgroup='overload']]/elements//element[@api=$key]" /> + </component> + + <!-- Copy in explicitInterfaceImplemented reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/implements/member/@api | /document/reference/implements//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/implements//*[@api=$key and not(apidata)]" /> + <copy name="reflection" source="templates" target="/document/reference/implements//*[@api=$key and not(apidata) and not(specialization)]" /> + </component> + </components> + </component> + + <!-- Copy in parameter data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/parameters/parameter//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/parameters/parameter//type[boolean(@api=$key) and not(apidata)]" /> + </component> + </components> + </component> + + <!-- Copy in return type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/returns//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/returns//type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Copy in event handler type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/eventhandler/type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/eventhandler/type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Generate syntax --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="/document/reference/topicdata/@group='api'" /> + <then> + <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <syntax input="/document/reference" output="/document/syntax" /> + <generators> + <generator name="VisualBasic" type="Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="VisualBasicUsage" type="Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="CSharp" type="Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="ManagedCPlusPlus" type="Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="JSharp" type="Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator name="JScript" type="Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator type="Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll"> + <!-- filter files specify xaml configuration info, e.g. to control the assemblies whose apis get xaml syntax --> + <filter files="%DXROOT%\Presentation\shared\configuration\xamlSyntax.config"/> + </generator> + <generator type="Microsoft.Ddue.Tools.AspNetSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + </generators> + </component> + </then> + </component> + + <!-- Copy in metadata attributes --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <index name="metadata" value="/metadata/topic" key="@id"> + <data files=".\SupportFiles\*Metadata.xml" /> + </index> + <index name="version" value="/metadata/topic" key="@id"> + <data files="Version.xml" /> + </index> + <copy name="metadata" source="*" target="/document/metadata" missing-target="error" /> + <copy name="metadata" key="string('*')" source="*" target="/document/metadata" missing-target="error" /> + <copy name="version" key="string('*')" source="*" target="/document/metadata" missing-target="error" /> + </component> + + <!-- Copy in metadata project settings --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <index name="projectSettings" value="/*/item" key="@id"> + <data files=".\ExtractedFiles\*projectsettings.xml" /> + </index> + <copy name="projectSettings" key="string('PBM_FileVersion')" source="." target="/document/metadata" /> + </component> + + <!-- Copy in comments --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <index name="comments" value="/doc/members/member" key="@name" cache="100"> + <data base=".\DdueXml" recurse="true" files="*.xml" /> + </index> + <copy name="comments" source="*" target="/document/comments" missing-target="error" /> + </component> + + <!-- Copy in comments of overidden member --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/comments/ddue:dduexml/ddue:useBase)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/overrides/member/@api)" source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:parameters|ddue:dduexml/ddue:returnValue" target="/document/comments/ddue:dduexml" /> + </component> + </then> + </component> + + <!-- Copy in comments of parent topics for inherited overload topics --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/topicdata/@parentTopicId)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/topicdata/@parentTopicId)" source="*" target="/document/comments" /> + </component> + </then> + </component> + + <!-- Copy in HowDoI tasks --> + <component type="Microsoft.Ddue.Tools.TaskGrabberComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5"/> + <keywords topic="/metadata/topic[keyword[@index='B']]" keyword="keyword[@index='B']" files=".\SupportFiles\HowDoIKeywords\*.xml"/> + <source value="/topic/ddue:developerHowToDocument" key="../@id"> + <data files=".\SupportFiles\HowDoIData\*.xml"/> + </source> + <copy source="ddue:title|ddue:introduction|ddue:codeExample" target="/document/comments/ddue:dduexml/ddue:codeExamples/ddue:codeExample/ddue:legacy/ddue:content/ddue:codeReference[starts-with(.,'HOWDOI#')]"/> + </component> + + <!-- Resolve code snippets --> + <component type="Microsoft.Ddue.Tools.ExampleComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <examples file="%DXROOT%\Data\CodeSnippet.xml" /> + <colors language="VisualBasic"> + <color pattern="^\s*'[^\r\n]*" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="\b((AddHandler)|(AddressOf)|(Alias)|(And)|(AndAlso)|(As)|(Boolean)|(ByRef)|(Byte)|(ByVal)|(Call)|(Case)|(Catch)|(CBool)|(CByte)|(CChar)|(CDate)|(CDec)|(CDbl)|(Char)|(CInt)|(Class)|(CLng)|(CObj)|(Const)|(Continue)|(CSByte)|(CShort)|(CSng)|(CStr)|(CType)|(CUInt)|(CULng)|(CUShort)|(Date)|(Decimal)|(Declare)|(Default)|(Delegate)|(Dim)|(DirectCast)|(Do)|(Double)|(Each)|(Else)|(ElseIf)|(End)|(EndIf)|(Enum)|(Erase)|(Error)|(Event)|(Exit)|(False)|(Finally)|(For)|(Friend)|(From)|(Function)|(Get)|(GetType)|(GetXMLNamespace)|(Global)|(GoSub)|(GoTo)|(Handles)|(If)|(Implements)|(Imports)|(In)|(Inherits)|(Integer)|(Interface)|(Is)|(IsNot)|(Let)|(Lib)|(Like)|(Long)|(Loop)|(Me)|(Mod)|(Module)|(MustInherit)|(MustOverride)|(MyBase)|(MyClass)|(Namespace)|(Narrowing)|(New)|(Next)|(Not)|(Nothing)|(NotInheritable)|(NotOverridable)|(Object)|(Of)|(On)|(Operator)|(Option)|(Optional)|(Or)|(OrElse)|(Overloads)|(Overridable)|(Overrides)|(ParamArray)|(Partial)|(Private)|(Property)|(Protected)|(Public)|(RaiseEvent)|(ReadOnly)|(ReDim)|(REM)|(RemoveHandler)|(Resume)|(Return)|(SByte)|(Select)|(Set)|(Shadows)|(Shared)|(Short)|(Single)|(Static)|(Step)|(Stop)|(String)|(Structure)|(Sub)|(SyncLock)|(Then)|(Throw)|(To)|(True)|(Try)|(TryCast)|(TypeOf)|(Variant)|(Wend)|(UInteger)|(ULong)|(UShort)|(Until)|(Using)|(When)|(Where)|(While)|(Widening)|(With)|(WithEvents)|(WriteOnly)|(Xor)|(#Const)|(#Else)|(#ElseIf)|(#End)|(#If))\b" class="keyword" /> + </colors> + <colors language="CSharp"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\b((abstract)|(as)|(ascending)|(base)|(bool)|(break)|(by)|(byte)|(case)|(catch)|(char)|(checked)|(class)|(const)|(continue)|(decimal)|(default)|(delegate)|(descending)|(do)|(double)|(else)|(enum)|(equals)|(event)|(explicit)|(extern)|(false)|(finally)|(fixed)|(float)|(for)|(foreach)|(from)|(get)|(goto)|(group)|(if)|(implicit)|(in)|(int)|(interface)|(internal)|(into)|(is)|(join)|(let)|(lock)|(long)|(namespace)|(new)|(null)|(object)|(operator)|(on)|(orderby)|(out)|(override)|(params)|(partial)|(private)|(protected)|(public)|(readonly)|(ref)|(return)|(sbyte)|(sealed)|(select)|(set)|(short)|(sizeof)|(stackalloc)|(static)|(string)|(struct)|(switch)|(this)|(throw)|(true)|(try)|(typeof)|(uint)|(ulong)|(unchecked)|(unsafe)|(ushort)|(using)|(value)|(var)|(vield)|(virtual)|(volatile)|(void)|(where)|(while))\b" class="keyword" /> + </colors> + <colors language="ManagedCPlusPlus"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\b((abstract)|(array)|(bool)|(break)|(case)|(catch)|(char)|(class)|(const)|(continue)|(default)|(delegate)|(delete)|(deprecated)|(dllexport)|(dllimport)|(do)|(double)|(else)|(enum)|(event)|(explicit)|(extern)|(false)|(finally)|(float)|(for)|(friend)|(gcnew)|(generic)|(goto)|(if)|(initonly)|(inline)|(int)|(interface)|(literal)|(long)|(mutable)|(naked)|(namespace)|(new)|(noinline)|(noreturn)|(nothrow)|(novtable)|(nullptr)|(operator)|(private)|(property)|(protected)|(public)|(ref)|(register)|(return)|(safecast)|(sealed)|(selectany)|(short)|(signed)|(sizeof)|(static)|(struct)|(switch)|(template)|(this)|(thread)|(throw)|(true)|(try)|(typedef)|(typeid)|(typename)|(union)|(unsigned)|(using)|(uuid)|(value)|(virtual)|(void)|(volatile)|(while))\b" class="keyword" /> + </colors> + </component> + + <!-- Copy in reflection data and comments for members --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/elements//element/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="not(/document/reference/elements//element[@api=$key]/apidata)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="*[not(self::elements)]" target="/document/reference/elements//element[@api=$key]" missing-entry="error" missing-source="error" missing-target="error" /> + </component> + </then> + </component> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/elements//element[@api=$key]/topicdata/@parentTopicId)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/elements//element[@api=$key]/topicdata/@parentTopicId)" source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" target="/document/reference/elements//element[@api=$key]" /> + </component> + </then> + </component> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" target="/document/reference/elements//element[@api=$key]" missing-target="error" /> + </component> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/elements//element[@api=$key]/ddue:useBase)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/elements//element[@api=$key]/overrides/member/@api)" source="ddue:dduexml/ddue:summary" target="/document/reference/elements//element[@api=$key]" /> + </component> + </then> + </component> + </components> + </component> + + <!-- Add platforms data --> + <component type="Microsoft.Ddue.Tools.PlatformsComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <!-- The order of filter files in this config determines the order of platforms in the output. --> + <filter files=".\SupportFiles\Platforms\WinVista.xml"/> + <filter files=".\SupportFiles\Platforms\WinXP.xml"/> + <filter files=".\SupportFiles\Platforms\WinXpMediaCenter.xml"/> + <filter files=".\SupportFiles\Platforms\WinXPPro64.xml"/> + <filter files=".\SupportFiles\Platforms\WinXPSE.xml"/> + <filter files=".\SupportFiles\Platforms\WinSvr2003.xml"/> + <filter files=".\SupportFiles\Platforms\WinSvr2000.xml"/> + <filter files=".\SupportFiles\Platforms\WinME.xml"/> + <filter files=".\SupportFiles\Platforms\Win98.xml"/> + <filter files=".\SupportFiles\Platforms\WindowsCE.xml"/> + <filter files=".\SupportFiles\Platforms\SmartPhone.xml"/> + <filter files=".\SupportFiles\Platforms\PocketPC.xml"/> + <filter files=".\SupportFiles\Platforms\Xbox360.xml"/> + </component> + + <!-- Copy in comments for a member list topic's declaring type. --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/topicdata[@group='list' and @subgroup!='overload'])" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/topicdata[@group='list' and @subgroup!='overload']/@typeTopicId)" + source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" + target="/document/reference/containers" /> + </component> + </then> + </component> + + <!-- Copy in comments for a member's declaring type. --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean((/document/reference/topicdata[@group='list' and @subgroup='overload']) | (/document/reference/apidata[@group='member']))" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/containers/type/@api)" + source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" + target="/document/reference/containers" /> + </component> + </then> + </component> + + <!-- resolve tokens --> + <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <content file="%DXROOT%\Data\tokens.xml" /> + <replace elements="/document//ddue:token" item="string(.)" /> + </component> + + <!-- Copy in topicTypes --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <context prefix="xlink" name="http://www.w3.org/1999/xlink" /> + <variable expression="/document/comments/ddue:relatedTopics/*/@xlink:href" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <context prefix="xlink" name="http://www.w3.org/1999/xlink" /> + <index name="topicType" value="/metadata/topic" key="@id"> + <data base="%DXROOT%\Data\ContentMetadata" recurse="true" files="*.contentmetadata.xml" /> + </index> + <copy name="topicType" source="topicType" target="/document/comments/ddue:relatedTopics/*[@xlink:href='{0}' and not(@topicType_id)]" attribute="true" ignoreCase="true" missing-target="error" /> + </component> + </components> + </component> + + <!-- transform --> + <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <transform file="%DXROOT%\Presentation\vs2005\transforms\main_reference.xsl"> + <argument key="metadata" value="true" /> + <argument key="languages"> + <language label="VisualBasic" name="VisualBasic" style="vb" /> + <language label="CSharp" name="CSharp" style="cs" /> + <language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cpp" /> + <language label="JSharp" name="JSharp" style="cs" /> + <language label="JScript" name="JScript" style="cs" /> + </argument> + <argument key="omitAptcaBoilerplate" value="false" /> + <argument key="RTMReleaseDate" value="June 2007" /> + </transform> + </component> + + <!-- resolve art links --> + <component type="Microsoft.Ddue.Tools.ResolveArtLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets input="%DXROOT%\Data\ArtStore" baseOutput=".\Output" outputPath="media" link="../media" map="%DXROOT%\Data\ArtSharedContent.loc.xml" /> + </component> + + <!-- resolve shared content --> + <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <content file="%DXROOT%\Presentation\vs2005\content\shared_content.xml" /> + <content file="%DXROOT%\Presentation\Vs2005\content\feedBack_content.xml" /> + <content file="%DXROOT%\Presentation\vs2005\content\reference_content.xml" /> + <content file="%DXROOT%\Presentation\shared\content\syntax_content.xml" /> + </component> + + <!-- resolve conceptual links --> + <component type="Microsoft.Ddue.Tools.ResolveConceptualLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets base="%DXROOT%\Data\XmlComp" type="index"/> + </component> + + <!-- resolve reference links --> + <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets files=".\reflection.xml" type="local" /> + </component> +<!-- + <component type="Microsoft.Ddue.Tools.DisplayComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <xpath>/</xpath> + </component> + --> + + <!-- Write out intellisense --> + <component type="Microsoft.Ddue.Tools.IntellisenseComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <output directory=".\Intellisense" /> + <expressions root="/html/body/div[@id='mainSection']/div[@id='mainBody']" + assembly="string(span[@sdata='assembly'])" + summary="span[@sdata='authoredSummary']" + parameters="div[@id='syntaxSection']/div[@id='parameters']/dl" + parameterContent="dd/span[@sdata='authoredParameterSummary']" + templates="div[@id='syntaxSection']/div[@id='genericParameters']/dl" + templateContent="dd" + returns="div[@id='syntaxSection']/div[@id='returns']/span[@sdata='authoredValueSummary']" + exception="div[@id='ddueExceptionsSection']/div[@class='tableSection']/table/tr/td[2]" + exceptionCref="../td[1]/span[@sdata='cer']" + enumeration="div[@id='enumerationSection']/div[@id='membersSection']/table[@class='members']/tr/td[3]" + enumerationApi="../td[2]" + memberSummary="span[@sdata='memberAuthoredSummary']" /> + </component> + + <!-- save the result --> + <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <save base=".\Output\html" path="concat(/html/head/meta[@name='file']/@content,'.htm')" link="../html" indent="true" omit-xml-declaration="true" /> + </component> + + <!-- record file creation events --> + <component type="Microsoft.Ddue.Tools.HxfGeneratorComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll" input="%DXROOT%\Presentation\vs2005\seed.HxF" output="test.HxF" /> + + </components> + </builder> + </dduetools> +</configuration> diff --git a/tools/Sandcastle/Presentation/vs2005/configuration/reference.config b/tools/Sandcastle/Presentation/vs2005/configuration/reference.config new file mode 100644 index 0000000..775ec5b --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/configuration/reference.config @@ -0,0 +1,344 @@ +<configuration> + <dduetools> + <builder> + + <context> + <namespace prefix="ddue" uri="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + </context> + + <components> + + <!-- Create skeleton document --> + <component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <data file="%DXROOT%\Presentation\vs2005\transforms\skeleton.xml" /> + <copy source="/*" target="/" /> + </component> + + <!-- Copy in reflection data --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <index name="reflection" value="/reflection/apis/api" key="@id" cache="10"> + <data base="%DXROOT%\Data\Reflection" recurse="true" files="*.xml" /> + <data files=".\reflection.xml" /> + </index> + <copy name="reflection" source="*" target="/document/reference" /> + </component> + + <!-- Copy in container data --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" key="string(/document/reference/containers/namespace/@api)" source="*[not(local-name()='elements')]" target="/document/reference/containers/namespace" /> + </component> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/containers//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="topicdata|apidata|typedata|family|templates|attributes" target="/document/reference/containers//type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Copy in type version data on memberlist topics --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" key="string(/document/reference/topicdata/@typeTopicId)" source="versions" target="/document/reference/topicdata" /> + </component> + + <!-- Copy in members version data for overload list topics --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" key="string(/document/reference[topicdata[@subgroup='overload']]/elements//element/@api)" source="versions" target="/document/reference[topicdata[@subgroup='overload']]/elements//element[@api=$key]" /> + </component> + + <!-- Copy in explicitInterfaceImplemented reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/implements/member/@api | /document/reference/implements//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/implements//*[@api=$key and not(apidata)]" /> + <copy name="reflection" source="templates" target="/document/reference/implements//*[@api=$key and not(apidata) and not(specialization)]" /> + </component> + </components> + </component> + + <!-- Copy in parameter data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/parameters/parameter//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/parameters/parameter//type[boolean(@api=$key) and not(apidata)]" /> + </component> + </components> + </component> + + <!-- Copy in return type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/returns//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/returns//type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Copy in event handler type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/eventhandler/type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/eventhandler/type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Generate syntax --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="/document/reference/topicdata/@group='api'" /> + <then> + <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <syntax input="/document/reference" output="/document/syntax" /> + <generators> + <generator type="Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator type="Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator type="Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator type="Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator type="Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" /> + <generator type="Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll"> + <!-- filter files specify xaml configuration info, e.g. to control the assemblies whose apis get xaml syntax --> + <filter files="%DXROOT%\Presentation\shared\configuration\xamlSyntax.config"/> + </generator> + </generators> + </component> + </then> + </component> + + <!-- Copy in metadata attributes --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <index name="metadata" value="/metadata/topic" key="@id"> + <data files=".\SupportFiles\*Metadata.xml" /> + </index> + <index name="version" value="/metadata/topic" key="@id"> + <data files="Version.xml" /> + </index> + <copy name="metadata" source="*" target="/document/metadata" /> + <copy name="metadata" key="string('*')" source="*" target="/document/metadata" missing-target="error" /> + <copy name="version" key="string('*')" source="*" target="/document/metadata" missing-target="error" /> + </component> + + <!-- Copy in metadata project settings --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <index name="projectSettings" value="/*/item" key="@id"> + <data files=".\ExtractedFiles\*projectsettings.xml" /> + </index> + <copy name="projectSettings" key="string('PBM_FileVersion')" source="." target="/document/metadata" /> + </component> + + <!-- Copy in comments --> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <index name="comments" value="/doc/members/member" key="@name" cache="100"> + <data base="%DXROOT%\Data\DdueXml" recurse="true" files="*.xml" /> + <data base=".\DdueXml" recurse="true" files="*.xml" /> + </index> + <copy name="comments" source="*" target="/document/comments" /> + </component> + + <!-- Copy in comments of overidden member --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/comments/ddue:dduexml/ddue:useBase)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/overrides/member/@api)" source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:parameters|ddue:dduexml/ddue:returnValue" target="/document/comments/ddue:dduexml" /> + </component> + </then> + </component> + + <!-- Copy in comments of parent topics for inherited overload topics --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/topicdata/@parentTopicId)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/topicdata/@parentTopicId)" source="*" target="/document/comments" /> + </component> + </then> + </component> + + <!-- Resolve code snippets --> + <component type="Microsoft.Ddue.Tools.ExampleComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <examples file="%DXROOT%\Data\CodeSnippet.xml" /> + <colors language="VisualBasic"> + <color pattern="^\s*'[^\r\n]*" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="\b((AddHandler)|(AddressOf)|(Alias)|(And)|(AndAlso)|(As)|(Boolean)|(ByRef)|(Byte)|(ByVal)|(Call)|(Case)|(Catch)|(CBool)|(CByte)|(CChar)|(CDate)|(CDec)|(CDbl)|(Char)|(CInt)|(Class)|(CLng)|(CObj)|(Const)|(Continue)|(CSByte)|(CShort)|(CSng)|(CStr)|(CType)|(CUInt)|(CULng)|(CUShort)|(Date)|(Decimal)|(Declare)|(Default)|(Delegate)|(Dim)|(DirectCast)|(Do)|(Double)|(Each)|(Else)|(ElseIf)|(End)|(EndIf)|(Enum)|(Erase)|(Error)|(Event)|(Exit)|(False)|(Finally)|(For)|(Friend)|(From)|(Function)|(Get)|(GetType)|(GetXMLNamespace)|(Global)|(GoSub)|(GoTo)|(Handles)|(If)|(Implements)|(Imports)|(In)|(Inherits)|(Integer)|(Interface)|(Is)|(IsNot)|(Let)|(Lib)|(Like)|(Long)|(Loop)|(Me)|(Mod)|(Module)|(MustInherit)|(MustOverride)|(MyBase)|(MyClass)|(Namespace)|(Narrowing)|(New)|(Next)|(Not)|(Nothing)|(NotInheritable)|(NotOverridable)|(Object)|(Of)|(On)|(Operator)|(Option)|(Optional)|(Or)|(OrElse)|(Overloads)|(Overridable)|(Overrides)|(ParamArray)|(Partial)|(Private)|(Property)|(Protected)|(Public)|(RaiseEvent)|(ReadOnly)|(ReDim)|(REM)|(RemoveHandler)|(Resume)|(Return)|(SByte)|(Select)|(Set)|(Shadows)|(Shared)|(Short)|(Single)|(Static)|(Step)|(Stop)|(String)|(Structure)|(Sub)|(SyncLock)|(Then)|(Throw)|(To)|(True)|(Try)|(TryCast)|(TypeOf)|(Variant)|(Wend)|(UInteger)|(ULong)|(UShort)|(Until)|(Using)|(When)|(Where)|(While)|(Widening)|(With)|(WithEvents)|(WriteOnly)|(Xor)|(#Const)|(#Else)|(#ElseIf)|(#End)|(#If))\b" class="keyword" /> + + </colors> + <colors language="CSharp"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\b((abstract)|(as)|(ascending)|(base)|(bool)|(break)|(by)|(byte)|(case)|(catch)|(char)|(checked)|(class)|(const)|(continue)|(decimal)|(default)|(delegate)|(descending)|(do)|(double)|(else)|(enum)|(equals)|(event)|(explicit)|(extern)|(false)|(finally)|(fixed)|(float)|(for)|(foreach)|(from)|(get)|(goto)|(group)|(if)|(implicit)|(in)|(int)|(interface)|(internal)|(into)|(is)|(join)|(let)|(lock)|(long)|(namespace)|(new)|(null)|(object)|(operator)|(on)|(orderby)|(out)|(override)|(params)|(partial)|(private)|(protected)|(public)|(readonly)|(ref)|(return)|(sbyte)|(sealed)|(select)|(set)|(short)|(sizeof)|(stackalloc)|(static)|(string)|(struct)|(switch)|(this)|(throw)|(true)|(try)|(typeof)|(uint)|(ulong)|(unchecked)|(unsafe)|(ushort)|(using)|(value)|(var)|(vield)|(virtual)|(volatile)|(void)|(where)|(while))\b" class="keyword" /> + </colors> + <colors language="ManagedCPlusPlus"> + <color pattern="/\*(.|\n)+?\*/" class="comment" /> + <color pattern="\"[^"\r\n]*\"" class="literal" /> + <color pattern="//[^\r\n]*" class="comment" /> + <color pattern="\b((abstract)|(array)|(bool)|(break)|(case)|(catch)|(char)|(class)|(const)|(continue)|(default)|(delegate)|(delete)|(deprecated)|(dllexport)|(dllimport)|(do)|(double)|(else)|(enum)|(event)|(explicit)|(extern)|(false)|(finally)|(float)|(for)|(friend)|(gcnew)|(generic)|(goto)|(if)|(initonly)|(inline)|(int)|(interface)|(literal)|(long)|(mutable)|(naked)|(namespace)|(new)|(noinline)|(noreturn)|(nothrow)|(novtable)|(nullptr)|(operator)|(private)|(property)|(protected)|(public)|(ref)|(register)|(return)|(safecast)|(sealed)|(selectany)|(short)|(signed)|(sizeof)|(static)|(struct)|(switch)|(template)|(this)|(thread)|(throw)|(true)|(try)|(typedef)|(typeid)|(typename)|(union)|(unsigned)|(using)|(uuid)|(value)|(virtual)|(void)|(volatile)|(while))\b" class="keyword" /> + </colors> + </component> + + <!-- Copy in reflection data and comments for members --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/elements//element/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="not(/document/reference/elements//element[@api=$key]/apidata)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="*[not(self::elements)]" target="/document/reference/elements//element[@api=$key]" /> + </component> + </then> + </component> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/elements//element[@api=$key]/topicdata/@parentTopicId)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/elements//element[@api=$key]/topicdata/@parentTopicId)" source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" target="/document/reference/elements//element[@api=$key]" /> + </component> + </then> + </component> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" target="/document/reference/elements//element[@api=$key]" /> + </component> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/elements//element[@api=$key]/ddue:useBase)" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/elements//element[@api=$key]/overrides/member/@api)" source="ddue:dduexml/ddue:summary" target="/document/reference/elements//element[@api=$key]" /> + </component> + </then> + </component> + </components> + </component> + + <!-- Copy in comments for a member list topic's declaring type. --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean(/document/reference/topicdata[@group='list' and @subgroup!='overload'])" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/topicdata[@group='list' and @subgroup!='overload']/@typeTopicId)" + source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" + target="/document/reference/containers" /> + </component> + </then> + </component> + + <!-- Copy in comments for a member's declaring type. --> + <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <if condition="boolean((/document/reference/topicdata[@group='list' and @subgroup='overload']) | (/document/reference/apidata[@group='member']))" /> + <then> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <copy name="comments" key="string(/document/reference/containers/type/@api)" + source="ddue:dduexml/ddue:summary|ddue:dduexml/ddue:useBase|ddue:dduexml/ddue:obsoleteCodeEntity|ddue:dduexml/ddue:clsCompliantAlternative|ddue:dduexml/ddue:platformNotes|ddue:dduexml/ddue:internalOnly" + target="/document/reference/containers" /> + </component> + </then> + </component> + + <!-- resolve tokens --> + <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <content file="%DXROOT%\Data\tokens.xml" /> + <replace elements="/document//ddue:token" item="string(.)" /> + </component> + + <!-- Copy in topicTypes --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <context prefix="xlink" name="http://www.w3.org/1999/xlink" /> + <variable expression="/document/comments/ddue:relatedTopics/*/@xlink:href" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <context prefix="ddue" name="http://ddue.schemas.microsoft.com/authoring/2003/5" /> + <context prefix="xlink" name="http://www.w3.org/1999/xlink" /> + <index name="topicType" value="/metadata/topic" key="@id"> + <data base="%DXROOT%\Data\ContentMetadata" recurse="true" files="*.contentmetadata.xml" /> + </index> + <copy name="topicType" source="topicType" target="/document/comments/ddue:relatedTopics/*[@xlink:href='{0}' and not(@topicType_id)]" attribute="true" ignoreCase="true" missing-target="error" /> + </component> + </components> + </component> + + <!-- transform --> + <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <transform file="%DXROOT%\Presentation\vs2005\transforms\main_reference.xsl"> + <argument key="metadata" value="true" /> + <argument key="languages"> + <language label="VisualBasic" name="VisualBasic" style="vb" /> + <language label="CSharp" name="CSharp" style="cs" /> + <language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cpp" /> + <language label="JSharp" name="JSharp" style="cs" /> + <language label="JScript" name="JScript" style="cs" /> + </argument> + <argument key="omitAptcaBoilerplate" value="false" /> + <argument key="RTMReleaseDate" value="June 2007" /> + </transform> + </component> + + <!-- resolve art links --> + <component type="Microsoft.Ddue.Tools.ResolveArtLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets input="%DXROOT%\Data\ArtStore" baseOutput=".\Output" outputPath="media" link="../media" map="%DXROOT%\Data\ArtSharedContent.loc.xml" /> + </component> + + <!-- resolve shared content --> + <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <content file="%DXROOT%\Presentation\vs2005\content\shared_content.xml" /> + <content file="%DXROOT%\Presentation\Vs2005\content\feedBack_content.xml" /> + <content file="%DXROOT%\Presentation\vs2005\content\reference_content.xml" /> + <content file="%DXROOT%\Presentation\shared\content\syntax_content.xml" /> + </component> + + <!-- resolve conceptual links --> + <component type="Microsoft.Ddue.Tools.ResolveConceptualLinksComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <targets base="%DXROOT%\Data\XmlComp" type="index"/> + </component> + + <!-- resolve reference links --> + <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <!-- <targets base="%DXROOT%\Data\Reflection" recurse="true" files="*.xml" type="index" /> --> + <targets files=".\reflection.xml" type="local" /> + </component> + + <!-- Write out intellisense --> + <component type="Microsoft.Ddue.Tools.IntellisenseComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <output directory=".\Intellisense" /> + <expressions root="/html/body/div[@id='mainSection']/div[@id='mainBody']" + assembly="string(span[@sdata='assembly'])" + summary="span[@sdata='authoredSummary']" + parameters="div[@id='syntaxSection']/div[@id='parameters']/dl" + parameterContent="dd/span[@sdata='authoredParameterSummary']" + templates="div[@id='syntaxSection']/div[@id='genericParameters']/dl" + templateContent="dd" + returns="div[@id='syntaxSection']/div[@id='returns']/span[@sdata='authoredValueSummary']" + exception="div[@id='ddueExceptionsSection']/div[@class='tableSection']/table/tr/td[2]" + exceptionCref="../td[1]/span[@sdata='cer']" + enumeration="div[@id='enumerationSection']/div[@id='membersSection']/table[@class='members']/tr/td[3]" + enumerationApi="../td[2]" + memberSummary="span[@sdata='memberAuthoredSummary']" /> + </component> + + <!-- save the result --> + <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <save base=".\Output\html" path="concat(/html/head/meta[@name='file']/@content,'.htm')" link="../html" indent="true" omit-xml-declaration="true" /> + </component> + + <!-- record file creation events --> + <component type="Microsoft.Ddue.Tools.HxfGeneratorComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll" input="%DXROOT%\Presentation\vs2005\seed.HxF" output="test.HxF" /> + + </components> + </builder> + </dduetools> +</configuration> diff --git a/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-scbuild.config b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-scbuild.config index 3806422..0c5a7ff 100644 --- a/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-scbuild.config +++ b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-scbuild.config @@ -41,13 +41,55 @@ </components> </component> - <!-- Copy in parameter data --> - <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <!-- Copy in extension method template/type data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/elements//element[@source='extension']/templates//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/elements//element[@source='extension']/templates//type[boolean(@api=$key) and not(apidata)]" /> + <copy name="reflection" source="templates" target="/document/reference/elements//element[@source='extension']/templates//type[boolean(@api=$key) and not(apidata) and not(specialization)]" /> + </component> + </components> + </component> + + <!-- Copy in parameter data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> <variable expression="/document/reference/parameters/parameter//type/@api" /> <components> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> <copy name="reflection" source="apidata" target="/document/reference/parameters/parameter//type[boolean(@api=$key) and not(apidata)]" /> - </component> + </component> + </components> + </component> + + <!-- Copy in templates type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/templates//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/templates//type[@api=$key]" /> + <copy name="reflection" source="templates" target="/document/reference/templates//type[@api=$key and not(specialization)]" /> + </component> + </components> + </component> + + <!-- Copy in return type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/returns//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/returns//type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Copy in event handler type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/eventhandler/type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/eventhandler/type[@api=$key]" /> + </component> </components> </component> diff --git a/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-webref.config b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-webref.config index 9b278be..956c5a6 100644 --- a/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-webref.config +++ b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-webref.config @@ -41,13 +41,55 @@ </components> </component> - <!-- Copy in parameter data --> - <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <!-- Copy in extension method template/type data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/elements//element[@source='extension']/templates//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/elements//element[@source='extension']/templates//type[boolean(@api=$key) and not(apidata)]" /> + <copy name="reflection" source="templates" target="/document/reference/elements//element[@source='extension']/templates//type[boolean(@api=$key) and not(apidata) and not(specialization)]" /> + </component> + </components> + </component> + + <!-- Copy in parameter data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> <variable expression="/document/reference/parameters/parameter//type/@api" /> <components> - <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> <copy name="reflection" source="apidata" target="/document/reference/parameters/parameter//type[boolean(@api=$key) and not(apidata)]" /> - </component> + </component> + </components> + </component> + + <!-- Copy in templates type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/templates//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/templates//type[@api=$key]" /> + <copy name="reflection" source="templates" target="/document/reference/templates//type[@api=$key and not(specialization)]" /> + </component> + </components> + </component> + + <!-- Copy in return type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/returns//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/returns//type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Copy in event handler type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/eventhandler/type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/eventhandler/type[@api=$key]" /> + </component> </components> </component> diff --git a/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle.config b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle.config index cf7f08c..7d45cf8 100644 --- a/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle.config +++ b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle.config @@ -31,13 +31,24 @@ </components> </component> - <!-- Copy in explicitInterfaceImplemented reflection data --> + <!-- Copy in explicitInterfaceImplemented reflection data --> <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> <variable expression="/document/reference/implements/member/@api | /document/reference/implements//type/@api" /> <components> <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="reflection" source="apidata" target="/document/reference/implements//*[@api=$key and not(apidata)]" /> - <copy name="reflection" source="templates" target="/document/reference/implements//*[@api=$key and not(apidata) and not(specialization)]" /> + <copy name="reflection" source="apidata" target="/document/reference/implements//*[@api=$key and not(apidata)]" /> + <copy name="reflection" source="templates" target="/document/reference/implements//*[@api=$key and not(apidata) and not(specialization)]" /> + </component> + </components> + </component> + + <!-- Copy in extension method template/type data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/elements//element[@source='extension']/templates//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/elements//element[@source='extension']/templates//type[boolean(@api=$key) and not(apidata)]" /> + <copy name="reflection" source="templates" target="/document/reference/elements//element[@source='extension']/templates//type[boolean(@api=$key) and not(apidata) and not(specialization)]" /> </component> </components> </component> @@ -52,6 +63,37 @@ </components> </component> + <!-- Copy in templates type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/templates//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata" target="/document/reference/templates//type[@api=$key]" /> + <copy name="reflection" source="templates" target="/document/reference/templates//type[@api=$key and not(specialization)]" /> + </component> + </components> + </component> + + <!-- Copy in return type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/returns//type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/returns//type[@api=$key]" /> + </component> + </components> + </component> + + <!-- Copy in event handler type reflection data --> + <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <variable expression="/document/reference/eventhandler/type/@api" /> + <components> + <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> + <copy name="reflection" source="apidata|typedata|family|templates|containers|attributes" target="/document/reference/eventhandler/type[@api=$key]" /> + </component> + </components> + </component> + <!-- Generate syntax --> <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> <if condition="not(starts-with($key,'Overload:') or starts-with($key,'R:'))" /> @@ -75,14 +117,14 @@ <data files="%DocumentationFile%" /> </index> <copy name="comments" source="*" target="/document/comments" /> - <components> - <!-- copy comments for inheritdoc --> + <components> + <!-- copy comments for inheritdoc --> <component type="Microsoft.Ddue.Tools.InheritDocumentationComponent" assembly="%DXROOT%\ProductionTools\CopyComponents.dll"> - <copy name="comments" use="reflection"/> - </component> + <copy name="comments" use="reflection"/> + </component> </components> </component> - + <!-- Copy in reflection data and comments for members --> <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> <variable expression="/document/reference/elements//element/@api" /> @@ -96,33 +138,33 @@ </then> </component> <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="comments" source="summary|overloads|inheritdoc" target="/document/reference/elements//element[@api=$key]" /> - <components> - <!-- copy comments for inheritdoc --> - <component type="Microsoft.Ddue.Tools.InheritDocumentationComponent" assembly="%DXROOT%\ProductionTools\CopyComponents.dll"> - <copy name="comments" use="reflection"/> - </component> - </components> + <copy name="comments" source="summary|overloads|inheritdoc" target="/document/reference/elements//element[@api=$key]" /> + <components> + <!-- copy comments for inheritdoc --> + <component type="Microsoft.Ddue.Tools.InheritDocumentationComponent" assembly="%DXROOT%\ProductionTools\CopyComponents.dll"> + <copy name="comments" use="reflection"/> + </component> + </components> </component> </components> </component> - <!-- Copy in comments for the member's declaring type. --> + <!-- Copy in comments for the member's declaring type. --> <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> - <copy name="comments" key="string(/document/reference/containers/type/@api)" source="summary" target="/document/reference/containers" /> + <copy name="comments" key="string(/document/reference/containers/type/@api)" source="summary" target="/document/reference/containers" /> </component> <!-- transform --> <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll"> <transform file="%DXROOT%\Presentation\vs2005\Transforms\main_sandcastle.xsl"> <argument key="metadata" value="true" /> - <argument key="languages"> + <argument key="languages"> <language label="VisualBasic" name="VisualBasic" style="vb" /> <language label="CSharp" name="CSharp" style="cs" /> <language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cpp" /> - <!--<language label="JSharp" name="JSharp" style="cs" /> + <!--<language label="JSharp" name="JSharp" style="cs" /> <language label="JScript" name="JScript" style="cs" />--> - <language label="JavaScript" name="JavaScript" style="cs" /> + <language label="JavaScript" name="JavaScript" style="cs" /> </argument> </transform> </component> @@ -132,7 +174,7 @@ <content file="%DXROOT%\Presentation\vs2005\content\shared_content.xml" /> <content file="%DXROOT%\Presentation\vs2005\content\reference_content.xml" /> <content file="%DXROOT%\Presentation\shared\content\syntax_content.xml" /> - <content file="%DXROOT%\Presentation\vs2005\content\feedback_content.xml" /> + <content file="%DXROOT%\Presentation\vs2005\content\feedback_content.xml" /> </component> diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/conceptualMetadataHelp20.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/conceptualMetadataHelp20.xsl new file mode 100644 index 0000000..0cb6330 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/conceptualMetadataHelp20.xsl @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:MSHelp="http://msdn.microsoft.com/mshelp" + xmlns:mshelp="http://msdn.microsoft.com/mshelp" + xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" + xmlns:msxsl="urn:schemas-microsoft-com:xslt" + exclude-result-prefixes="msxsl" +> + + <xsl:template name="insertMetadata"> + <xsl:if test="$metadata='true'"> + <xml> + <!-- mshelp metadata --> + + <!-- insert toctitle --> + <xsl:if test="normalize-space(/document/metadata/tableOfContentsTitle) and (/document/metadata/tableOfContentsTitle != /document/metadata/title)"> + <MSHelp:TOCTitle Title="{/document/metadata/tableOfContentsTitle}" /> + </xsl:if> + + <!-- link index --> + <MSHelp:Keyword Index="A" Term="{$key}" /> + + <!-- authored K --> + <xsl:variable name="docset" select="translate(/document/metadata/attribute[@name='DocSet'][1]/text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz ')"/> + <xsl:for-each select="/document/metadata/keyword[@index='K']"> + <xsl:variable name="nestedKeywordText"> + <xsl:call-template name="nestedKeywordText"/> + </xsl:variable> + <xsl:choose> + <xsl:when test="not(contains(text(),'[')) and ($docset='avalon' or $docset='wpf' or $docset='wcf' or $docset='windowsforms')"> + <MSHelp:Keyword Index="K"> + <includeAttribute name="Term" item="kIndexTermWithTechQualifier"> + <parameter> + <xsl:value-of select="text()"/> + </parameter> + <parameter> + <xsl:value-of select="$docset"/> + </parameter> + <parameter> + <xsl:value-of select="$nestedKeywordText"/> + </parameter> + </includeAttribute> + </MSHelp:Keyword> + </xsl:when> + <xsl:otherwise> + <MSHelp:Keyword Index="K" Term="{concat(text(),$nestedKeywordText)}" /> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + + <!-- authored S --> + <xsl:for-each select="/document/metadata/keyword[@index='S']"> + <MSHelp:Keyword Index="S"> + <xsl:attribute name="Term"> + <xsl:value-of select="text()" /> + <xsl:for-each select="keyword[@index='S']"> + <xsl:text>, </xsl:text> + <xsl:value-of select="text()"/> + </xsl:for-each> + </xsl:attribute> + </MSHelp:Keyword> + <!-- S index keywords need to be converted to F index keywords --> + <MSHelp:Keyword Index="F"> + <xsl:attribute name="Term"> + <xsl:value-of select="text()" /> + <xsl:for-each select="keyword[@index='S']"> + <xsl:text>, </xsl:text> + <xsl:value-of select="text()"/> + </xsl:for-each> + </xsl:attribute> + </MSHelp:Keyword> + </xsl:for-each> + + <!-- authored F --> + <xsl:for-each select="/document/metadata/keyword[@index='F']"> + <MSHelp:Keyword Index="F"> + <xsl:attribute name="Term"> + <xsl:value-of select="text()" /> + <xsl:for-each select="keyword[@index='F']"> + <xsl:text>, </xsl:text> + <xsl:value-of select="text()"/> + </xsl:for-each> + </xsl:attribute> + </MSHelp:Keyword> + </xsl:for-each> + + <!-- authored B --> + <xsl:for-each select="/document/metadata/keyword[@index='B']"> + <MSHelp:Keyword Index="B"> + <xsl:attribute name="Term"> + <xsl:value-of select="text()" /> + <xsl:for-each select="keyword[@index='B']"> + <xsl:text>, </xsl:text> + <xsl:value-of select="text()"/> + </xsl:for-each> + </xsl:attribute> + </MSHelp:Keyword> + </xsl:for-each> + + <!-- Topic version --> + <MSHelp:Attr Name="RevisionNumber" Value="{/document/topic/@revisionNumber}" /> + + <!-- Asset ID --> + <MSHelp:Attr Name="AssetID" Value="{/document/topic/@id}" /> + + <!-- Abstract --> + <xsl:variable name="abstract" select="string(/document/topic//ddue:para[1])" /> + <xsl:choose> + <xsl:when test="string-length($abstract) > 254"> + <MSHelp:Attr Name="Abstract" Value="{concat(substring($abstract,1,250), ' ...')}" /> + </xsl:when> + <xsl:when test="string-length($abstract) > 0"> + <MSHelp:Attr Name="Abstract" Value="{$abstract}" /> + </xsl:when> + </xsl:choose> + + <!-- Autogenerate codeLang attributes based on the snippets --> + <xsl:call-template name="mshelpCodelangAttributes"> + <xsl:with-param name="snippets" select="/document/topic/*//ddue:snippets/ddue:snippet" /> + </xsl:call-template> + + <!-- authored attributes --> + <xsl:for-each select="/document/metadata/attribute"> + <MSHelp:Attr Name="{@name}" Value="{text()}" /> + </xsl:for-each> + + <!-- TopicType attribute --> + <xsl:for-each select="/document/topic/*[1]"> + <MSHelp:Attr Name="TopicType"> + <includeAttribute name="Value" item="TT_{local-name()}"/> + </MSHelp:Attr> + </xsl:for-each> + + <!-- Locale attribute --> + <MSHelp:Attr Name="Locale"> + <includeAttribute name="Value" item="locale"/> + </MSHelp:Attr> + + </xml> + </xsl:if> + </xsl:template> + +</xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/conceptualMetadataHelp30.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/conceptualMetadataHelp30.xsl new file mode 100644 index 0000000..54af982 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/conceptualMetadataHelp30.xsl @@ -0,0 +1,183 @@ +<?xml version="1.0" encoding="utf-8"?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" + xmlns:msxsl="urn:schemas-microsoft-com:xslt" + + exclude-result-prefixes="msxsl" +> + + <xsl:template name="insertKeywordsF1Metadata"> + + <!-- authored K --> + <xsl:variable name="docset" select="translate(/document/metadata/attribute[@name='DocSet'][1]/text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz ')"/> + <xsl:for-each select="/document/metadata/keyword[@index='K']"> + <xsl:variable name="nestedKeywordText"> + <xsl:call-template name="nestedKeywordText"/> + </xsl:variable> + <xsl:choose> + <xsl:when test="not(contains(text(),'[')) and ($docset='avalon' or $docset='wpf' or $docset='wcf' or $docset='windowsforms')"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="kIndexTermWithTechQualifier"> + <parameter> + <xsl:value-of select="text()"/> + </parameter> + <parameter> + <xsl:value-of select="$docset"/> + </parameter> + <parameter> + <xsl:value-of select="$nestedKeywordText"/> + </parameter> + </includeAttribute> + </meta> + </xsl:when> + <xsl:otherwise> + <meta name="System.Keywords" content="{concat(text(),$nestedKeywordText)}" /> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + + <!-- authored F --> + <xsl:for-each select="/document/metadata/keyword[@index='F']"> + <meta name="Microsoft.Help.F1"> + <xsl:attribute name="content"> + <xsl:value-of select="text()" /> + <xsl:for-each select="keyword[@index='F']"> + <xsl:text>, </xsl:text> + <xsl:value-of select="text()"/> + </xsl:for-each> + </xsl:attribute> + </meta> + </xsl:for-each> + + <!-- authored B --> + <xsl:for-each select="/document/metadata/keyword[@index='B']"> + <meta name="Microsoft.Help.F1"> + <xsl:attribute name="content"> + <xsl:value-of select="text()" /> + <xsl:for-each select="keyword[@index='B']"> + <xsl:text>, </xsl:text> + <xsl:value-of select="text()"/> + </xsl:for-each> + </xsl:attribute> + </meta> + </xsl:for-each> + + </xsl:template> + + <xsl:template name="insert30Metadata"> + + <!-- System.Language --> + <meta name="Language"> + <includeAttribute name="content" item="locale" /> + </meta> + + <!-- System.Title --> + <!-- <title> is set elsewhere (eg, main_conceptual.xsl, utilities_reference.xsl) --> + + <!-- System.Keywords --> + <xsl:call-template name="insertKeywordsF1Metadata" /> + + <!-- Microsoft.Help.Id --> + <meta name="Microsoft.Help.Id" content="{/document/topic/@id}" /> + + <!-- Microsoft.Help.Description --> + <xsl:variable name="abstract" select="string(/document/topic//ddue:para[1])" /> + <xsl:if test="$abstract"> + <meta name="Description"> + <xsl:attribute name="content"> + <xsl:call-template name="trimAtPeriod"> + <xsl:with-param name="string" select="$abstract" /> + </xsl:call-template> + </xsl:attribute> + </meta> + </xsl:if> + + <!-- Microsoft.Help.TocParent --> + <xsl:for-each select="/document/metadata/attribute[@name='TOCParent']"> + <meta name="Microsoft.Help.TocParent" content="{.}" /> + <meta name="Microsoft.Help.TocOrder" content="0" /> + </xsl:for-each> + + <!-- Microsoft.Help.Product --> + <!-- Added by MTPS --> + + <!-- Microsoft.Help.ProductVersion --> + <!-- Added by MTPS --> + + <!-- Microsoft.Help.Category --> + <xsl:for-each select="/document/metadata/attribute[@name='Category']"> + <meta name="Microsoft.Help.Category" content="{.}" /> + </xsl:for-each> + + <!-- Microsoft.Help.ContentFilter --> + <xsl:for-each select="/document/metadata/attribute[@name='ContentFilter']"> + <meta name="Microsoft.Help.ContentFilter" content="{.}" /> + </xsl:for-each> + + <!-- Microsoft.Help.ContentType --> + <xsl:variable name="contentTypeDocStudio"> + <xsl:variable name="lookupValue"> + <xsl:value-of select="local-name(/document/topic/*[1])"/> + </xsl:variable> + <xsl:value-of select="msxsl:node-set($topicTypes)/topic[@name = $lookupValue]/text()"/> + </xsl:variable> + + <xsl:variable name="contentTypeTopicType"> + <xsl:variable name="lookupValue"> + <xsl:value-of select="translate(/document/metadata/topicType/@id, + 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/> + </xsl:variable> + <xsl:value-of select="msxsl:node-set($topicTypes)/topic[@guid = $lookupValue]/text()"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$contentTypeDocStudio"> + <meta name="Microsoft.Help.ContentType" content="{$contentTypeDocStudio}" /> + </xsl:when> + <xsl:when test="$contentTypeTopicType"> + <meta name="Microsoft.Help.ContentType" content="{$contentTypeTopicType}" /> + </xsl:when> + </xsl:choose> + + <!-- Microsoft.Package.Book --> + <xsl:variable name="Book" select="/document/metadata/attribute[@name='Book']/text()" /> + <xsl:if test="$Book"> + <meta name="Microsoft.Package.Book" content="{$Book}" /> + </xsl:if> + + <!-- Source --> + <xsl:for-each select="/document/metadata/attribute[@name='Source']"> + <meta name="Source" content="{.}" /> + </xsl:for-each> + + </xsl:template> + + + <xsl:variable name="topicTypes"> + <topic guid="EF7DDB37-8ED3-4DFA-B38D-5A3CC1906034" name="">Concepts</topic> + <topic guid="1FE70836-AA7D-4515-B54B-E10C4B516E50" name="developerConceptualDocument">Concepts</topic> + <topic guid="B137C930-7BF7-48A2-A329-3ADCAEF8868E" name="developerOrientationDocument">Concepts</topic> + <topic guid="68F07632-C4C5-4645-8DFA-AC87DCB4BD54" name="developerSDKTechnologyOverviewArchitectureDocument">Concepts</topic> + <topic guid="CDB8C120-888F-447B-8AF8-F9540562E7CA" name="developerSDKTechnologyOverviewOrientationDocument">Concepts</topic> + <topic guid="356C57C4-384D-4AF2-A637-FDD6F088A033" name="developerSDKTechnologyOverviewScenariosDocument">Concepts</topic> + <topic guid="19F1BB0E-F32A-4D5F-80A9-211D92A8A715" name="developerSDKTechnologyOverviewTechnologySummaryDocument">Concepts</topic> + <topic guid="56DB00EC-28BA-4C0D-8694-28E8B244E236" name="developerWhitePaperDocument">Concepts</topic> + <topic guid="B137C930-7BF7-48A2-A329-3ADCAEF8868E" name="developerOrientationDocument">Concepts</topic> + + <topic guid="DAC3A6A0-C863-4E5B-8F65-79EFC6A4BA09" name="developerHowToDocument">How To</topic> + <topic guid="4779DD54-5D0C-4CC3-9DB3-BF1C90B721B3" name="developerWalkthroughDocument">How To</topic> + + <topic guid="A635375F-98C2-4241-94E7-E427B47C20B6" name="developerErrorMessageDocument">Reference</topic> + <topic guid="95DADC4C-A2A6-447A-AA36-B6BE3A4F8DEC" name="developerReferenceWithSyntaxDocument">Reference</topic> + <topic guid="F9205737-4DEC-4A58-AA69-0E621B1236BD" name="developerReferenceWithoutSyntaxDocument">Reference</topic> + <topic guid="38C8E0D1-D601-4DBA-AE1B-5BEC16CD9B01" name="developerTroubleshootingDocument">Reference</topic> + <topic guid="B8ED9F21-39A4-4967-928D-160CD2ED9DCE" name="developerUIReferenceDocument">Reference</topic> + <topic guid="3272D745-2FFC-48C4-9E9D-CF2B2B784D5F" name="developerXmlReference">Reference</topic> + <topic guid="A689E19C-2687-4881-8CE1-652FF60CF46C" name="developerGlossaryDocument">Reference</topic> + + <topic guid="069EFD88-412D-4E2F-8848-2D5C3AD56BDE" name="developerSampleDocument">Samples</topic> + <topic guid="4BBAAF90-0E5F-4C86-9D31-A5CAEE35A416" name="developerSDKTechnologyOverviewCodeDirectoryDocument">Samples</topic> + <topic guid="4A273212-0AC8-4D72-8349-EC11CD2FF8CD" name="">Samples</topic> + </xsl:variable> + +</xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/globalTemplates.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/globalTemplates.xsl index c008fa1..a6cde9a 100644 --- a/tools/Sandcastle/Presentation/vs2005/transforms/globalTemplates.xsl +++ b/tools/Sandcastle/Presentation/vs2005/transforms/globalTemplates.xsl @@ -175,7 +175,7 @@ <th> <xsl:variable name="codeLangLC" select="translate($codeLang,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz ')"/> <!-- Added JavaScript to look for AJAX snippets as JScript represents javascript snippets--> - <xsl:if test="$codeLangLC='visualbasic' or $codeLangLC='csharp' or $codeLangLC='managedcplusplus' or $codeLangLC='jsharp' or $codeLangLC='jscript' or $codeLangLC='javascript' or $codeLangLC='xaml'"> + <xsl:if test="$codeLangLC='visualbasic' or $codeLangLC='csharp' or $codeLangLC='managedcplusplus' or $codeLangLC='jsharp' or $codeLangLC='jscript' or $codeLangLC='javascript' or $codeLangLC='fsharp' "> <include item="{$codeLang}"/> </xsl:if> <xsl:text> </xsl:text> @@ -183,6 +183,7 @@ <th> <span class="copyCode" onclick="CopyCode(this)" onkeypress="CopyCode_CheckKey(this, event)" onmouseover="ChangeCopyCodeIcon(this)" onmouseout="ChangeCopyCodeIcon(this)" tabindex="0"> <img class="copyCodeImage" name="ccImage" align="absmiddle"> + <includeAttribute name="alt" item="copyImage" /> <includeAttribute name="title" item="copyImage" /> <includeAttribute name="src" item="iconPath"> <parameter>copycode.gif</parameter> @@ -203,11 +204,6 @@ </div> </xsl:template> - - <!-- sireeshm: fix bug 361746 - use copy-of, so that span class="keyword", "literal" and "comment" nodes are copied to preserve code colorization in snippets --> - <xsl:template match="ddue:span[@class='keyword' or @class='literal' or @class='comment']"> - <xsl:copy-of select="."/> - </xsl:template> <xsl:template name="nonScrollingRegionTypeLinks"> <include item="nonScrollingTypeLinkText"> @@ -289,5 +285,43 @@ <xsl:param name="codeLang" /> <MSHelp:Attr Name="codelang" Value="{$codeLang}" /> </xsl:template> - + + <xsl:template name="trimAtPeriod"> + <xsl:param name="string" /> + + <xsl:variable name="trimmedString" select="substring(normalize-space($string), 1, 256)" /> + <xsl:choose> + <xsl:when test="normalize-space($string) != $trimmedString"> + <xsl:choose> + <xsl:when test="not(contains($trimmedString, '.'))"> + <xsl:value-of select="$trimmedString"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="substringAndLastPeriod"> + <xsl:with-param name="string" select="$trimmedString" /> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="normalize-space($string)"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <xsl:template name="substringAndLastPeriod"> + <xsl:param name="string" /> + + <xsl:if test="contains($string, '.')"> + <xsl:variable name="after" select="substring-after($string, '.')" /> + <xsl:value-of select="concat(substring-before($string, '.'),'.')" /> + <xsl:if test="contains($after, '.')"> + <xsl:call-template name="substringAndLastPeriod"> + <xsl:with-param name="string" select="$after" /> + </xsl:call-template> + </xsl:if> + </xsl:if> + </xsl:template> + + </xsl:stylesheet>
\ No newline at end of file diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/htmlBody.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/htmlBody.xsl index 099857d..b12b082 100644 --- a/tools/Sandcastle/Presentation/vs2005/transforms/htmlBody.xsl +++ b/tools/Sandcastle/Presentation/vs2005/transforms/htmlBody.xsl @@ -110,27 +110,32 @@ <!--all members only --> <xsl:if test="$subgroup='members'"> - <xsl:if test="/document/reference/elements/element/apidata[@subgroup='constructor']"> + <xsl:if test="/document/reference/elements/element[apidata[@subgroup='constructor']][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]"> <!-- add a link to the member list section for this subgroup --> <xsl:call-template name="memberTableLink"> <xsl:with-param name="headerGroup">constructor</xsl:with-param> </xsl:call-template> </xsl:if> - - <!-- method subgroup includes operators --> - <xsl:if test="/document/reference/elements/element/apidata[@subgroup='method']"> + + <xsl:if test="/document/reference/elements/element[apidata[@subgroup='method']][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]"> <xsl:call-template name="memberTableLink"> <xsl:with-param name="headerGroup">method</xsl:with-param> </xsl:call-template> </xsl:if> - <xsl:if test="/document/reference/elements/element/apidata[@subgroup='field']"> + <xsl:if test="/document/reference/elements/element/apidata[@subsubgroup='operator']"> + <xsl:call-template name="memberTableLink"> + <xsl:with-param name="headerGroup">operator</xsl:with-param> + </xsl:call-template> + </xsl:if> + + <xsl:if test="/document/reference/elements/element[apidata[@subgroup='field']][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]"> <xsl:call-template name="memberTableLink"> <xsl:with-param name="headerGroup">field</xsl:with-param> </xsl:call-template> </xsl:if> - <xsl:if test="/document/reference/elements/element/apidata[@subgroup='property' and not(@subsubgroup)]"> + <xsl:if test="/document/reference/elements/element[apidata[@subgroup='property' and not(@subsubgroup)]][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]"> <xsl:call-template name="memberTableLink"> <xsl:with-param name="headerGroup">property</xsl:with-param> </xsl:call-template> @@ -142,7 +147,7 @@ </xsl:call-template> </xsl:if> - <xsl:if test="/document/reference/elements/element/apidata[@subgroup='event' and not(@subsubgroup)]"> + <xsl:if test="/document/reference/elements/element[apidata[@subgroup='event' and not(@subsubgroup)]][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]"> <xsl:call-template name="memberTableLink"> <xsl:with-param name="headerGroup">event</xsl:with-param> </xsl:call-template> @@ -203,7 +208,7 @@ <xsl:template name="bodyHeaderTopTable"> <xsl:variable name="showDevlangsFilter" select="boolean(($languages != 'false') and (count($languages/language) > 0))"/> <xsl:variable name="showMemberOptionsFilter" select="boolean($group='list' and $subgroup!='DerivedTypeList')"/> - <xsl:variable name="showMemberFrameworksFilter" select="boolean($group='list' and $subgroup!='DerivedTypeList' and /document/reference/elements//element/versions/versions)"/> + <xsl:variable name="showMemberFrameworksFilter" select="boolean($group='list' and $subgroup!='DerivedTypeList' and /document/reference/elements//element[count(versions/versions) > 1])"/> <table id="topTable" cellspacing="0" cellpadding="0"> <tr> <td> @@ -448,12 +453,14 @@ copyHoverImage - overview (not namespace); list (only overload lists ctor, metho <includeAttribute name="src" item="iconPath"> <parameter>collapse_all.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="collapseImage" /> <includeAttribute name="title" item="collapseImage" /> </img> <img id="expandImage" style="display:none; height:0; width:0;"> <includeAttribute name="src" item="iconPath"> <parameter>expand_all.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="expandImage" /> <includeAttribute name="title" item="expandImage" /> </img> <img id="collapseAllImage" style="display:none; height:0; width:0;"> @@ -480,12 +487,14 @@ copyHoverImage - overview (not namespace); list (only overload lists ctor, metho <includeAttribute name="src" item="iconPath"> <parameter>copycode.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="copyImage" /> <includeAttribute name="title" item="copyImage" /> </img> <img id="copyHoverImage" style="display:none; height:0; width:0;"> <includeAttribute name="src" item="iconPath"> <parameter>copycodeHighlight.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="copyHoverImage" /> <includeAttribute name="title" item="copyHoverImage" /> </img> diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/main_conceptual.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/main_conceptual.xsl index 40489b4..427d8be 100644 --- a/tools/Sandcastle/Presentation/vs2005/transforms/main_conceptual.xsl +++ b/tools/Sandcastle/Presentation/vs2005/transforms/main_conceptual.xsl @@ -9,10 +9,12 @@ <xsl:output method="xml" indent="no" encoding="utf-8" /> - <xsl:param name="RTMReleaseDate" /> + <xsl:param name="changeHistoryOptions" /> <xsl:include href="htmlBody.xsl" /> <xsl:include href="utilities_dduexml.xsl" /> <xsl:include href="seeAlsoSection.xsl" /> + <xsl:include href="conceptualMetadataHelp30.xsl"/> + <xsl:include href="conceptualMetadataHelp20.xsl"/> <xsl:variable name="hasSeeAlsoSection" select="boolean(count(/document/topic/*/ddue:relatedTopics/*[local-name()!='sampleRef']) > 0)"/> <xsl:variable name="examplesSection" select="boolean(string-length(/document/topic/*/ddue:codeExample[normalize-space(.)]) > 0)"/> @@ -33,9 +35,11 @@ <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"/> <META NAME="save" CONTENT="history"/> + <xsl:call-template name="insertNoIndexNoFollow" /> <title> <xsl:call-template name="topicTitlePlain"/> </title> + <xsl:call-template name="insert30Metadata" /> <xsl:call-template name="insertStylesheets" /> <xsl:call-template name="insertScripts" /> <xsl:call-template name="insertMetadata" /> @@ -49,6 +53,12 @@ <!-- document head --> + <xsl:template name="insertNoIndexNoFollow"> + <xsl:if test="/document/metadata/attribute[@name='NoSearch']"> + <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW" /> + </xsl:if> + </xsl:template> + <xsl:template name="insertStylesheets"> <link rel="stylesheet" type="text/css" href="../styles/presentation.css" /> <!-- make mshelp links work --> @@ -102,156 +112,6 @@ </xsl:template> - <xsl:template name="insertMetadata"> - <xsl:if test="$metadata='true'"> - <xml> - <!-- mshelp metadata --> - - <!-- insert toctitle --> - <xsl:if test="normalize-space(/document/metadata/tableOfContentsTitle) and (/document/metadata/tableOfContentsTitle != /document/metadata/title)"> - <MSHelp:TOCTitle Title="{/document/metadata/tableOfContentsTitle}" /> - </xsl:if> - - <!-- link index --> - <MSHelp:Keyword Index="A" Term="{$key}" /> - - <!-- authored K --> - <xsl:variable name="docset" select="translate(/document/metadata/attribute[@name='DocSet'][1]/text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz ')"/> - <xsl:for-each select="/document/metadata/keyword[@index='K']"> - <xsl:variable name="nestedKeywordText"> - <xsl:call-template name="nestedKeywordText"/> - </xsl:variable> - <xsl:choose> - <xsl:when test="not(contains(text(),'[')) and ($docset='avalon' or $docset='wpf' or $docset='wcf' or $docset='windowsforms')"> - <MSHelp:Keyword Index="K"> - <includeAttribute name="Term" item="kIndexTermWithTechQualifier"> - <parameter> - <xsl:value-of select="text()"/> - </parameter> - <parameter> - <xsl:value-of select="$docset"/> - </parameter> - <parameter> - <xsl:value-of select="$nestedKeywordText"/> - </parameter> - </includeAttribute> - </MSHelp:Keyword> - </xsl:when> - <xsl:otherwise> - <MSHelp:Keyword Index="K" Term="{concat(text(),$nestedKeywordText)}" /> - </xsl:otherwise> - </xsl:choose> - <!-- - <MSHelp:Keyword Index="K"> - <xsl:choose> - <xsl:when test="normalize-space($docset)='' or contains(text(),'[')"> - <xsl:attribute name="Term"> - <xsl:value-of select="concat(text(),$nestedKeywordText)"/> - </xsl:attribute> - </xsl:when> - <xsl:otherwise> - <includeAttribute name="Term" item="kIndexTermWithTechQualifier"> - <parameter><xsl:value-of select="text()"/></parameter> - <parameter><xsl:value-of select="$docset"/></parameter> - <parameter><xsl:value-of select="$nestedKeywordText"/></parameter> - </includeAttribute> - </xsl:otherwise> - </xsl:choose> - </MSHelp:Keyword> - --> - </xsl:for-each> - - <!-- authored S --> - <xsl:for-each select="/document/metadata/keyword[@index='S']"> - <MSHelp:Keyword Index="S"> - <xsl:attribute name="Term"> - <xsl:value-of select="text()" /> - <xsl:for-each select="keyword[@index='S']"> - <xsl:text>, </xsl:text> - <xsl:value-of select="text()"/> - </xsl:for-each> - </xsl:attribute> - </MSHelp:Keyword> - <!-- S index keywords need to be converted to F index keywords --> - <MSHelp:Keyword Index="F"> - <xsl:attribute name="Term"> - <xsl:value-of select="text()" /> - <xsl:for-each select="keyword[@index='S']"> - <xsl:text>, </xsl:text> - <xsl:value-of select="text()"/> - </xsl:for-each> - </xsl:attribute> - </MSHelp:Keyword> - </xsl:for-each> - - <!-- authored F --> - <xsl:for-each select="/document/metadata/keyword[@index='F']"> - <MSHelp:Keyword Index="F"> - <xsl:attribute name="Term"> - <xsl:value-of select="text()" /> - <xsl:for-each select="keyword[@index='F']"> - <xsl:text>, </xsl:text> - <xsl:value-of select="text()"/> - </xsl:for-each> - </xsl:attribute> - </MSHelp:Keyword> - </xsl:for-each> - - <!-- authored B --> - <xsl:for-each select="/document/metadata/keyword[@index='B']"> - <MSHelp:Keyword Index="B"> - <xsl:attribute name="Term"> - <xsl:value-of select="text()" /> - <xsl:for-each select="keyword[@index='B']"> - <xsl:text>, </xsl:text> - <xsl:value-of select="text()"/> - </xsl:for-each> - </xsl:attribute> - </MSHelp:Keyword> - </xsl:for-each> - - <!-- Topic version --> - <MSHelp:Attr Name="RevisionNumber" Value="{/document/topic/@revisionNumber}" /> - - <!-- Asset ID --> - <MSHelp:Attr Name="AssetID" Value="{/document/topic/@id}" /> - - <!-- Abstract --> - <xsl:variable name="abstract" select="string(/document/topic//ddue:para[1])" /> - <xsl:choose> - <xsl:when test="string-length($abstract) > 254"> - <MSHelp:Attr Name="Abstract" Value="{concat(substring($abstract,1,250), ' ...')}" /> - </xsl:when> - <xsl:when test="string-length($abstract) > 0"> - <MSHelp:Attr Name="Abstract" Value="{$abstract}" /> - </xsl:when> - </xsl:choose> - - <!-- Autogenerate codeLang attributes based on the snippets --> - <xsl:call-template name="mshelpCodelangAttributes"> - <xsl:with-param name="snippets" select="/document/topic/*//ddue:snippets/ddue:snippet" /> - </xsl:call-template> - - <!-- authored attributes --> - <xsl:for-each select="/document/metadata/attribute"> - <MSHelp:Attr Name="{@name}" Value="{text()}" /> - </xsl:for-each> - - <!-- TopicType attribute --> - <xsl:for-each select="/document/topic/*[1]"> - <MSHelp:Attr Name="TopicType"> - <includeAttribute name="Value" item="TT_{local-name()}"/> - </MSHelp:Attr> - </xsl:for-each> - - <!-- Locale attribute --> - <MSHelp:Attr Name="Locale"> - <includeAttribute name="Value" item="locale"/> - </MSHelp:Attr> - - </xml> - </xsl:if> - </xsl:template> <xsl:template name="nestedKeywordText"> <xsl:for-each select="keyword[@index='K']"> @@ -308,13 +168,14 @@ <xsl:template name="body"> <!-- freshness date --> <xsl:call-template name="writeFreshnessDate"> - <xsl:with-param name="ChangedHistoryDate" select="/document/topic/*//ddue:section[ddue:title = 'Change History']/ddue:content/ddue:table/ddue:row[1]/ddue:entry[1]"/> + <xsl:with-param name="ChangedHistoryDate" select="/document/topic/*//ddue:section[ddue:title = 'Change History']/ddue:content/ddue:table/ddue:row[1]/ddue:entry[1] | + /document/topic/*/ddue:changeHistory/ddue:content/ddue:table/ddue:row[1]/ddue:entry[1]" /> </xsl:call-template> <xsl:apply-templates select="topic" /> <!-- changed table section --> - <xsl:call-template name="writeChangedTable" /> + <xsl:call-template name="writeChangeHistorySection" /> </xsl:template> <!-- sections that behave differently in conceptual and reference --> @@ -344,13 +205,30 @@ <xsl:template match="ddue:returnValue"> <xsl:if test="normalize-space(.)"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'returnValue'"/> - <xsl:with-param name="title"><include item="returnValueTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <xsl:apply-templates /> - </xsl:with-param> - </xsl:call-template> + <xsl:choose> + <xsl:when test="(normalize-space(ddue:content)='') and ddue:sections/ddue:section[ddue:title='Property Value']"> + <xsl:call-template name="section"> + <xsl:with-param name="toggleSwitch" select="'returnValue'"/> + <xsl:with-param name="title"> + <include item="propertyValueTitle" /> + </xsl:with-param> + <xsl:with-param name="content"> + <xsl:apply-templates select="ddue:sections/ddue:section[ddue:title='Property Value']/*" /> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="section"> + <xsl:with-param name="toggleSwitch" select="'returnValue'"/> + <xsl:with-param name="title"> + <include item="returnValueTitle" /> + </xsl:with-param> + <xsl:with-param name="content"> + <xsl:apply-templates /> + </xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> </xsl:if> </xsl:template> @@ -431,6 +309,7 @@ <includeAttribute name="src" item="iconPath"> <parameter>footer.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="footerImage" /> <includeAttribute name="title" item="footerImage" /> </img> </div> @@ -500,7 +379,7 @@ <xsl:if test="starts-with($outlineType,'toplevel') and //ddue:relatedTopics[normalize-space(.)!='']"> <li> <A> - <xsl:attribute name="HREF">#seeAlsoSection</xsl:attribute> + <xsl:attribute name="HREF">#seeAlsoToggle</xsl:attribute> <include item="RelatedTopicsLinkText"/> </A> </li> @@ -523,12 +402,4 @@ </li> </xsl:template> - <xsl:template name="writeChangedTable"> - <xsl:if test="/document/topic/*//ddue:section/ddue:title = 'Change History' and (/document/topic/*//ddue:section[ddue:title = 'Change History']/ddue:content/ddue:table and /document/topic/*//ddue:section[ddue:title = 'Change History']/ddue:content/ddue:table/ddue:row/ddue:entry[normalize-space(.)])"> - <xsl:apply-templates select="/document/topic/*//ddue:section[ddue:title = 'Change History']"> - <xsl:with-param name="showChangedHistoryTable" select="true()" /> - </xsl:apply-templates> - </xsl:if> - </xsl:template> - </xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/main_reference.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/main_reference.xsl index 3ab926d..970ac6d 100644 --- a/tools/Sandcastle/Presentation/vs2005/transforms/main_reference.xsl +++ b/tools/Sandcastle/Presentation/vs2005/transforms/main_reference.xsl @@ -8,7 +8,9 @@ > <xsl:param name="omitAptcaBoilerplate"/> - <xsl:param name="RTMReleaseDate" /> + <xsl:param name="changeHistoryOptions" /> + <xsl:param name="omitXmlnsBoilerplate" select="'false'" /> + <xsl:param name="omitVersionInformation" select="'false'" /> <!-- stuff specific to comments authored in DDUEXML --> @@ -30,7 +32,7 @@ (count(/document/comments/ddue:dduexml/ddue:relatedTopics/*) > 0) or ($group='type' or $group='member' or $group='list') )"/> - <xsl:variable name="examplesSection" select="boolean(string-length(/document/comments/ddue:dduexml/ddue:codeExamples[normalize-space(.)]) > 0)"/> + <xsl:variable name="examplesSection" select="boolean(string-length(/document/comments/ddue:dduexml/ddue:codeExamples[normalize-space(.)]) > 0) and not($securityCriticalSection)"/> <xsl:variable name="languageFilterSection" select="boolean(string-length(/document/comments/ddue:dduexml/ddue:codeExamples[normalize-space(.)]) > 0)" /> <xsl:variable name="securityCriticalSection" select="boolean( @@ -55,7 +57,8 @@ <xsl:template name="body"> <!-- freshness date --> <xsl:call-template name="writeFreshnessDate"> - <xsl:with-param name="ChangedHistoryDate" select="/document/comments/ddue:dduexml//ddue:section[ddue:title = 'Change History']/ddue:content/ddue:table/ddue:row[1]/ddue:entry[1]"/> + <xsl:with-param name="ChangedHistoryDate" select="/document/comments/ddue:dduexml//ddue:section[ddue:title = 'Change History']/ddue:content/ddue:table/ddue:row[1]/ddue:entry[1] | + /document/comments/ddue:dduexml/ddue:changeHistory/ddue:content/ddue:table/ddue:row[1]/ddue:entry[1]"/> </xsl:call-template> <!--internalOnly boilerplate --> @@ -123,7 +126,7 @@ <xsl:if test="/document/reference/attributes/attribute/type[@api='T:System.FlagsAttribute']"> <p> <include item="flagsSummary"> - <parameter><referenceLink target="{/document/reference/attributes/attribute/type/@api}" /></parameter> + <parameter><referenceLink target="T:System.FlagsAttribute" /></parameter> </include> </p> </xsl:if> @@ -200,7 +203,16 @@ </xsl:if> <!-- remarks --> <xsl:if test="not($group='namespace') and not($securityCriticalSection)"> - <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:remarks[1]" /> + <xsl:choose> + <xsl:when test="/document/comments/ddue:dduexml/ddue:remarks"> + <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:remarks" /> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="WriteRemarksSection"> + <xsl:with-param name="node" select="document/comments/ddue:dduexml" /> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> </xsl:if> <!-- example --> <xsl:if test="not($securityCriticalSection)"> @@ -226,7 +238,7 @@ <xsl:call-template name="seeAlsoSection"/> <!-- changed table section --> - <xsl:call-template name="writeChangedTable" /> + <xsl:call-template name="writeChangeHistorySection" /> </xsl:template> @@ -320,12 +332,19 @@ <xsl:with-param name="content"> <xsl:for-each select="template"> <xsl:variable name="parameterName" select="@name" /> + <xsl:variable name="contravariant"> + <xsl:if test="variance/@contravariant='true'"><include item="inKeyword"/></xsl:if> + </xsl:variable> + <xsl:variable name="covariant"> + <xsl:if test="variance/@covariant='true'"><include item="outKeyword" /></xsl:if> + </xsl:variable> <dl paramName="{$parameterName}"> <dt> - <span class="parameter"><xsl:value-of select="$parameterName"/></span> + <xsl:copy-of select="$contravariant"/><xsl:copy-of select="$covariant" /><span class="parameter"><xsl:value-of select="$parameterName"/></span> </dt> <dd> <xsl:apply-templates select="/document/comments/ddue:dduexml/ddue:genericParameters/ddue:genericParameter[string(ddue:parameterReference)=$parameterName]/ddue:content" /> + <xsl:if test="variance"><p><xsl:if test="variance/@contravariant='true'"><include item="contravariant" /></xsl:if><xsl:if test="variance/@covariant='true'"><include item="covariant" /></xsl:if><include item="variance" /></p></xsl:if> </dd> </dl> </xsl:for-each> @@ -386,6 +405,11 @@ <div id="syntaxCodeBlocks" class="code"> <xsl:call-template name="syntaxBlocks" /> </div> + <xsl:apply-templates select="/document/syntax/div[@codeLanguage=XAML]"/> + + <!-- Show the authored XAML Values section, if any. --> + <xsl:call-template name="showXamlValuesSection"/> + <!-- parameters & return value --> <xsl:apply-templates select="/document/reference/templates" /> <xsl:apply-templates select="/document/reference/parameters" /> @@ -515,6 +539,7 @@ <includeAttribute name="src" item="iconPath"> <parameter>footer.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="footerImage" /> <includeAttribute name="title" item="footerImage" /> </img> </div> @@ -568,12 +593,4 @@ </xsl:if> </xsl:template> - <xsl:template name="writeChangedTable"> - <xsl:if test="/document/comments/ddue:dduexml//ddue:section/ddue:title = 'Change History' and (/document/comments/ddue:dduexml//ddue:section[ddue:title = 'Change History']/ddue:content/ddue:table and /document/comments/ddue:dduexml//ddue:section[ddue:title = 'Change History']/ddue:content/ddue:table/ddue:row/ddue:entry[normalize-space(.)])"> - <xsl:apply-templates select="/document/comments/ddue:dduexml//ddue:section[ddue:title = 'Change History']"> - <xsl:with-param name="showChangedHistoryTable" select="true()" /> - </xsl:apply-templates> - </xsl:if> - </xsl:template> - </xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/main_sandcastle.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/main_sandcastle.xsl index 79962ce..390b798 100644 --- a/tools/Sandcastle/Presentation/vs2005/transforms/main_sandcastle.xsl +++ b/tools/Sandcastle/Presentation/vs2005/transforms/main_sandcastle.xsl @@ -2,7 +2,7 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1"> <!-- stuff specified to comments authored in DDUEXML --> - + <xsl:param name="omitXmlnsBoilerplate" select="'false'" /> <xsl:include href="htmlBody.xsl"/> <xsl:include href="utilities_reference.xsl" /> @@ -597,6 +597,7 @@ <includeAttribute item="iconPath" name="src"> <parameter>alert_note.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="noteAltText" /> <includeAttribute name="title" item="noteAltText" /> </img> <xsl:text> </xsl:text> @@ -682,6 +683,7 @@ <includeAttribute name="src" item="iconPath"> <parameter>footer.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="footerImage" /> <includeAttribute name="title" item="footerImage" /> </img> </div> diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/utilities_metadata.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/metadataHelp20.xsl index 361c185..59fe84a 100644 --- a/tools/Sandcastle/Presentation/vs2005/transforms/utilities_metadata.xsl +++ b/tools/Sandcastle/Presentation/vs2005/transforms/metadataHelp20.xsl @@ -222,7 +222,7 @@ <MSHelp:Attr Name="APIName" Value="{$apiTypeName}" /> <xsl:choose> <xsl:when test="boolean($api-subgroup='delegate')"> - <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.ctor')}" /> + <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'..ctor')}" /> <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.','Invoke')}" /> <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.','BeginInvoke')}" /> <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.','EndInvoke')}" /> @@ -236,33 +236,38 @@ </xsl:choose> </xsl:when> <xsl:when test="$api-group='member'"> - <xsl:variable name="apiTypeName"> - <xsl:value-of select="concat(/document/reference/containers/namespace/apidata/@name,'.',/document/reference/containers/type/apidata/@name)" /> - <xsl:if test="count(/document/reference/templates/template) > 0"> - <xsl:value-of select="concat('`',count(/document/reference/templates/template))" /> - </xsl:if> - </xsl:variable> - <!-- Namespace + Type + Member --> - <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.',/document/reference/apidata/@name)}" /> + <xsl:variable name="namespace" select="/document/reference/containers/namespace/apidata/@name" /> + <xsl:variable name="type"> + <xsl:for-each select="/document/reference/containers/type[1]"> + <xsl:call-template name="typeNameWithTicks" /> + </xsl:for-each> + </xsl:variable> + <xsl:variable name="member" select="/document/reference/apidata/@name" /> + <!-- Namespace + Type + Member --> + <MSHelp:Attr Name="APIName" Value="{concat($namespace, '.', $type, '.', $member)}" /> <xsl:choose> <!-- for properties, add APIName attribute get/set accessor methods --> <xsl:when test="boolean($api-subgroup='property')"> <xsl:if test="/document/reference/propertydata[@get='true']"> - <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.get_',/document/reference/apidata/@name)}" /> + <MSHelp:Attr Name="APIName" Value="{concat($namespace, '.', $type, '.get_', $member)}" /> </xsl:if> <xsl:if test="/document/reference/propertydata[@set='true']"> - <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.set_',/document/reference/apidata/@name)}" /> + <MSHelp:Attr Name="APIName" Value="{concat($namespace, '.', $type, '.set_', $member)}" /> </xsl:if> </xsl:when> <!-- for events, add APIName attribute add/remove accessor methods --> <xsl:when test="boolean($api-subgroup='event')"> <xsl:if test="/document/reference/eventdata[@add='true']"> - <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.add_',/document/reference/apidata/@name)}" /> + <MSHelp:Attr Name="APIName" Value="{concat($namespace, '.', $type, '.add_', $member)}" /> </xsl:if> <xsl:if test="/document/reference/eventdata[@remove='true']"> - <MSHelp:Attr Name="APIName" Value="{concat($apiTypeName,'.remove_',/document/reference/apidata/@name)}" /> + <MSHelp:Attr Name="APIName" Value="{concat($namespace, '.', $type, '.remove_', $member)}" /> </xsl:if> </xsl:when> + <!-- for operators, add APIName attribute op accessor methods --> + <xsl:when test="boolean($api-subsubgroup='operator')"> + <MSHelp:Attr Name="APIName" Value="{concat($namespace, '.', $type, '.op_', $member)}" /> + </xsl:when> </xsl:choose> </xsl:when> </xsl:choose> @@ -620,6 +625,9 @@ <xsl:when test="$devlang = 'JSharp' or $devlang = 'j#' or $devlang = 'jsharp' or $devlang = 'VJ#'"> <xsl:text>VJ#</xsl:text> </xsl:when> + <xsl:when test="$devlang = 'FSharp' or $devlang = 'f#' or $devlang = 'fs' or $devlang = 'F#'" > + <xsl:text>FSharp</xsl:text> + </xsl:when> <xsl:when test="$devlang = 'xaml' or $devlang = 'XAML'"> <xsl:text>XAML</xsl:text> </xsl:when> @@ -773,6 +781,41 @@ <xsl:call-template name="textNames" /> </xsl:for-each> </xsl:variable> + <xsl:choose> + <xsl:when test="$topic-subgroup='Operators'"> + <xsl:variable name="operators" select="document/reference/elements/element[not(apidata[@name='Explicit' or @name='Implicit'])]"/> + <xsl:variable name="conversions" select="document/reference/elements/element[apidata[@name='Explicit' or @name='Implicit']]" /> + <xsl:variable name="entryType"> + <xsl:choose> + <!-- operators + type conversions --> + <xsl:when test="count($operators) > 0 and count($conversions) > 0"> + <xsl:value-of select="'operatorsAndTypeConversions'" /> + </xsl:when> + <!-- no operators + type conversions --> + <xsl:when test="not(count($operators) > 0) and count($conversions) > 0"> + <xsl:value-of select="'typeConversions'" /> + </xsl:when> + <!-- operators + no type conversions --> + <xsl:otherwise> + <xsl:value-of select="$topic-subgroup" /> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:for-each select="msxsl:node-set($names)/name"> + <MSHelp:Keyword Index="K"> + <includeAttribute name="Term" item="{$entryType}IndexEntry"> + <parameter> + <include item="{$api-subgroup}IndexEntry"> + <parameter> + <xsl:value-of select="." /> + </parameter> + </include> + </parameter> + </includeAttribute> + </MSHelp:Keyword> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> <xsl:for-each select="msxsl:node-set($names)/name"> <MSHelp:Keyword Index="K"> <includeAttribute name="Term" item="{$subgroup}IndexEntry"> @@ -786,6 +829,8 @@ </includeAttribute> </MSHelp:Keyword> </xsl:for-each> + </xsl:otherwise> + </xsl:choose> </xsl:when> <!-- constructor (or constructor overload) topics get unqualified sub-entries using the type names --> <xsl:when test="($topic-group='api' and $api-subgroup='constructor' and not(/document/reference/memberdata/@overload)) or ($topic-subgroup='overload' and $api-subgroup = 'constructor')"> @@ -823,10 +868,30 @@ </MSHelp:Keyword> </xsl:for-each> </xsl:when> + <!-- op_explicit and op_implicit members --> + <xsl:when test="$topic-group='api' and $api-subsubgroup='operator' and (document/reference/apidata/@name='Explicit' or document/reference/apidata/@name='Implicit')"> + <xsl:variable name="names"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="operatorTextNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:for-each select="msxsl:node-set($names)/name"> + <MSHelp:Keyword Index="K"> + <includeAttribute name="Term" item="conversionOperatorIndexEntry"> + <parameter> + <xsl:copy-of select="."/> + </parameter> + </includeAttribute> + </MSHelp:Keyword> + </xsl:for-each> + </xsl:when> <!-- other member (or overload) topics get qualified and unqualified entries using the member names --> <xsl:when test="($topic-group='api' and $api-group='member' and not(/document/reference/memberdata/@overload)) or $topic-subgroup='overload'"> <xsl:choose> + <!-- overload op_explicit and op_implicit topics --> + <xsl:when test="$api-subsubgroup='operator' and (document/reference/apidata/@name='Explicit' or document/reference/apidata/@name='Implicit')"> + </xsl:when> <!-- explicit interface implementation --> <xsl:when test="/document/reference/proceduredata/@virtual='true' and /document/reference/memberdata/@visibility='private'"> <xsl:variable name="entryType"> @@ -883,6 +948,9 @@ </xsl:when> <xsl:otherwise> <xsl:choose> + <xsl:when test="$api-subsubgroup='operator'"> + <xsl:value-of select="$api-subsubgroup"/> + </xsl:when> <xsl:when test="$subgroup='overload'"> <xsl:value-of select="/document/reference/apidata/@subgroup"/> </xsl:when> diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/metadataHelp30.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/metadataHelp30.xsl new file mode 100644 index 0000000..a5b7e77 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/metadataHelp30.xsl @@ -0,0 +1,589 @@ +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1" + xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:msxsl="urn:schemas-microsoft-com:xslt" + > + + <!-- <xsl:import href="../../shared/transforms/utilities_metadata.xsl" /> --> + + <xsl:template name="authoredMetadata30"> + + <xsl:for-each select="/document/metadata/keyword[@index='K']"> + <meta name="System.Keywords"> + <xsl:attribute name="content"> + <xsl:value-of select="text()" /> + <xsl:for-each select="keyword[@index='K']"> + <xsl:text>, </xsl:text> + <xsl:value-of select="text()"/> + </xsl:for-each> + </xsl:attribute> + </meta> + </xsl:for-each> + + <!-- authored F --> + <xsl:for-each select="/document/metadata/keyword[@index='F']"> + <meta name="Microsoft.Help.F1"> + <xsl:attribute name="content"> + <xsl:value-of select="text()" /> + <xsl:for-each select="keyword[@index='F']"> + <xsl:text>, </xsl:text> + <xsl:value-of select="text()"/> + </xsl:for-each> + </xsl:attribute> + </meta> + </xsl:for-each> + + <!-- authored B --> + <xsl:for-each select="/document/metadata/keyword[@index='B']"> + <meta name="Microsoft.Help.F1"> + <xsl:attribute name="content"> + <xsl:value-of select="text()" /> + <xsl:for-each select="keyword[@index='B']"> + <xsl:text>, </xsl:text> + <xsl:value-of select="text()"/> + </xsl:for-each> + </xsl:attribute> + </meta> + </xsl:for-each> + + </xsl:template> + + + + <xsl:template name="helpMetadata30"> + <!-- F keywords --> + <xsl:choose> + + <!-- namespace pages get the namespace keyword, if it exists --> + <xsl:when test="$group='namespace'"> + <xsl:variable name="namespace" select="/document/reference/apidata/@name" /> + <xsl:if test="$namespace != ''"> + <meta name="Microsoft.Help.F1" content="{$namespace}" /> + </xsl:if> + </xsl:when> + + <!-- type memberlist topics do NOT get F keywords --> + <xsl:when test="$group='list' and $subgroup='members'"/> + + <!-- type overview pages get namespace.type keywords --> + <xsl:when test="$group='type'"> + <xsl:variable name="namespace" select="/document/reference/containers/namespace/apidata/@name" /> + <xsl:variable name="type"> + <xsl:for-each select="/document/reference[1]"> + <xsl:call-template name="typeNameWithTicks" /> + </xsl:for-each> + </xsl:variable> + <xsl:choose> + <xsl:when test="$namespace=''"> + <meta name="Microsoft.Help.F1" content="{$type}" /> + </xsl:when> + <xsl:otherwise> + <meta name="Microsoft.Help.F1" content="{concat($namespace,'.',$type)}" /> + </xsl:otherwise> + </xsl:choose> + + <!-- for enums, write F1 keywords for each enum member --> + <xsl:if test="$subgroup = 'enumeration'"> + <xsl:for-each select="/document/reference/elements/element"> + <xsl:choose> + <xsl:when test="$namespace=''"> + <meta name="Microsoft.Help.F1" content="{concat($type, '.', apidata/@name)}" /> + </xsl:when> + <xsl:otherwise> + <meta name="Microsoft.Help.F1" content="{concat($namespace,'.',$type, '.', apidata/@name)}" /> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + </xsl:if> + + <!-- Insert additional F1 keywords to support XAML for class, struct, and enum topics in a set of namespaces. --> + <xsl:call-template name="xamlMSHelpFKeywords30"/> + </xsl:when> + + <!-- overload list pages get namespace.type.member keyword --> + <xsl:when test="$group='list' and $subgroup='overload'"> + <xsl:variable name="containingTypeId" select="/document/reference/containers/type[1]/@api" /> + <!-- do not write F1 keyword for overload list topics that contain only inherited members --> + <xsl:if test="/document/reference/elements//element/containers/type[1][@api=$containingTypeId]"> + <xsl:call-template name="memberF1KeywordsHelp30"/> + </xsl:if> + </xsl:when> + + + <!-- member pages --> + <xsl:when test="$group='member'"> + <xsl:choose> + <!-- no F1 help entries for overload signature topics --> + <xsl:when test="/document/reference/memberdata/@overload"/> + + <!-- no F1 help entries for explicit interface implementation members --> + <xsl:when test="/document/reference[memberdata[@visibility='private'] and proceduredata[@virtual = 'true']]"/> + + <!-- other member pages get namespace.type.member keywords --> + <xsl:otherwise> + <xsl:call-template name="memberF1KeywordsHelp30"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + + </xsl:choose> + </xsl:template> + + <xsl:template name="memberF1KeywordsHelp30"> + <xsl:variable name="namespace" select="/document/reference/containers/namespace/apidata/@name" /> + <xsl:variable name="type"> + <xsl:for-each select="/document/reference/containers/type[1]"> + <xsl:call-template name="typeNameWithTicks" /> + </xsl:for-each> + </xsl:variable> + <xsl:variable name="member"> + <xsl:choose> + <!-- if the member is a constructor, use "#ctor" as the member name --> + <xsl:when test="/document/reference/apidata[@subgroup='constructor']">#ctor</xsl:when> + <xsl:otherwise> + <xsl:value-of select="/document/reference/apidata/@name"/> + <!-- for generic members, include tick notation for number of generic template parameters. --> + <xsl:if test="/document/reference/templates/template"> + <xsl:text>``</xsl:text> + <xsl:value-of select="count(/document/reference/templates/template)"/> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:choose> + <xsl:when test="$namespace=''"> + <meta name="Microsoft.Help.F1" content="{concat($type, '.', $member)}" /> + </xsl:when> + <xsl:otherwise> + <meta name="Microsoft.Help.F1" content="{concat($namespace, '.', $type, '.', $member)}" /> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- + Insert additional F1 keywords for class, struct, and enum topics in a set of WPF namespaces. + The keyword prefixes and the WPF namespaces are hard-coded in variables. + --> +<!-- <xsl:variable name="var_wpf_f1index_prefix_1">http://schemas.microsoft.com/winfx/2006/xaml/presentation#</xsl:variable> + <xsl:variable name="var_wpf_f1index_prefix_1_namespaces">N:System.Windows.Controls#N:System.Windows.Documents#N:System.Windows.Shapes#N:System.Windows.Navigation#N:System.Windows.Data#N:System.Windows#N:System.Windows.Controls.Primitives#N:System.Windows.Media.Animation#N:System.Windows.Annotations#N:System.Windows.Annotations.Anchoring#N:System.Windows.Annotations.Storage#N:System.Windows.Media#N:System.Windows.Media.Animation#N:System.Windows.Media.Media3D#N:</xsl:variable> --> + + <xsl:template name="xamlMSHelpFKeywords30"> + <xsl:if test="$subgroup='class' or $subgroup='enumeration' or $subgroup='structure'"> + <xsl:if test="boolean(contains($var_wpf_f1index_prefix_1_namespaces, concat('#',/document/reference/containers/namespace/@api,'#')) + or starts-with($var_wpf_f1index_prefix_1_namespaces, concat(/document/reference/containers/namespace/@api,'#')))"> + <meta name="Microsoft.Help.F1" content="{concat($var_wpf_f1index_prefix_1, /document/reference/apidata/@name)}"/> + </xsl:if> + </xsl:if> + </xsl:template> + + <!-- Index Logic --> + + <xsl:template name="indexMetadata30"> + <xsl:choose> + <!-- namespace topics get one unqualified index entry --> + <xsl:when test="$topic-group='api' and $api-group='namespace'"> + <xsl:variable name="names"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="textNames" /> + </xsl:for-each> + </xsl:variable> + <meta name="System.Keywords"> + <includeAttribute name="content" item="namespaceIndexEntry"> + <parameter> + <xsl:value-of select="msxsl:node-set($names)/name" /> + </parameter> + </includeAttribute> + </meta> + </xsl:when> + <!-- type overview topics get qualified and unqualified index entries, and an about index entry --> + <xsl:when test="$topic-group='api' and $api-group='type'"> + <xsl:variable name="names"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="textNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:variable name="namespace" select="/document/reference/containers/namespace/apidata/@name" /> + <xsl:for-each select="msxsl:node-set($names)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="{$api-subgroup}IndexEntry"> + <parameter> + <xsl:copy-of select="."/> + </parameter> + </includeAttribute> + </meta> + <xsl:if test="boolean($namespace != '')"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="{$api-subgroup}IndexEntry"> + <parameter> + <xsl:value-of select="$namespace"/> + <xsl:text>.</xsl:text> + <xsl:copy-of select="." /> + </parameter> + </includeAttribute> + </meta> + </xsl:if> + <!-- multi-topic types (not delegates and enumerations) get about entries, too--> + <xsl:if test="$api-subgroup='class' or $api-subgroup='structure' or $api-subgroup='interface'"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="aboutTypeIndexEntry"> + <parameter> + <include item="{$api-subgroup}IndexEntry"> + <parameter> + <xsl:copy-of select="."/> + </parameter> + </include> + </parameter> + </includeAttribute> + </meta> + </xsl:if> + </xsl:for-each> + <!-- enumerations get the index entries for their members --> + <xsl:if test="$api-subgroup='enumeration'"> + <xsl:for-each select="/document/reference/elements/element"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="{$api-subgroup}MemberIndexEntry"> + <parameter> + <xsl:value-of select="apidata/@name" /> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + </xsl:if> + </xsl:when> + <!-- all member lists get unqualified entries, qualified entries, and unqualified sub-entries --> + <xsl:when test="$topic-group='list' and $topic-subgroup='members'"> + <xsl:variable name="namespace" select="/document/reference/containers/namespace/apidata/@name" /> + <xsl:variable name="names"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="textNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:for-each select="msxsl:node-set($names)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="{$api-subgroup}IndexEntry"> + <parameter> + <xsl:value-of select="." /> + </parameter> + </includeAttribute> + </meta> + <meta name="System.Keywords"> + <includeAttribute name="content" item="membersIndexEntry"> + <parameter> + <include item="{$api-subgroup}IndexEntry"> + <parameter> + <xsl:value-of select="." /> + </parameter> + </include> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + <xsl:variable name="qnames"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="qualifiedTextNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:if test="boolean($namespace != '')"> + <xsl:for-each select="msxsl:node-set($qnames)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="{$api-subgroup}IndexEntry"> + <parameter> + <xsl:value-of select="." /> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + </xsl:if> + </xsl:when> + <!-- other member list pages get unqualified sub-entries --> + <xsl:when test="$topic-group='list' and not($topic-subgroup = 'overload')"> + <xsl:variable name="names"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="textNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:choose> + <xsl:when test="$topic-subgroup='Operators'"> + <xsl:variable name="operators" select="document/reference/elements/element[not(apidata[@name='Explicit' or @name='Implicit'])]"/> + <xsl:variable name="conversions" select="document/reference/elements/element[apidata[@name='Explicit' or @name='Implicit']]" /> + <xsl:variable name="entryType"> + <xsl:choose> + <!-- operators + type conversions --> + <xsl:when test="count($operators) > 0 and count($conversions) > 0"> + <xsl:value-of select="'operatorsAndTypeConversions'" /> + </xsl:when> + <!-- no operators + type conversions --> + <xsl:when test="not(count($operators) > 0) and count($conversions) > 0"> + <xsl:value-of select="'typeConversions'" /> + </xsl:when> + <!-- operators + no type conversions --> + <xsl:otherwise> + <xsl:value-of select="$topic-subgroup" /> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:for-each select="msxsl:node-set($names)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="{$entryType}IndexEntry"> + <parameter> + <include item="{$api-subgroup}IndexEntry"> + <parameter> + <xsl:value-of select="." /> + </parameter> + </include> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:for-each select="msxsl:node-set($names)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="{$subgroup}IndexEntry"> + <parameter> + <include item="{$api-subgroup}IndexEntry"> + <parameter> + <xsl:value-of select="." /> + </parameter> + </include> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <!-- constructor (or constructor overload) topics get unqualified sub-entries using the type names --> + <xsl:when test="($topic-group='api' and $api-subgroup='constructor' and not(/document/reference/memberdata/@overload)) or ($topic-subgroup='overload' and $api-subgroup = 'constructor')"> + <xsl:variable name="typeSubgroup" select="/document/reference/containers/type/apidata/@subgroup" /> + <xsl:variable name="names"> + <xsl:for-each select="/document/reference/containers/type"> + <xsl:call-template name="textNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:for-each select="msxsl:node-set($names)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="constructorIndexEntry"> + <parameter> + <include item="{$typeSubgroup}IndexEntry"> + <parameter> + <xsl:value-of select="." /> + </parameter> + </include> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + <xsl:variable name="qnames"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="qualifiedTextNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:for-each select="msxsl:node-set($qnames)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="constructorTypeIndexEntry"> + <parameter> + <xsl:value-of select="." /> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + </xsl:when> + <!-- op_explicit and op_implicit members --> + <xsl:when test="$topic-group='api' and $api-subsubgroup='operator' and (document/reference/apidata/@name='Explicit' or document/reference/apidata/@name='Implicit')"> + <xsl:variable name="names"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="operatorTextNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:for-each select="msxsl:node-set($names)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="conversionOperatorIndexEntry"> + <parameter> + <xsl:copy-of select="."/> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + </xsl:when> + <!-- other member (or overload) topics get qualified and unqualified entries using the member names --> + <xsl:when test="($topic-group='api' and $api-group='member' and not(/document/reference/memberdata/@overload)) or $topic-subgroup='overload'"> + + <xsl:choose> + <!-- overload op_explicit and op_implicit topics --> + <xsl:when test="$api-subsubgroup='operator' and (document/reference/apidata/@name='Explicit' or document/reference/apidata/@name='Implicit')"> + </xsl:when> + <!-- explicit interface implementation --> + <xsl:when test="/document/reference/proceduredata/@virtual='true' and /document/reference/memberdata/@visibility='private'"> + <xsl:variable name="entryType"> + <xsl:choose> + <xsl:when test="string($subsubgroup)"> + <xsl:value-of select="$subsubgroup" /> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$subgroup='overload'"> + <xsl:value-of select="/document/reference/apidata/@subgroup"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$subgroup" /> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="names"> + <xsl:for-each select="/document/reference/implements/member"> + <xsl:call-template name="textNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:for-each select="msxsl:node-set($names)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="{$entryType}ExplicitIndexEntry"> + <parameter> + <xsl:copy-of select="."/> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + <xsl:variable name="qnames"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="qualifiedTextNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:for-each select="msxsl:node-set($qnames)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="{$entryType}ExplicitIndexEntry"> + <parameter> + <xsl:copy-of select="."/> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="entryType"> + <xsl:choose> + <xsl:when test="string($subsubgroup)"> + <xsl:value-of select="$subsubgroup" /> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$api-subsubgroup='operator'"> + <xsl:value-of select="$api-subsubgroup"/> + </xsl:when> + <xsl:when test="$subgroup='overload'"> + <xsl:value-of select="/document/reference/apidata/@subgroup"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$subgroup" /> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="names"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="textNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:for-each select="msxsl:node-set($names)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="{$entryType}IndexEntry"> + <parameter> + <xsl:copy-of select="."/> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + <xsl:variable name="qnames"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="qualifiedTextNames" /> + </xsl:for-each> + </xsl:variable> + <xsl:for-each select="msxsl:node-set($qnames)/name"> + <meta name="System.Keywords"> + <includeAttribute name="content" item="{$entryType}IndexEntry"> + <parameter> + <xsl:copy-of select="."/> + </parameter> + </includeAttribute> + </meta> + </xsl:for-each> + </xsl:otherwise> + </xsl:choose> + + </xsl:when> + <!-- derived type lists get unqualified sub-entries --> + </xsl:choose> + </xsl:template> + + <xsl:template name="insert30Metadata"> + + <!-- System.Language --> + <meta name="Language"> + <includeAttribute name="content" item="locale" /> + </meta> + + <!-- System.Title --> + <!-- <title> is set elsewhere (eg, main_conceptual.xsl, utilities_reference.xsl) --> + + <!-- System.Keywords --> + <!-- Microsoft.Help.F1 --> + <xsl:call-template name="indexMetadata30" /> + <xsl:call-template name="helpMetadata30" /> + <xsl:call-template name="authoredMetadata30" /> + + <!-- Microsoft.Help.Id --> + <meta name="Microsoft.Help.Id" content="{$key}" /> + + <!-- Microsoft.Help.Description --> + <xsl:if test="$abstractSummary"> + <meta name="Description"> + <xsl:attribute name="content"> + <xsl:call-template name="trimAtPeriod"> + <xsl:with-param name="string" select="$abstractSummary" /> + </xsl:call-template> + </xsl:attribute> + </meta> + </xsl:if> + + <!-- Microsoft.Help.TocParent --> + <xsl:for-each select="/document/metadata/attribute[@name='TOCParent']"> + <meta name="Microsoft.Help.TocParent" content="{.}" /> + <meta name="Microsoft.Help.TocOrder" content="0" /> + </xsl:for-each> + + <!-- Microsoft.Help.Product --> + <!-- Added by MTPS --> + + <!-- Microsoft.Help.ProductVersion --> + <!-- Added by MTPS --> + + <!-- Microsoft.Help.Category --> + <xsl:for-each select="/document/metadata/attribute[@name='Category']"> + <meta name="Microsoft.Help.Category" content="{.}" /> + </xsl:for-each> + + <!-- Microsoft.Help.ContentFilter --> + <xsl:for-each select="/document/metadata/attribute[@name='ContentFilter']"> + <meta name="Microsoft.Help.ContentFilter" content="{.}" /> + </xsl:for-each> + + <!-- Microsoft.Help.ContentType --> + <meta name="Microsoft.Help.ContentType" content="Reference" /> + + <!-- Microsoft.Package.Book --> + <xsl:variable name="Book" select="/document/metadata/attribute[@name='Book']/text()" /> + <xsl:if test="$Book"> + <meta name="Microsoft.Package.Book" content="{$Book}" /> + </xsl:if> + + + + </xsl:template> + + + +</xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/seeAlsoSection.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/seeAlsoSection.xsl index c94e4f0..f9a234f 100644 --- a/tools/Sandcastle/Presentation/vs2005/transforms/seeAlsoSection.xsl +++ b/tools/Sandcastle/Presentation/vs2005/transforms/seeAlsoSection.xsl @@ -47,6 +47,22 @@ else return RTMReleaseDate; } + public static string IsValidDate(string dateString) { + + CultureInfo culture = CultureInfo.InvariantCulture; + DateTime dt = DateTime.MinValue; + + try { + dt = DateTime.Parse(dateString, culture); + } + catch (FormatException) { + Console.WriteLine(string.Format("Error: IsValidDate: Unable to convert '{0}' for culture {1}.", dateString, culture.Name)); + return "false"; + } + + return "true"; + } + ]]> </msxsl:script> @@ -80,6 +96,7 @@ <xsl:template match="ddue:relatedTopics" mode="seeAlso"> <xsl:param name="autoGenerateLinks" select="'false'" /> + <!-- Tasks --> <xsl:if test="(ddue:link | ddue:legacyLink)[(ddue:ToUpper(@topicType_id) = $HowTo or ddue:ToUpper(@topicType_id) = $Walkthrough or ddue:ToUpper(@topicType_id) = $Sample or ddue:ToUpper(@topicType_id) = $Troubleshooting) and ddue:GuidChecker(@xlink:href) = 'True']" > <xsl:call-template name="seeAlsoSubSection"> <xsl:with-param name="headerGroup" select="'SeeAlsoTasks'" /> @@ -87,15 +104,8 @@ <xsl:with-param name="autoGenerateLinks" select="'false'" /> </xsl:call-template> </xsl:if> - - <xsl:if test="(ddue:link | ddue:legacyLink)[(ddue:ToUpper(@topicType_id) = $Conceptual or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewArchitecture or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewCodeDirectory or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewScenarios or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewTechnologySummary) and ddue:GuidChecker(@xlink:href) = 'True']"> - <xsl:call-template name="seeAlsoSubSection"> - <xsl:with-param name="headerGroup" select="'SeeAlsoConcepts'" /> - <xsl:with-param name="members" select="(ddue:link | ddue:legacyLink)[(ddue:ToUpper(@topicType_id) = $Conceptual or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewArchitecture or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewCodeDirectory or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewScenarios or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewTechnologySummary) and ddue:GuidChecker(@xlink:href) = 'True']" /> - <xsl:with-param name="autoGenerateLinks" select="'false'" /> - </xsl:call-template> - </xsl:if> - + + <!-- Reference --> <xsl:if test="(ddue:link | ddue:legacyLink)[((ddue:ToUpper(@topicType_id) = $ReferenceWithoutSyntax or ddue:ToUpper(@topicType_id) = $ReferenceWithSyntax or ddue:ToUpper(@topicType_id) = $XMLReference or ddue:ToUpper(@topicType_id) = $ErrorMessage or ddue:ToUpper(@topicType_id) = $UIReference) and ddue:GuidChecker(@xlink:href) = 'True') or ddue:GuidChecker(@xlink:href) = 'False'] | ddue:codeEntityReference or $autoGenerateLinks = 'true'"> @@ -107,6 +117,16 @@ </xsl:call-template> </xsl:if> + <!-- Concepts --> + <xsl:if test="(ddue:link | ddue:legacyLink)[(ddue:ToUpper(@topicType_id) = $Conceptual or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewArchitecture or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewCodeDirectory or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewScenarios or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewTechnologySummary) and ddue:GuidChecker(@xlink:href) = 'True']"> + <xsl:call-template name="seeAlsoSubSection"> + <xsl:with-param name="headerGroup" select="'SeeAlsoConcepts'" /> + <xsl:with-param name="members" select="(ddue:link | ddue:legacyLink)[(ddue:ToUpper(@topicType_id) = $Conceptual or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewArchitecture or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewCodeDirectory or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewScenarios or ddue:ToUpper(@topicType_id) = $SDKTechnologyOverviewTechnologySummary) and ddue:GuidChecker(@xlink:href) = 'True']" /> + <xsl:with-param name="autoGenerateLinks" select="'false'" /> + </xsl:call-template> + </xsl:if> + + <!-- Other Resources --> <xsl:if test="(ddue:link | ddue:legacyLink)[(ddue:ToUpper(@topicType_id) != $HowTo and ddue:ToUpper(@topicType_id) != $Walkthrough and ddue:ToUpper(@topicType_id) != $Sample and ddue:ToUpper(@topicType_id) != $Troubleshooting and ddue:ToUpper(@topicType_id) != $Conceptual and ddue:ToUpper(@topicType_id) != $SDKTechnologyOverviewArchitecture and ddue:ToUpper(@topicType_id) != $SDKTechnologyOverviewCodeDirectory and ddue:ToUpper(@topicType_id) != $SDKTechnologyOverviewScenarios and ddue:ToUpper(@topicType_id) != $SDKTechnologyOverviewTechnologySummary and ddue:ToUpper(@topicType_id) != $ReferenceWithoutSyntax and ddue:ToUpper(@topicType_id) != $ReferenceWithSyntax and ddue:ToUpper(@topicType_id) != $XMLReference and ddue:ToUpper(@topicType_id) != $ErrorMessage and ddue:ToUpper(@topicType_id) != $UIReference and ddue:GuidChecker(@xlink:href) = 'True') or (not(@topicType_id) and ddue:GuidChecker(@xlink:href) = 'True')] or diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/utilities_dduexml.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/utilities_dduexml.xsl index f26805e..40d4cbe 100644 --- a/tools/Sandcastle/Presentation/vs2005/transforms/utilities_dduexml.xsl +++ b/tools/Sandcastle/Presentation/vs2005/transforms/utilities_dduexml.xsl @@ -13,14 +13,16 @@ <!-- the Remarks section includes content from these nodes, excluding the xaml sections are captured in the xaml syntax processing --> <xsl:template name="HasRemarksContent"> + <xsl:param name="node" /> + <xsl:choose> <xsl:when test="/document/reference/attributes/attribute/type[@api='T:System.Security.Permissions.HostProtectionAttribute']">true</xsl:when> - <xsl:when test="normalize-space(ddue:content)">true</xsl:when> - <xsl:when test="normalize-space(../ddue:notesForImplementers)">true</xsl:when> - <xsl:when test="normalize-space(../ddue:notesForCallers)">true</xsl:when> - <xsl:when test="normalize-space(../ddue:notesForInheritors)">true</xsl:when> - <xsl:when test="normalize-space(../ddue:platformNotes)">true</xsl:when> - <xsl:when test="normalize-space(ddue:sections/ddue:section[not( + <xsl:when test="normalize-space($node/ddue:remarks/ddue:content)">true</xsl:when> + <xsl:when test="normalize-space($node/ddue:notesForImplementers)">true</xsl:when> + <xsl:when test="normalize-space($node/ddue:notesForCallers)">true</xsl:when> + <xsl:when test="normalize-space($node/ddue:notesForInheritors)">true</xsl:when> + <xsl:when test="normalize-space($node/ddue:platformNotes)">true</xsl:when> + <xsl:when test="normalize-space($node/ddue:remarks/ddue:sections/ddue:section[not( starts-with(@address,'xamlValues') or starts-with(@address,'xamlTextUsage') or starts-with(@address,'xamlAttributeUsage') or @@ -34,40 +36,10 @@ </xsl:template> <xsl:template match="ddue:remarks"> - <xsl:variable name="hasRemarks"> - <xsl:call-template name="HasRemarksContent"/> - </xsl:variable> - <xsl:if test="$hasRemarks='true'"> - <xsl:choose> - <xsl:when test="not($group = 'namespace')"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'remarks'"/> - <xsl:with-param name="title"><include item="remarksTitle" /></xsl:with-param> - <xsl:with-param name="content"> - <!-- HostProtectionAttribute --> - <xsl:if test="/document/reference/attributes/attribute/type[@api='T:System.Security.Permissions.HostProtectionAttribute']"> - <xsl:call-template name="hostProtectionContent" /> - </xsl:if> - <xsl:apply-templates /> - <xsl:apply-templates select="../ddue:notesForImplementers"/> - <xsl:apply-templates select="../ddue:notesForCallers"/> - <xsl:apply-templates select="../ddue:notesForInheritors"/> - <xsl:apply-templates select="../ddue:platformNotes"/> - <include item="mshelpKTable"> - <parameter> - <xsl:text>tt_</xsl:text> - <xsl:value-of select="$key"/> - </parameter> - </include> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates /> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:template> + <xsl:call-template name="WriteRemarksSection"> + <xsl:with-param name="node" select=".." /> + </xsl:call-template> + </xsl:template> <xsl:template match="ddue:codeExamples"> <xsl:if test="normalize-space(.)"> @@ -204,6 +176,10 @@ </xsl:for-each> </xsl:template> + <xsl:template match="ddue:platformNotes/ddue:platformNote/ddue:content/ddue:para"> + <xsl:apply-templates /> + </xsl:template> + <xsl:template match="ddue:schemaHierarchy"> <xsl:for-each select="ddue:link"> <xsl:call-template name="indent"> @@ -238,6 +214,9 @@ <xsl:when test="@language = 'js' or @language = 'jscript#' or @language = 'jscript' or @language = 'JScript'"> <xsl:text>JScript</xsl:text> </xsl:when> + <xsl:when test="@language = 'f#' or @language = 'fs' or @language = 'F#'" > + <xsl:text>FSharp</xsl:text> + </xsl:when> <xsl:when test="@language = 'xml'"> <xsl:text>xmlLang</xsl:text> </xsl:when> @@ -355,6 +334,9 @@ <xsl:when test="@language = 'js' or @language = 'jscript#' or @language = 'jscript' or @language = 'JScript'"> <xsl:text>JScript</xsl:text> </xsl:when> + <xsl:when test="@language = 'f#' or @language = 'fs' or @language = 'F#'"> + <xsl:text>FSharp</xsl:text> + </xsl:when> <xsl:when test="@language = 'xml'"> <xsl:text>xmlLang</xsl:text> </xsl:when> @@ -430,6 +412,7 @@ <xsl:choose> <xsl:when test="@class='tip'"> <img class="note"> + <includeAttribute name="alt" item="tipAltText" /> <includeAttribute name="title" item="tipAltText" /> <includeAttribute item="iconPath" name="src"> <parameter>alert_note.gif</parameter> @@ -439,6 +422,7 @@ </xsl:when> <xsl:when test="@class='caution' or @class='warning'"> <img class="note"> + <includeAttribute name="alt" item="cautionAltText" /> <includeAttribute name="title" item="cautionAltText" /> <includeAttribute item="iconPath" name="src"> <parameter>alert_caution.gif</parameter> @@ -448,6 +432,7 @@ </xsl:when> <xsl:when test="@class='security note'"> <img class="note"> + <includeAttribute name="alt" item="securityAltText" /> <includeAttribute name="title" item="securityAltText" /> <includeAttribute item="iconPath" name="src"> <parameter>alert_security.gif</parameter> @@ -457,6 +442,7 @@ </xsl:when> <xsl:when test="@class='important'"> <img class="note"> + <includeAttribute name="alt" item="importantAltText" /> <includeAttribute name="title" item="importantAltText" /> <includeAttribute item="iconPath" name="src"> <parameter>alert_caution.gif</parameter> @@ -466,6 +452,7 @@ </xsl:when> <xsl:when test="@class='visual basic note'"> <img class="note"> + <includeAttribute name="alt" item="visualBasicAltText" /> <includeAttribute name="title" item="visualBasicAltText" /> <includeAttribute item="iconPath" name="src"> <parameter>alert_note.gif</parameter> @@ -475,6 +462,7 @@ </xsl:when> <xsl:when test="@class='visual c# note'"> <img class="note"> + <includeAttribute name="alt" item="visualC#AltText" /> <includeAttribute name="title" item="visualC#AltText" /> <includeAttribute item="iconPath" name="src"> <parameter>alert_note.gif</parameter> @@ -484,6 +472,7 @@ </xsl:when> <xsl:when test="@class='visual c++ note'"> <img class="note"> + <includeAttribute name="alt" item="visualC++AltText" /> <includeAttribute name="title" item="visualC++AltText" /> <includeAttribute item="iconPath" name="src"> <parameter>alert_note.gif</parameter> @@ -493,6 +482,7 @@ </xsl:when> <xsl:when test="@class='visual j# note'"> <img class="note"> + <includeAttribute name="alt" item="visualJ#AltText" /> <includeAttribute name="title" item="visualJ#AltText" /> <includeAttribute item="iconPath" name="src"> <parameter>alert_note.gif</parameter> @@ -502,6 +492,7 @@ </xsl:when> <xsl:when test="@class='note'"> <img class="note"> + <includeAttribute name="alt" item="noteAltText" /> <includeAttribute name="title" item="noteAltText" /> <includeAttribute item="iconPath" name="src"> <parameter>alert_note.gif</parameter> @@ -511,6 +502,7 @@ </xsl:when> <xsl:otherwise> <img class="note"> + <includeAttribute name="alt" item="noteAltText" /> <includeAttribute name="title" item="noteAltText" /> <includeAttribute item="iconPath" name="src"> <parameter>alert_note.gif</parameter> @@ -535,8 +527,8 @@ </xsl:template> <xsl:template match="ddue:section"> - <xsl:param name="showChangedHistoryTable" select="false()"/> - <xsl:if test="descendant::ddue:content[normalize-space(.)]"> + <!-- display the section only if it has content (text or media)--> + <xsl:if test="descendant::ddue:content[normalize-space(.)] or descendant::ddue:mediaLink"> <xsl:apply-templates select="@address" /> <!-- Count all the possible ancestor root nodes --> @@ -561,8 +553,8 @@ <xsl:variable name="a19" select="count(ancestor::ddue:section)" /> <xsl:variable name="total" select="$a1+$a2+$a3+$a4+$a5+$a6+$a7+$a8+$a9+$a10+$a11+$a12+$a13+$a14+$a15+$a16+$a17+$a18+$a19" /> <xsl:choose> - <!-- This lets not to display changed table section unless the template is called --> - <xsl:when test="ddue:title = 'Change History' and not($showChangedHistoryTable)" /> + <!-- Don't render the 'Change History' section here; it's handled in the writeChangeHistorySection template. --> + <xsl:when test="ddue:title = 'Change History'" /> <xsl:when test="$total = 0"> <xsl:variable name="sectionCount"> @@ -620,15 +612,13 @@ </xsl:template> --> <xsl:template match="ddue:mediaLink|ddue:mediaLinkInline"> - <span class="media"> - <xsl:if test="ddue:caption"> - <div class="caption"> - <xsl:apply-templates select="ddue:caption" /> - </div> - <br /> - </xsl:if> - <artLink target="{ddue:image/@xlink:href}" /> - </span> + <xsl:if test="ddue:caption"> + <div class="caption"> + <xsl:apply-templates select="ddue:caption" /> + </div> + <br /> + </xsl:if> + <artLink target="{ddue:image/@xlink:href}" /> </xsl:template> <xsl:template match="ddue:procedure"> @@ -736,12 +726,16 @@ <span class="cs">null</span> <span class="vb">Nothing</span> <span class="cpp">nullptr</span> + <span class="fs">unit</span> </span> </xsl:when> <!-- need to comment out special handling for static, virtual, true, and false until UE teams review authored content to make sure the auto-text works with the authored text. For example, auto-text with authored content like the following will result in bad customer experience. - <languageKeyword>static</languageKeyword> (<languageKeyword>Shared</languageKeyword> in Visual Basic) --> + <languageKeyword>static</languageKeyword> (<languageKeyword>Shared</languageKeyword> in Visual Basic) + + This also needs to have F# added should it be uncommented. + --> <!-- <xsl:when test="$word='static' or $word='Shared'"> <span class="cs">static</span> @@ -1261,6 +1255,7 @@ <tr> <th align="left"> <img class="note"> + <includeAttribute name="alt" item="noteAltText" /> <includeAttribute name="title" item="noteAltText" /> <includeAttribute item="iconPath" name="src"> <parameter>alert_note.gif</parameter> @@ -1294,44 +1289,138 @@ </div> </xsl:template> + <!-- Display a date to show when the topic was last updated. --> <xsl:template name="writeFreshnessDate"> + <!-- The $ChangedHistoryDate param is from the authored changeHistory table, if any. --> <xsl:param name="ChangedHistoryDate" /> - + <!-- Determine whether the authored date is a valid date string. --> + <xsl:variable name="validChangeHistoryDate"> + <xsl:choose> + <xsl:when test="normalize-space($ChangedHistoryDate)=''"/> + <xsl:when test="ddue:IsValidDate(normalize-space($ChangedHistoryDate)) = 'true'"> + <xsl:value-of select="normalize-space($ChangedHistoryDate)"/> + </xsl:when> + </xsl:choose> + </xsl:variable> <xsl:choose> - <xsl:when test="normalize-space($RTMReleaseDate) = ''" /> - <xsl:when test="normalize-space($ChangedHistoryDate) = ''"> - <include item="UpdateTitle"> - <parameter> - <xsl:value-of select="$RTMReleaseDate"/> - </parameter> - </include> + <!-- display nothing if the 'changeHistoryOptions' argument is set to 'omit' --> + <xsl:when test="$changeHistoryOptions = 'omit'"/> + + <!-- if it's a valid date, display the freshness line. --> + <xsl:when test="normalize-space($validChangeHistoryDate)"> + <p> + <include item="UpdateTitle"> + <parameter> + <xsl:value-of select="normalize-space($validChangeHistoryDate)"/> + </parameter> + </include> + </p> + </xsl:when> + + <!-- use a default date if no ChangedHistoryDate and the 'changeHistoryOptions' argument is set to 'showDefaultFreshnessDate' --> + <xsl:when test="$changeHistoryOptions = 'showDefaultFreshnessDate'"> + <p> + <include item="UpdateTitle"> + <parameter> + <include item="defaultFreshnessDate"/> + </parameter> + </include> + </p> </xsl:when> - <xsl:otherwise> - <xsl:variable name="date" select="ddue:CompareDate($RTMReleaseDate, $ChangedHistoryDate)"/> - <xsl:choose> - <xsl:when test="$date = 'notValidDate'" /> - <xsl:otherwise> - <include item="UpdateTitle"> - <parameter> - <xsl:value-of select="$date"/> - </parameter> - </include> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> </xsl:choose> </xsl:template> - <!-- Process the markup added by MTMarkup tool --> + <xsl:template name="writeChangeHistorySection"> + <xsl:if test="$changeHistoryOptions!='omit'"> + <!-- conceptual authored content is in /document/topic/*; mref content is in /document/comments/ddue:dduexml. --> + <xsl:for-each select="/document/comments/ddue:dduexml | /document/topic/*"> + <!-- Get the change history section content, which can be in changeHistory or a section with title='Change History'. --> + <xsl:variable name="changeHistoryContent"> + <xsl:choose> + <xsl:when test="ddue:changeHistory/ddue:content/ddue:table/ddue:row/ddue:entry[normalize-space(.)]"> + <xsl:apply-templates select="ddue:changeHistory/ddue:content"/> + </xsl:when> + <xsl:when test=".//ddue:section[ddue:title = 'Change History']/ddue:content/ddue:table/ddue:row/ddue:entry[normalize-space(.)]"> + <xsl:apply-templates select=".//ddue:section[ddue:title = 'Change History']/ddue:content"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + <xsl:if test="normalize-space($changeHistoryContent)"> + <xsl:call-template name="section"> + <xsl:with-param name="toggleSwitch" select="'changeHistory'"/> + <xsl:with-param name="title"> + <include item="changeHistory" /> + </xsl:with-param> + <xsl:with-param name="content"> + <xsl:copy-of select="$changeHistoryContent" /> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + </xsl:for-each> + </xsl:if> + </xsl:template> + <xsl:template match="ddue:span"> <xsl:choose> + <!-- Process the markup added by MTMarkup tool --> <xsl:when test="@class='tgtSentence' or @class='srcSentence'"> <span> <xsl:copy-of select="@*" /> <xsl:apply-templates /> </span> + </xsl:when> + <!-- fix bug 361746 - use copy-of, so that span class="keyword", "literal" and "comment" + nodes are copied to preserve code colorization in snippets --> + <xsl:when test="@class='keyword' or @class='literal' or @class='comment'"> + <xsl:copy-of select="."/> </xsl:when> </xsl:choose> </xsl:template> + <!-- Don't render the changeHistory section here; it's handled in the writeChangeHistorySection template. --> + <xsl:template match="ddue:changeHistory"/> + + <xsl:template name="WriteRemarksSection"> + <xsl:param name="node" /> + + <xsl:variable name="hasRemarks"> + <xsl:call-template name="HasRemarksContent"> + <xsl:with-param name="node" select="$node" /> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="$hasRemarks='true'"> + <xsl:choose> + <xsl:when test="not($group = 'namespace')"> + <xsl:call-template name="section"> + <xsl:with-param name="toggleSwitch" select="'remarks'"/> + <xsl:with-param name="title"> + <include item="remarksTitle" /> + </xsl:with-param> + <xsl:with-param name="content"> + <!-- HostProtectionAttribute --> + <xsl:if test="/document/reference/attributes/attribute/type[@api='T:System.Security.Permissions.HostProtectionAttribute']"> + <xsl:call-template name="hostProtectionContent" /> + </xsl:if> + <xsl:apply-templates select="$node/ddue:remarks/*" /> + <xsl:apply-templates select="$node/ddue:notesForImplementers"/> + <xsl:apply-templates select="$node/ddue:notesForCallers"/> + <xsl:apply-templates select="$node/ddue:notesForInheritors"/> + <xsl:apply-templates select="$node/ddue:platformNotes"/> + <include item="mshelpKTable"> + <parameter> + <xsl:text>tt_</xsl:text> + <xsl:value-of select="$key"/> + </parameter> + </include> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$node/ddue:remarks/*" /> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:template> + </xsl:stylesheet> diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/utilities_reference.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/utilities_reference.xsl index 55a5f59..8edafbc 100644 --- a/tools/Sandcastle/Presentation/vs2005/transforms/utilities_reference.xsl +++ b/tools/Sandcastle/Presentation/vs2005/transforms/utilities_reference.xsl @@ -18,7 +18,8 @@ <xsl:param name="languages">false</xsl:param> <xsl:param name="componentizeBy">namespace</xsl:param> - <xsl:include href="utilities_metadata.xsl" /> + <xsl:include href="metadataHelp30.xsl" /> + <xsl:include href="metadataHelp20.xsl"/> <xsl:include href="xamlSyntax.xsl"/> <xsl:template match="/"> @@ -26,7 +27,9 @@ <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"/> <META NAME="save" CONTENT="history"/> + <xsl:call-template name="insertNoIndexNoFollow" /> <title><xsl:call-template name="topicTitlePlain"/></title> + <xsl:call-template name="insert30Metadata" /> <xsl:call-template name="insertStylesheets" /> <xsl:call-template name="insertScripts" /> <xsl:call-template name="insertFilename" /> @@ -81,6 +84,12 @@ <!-- document head --> + <xsl:template name="insertNoIndexNoFollow"> + <xsl:if test="/document/metadata/attribute[@name='NoSearch']"> + <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW" /> + </xsl:if> + </xsl:template> + <xsl:template name="insertStylesheets"> <link rel="stylesheet" type="text/css" href="../styles/presentation.css" /> <!-- make mshelp links work --> @@ -241,6 +250,7 @@ <includeAttribute name="src" item="iconPath"> <parameter>CFW.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="CompactFrameworkAltText" /> <includeAttribute name="title" item="CompactFrameworkAltText" /> </img> </xsl:if> @@ -250,6 +260,7 @@ <includeAttribute name="src" item="iconPath"> <parameter>xna.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="XNAFrameworkAltText" /> <includeAttribute name="title" item="XNAFrameworkAltText" /> </img> </xsl:if> @@ -263,11 +274,28 @@ <xsl:text> </xsl:text> <include item="obsoleteRed" /> </xsl:if> - <xsl:call-template name="getElementDescription" /> + <xsl:call-template name="getEnumMemberDescription" /> </td> </tr> </xsl:template> + <xsl:template name="getEnumMemberDescription"> + <xsl:choose> + <xsl:when test="normalize-space(ddue:summary[1]) != ''"> + <span sdata="memberAuthoredSummary"> + <xsl:apply-templates select="ddue:summary[1]/ddue:para/node()" /> + </span> + </xsl:when> + <xsl:otherwise> + <span sdata="memberAuthoredSummary"> + <xsl:apply-templates select="ddue:summary[2]/ddue:para/node()" /> + </span> + </xsl:otherwise> + </xsl:choose> + <!-- enum members may have additional authored content in the remarks node --> + <xsl:apply-templates select="ddue:remarks/ddue:content" /> + </xsl:template> + <xsl:template match="element" mode="derivedType"> <tr> <td> @@ -292,132 +320,21 @@ </tr> </xsl:template> - <xsl:template match="element" mode="overload"> - <xsl:variable name="supportedOnXna"> - <xsl:call-template name="IsMemberSupportedOnXna"/> - </xsl:variable> - <xsl:variable name="supportedOnCf"> - <xsl:call-template name="IsMemberSupportedOnCf"/> - </xsl:variable> - <xsl:variable name="staticMember"> - <xsl:call-template name="IsMemberStatic"/> - </xsl:variable> - <xsl:variable name="inheritedMember"> - <xsl:call-template name="IsMemberInherited"/> - </xsl:variable> - <xsl:variable name="protectedMember"> - <xsl:call-template name="IsMemberProtected"/> - </xsl:variable> - <xsl:variable name="privateMember"> - <xsl:call-template name="IsMemberPrivate"/> + <xsl:template name="extensionMethodDisplayLink"> + <xsl:variable name="showParameters"> + <xsl:choose> + <xsl:when test="@overload='true'">true</xsl:when> + <xsl:otherwise>false</xsl:otherwise> + </xsl:choose> </xsl:variable> - - <tr> - <xsl:if test="normalize-space($inheritedMember)!=''"> - <xsl:attribute name="name">inheritedMember</xsl:attribute> - </xsl:if> - <xsl:if test="normalize-space($protectedMember)!=''"> - <xsl:attribute name="protected">true</xsl:attribute> - </xsl:if> - <xsl:if test="normalize-space($supportedOnXna)=''"> - <xsl:attribute name="notSupportedOnXna">true</xsl:attribute> - </xsl:if> - <xsl:if test="normalize-space($supportedOnCf)=''"> - <xsl:attribute name="notSupportedOn">netcf</xsl:attribute> - </xsl:if> - - <xsl:attribute name="data"> - <xsl:value-of select="apidata/@subgroup" /> - <xsl:choose> - <xsl:when test="memberdata/@visibility='public'"> - <xsl:text>; public</xsl:text> - </xsl:when> - <xsl:when test="memberdata[@visibility='family' or @visibility='family or assembly' or @visibility='assembly']"> - <xsl:text>; protected</xsl:text> - </xsl:when> - <xsl:when test="memberdata/@visibility='private' and not(proceduredata[@virtual = 'true'])"> - <xsl:text>; private</xsl:text> - </xsl:when> - <!-- NOTE: EII members (private-virtual) fall through to this xsl:otherwise block --> - <xsl:otherwise> - <xsl:text>; public</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="memberdata/@static = 'true'"> - <xsl:text>; static</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>; instance</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="normalize-space($inheritedMember)=''"> - <xsl:text>; declared</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>; inherited</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:attribute> - - <td> - <!-- item icons --> - <xsl:call-template name="memberIcons"> - <xsl:with-param name="memberVisibility"> - <xsl:choose> - <xsl:when test="memberdata/@visibility='family' or memberdata/@visibility='family or assembly' or memberdata/@visibility='assembly'">prot</xsl:when> - <xsl:when test="memberdata/@visibility='private'">priv</xsl:when> - <xsl:otherwise>pub</xsl:otherwise> - </xsl:choose> - </xsl:with-param> - <xsl:with-param name="staticMember" select="normalize-space($staticMember)" /> - <xsl:with-param name="supportedOnXna" select="normalize-space($supportedOnXna)"/> - <xsl:with-param name="supportedOnCf" select="normalize-space($supportedOnCf)"/> - </xsl:call-template> - </td> - <td> - <!-- item name --> - <xsl:choose> - <xsl:when test="@display-api"> - <referenceLink target="{@api}" display-target="{@display-api}" /> - </xsl:when> - <xsl:otherwise> - <referenceLink target="{@api}" /> - </xsl:otherwise> - </xsl:choose> - </td> - <td> - <!-- item description --> - <xsl:call-template name="getInternalOnlyDescription" /> - <xsl:if test="attributes/attribute/type[@api='T:System.ObsoleteAttribute']"> - <xsl:text> </xsl:text> - <include item="obsoleteRed" /> - </xsl:if> - <xsl:call-template name="getElementDescription" /> - <xsl:choose> - <xsl:when test="normalize-space($inheritedMember)!=''"> - <xsl:text> </xsl:text> - <include item="inheritedFrom"> - <parameter> - <xsl:apply-templates select="containers/type" mode="link" /> - </parameter> - </include> - </xsl:when> - <xsl:when test="overrides"> - <xsl:text> </xsl:text> - <include item="overridesMember"> - <parameter> - <xsl:apply-templates select="overrides/member" mode="link" /> - </parameter> - </include> - </xsl:when> - </xsl:choose> - - </td> - </tr> + <referenceLink target="{@api}" display-target="extension" show-parameters="{$showParameters}"> + <extensionMethod> + <xsl:copy-of select="@*"/> + <xsl:copy-of select="apidata|templates|parameters|containers"/> + </extensionMethod> + </referenceLink> </xsl:template> - + <xsl:template name="insertFilename"> <meta name="container"> <xsl:attribute name="content"> @@ -541,7 +458,15 @@ <!-- the subsubgroup, subgroup, or group determines the title --> <xsl:choose> <xsl:when test="string($api-subsubgroup)"> - <xsl:value-of select="$api-subsubgroup" /> + <xsl:choose> + <!-- topic title for op_explicit and op_implicit members --> + <xsl:when test="$api-subsubgroup='operator' and (document/reference/apidata/@name = 'Explicit' or document/reference/apidata/@name = 'Implicit')"> + <xsl:value-of select="'typeConversion'"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$api-subsubgroup" /> + </xsl:otherwise> + </xsl:choose> </xsl:when> <xsl:when test="string($api-subgroup)"> <xsl:value-of select="$api-subgroup"/> @@ -554,12 +479,46 @@ <!-- overload topic titles --> <xsl:when test="$topic-subgroup='overload'"> <!-- the api subgroup (e.g. "property") determines the title; do we want to use the subsubgoup name when it is available? --> - <xsl:value-of select="$api-subgroup"/> + <xsl:choose> + <!-- topic title for overload op_explicit and op_implicit members --> + <xsl:when test="$api-subsubgroup = 'operator' and (document/reference/apidata/@name='Explicit' or document/reference/apidata/@name = 'Implicit')"> + <xsl:value-of select="'conversionOperator'"/> + </xsl:when> + <!-- topic title for overload operator members --> + <xsl:when test="$api-subsubgroup='operator'"> + <xsl:value-of select="$api-subsubgroup" /> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$api-subgroup"/> + </xsl:otherwise> + </xsl:choose> </xsl:when> <!-- list topic titles --> <xsl:when test="$topic-group='list'"> <!-- the topic subgroup (e.g. "methods") determines the title --> - <xsl:value-of select="$topic-subgroup" /> + <xsl:choose> + <xsl:when test="$topic-subgroup='Operators'"> + <xsl:variable name="operators" select="document/reference/elements/element[not(apidata[@name='Explicit' or @name='Implicit'])]"/> + <xsl:variable name="conversions" select="document/reference/elements/element[apidata[@name='Explicit' or @name='Implicit']]" /> + <xsl:choose> + <!-- operators + type conversions --> + <xsl:when test="count($operators) > 0 and count($conversions) > 0"> + <xsl:value-of select="'OperatorsAndTypeConversions'" /> + </xsl:when> + <!-- no operators + type conversions --> + <xsl:when test="not(count($operators) > 0) and count($conversions) > 0"> + <xsl:value-of select="'TypeConversions'" /> + </xsl:when> + <!-- operators + no type conversions --> + <xsl:otherwise> + <xsl:value-of select="$topic-subgroup" /> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$topic-subgroup" /> + </xsl:otherwise> + </xsl:choose> </xsl:when> <!-- overload root titles --> <xsl:when test="$topic-group='root'"> @@ -575,10 +534,19 @@ </parameter> <parameter> <!-- show parameters only for overloaded members --> - <xsl:if test="document/reference/memberdata/@overload" > - <xsl:for-each select="/document/reference"> - <xsl:call-template name="parameterTypesPlain" /> - </xsl:for-each> + <xsl:if test="document/reference/memberdata/@overload or ($api-subsubgroup = 'operator' and (document/reference/apidata/@name='Explicit' or document/reference/apidata/@name='Implicit'))"> + <xsl:choose> + <xsl:when test="$api-subsubgroup = 'operator' and (document/reference/apidata/@name='Explicit' or document/reference/apidata/@name='Implicit')"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="operatorTypesPlain" /> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="parameterTypesPlain" /> + </xsl:for-each> + </xsl:otherwise> + </xsl:choose> </xsl:if> </parameter> </include> @@ -607,7 +575,15 @@ <xsl:when test="$topic-group='api'"> <xsl:choose> <xsl:when test="string($api-subsubgroup)"> - <xsl:value-of select="$api-subsubgroup" /> + <xsl:choose> + <!-- topic tilte for op_explicit and op_implicit members --> + <xsl:when test="$api-subsubgroup='operator' and (document/reference/apidata/@name = 'Explicit' or document/reference/apidata/@name = 'Implicit')"> + <xsl:value-of select="'typeConversion'"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$api-subsubgroup" /> + </xsl:otherwise> + </xsl:choose> </xsl:when> <xsl:when test="string($api-subgroup)"> <xsl:value-of select="$api-subgroup" /> @@ -620,12 +596,46 @@ <!-- overload topic titles --> <xsl:when test="$topic-subgroup='overload'"> <!-- the api subgroup (e.g. "property") determines the title; do we want to use the subsubgoup name when it is available? --> - <xsl:value-of select="$api-subgroup"/> + <xsl:choose> + <!-- topic title for overload op_explicit and op_implicit members --> + <xsl:when test="$api-subsubgroup = 'operator' and (document/reference/apidata/@name= 'Explicit' or document/reference/apidata/@name= 'Implicit')"> + <xsl:value-of select="'conversionOperator'"/> + </xsl:when> + <!-- topic title for overload operator members --> + <xsl:when test="$api-subsubgroup='operator'"> + <xsl:value-of select="$api-subsubgroup" /> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$api-subgroup"/> + </xsl:otherwise> + </xsl:choose> </xsl:when> <!-- list topic titles --> <xsl:when test="$topic-group='list'"> <!-- the topic subgroup (e.g. "methods") determines the title --> - <xsl:value-of select="$topic-subgroup" /> + <xsl:choose> + <xsl:when test="$topic-subgroup='Operators'"> + <xsl:variable name="operators" select="document/reference/elements/element[not(apidata[@name='Explicit' or @name='Implicit'])]"/> + <xsl:variable name="conversions" select="document/reference/elements/element[apidata[@name='Explicit' or @name='Implicit']]" /> + <xsl:choose> + <!-- operators + type conversions --> + <xsl:when test="count($operators) > 0 and count($conversions) > 0"> + <xsl:value-of select="'OperatorsAndTypeConversions'" /> + </xsl:when> + <!-- no operators + type conversions --> + <xsl:when test="not(count($operators) > 0) and count($conversions) > 0"> + <xsl:value-of select="'TypeConversions'" /> + </xsl:when> + <!-- operators + no type conversions --> + <xsl:otherwise> + <xsl:value-of select="$topic-subgroup" /> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$topic-subgroup" /> + </xsl:otherwise> + </xsl:choose> </xsl:when> <!-- overload root titles --> <xsl:when test="$topic-group='root'"> @@ -641,10 +651,19 @@ </parameter> <parameter> <!-- show parameters only from overloaded members --> - <xsl:if test="document/reference/memberdata/@overload" > - <xsl:for-each select="/document/reference"> - <xsl:call-template name="parameterTypesDecorated" /> - </xsl:for-each> + <xsl:if test="document/reference/memberdata/@overload or ($api-subsubgroup= 'operator' and (document/reference/apidata/@name='Explicit' or document/reference/apidata/@name='Implicit'))"> + <xsl:choose> + <xsl:when test="$api-subsubgroup = 'operator' and (document/reference/apidata/@name='Explicit' or document/reference/apidata/@name='Implicit')"> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="operatorTypesDecorated" /> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:for-each select="/document/reference"> + <xsl:call-template name="parameterTypesDecorated" /> + </xsl:for-each> + </xsl:otherwise> + </xsl:choose> </xsl:if> </parameter> </include> @@ -879,7 +898,7 @@ <xsl:call-template name="memberIntro" /> - <xsl:if test="element/apidata[@subgroup='constructor']"> + <xsl:if test="element[apidata[@subgroup='constructor']][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]"> <xsl:call-template name="memberlistSection"> <xsl:with-param name="headerGroup" select="'constructor'" /> <xsl:with-param name="members" select="element[apidata[@subgroup='constructor']][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]" /> @@ -887,7 +906,7 @@ </xsl:if> <!-- method table --> - <xsl:if test="element/apidata[@subgroup='method' and not(@subsubgroup)]"> + <xsl:if test="element[apidata[@subgroup='method' and not(@subsubgroup)]][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]"> <xsl:call-template name="memberlistSection"> <xsl:with-param name="headerGroup">method</xsl:with-param> <xsl:with-param name="members" select="element[apidata[@subgroup='method' and not(@subsubgroup)]][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]" /> @@ -895,7 +914,7 @@ </xsl:if> <!-- operator table --> - <xsl:if test="element/apidata[@subsubgroup='operator']"> + <xsl:if test="element[apidata[@subsubgroup='operator']][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]"> <xsl:call-template name="memberlistSection"> <xsl:with-param name="headerGroup">operator</xsl:with-param> <xsl:with-param name="members" select="element[apidata[@subsubgroup='operator']][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]" /> @@ -911,7 +930,7 @@ </xsl:if> <!-- field table --> - <xsl:if test="element/apidata[@subgroup='field']"> + <xsl:if test="element[apidata[@subgroup='field']][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]"> <xsl:call-template name="memberlistSection"> <xsl:with-param name="headerGroup">field</xsl:with-param> <xsl:with-param name="members" select="element[apidata[@subgroup='field']][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]" /> @@ -919,7 +938,7 @@ </xsl:if> <!-- property table --> - <xsl:if test="element/apidata[@subgroup='property' and not(@subsubgroup)]"> + <xsl:if test="element[apidata[@subgroup='property' and not(@subsubgroup)]][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]"> <xsl:call-template name="memberlistSection"> <xsl:with-param name="headerGroup">property</xsl:with-param> <xsl:with-param name="members" select="element[apidata[@subgroup='property' and not(@subsubgroup)]][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]" /> @@ -935,7 +954,7 @@ </xsl:if> <!-- event table --> - <xsl:if test="element/apidata[@subgroup='event' and not(@subsubgroup)]"> + <xsl:if test="element[apidata[@subgroup='event' and not(@subsubgroup)]][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]"> <xsl:call-template name="memberlistSection"> <xsl:with-param name="headerGroup">event</xsl:with-param> <xsl:with-param name="members" select="element[apidata[@subgroup='event' and not(@subsubgroup)]][.//memberdata[@visibility='public' or @visibility='family' or @visibility='family or assembly' or @visibility='assembly'] or (.//memberdata[@visibility='private'] and not(.//proceduredata[@virtual = 'true']))]" /> @@ -964,7 +983,7 @@ <xsl:param name="members"/> <xsl:param name="headerGroup" /> <xsl:param name="showParameters" select="'false'" /> - + <xsl:variable name="header"> <xsl:value-of select="concat($headerGroup, 'Table')"/> </xsl:variable> @@ -993,7 +1012,8 @@ <!-- add a row for each member of the current subgroup-visibility --> <xsl:apply-templates select="$members" mode="memberlistRow"> <xsl:with-param name="showParameters" select="$showParameters" /> - <xsl:sort select="apidata/@name" /> + <xsl:sort select="topicdata/@eiiName | apidata/@name" /> + <xsl:sort select="count(templates/*)" /> </xsl:apply-templates> </table> </xsl:with-param> @@ -1153,6 +1173,21 @@ </xsl:choose> </xsl:template> + <xsl:template name="IsConversionOperator"> + <xsl:choose> + <xsl:when test="element"> + <xsl:for-each select="element"> + <xsl:call-template name="IsConversionOperator"/> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:if test="apidata/@subsubgroup='operator' and (apidata/@name='Explicit' or apidata/@name='Implicit') and not(memberdata/@overload)"> + <xsl:text>yes</xsl:text> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + <xsl:template match="element" mode="memberlistRow"> <xsl:param name="showParameters" select="'false'" /> <xsl:variable name="notsupportedOnNetfw"> @@ -1185,6 +1220,9 @@ <xsl:variable name="explicitMember"> <xsl:call-template name="IsMemberExplicit" /> </xsl:variable> + <xsl:variable name="conversionOperator"> + <xsl:call-template name="IsConversionOperator" /> + </xsl:variable> <!-- do not show non-static members of static types --> <xsl:if test=".//memberdata/@static='true' or not(/document/reference/typedata[@abstract='true' and @sealed='true'])"> <tr> @@ -1255,6 +1293,12 @@ </td> <td> <xsl:choose> + <xsl:when test="normalize-space($conversionOperator)!=''"> + <referenceLink target="{@api}" show-parameters="true" /> + </xsl:when> + <xsl:when test="@source='extension'"> + <xsl:call-template name="extensionMethodDisplayLink"/> + </xsl:when> <xsl:when test="@display-api"> <referenceLink target="{@api}" display-target="{@display-api}" show-parameters="{$showParameters}" /> </xsl:when> @@ -1269,7 +1313,7 @@ <xsl:text> </xsl:text> <include item="obsoleteRed" /> </xsl:if> - <xsl:if test="topicdata[@subgroup='overload']"> + <xsl:if test="topicdata[@subgroup='overload'] or @overload='true'"> <include item="Overloaded"/> <xsl:text> </xsl:text> </xsl:if> @@ -1442,6 +1486,7 @@ <xsl:value-of select="concat($typeVisibility,$typeSubgroup,'.gif')" /> </parameter> </includeAttribute> + <includeAttribute name="alt" item="{concat($typeVisibility,$typeSubgroup,'AltText')}" /> <includeAttribute name="title" item="{concat($typeVisibility,$typeSubgroup,'AltText')}" /> </img> @@ -1483,6 +1528,7 @@ <includeAttribute name="src" item="iconPath"> <parameter>pubinterface.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="ExplicitInterfaceAltText" /> <includeAttribute name="title" item="ExplicitInterfaceAltText" /> </img> </xsl:if> @@ -1495,9 +1541,11 @@ </includeAttribute> <xsl:choose> <xsl:when test="apidata/@subsubgroup"> + <includeAttribute name="alt" item="{concat($memberVisibility,apidata/@subsubgroup,'AltText')}" /> <includeAttribute name="title" item="{concat($memberVisibility,apidata/@subsubgroup,'AltText')}" /> </xsl:when> <xsl:otherwise> + <includeAttribute name="alt" item="{concat($memberVisibility,$memberSubgroup,'AltText')}" /> <includeAttribute name="title" item="{concat($memberVisibility,$memberSubgroup,'AltText')}" /> </xsl:otherwise> </xsl:choose> @@ -1508,6 +1556,7 @@ <includeAttribute name="src" item="iconPath"> <parameter>static.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="staticAltText" /> <includeAttribute name="title" item="staticAltText" /> </img> </xsl:if> @@ -1517,6 +1566,7 @@ <includeAttribute name="src" item="iconPath"> <parameter>CFW.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="CompactFrameworkAltText" /> <includeAttribute name="title" item="CompactFrameworkAltText" /> </img> </xsl:if> @@ -1526,6 +1576,7 @@ <includeAttribute name="src" item="iconPath"> <parameter>xna.gif</parameter> </includeAttribute> + <includeAttribute name="alt" item="XNAFrameworkAltText" /> <includeAttribute name="title" item="XNAFrameworkAltText" /> </img> </xsl:if> @@ -1542,7 +1593,9 @@ <xsl:call-template name="assembliesInfo"/> <!-- some apis display a XAML xmlns uri --> - <xsl:call-template name="xamlXmlnsInfo"/> + <xsl:if test="$omitXmlnsBoilerplate != 'true'"> + <xsl:call-template name="xamlXmlnsInfo"/> + </xsl:if> </xsl:template> <xsl:template name="assemblyNameAndModule"> @@ -1591,23 +1644,32 @@ <!-- Platform information --> - <xsl:template match="platforms"> + <xsl:template match="platforms[platform]"> <xsl:call-template name="section"> <xsl:with-param name="toggleSwitch" select="'platformsTitle'"/> <xsl:with-param name="title"> <include item="platformsTitle" /> </xsl:with-param> <xsl:with-param name="content"> - <p> - <xsl:for-each select="platform"> - <include item="{.}" /><xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if> - </xsl:for-each> - </p> - <xsl:if test="/document/reference/versions/versions[@name='netfw' or @name='netcfw']//version"> - <p> - <include item="SystemRequirementsLinkBoilerplate"/> - </p> - </xsl:if> + <xsl:choose> + <xsl:when test="/document/reference/versions/versions[@name='silverlight']//version"> + <p> + <include item="silverlightplatforms"/> + </p> + </xsl:when> + <xsl:otherwise> + <p> + <xsl:for-each select="platform"> + <include item="{.}" /><xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if> + </xsl:for-each> + </p> + <xsl:if test="/document/reference/versions/versions[@name='netfw' or @name='netcfw']//version"> + <p> + <include item="SystemRequirementsLinkBoilerplate"/> + </p> + </xsl:if> + </xsl:otherwise> + </xsl:choose> </xsl:with-param> </xsl:call-template> </xsl:template> @@ -1615,15 +1677,17 @@ <!-- Version information --> <xsl:template match="versions"> - <xsl:call-template name="section"> - <xsl:with-param name="toggleSwitch" select="'versionsTitle'"/> - <xsl:with-param name="title"> - <include item="versionsTitle" /> - </xsl:with-param> - <xsl:with-param name="content"> - <xsl:call-template name="processVersions" /> - </xsl:with-param> - </xsl:call-template> + <xsl:if test="$omitVersionInformation != 'true'"> + <xsl:call-template name="section"> + <xsl:with-param name="toggleSwitch" select="'versionsTitle'"/> + <xsl:with-param name="title"> + <include item="versionsTitle" /> + </xsl:with-param> + <xsl:with-param name="content"> + <xsl:call-template name="processVersions" /> + </xsl:with-param> + </xsl:call-template> + </xsl:if> </xsl:template> <xsl:template name="processVersions"> @@ -1743,6 +1807,8 @@ <xsl:for-each select="descendents/type"> <xsl:sort select="@api" /> + + <xsl:if test="not(self::type/@api=preceding-sibling::*/self::type/@api)"> <xsl:call-template name="indent"> <xsl:with-param name="count" select="$ancestorCount + 2" /> </xsl:call-template> @@ -1752,6 +1818,7 @@ </xsl:apply-templates> <br/> + </xsl:if> </xsl:for-each> </xsl:otherwise> </xsl:choose> @@ -1808,6 +1875,7 @@ <span class="vb">.</span> <span class="cpp">::</span> <span class="nu">.</span> + <span class="fs">.</span> </span> <xsl:for-each select="/document/reference/implements/member"> <xsl:for-each select="type"> @@ -1818,6 +1886,7 @@ <span class="vb">.</span> <span class="cpp">::</span> <span class="nu">.</span> + <span class="fs">.</span> </span> <xsl:value-of select="apidata/@name" /> <xsl:apply-templates select="templates" mode="decorated" /> @@ -1828,14 +1897,37 @@ <xsl:for-each select="/document/reference/containers/type[1]"> <xsl:call-template name="typeNameDecorated" /> </xsl:for-each> - <span class="languageSpecificText"> - <span class="cs">.</span> - <span class="vb">.</span> - <span class="cpp">::</span> - <span class="nu">.</span> - </span> + <xsl:if test="not($api-subsubgroup='operator'and (document/reference/apidata/@name='Explicit' or document/reference/apidata/@name='Implicit'))"> + <span class="languageSpecificText"> + <span class="cs">.</span> + <span class="vb">.</span> + <span class="cpp">::</span> + <span class="nu">.</span> + <span class="fs">.</span> + </span> + </xsl:if> <xsl:for-each select="/document/reference[1]"> - <xsl:value-of select="apidata/@name" /> + <xsl:choose> + <xsl:when test="$api-subsubgroup='operator' and (apidata/@name='Explicit' or apidata/@name='Implicit')"> + <xsl:text> </xsl:text> + <span class="languageSpecificText"> + <span class="cs"><xsl:value-of select="apidata/@name" /></span> + <span class="vb"> + <xsl:choose> + <xsl:when test="apidata/@name='Explicit'"><xsl:text>Narrowing</xsl:text></xsl:when> + <xsl:when test="apidata/@name='Implicit'"><xsl:text>Widening</xsl:text></xsl:when> + <xsl:otherwise><xsl:value-of select="apidata/@name" /></xsl:otherwise> + </xsl:choose> + </span> + <span class="cpp"><xsl:value-of select="apidata/@name" /></span> + <span class="nu"><xsl:value-of select="apidata/@name" /></span> + <span class="fs"><xsl:value-of select="apidata/@name" /></span> + </span> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="apidata/@name" /> + </xsl:otherwise> + </xsl:choose> <xsl:apply-templates select="templates" mode="decorated" /> </xsl:for-each> </xsl:when> @@ -1873,7 +1965,14 @@ <xsl:for-each select="/document/reference/containers/type[1]"> <xsl:call-template name="typeNamePlain" /> </xsl:for-each> - <xsl:text>.</xsl:text> + <xsl:choose> + <xsl:when test="$api-subsubgroup='operator' and (document/reference/apidata/@name='Explicit' or document/reference/apidata/@name='Implicit')"> + <xsl:text> </xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>.</xsl:text> + </xsl:otherwise> + </xsl:choose> </xsl:if> <xsl:choose> <!-- EII names are interfaceName.interfaceMemberName, not memberName --> diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/xamlSyntax.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/xamlSyntax.xsl index 1fc6e45..0fe5223 100644 --- a/tools/Sandcastle/Presentation/vs2005/transforms/xamlSyntax.xsl +++ b/tools/Sandcastle/Presentation/vs2005/transforms/xamlSyntax.xsl @@ -109,8 +109,6 @@ </xsl:with-param> </xsl:call-template> </xsl:if> - <!-- Show the authored XAML Values section, if any. --> - <xsl:call-template name="showXamlValuesSection"/> </xsl:template> <!-- XAML syntax for ENUMERATION topics. This is the logic: @@ -151,8 +149,6 @@ </span> </xsl:when> </xsl:choose> - <!-- Show the authored XAML Values section, if any. --> - <xsl:call-template name="showXamlValuesSection"/> </xsl:template> <!-- XAML syntax for PROPERTY topics. This is the logic: @@ -222,8 +218,6 @@ </xsl:with-param> </xsl:call-template> </xsl:if> - <!-- Show the authored XAML Values section, if any. --> - <xsl:call-template name="showXamlValuesSection"/> </xsl:template> <!-- XAML syntax for EVENT topics. This is the logic: @@ -259,8 +253,6 @@ </xsl:with-param> </xsl:call-template> </xsl:if> - <!-- Show the authored XAML Values section, if any. --> - <xsl:call-template name="showXamlValuesSection"/> </xsl:template> <!-- XAML syntax for members that cannot be used in XAML: interface, delegate, method, field, constructor. @@ -283,19 +275,19 @@ <!-- Displays one of the standard XAML boilerplate strings. --> <xsl:template name="ShowXamlSyntaxBoilerplate"> <xsl:param name="param0"/> + <!-- TFS bug 303004: DO NOT SHOW ANY xaml syntax boilerplate strings. --> + <xsl:variable name="boilerplateId"/> + + <!-- If future requirements call for showing one or more boilerplate strings for xaml, + use the commented out code to specify the ids of the shared content items to include. + NOTE: the markup like div/@class[.='interfaceOverviewXamlSyntax' is added by XamlUsageSyntax.cs in BuildAssembler. --> + <!-- <xsl:variable name="boilerplateId"> - <xsl:choose> - <!-- don't show boilerplate for apis that are not in xaml assemblies --> - <xsl:when test="$showNonXamlAssemblyBoilerplate='false' and div[@class='nonXamlAssemblyBoilerplate']"/> - <xsl:otherwise> - <xsl:value-of select="div/@class[not(.='xamlAttributeUsageHeading' or - .='xamlObjectElementUsageHeading' or - .='xamlContentElementUsageHeading' or - .='xamlPropertyElementUsageHeading' or - .='xamlXmlnsUri')]"/> - </xsl:otherwise> - </xsl:choose> + <xsl:value-of select="div/@class[.='interfaceOverviewXamlSyntax' or + .='propertyXamlSyntax_abstractType' or + .='classXamlSyntax_abstract']"/> </xsl:variable> + --> <xsl:if test="$boilerplateId!=''"> <span codeLanguage="XAML"> @@ -402,7 +394,7 @@ <!-- Display the XAML Values section. --> <xsl:template name="showXamlValuesSection"> <xsl:for-each select="//ddue:section[starts-with(@address,'xamlValues')]"> - <span codeLanguage="XAML"> + <div id="xamlValues"> <p/> <xsl:call-template name="subSection"> <xsl:with-param name="title"> @@ -412,7 +404,7 @@ <xsl:apply-templates select="ddue:content"/> </xsl:with-param> </xsl:call-template> - </span> + </div> </xsl:for-each> </xsl:template> diff --git a/tools/Sandcastle/ProductionTransforms/ApplyVSDocModel.xsl b/tools/Sandcastle/ProductionTransforms/ApplyVSDocModel.xsl index 867dcf6..b7729d0 100644 --- a/tools/Sandcastle/ProductionTransforms/ApplyVSDocModel.xsl +++ b/tools/Sandcastle/ProductionTransforms/ApplyVSDocModel.xsl @@ -10,7 +10,7 @@ <!-- Set to true for vs2005; set to false for vsorcas/prototype. --> <xsl:param name="IncludeAllMembersTopic" select="'false'" /> - + <!-- If member list topics handle overloads with one row that points to an overload topic, set IncludeInheritedOverloadTopics to false. --> <!-- If member list topics show a separate row for each overload signature, set IncludeInheritedOverloadTopics to false. --> <xsl:param name="IncludeInheritedOverloadTopics" select="'true'" /> @@ -33,13 +33,13 @@ <apis> <xsl:apply-templates select="api" /> <xsl:if test="normalize-space($project)"> - <xsl:call-template name="projectTopic" /> + <xsl:call-template name="projectTopic" /> </xsl:if> </apis> </xsl:template> <!-- Process a generic API (for namespaces and members; types and overloads are handled explicitly below) --> - + <xsl:template match="api"> <xsl:call-template name="updateApiNode" /> </xsl:template> @@ -49,12 +49,21 @@ </xsl:template> <xsl:template name="updateApiNode"> - <xsl:variable name="name" select="apidata/@name"/> + <xsl:variable name="apidataName" select="apidata/@name"/> + <xsl:variable name="templatesTotal" select="count(templates/*)"/> + <xsl:variable name="templateParams" select="count(templates/template)"/> + <xsl:variable name="templateArgs" select="count(templates/*[not(self::template)])"/> + <!-- strip off any parameters from the end of the id --> + <xsl:variable name="idWithoutParams"> + <xsl:call-template name="RemoveParametersFromId"/> + </xsl:variable> <xsl:variable name="subgroup" select="apidata/@subgroup"/> - <xsl:variable name="subsubgroup" select="apidata/@subsubgroup"/> + <xsl:variable name="subsubgroup" select="apidata/@subsubgroup" /> <xsl:variable name="typeId" select="containers/type/@api"/> <xsl:variable name="isEII" select="proceduredata/@eii"/> <xsl:variable name="eiiTypeId" select="implements/member/type/@api" /> + <xsl:variable name="containingType" select="containers/type/@api"/> + <api> <xsl:copy-of select="@*"/> <topicdata group="api"> @@ -64,96 +73,118 @@ </xsl:if> <xsl:if test="proceduredata[@eii='true']"> <xsl:attribute name="eiiName"> - <xsl:value-of select="concat(key('index', $eiiTypeId)/apidata/@name, '.', $name)"/> + <xsl:choose> + <xsl:when test="$templatesTotal>0"> + <xsl:value-of select="concat(key('index', $eiiTypeId)/apidata/@name, '.', $apidataName,'``',string($templatesTotal))"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat(key('index', $eiiTypeId)/apidata/@name, '.', $apidataName)"/> + </xsl:otherwise> + </xsl:choose> </xsl:attribute> </xsl:if> </topicdata> <xsl:for-each select="*"> <xsl:choose> <xsl:when test="local-name(.)='containers'"> - <xsl:variable name="assembly" select="library/@assembly"/> - <xsl:choose> - <xsl:when test="not(/*/assemblies/assembly[@name=$assembly]/attributes/attribute[type/@api='T:System.Security.AllowPartiallyTrustedCallersAttribute'])"> - <containers> - <library> - <xsl:copy-of select="library/@*"/> - <xsl:copy-of select="/*/assemblies/assembly[@name=$assembly]/assemblydata"/> - <noAptca/> - </library> - <xsl:copy-of select="namespace"/> - <xsl:copy-of select="type"/> - </containers> - </xsl:when> - <xsl:otherwise> - <containers> - <library> - <xsl:copy-of select="library/@*"/> - <xsl:copy-of select="/*/assemblies/assembly[@name=$assembly]/assemblydata"/> - </library> - <xsl:copy-of select="namespace"/> - <xsl:copy-of select="type"/> - </containers> - </xsl:otherwise> - </xsl:choose> + <containers> + <xsl:for-each select="library"> + <xsl:call-template name="addLibraryAssemblyData"> + <xsl:with-param name="addNoAptca" select="'true'" /> + </xsl:call-template> + </xsl:for-each> + <xsl:copy-of select="namespace"/> + <xsl:copy-of select="type"/> + </containers> </xsl:when> <xsl:when test="local-name(.)='memberdata'"> - <memberdata> - <xsl:copy-of select="@*"/> - <!-- if the member is overloaded, add @overload = id of overload topic, if any --> - <xsl:choose> - <!-- skip this processing for members that cannot be overloaded --> - <xsl:when test="$subgroup='field'"/> - <xsl:otherwise> - <xsl:variable name="siblingElements" select="key('index',$typeId)/elements"/> - <xsl:variable name="siblingApiInfo" select="key('index',$siblingElements/element[not(apidata)]/@api) | $siblingElements/element[apidata]" /> - - <xsl:variable name="overloadSet" > - <xsl:choose> - <xsl:when test="$isEII='true'"> - <xsl:copy-of select="$siblingApiInfo[proceduredata/@eii='true' and implements/member/type/@api=$eiiTypeId and apidata[@name=$name and @subgroup=$subgroup and (@subsubgroup=$subsubgroup or (not(boolean($subsubgroup)) and not(@subsubgroup)))]]" /> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$siblingApiInfo[not(proceduredata/@eii='true') and apidata[@name=$name and @subgroup=$subgroup and (@subsubgroup=$subsubgroup or (not(boolean($subsubgroup)) and not(@subsubgroup)))]]" /> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="signatureSet"> - <xsl:call-template name="GetSignatureSet"> - <xsl:with-param name="name" select="$name" /> - <xsl:with-param name="overloadSet" select="msxsl:node-set($overloadSet)"/> - <xsl:with-param name="typeId" select="$typeId"/> - </xsl:call-template> - </xsl:variable> - <xsl:if test="count(msxsl:node-set($signatureSet)/*) > 1"> - <!-- the api is overloaded, so add @overload = idOfOverloadTopic --> - <xsl:attribute name="overload"> - <xsl:call-template name="overloadId"> - <xsl:with-param name="typeId" select="$typeId" /> - <xsl:with-param name="name" select="$name"/> - <xsl:with-param name="isEII" select="$isEII"/> - <xsl:with-param name="eiiFullName"> - <!-- for EII members, apidata/@name is just the member's base name, e.g. "OnDragDrop" - but we need the full name of the implemented member, e.g. "System#Windows#Forms#IDropTarget#OnDragDrop" --> - <xsl:if test="$isEII='true'"> - <!-- strip off any parameters from the end of the id --> - <xsl:variable name="idWithoutParams"> - <xsl:call-template name="RemoveParametersFromId"/> - </xsl:variable> - <xsl:variable name="containingTypeName" select="substring(containers/type/@api,3)"/> - <!-- remove the containing type name from the beginning of the member's name --> - <xsl:value-of select="substring-after($idWithoutParams,$containingTypeName)"/> - </xsl:if> - </xsl:with-param> - <xsl:with-param name="subgroup" select="$subgroup"/> - <xsl:with-param name="subsubgroup" select="$subsubgroup"/> - </xsl:call-template> - </xsl:attribute> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - <!-- memberdata shouldn't have any children, but copy just in case --> - <xsl:copy-of select="*"/> - </memberdata> + <memberdata> + <xsl:copy-of select="@*"/> + <!-- if the member is overloaded, add @overload = id of overload topic, if any --> + <xsl:choose> + <!-- skip this processing for members that cannot be overloaded --> + <xsl:when test="$subgroup='field'"/> + <xsl:when test="$isEII='true'"> + <!-- get all the elements of this type --> + <xsl:variable name="siblingElements" select="key('index',$typeId)/elements"/> + <!-- get the reflection data for each element, e.g. parameters, apidata, etc. --> + <xsl:variable name="siblingApiInfo" select="key('index',$siblingElements/element[not(apidata)]/@api) | $siblingElements/element[apidata]" /> + <!-- get the set of sibling elements that are overloads of the current member --> + <xsl:variable name="overloadSet" select=" + $siblingApiInfo[ + proceduredata/@eii='true' and implements/member/type/@api=$eiiTypeId and + apidata[ + @name=$apidataName and + @subgroup=$subgroup and + (@subsubgroup=$subsubgroup or (not(@subsubgroup) and normalize-space($subsubgroup)='')) + ] and + (count(templates/*) = $templatesTotal) and + (count(templates/template) = $templateParams) and + (count(templates/*[not(self::template)]) = $templateArgs) + ]" /> + <!-- When the reflection data includes multiple versions, $overloadSet may include multiple elements that have + the same signature (same params and return type), which we call a signatureset. + For example, NetFx and CF apis that have the same signature but different ids. + These are treated as a primary <element> node for the NetFx api, with a nested <element> node for CF api. + --> + <xsl:variable name="signatureSet"> + <xsl:call-template name="GetSignatureSet"> + <xsl:with-param name="apidataName" select="$apidataName" /> + <xsl:with-param name="overloadSet" select="$overloadSet"/> + <xsl:with-param name="typeId" select="$typeId"/> + </xsl:call-template> + </xsl:variable> + <!-- it's an overload if there are multiple signaturesets --> + <xsl:if test="count(msxsl:node-set($signatureSet)/*) > 1"> + <!-- the api is overloaded, so add @overload = idOfOverloadTopic --> + <xsl:attribute name="overload"> + <xsl:call-template name="eiiOverloadId"> + <xsl:with-param name="typeId" select="$containingType" /> + <xsl:with-param name="idWithoutParams" select="$idWithoutParams"/> + <xsl:with-param name="containingTypeName" select="substring($containingType,3)"/> + </xsl:call-template> + </xsl:attribute> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="siblingElements" select="key('index',$typeId)/elements"/> + <xsl:variable name="siblingApiInfo" select="key('index',$siblingElements/element[not(apidata)]/@api) | $siblingElements/element[apidata]" /> + <xsl:variable name="overloadSet" select=" + $siblingApiInfo[ + not(proceduredata/@eii='true') and + apidata[ + @name=$apidataName and + @subgroup=$subgroup and + (@subsubgroup=$subsubgroup or (not(@subsubgroup) and normalize-space($subsubgroup)='')) + ] and + (count(templates/*) = $templatesTotal) and + (count(templates/template) = $templateParams) and + (count(templates/*[not(self::template)]) = $templateArgs) + ]" /> + <xsl:variable name="signatureSet"> + <xsl:call-template name="GetSignatureSet"> + <xsl:with-param name="apidataName" select="$apidataName" /> + <xsl:with-param name="overloadSet" select="$overloadSet"/> + <xsl:with-param name="typeId" select="$typeId"/> + </xsl:call-template> + </xsl:variable> + <xsl:if test="count(msxsl:node-set($signatureSet)/*) > 1"> + <!-- the api is overloaded, so add @overload = idOfOverloadTopic --> + <xsl:attribute name="overload"> + <xsl:call-template name="overloadId"> + <xsl:with-param name="typeId" select="$typeId"/> + <xsl:with-param name="name" select="$apidataName"/> + <xsl:with-param name="templatesTotal" select="$templatesTotal"/> + <xsl:with-param name="subgroup" select="$subgroup"/> + <xsl:with-param name="subsubgroup" select="$subsubgroup"/> + </xsl:call-template> + </xsl:attribute> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + <!-- memberdata shouldn't have any children, but copy just in case --> + <xsl:copy-of select="*"/> + </memberdata> </xsl:when> <xsl:otherwise> <xsl:copy-of select="."/> @@ -164,7 +195,7 @@ </xsl:template> <!-- Special logic for type APIs --> - + <xsl:template name="UpdateTypeApiNode"> <xsl:param name="derivedTypesTopicId" /> <xsl:param name="allMembersTopicId" /> @@ -179,7 +210,7 @@ <topicdata group="api" /> </xsl:otherwise> </xsl:choose> - + <xsl:for-each select="*"> <xsl:choose> <xsl:when test="self::elements"> @@ -218,11 +249,9 @@ </xsl:when> <xsl:when test="local-name(.)='containers'"> <containers> - <xsl:variable name="assembly" select="library/@assembly"/> - <library> - <xsl:copy-of select="library/@*"/> - <xsl:copy-of select="/*/assemblies/assembly[@name=$assembly]/assemblydata"/> - </library> + <xsl:for-each select="library"> + <xsl:call-template name="addLibraryAssemblyData"/> + </xsl:for-each> <xsl:copy-of select="namespace"/> <xsl:copy-of select="type"/> </containers> @@ -235,8 +264,22 @@ </api> </xsl:template> + <xsl:template name="addLibraryAssemblyData"> + <xsl:param name="addNoAptca" /> + <xsl:variable name="assembly" select="@assembly"/> + <library> + <xsl:copy-of select="@*"/> + <xsl:for-each select="/*/assemblies/assembly[@name=$assembly]/assemblydata"> + <assemblydata version="{@version}" /> + </xsl:for-each> + <xsl:if test="$addNoAptca='true' and not(/*/assemblies/assembly[@name=$assembly]/attributes/attribute[type/@api='T:System.Security.AllowPartiallyTrustedCallersAttribute'])"> + <noAptca/> + </xsl:if> + </library> + </xsl:template> + <!-- Type logic; types get a lot of massaging to create member list pages, overload pages, etc. --> - + <xsl:template match="api[apidata/@group='type']"> <xsl:variable name="typeId" select="@id" /> @@ -279,11 +322,9 @@ </xsl:for-each> </elements> <containers> - <xsl:variable name="assembly" select="containers/library/@assembly"/> - <library> - <xsl:copy-of select="containers/library/@*"/> - <xsl:copy-of select="/*/assemblies/assembly[@name=$assembly]/assemblydata"/> - </library> + <xsl:for-each select="containers/library"> + <xsl:call-template name="addLibraryAssemblyData"/> + </xsl:for-each> <xsl:copy-of select="containers/namespace"/> <xsl:copy-of select="containers/type"/> </containers> @@ -308,28 +349,30 @@ </xsl:call-template> </xsl:for-each> <containers> - <xsl:variable name="assembly" select="containers/library/@assembly"/> - <library> - <xsl:copy-of select="containers/library/@*"/> - <xsl:copy-of select="/*/assemblies/assembly[@name=$assembly]/assemblydata"/> - </library> + <xsl:for-each select="containers/library"> + <xsl:call-template name="addLibraryAssemblyData"/> + </xsl:for-each> <xsl:copy-of select="containers/namespace"/> <xsl:copy-of select="containers/type"/> </containers> </api> </xsl:if> - <!-- method/operator list topic --> - <!-- pass in $declaredMembers and $members so subsubgroup=operator is not exclude --> - <xsl:variable name="declaredPrefix" select="concat(substring-after($typeId,':'), '.')"/> + <!-- method/extension method list topic --> + <!-- pass in $members so subsubgroup=operator IS excluded and subsubgroup=extension IS NOT excluded --> <xsl:call-template name="AddMemberlistAPI"> <xsl:with-param name="subgroup">method</xsl:with-param> <xsl:with-param name="topicSubgroup">Methods</xsl:with-param> <xsl:with-param name="typeId" select="$typeId" /> - <xsl:with-param name="declaredMembers" select="key('index',elements/element[not(apidata)][starts-with(substring-after(@api,':'), $declaredPrefix)]/@api)[apidata[@subgroup='method']] - | elements/element[starts-with(substring-after(@api,':'), $declaredPrefix)][apidata[@subgroup='method']]"/> - <xsl:with-param name="members" select="key('index',elements/element[not(apidata)]/@api)[apidata[@subgroup='method']] - | elements/element[apidata[@subgroup='method']]"/> + <xsl:with-param name="members" select="key('index',elements/element[not(apidata)]/@api)[apidata[@subgroup='method' and not(@subsubgroup='operator')]] + | elements/element[apidata[@subgroup='method' and not(@subsubgroup='operator')]]"/> + </xsl:call-template> + + <!-- operator list topic --> + <xsl:call-template name="AddMemberlistAPI"> + <xsl:with-param name="subsubgroup">operator</xsl:with-param> + <xsl:with-param name="topicSubgroup">Operators</xsl:with-param> + <xsl:with-param name="typeId" select="$typeId" /> </xsl:call-template> <!-- propety list topic --> @@ -373,7 +416,7 @@ </xsl:call-template> </xsl:if> - + </xsl:template> <!-- --> @@ -391,7 +434,7 @@ </xsl:template> <!-- overload topics --> - + <xsl:template name="overloadTopics"> <xsl:param name="allMembersTopicId"/> <xsl:variable name="typeId" select="@id"/> @@ -399,132 +442,212 @@ <xsl:variable name="declaredPrefix" select="concat(substring($typeId,2), '.')"/> <xsl:for-each select="$members"> - <xsl:variable name="name" select="apidata/@name"/> - <xsl:variable name="memberId" select="@id | @api"/> + <xsl:variable name="apidataName" select="apidata/@name"/> + <xsl:variable name="templatesTotal" select="count(templates/*)"/> + <xsl:variable name="templateParams" select="count(templates/template)"/> + <xsl:variable name="templateArgs" select="count(templates/*[not(self::template)])"/> + <!-- strip off any parameters from the end of the id --> + <xsl:variable name="idWithoutParams"> + <xsl:call-template name="RemoveParametersFromId"/> + </xsl:variable> <xsl:variable name="subgroup" select="apidata/@subgroup" /> <xsl:variable name="subsubgroup" select="apidata/@subsubgroup" /> - <xsl:variable name="eiiTypeId" select="implements/member/type/@api" /> - <xsl:variable name="isEII" select="proceduredata/@eii"/> + <xsl:variable name="memberId" select="@id | @api"/> - <xsl:variable name="overloadSet" > - <xsl:choose> - <xsl:when test="$isEII='true'"> - <xsl:copy-of select="$members[proceduredata/@eii='true' and implements/member/type/@api=$eiiTypeId and apidata[@name=$name and @subgroup=$subgroup and (@subsubgroup=$subsubgroup or (not(boolean($subsubgroup)) and not(@subsubgroup)))]]" /> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$members[not(proceduredata/@eii='true') and apidata[@name=$name and @subgroup=$subgroup and (@subsubgroup=$subsubgroup or (not(boolean($subsubgroup)) and not(@subsubgroup)))]]" /> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> + <xsl:choose> + <!-- handle EII members --> + <xsl:when test="proceduredata/@eii='true'"> + <xsl:variable name="eiiTypeId" select="implements/member/type/@api" /> + <!-- get the set of overloads: EII members with same name and subgroup --> + <xsl:variable name="overloadSet" select=" + $members[ + proceduredata/@eii='true' and implements/member/type/@api=$eiiTypeId and + apidata[ + @name=$apidataName and + @subgroup=$subgroup and + (@subsubgroup=$subsubgroup or (not(@subsubgroup) and normalize-space($subsubgroup)='')) + ] and + (count(templates/*) = $templatesTotal) and + (count(templates/template) = $templateParams) and + (count(templates/*[not(self::template)]) = $templateArgs) + ]" /> - <!-- are there any declared members in the overload set? --> - <xsl:variable name="declaredMembers" select="msxsl:node-set($overloadSet)/*[starts-with(substring(@id,2),$declaredPrefix)]" /> - - <!-- if more than one member in overloadSet, add an overload topic if necessary --> - <xsl:if test="(count(msxsl:node-set($overloadSet)/*) > 1) and msxsl:node-set($overloadSet)/*[1][@id=$memberId or @api=$memberId]"> - <!-- When merging multiple versions, an overload set may have multiple members with the same signature, + <!-- are there any declared members in the overload set? --> + <xsl:variable name="declaredMembers" select="$overloadSet[starts-with(substring(@id,2),$declaredPrefix)]" /> + + <!-- if more than one member in overloadSet, add an overload topic if necessary --> + <xsl:if test="(count($overloadSet) > 1) and $overloadSet[1][@id=$memberId or @api=$memberId]"> + <!-- When merging multiple versions, an overload set may have multiple members with the same signature, e.g. when one version inherits a member and another version overrides it. We want an overload topic only when there are multiple signatures. --> - <!-- get the set of unique signatures for this overload set --> - <xsl:variable name="signatureSet"> - <xsl:call-template name="GetSignatureSet"> - <xsl:with-param name="overloadSet" select="msxsl:node-set($overloadSet)"/> - <xsl:with-param name="typeId" select="$typeId"/> - </xsl:call-template> - </xsl:variable> - <xsl:choose> - <!-- don't need an overload topic if only one signature --> - <xsl:when test="count(msxsl:node-set($signatureSet)/*) < 2"/> - <!-- don't need an overload topic if all overloads are inherited and config'd to omit overload topics when all are inherited --> - <xsl:when test="(not(boolean($declaredMembers)) and $IncludeInheritedOverloadTopics='false')"/> - <xsl:otherwise> - - <api> - <xsl:attribute name="id"> - <xsl:call-template name="overloadId"> - <xsl:with-param name="typeId" select="$typeId" /> - <xsl:with-param name="name" select="$name"/> - <xsl:with-param name="isEII" select="$isEII"/> - <xsl:with-param name="eiiFullName"> - <!-- for EII members, apidata/@name is just the member's base name, e.g. "OnDragDrop" - but we need the full name of the implemented member, e.g. "System#Windows#Forms#IDropTarget#OnDragDrop" --> - <xsl:if test="$isEII='true'"> - <!-- strip off any parameters from the end of the id --> - <xsl:variable name="idWithoutParams"> - <xsl:call-template name="RemoveParametersFromId"/> - </xsl:variable> - <xsl:variable name="containingTypeName" select="substring(containers/type/@api,3)"/> - <!-- remove the containing type name from the beginning of the member's name --> - <xsl:value-of select="substring-after($idWithoutParams,$containingTypeName)"/> - </xsl:if> - </xsl:with-param> - <xsl:with-param name="subgroup" select="$subgroup"/> - <xsl:with-param name="subsubgroup" select="$subsubgroup"/> - </xsl:call-template> - </xsl:attribute> - <topicdata name="{apidata/@name}" group="list" subgroup="overload" memberSubgroup="{$subgroup}" pseudo="true" allMembersTopicId="{$allMembersTopicId}"> - <xsl:if test="not(boolean($declaredMembers))"> - <xsl:attribute name="allInherited">true</xsl:attribute> - <xsl:attribute name="parentTopicId"> - <xsl:call-template name="overloadId"> - <xsl:with-param name="typeId" select="$typeId" /> - <xsl:with-param name="name" select="$name"/> - <xsl:with-param name="isEII" select="$isEII"/> - <xsl:with-param name="eiiFullName"> - <!-- for EII members, apidata/@name is just the member's base name, e.g. "OnDragDrop" - but we need the full name of the implemented member, e.g. "System#Windows#Forms#IDropTarget#OnDragDrop" --> - <xsl:if test="$isEII='true'"> - <!-- strip off any parameters from the end of the id --> - <xsl:variable name="idWithoutParams"> - <xsl:call-template name="RemoveParametersFromId"/> - </xsl:variable> - <xsl:variable name="containingTypeName" select="substring(containers/type/@api,3)"/> - <!-- remove the containing type name from the beginning of the member's name --> - <xsl:value-of select="substring-after($idWithoutParams,$containingTypeName)"/> - </xsl:if> - </xsl:with-param> - <xsl:with-param name="subgroup" select="$subgroup"/> - <xsl:with-param name="subsubgroup" select="$subsubgroup"/> - </xsl:call-template> - </xsl:attribute> - </xsl:if> - </topicdata> - <xsl:copy-of select="apidata" /> - <!-- elements --> - <elements> - <xsl:for-each select="msxsl:node-set($signatureSet)/*"> - <xsl:copy-of select="."/> - </xsl:for-each> - </elements> - <!-- containers --> - <xsl:choose> - <xsl:when test="boolean($declaredMembers)"> - <containers> - <xsl:variable name="assembly" select="$declaredMembers[1]/containers/library/@assembly"/> - <library> - <xsl:copy-of select="$declaredMembers[1]/containers/library/@*"/> - <xsl:copy-of select="/*/assemblies/assembly[@name=$assembly]/assemblydata"/> - </library> - <xsl:copy-of select="$declaredMembers[1]/containers/namespace"/> - <xsl:copy-of select="$declaredMembers[1]/containers/type"/> - </containers> - </xsl:when> - <xsl:otherwise> - <containers> - <xsl:variable name="assembly" select="key('index',$typeId)/containers/library/@assembly"/> - <library> - <xsl:copy-of select="key('index',$typeId)/containers/library/@*"/> - <xsl:copy-of select="/*/assemblies/assembly[@name=$assembly]/assemblydata"/> - </library> - <xsl:copy-of select="key('index',$typeId)/containers/namespace"/> - <type api="{$typeId}"/> - </containers> - </xsl:otherwise> - </xsl:choose> - </api> - </xsl:otherwise> - </xsl:choose> - </xsl:if> + <!-- get the set of unique signatures for this overload set --> + <xsl:variable name="signatureSet"> + <xsl:call-template name="GetSignatureSet"> + <xsl:with-param name="overloadSet" select="$overloadSet"/> + <xsl:with-param name="typeId" select="$typeId"/> + </xsl:call-template> + </xsl:variable> + <xsl:choose> + <!-- don't need an overload topic if only one signature --> + <xsl:when test="count(msxsl:node-set($signatureSet)/*) < 2"/> + <!-- don't need an overload topic if all overloads are inherited and config'd to omit overload topics when all are inherited --> + <xsl:when test="(not(boolean($declaredMembers)) and $IncludeInheritedOverloadTopics='false')"/> + <!-- otherwise, add an overload topic --> + <xsl:otherwise> + <api> + <xsl:attribute name="id"> + <xsl:call-template name="eiiOverloadId"> + <xsl:with-param name="typeId" select="$typeId" /> + <xsl:with-param name="idWithoutParams" select="$idWithoutParams"/> + <xsl:with-param name="containingTypeName" select="substring(containers/type/@api,3)"/> + </xsl:call-template> + </xsl:attribute> + <topicdata name="{apidata/@name}" group="list" subgroup="overload" memberSubgroup="{$subgroup}" pseudo="true" allMembersTopicId="{$allMembersTopicId}"> + <xsl:if test="not(boolean($declaredMembers))"> + <xsl:attribute name="allInherited">true</xsl:attribute> + <xsl:attribute name="parentTopicId"> + <xsl:call-template name="eiiOverloadId"> + <xsl:with-param name="typeId" select="containers/type/@api" /> + <xsl:with-param name="idWithoutParams" select="$idWithoutParams"/> + <xsl:with-param name="containingTypeName" select="substring(containers/type/@api,3)"/> + </xsl:call-template> + </xsl:attribute> + </xsl:if> + </topicdata> + <xsl:copy-of select="apidata" /> + <xsl:copy-of select="templates" /> + <!-- elements --> + <elements> + <xsl:for-each select="msxsl:node-set($signatureSet)/*"> + <xsl:copy-of select="."/> + </xsl:for-each> + </elements> + <!-- containers --> + <xsl:choose> + <xsl:when test="boolean($declaredMembers)"> + <containers> + <xsl:for-each select="$declaredMembers[1]/containers/library"> + <xsl:call-template name="addLibraryAssemblyData"/> + </xsl:for-each> + <xsl:copy-of select="$declaredMembers[1]/containers/namespace"/> + <xsl:copy-of select="$declaredMembers[1]/containers/type"/> + </containers> + </xsl:when> + <xsl:otherwise> + <containers> + <xsl:for-each select="key('index',$typeId)/containers/library"> + <xsl:call-template name="addLibraryAssemblyData"/> + </xsl:for-each> + <xsl:copy-of select="key('index',$typeId)/containers/namespace"/> + <type api="{$typeId}"/> + </containers> + </xsl:otherwise> + </xsl:choose> + </api> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:when> + + <!-- handle non-EII members --> + <xsl:otherwise> + <!-- get the set of non-EII members with same name and subgroup --> + <xsl:variable name="overloadSet" select=" + $members[ + not(proceduredata/@eii='true') and + apidata[ + @name=$apidataName and + @subgroup=$subgroup and + (@subsubgroup=$subsubgroup or (not(@subsubgroup) and normalize-space($subsubgroup)='')) + ] and + (count(templates/*) = $templatesTotal) and + (count(templates/template) = $templateParams) and + (count(templates/*[not(self::template)]) = $templateArgs) + ]" /> + + <!-- are there any declared members in the overload set? --> + <xsl:variable name="declaredMembers" select="$overloadSet[starts-with(substring(@id,2),$declaredPrefix)]" /> + + <!-- if more than one member in overloadSet, add an overload topic if necessary --> + <xsl:if test="(count($overloadSet) > 1) and $overloadSet[1][@id=$memberId or @api=$memberId]"> + <!-- When merging multiple versions, an overload set may have multiple members with the same signature, + e.g. when one version inherits a member and another version overrides it. + We want an overload topic only when there are multiple signatures. --> + <!-- get the set of unique signatures for this overload set --> + <xsl:variable name="signatureSet"> + <xsl:call-template name="GetSignatureSet"> + <xsl:with-param name="overloadSet" select="$overloadSet"/> + <xsl:with-param name="typeId" select="$typeId"/> + </xsl:call-template> + </xsl:variable> + <xsl:choose> + <!-- don't need an overload topic if only one signature --> + <xsl:when test="count(msxsl:node-set($signatureSet)/*) < 2"/> + <!-- don't need an overload topic if all overloads are inherited and config'd to omit overload topics when all are inherited --> + <xsl:when test="(not(boolean($declaredMembers)) and $IncludeInheritedOverloadTopics='false')"/> + <!-- extension methods do not get overload topics --> + <xsl:when test="$subsubgroup='extension'"/> + <!-- otherwise, add an overload topic --> + <xsl:otherwise> + <api> + <xsl:attribute name="id"> + <xsl:call-template name="overloadId"> + <xsl:with-param name="typeId" select="$typeId"/> + <xsl:with-param name="name" select="$apidataName"/> + <xsl:with-param name="templatesTotal" select="$templatesTotal"/> + <xsl:with-param name="subgroup" select="$subgroup"/> + <xsl:with-param name="subsubgroup" select="$subsubgroup"/> + </xsl:call-template> + </xsl:attribute> + <topicdata name="{apidata/@name}" group="list" subgroup="overload" memberSubgroup="{$subgroup}" pseudo="true" allMembersTopicId="{$allMembersTopicId}"> + <xsl:if test="not(boolean($declaredMembers))"> + <xsl:attribute name="allInherited">true</xsl:attribute> + <xsl:attribute name="parentTopicId"> + <xsl:call-template name="overloadId"> + <xsl:with-param name="typeId" select="containers/type/@api"/> + <xsl:with-param name="name" select="$apidataName"/> + <xsl:with-param name="templatesTotal" select="$templatesTotal"/> + <xsl:with-param name="subgroup" select="$subgroup"/> + <xsl:with-param name="subsubgroup" select="$subsubgroup"/> + </xsl:call-template> + </xsl:attribute> + </xsl:if> + </topicdata> + <xsl:copy-of select="apidata" /> + <xsl:copy-of select="templates" /> + <!-- elements --> + <elements> + <xsl:for-each select="msxsl:node-set($signatureSet)/*"> + <xsl:copy-of select="."/> + </xsl:for-each> + </elements> + <!-- containers --> + <xsl:choose> + <xsl:when test="boolean($declaredMembers)"> + <containers> + <xsl:for-each select="$declaredMembers[1]/containers/library"> + <xsl:call-template name="addLibraryAssemblyData"/> + </xsl:for-each> + <xsl:copy-of select="$declaredMembers[1]/containers/namespace"/> + <xsl:copy-of select="$declaredMembers[1]/containers/type"/> + </containers> + </xsl:when> + <xsl:otherwise> + <containers> + <xsl:for-each select="key('index',$typeId)/containers/library"> + <xsl:call-template name="addLibraryAssemblyData"/> + </xsl:for-each> + <xsl:copy-of select="key('index',$typeId)/containers/namespace"/> + <type api="{$typeId}"/> + </containers> + </xsl:otherwise> + </xsl:choose> + </api> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:otherwise> + </xsl:choose> </xsl:for-each> </xsl:template> @@ -537,35 +660,33 @@ <xsl:otherwise> <xsl:variable name="elementId" select="@id"/> <xsl:for-each select="$root"> - <xsl:copy-of select="key('index', $typeId)/elements/element[@api=$elementId]"/> + <xsl:copy-of select="key('index', $typeId)/elements/element[@api=$elementId]"/> </xsl:for-each> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="GetSignatureSet"> - <xsl:param name="name" select="apidata/@name" /> + <xsl:param name="apidataName" select="apidata/@name" /> <xsl:param name="overloadSet"/> <xsl:param name="typeId"/> <xsl:choose> - <xsl:when test="count($overloadSet/*) = 1"> - <xsl:for-each select="$overloadSet/*"> + <xsl:when test="count($overloadSet) = 1"> + <xsl:for-each select="$overloadSet"> <xsl:call-template name="WriteElementNode"> <xsl:with-param name="typeId" select="$typeId"/> </xsl:call-template> </xsl:for-each> </xsl:when> <xsl:otherwise> - <xsl:for-each select="$overloadSet/*"> - <xsl:sort select="count(parameters/parameter)"/> - <xsl:for-each select="$root"> + <xsl:for-each select="$overloadSet"> + <xsl:sort select="count(parameters/parameter)" data-type="number"/> <xsl:sort select="key('index', parameters/parameter[1]//type[1]/@api)/apidata/@name"/> - </xsl:for-each> <xsl:variable name="memberId" select="@id | @api"/> <xsl:variable name="signature"> <xsl:call-template name="GetSignature"> - <xsl:with-param name="name" select="$name"/> + <xsl:with-param name="apidataName" select="$apidataName"/> </xsl:call-template> </xsl:variable> <xsl:variable name="sameParamSignatureSet" select="$overloadSet[contains(@id|@api,$signature) and string-length(substring-after(@id|@api,$signature))=0]"/> @@ -603,7 +724,18 @@ </xsl:choose> </xsl:variable> <xsl:for-each select="$sameSignatureSet[@id=$primaryMemberId or @api=$primaryMemberId]"> - <element api="{$primaryMemberId}" signatureset=""> + <xsl:variable name="nonPrimaryVersionElementSet"> + <xsl:call-template name="nonPrimaryVersionElements"> + <xsl:with-param name="usedIds" select="concat($primaryMemberId,';')"/> + <xsl:with-param name="elementSet" select="$elementSet"/> + <xsl:with-param name="sameSignatureSet" select="$sameSignatureSet"/> + <xsl:with-param name="typeId" select="$typeId"/> + </xsl:call-template> + </xsl:variable> + <element api="{$primaryMemberId}"> + <xsl:if test="count(msxsl:node-set($nonPrimaryVersionElementSet)/*) > 0"> + <xsl:attribute name="signatureset"/> + </xsl:if> <!-- copy attributes and innerxml from the original element node --> <xsl:choose> <xsl:when test="local-name()='element'"> @@ -612,17 +744,12 @@ </xsl:when> <xsl:otherwise> <xsl:for-each select="$root"> - <xsl:copy-of select="key('index', $typeId)/elements/element[@api=$primaryMemberId]/@*"/> + <xsl:copy-of select="key('index', $typeId)/elements/element[@api=$primaryMemberId]/@*"/> </xsl:for-each> </xsl:otherwise> </xsl:choose> <!-- for the secondary version groups, copy in the signatureset's latest member (if different from primary member) --> - <xsl:call-template name="nonPrimaryVersionElements"> - <xsl:with-param name="usedIds" select="concat($primaryMemberId,';')"/> - <xsl:with-param name="elementSet" select="$elementSet"/> - <xsl:with-param name="sameSignatureSet" select="$sameSignatureSet"/> - <xsl:with-param name="typeId" select="$typeId"/> - </xsl:call-template> + <xsl:copy-of select="msxsl:node-set($nonPrimaryVersionElementSet)/*"/> </element> </xsl:for-each> </xsl:if> @@ -685,7 +812,7 @@ </xsl:if> </xsl:if> </xsl:template> - + <xsl:template name="GetSignatureWithLatestVersion"> <xsl:param name="versionGroup"/> <xsl:param name="signatureset"/> @@ -716,19 +843,19 @@ <!-- --> <xsl:template name="GetSignature"> - <xsl:param name="name" /> + <xsl:param name="apidataName" /> <xsl:param name="memberId" select="@id | @api"/> <xsl:variable name="paramString" select="substring-after($memberId,'(')"/> <xsl:variable name="tickString" select="substring-after($memberId,'``')"/> <xsl:variable name="memberName"> <xsl:choose> - <xsl:when test="$name='.ctor' or $name='.cctor'">ctor</xsl:when> + <xsl:when test="$apidataName='.ctor' or $apidataName='.cctor'">ctor</xsl:when> <!-- for explicit interface implementation members, return the membername with # instead of ., so it matches cref ids --> <xsl:when test="memberdata[@visibility='private'] and proceduredata[@virtual = 'true']"> - <xsl:value-of select="translate($name,'.','#')"/> + <xsl:value-of select="translate($apidataName,'.','#')"/> </xsl:when> <xsl:otherwise> - <xsl:value-of select="$name"/> + <xsl:value-of select="$apidataName"/> </xsl:otherwise> </xsl:choose> </xsl:variable> @@ -744,30 +871,23 @@ </xsl:otherwise> </xsl:choose> </xsl:template> - + <!-- member list topics --> - + <xsl:template name="AddMemberlistAPI"> <xsl:param name="subgroup"/> <xsl:param name="subsubgroup"/> <xsl:param name="topicSubgroup"/> <xsl:param name="typeId" /> - <xsl:param name="declaredPrefix" select="concat(substring-after($typeId,':'), '.')"/> - <!-- get the type's declared members for this subgroup --> - <xsl:param name="declaredMembers" select="key('index',elements/element[not(apidata)][starts-with(substring-after(@api,':'), $declaredPrefix)]/@api)[apidata[($subgroup='' and @subsubgroup=$subsubgroup) or ($subsubgroup='' and not(@subsubgroup) and @subgroup=$subgroup)]] - | elements/element[starts-with(substring-after(@api,':'), $declaredPrefix)][apidata[($subgroup='' and @subsubgroup=$subsubgroup) or ($subsubgroup='' and not(@subsubgroup) and @subgroup=$subgroup)]]"/> <!-- get all the type's members for this subgroup --> <xsl:param name="members" select="key('index',elements/element[not(apidata)]/@api)[apidata[($subgroup='' and @subsubgroup=$subsubgroup) or ($subsubgroup='' and not(@subsubgroup) and @subgroup=$subgroup)]] | elements/element[apidata[($subgroup='' and @subsubgroup=$subsubgroup) or ($subsubgroup='' and not(@subsubgroup) and @subgroup=$subgroup)]]"/> - <!-- add a member list topic only if the type has declared members --> - <!--<xsl:if test="count($declaredMembers) > 0">--> - <!-- Fix for bug:365255, add a member list topic for all the type's members--> <xsl:if test="count($members) > 0"> <api> <xsl:attribute name="id"> - <xsl:value-of select="concat($topicSubgroup, '.', $typeId)"/> + <xsl:value-of select="concat($topicSubgroup, '.', $typeId)"/> </xsl:attribute> <topicdata name="{apidata/@name}" group="list" subgroup="{$topicSubgroup}"> <xsl:if test="boolean($subsubgroup)"> @@ -788,15 +908,13 @@ <xsl:with-param name="typeId" select="$typeId"/> </xsl:call-template> <containers> - <xsl:variable name="assembly" select="containers/library/@assembly"/> - <library> - <xsl:copy-of select="containers/library/@*"/> - <xsl:copy-of select="/*/assemblies/assembly[@name=$assembly]/assemblydata"/> - </library> + <xsl:for-each select="containers/library"> + <xsl:call-template name="addLibraryAssemblyData"/> + </xsl:for-each> <xsl:copy-of select="containers/namespace"/> <xsl:copy-of select="containers/type"/> </containers> - </api> + </api> </xsl:if> </xsl:template> @@ -807,14 +925,76 @@ <elements> <xsl:for-each select="$members"> - <xsl:variable name="name" select="apidata/@name"/> + <xsl:variable name="apidataName" select="apidata/@name"/> + <xsl:variable name="templatesTotal" select="count(templates/*)"/> + <xsl:variable name="templateParams" select="count(templates/template)"/> + <xsl:variable name="templateArgs" select="count(templates/*[not(self::template)])"/> + <!-- strip off any parameters from the end of the id --> + <xsl:variable name="idWithoutParams"> + <xsl:call-template name="RemoveParametersFromId"/> + </xsl:variable> <xsl:variable name="subgroup" select="apidata/@subgroup" /> <xsl:variable name="subsubgroup" select="apidata/@subsubgroup" /> <xsl:variable name="memberId" select="@id | @api"/> - <xsl:variable name="isEII" select="proceduredata/@eii"/> - <xsl:variable name="eiiTypeId" select="implements/member/type/@api"/> <xsl:choose> + <!-- handle EII members --> + <xsl:when test="proceduredata/@eii='true'"> + <xsl:variable name="eiiTypeId" select="implements/member/type/@api"/> + <!-- get the set of overloads: EII members with same name and subgroup --> + <xsl:variable name="overloadSet" select=" + $members[ + proceduredata/@eii='true' and implements/member/type/@api=$eiiTypeId and + apidata[ + @name=$apidataName and + @subgroup=$subgroup and + (@subsubgroup=$subsubgroup or (not(@subsubgroup) and normalize-space($subsubgroup)='')) + ] and + (count(templates/*) = $templatesTotal) and + (count(templates/template) = $templateParams) and + (count(templates/*[not(self::template)]) = $templateArgs) + ]" /> + + <!-- are there any declared members in the overload set? --> + <xsl:variable name="declaredMembers" select="$overloadSet[starts-with(substring(@id,2),$declaredPrefix)]" /> + + <xsl:variable name="signatureSet"> + <xsl:call-template name="GetSignatureSet"> + <xsl:with-param name="overloadSet" select="$overloadSet"/> + <xsl:with-param name="typeId" select="$typeId"/> + </xsl:call-template> + </xsl:variable> + + <!-- make sure we add to the list only once --> + <xsl:if test="$overloadSet[1][@id=$memberId or @api=$memberId]"> + <!-- When merging multiple versions, an overload set may have multiple members with the same signature, + e.g. when one version inherits a member and another version overrides it. + We want an overload topic only when there are multiple signatures. --> + <!-- get the set of unique signatures for this overload set --> + <xsl:choose> + <!-- don't need an overload topic if only one signature --> + <xsl:when test="count(msxsl:node-set($signatureSet)/*) = 1"> + <xsl:copy-of select="msxsl:node-set($signatureSet)/*"/> + </xsl:when> + <!-- just copy the elements if all overloads are inherited and config'd to omit overload topics when all are inherited --> + <xsl:when test="(not(boolean($declaredMembers)) and $IncludeInheritedOverloadTopics='false')"> + <xsl:copy-of select="msxsl:node-set($signatureSet)/*"/> + </xsl:when> + <xsl:otherwise> + <element> + <xsl:attribute name="api"> + <xsl:call-template name="eiiOverloadId"> + <xsl:with-param name="typeId" select="$typeId" /> + <xsl:with-param name="idWithoutParams" select="$idWithoutParams"/> + <xsl:with-param name="containingTypeName" select="substring(containers/type/@api,3)"/> + </xsl:call-template> + </xsl:attribute> + <xsl:copy-of select="msxsl:node-set($signatureSet)/*"/> + </element> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:when> <!-- field members cannot be overloaded, so skip the overload logic and just write the element node --> <xsl:when test="$subgroup='field'"> @@ -823,38 +1003,38 @@ </xsl:call-template> </xsl:when> - <!-- for members, handle overloads and signature sets --> + <!-- for other non-EII members, handle overloads and signature sets --> <xsl:otherwise> - <!-- get the set of overloads --> - <xsl:variable name="overloadSet" > - <xsl:choose> - <xsl:when test="$isEII='true'"> - <xsl:copy-of select="$members[proceduredata/@eii='true' and implements/member/type/@api=$eiiTypeId and apidata[@name=$name and @subgroup=$subgroup and (@subsubgroup=$subsubgroup or (not(boolean($subsubgroup)) and not(@subsubgroup)))]]" /> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$members[not(proceduredata/@eii='true') and apidata[@name=$name and @subgroup=$subgroup and (@subsubgroup=$subsubgroup or (not(boolean($subsubgroup)) and not(@subsubgroup)))]]" /> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> + <!-- get the set of overloads: non-EII members with same name and subgroup --> + <xsl:variable name="overloadSet" select=" + $members[ + not(proceduredata/@eii='true') and + apidata[ + @name=$apidataName and + @subgroup=$subgroup and + (@subsubgroup=$subsubgroup or (not(@subsubgroup) and normalize-space($subsubgroup)='')) + ] and + (count(templates/*) = $templatesTotal) and + (count(templates/template) = $templateParams) and + (count(templates/*[not(self::template)]) = $templateArgs) + ]"/> <!-- are there any declared members in the overload set? --> - <xsl:variable name="declaredMembers" select="msxsl:node-set($overloadSet)/*[starts-with(substring(@id,2),$declaredPrefix)]" /> + <xsl:variable name="declaredMembers" select="$overloadSet[starts-with(substring(@id,2),$declaredPrefix)]" /> <xsl:variable name="signatureSet"> <xsl:call-template name="GetSignatureSet"> - <xsl:with-param name="overloadSet" select="msxsl:node-set($overloadSet)"/> + <xsl:with-param name="overloadSet" select="$overloadSet"/> <xsl:with-param name="typeId" select="$typeId"/> </xsl:call-template> </xsl:variable> <!-- make sure we add to the list only once --> - <xsl:if test="msxsl:node-set($overloadSet)/*[1][@id=$memberId or @api=$memberId]"> + <xsl:if test="$overloadSet[1][@id=$memberId or @api=$memberId]"> <!-- When merging multiple versions, an overload set may have multiple members with the same signature, e.g. when one version inherits a member and another version overrides it. We want an overload topic only when there are multiple signatures. --> <!-- get the set of unique signatures for this overload set --> - <!-- - --> <xsl:choose> <!-- don't need an overload topic if only one signature --> <xsl:when test="count(msxsl:node-set($signatureSet)/*) = 1"> @@ -864,26 +1044,24 @@ <xsl:when test="(not(boolean($declaredMembers)) and $IncludeInheritedOverloadTopics='false')"> <xsl:copy-of select="msxsl:node-set($signatureSet)/*"/> </xsl:when> + <!-- no overload topics for extension methods --> + <!-- but we need to mark the elements as overloaded (so the memberlist link shows parameters) --> + <xsl:when test="$subsubgroup='extension'"> + <xsl:for-each select="msxsl:node-set($signatureSet)/*"> + <element> + <xsl:copy-of select="@*"/> + <xsl:attribute name="overload">true</xsl:attribute> + <xsl:copy-of select="*"/> + </element> + </xsl:for-each> + </xsl:when> <xsl:otherwise> <element> <xsl:attribute name="api"> <xsl:call-template name="overloadId"> - <xsl:with-param name="typeId" select="$typeId" /> - <xsl:with-param name="name" select="$name"/> - <xsl:with-param name="isEII" select="$isEII"/> - <xsl:with-param name="eiiFullName"> - <!-- for EII members, apidata/@name is just the member's base name, e.g. "OnDragDrop" - but we need the full name of the implemented member, e.g. "System#Windows#Forms#IDropTarget#OnDragDrop" --> - <xsl:if test="$isEII='true'"> - <!-- strip off any parameters from the end of the id --> - <xsl:variable name="idWithoutParams"> - <xsl:call-template name="RemoveParametersFromId"/> - </xsl:variable> - <xsl:variable name="containingTypeName" select="substring(containers/type/@api,3)"/> - <!-- remove the containing type name from the beginning of the member's name --> - <xsl:value-of select="substring-after($idWithoutParams,$containingTypeName)"/> - </xsl:if> - </xsl:with-param> + <xsl:with-param name="typeId" select="$typeId"/> + <xsl:with-param name="name" select="$apidataName"/> + <xsl:with-param name="templatesTotal" select="$templatesTotal"/> <xsl:with-param name="subgroup" select="$subgroup"/> <xsl:with-param name="subsubgroup" select="$subsubgroup"/> </xsl:call-template> @@ -902,26 +1080,32 @@ <xsl:template name="overloadId"> <xsl:param name="typeId"/> <xsl:param name="name"/> + <xsl:param name="templatesTotal"/> <xsl:param name="subgroup"/> <xsl:param name="subsubgroup"/> - <xsl:param name="eiiFullName"/> - <xsl:param name="isEII"/> <xsl:choose> - <xsl:when test="$isEII='true'"> - <xsl:value-of select="concat('Overload:',substring($typeId,3),$eiiFullName)"/> - </xsl:when> <xsl:when test="$subgroup='constructor'"> <xsl:value-of select="concat('Overload:',substring($typeId,3),'.#ctor')"/> </xsl:when> <xsl:when test="$subsubgroup='operator'"> - <xsl:value-of select="concat('Overload:',substring($typeId,3),'.op_',$name)"/> - </xsl:when> + <xsl:value-of select="concat('Overload:',substring($typeId,3),'.op_',$name)"/> + </xsl:when> + <xsl:when test="$templatesTotal>0"> + <xsl:value-of select="concat('Overload:',substring($typeId,3),'.',$name,'``',string($templatesTotal))"/> + </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('Overload:',substring($typeId,3),'.',$name)"/> </xsl:otherwise> </xsl:choose> </xsl:template> + <xsl:template name="eiiOverloadId"> + <xsl:param name="typeId" /> + <xsl:param name="idWithoutParams" /> + <xsl:param name="containingTypeName" /> + <xsl:value-of select="concat('Overload:',substring($typeId,3),substring-after($idWithoutParams,$containingTypeName))"/> + </xsl:template> + <xsl:template name="projectTopic"> <api id="R:{$project}"> <topicdata group="root" /> @@ -932,5 +1116,5 @@ </elements> </api> </xsl:template> - + </xsl:stylesheet> diff --git a/tools/Sandcastle/ProductionTransforms/CreateHxt.xsl b/tools/Sandcastle/ProductionTransforms/CreateHxt.xsl index 47c4b03..3a1c510 100644 --- a/tools/Sandcastle/ProductionTransforms/CreateHxt.xsl +++ b/tools/Sandcastle/ProductionTransforms/CreateHxt.xsl @@ -77,7 +77,7 @@ <xsl:param name="initialName" /> <xsl:variable name="componentNameLength" select="string-length($initialName)" /> <xsl:choose> - <xsl:when test="$componentNameLength > $maxProjectNameLength"> + <xsl:when test="$componentNameLength >= $maxProjectNameLength"> <xsl:variable name="left" select="substring($initialName, 1, $leftLength)" /> <xsl:variable name="right" select="substring($initialName, $componentNameLength - $rightLength)" /> <xsl:value-of select="concat($left,'_',$right)" /> diff --git a/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl b/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl index 8a48a3f..abf3ef3 100644 --- a/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl +++ b/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl @@ -66,7 +66,7 @@ <xsl:param name="initialName" select="containers/library/@assembly" /> <xsl:variable name="componentNameLength" select="string-length($initialName)" /> <xsl:choose> - <xsl:when test="$componentNameLength > $maxProjectNameLength"> + <xsl:when test="$componentNameLength >= $maxProjectNameLength"> <xsl:variable name="left" select="substring($initialName, 1, $leftLength)" /> <xsl:variable name="right" select="substring($initialName, $componentNameLength - $rightLength)" /> <xsl:value-of select="concat($left,'_',$right)" /> @@ -135,6 +135,11 @@ <xsl:call-template name="AddMemberListTree"/> </xsl:for-each> + <!-- insert the Operators topic, if present --> + <xsl:for-each select="key('index', concat('Operators.', $typeId))"> + <xsl:call-template name="AddMemberListTree"/> + </xsl:for-each> + <!-- insert the Properties topic, if present --> <xsl:for-each select="key('index', concat('Properties.', $typeId))"> <xsl:call-template name="AddMemberListTree"/> diff --git a/tools/Sandcastle/ProductionTransforms/DsManifestToManifest.xsl b/tools/Sandcastle/ProductionTransforms/DsManifestToManifest.xsl index 02d9b2e..8a4efee 100644 --- a/tools/Sandcastle/ProductionTransforms/DsManifestToManifest.xsl +++ b/tools/Sandcastle/ProductionTransforms/DsManifestToManifest.xsl @@ -9,7 +9,7 @@ </topics> </xsl:template> - <xsl:template match="fileAsset[@assetType='Topic']"> + <xsl:template match="fileAsset[@assetType='Topic' and @assetParentName=@projectName]"> <topic> <xsl:attribute name="id"> <xsl:value-of select="@fileAssetGuid" /> diff --git a/tools/Sandcastle/ProductionTransforms/MergeDuplicates.xsl b/tools/Sandcastle/ProductionTransforms/MergeDuplicates.xsl index da721c7..18b7d95 100644 --- a/tools/Sandcastle/ProductionTransforms/MergeDuplicates.xsl +++ b/tools/Sandcastle/ProductionTransforms/MergeDuplicates.xsl @@ -14,7 +14,7 @@ - gets rid of duplicate element nodes in a namespace's api node - type api nodes: collapses duplicates into a single api node; saves library info for each duplicate - member api nodes: collapses duplicates into a single api node; saves library info for each duplicate - - enum api nodes: saves container info for each enum element, in case the element lists differ + - for element lists, add library info to elements that are not in all duplicates --> <xsl:key name="index" match="/*/apis/api" use="@id" /> @@ -58,16 +58,12 @@ <xsl:template match="api[apidata/@group='type']"> <xsl:variable name="ancestorId" select="family/ancestors/type[last()]/@api" /> - <xsl:variable name="subgroup" select="apidata/@subgroup" /> - <xsl:variable name="duplicates" select="key('index',@id)[apidata[@subgroup=$subgroup]]" /> - <!-- - (apidata[@subgroup!='class'] or family/ancestors/type[last()][@api=$ancestorId])] - --> + <xsl:variable name="duplicates" select="key('index',@id)" /> <xsl:choose> <!-- if dupes, merge them --> <xsl:when test="count($duplicates)>1"> <xsl:variable name="typeId" select="@id" /> - <xsl:if test="not(preceding-sibling::api[@id=$typeId][apidata[@subgroup=$subgroup]])"> + <xsl:if test="not(preceding-sibling::api[@id=$typeId])"> <xsl:call-template name="mergeDuplicateTypes"> <xsl:with-param name="duplicates" select="$duplicates"/> </xsl:call-template> @@ -83,7 +79,6 @@ <xsl:template name="mergeDuplicateTypes"> <xsl:param name="duplicates"/> <xsl:variable name="typeId" select="@id"/> - <xsl:variable name="subgroup" select="apidata/@subgroup" /> <xsl:variable name="duplicatesCount" select="count($duplicates)"/> <api> <xsl:copy-of select="@*" /> @@ -99,7 +94,7 @@ <elements> <xsl:for-each select="$duplicates/elements/element"> <xsl:variable name="elementId" select="@api"/> - <xsl:if test="not(preceding::api[@id=$typeId][apidata[@subgroup=$subgroup]]/elements/element[@api=$elementId])"> + <xsl:if test="not(preceding::api[@id=$typeId]/elements/element[@api=$elementId])"> <!-- need to add library info to elements that are not in all duplicates --> <element> <xsl:copy-of select="@*"/> diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/BuildAssembler.csproj b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/BuildAssembler.csproj index a072593..0ceafb8 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/BuildAssembler.csproj +++ b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/BuildAssembler.csproj @@ -69,6 +69,7 @@ </ItemGroup> <ItemGroup> <Compile Include="BuildAssemblerConsole.cs" /> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/BuildAssembler.csproj.vspscc b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/BuildAssembler.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/BuildAssembler.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/BuildAssemblerConsole.cs b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/BuildAssemblerConsole.cs index 7b39566..e4f0528 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/BuildAssemblerConsole.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/BuildAssemblerConsole.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/GlobalSuppressions.cs b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/GlobalSuppressions.cs new file mode 100644 index 0000000..88e273a --- /dev/null +++ b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/GlobalSuppressions.cs @@ -0,0 +1,17 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildAssemblerConsole.#Main(System.String[])")] diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/Properties/AssemblyInfo.cs index 0a18555..a5d12d9 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/Properties/AssemblyInfo.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -31,5 +34,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/makefile b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/makefile deleted file mode 100644 index 5acbbd2..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/makefile +++ /dev/null @@ -1 +0,0 @@ -!INCLUDE $(NTMAKEENV)\makefile.def diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/makefile.inc b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/makefile.inc deleted file mode 100644 index 32f7350..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/makefile.inc +++ /dev/null @@ -1,2 +0,0 @@ -!INCLUDE $(INETROOT)\build\makefile.inc - diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/placefile b/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/placefile deleted file mode 100644 index a4edec4..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssembler/placefile +++ /dev/null @@ -1 +0,0 @@ -BuildAssembler.exe Manifold diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildAssembler.cs b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildAssembler.cs index fb7fd47..ead3616 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildAssembler.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildAssembler.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; @@ -33,7 +36,7 @@ namespace Microsoft.Ddue.Tools { private BuildContext context = new BuildContext(); - public List<BuildComponent> components = new List<BuildComponent>(); + private List<BuildComponent> components = new List<BuildComponent>(); private MessageHandler handler; @@ -98,9 +101,16 @@ namespace Microsoft.Ddue.Tools { return (Apply(new TopicManifest(manifestFile))); } - public virtual void Dispose () { - foreach (BuildComponent component in components) { - ((IDisposable) component).Dispose(); + public void Dispose() { + Dispose(true); + GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + if (disposing) { + foreach (BuildComponent component in components) { + ((IDisposable) component).Dispose(); + } } } @@ -155,8 +165,15 @@ namespace Microsoft.Ddue.Tools { throw new InvalidOperationException(); } - public virtual void Dispose () { - reader.Close(); + public void Dispose () { + Dispose(true); + GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + if (disposing) { + reader.Close(); + } } } @@ -298,19 +315,6 @@ namespace Microsoft.Ddue.Tools { break; } } - - private void SetupContextFromConfiguration(XPathDocument configuration) - { - // Load namespaces into context - XPathNodeIterator namespace_nodes = configuration.CreateNavigator().Select("/configuration/dduetools/builder/context/namespace"); - foreach (XPathNavigator namespace_node in namespace_nodes) - { - string prefix = namespace_node.GetAttribute("prefix", String.Empty); - string uri = namespace_node.GetAttribute("uri", String.Empty); - context.AddNamespace(prefix, uri); - } - } - } } diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildAssemblerLibrary.csproj b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildAssemblerLibrary.csproj index 8a54605..c7acabd 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildAssemblerLibrary.csproj +++ b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildAssemblerLibrary.csproj @@ -33,6 +33,7 @@ <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> + <RunCodeAnalysis>false</RunCodeAnalysis> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> @@ -73,6 +74,7 @@ <Compile Include="BuildComponent.cs" /> <Compile Include="BuildComponentUtilities.cs" /> <Compile Include="BuildContext.cs" /> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildAssemblerLibrary.csproj.vspscc b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildAssemblerLibrary.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildAssemblerLibrary.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildComponent.cs index bb211b9..04a68ea 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; @@ -23,8 +26,12 @@ namespace Microsoft.Ddue.Tools { Apply(document, null); } - public virtual void Dispose () { - // override to do something + public void Dispose() { + Dispose(true); + GC.SuppressFinalize(this); + } + + protected virtual void Dispose (bool disposing) { } // shared data diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildComponentUtilities.cs b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildComponentUtilities.cs index b64ae07..0ab709a 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildComponentUtilities.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildComponentUtilities.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Text; using System.Xml; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildContext.cs b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildContext.cs index 02bed62..8a21675 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildContext.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/BuildContext.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Xml; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/GlobalSuppressions.cs b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/GlobalSuppressions.cs new file mode 100644 index 0000000..710997a --- /dev/null +++ b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/GlobalSuppressions.cs @@ -0,0 +1,45 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ddue", Scope = "namespace", Target = "Microsoft.Ddue.Tools")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildAssembler.#Apply(System.Collections.Generic.IEnumerable`1<System.String>)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildAssembler.#BuildComponents")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "Filename", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildAssembler.#GetFileManifestBuildContextEnumerator(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2001:AvoidCallingProblematicMethods", MessageId = "System.Reflection.Assembly.LoadFrom", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildAssembler.#LoadComponent(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildAssembler.#LoadComponent(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildAssembler.#LoadComponent(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "components", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildAssembler.#LoadComponents(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildAssembler.#WriteComponentMessageToConsole(System.Type,Microsoft.Ddue.Tools.MessageLevel,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "configuration", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes", MessageId = "System.Xml.XmlNode", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponent.#Apply(System.Xml.XmlDocument)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes", MessageId = "System.Xml.XmlNode", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "e", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponentUtilities.#GetExceptionMessage(System.Exception)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponentUtilities.#GetExceptionMessage(System.Exception)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponentUtilities.#GetExceptionMessage(System.Exception)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "s", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponentUtilities.#GetRelativePath(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", MessageId = "1#", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildContext.#AddNamespace(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildContext.#ClearNamespaces()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1010:CollectionsShouldImplementGenericInterface", Scope = "type", Target = "Microsoft.Ddue.Tools.CustomContext")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Scope = "type", Target = "Microsoft.Ddue.Tools.CustomContext")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "1#", Scope = "member", Target = "Microsoft.Ddue.Tools.CustomContext.#CompareDocument(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "2#", Scope = "member", Target = "Microsoft.Ddue.Tools.CustomContext.#ResolveFunction(System.String,System.String,System.Xml.XPath.XPathResultType[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Eval", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponentUtilities.#EvalXPathExpr(System.Xml.XPath.IXPathNavigable,System.Xml.XPath.XPathExpression,Microsoft.Ddue.Tools.CustomContext)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Expr", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponentUtilities.#EvalXPathExpr(System.Xml.XPath.IXPathNavigable,System.Xml.XPath.XPathExpression,Microsoft.Ddue.Tools.CustomContext)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "c", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponentUtilities.#EvalXPathExpr(System.Xml.XPath.IXPathNavigable,System.Xml.XPath.XPathExpression,Microsoft.Ddue.Tools.CustomContext)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "xpe", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponentUtilities.#EvalXPathExpr(System.Xml.XPath.IXPathNavigable,System.Xml.XPath.XPathExpression,Microsoft.Ddue.Tools.CustomContext)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Eval", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponentUtilities.#EvalXPathExpr(System.Xml.XPath.IXPathNavigable,System.Xml.XPath.XPathExpression,System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Expr", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponentUtilities.#EvalXPathExpr(System.Xml.XPath.IXPathNavigable,System.Xml.XPath.XPathExpression,System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "xpe", Scope = "member", Target = "Microsoft.Ddue.Tools.BuildComponentUtilities.#EvalXPathExpr(System.Xml.XPath.IXPathNavigable,System.Xml.XPath.XPathExpression,System.String[])")] diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/Microsoft.Ddue.Tools.BuildAssembler.asmmeta b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/Microsoft.Ddue.Tools.BuildAssembler.asmmeta deleted file mode 100644 index c799064..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/Microsoft.Ddue.Tools.BuildAssembler.asmmeta +++ /dev/null @@ -1,281 +0,0 @@ -.assembly extern System.Xml -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly extern mscorlib -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly Microsoft.Ddue.Tools.BuildAssembler -{ - .custom instance void [mscorlib]System.CLSCompliantAttribute::.ctor(bool) = { bool(false) } - .custom instance void [mscorlib]System.Runtime.InteropServices.ComVisibleAttribute::.ctor(bool) = { bool(false) } - .publickey = (00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 EF 09 EE D7 93 0B 34 BA 88 83 E7 DB 9F 08 F5 DF A0 D9 F1 7A 97 8E 98 F3 99 03 36 B2 2A 75 D6 BB 2C 25 90 6C 4F 4E 5D 42 60 00 A9 22 00 A9 CE FE 3F 5E C4 22 BA 1E FF 47 7D C4 14 E7 52 C3 30 07 1C 66 1C 58 3F 28 48 0C 03 35 94 CE 5F A5 FC 44 94 D2 A4 42 95 E5 A3 3E AD B2 FD FF 45 13 77 FD BE 62 48 38 EF 02 BF 22 54 00 56 5D DB DA 10 D8 7E 77 F9 7F 9F 20 60 11 4B 49 3A 4D 62 FE C3 C3) - .hash algorithm 0x00008004 -} -.namespace Microsoft.Ddue.Tools -{ - .class public BuildAssembler - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class Microsoft.Ddue.Tools.MessageHandler messageHandler) - { - ret - } - .method public hidebysig - instance int32 Apply(class [mscorlib]'System.Collections.Generic.IEnumerable`1'<class Microsoft.Ddue.Tools.BuildContext> manifest) - { - ret - } - .method public hidebysig - instance class [mscorlib]'System.Collections.Generic.IEnumerable`1'<class Microsoft.Ddue.Tools.BuildContext> GetFileManifestBuildContextEnumerator(string manifestFilename) - { - ret - } - .method public hidebysig - instance bool LoadComponentsFromConfiguration(class [System.Xml]System.Xml.XPath.XPathDocument configuration) - { - ret - } - .method public hidebysig - instance void WriteMessage(valuetype Microsoft.Ddue.Tools.MessageLevel level, string message) - { - ret - } - .method public static hidebysig - void WriteComponentMessageToConsole(class [mscorlib]System.Type 'type', valuetype Microsoft.Ddue.Tools.MessageLevel level, string message) - { - ret - } - .field public class [mscorlib]'System.Collections.Generic.List`1'<class Microsoft.Ddue.Tools.BuildComponent> components - } - .class public abstract BuildComponent - extends [mscorlib]System.Object - { - .method family hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig newslot abstract - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - } - .method public virtual hidebysig newslot - instance void Apply(class [System.Xml]System.Xml.XmlDocument document) - { - ret - } - .method family static hidebysig specialname - class [mscorlib]'System.Collections.Generic.Dictionary`2'<string,object> get_Data() - { - ret - } - .method public static hidebysig specialname - class Microsoft.Ddue.Tools.MessageHandler get_MessageHandler() - { - ret - } - .method public static hidebysig specialname - void set_MessageHandler(class Microsoft.Ddue.Tools.MessageHandler 'value') - { - ret - } - .method family hidebysig - instance void WriteMessage(valuetype Microsoft.Ddue.Tools.MessageLevel level, string message) - { - ret - } - .method public static hidebysig - class [mscorlib]'System.Collections.Generic.List`1'<class Microsoft.Ddue.Tools.BuildComponent> LoadComponents(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .property class [mscorlib]'System.Collections.Generic.Dictionary`2'<string,object> Data() - { - .get class [mscorlib]'System.Collections.Generic.Dictionary`2'<string,object> Microsoft.Ddue.Tools.BuildComponent::get_Data() - } - .property class Microsoft.Ddue.Tools.MessageHandler MessageHandler() - { - .get class Microsoft.Ddue.Tools.MessageHandler Microsoft.Ddue.Tools.BuildComponent::get_MessageHandler() - .set void Microsoft.Ddue.Tools.BuildComponent::set_MessageHandler(class Microsoft.Ddue.Tools.MessageHandler) - } - } - .class public BuildContext - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .method public hidebysig - instance void AddNamespace(string prefix, string uri) - { - ret - } - .method public hidebysig - instance string LookupNamespace(string prefix) - { - ret - } - .method public hidebysig - instance bool RemoveNamespace(string prefix) - { - ret - } - .method public hidebysig - instance void ClearNamespaces() - { - ret - } - .method public hidebysig - instance void AddVariable(string name, string 'value') - { - ret - } - .method public hidebysig - instance string LookupVariable(string name) - { - ret - } - .method public hidebysig - instance bool RemoveVariable(string name) - { - ret - } - .method public hidebysig - instance void ClearVariables() - { - ret - } - .method public hidebysig specialname - instance string get_Item(string name) - { - ret - } - .method public hidebysig specialname - instance void set_Item(string name, string 'value') - { - ret - } - .method public hidebysig specialname - instance class [System.Xml]System.Xml.Xsl.XsltContext get_QueryContext() - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance string Item(string) - { - .get instance string Microsoft.Ddue.Tools.BuildContext::get_Item(string) - .set instance void Microsoft.Ddue.Tools.BuildContext::set_Item(string, string) - } - .property instance class [System.Xml]System.Xml.Xsl.XsltContext QueryContext() - { - .get instance class [System.Xml]System.Xml.Xsl.XsltContext Microsoft.Ddue.Tools.BuildContext::get_QueryContext() - } - } - .class public CustomContext - extends [System.Xml]System.Xml.Xsl.XsltContext - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance string get_Item(string variable) - { - ret - } - .method public hidebysig specialname - instance void set_Item(string variable, string 'value') - { - ret - } - .method public hidebysig - instance bool ClearVariable(string name) - { - ret - } - .method public hidebysig - instance void ClearVariables() - { - ret - } - .method public virtual hidebysig - instance class [System.Xml]System.Xml.Xsl.IXsltContextVariable ResolveVariable(string prefix, string name) - { - ret - } - .method public virtual hidebysig - instance class [System.Xml]System.Xml.Xsl.IXsltContextFunction ResolveFunction(string prefix, string name, valuetype [System.Xml]System.Xml.XPath.XPathResultType[] argumentTypes) - { - ret - } - .method public virtual hidebysig - instance int32 CompareDocument(string baseUri, string nextBaseUri) - { - ret - } - .method public virtual hidebysig specialname - instance bool get_Whitespace() - { - ret - } - .method public virtual hidebysig - instance bool PreserveWhitespace(class [System.Xml]System.Xml.XPath.XPathNavigator node) - { - ret - } - .property instance string Item(string) - { - .get instance string Microsoft.Ddue.Tools.CustomContext::get_Item(string) - .set instance void Microsoft.Ddue.Tools.CustomContext::set_Item(string, string) - } - .property instance bool Whitespace() - { - .get instance bool Microsoft.Ddue.Tools.CustomContext::get_Whitespace() - } - } - .class public sealed MessageHandler - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance void Invoke(class [mscorlib]System.Type component, valuetype Microsoft.Ddue.Tools.MessageLevel level, string message) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class [mscorlib]System.Type component, valuetype Microsoft.Ddue.Tools.MessageLevel level, string message, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance void EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .class public sealed MessageLevel - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype Microsoft.Ddue.Tools.MessageLevel Error = int32(0x00000002) - .field static public literal valuetype Microsoft.Ddue.Tools.MessageLevel Info = int32(0x00000000) - .field static public literal valuetype Microsoft.Ddue.Tools.MessageLevel Warn = int32(0x00000001) - } -} - diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/Microsoft.Ddue.Tools.BuildAssemblerLibrary.asmmeta b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/Microsoft.Ddue.Tools.BuildAssemblerLibrary.asmmeta deleted file mode 100644 index dbd4239..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/Microsoft.Ddue.Tools.BuildAssemblerLibrary.asmmeta +++ /dev/null @@ -1,281 +0,0 @@ -.assembly extern System.Xml -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly extern mscorlib -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly Microsoft.Ddue.Tools.BuildAssemblerLibrary -{ - .custom instance void [mscorlib]System.CLSCompliantAttribute::.ctor(bool) = { bool(false) } - .custom instance void [mscorlib]System.Runtime.InteropServices.ComVisibleAttribute::.ctor(bool) = { bool(false) } - .publickey = (00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 EF 09 EE D7 93 0B 34 BA 88 83 E7 DB 9F 08 F5 DF A0 D9 F1 7A 97 8E 98 F3 99 03 36 B2 2A 75 D6 BB 2C 25 90 6C 4F 4E 5D 42 60 00 A9 22 00 A9 CE FE 3F 5E C4 22 BA 1E FF 47 7D C4 14 E7 52 C3 30 07 1C 66 1C 58 3F 28 48 0C 03 35 94 CE 5F A5 FC 44 94 D2 A4 42 95 E5 A3 3E AD B2 FD FF 45 13 77 FD BE 62 48 38 EF 02 BF 22 54 00 56 5D DB DA 10 D8 7E 77 F9 7F 9F 20 60 11 4B 49 3A 4D 62 FE C3 C3) - .hash algorithm 0x00008004 -} -.namespace Microsoft.Ddue.Tools -{ - .class public BuildAssembler - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class Microsoft.Ddue.Tools.MessageHandler messageHandler) - { - ret - } - .method public hidebysig - instance int32 Apply(class [mscorlib]'System.Collections.Generic.IEnumerable`1'<class Microsoft.Ddue.Tools.BuildContext> manifest) - { - ret - } - .method public hidebysig - instance class [mscorlib]'System.Collections.Generic.IEnumerable`1'<class Microsoft.Ddue.Tools.BuildContext> GetFileManifestBuildContextEnumerator(string manifestFilename) - { - ret - } - .method public hidebysig - instance bool LoadComponentsFromConfiguration(class [System.Xml]System.Xml.XPath.XPathDocument configuration) - { - ret - } - .method public hidebysig - instance void WriteMessage(valuetype Microsoft.Ddue.Tools.MessageLevel level, string message) - { - ret - } - .method public static hidebysig - void WriteComponentMessageToConsole(class [mscorlib]System.Type 'type', valuetype Microsoft.Ddue.Tools.MessageLevel level, string message) - { - ret - } - .field public class [mscorlib]'System.Collections.Generic.List`1'<class Microsoft.Ddue.Tools.BuildComponent> components - } - .class public abstract BuildComponent - extends [mscorlib]System.Object - { - .method family hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig newslot abstract - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - } - .method public virtual hidebysig newslot - instance void Apply(class [System.Xml]System.Xml.XmlDocument document) - { - ret - } - .method family static hidebysig specialname - class [mscorlib]'System.Collections.Generic.Dictionary`2'<string,object> get_Data() - { - ret - } - .method public static hidebysig specialname - class Microsoft.Ddue.Tools.MessageHandler get_MessageHandler() - { - ret - } - .method public static hidebysig specialname - void set_MessageHandler(class Microsoft.Ddue.Tools.MessageHandler 'value') - { - ret - } - .method family hidebysig - instance void WriteMessage(valuetype Microsoft.Ddue.Tools.MessageLevel level, string message) - { - ret - } - .method public static hidebysig - class [mscorlib]'System.Collections.Generic.List`1'<class Microsoft.Ddue.Tools.BuildComponent> LoadComponents(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .property class [mscorlib]'System.Collections.Generic.Dictionary`2'<string,object> Data() - { - .get class [mscorlib]'System.Collections.Generic.Dictionary`2'<string,object> Microsoft.Ddue.Tools.BuildComponent::get_Data() - } - .property class Microsoft.Ddue.Tools.MessageHandler MessageHandler() - { - .get class Microsoft.Ddue.Tools.MessageHandler Microsoft.Ddue.Tools.BuildComponent::get_MessageHandler() - .set void Microsoft.Ddue.Tools.BuildComponent::set_MessageHandler(class Microsoft.Ddue.Tools.MessageHandler) - } - } - .class public BuildContext - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .method public hidebysig - instance void AddNamespace(string prefix, string uri) - { - ret - } - .method public hidebysig - instance string LookupNamespace(string prefix) - { - ret - } - .method public hidebysig - instance bool RemoveNamespace(string prefix) - { - ret - } - .method public hidebysig - instance void ClearNamespaces() - { - ret - } - .method public hidebysig - instance void AddVariable(string name, string 'value') - { - ret - } - .method public hidebysig - instance string LookupVariable(string name) - { - ret - } - .method public hidebysig - instance bool RemoveVariable(string name) - { - ret - } - .method public hidebysig - instance void ClearVariables() - { - ret - } - .method public hidebysig specialname - instance string get_Item(string name) - { - ret - } - .method public hidebysig specialname - instance void set_Item(string name, string 'value') - { - ret - } - .method public hidebysig specialname - instance class [System.Xml]System.Xml.Xsl.XsltContext get_QueryContext() - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance string Item(string) - { - .get instance string Microsoft.Ddue.Tools.BuildContext::get_Item(string) - .set instance void Microsoft.Ddue.Tools.BuildContext::set_Item(string, string) - } - .property instance class [System.Xml]System.Xml.Xsl.XsltContext QueryContext() - { - .get instance class [System.Xml]System.Xml.Xsl.XsltContext Microsoft.Ddue.Tools.BuildContext::get_QueryContext() - } - } - .class public CustomContext - extends [System.Xml]System.Xml.Xsl.XsltContext - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance string get_Item(string variable) - { - ret - } - .method public hidebysig specialname - instance void set_Item(string variable, string 'value') - { - ret - } - .method public hidebysig - instance bool ClearVariable(string name) - { - ret - } - .method public hidebysig - instance void ClearVariables() - { - ret - } - .method public virtual hidebysig - instance class [System.Xml]System.Xml.Xsl.IXsltContextVariable ResolveVariable(string prefix, string name) - { - ret - } - .method public virtual hidebysig - instance class [System.Xml]System.Xml.Xsl.IXsltContextFunction ResolveFunction(string prefix, string name, valuetype [System.Xml]System.Xml.XPath.XPathResultType[] argumentTypes) - { - ret - } - .method public virtual hidebysig - instance int32 CompareDocument(string baseUri, string nextBaseUri) - { - ret - } - .method public virtual hidebysig specialname - instance bool get_Whitespace() - { - ret - } - .method public virtual hidebysig - instance bool PreserveWhitespace(class [System.Xml]System.Xml.XPath.XPathNavigator node) - { - ret - } - .property instance string Item(string) - { - .get instance string Microsoft.Ddue.Tools.CustomContext::get_Item(string) - .set instance void Microsoft.Ddue.Tools.CustomContext::set_Item(string, string) - } - .property instance bool Whitespace() - { - .get instance bool Microsoft.Ddue.Tools.CustomContext::get_Whitespace() - } - } - .class public sealed MessageHandler - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance void Invoke(class [mscorlib]System.Type component, valuetype Microsoft.Ddue.Tools.MessageLevel level, string message) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class [mscorlib]System.Type component, valuetype Microsoft.Ddue.Tools.MessageLevel level, string message, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance void EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .class public sealed MessageLevel - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype Microsoft.Ddue.Tools.MessageLevel Error = int32(0x00000002) - .field static public literal valuetype Microsoft.Ddue.Tools.MessageLevel Info = int32(0x00000000) - .field static public literal valuetype Microsoft.Ddue.Tools.MessageLevel Warn = int32(0x00000001) - } -} - diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/Properties/AssemblyInfo.cs index f0aedd7..e87d8d5 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/Properties/AssemblyInfo.cs @@ -1,5 +1,9 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -16,6 +20,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: CLSCompliant(true)] + // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -33,5 +39,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/makefile b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/makefile deleted file mode 100644 index 5acbbd2..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/makefile +++ /dev/null @@ -1 +0,0 @@ -!INCLUDE $(NTMAKEENV)\makefile.def diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/makefile.inc b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/makefile.inc deleted file mode 100644 index 32f7350..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/makefile.inc +++ /dev/null @@ -1,2 +0,0 @@ -!INCLUDE $(INETROOT)\build\makefile.inc - diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/placefile b/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/placefile deleted file mode 100644 index 1db2347..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildAssemblerLibrary/placefile +++ /dev/null @@ -1 +0,0 @@ -Microsoft.Ddue.Tools.BuildAssemblerLibrary.dll Manifold diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/BuildComponents.csproj b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/BuildComponents.csproj index 7b3191e..9e3932f 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/BuildComponents.csproj +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/BuildComponents.csproj @@ -86,6 +86,7 @@ <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="HxfGeneratorComponent.cs" /> <Compile Include="IntellisenseComponent2.cs" /> <Compile Include="MsdnResolver.cs" /> @@ -110,6 +111,7 @@ <Compile Include="ResolveConceptualLinksComponent.cs" /> <Compile Include="SaveComponent.cs" /> <Compile Include="SharedContentComponent.cs" /> + <Compile Include="SnippetComponent.cs" /> <Compile Include="SwitchComponent.cs" /> <Compile Include="SyntaxComponent.cs" /> <Compile Include="TargetCollection.cs" /> diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/BuildComponents.csproj.vspscc b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/BuildComponents.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/BuildComponents.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CloneComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CloneComponent.cs index c97d68d..d22ccf5 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CloneComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CloneComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CodeReference.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CodeReference.cs index 974a28d..c0cbd11 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CodeReference.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CodeReference.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.Text.RegularExpressions; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromFileComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromFileComponent.cs index 54d26e0..2c4eedb 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromFileComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromFileComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromFiles.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromFiles.cs index 788fafd..b05903d 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromFiles.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromFiles.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.IO; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromIndexComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromIndexComponent.cs index abb3644..bf19dc8 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromIndexComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/CopyFromIndexComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; @@ -186,7 +189,7 @@ namespace Microsoft.Ddue.Tools { { WriteMessage(MessageLevel.Error, String.Format("An error occured while attempting to instantiate the type '{0}' in the assembly '{1}'. The error message is: {2}", type_name, assembly_path, e.InnerException.Message)); } - catch (InvalidCastException e) + catch (InvalidCastException) { WriteMessage(MessageLevel.Error, String.Format("The type '{0}' in the assembly '{1}' is not a SyntaxGenerator.", type_name, assembly_path)); } @@ -484,8 +487,8 @@ namespace Microsoft.Ddue.Tools { // load the document try { - XPathDocument document = new XPathDocument(file, XmlSpace.Preserve); - //XPathDocument document = new XPathDocument(file); + //XPathDocument document = new XPathDocument(file, XmlSpace.Preserve); + XPathDocument document = new XPathDocument(file); // search for value nodes XPathNodeIterator valueNodes = document.CreateNavigator().Select(cache.ValueExpression); diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/DisplayComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/DisplayComponent.cs index a6d9ca2..33f0934 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/DisplayComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/DisplayComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Xml; using System.Xml.XPath; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ExampleComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ExampleComponent.cs index d0d52d9..9ab0be7 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ExampleComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ExampleComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Configuration; using System.Collections.Generic; @@ -453,8 +456,6 @@ namespace Microsoft.Ddue.Tools { private string text; - private Region[] regions; - private string language; public string Text { @@ -468,13 +469,6 @@ namespace Microsoft.Ddue.Tools { return(language); } } - - public Region[] Regions { - get { - return(regions); - } - } - } internal class ColorizationRule { diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ForEachComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ForEachComponent.cs index d073daf..06705e8 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ForEachComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ForEachComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; @@ -88,12 +91,13 @@ namespace Microsoft.Ddue.Tools { } } - - public override void Dispose () { - foreach (BuildComponent component in components) { - component.Dispose(); + protected override void Dispose(bool disposing) { + if (disposing) { + foreach (BuildComponent component in components) { + component.Dispose(); + } } - base.Dispose(); + base.Dispose(disposing); } } diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/GlobalSuppressions.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/GlobalSuppressions.cs new file mode 100644 index 0000000..3fd693e --- /dev/null +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/GlobalSuppressions.cs @@ -0,0 +1,319 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ddue", Scope = "namespace", Target = "Microsoft.Ddue.Tools")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "BuildComponents.ArrayTypeReference.#Create(System.Xml.XmlReader)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "apidata", Scope = "member", Target = "BuildComponents.NamespaceTarget.#Create(System.Xml.XmlReader)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "BuildComponents.Reference.#referenceApiExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Refered", Scope = "member", Target = "BuildComponents.ReferenceTypeReference.#ReferedToType")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "BuildComponents.SimpleMemberReference.#.ctor(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "BuildComponents.Target.#apiNameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "BuildComponents.TemplateTypeReference.#.ctor(BuildComponents.ISimpleReference,System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "BuildComponents.TemplateTypeReference.#.ctor(System.String,System.Int32)")] + +// TODO: revisit +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "BuildComponents.TemplateTypeReference.#.ctor(System.String,System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "templateId", Scope = "member", Target = "BuildComponents.TemplateTypeReference.#.ctor(System.String,System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "BuildComponents.TemplateTypeReference.#position")] + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "BuildComponents.TypeReference.#Create(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "BuildComponents.TypeReference.#Create(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "BuildComponents.TypeTarget.#containingAssembly")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "BuildComponents.TypeTarget.#containingNamespace")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "BuildComponents.TypeTarget.#containingType")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "BuildComponents.TypeTarget.#subgroup")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.Ddue.Tools.ArtTarget.#Id")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "ddue", Scope = "member", Target = "Microsoft.Ddue.Tools.CodeReference.#.ctor(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ddue", Scope = "member", Target = "Microsoft.Ddue.Tools.CodeReference.#DdueCodeReference")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "Microsoft.Ddue.Tools.CodeReference.#Type")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.ConceptualLinkInfo.#.ctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.ConceptualLinkInfo.#ShowText")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.ConstructorTarget.#Parameters")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1012:AbstractTypesShouldNotHaveConstructors", Scope = "type", Target = "Microsoft.Ddue.Tools.CopyComponent")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "configuration", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyComponent.#.ctor(System.Xml.XPath.XPathNavigator,System.Collections.Generic.Dictionary`2<System.String,System.Object>)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "data", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyComponent.#.ctor(System.Xml.XPath.XPathNavigator,System.Collections.Generic.Dictionary`2<System.String,System.Object>)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes", MessageId = "System.Xml.XmlNode", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromFileComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromFilesComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2001:AvoidCallingProblematicMethods", MessageId = "System.Reflection.Assembly.LoadFrom", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromIndexComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromIndexComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromIndexComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromIndexComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromIndexComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromIndexComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromIndexComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromIndexComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromIndexComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.CopyFromIndexComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.CopySet.#.ctor(Microsoft.Ddue.Tools.IndexedFileCache,System.String,System.String,System.Xml.XmlNamespaceManager)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.CopySet.#FileCache")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.CopySet.#GetTargetExpression(System.Xml.XPath.XPathNavigator,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.DisplayComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ExampleComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ExampleComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Ddue.Tools.ExampleComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ExampleComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ExampleComponent.#IsLegalXmlCharacter(System.Char)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ExampleComponent.#LoadContent(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ExampleComponent.#LoadContent(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "hxf", Scope = "member", Target = "Microsoft.Ddue.Tools.FileCreatedEventArgs.#.ctor(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Hxf", Scope = "member", Target = "Microsoft.Ddue.Tools.FileCreatedEventArgs.#HxfPath")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ForEachComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Hxf", Scope = "type", Target = "Microsoft.Ddue.Tools.HxfGeneratorComponent")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.HxfGeneratorComponent.#WriteFile(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1012:AbstractTypesShouldNotHaveConstructors", Scope = "type", Target = "Microsoft.Ddue.Tools.InclusionFilter")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.InclusionFilter.#apiNameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.InclusionFilter.#apiParameterNodesExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.InclusionFilter.#apiParameterTemplateNameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.InclusionFilter.#apiParameterTypeNameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.InclusionFilter.#sourceFiles")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Ddue.Tools.InclusionFilter.#sourceFiles")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IndexedDocument.#.ctor(Microsoft.Ddue.Tools.IndexedDocumentCache,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IndexedDocumentCache.#.ctor(Microsoft.Ddue.Tools.CopyFromIndexComponent,System.String,System.String,System.Xml.XmlNamespaceManager,System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IndexedDocumentCache.#AddDocument(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.IndexedFile.#.ctor(System.String,System.Xml.XPath.XPathExpression,System.Xml.XPath.XPathExpression)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.IndexedFile.#GetContent(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.IndexedFile.#ListNode")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.IndexedFile.#ListNode")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "Microsoft.Ddue.Tools.IndexedFileCache")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.Compare(System.String,System.String,System.Boolean)", Scope = "member", Target = "Microsoft.Ddue.Tools.ReferenceLinkInfo2.#Create(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.Compare(System.String,System.String,System.Boolean)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.Compare(System.String,System.String,System.Boolean)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveArtLinksComponent.#AddTargets(System.String,System.String,System.String,System.Xml.XPath.XPathExpression,System.String,System.Xml.XPath.XPathExpression,System.Xml.XPath.XPathExpression)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveArtLinksComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveConceptualLinksComponent.#ResolveConceptualLinks(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#LoadContent(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#ResolveContent(System.Xml.XmlDocument,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetIdentifier.#.ctor(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetIdentifier.#.ctor(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberFilter.#AddMemberNode(System.Xml.XmlReader,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberFilter.#.ctor(System.Xml.XmlReader,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.NamespaceFilter.#AddNamespaceNode(System.Xml.XmlReader,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.NamespaceFilter.#.ctor(System.Xml.XmlReader,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.OverloadFilter.#.ctor(System.Xml.XmlReader,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveConceptualLinksComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.SaveComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.TransformComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.TypeFilter.#AddTypeNode(System.Xml.XmlReader,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.TypeFilter.#.ctor(System.Xml.XmlReader,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.VersionFilter.#AddPlatformNode(System.Xml.XmlReader,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.WdxResolveConceptualLinksComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#CreateTypeReference(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.XmlTargetCollectionUtilities.#CreateTypeReference(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Int32.ToString", Scope = "member", Target = "Microsoft.Ddue.Tools.LinkTextResolver.#WriteArrayType(Microsoft.Ddue.Tools.ArrayTypeReference,Microsoft.Ddue.Tools.DisplayOptions,System.Xml.XmlWriter,System.Collections.Generic.Dictionary`2<Microsoft.Ddue.Tools.IndexedTemplateTypeReference,Microsoft.Ddue.Tools.TypeReference>)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent.#ReadInputFile(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent2.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent2.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent2.#ReadInputFile(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.LinkTextResolver.#GetTypeTemplateName(Microsoft.Ddue.Tools.SimpleTypeReference,System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.LiveExampleComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.LiveExampleComponent.#LoadApprovedFile(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.PlatformsComponent.#ParseDocuments(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveArtLinksComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveArtLinksComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveConceptualLinksComponent.#BrokenLinkDisplayText(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveConceptualLinksComponent.#ResolveConceptualLinks(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveConceptualLinksComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#LoadContent(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#ParseDocuments(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#CreateSpecializedTypeReference(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#FindMatchingEndBracket(System.String,System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#.cctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ValidateComponent.#LogValidationError(System.Object,System.Xml.Schema.ValidationEventArgs)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.WdxResolveConceptualLinksComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.WdxResolveConceptualLinksComponent+TargetSet.#Lookup(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.WdxResolveConceptualLinksComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.XmlTargetCollectionUtilities.#CreateEnumerationTarget(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.LinkType2)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.XmlTargetCollectionUtilities.#CreateTarget(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.LinkType2)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.XmlTargetCollectionUtilities.#CreateTypeReference(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent.#ReadInputFile(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent2.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent2.#ReadInputFile(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.LiveExampleComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.LiveExampleComponent.#LoadApprovedFile(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.MsdnResolver.#GetMsdnUrl(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.PlatformsComponent.#ParseDocuments(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveArtLinksComponent.#AddTargets(System.String,System.String,System.String,System.Xml.XPath.XPathExpression,System.String,System.Xml.XPath.XPathExpression,System.Xml.XPath.XPathExpression)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveArtLinksComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveConceptualLinksComponent.#CompileXPathExpression(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2.#AddTargets(System.String,Microsoft.Ddue.Tools.LinkType2)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SaveComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#GetContent(System.String,System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#LoadContent(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#ParseDocuments(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#ResolveContent(System.Xml.XmlDocument,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetIdentifier.#ToString()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#FindMatchingEndBracket(System.String,System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#.cctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TransformComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.WdxResolveConceptualLinksComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.WdxResolveConceptualLinksComponent.#CompileXPathExpression(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.LiveExampleComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#ParseDocument(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#CreateMemberReference(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#.cctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#GetContent(System.String,System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#.cctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Ddue.Tools.TransformComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.IndexOf(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent.#CopyContent(System.Xml.XmlReader,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.StartsWith(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent.#CopyContent(System.Xml.XmlReader,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.Compare(System.String,System.String,System.Boolean)", Scope = "member", Target = "Microsoft.Ddue.Tools.ReferenceLinkInfo2.#Create(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.Compare(System.String,System.String,System.Boolean)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.Compare(System.String,System.String,System.Boolean)", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.StartsWith(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#CreateTypeReference(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.IndexOf(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Param", Scope = "member", Target = "Microsoft.Ddue.Tools.OverloadFilter.#ParamNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Param", Scope = "member", Target = "Microsoft.Ddue.Tools.OverloadFilter.#ParamTypes")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Refered", Scope = "member", Target = "Microsoft.Ddue.Tools.ReferenceTypeReference.#ReferedToType")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Wdx", Scope = "type", Target = "Microsoft.Ddue.Tools.WdxResolveConceptualLinksComponent")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "dict", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#AddValueToListDictionary`2(System.Collections.Generic.Dictionary`2<!!0,System.Collections.Generic.List`1<!!1>>,!!0,!!1)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "cer", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#SetGenericContext(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "xpath", Scope = "member", Target = "Microsoft.Ddue.Tools.WdxResolveConceptualLinksComponent.#CompileXPathExpression(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "K", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#AddValueToListDictionary`2(System.Collections.Generic.Dictionary`2<!!0,System.Collections.Generic.List`1<!!1>>,!!0,!!1)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "V", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#AddValueToListDictionary`2(System.Collections.Generic.Dictionary`2<!!0,System.Collections.Generic.List`1<!!1>>,!!0,!!1)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix", Scope = "type", Target = "Microsoft.Ddue.Tools.TargetCollection")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715:IdentifiersShouldHaveCorrectPrefix", MessageId = "T", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#AddValueToListDictionary`2(System.Collections.Generic.Dictionary`2<!!0,System.Collections.Generic.List`1<!!1>>,!!0,!!1)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberTarget.#Type")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "Microsoft.Ddue.Tools.Parameter.#Type")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "1#", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "1#", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveArtLinksComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "1#", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent2.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "configuration", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGenerator.#.ctor(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "key", Scope = "member", Target = "Microsoft.Ddue.Tools.NamespaceFilter.#IsIncludedType(System.Xml.XPath.XPathNavigator,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "location", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxWriter.#.ctor(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "options", Scope = "member", Target = "Microsoft.Ddue.Tools.LinkTextResolver.#WriteInvalid(Microsoft.Ddue.Tools.InvalidReference,Microsoft.Ddue.Tools.DisplayOptions,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "options", Scope = "member", Target = "Microsoft.Ddue.Tools.LinkTextResolver.#WriteNamespaceTarget(Microsoft.Ddue.Tools.NamespaceTarget,Microsoft.Ddue.Tools.DisplayOptions,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "options", Scope = "member", Target = "Microsoft.Ddue.Tools.LinkTextResolver.#WriteProcedureName(Microsoft.Ddue.Tools.ProcedureTarget,Microsoft.Ddue.Tools.DisplayOptions,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "options", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#WriteNamespaceReference(Microsoft.Ddue.Tools.NamespaceReference,Microsoft.Ddue.Tools.DisplayOptions,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "key", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveConceptualLinksComponent.#ResolveConceptualLinks(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetIdentifier.#Example")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetIdentifier.#Snippet")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent.#CopyContent(System.Xml.XmlReader,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent.#namespaceAssemblyExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent2.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.IntellisenseComponent2.#CopyContent(System.Xml.XmlReader,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Microsoft.Ddue.Tools.LiveExampleComponent.#LoadApprovedFile(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1055:UriReturnValuesShouldNotBeStrings", Scope = "member", Target = "Microsoft.Ddue.Tools.MsdnResolver.#GetMsdnUrl(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Microsoft.Ddue.Tools.PlatformsComponent.#AddPlatformVersionFilter(System.String,System.String,System.Xml.XPath.XPathNavigator,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Microsoft.Ddue.Tools.PlatformsComponent.#ParseDocument(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.LinkTextResolver.#WriteNamespaceTarget(Microsoft.Ddue.Tools.NamespaceTarget,Microsoft.Ddue.Tools.DisplayOptions,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.LinkTextResolver.#WriteTemplateType(Microsoft.Ddue.Tools.TemplateTypeReference,Microsoft.Ddue.Tools.DisplayOptions,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedSyntaxWriter.#.ctor(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.MethodTarget.#Parameters")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.MethodTarget.#Templates")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.MethodTemplateTypeReference.#.ctor(Microsoft.Ddue.Tools.MemberReference,System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable", Scope = "type", Target = "Microsoft.Ddue.Tools.MsdnResolver")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.ProcedureTarget.#.ctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.PropertyTarget.#Parameters")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.ReferenceLinkInfo2.#.ctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveConceptualLinksComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "filesValue", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveConceptualLinksComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.SaveComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "doctype", Scope = "member", Target = "Microsoft.Ddue.Tools.SaveComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "item_expression", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "path_expresion", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#DetectLoops()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#DetectLoops()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "content", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentComponent.#ResolveContent(System.Xml.XmlDocument,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentElement.#.ctor(System.String,System.String,System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.SharedContentElement.#IsAttribute")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.Specialization.#Arguments")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.SpecializedMemberWithParametersReference.#ParameterTypes")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Microsoft.Ddue.Tools.SpecializedTypeReference.#GetSpecializationDictionary()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.SpecializedTypeReference.#Specializations")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2001:AvoidCallingProblematicMethods", MessageId = "System.Reflection.Assembly.LoadFrom", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.TargetDirectory.#.ctor(System.String,Microsoft.Ddue.Tools.LinkType)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.TargetDirectory.#Directory")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.TargetDirectory.#GetTargetInfo(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.CustomContext)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.TargetDirectory.#LinkType")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.TargetDirectory.#TextExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.TargetDirectory.#UrlExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.TargetDirectoryCollection.#GetTargetInfo(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.CustomContext)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#AddValueToListDictionary`2(System.Collections.Generic.Dictionary`2<!!0,System.Collections.Generic.List`1<!!1>>,!!0,!!1)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1820:TestForEmptyStringsUsingStringLength", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#GetDocument(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#ParseDocument(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.Ddue.Tools.TaskGrabberComponent.#xpathFromConfig")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1053:StaticHolderTypesShouldNotHaveConstructors", Scope = "type", Target = "Microsoft.Ddue.Tools.Test")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#.cctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#.cctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "baseTypePattern", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#.cctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#CreateReference(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#genericMemberContext")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#tr")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.Ddue.Tools.TextReferenceUtilities.#ValidTest")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.TypeTarget.#Templates")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.TypeTemplateTypeReference.#.ctor(Microsoft.Ddue.Tools.SimpleTypeReference,System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.Ddue.Tools.XmlTargetCollectionUtilities.#apiSubsubgroupExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.Ddue.Tools.XmlTargetCollectionUtilities.#topicGroupExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.Ddue.Tools.MethodTarget.#returnType")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.Ddue.Tools.PropertyTarget.#returnType")] + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.ExtensionMethodReference.#Parameters")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.ExtensionMethodReference.#TemplateArgs")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.HxfGeneratorComponent.#FileCreatedHandler(System.Object,System.EventArgs)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Ddue.Tools.IndexedExample.#isApprovedUnit(System.IO.DirectoryInfo)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.IndexedExample.#IsLegalXmlCharacter(System.Char)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.IndexedExample.#ParseFile(System.IO.FileInfo,System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.IndexedExample.#ParseUnit(System.IO.DirectoryInfo)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.Language.#Extension")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "extension", Scope = "member", Target = "Microsoft.Ddue.Tools.Language.#IsMatch(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "languageId", Scope = "member", Target = "Microsoft.Ddue.Tools.Language.#IsMatch(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "parameters", Scope = "member", Target = "Microsoft.Ddue.Tools.LinkTextResolver.#WriteExtensionMethod(Microsoft.Ddue.Tools.ExtensionMethodReference,Microsoft.Ddue.Tools.DisplayOptions,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.LinkTextResolver.#WriteMemberTarget(Microsoft.Ddue.Tools.MemberTarget,Microsoft.Ddue.Tools.DisplayOptions,System.Xml.XmlWriter,System.Collections.Generic.Dictionary`2<Microsoft.Ddue.Tools.IndexedTemplateTypeReference,Microsoft.Ddue.Tools.TypeReference>)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "Microsoft.Ddue.Tools.LinkTextResolver.#WriteNamespaceTarget(Microsoft.Ddue.Tools.NamespaceTarget,Microsoft.Ddue.Tools.DisplayOptions,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "overloadId", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberFilter.#AddMemberNode(System.Xml.XmlReader,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "paramNames", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberFilter.#AddMemberNode(System.Xml.XmlReader,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "key", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberFilter.#IsIncludedMember(System.Xml.XPath.XPathNavigator,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.MethodTarget.#TemplateArgs")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#.ctor(Microsoft.Ddue.Tools.BuildAssembler,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#Apply(System.Xml.XmlDocument,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#loadExamples(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#loadExamples(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#parseApprovalLogFiles(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#parseApprovalLogFiles(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#parseApprovalLogFiles(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "identifier", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#writeSnippetContent(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SnippetIdentifier,System.Collections.Generic.List`1<Microsoft.Ddue.Tools.Snippet>)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#writeSnippetContent(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SnippetIdentifier,System.Collections.Generic.List`1<Microsoft.Ddue.Tools.Snippet>)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.SnippetComponent.#WriteSnippetText(Microsoft.Ddue.Tools.Snippet,System.Xml.XmlWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1708:IdentifiersShouldDifferByMoreThanCase", Scope = "type", Target = "Microsoft.Ddue.Tools.Specialization")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.Specialization.#arguments")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "Microsoft.Ddue.Tools.XmlTargetCollectionUtilities.#CreateTypeReference(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.LinkTextResolver.#WriteConversionOperator(Microsoft.Ddue.Tools.ProcedureTarget,System.Xml.XmlWriter)")] diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/HxfGeneratorComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/HxfGeneratorComponent.cs index 65ba716..176ce97 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/HxfGeneratorComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/HxfGeneratorComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.IO; using System.Text; @@ -59,7 +62,7 @@ namespace Microsoft.Ddue.Tools { FileCreatedEventArgs fe = e as FileCreatedEventArgs; if (fe == null) return; - string path = Path.Combine(fe.HxfPath, outputValue); + string path = Path.Combine(fe.HxfPath, outputValue).ToLower(); XmlWriter tempWriter; if (!writers.TryGetValue(path, out tempWriter)) { @@ -80,10 +83,12 @@ namespace Microsoft.Ddue.Tools { writer.WriteEndElement(); } - public override void Dispose() { - writer.WriteEndDocument(); - writer.Close(); - base.Dispose(); + protected override void Dispose(bool disposing) { + if (disposing) { + writer.WriteEndDocument(); + writer.Close(); + } + base.Dispose(disposing); } public void WriteFile(string path) { diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IfThenComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IfThenComponent.cs index 7d8f423..e44c0f2 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IfThenComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IfThenComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; @@ -66,14 +69,16 @@ namespace Microsoft.Ddue.Tools { } - public override void Dispose () { - foreach (BuildComponent component in true_branch) { - component.Dispose(); - } - foreach (BuildComponent component in false_branch) { - component.Dispose(); + protected override void Dispose(bool disposing) { + if (disposing) { + foreach (BuildComponent component in true_branch) { + component.Dispose(); + } + foreach (BuildComponent component in false_branch) { + component.Dispose(); + } } - base.Dispose(); + base.Dispose(disposing); } } diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IndexedFileCache.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IndexedFileCache.cs index 62425d8..3fadba3 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IndexedFileCache.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IndexedFileCache.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.IO; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IntellisenseComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IntellisenseComponent.cs index 4d67803..1fd72a8 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IntellisenseComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IntellisenseComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.IO; @@ -234,13 +237,15 @@ namespace Microsoft.Ddue.Tools { } - public override void Dispose () { - //Console.WriteLine("disposing intellisense writer..."); - foreach (XmlWriter writer in writers.Values) { - writer.WriteEndDocument(); - writer.Close(); - } - } + protected override void Dispose(bool disposing) { + if (disposing) { + foreach (XmlWriter writer in writers.Values) { + writer.WriteEndDocument(); + writer.Close(); + } + } + base.Dispose(disposing); + } private void WriteSummary(XPathNavigator node, XPathExpression expression, XmlWriter writer) { XPathNavigator summary = node.SelectSingleNode(expression); diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IntellisenseComponent2.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IntellisenseComponent2.cs index 35531c2..3405ddb 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IntellisenseComponent2.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/IntellisenseComponent2.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections; using System.Collections.Generic; @@ -29,91 +32,91 @@ namespace Microsoft.Ddue.Tools { string root = expression_node.GetAttribute("root", string.Empty); try { rootExpression = XPathExpression.Compile(root); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", root)); } string assembly = expression_node.GetAttribute("assembly", string.Empty); try { assemblyExpression = XPathExpression.Compile(assembly); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", assembly)); } string summary = expression_node.GetAttribute("summary", string.Empty); try { summaryExpression = XPathExpression.Compile(summary); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", summary)); } string parameters = expression_node.GetAttribute("parameters", string.Empty); try { parametersExpression = XPathExpression.Compile(parameters); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", parameters)); } string parameterContent = expression_node.GetAttribute("parameterContent", string.Empty); try { parameterContentExpression = XPathExpression.Compile(parameterContent); - } catch (XPathException e) { + } catch (XPathException ) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", parameterContent)); } string templates = expression_node.GetAttribute("templates", string.Empty); try { templatesExpression = XPathExpression.Compile(templates); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", templates)); } string templateContent = expression_node.GetAttribute("templateContent", string.Empty); try { templateContentExpression = XPathExpression.Compile(templateContent); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", templateContent)); } string returns = expression_node.GetAttribute("returns", string.Empty); try { returnsExpression = XPathExpression.Compile(returns); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", returns)); } string exception = expression_node.GetAttribute("exception", string.Empty); try { exceptionExpression = XPathExpression.Compile(exception); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", exception)); } string exceptionCref = expression_node.GetAttribute("exceptionCref", string.Empty); try { exceptionCrefExpression = XPathExpression.Compile(exceptionCref); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", exceptionCref)); } string enumeration = expression_node.GetAttribute("enumeration", string.Empty); try { enumerationExpression = XPathExpression.Compile(enumeration); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", enumeration)); } string enumerationApi = expression_node.GetAttribute("enumerationApi", string.Empty); try { enumerationApiExpression = XPathExpression.Compile(enumerationApi); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", enumerationApi)); } string memberSummary = expression_node.GetAttribute("memberSummary", string.Empty); try { memberSummaryExpression = XPathExpression.Compile(memberSummary); - } catch (XPathException e) { + } catch (XPathException) { WriteMessage(MessageLevel.Error, String.Format("The expression '{0}' is not a valid XPath expression.", memberSummary)); } @@ -321,13 +324,15 @@ namespace Microsoft.Ddue.Tools { } - public override void Dispose () { - //Console.WriteLine("disposing intellisense writer..."); - foreach (XmlWriter writer in writers.Values) { - writer.WriteEndDocument(); - writer.Close(); - } - } + protected override void Dispose(bool disposing) { + if (disposing) { + foreach (XmlWriter writer in writers.Values) { + writer.WriteEndDocument(); + writer.Close(); + } + } + base.Dispose(disposing); + } private void WriteSummary(XPathNavigator node, XPathExpression expression, XmlWriter writer) { diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/LiveExampleComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/LiveExampleComponent.cs index fd1b5fc..43d76ba 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/LiveExampleComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/LiveExampleComponent.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.Collections.Generic; @@ -28,7 +30,7 @@ namespace Microsoft.Ddue.Tools { XmlNamespaceManager context; bool omitBadExamples; - bool runBadExamples; + //bool runBadExamples; Dictionary<string, SampleInfo> sampleInfoTable; @@ -44,9 +46,9 @@ namespace Microsoft.Ddue.Tools { if (!string.IsNullOrEmpty(omitBadExamplesValue)) omitBadExamples = Boolean.Parse(omitBadExamplesValue); - string runBadExamplesValue = parsnip_node.GetAttribute("run-bad-examples", String.Empty); - if (!string.IsNullOrEmpty(runBadExamplesValue)) - runBadExamples = Boolean.Parse(runBadExamplesValue); + //string runBadExamplesValue = parsnip_node.GetAttribute("run-bad-examples", String.Empty); + //if (!string.IsNullOrEmpty(runBadExamplesValue)) + // runBadExamples = Boolean.Parse(runBadExamplesValue); } if (string.IsNullOrEmpty(approvedFile)) diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Makefile.org b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Makefile.org deleted file mode 100644 index 46dba8f..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Makefile.org +++ /dev/null @@ -1,13 +0,0 @@ -LIBRARY = ..\BuildAssembler.exe - -FLOW_COMPONENTS = IfThenComponent.cs ForEachComponent.cs CloneComponent.cs -DIAGNOSTIC_COMPONENTS = DisplayComponent.cs ValidateComponent.cs -PROCESSING_COMPONENTS = CopyFromFileComponent.cs CopyFromDirectoryComponent.cs SharedContentComponent.cs TransformComponent.cs SaveComponent.cs ResolveLinksComponent.cs - -COMPONENTS = $(FLOW_COMPONENTS) $(DIAGNOSTIC_COMPONENTS) $(PROCESSING_COMPONENTS) - -all: BuildComponents.dll - -BuildComponents.dll: *Component.cs CustomContext.cs $(LIBRARY) - csc /t:library /out:BuildComponents.dll *Component.cs CustomContext.cs /r:$(LIBRARY) - copy BuildComponents.dll ..\..\..\ProductionTools\BuildComponents\ diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Microsoft.Ddue.Tools.BuildComponents.asmmeta b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Microsoft.Ddue.Tools.BuildComponents.asmmeta deleted file mode 100644 index 1c21d0f..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Microsoft.Ddue.Tools.BuildComponents.asmmeta +++ /dev/null @@ -1,1255 +0,0 @@ -.assembly extern Microsoft.Ddue.Tools.BuildAssemblerLibrary -{ - .publickeytoken = (4D DC 2B E8 53 17 C2 74) -} -.assembly extern System -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly extern System.Web.Services -{ - .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A) -} -.assembly extern System.Xml -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly extern mscorlib -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly Microsoft.Ddue.Tools.BuildComponents -{ - .publickey = (00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 EF 09 EE D7 93 0B 34 BA 88 83 E7 DB 9F 08 F5 DF A0 D9 F1 7A 97 8E 98 F3 99 03 36 B2 2A 75 D6 BB 2C 25 90 6C 4F 4E 5D 42 60 00 A9 22 00 A9 CE FE 3F 5E C4 22 BA 1E FF 47 7D C4 14 E7 52 C3 30 07 1C 66 1C 58 3F 28 48 0C 03 35 94 CE 5F A5 FC 44 94 D2 A4 42 95 E5 A3 3E AD B2 FD FF 45 13 77 FD BE 62 48 38 EF 02 BF 22 54 00 56 5D DB DA 10 D8 7E 77 F9 7F 9F 20 60 11 4B 49 3A 4D 62 FE C3 C3) - .hash algorithm 0x00008004 -} -.class public ContentService - extends [System.Web.Services]System.Web.Services.Protocols.SoapHttpClientProtocol -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void add_GetContentCompleted(class GetContentCompletedEventHandler 'value') - synchronized - { - ret - } - .method public hidebysig specialname - instance void remove_GetContentCompleted(class GetContentCompletedEventHandler 'value') - synchronized - { - ret - } - .method public hidebysig specialname - instance void add_GetNavigationPathsCompleted(class GetNavigationPathsCompletedEventHandler 'value') - synchronized - { - ret - } - .method public hidebysig specialname - instance void remove_GetNavigationPathsCompleted(class GetNavigationPathsCompletedEventHandler 'value') - synchronized - { - ret - } - .method public hidebysig - instance class getContentResponse GetContent(class getContentRequest getContentRequest) - { - ret - } - .method public hidebysig - instance class [mscorlib]System.IAsyncResult BeginGetContent(class getContentRequest getContentRequest, class [mscorlib]System.AsyncCallback callback, object asyncState) - { - ret - } - .method public hidebysig - instance class getContentResponse EndGetContent(class [mscorlib]System.IAsyncResult asyncResult) - { - ret - } - .method public hidebysig - instance void GetContentAsync(class getContentRequest getContentRequest) - { - ret - } - .method public hidebysig - instance void GetContentAsync(class getContentRequest getContentRequest, object userState) - { - ret - } - .method public hidebysig - instance class getNavigationPathsResponse GetNavigationPaths(class getNavigationPathsRequest getNavigationPathsRequest) - { - ret - } - .method public hidebysig - instance class [mscorlib]System.IAsyncResult BeginGetNavigationPaths(class getNavigationPathsRequest getNavigationPathsRequest, class [mscorlib]System.AsyncCallback callback, object asyncState) - { - ret - } - .method public hidebysig - instance class getNavigationPathsResponse EndGetNavigationPaths(class [mscorlib]System.IAsyncResult asyncResult) - { - ret - } - .method public hidebysig - instance void GetNavigationPathsAsync(class getNavigationPathsRequest getNavigationPathsRequest) - { - ret - } - .method public hidebysig - instance void GetNavigationPathsAsync(class getNavigationPathsRequest getNavigationPathsRequest, object userState) - { - ret - } - .method public hidebysig - instance void CancelAsync(object userState) - { - ret - } - .event GetContentCompletedEventHandler GetContentCompleted - { - .addon instance void ContentService::add_GetContentCompleted(class GetContentCompletedEventHandler) - .removeon instance void ContentService::remove_GetContentCompleted(class GetContentCompletedEventHandler) - } - .event GetNavigationPathsCompletedEventHandler GetNavigationPathsCompleted - { - .addon instance void ContentService::add_GetNavigationPathsCompleted(class GetNavigationPathsCompletedEventHandler) - .removeon instance void ContentService::remove_GetNavigationPathsCompleted(class GetNavigationPathsCompletedEventHandler) - } -} -.class public GetContentCompletedEventArgs - extends [System]System.ComponentModel.AsyncCompletedEventArgs -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance class getContentResponse get_Result() - { - ret - } - .property instance class getContentResponse Result() - { - .get instance class getContentResponse GetContentCompletedEventArgs::get_Result() - } -} -.class public sealed GetContentCompletedEventHandler - extends [mscorlib]System.MulticastDelegate -{ - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance void Invoke(object sender, class GetContentCompletedEventArgs e) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(object sender, class GetContentCompletedEventArgs e, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance void EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } -} -.class public GetNavigationPathsCompletedEventArgs - extends [System]System.ComponentModel.AsyncCompletedEventArgs -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance class getNavigationPathsResponse get_Result() - { - ret - } - .property instance class getNavigationPathsResponse Result() - { - .get instance class getNavigationPathsResponse GetNavigationPathsCompletedEventArgs::get_Result() - } -} -.class public sealed GetNavigationPathsCompletedEventHandler - extends [mscorlib]System.MulticastDelegate -{ - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance void Invoke(object sender, class GetNavigationPathsCompletedEventArgs e) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(object sender, class GetNavigationPathsCompletedEventArgs e, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance void EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } -} -.class public serializable availableVersionAndLocale - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance string get_locale() - { - ret - } - .method public hidebysig specialname - instance void set_locale(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_version() - { - ret - } - .method public hidebysig specialname - instance void set_version(string 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance string locale() - { - .get instance string availableVersionAndLocale::get_locale() - .set instance void availableVersionAndLocale::set_locale(string) - } - .property instance string version() - { - .get instance string availableVersionAndLocale::get_version() - .set instance void availableVersionAndLocale::set_version(string) - } -} -.class public serializable common - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance class [System.Xml]System.Xml.XmlElement[] get_Any() - { - ret - } - .method public hidebysig specialname - instance void set_Any(class [System.Xml]System.Xml.XmlElement[] 'value') - { - ret - } - .method public hidebysig specialname - instance string get_commonFormat() - { - ret - } - .method public hidebysig specialname - instance void set_commonFormat(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_location() - { - ret - } - .method public hidebysig specialname - instance void set_location(string 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance class [System.Xml]System.Xml.XmlElement[] Any() - { - .get instance class [System.Xml]System.Xml.XmlElement[] common::get_Any() - .set instance void common::set_Any(class [System.Xml]System.Xml.XmlElement[]) - } - .property instance string commonFormat() - { - .get instance string common::get_commonFormat() - .set instance void common::set_commonFormat(string) - } - .property instance string location() - { - .get instance string common::get_location() - .set instance void common::set_location(string) - } -} -.class public sealed serializable documentTypes - extends [mscorlib]System.Enum -{ - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype documentTypes common = int32(0x00000001) - .field static public literal valuetype documentTypes feature = int32(0x00000003) - .field static public literal valuetype documentTypes image = int32(0x00000002) - .field static public literal valuetype documentTypes primary = int32(0x00000000) -} -.class public serializable feature - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance class [System.Xml]System.Xml.XmlElement[] get_Any() - { - ret - } - .method public hidebysig specialname - instance void set_Any(class [System.Xml]System.Xml.XmlElement[] 'value') - { - ret - } - .method public hidebysig specialname - instance string get_featureFormat() - { - ret - } - .method public hidebysig specialname - instance void set_featureFormat(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_location() - { - ret - } - .method public hidebysig specialname - instance void set_location(string 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance class [System.Xml]System.Xml.XmlElement[] Any() - { - .get instance class [System.Xml]System.Xml.XmlElement[] feature::get_Any() - .set instance void feature::set_Any(class [System.Xml]System.Xml.XmlElement[]) - } - .property instance string featureFormat() - { - .get instance string feature::get_featureFormat() - .set instance void feature::set_featureFormat(string) - } - .property instance string location() - { - .get instance string feature::get_location() - .set instance void feature::set_location(string) - } -} -.class public serializable getContentRequest - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance string get_contentIdentifier() - { - ret - } - .method public hidebysig specialname - instance void set_contentIdentifier(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_locale() - { - ret - } - .method public hidebysig specialname - instance void set_locale(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_version() - { - ret - } - .method public hidebysig specialname - instance void set_version(string 'value') - { - ret - } - .method public hidebysig specialname - instance class requestedDocument[] get_requestedDocuments() - { - ret - } - .method public hidebysig specialname - instance void set_requestedDocuments(class requestedDocument[] 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance string contentIdentifier() - { - .get instance string getContentRequest::get_contentIdentifier() - .set instance void getContentRequest::set_contentIdentifier(string) - } - .property instance string locale() - { - .get instance string getContentRequest::get_locale() - .set instance void getContentRequest::set_locale(string) - } - .property instance class requestedDocument[] requestedDocuments() - { - .get instance class requestedDocument[] getContentRequest::get_requestedDocuments() - .set instance void getContentRequest::set_requestedDocuments(class requestedDocument[]) - } - .property instance string version() - { - .get instance string getContentRequest::get_version() - .set instance void getContentRequest::set_version(string) - } -} -.class public serializable getContentResponse - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance string get_contentId() - { - ret - } - .method public hidebysig specialname - instance void set_contentId(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_contentGuid() - { - ret - } - .method public hidebysig specialname - instance void set_contentGuid(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_contentAlias() - { - ret - } - .method public hidebysig specialname - instance void set_contentAlias(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_locale() - { - ret - } - .method public hidebysig specialname - instance void set_locale(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_version() - { - ret - } - .method public hidebysig specialname - instance void set_version(string 'value') - { - ret - } - .method public hidebysig specialname - instance class availableVersionAndLocale[] get_availableVersionsAndLocales() - { - ret - } - .method public hidebysig specialname - instance void set_availableVersionsAndLocales(class availableVersionAndLocale[] 'value') - { - ret - } - .method public hidebysig specialname - instance class primary[] get_primaryDocuments() - { - ret - } - .method public hidebysig specialname - instance void set_primaryDocuments(class primary[] 'value') - { - ret - } - .method public hidebysig specialname - instance class image[] get_imageDocuments() - { - ret - } - .method public hidebysig specialname - instance void set_imageDocuments(class image[] 'value') - { - ret - } - .method public hidebysig specialname - instance class common[] get_commonDocuments() - { - ret - } - .method public hidebysig specialname - instance void set_commonDocuments(class common[] 'value') - { - ret - } - .method public hidebysig specialname - instance class feature[] get_featureDocuments() - { - ret - } - .method public hidebysig specialname - instance void set_featureDocuments(class feature[] 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance class availableVersionAndLocale[] availableVersionsAndLocales() - { - .get instance class availableVersionAndLocale[] getContentResponse::get_availableVersionsAndLocales() - .set instance void getContentResponse::set_availableVersionsAndLocales(class availableVersionAndLocale[]) - } - .property instance class common[] commonDocuments() - { - .get instance class common[] getContentResponse::get_commonDocuments() - .set instance void getContentResponse::set_commonDocuments(class common[]) - } - .property instance string contentAlias() - { - .get instance string getContentResponse::get_contentAlias() - .set instance void getContentResponse::set_contentAlias(string) - } - .property instance string contentGuid() - { - .get instance string getContentResponse::get_contentGuid() - .set instance void getContentResponse::set_contentGuid(string) - } - .property instance string contentId() - { - .get instance string getContentResponse::get_contentId() - .set instance void getContentResponse::set_contentId(string) - } - .property instance class feature[] featureDocuments() - { - .get instance class feature[] getContentResponse::get_featureDocuments() - .set instance void getContentResponse::set_featureDocuments(class feature[]) - } - .property instance class image[] imageDocuments() - { - .get instance class image[] getContentResponse::get_imageDocuments() - .set instance void getContentResponse::set_imageDocuments(class image[]) - } - .property instance string locale() - { - .get instance string getContentResponse::get_locale() - .set instance void getContentResponse::set_locale(string) - } - .property instance class primary[] primaryDocuments() - { - .get instance class primary[] getContentResponse::get_primaryDocuments() - .set instance void getContentResponse::set_primaryDocuments(class primary[]) - } - .property instance string version() - { - .get instance string getContentResponse::get_version() - .set instance void getContentResponse::set_version(string) - } -} -.class public serializable getNavigationPathsRequest - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance class navigationKey get_root() - { - ret - } - .method public hidebysig specialname - instance void set_root(class navigationKey 'value') - { - ret - } - .method public hidebysig specialname - instance class navigationKey get_target() - { - ret - } - .method public hidebysig specialname - instance void set_target(class navigationKey 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance class navigationKey root() - { - .get instance class navigationKey getNavigationPathsRequest::get_root() - .set instance void getNavigationPathsRequest::set_root(class navigationKey) - } - .property instance class navigationKey target() - { - .get instance class navigationKey getNavigationPathsRequest::get_target() - .set instance void getNavigationPathsRequest::set_target(class navigationKey) - } -} -.class public serializable getNavigationPathsResponse - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance class navigationPath[] get_navigationPaths() - { - ret - } - .method public hidebysig specialname - instance void set_navigationPaths(class navigationPath[] 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance class navigationPath[] navigationPaths() - { - .get instance class navigationPath[] getNavigationPathsResponse::get_navigationPaths() - .set instance void getNavigationPathsResponse::set_navigationPaths(class navigationPath[]) - } -} -.class public serializable image - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance string get_name() - { - ret - } - .method public hidebysig specialname - instance void set_name(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_imageFormat() - { - ret - } - .method public hidebysig specialname - instance void set_imageFormat(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_location() - { - ret - } - .method public hidebysig specialname - instance void set_location(string 'value') - { - ret - } - .method public hidebysig specialname - instance unsigned int8[] get_Value() - { - ret - } - .method public hidebysig specialname - instance void set_Value(unsigned int8[] 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance unsigned int8[] Value() - { - .get instance unsigned int8[] image::get_Value() - .set instance void image::set_Value(unsigned int8[]) - } - .property instance string imageFormat() - { - .get instance string image::get_imageFormat() - .set instance void image::set_imageFormat(string) - } - .property instance string location() - { - .get instance string image::get_location() - .set instance void image::set_location(string) - } - .property instance string name() - { - .get instance string image::get_name() - .set instance void image::set_name(string) - } -} -.class public serializable navigationKey - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance string get_contentId() - { - ret - } - .method public hidebysig specialname - instance void set_contentId(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_locale() - { - ret - } - .method public hidebysig specialname - instance void set_locale(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_version() - { - ret - } - .method public hidebysig specialname - instance void set_version(string 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance string contentId() - { - .get instance string navigationKey::get_contentId() - .set instance void navigationKey::set_contentId(string) - } - .property instance string locale() - { - .get instance string navigationKey::get_locale() - .set instance void navigationKey::set_locale(string) - } - .property instance string version() - { - .get instance string navigationKey::get_version() - .set instance void navigationKey::set_version(string) - } -} -.class public serializable navigationPath - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance class navigationPathNode[] get_navigationPathNodes() - { - ret - } - .method public hidebysig specialname - instance void set_navigationPathNodes(class navigationPathNode[] 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance class navigationPathNode[] navigationPathNodes() - { - .get instance class navigationPathNode[] navigationPath::get_navigationPathNodes() - .set instance void navigationPath::set_navigationPathNodes(class navigationPathNode[]) - } -} -.class public serializable navigationPathNode - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance string get_title() - { - ret - } - .method public hidebysig specialname - instance void set_title(string 'value') - { - ret - } - .method public hidebysig specialname - instance class navigationKey get_navigationNodeKey() - { - ret - } - .method public hidebysig specialname - instance void set_navigationNodeKey(class navigationKey 'value') - { - ret - } - .method public hidebysig specialname - instance class navigationKey get_contentNodeKey() - { - ret - } - .method public hidebysig specialname - instance void set_contentNodeKey(class navigationKey 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance class navigationKey contentNodeKey() - { - .get instance class navigationKey navigationPathNode::get_contentNodeKey() - .set instance void navigationPathNode::set_contentNodeKey(class navigationKey) - } - .property instance class navigationKey navigationNodeKey() - { - .get instance class navigationKey navigationPathNode::get_navigationNodeKey() - .set instance void navigationPathNode::set_navigationNodeKey(class navigationKey) - } - .property instance string title() - { - .get instance string navigationPathNode::get_title() - .set instance void navigationPathNode::set_title(string) - } -} -.class public serializable primary - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance class [System.Xml]System.Xml.XmlElement get_Any() - { - ret - } - .method public hidebysig specialname - instance void set_Any(class [System.Xml]System.Xml.XmlElement 'value') - { - ret - } - .method public hidebysig specialname - instance string get_primaryFormat() - { - ret - } - .method public hidebysig specialname - instance void set_primaryFormat(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_location() - { - ret - } - .method public hidebysig specialname - instance void set_location(string 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance class [System.Xml]System.Xml.XmlElement Any() - { - .get instance class [System.Xml]System.Xml.XmlElement primary::get_Any() - .set instance void primary::set_Any(class [System.Xml]System.Xml.XmlElement) - } - .property instance string location() - { - .get instance string primary::get_location() - .set instance void primary::set_location(string) - } - .property instance string primaryFormat() - { - .get instance string primary::get_primaryFormat() - .set instance void primary::set_primaryFormat(string) - } -} -.class public serializable requestedDocument - extends [mscorlib]System.Object -{ - .custom instance void [System]System.ComponentModel.DesignerCategoryAttribute::.ctor(string) = { string('code') } - .method public hidebysig specialname - instance string get_selector() - { - ret - } - .method public hidebysig specialname - instance void set_selector(string 'value') - { - ret - } - .method public hidebysig specialname - instance valuetype documentTypes get_type() - { - ret - } - .method public hidebysig specialname - instance void set_type(valuetype documentTypes 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance string selector() - { - .get instance string requestedDocument::get_selector() - .set instance void requestedDocument::set_selector(string) - } - .property instance valuetype documentTypes 'type'() - { - .get instance valuetype documentTypes requestedDocument::get_type() - .set instance void requestedDocument::set_type(valuetype documentTypes) - } -} -.namespace Microsoft.Ddue.Tools -{ - .class public CloneComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public CopyFromFileComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public CopyFromIndexComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public DisplayComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public ForEachComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public IfThenComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public ManagedSyntaxWriter - extends Microsoft.Ddue.Tools.SyntaxWriter - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator location) - { - ret - } - .method public virtual hidebysig - instance void WriteStartBlock(string language) - { - ret - } - .method public virtual hidebysig - instance void WriteString(string text) - { - ret - } - .method public virtual hidebysig - instance void WriteStringWithStyle(string text, string style) - { - ret - } - .method public virtual hidebysig - instance void WriteReferenceLink(string reference) - { - ret - } - .method public virtual hidebysig - instance void WriteReferenceLink(string reference, string text) - { - ret - } - .method public virtual hidebysig - instance void WriteEndBlock() - { - ret - } - } - .class public ResolveConceptualLinksComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public ResolveReferenceLinksComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public SaveComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public SharedContentComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public SyntaxComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public abstract SyntaxGenerator - extends [mscorlib]System.Object - { - .method public virtual hidebysig newslot abstract - instance void WriteSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method family hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public abstract SyntaxWriter - extends [mscorlib]System.Object - { - .method family hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator location) - { - ret - } - .method public virtual hidebysig newslot abstract - instance void WriteStartBlock(string language) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteString(string text) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteStringWithStyle(string text, string style) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteReferenceLink(string reference) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteReferenceLink(string reference, string text) - { - } - .method public virtual hidebysig newslot - instance void WriteLine() - { - ret - } - .method public virtual hidebysig newslot - instance void WriteKeyword(string keyword) - { - ret - } - .method public virtual hidebysig newslot - instance void WriteParameter(string parameter) - { - ret - } - .method public virtual hidebysig newslot - instance void WriteIdentifier(string identifier) - { - ret - } - .method public virtual hidebysig newslot - instance void WriteLiteral(string 'literal') - { - ret - } - .method public virtual hidebysig newslot - instance void WriteMessage(string message) - { - ret - } - .method public virtual hidebysig newslot abstract - instance void WriteEndBlock() - { - } - } - .class public TransformComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } - .class public ValidateComponent - extends [Microsoft.Ddue.Tools.BuildAssemblerLibrary]Microsoft.Ddue.Tools.BuildComponent - { - .method public hidebysig specialname - instance void .ctor(class [System.Xml]System.Xml.XPath.XPathNavigator configuration) - { - ret - } - .method public virtual hidebysig - instance void Apply(class [System.Xml]System.Xml.XmlDocument document, string key) - { - ret - } - } -} - diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/MsdnResolver.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/MsdnResolver.cs index 95ad854..84a43f1 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/MsdnResolver.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/MsdnResolver.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Net; @@ -45,7 +48,7 @@ namespace Microsoft.Ddue.Tools { try { getContentResponse msdnResponse = msdnService.GetContent(msdnRequest); endpoint = msdnResponse.contentId; - } catch (WebException e) { + } catch (WebException) { msdnService = null; } catch (SoapException) { // lookup failed diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/PlatformsComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/PlatformsComponent.cs index 7aaa64d..cd3f2cc 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/PlatformsComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/PlatformsComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; @@ -331,7 +334,7 @@ namespace Microsoft.Ddue.Tools public NamespaceFilter(XmlReader namespaceReader, string file) : base(file) { - name = namespaceReader.GetAttribute("name"); + //name = namespaceReader.GetAttribute("name"); string includeAttr = namespaceReader.GetAttribute("include"); included = Convert.ToBoolean(string.IsNullOrEmpty(includeAttr) ? "true" : includeAttr); AddNamespaceNode(namespaceReader, file); @@ -375,7 +378,7 @@ namespace Microsoft.Ddue.Tools subtree.Close(); } - private string name; + //private string name; private bool included; public bool Included @@ -427,7 +430,7 @@ namespace Microsoft.Ddue.Tools public TypeFilter(XmlReader typeReader, string file) : base(file) { - name = typeReader.GetAttribute("name"); + //name = typeReader.GetAttribute("name"); string includeAttr = typeReader.GetAttribute("include"); included = Convert.ToBoolean(string.IsNullOrEmpty(includeAttr) ? "true" : includeAttr); AddTypeNode(typeReader, file); @@ -471,7 +474,7 @@ namespace Microsoft.Ddue.Tools subtree.Close(); } - private string name; + //private string name; private bool included; public bool Included @@ -513,7 +516,7 @@ namespace Microsoft.Ddue.Tools public MemberFilter(XmlReader memberReader, string file) : base(file) { - name = memberReader.GetAttribute("name"); + //name = memberReader.GetAttribute("name"); string includeAttr = memberReader.GetAttribute("include"); included = Convert.ToBoolean(string.IsNullOrEmpty(includeAttr) ? "true" : includeAttr); @@ -536,12 +539,8 @@ namespace Microsoft.Ddue.Tools bool alreadyFiltered = false; foreach (OverloadFilter overloadFilter in overloadFilters) { - if (!string.IsNullOrEmpty(overloadId) && overloadId == overloadFilter.OverloadId) - alreadyFiltered = true; if (!string.IsNullOrEmpty(paramTypes) && paramTypes == overloadFilter.ParamTypes) alreadyFiltered = true; - if (!string.IsNullOrEmpty(paramNames) && paramNames == overloadFilter.ParamNames) - alreadyFiltered = true; if (alreadyFiltered && (overloadIncluded != overloadFilter.Included)) { // write warning message about conflicting filters @@ -559,7 +558,7 @@ namespace Microsoft.Ddue.Tools subtree.Close(); } - private string name; + //private string name; private bool included; public bool Included @@ -599,7 +598,7 @@ namespace Microsoft.Ddue.Tools if (string.IsNullOrEmpty(typeName)) typeName = (string)parameterNode.Evaluate(apiParameterTemplateNameExpression); - int basenameStart = typeName.LastIndexOf('.') + 1; + int basenameStart = typeName.LastIndexOf(':') + 1; if (basenameStart > 0 && basenameStart < typeName.Length) typeName = typeName.Substring(basenameStart); @@ -610,10 +609,6 @@ namespace Microsoft.Ddue.Tools foreach (OverloadFilter overloadFilter in overloadFilters) { - if (key == overloadFilter.OverloadId) - return overloadFilter.Included; - if (paramNames.ToString() == overloadFilter.ParamNames) - return overloadFilter.Included; if (paramTypes.ToString() == overloadFilter.ParamTypes) return overloadFilter.Included; } @@ -629,7 +624,7 @@ namespace Microsoft.Ddue.Tools public OverloadFilter(XmlReader overloadReader, string file) : base(file) { - name = overloadReader.GetAttribute("name"); + //name = overloadReader.GetAttribute("name"); string includeAttr = overloadReader.GetAttribute("include"); included = Convert.ToBoolean(string.IsNullOrEmpty(includeAttr) ? "true" : includeAttr); overloadId = overloadReader.GetAttribute("api"); @@ -637,7 +632,7 @@ namespace Microsoft.Ddue.Tools paramNames = overloadReader.GetAttribute("names"); } - private string name; + //private string name; private bool included; public bool Included diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Properties/AssemblyInfo.cs index 1701d1d..41965fc 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Properties/AssemblyInfo.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -16,6 +19,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: System.CLSCompliant(true)] + // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -33,5 +38,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/References.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/References.cs index ae11ad5..ba23c6f 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/References.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/References.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Text; @@ -169,15 +172,11 @@ namespace BuildComponents { switch (element.LocalName) { case "namespace": return (NamespaceReference.Create(element)); - break; case "member": return (MemberReference.Create(element)); - break; default: return (TypeReference.Create(element)); - break; } - return (null); } public static Reference Create (XPathNavigator node) { @@ -192,7 +191,7 @@ namespace BuildComponents { } } - protected static XPathExpression referenceApiExpression = XPathExpression.Compile("string(@api)"); + protected static XPathExpression referenceApiExpression = XPathExpression.Compile("string(@api)"); } @@ -224,23 +223,19 @@ namespace BuildComponents { case "type": // also handle specialization! return(SimpleTypeReference.Create(element)); - break; case "referenceTo": return(ReferenceTypeReference.Create(element)); - break; case "pointerTo": return(PointerTypeReference.Create(element)); - break; case "arrayOf": return(ArrayTypeReference.Create(element)); - break; } return (null); } public static new TypeReference Create (XPathNavigator element) { - if (element == null) throw new ArgumentNullException("reference"); + if (element == null) throw new ArgumentNullException("element"); string tag = element.LocalName; if (tag == "type") { bool isSpecialized = (bool)element.Evaluate("boolean(.//specialization)"); @@ -262,7 +257,7 @@ namespace BuildComponents { XPathNavigator pointedToNode = element.SelectSingleNode("*[1]"); return (new PointerTypeReference(TypeReference.Create(pointedToNode))); } else if (tag == "template") { - string nameValue = element.GetAttribute("name", String.Empty); + //string nameValue = element.GetAttribute("name", String.Empty); string indexValue = element.GetAttribute("index", String.Empty); string apiValue = element.GetAttribute("api", String.Empty); if ((!String.IsNullOrEmpty(apiValue)) && (!String.IsNullOrEmpty(indexValue))) { @@ -314,7 +309,7 @@ namespace BuildComponents { public partial class PointerTypeReference { public static new PointerTypeReference Create (XmlReader pointerTo) { - if (pointerTo == null) throw new ArgumentException("pointerTo"); + if (pointerTo == null) throw new ArgumentNullException("pointerTo"); pointerTo.Read(); TypeReference pointedToType = TypeReference.Create(pointerTo); return (new PointerTypeReference(pointedToType)); diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveArtLinksComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveArtLinksComponent.cs index 3f13a7b..77d763d 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveArtLinksComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveArtLinksComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.IO; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveConceptualLinksComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveConceptualLinksComponent.cs index 02ed150..2531e23 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveConceptualLinksComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveConceptualLinksComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.IO; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveReferenceLinksComponent2.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveReferenceLinksComponent2.cs index 31e4349..22587ac 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveReferenceLinksComponent2.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ResolveReferenceLinksComponent2.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.IO; @@ -185,15 +188,31 @@ namespace Microsoft.Ddue.Tools { } else { // if overload is prefered and found, change targetId and make link options hide parameters if (link.PreferOverload) { + + bool isConversionOperator = false; + + MethodTarget method = target as MethodTarget; + if (method != null) { + isConversionOperator = method.conversionOperator; + } + MemberTarget member = target as MemberTarget; - if ((member != null) && (!String.IsNullOrEmpty(member.OverloadId))) { + + // if conversion operator is found, always link to individual topic. + if ((member != null) && (!String.IsNullOrEmpty(member.OverloadId)) && !isConversionOperator) { Target overloadTarget = targets[member.OverloadId]; if (overloadTarget != null) { target = overloadTarget; targetId = overloadTarget.Id; } } - options = options & ~DisplayOptions.ShowParameters; + + // if individual conversion operator is found, always display parameters. + if (isConversionOperator && member != null && (!string.IsNullOrEmpty(member.OverloadId))) { + options = options | DisplayOptions.ShowParameters; + } else { + options = options & ~DisplayOptions.ShowParameters; + } } // get stored link type @@ -326,6 +345,11 @@ namespace Microsoft.Ddue.Tools { fragment.WriteTo(writer); //writer.WriteRaw(output); + } + else if ((String.Compare(link.DisplayTarget, "extension", true) == 0) && (link.Contents != null)) + { + Reference extMethodReference = XmlTargetCollectionUtilities.CreateExtensionMethodReference(link.Contents); + resolver.WriteReference(extMethodReference, options, writer); } else { // Use the display target value as a CER for the display target diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SaveComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SaveComponent.cs index bacb26c..8b8fea9 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SaveComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SaveComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Configuration; using System.Text; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SharedContentComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SharedContentComponent.cs index f339800..2a255fc 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SharedContentComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SharedContentComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SnippetComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SnippetComponent.cs new file mode 100644 index 0000000..d4a3d68 --- /dev/null +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SnippetComponent.cs @@ -0,0 +1,1223 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// <summary>Contains code to insert snippets directly from the source files without using any +// intermediate XML files. +// </summary> +namespace Microsoft.Ddue.Tools +{ + using System; + using System.Configuration; + using System.Collections.Generic; + using System.IO; + using System.Text; + using System.Text.RegularExpressions; + using System.Xml; + using System.Xml.XPath; + using System.Globalization; + using System.Diagnostics; + + /// <summary> + /// SnippetComponent class to replace the snippet code references. + /// </summary> + public class SnippetComponent : BuildComponent + { + #region Private members + /// <summary> + /// Regex to validate the snippet references. + /// </summary> + private static Regex validSnippetReference = new Regex( + @"^[^#\a\b\f\n\r\t\v]+#(\w+,)*\w+$", + RegexOptions.Compiled); + + /// <summary> + /// Dictionary to map language folder names to language id. + /// </summary> + private static Dictionary<string, string> languageMap = new Dictionary<string, string>(StringComparer.CurrentCultureIgnoreCase); + + /// <summary> + /// List that controls the order in which languages snippets are displayed. + /// </summary> + private static List<string> languageList = new List<string>(); + + /// <summary> + /// Dictionary consisting of example name as key and example path as value. + /// </summary> + private Dictionary<string, string> exampleIndex = new Dictionary<string, string>(); + + /// <summary> + /// Dictionary consisting of exampleName\unitName as key with a null value. + /// </summary> + private Dictionary<string, string> approvedSnippetIndex = new Dictionary<string,string>(); + + /// <summary> + /// Dictionary containing the example name as key and list of rejected language snippets as values. + /// </summary> + private Dictionary<string, List<string>> rejectedSnippetIndex = new Dictionary<string, List<string>>(); + + /// <summary> + /// List of unit folder names to exclude from sample parsing. + /// </summary> + private Dictionary<string, Object> excludedUnits = new Dictionary<string, Object>(); + + /// <summary> + /// Dictionary consisting of exampleName\unitName as key with a null value. + /// </summary> + private SnippetCache snippetCache = null; + + /// <summary> + /// XPathExpression to look for snippet references in the topics. + /// </summary> + private XPathExpression selector; + + /// <summary> + /// XmlNamespaceManager to set the context. + /// </summary> + private XmlNamespaceManager context = new CustomContext(); + + /// <summary> + /// List of languages. + /// </summary> + private List<Language> languages = new List<Language>(); + + /// <summary> + /// snippet store. + /// </summary> + private Dictionary<SnippetIdentifier, List<Snippet>> snippets = new Dictionary<SnippetIdentifier, List<Snippet>>(); + #endregion + + #region Constructor + + /// <summary> + /// Constructor for SnippetComponent class. + /// </summary> + /// <param name="assembler">An instance of Build Assembler</param> + /// <param name="configuration">configuration to be parsed for information related to snippets</param> + public SnippetComponent(BuildAssembler assembler, XPathNavigator configuration) + : base(assembler, configuration) + { + Debug.Assert(assembler != null); + Debug.Assert(configuration != null); + + // Get the parsnip examples location. + XPathNodeIterator examplesNode = configuration.Select("examples/example"); + + if (examplesNode.Count == 0) + WriteMessage(MessageLevel.Error, "Each snippet component element must have a child element named 'examples' containing an element named 'example' with an attribute named 'directory', whose value is a path to the directory containing examples."); + + foreach (XPathNavigator exampleNode in examplesNode) + { + string rootDirectory = exampleNode.GetAttribute("directory", string.Empty); + + if (string.IsNullOrEmpty(rootDirectory)) + WriteMessage(MessageLevel.Error, "Each examples element must have a directory attribute specifying a directory containing parsnip samples."); + + rootDirectory = Environment.ExpandEnvironmentVariables(rootDirectory); + if (!Directory.Exists(rootDirectory)) + WriteMessage(MessageLevel.Error, String.Format("The examples/@directory attribute specified a directory that doesn't exist: '{0}'", rootDirectory)); + + // create a dictionary that maps the example names to the example path under the root directory + this.loadExamples(rootDirectory); + } + + // Get the approved log files location. + XPathNodeIterator approvedSnippetsNode = configuration.Select("approvalLogs/approvalLog"); + + if (approvedSnippetsNode.Count == 0) + WriteMessage(MessageLevel.Warn, "The config did not have an 'approvalLogs' node to specify a snippet approval logs."); + + foreach (XPathNavigator node in approvedSnippetsNode) + { + string approvalLogFile = node.GetAttribute("file", string.Empty); + + if (string.IsNullOrEmpty(approvalLogFile)) + WriteMessage(MessageLevel.Error, "The approvalLog node must have a 'file' attribute specifying the path to a snippet approval log."); + + approvalLogFile = Environment.ExpandEnvironmentVariables(approvalLogFile); + if (!File.Exists(approvalLogFile)) + WriteMessage(MessageLevel.Error, String.Format("The approvalLog/@file attribute specified a file that doesn't exist: '{0}'", approvalLogFile)); + + // load the approval log into the approvedSnippetIndex dictionary + this.parseApprovalLogFiles(approvalLogFile); + } + + // Get the names of the unit directories in the sample tree to exclude from parsing + // <excludedUnits><unitFolder name="CPP_OLD" /></excludedUnits> + XPathNodeIterator excludedUnitNodes = configuration.Select("excludedUnits/unitFolder"); + foreach (XPathNavigator unitFolder in excludedUnitNodes) + { + string folderName = unitFolder.GetAttribute("name", string.Empty); + + if (string.IsNullOrEmpty(folderName)) + WriteMessage(MessageLevel.Error, "Each excludedUnits/unitFolder node must have a 'name' attribute specifying the name of a folder name to exclude."); + + folderName = Environment.ExpandEnvironmentVariables(folderName); + + // add the folderName to the list of names to be excluded + this.excludedUnits.Add(folderName.ToLower(),null); + } + + // Get the languages defined. + XPathNodeIterator languageNodes = configuration.Select("languages/language"); + foreach (XPathNavigator languageNode in languageNodes) + { + // read the @languageId, @unit, and @extension attributes + string languageId = languageNode.GetAttribute("languageId", string.Empty); + if (string.IsNullOrEmpty(languageId)) + WriteMessage(MessageLevel.Error, "Each language node must specify an @languageId attribute."); + + string unit = languageNode.GetAttribute("unit", string.Empty); + + // if both @languageId and @unit are specified, add this language to the language map + if (!string.IsNullOrEmpty(unit)) + languageMap.Add(unit.ToLower(), languageId); + + // add languageId to the languageList for purpose of ordering snippets in the output + if (!languageList.Contains(languageId)) + languageList.Add(languageId.ToLower()); + + string extension = languageNode.GetAttribute("extension", string.Empty); + if (!string.IsNullOrEmpty(extension)) + { + if (!extension.Contains(".")) + { + extension = "." + extension; + WriteMessage(MessageLevel.Warn, String.Format("The @extension value must begin with a period. Adding a period to the extension value '{0}' of the {1} language.", extension, languageId)); + } + else + { + int indexOfPeriod = extension.IndexOf('.'); + if (indexOfPeriod != 0) + { + extension = extension.Substring(indexOfPeriod); + WriteMessage(MessageLevel.Warn, String.Format("The @extension value must begin with a period. Using the substring beginning with the first period of the specified extension value '{0}' of the {1} language.", extension, languageId)); + } + } + } + + // read the color nodes, if any, and add them to the list of colorization rules + List<ColorizationRule> rules = new List<ColorizationRule>(); + + XPathNodeIterator colorNodes = languageNode.Select("color"); + foreach (XPathNavigator colorNode in colorNodes) + { + string pattern = colorNode.GetAttribute("pattern", String.Empty); + string region = colorNode.GetAttribute("region", String.Empty); + string name = colorNode.GetAttribute("class", String.Empty); + if (String.IsNullOrEmpty(region)) + { + rules.Add(new ColorizationRule(pattern, name)); + } + else + { + rules.Add(new ColorizationRule(pattern, region, name)); + } + } + + this.languages.Add(new Language(languageId, extension, rules)); + WriteMessage(MessageLevel.Info, String.Format("Loaded {0} colorization rules for the language '{1}', extension '{2}.", rules.Count, languageId, extension)); + } + + this.context.AddNamespace("ddue", "http://ddue.schemas.microsoft.com/authoring/2003/5"); + this.selector = XPathExpression.Compile("//ddue:codeReference"); + this.selector.SetContext(this.context); + + // create the snippet cache + snippetCache = new SnippetCache(100, approvedSnippetIndex, languageMap, languages, excludedUnits); + } + #endregion + + #region Public methods + /// <summary> + /// Apply method to perform the actual work of the component. + /// </summary> + /// <param name="document">document to be parsed for snippet references</param> + /// <param name="key">Id of a topic</param> + public override void Apply(XmlDocument document, string key) + { + // clear out the snippets dictionary of any snippets from the previous document + snippets.Clear(); + + XPathNodeIterator nodesIterator = document.CreateNavigator().Select(this.selector); + XPathNavigator[] nodes = BuildComponentUtilities.ConvertNodeIteratorToArray(nodesIterator); + foreach (XPathNavigator node in nodes) + { + // get the snippet reference, which can contain one or more snippet ids + string reference = node.Value; + + // check for validity of reference + if (!validSnippetReference.IsMatch(reference)) + { + WriteMessage(MessageLevel.Warn, "Skipping invalid snippet reference: " + reference); + continue; + } + + // get the identifiers from the codeReference + SnippetIdentifier[] identifiers = SnippetIdentifier.ParseReference(reference); + + // load the language-specific snippets for each of the specified identifiers + foreach (SnippetIdentifier identifier in identifiers) + { + if (snippets.ContainsKey(identifier)) + continue; + + // look up the snippets example path + string examplePath = string.Empty; + if (!this.exampleIndex.TryGetValue(identifier.Example, out examplePath)) + { + WriteMessage(MessageLevel.Warn, String.Format("Snippet with identifier '{0}' was not found. The '{1}' example was not found in the examples directory.", identifier.ToString(), identifier.Example)); + continue; + } + + // get the snippet from the snippet cache + List<Snippet> snippetList = snippetCache.GetContent(examplePath, identifier); + if (snippetList != null) + { + snippets.Add(identifier, snippetList); + } + else + { + // if no approval log was specified in the config, all snippets are treated as approved by default + // so show an warning message that the snippet was not found + if (approvedSnippetIndex.Count == 0) + WriteMessage(MessageLevel.Warn, string.Format("No Snippet with identifier '{0}' was found.", identifier.ToString())); + else + { + // show a warning message: either snippet not found, or snippet not approved. + bool isApproved = false; + + foreach (string snippetIndex in this.approvedSnippetIndex.Keys) + { + string[] splitSnippet = snippetIndex.Split('\\'); + if (splitSnippet[0] == identifier.Example) + { + isApproved = true; + break; + } + } + + // check whether snippets are present in parsnip approval logs and throw warnings accordingly. + if (!isApproved || !rejectedSnippetIndex.ContainsKey(identifier.Example)) + WriteMessage(MessageLevel.Warn, string.Format("The snippet with identifier '{0}' was omitted because it is not present in parsnip approval logs.", identifier.ToString())); + else + WriteMessage(MessageLevel.Warn, string.Format("No Snippet with identifier '{0}' was found.", identifier.ToString())); + } + + continue; + } + + // write warning messages for any rejected units for this example + List<string> rejectedUnits; + if (rejectedSnippetIndex.TryGetValue(identifier.Example, out rejectedUnits)) + { + foreach (string rejectedUnit in rejectedUnits) + WriteMessage(MessageLevel.Warn, string.Format("The '{0}' snippet with identifier '{1}' was omitted because the {2}\\{0} unit did not pass Parsnip testing.", rejectedUnit, identifier.ToString(), identifier.Example)); + } + } + + if (identifiers.Length == 1) + { + // one snippet referenced + SnippetIdentifier identifier = identifiers[0]; + + if (snippets.ContainsKey(identifier)) + { + writeSnippetContent(node, identifier, snippets[identifier]); + } + } + else + { + // handle case where codeReference contains multiple identifiers + // Each language's set of snippets from multiple identifiers are displayed in a single block; + + // create dictionary that maps each language to its set of snippets + Dictionary<string, List<Snippet>> map = new Dictionary<string, List<Snippet>>(); + foreach (SnippetIdentifier identifier in identifiers) + { + List<Snippet> values; + if (snippets.TryGetValue(identifier, out values)) + { + foreach (Snippet value in values) + { + List<Snippet> pieces; + if (!map.TryGetValue(value.Language.LanguageId, out pieces)) + { + pieces = new List<Snippet>(); + map.Add(value.Language.LanguageId, pieces); + } + pieces.Add(value); + } + } + } + + // now write the collection of snippet pieces to the document + XmlWriter writer = node.InsertAfter(); + writer.WriteStartElement("snippets"); + writer.WriteAttributeString("reference", reference); + + // first write the snippets in the order their language shows up in the language map (if any) + foreach (string devlang in languageList) + { + foreach (KeyValuePair<string, List<Snippet>> entry in map) + { + if (!(devlang == entry.Key.ToLower())) + continue; + writer.WriteStartElement("snippet"); + writer.WriteAttributeString("language", entry.Key); + writer.WriteString("\n"); + + // write the set of snippets for this language + List<Snippet> values = entry.Value; + for (int i = 0; i < values.Count; i++) + { + if (i > 0) + writer.WriteString("\n...\n\n\n"); + // write the colorized or plaintext snippet text + WriteSnippetText(values[i], writer); + } + + writer.WriteEndElement(); + } + } + + // now write any snippets whose language isn't in the language map + foreach (KeyValuePair<string, List<Snippet>> entry in map) + { + if (languageList.Contains(entry.Key.ToLower())) + continue; + writer.WriteStartElement("snippet"); + writer.WriteAttributeString("language", entry.Key); + writer.WriteString("\n"); + + // write the set of snippets for this language + List<Snippet> values = entry.Value; + for (int i = 0; i < values.Count; i++) + { + if (i > 0) + writer.WriteString("\n...\n\n\n"); + // write the colorized or plaintext snippet text + WriteSnippetText(values[i], writer); + } + + writer.WriteEndElement(); + } + + writer.WriteEndElement(); + writer.Close(); + } + node.DeleteSelf(); + } + } + #endregion + + #region Private methods + /// <summary> + /// Index the example names to paths. + /// </summary> + /// <param name="rootDirectory">root directory location of parsnip samples</param> + private void loadExamples(string rootDirectory) + { + try + { + DirectoryInfo root = new DirectoryInfo(rootDirectory); + DirectoryInfo[] areaDirectories = root.GetDirectories(); + + foreach (DirectoryInfo area in areaDirectories) + { + DirectoryInfo[] exampleDirectories = area.GetDirectories(); + + foreach (DirectoryInfo example in exampleDirectories) + { + string path; + if (this.exampleIndex.TryGetValue(example.Name.ToLower(CultureInfo.InvariantCulture), out path)) + WriteMessage(MessageLevel.Warn, string.Format("The example '{0}' under folder '{1}' already exists under '{2}'", example.Name, example.FullName, path)); + + this.exampleIndex[example.Name.ToLower(CultureInfo.InvariantCulture)] = example.FullName; + } + } + } + catch (Exception e) + { + WriteMessage(MessageLevel.Error, string.Format(System.Threading.Thread.CurrentThread.CurrentCulture, "The loading of examples failed:{0}", e.Message)); + throw; + } + } + + /// <summary> + /// Index the approved snippets. + /// </summary> + /// <param name="file">approved snippets log file</param> + private void parseApprovalLogFiles(string file) + { + string sampleName = string.Empty; + string unitName = string.Empty; + List<string> rejectedUnits = null; + + XmlReader reader = XmlReader.Create(file); + try + { + while (reader.Read()) + { + if (reader.NodeType == XmlNodeType.Element) + { + if (reader.Name == "Sample") + { + sampleName = reader.GetAttribute("name").ToLower(CultureInfo.InvariantCulture); + //create a new rejectedUnits list for this sample + rejectedUnits = null; + } + + if (reader.Name == "Unit") + { + unitName = reader.GetAttribute("name").ToLower(CultureInfo.InvariantCulture); + + bool include = Convert.ToBoolean(reader.GetAttribute("include")); + + if (include) + { + if (this.approvedSnippetIndex.ContainsKey(Path.Combine(sampleName, unitName))) + WriteMessage(MessageLevel.Warn, string.Format("Sample '{0}' already exists in the approval log files.", sampleName)); + this.approvedSnippetIndex[Path.Combine(sampleName, unitName)] = null; + } + else + { + if (rejectedUnits == null) + { + rejectedUnits = new List<string>(); + rejectedSnippetIndex[sampleName] = rejectedUnits; + } + rejectedUnits.Add(unitName); + } + } + } + } + } + catch (XmlException e) + { + WriteMessage(MessageLevel.Error, String.Format("The specified approval log file is not well-formed. The error message is: {0}", e.Message)); + } + finally + { + reader.Close(); + } + } + + /// <summary> + /// Write the snippet content to output files. + /// </summary> + /// <param name="node">code reference node</param> + /// <param name="identifier">List of snippets</param> + private void writeSnippetContent(XPathNavigator node, SnippetIdentifier identifier, List<Snippet> snippetList) + { + if (snippetList == null || snippetList.Count == 0) + { + WriteMessage(MessageLevel.Warn, "Empty snippet list past for node " + node.Name); + return; + } + + XmlWriter writer = node.InsertAfter(); + writer.WriteStartElement("snippets"); + writer.WriteAttributeString("reference", node.Value); + + // first write the snippets in the order their language shows up in the language map (if any) + foreach (string devlang in languageList) + { + foreach (Snippet snippet in snippetList) + { + if (!(devlang == snippet.Language.LanguageId.ToLower())) + continue; + writer.WriteStartElement("snippet"); + writer.WriteAttributeString("language", snippet.Language.LanguageId); + writer.WriteString("\n"); + // write the colorized or plaintext snippet text + WriteSnippetText(snippet, writer); + writer.WriteEndElement(); + } + } + + // now write any snippets whose language isn't in the language map + foreach (Snippet snippet in snippetList) + { + if (languageList.Contains(snippet.Language.LanguageId.ToLower())) + continue; + writer.WriteStartElement("snippet"); + writer.WriteAttributeString("language", snippet.Language.LanguageId); + writer.WriteString("\n"); + // write the colorized or plaintext snippet text + WriteSnippetText(snippet, writer); + writer.WriteEndElement(); + } + + writer.WriteEndElement(); + writer.Close(); + } + + private void WriteSnippetText(Snippet snippet, XmlWriter writer) + { + // if colorization rules are defined, then colorize the snippet. + if (snippet.Language.ColorizationRules != null) + { + writeColorizedSnippet(colorizeSnippet(snippet.Content, snippet.Language.ColorizationRules), writer); + } + else + { + writer.WriteString(snippet.Content); + } + } + + private static ICollection<Region> colorizeSnippet(string text, List<ColorizationRule> rules) + { + // Console.WriteLine("colorizing: '{0}'", text); + // create a linked list consiting entirely of one uncolored region + LinkedList<Region> regions = new LinkedList<Region>(); + regions.AddFirst(new Region(text)); + + // loop over colorization rules + foreach (ColorizationRule rule in rules) + { + // loop over regions + LinkedListNode<Region> node = regions.First; + while (node != null) + { + // only try to colorize uncolored regions + if (node.Value.ClassName != null) + { + node = node.Next; + continue; + } + + // find matches in the region + string regionText = node.Value.Text; + Capture[] matches = rule.Apply(regionText); + + // if no matches were found, continue to the next region + if (matches.Length == 0) + { + node = node.Next; + continue; + } + + // we found matches; break the region into colored and uncolered subregions + // index is where we are looking from; index-1 is the end of the last match + int index = 0; + + LinkedListNode<Region> referenceNode = node; + + foreach (Capture match in matches) + { + // create a leading uncolored region + if (match.Index > index) + { + //Console.WriteLine("uncolored: {0} '{1}' -> {2} '{3}'", index, regionText[index], match.Index - 1, regionText[match.Index - 1]); + Region uncoloredRegion = new Region(regionText.Substring(index, match.Index - index)); + referenceNode = regions.AddAfter(referenceNode, uncoloredRegion); + } + + // create a colored region + // Console.WriteLine("name = {0}", rule.ClassName); + //Console.WriteLine("colored: {0} '{1}' -> {2} '{3}'", match.Index, regionText[match.Index], match.Index + match.Length - 1, regionText[match.Index + match.Length - 1]); + Region coloredRegion = new Region(rule.ClassName, regionText.Substring(match.Index, match.Length)); + referenceNode = regions.AddAfter(referenceNode, coloredRegion); + + index = match.Index + match.Length; + } + + // create a trailing uncolored region + if (index < regionText.Length) + { + Region uncoloredRegion = new Region(regionText.Substring(index)); + referenceNode = regions.AddAfter(referenceNode, uncoloredRegion); + } + + // remove the original node + regions.Remove(node); + node = referenceNode.Next; + } + } + return (regions); + } + + private static void writeColorizedSnippet(ICollection<Region> regions, XmlWriter writer) + { + foreach (Region region in regions) + { + // Console.WriteLine("writing {0}", region.ClassName); + if (region.ClassName == null) + { + writer.WriteString(region.Text); + } + else + { + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", region.ClassName); + writer.WriteString(region.Text); + writer.WriteEndElement(); + } + } + } + #endregion + } + + /// <summary> + /// Language class. + /// </summary> + internal class Language + { + #region Private members + /// <summary> + /// The id of the programming language. + /// </summary> + private string languageId; + + /// <summary> + /// Language file extension. + /// </summary> + private string extension; + + /// <summary> + /// List of colorization rules. + /// </summary> + private List<ColorizationRule> colorizationRules; + #endregion + + #region Constructor + /// <summary> + /// Language Constructor + /// </summary> + /// <param name="languageId">language id</param> + /// <param name="extension">language file extension</param> + /// <param name="rules">colorization rules</param> + public Language(string languageId, string extension, List<ColorizationRule> rules) + { + this.languageId = languageId; + this.extension = extension; + this.colorizationRules = rules; + } + #endregion + + #region Public properties + /// <summary> + /// Gets the languageId. + /// </summary> + public string LanguageId + { + get + { + return this.languageId; + } + } + + /// <summary> + /// Gets the file extension + /// </summary> + public string Extension + { + get + { + return this.extension; + } + } + + /// <summary> + /// Gets the colorization rules + /// </summary> + public List<ColorizationRule> ColorizationRules + { + get + { + return this.colorizationRules; + } + } + #endregion + + #region Public methods + /// <summary> + /// Check if the language is defined. + /// </summary> + /// <param name="languageId">language id</param> + /// <param name="extension">file extension</param> + /// <returns>boolean indicating if a language is defined</returns> + public bool IsMatch(string languageId, string extension) + { + if (this.languageId == languageId) + { + if (this.extension == extension) + { + return true; + } + else if (this.extension == "*") + { + return true; + } + } + else if (this.languageId == "*") + { + if (this.extension == extension) + { + return true; + } + + if (this.extension == "*") + { + return true; + } + } + + return false; + } + #endregion + } + + /// <summary> + /// Snippet class. + /// </summary> + internal class Snippet + { + #region Private Members + /// <summary> + /// snippet content. + /// </summary> + private string content; + + /// <summary> + /// snippet language + /// </summary> + private Language language; + #endregion + + #region Constructor + /// <summary> + /// Constructor for Snippet class. + /// </summary> + /// <param name="content">snippet content</param> + /// <param name="language">snippet language</param> + public Snippet(string content, Language language) + { + this.content = content; + this.language = language; + } + #endregion + + #region Public properties + /// <summary> + /// Gets the snippet content. + /// </summary> + public string Content + { + get + { + return this.content; + } + } + + /// <summary> + /// Gets the snippet language. + /// </summary> + public Language Language + { + get + { + return this.language; + } + } + #endregion + } + + internal class SnippetCache + { + private int _cacheSize = 100; + + private LinkedList<String> lruLinkedList; + + private Dictionary<string, IndexedExample> cache; + + private Dictionary<string, string> _approvalIndex; + private Dictionary<string, string> _languageMap; + private List<Language> _languages; + private Dictionary<string, Object> _excludedUnits; + + public SnippetCache(int cacheSize, Dictionary<string, string> approvalIndex, Dictionary<string, string> languageMap, List<Language> languages, Dictionary<string, Object> excludedUnits) + { + _cacheSize = cacheSize; + _approvalIndex = approvalIndex; + _languageMap = languageMap; + _languages = languages; + _excludedUnits = excludedUnits; + + cache = new Dictionary<string, IndexedExample>(_cacheSize); + + lruLinkedList = new LinkedList<string>(); + } + + public List<Snippet> GetContent(string examplePath, SnippetIdentifier snippetId) + { + + // get the example containing the identifier + IndexedExample exampleIndex = GetCachedExample(examplePath); + if (exampleIndex == null) + return (null); + + // + return exampleIndex.GetContent(snippetId); + } + + private IndexedExample GetCachedExample(string examplePath) + { + IndexedExample exampleIndex; + if (cache.TryGetValue(examplePath, out exampleIndex)) + { + // move the file from its current position to the head of the lru linked list + lruLinkedList.Remove(exampleIndex.ListNode); + lruLinkedList.AddFirst(exampleIndex.ListNode); + } + else + { + // not in the cache, so load and index a new example + exampleIndex = new IndexedExample(examplePath, _approvalIndex, _languageMap, _languages, _excludedUnits); + if (cache.Count >= _cacheSize) + { + // the cache is full + // the last node in the linked list has the path of the next file to remove from the cache + if (lruLinkedList.Last != null) + { + cache.Remove(lruLinkedList.Last.Value); + lruLinkedList.RemoveLast(); + } + } + // add the new file to the cache and to the head of the lru linked list + cache.Add(examplePath, exampleIndex); + exampleIndex.ListNode = lruLinkedList.AddFirst(examplePath); + } + return (exampleIndex); + } + + + } + + internal class IndexedExample + { + /// <summary> + /// snippet store. + /// </summary> + private Dictionary<SnippetIdentifier, List<Snippet>> exampleSnippets = new Dictionary<SnippetIdentifier, List<Snippet>>(); + private Dictionary<string, string> _approvalIndex; + private Dictionary<string, string> _languageMap; + private List<Language> _languages; + private Dictionary<string, Object> _excludedUnits; + + public IndexedExample(string examplePath, Dictionary<string, string> approvalIndex, Dictionary<string, string> languageMap, List<Language> languages, Dictionary<string, Object> excludedUnits) + { + _approvalIndex = approvalIndex; + _languageMap = languageMap; + _languages = languages; + _excludedUnits = excludedUnits; + + // load all the snippets under the specified example path + this.ParseExample(new DirectoryInfo(examplePath)); + } + + public List<Snippet> GetContent(SnippetIdentifier identifier) + { + if (exampleSnippets.ContainsKey(identifier)) + return exampleSnippets[identifier]; + else + return null; + } + + private LinkedListNode<string> listNode; + public LinkedListNode<string> ListNode + { + get + { + return (listNode); + } + set + { + listNode = value; + } + } + + /// <summary> + /// Check whether the snippet unit is approved + /// </summary> + /// <param name="unit">unit directory</param> + /// <returns>boolean indicating whether the snippet unit is approved</returns> + private bool isApprovedUnit(DirectoryInfo unit) + { + string sampleName = unit.Parent.Name.ToLower(CultureInfo.InvariantCulture); + string unitName = unit.Name.ToLower(CultureInfo.InvariantCulture); + + // return false if the unit name is in the list of names to exclude + if (_excludedUnits.ContainsKey(unitName)) + return false; + + // if no approval log is specified, all snippets are approved by default + if (_approvalIndex.Count == 0) + return true; + + if (_approvalIndex.ContainsKey(Path.Combine(sampleName, unitName))) + { + return true; + } + + return false; + } + + /// <summary> + /// Parse the example directory. + /// </summary> + /// <param name="unit">unit directory</param> + private void ParseExample(DirectoryInfo exampleDirectory) + { + // process the approved language-specific unit directories for this example + DirectoryInfo[] unitDirectories = exampleDirectory.GetDirectories(); + + foreach (DirectoryInfo unit in unitDirectories) + { + if (this.isApprovedUnit(unit)) + this.ParseUnit(unit); + } + } + + /// <summary> + /// Parse the unit directory for language files. + /// </summary> + /// <param name="unit">unit directory containing a language-specific version of the example</param> + private void ParseUnit(DirectoryInfo unit) + { + // the language is the Unit Directory name, or the language id mapped to that name + string language = unit.Name; + if (_languageMap.ContainsKey(language.ToLower())) + language = _languageMap[language.ToLower()]; + + ParseDirectory(unit, language, unit.Parent.Name); + } + + /// <summary> + /// Parse an example subdir looking for source files containing snipppets. + /// </summary> + /// <param name="directory">The directory to parse</param> + /// <param name="language">the id of a programming language</param> + /// <param name="exampleName">the name of the example</param> + private void ParseDirectory(DirectoryInfo directory, string language, string exampleName) + { + // parse the files in this directory + FileInfo[] files = directory.GetFiles(); + foreach (FileInfo file in files) + ParseFile(file, language, exampleName); + + // recurse to get files in any subdirectories + DirectoryInfo[] subdirectories = directory.GetDirectories(); + foreach (DirectoryInfo subdirectory in subdirectories) + ParseDirectory(subdirectory, language, exampleName); + } + + /// <summary> + /// Parse the language files to retrieve the snippet content. + /// </summary> + /// <param name="file">snippet file</param> + /// <param name="language">snippet language</param> + /// <param name="example">name of the example that contains this file</param> + private void ParseFile(FileInfo file, string language, string exampleName) + { + string snippetLanguage = string.Empty; + + // The snippet language is the name (or id mapping) of the Unit folder + // unless the file extension is .xaml + // NOTE: this is just preserving the way ExampleBuilder handled it (which we can change when we're confident there are no unwanted side-effects) + if (file.Extension.ToLower() == ".xaml") + snippetLanguage = "XAML"; + else + snippetLanguage = language; + + // get the text in the file + StreamReader reader = file.OpenText(); + string text = reader.ReadToEnd(); + reader.Close(); + + this.parseSnippetContent(text, snippetLanguage, file.Extension, exampleName); + } + + /// <summary> + /// Parse the snippet content. + /// </summary> + /// <param name="text">content to be parsed</param> + /// <param name="language">snippet language</param> + /// <param name="extension">file extension</param> + /// <param name="example">snippet example</param> + private void parseSnippetContent(string text, string language, string extension, string example) + { + // parse the text for snippets + for (Match match = find.Match(text); match.Success; match = find.Match(text, match.Index + 10)) + { + string snippetIdentifier = match.Groups["id"].Value; + string snippetContent = match.Groups["tx"].Value; + snippetContent = clean.Replace(snippetContent, "\n"); + + //if necessary, clean one more time to catch snippet comments on consecutive lines + if (clean.Match(snippetContent).Success) + { + snippetContent = clean.Replace(snippetContent, "\n"); + } + + snippetContent = cleanAtStart.Replace(snippetContent, ""); + snippetContent = cleanAtEnd.Replace(snippetContent, ""); + + // get the language/extension from our languages List, which may contain colorization rules for the language + Language snippetLanguage = new Language(language, extension, null); + foreach (Language lang in _languages) + { + if (!lang.IsMatch(language, extension)) + continue; + snippetLanguage = lang; + break; + } + + SnippetIdentifier identifier = new SnippetIdentifier(example, snippetIdentifier); + // BUGBUG: i don't think this ever happens, but if it did we should write an error + if (!IsLegalXmlText(snippetContent)) + { + // WriteMessage(MessageLevel.Warn, String.Format("Snippet '{0}' language '{1}' contains illegal characters.", identifier.ToString(), snippetLanguage.LanguageId)); + continue; + } + + snippetContent = StripLeadingSpaces(snippetContent); + + // Add the snippet information to dictionary + Snippet snippet = new Snippet(snippetContent, snippetLanguage); + List<Snippet> values; + + if (!this.exampleSnippets.TryGetValue(identifier, out values)) + { + values = new List<Snippet>(); + this.exampleSnippets.Add(identifier, values); + } + values.Add(snippet); + } + } + + private bool IsLegalXmlText(string text) + { + foreach (char c in text) + { + if (!IsLegalXmlCharacter(c)) return (false); + } + return (true); + } + + private bool IsLegalXmlCharacter(char c) + { + if (c < 0x20) + { + return ((c == 0x09) || (c == 0x0A) || (c == 0x0D)); + } + else + { + if (c < 0xD800) + { + return (true); + } + else + { + return ((c >= 0xE000) && (c <= 0xFFFD)); + } + } + } + + private static string StripLeadingSpaces(string text) + { + + if (text == null) throw new ArgumentNullException("text"); + + // split the text into lines + string[] stringSeparators = new string[] { "\r\n" }; + string[] lines = text.Split(stringSeparators, StringSplitOptions.None); + + // no need to do this if there is only one line + if (lines.Length == 1) return (lines[0]); + + // figure out how many leading spaces to delete + int spaces = Int32.MaxValue; + for (int i = 0; i < lines.Length; i++) + { + + string line = lines[i]; + + // skip empty lines + if (line.Length == 0) continue; + + // determine the number of leading spaces + int index = 0; + while (index < line.Length) + { + if (line[index] != ' ') break; + index++; + } + + if (index == line.Length) + { + // lines that are all spaces should just be treated as empty + lines[i] = String.Empty; + } + else + { + // otherwise, keep track of the minimum number of leading spaces + if (index < spaces) spaces = index; + } + + } + + // re-form the string with leading spaces deleted + StringBuilder result = new StringBuilder(); + foreach (string line in lines) + { + if (line.Length == 0) + { + result.AppendLine(); + } + else + { + result.AppendLine(line.Substring(spaces)); + } + } + // Console.WriteLine("AFTER:"); + // Console.WriteLine(result.ToString()); + return (result.ToString()); + + } + + /// <summary> + /// Regex to find the snippet content. + /// </summary> + private static Regex find = new Regex( + @"<snippet(?<id>\w+)>.*\n(?<tx>(.|\n)*?)\n.*</snippet(\k<id>)>", + RegexOptions.IgnoreCase | RegexOptions.Compiled); + + /// <summary> + /// Regex to clean the snippet content. + /// </summary> + private static Regex clean = new Regex( + @"\n[^\n]*?<(/?)snippet(\w+)>[^\n]*?\n", + RegexOptions.IgnoreCase | RegexOptions.Compiled); + + /// <summary> + /// Regex to clean the start of the snippet. + /// </summary> + private static Regex cleanAtStart = new Regex( + @"^[^\n]*?<(/?)snippet(\w+)>[^\n]*?\n", + RegexOptions.IgnoreCase | RegexOptions.Compiled); + + /// <summary> + /// Regex to clean the end of the snippet. + /// </summary> + private static Regex cleanAtEnd = new Regex( + @"\n[^\n]*?<(/?)snippet(\w+)>[^\n]*?$", + RegexOptions.IgnoreCase | RegexOptions.Compiled); + + } + + +} + diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SwitchComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SwitchComponent.cs index 47b1d6c..48f9fbe 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SwitchComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SwitchComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; @@ -59,15 +62,16 @@ namespace Microsoft.Ddue.Tools { } - public override void Dispose () { - foreach (IEnumerable<BuildComponent> components in cases.Values) { - foreach (BuildComponent component in components) { - component.Dispose(); + protected override void Dispose(bool disposing) { + if (disposing) { + foreach (IEnumerable<BuildComponent> components in cases.Values) { + foreach (BuildComponent component in components) { + component.Dispose(); + } } } - base.Dispose(); + base.Dispose(disposing); } - } }
\ No newline at end of file diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SyntaxComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SyntaxComponent.cs index 39c68f9..3573712 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SyntaxComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/SyntaxComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; @@ -59,7 +62,7 @@ namespace Microsoft.Ddue.Tools { WriteMessage(MessageLevel.Error, String.Format("The type '{0}' in the assembly '{1}' does not have an appropriate constructor. The error message is: {2}", type_name, assembly_path, e.Message)); } catch (TargetInvocationException e) { WriteMessage(MessageLevel.Error, String.Format("An error occured while attempting to instantiate the type '{0}' in the assembly '{1}'. The error message is: {2}", type_name, assembly_path, e.InnerException.Message)); - } catch (InvalidCastException e) { + } catch (InvalidCastException) { WriteMessage(MessageLevel.Error, String.Format("The type '{0}' in the assembly '{1}' is not a SyntaxGenerator.", type_name, assembly_path)); } } diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TargetCollection.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TargetCollection.cs index 4366e6f..188da53 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TargetCollection.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TargetCollection.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Text.RegularExpressions; @@ -279,8 +282,16 @@ namespace Microsoft.Ddue.Tools { public class ProcedureTarget : MemberTarget { + internal bool conversionOperator; + internal MemberReference explicitlyImplements = null; + public bool ConversionOperator { + get { + return (conversionOperator); + } + } + public MemberReference ExplicitlyImplements { get { return (explicitlyImplements); @@ -326,6 +337,16 @@ namespace Microsoft.Ddue.Tools { } } + // property to hold specialized template arguments (used with extension methods) + internal TypeReference[] templateArgs; + public TypeReference[] TemplateArgs + { + get + { + return (templateArgs); + } + } + } public class Parameter { @@ -440,6 +461,7 @@ namespace Microsoft.Ddue.Tools { } } + [CLSCompliant(false)] public TypeReference[] Arguments { get { return (arguments); @@ -627,6 +649,49 @@ namespace Microsoft.Ddue.Tools { public abstract class MemberReference : Reference { } + /// <summary> + /// Contains the information to generate the display string for an extension method link + /// </summary> + public class ExtensionMethodReference : Reference + { + private string methodName; + public string Name + { + get + { + return (methodName); + } + } + + private Parameter[] parameters; + public Parameter[] Parameters + { + get + { + return (parameters); + } + } + + private TypeReference[] templateArgs; + public TypeReference[] TemplateArgs + { + get + { + return (templateArgs); + } + } + + internal ExtensionMethodReference(string methodName, Parameter[] parameters, TypeReference[] templateArgs) + { + if (methodName == null) + throw new ArgumentNullException("methodName"); + this.methodName = methodName; + this.parameters = parameters; + this.templateArgs = templateArgs; + } + } + + public class SimpleMemberReference : MemberReference { private string memberId; @@ -763,6 +828,9 @@ namespace Microsoft.Ddue.Tools { private static XPathExpression apiIsExplicitImplementationExpression = XPathExpression.Compile("boolean(memberdata/@visibility='private' and proceduredata/@virtual='true' and boolean(implements/member))"); private static XPathExpression apiImplementedMembersExpression = XPathExpression.Compile("implements/member"); + // op_explicit and op_implicit data + private static XPathExpression apiIsConversionOperatorExpression = XPathExpression.Compile("boolean((apidata/@subsubgroup='operator') and (apidata/@name='Explicit' or apidata/@name='Implicit'))"); + // container data private static XPathExpression apiContainingNamespaceExpression = XPathExpression.Compile("(containers/namespace)[1]"); private static XPathExpression apiContainingTypeExpression = XPathExpression.Compile("(containers/type)[1]"); @@ -774,6 +842,9 @@ namespace Microsoft.Ddue.Tools { private static XPathExpression apiTemplatesExpression = XPathExpression.Compile("templates/template"); private static XPathExpression templateNameExpression = XPathExpression.Compile("string(@name)"); + // extension method template data + private static XPathExpression methodTemplateArgsExpression = XPathExpression.Compile("templates/*"); + // Change the container public static string ContainerExpression { @@ -955,10 +1026,28 @@ namespace Microsoft.Ddue.Tools { target.parameters = CreateParameterList(api); target.returnType = CreateReturnType(api); + target.conversionOperator = (bool)api.Evaluate(apiIsConversionOperatorExpression); + if ((bool)api.Evaluate(apiIsExplicitImplementationExpression)) { target.explicitlyImplements = CreateMemberReference(api.SelectSingleNode(apiImplementedMembersExpression)); } + // this selects templates/template or templates/type, because extension methods can have a mix of generic and specialization + XPathNodeIterator templateArgNodes = api.Select(methodTemplateArgsExpression); + TypeReference[] templateArgumentReferences = null; + if (templateArgNodes != null && templateArgNodes.Count > 0) + { + templateArgumentReferences = new TypeReference[templateArgNodes.Count]; + int i = 0; + foreach (XPathNavigator templateArgNode in templateArgNodes) + { + templateArgumentReferences[i] = CreateTypeReference(templateArgNode); + i++; + } + } + target.templateArgs = templateArgumentReferences; + + // get the short name of each template param target.templates = GetTemplateNames(api); return (target); @@ -1114,7 +1203,36 @@ namespace Microsoft.Ddue.Tools { } } - + + /// <summary> + /// Create an object to store the information to generate the display string for an extension method + /// </summary> + /// <param name="node">xml node containing the extension method data</param> + /// <returns></returns> + public static ExtensionMethodReference CreateExtensionMethodReference(XPathNavigator node) + { + string methodName = (string)node.Evaluate(apiNameExpression); + Parameter[] parameters = CreateParameterList(node); + TypeReference[] templateArgumentReferences = null; + // List<TemplateName> templateNames = new List<TemplateName>(); + + // this selects templates/template or templates/type, because extension methods can have a mix of generic and specialization + // get the short name of each template param or template arg + XPathNodeIterator templateNodes = node.Select(methodTemplateArgsExpression); + if (templateNodes != null && templateNodes.Count > 0) + { + templateArgumentReferences = new TypeReference[templateNodes.Count]; + int i = 0; + foreach (XPathNavigator templateNode in templateNodes) + { + templateArgumentReferences[i] = CreateTypeReference(templateNode); + i++; + } + } + ExtensionMethodReference extMethod = new ExtensionMethodReference(methodName, parameters, templateArgumentReferences); + return extMethod; + } + } // ***** Logic for constructing references from code entity reference strings ***** @@ -1186,7 +1304,11 @@ namespace Microsoft.Ddue.Tools { // process templates if (api.StartsWith("T:``")) { int position = Convert.ToInt32(api.Substring(4)); - return (new NamedTemplateTypeReference("UMP")); + if (genericTypeContext == null) { + return (new NamedTemplateTypeReference("UMP")); + } else { + return (new IndexedTemplateTypeReference(genericTypeContext.Id, position)); + } } else if (api.StartsWith("T:`")) { int position = Convert.ToInt32(api.Substring(3)); if (genericTypeContext == null) { @@ -1237,6 +1359,8 @@ namespace Microsoft.Ddue.Tools { return (new SpecializedTypeReference(specializations.ToArray())); } + //private static Regex tr = new Regex(@"^(M:([_a-zA-Z0-9]+\.)*([_a-zA-Z0-9]+(\{.+\})?\.)*[_a-zA-Z0-9]+(\{.+\})?\.([_a-zA-Z0-9]+(\{[^\.]+\})?#)*[_a-zA-Z0-9]+(``\d+)?(\((((([_a-zA-Z0-9]+\.)*([_a-zA-Z0-9]+(\{.+\})?\.)*[_a-zA-Z0-9]+(\{.+\})?)|(`\d+)|(``\d+))(@|\*|(\[\]))*,)*((([_a-zA-Z0-9]+\.)*([_a-zA-Z0-9]+(\{.+\})?\.)*[_a-zA-Z0-9]+(\{.+\})?)|(`\d+)|(``\d+))(@|\*|(\[\]))*\))?(~((([_a-zA-Z0-9]+\.)*([_a-zA-Z0-9]+(\{.+\})?\.)*[_a-zA-Z0-9]+(\{.+\})?)|(`\d+)|(``\d+))(@|\*|(\[\]))*)?)$", RegexOptions.Compiled); + //private static Regex tr = new Regex(@"^(M:([_a-zA-Z0-9]+\.)*([_a-zA-Z0-9]+(\{[^:\(\)\s]+\})?\.)*[_a-zA-Z0-9]+(\{[^:\(\)\s]+\})?\.[_a-zA-Z0-9]+(``\d+)?(\((((([_a-zA-Z0-9]+\.)*([_a-zA-Z0-9]+(\{[^:\(\)\s]+\})?\.)*[_a-zA-Z0-9]+(\{[^:\(\)\s]+\})?)|(`\d+)|(``\d+))(@|\*|(\[\]))*,)*((([_a-zA-Z0-9]+\.)*([_a-zA-Z0-9]+(\{[^:\(\)\s]+\})?\.)*[_a-zA-Z0-9]+(\{[^:\(\)\s]+\})?)|(`\d+)|(``\d+))(@|\*|(\[\]))*\))?)$", RegexOptions.Compiled); private static Regex tr = new Regex(@"^(M:([_a-zA-Z0-9]+\.)*[_a-zA-Z0-9]+\.[_a-zA-Z0-9]+(``\d+)?(\((((([_a-zA-Z0-9]+\.)*[_a-zA-Z0-9]+)|(`\d+)|(``\d+))(@|\*|(\[\]))*,)*((([_a-zA-Z0-9]+\.)*[_a-zA-Z0-9]+)|(`\d+)|(``\d+))(@|\*|(\[\]))*\))?)$", RegexOptions.Compiled); public static MemberReference CreateMemberReference (string api) { @@ -1378,6 +1502,7 @@ namespace Microsoft.Ddue.Tools { string simpleTypePattern = String.Format(@"{0}({1}(`\d+)?\.)*{1}(`\d+)?", optionalNamespacePattern, namePattern); + //string specializedTypePattern = String.Format(@"{0}({1}(\{{.+\}})?\.)*{1}(\{{.+\}})?", optionalNamespacePattern, namePattern); string specializedTypePattern = String.Format(@"({0}(\{{.+\}})?\.)*{0}(\{{.+\}})?", namePattern); string baseTypePattern = String.Format(@"({0})|({1})", simpleTypePattern, specializedTypePattern); @@ -1467,13 +1592,13 @@ namespace Microsoft.Ddue.Tools { break; case ',': if (specializationCount == 0) { - types.Add("T:" + typelist.Substring(start, index - start)); + types.Add("T:" + typelist.Substring(start, index - start).Trim()); start = index + 1; } break; } } - types.Add("T:" + typelist.Substring(start)); + types.Add("T:" + typelist.Substring(start).Trim()); return (types.ToArray()); } @@ -1688,7 +1813,16 @@ namespace Microsoft.Ddue.Tools { if ((options & DisplayOptions.ShowContainer) > 0) { TypeReference type = target.Type; WriteType(type, options & ~DisplayOptions.ShowContainer, writer); - WriteSeperator(writer); + MethodTarget methodTarget = target as MethodTarget; + if (methodTarget != null) { + if (methodTarget.conversionOperator) { + writer.WriteString(" "); + } else { + WriteSeperator(writer); + } + } else { + WriteSeperator(writer); + } } // special logic for writing methods @@ -1745,6 +1879,13 @@ namespace Microsoft.Ddue.Tools { return; } + ExtensionMethodReference extMethod = reference as ExtensionMethodReference; + if (extMethod != null) + { + WriteExtensionMethod(extMethod, options, writer); + return; + } + InvalidReference invalid = reference as InvalidReference; if (invalid != null) { WriteInvalid(invalid, options, writer); @@ -1855,6 +1996,12 @@ namespace Microsoft.Ddue.Tools { writer.WriteAttributeString("class", "nu"); writer.WriteString("("); writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "fs"); + writer.WriteString("<'"); + writer.WriteEndElement(); + writer.WriteEndElement(); for (int i = 0; i < templates.Length; i++) { @@ -1883,6 +2030,12 @@ namespace Microsoft.Ddue.Tools { writer.WriteAttributeString("class", "nu"); writer.WriteString(")"); writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "fs"); + writer.WriteString(">"); + writer.WriteEndElement(); + writer.WriteEndElement(); } @@ -1931,9 +2084,15 @@ namespace Microsoft.Ddue.Tools { writer.WriteEndElement(); writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "fs"); + writer.WriteString("<'"); + writer.WriteEndElement(); + + writer.WriteStartElement("span"); writer.WriteAttributeString("class", "nu"); writer.WriteString("("); writer.WriteEndElement(); + writer.WriteEndElement(); for (int i = 0; i < specialization.Length; i++) { @@ -1959,6 +2118,11 @@ namespace Microsoft.Ddue.Tools { writer.WriteEndElement(); writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "fs"); + writer.WriteString(">"); + writer.WriteEndElement(); + + writer.WriteStartElement("span"); writer.WriteAttributeString("class", "nu"); writer.WriteString(")"); writer.WriteEndElement(); @@ -2013,6 +2177,16 @@ namespace Microsoft.Ddue.Tools { for (int i = 1; i < reference.Rank; i++) { writer.WriteString(","); } writer.WriteString("]"); writer.WriteEndElement(); + + // F# array notation + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "fs"); + writer.WriteString("["); + for (int i = 1; i < reference.Rank; i++) { writer.WriteString(","); } + writer.WriteString("]"); + writer.WriteEndElement(); + + writer.WriteEndElement(); // end of <span class="languageSpecificText"> element } @@ -2042,6 +2216,13 @@ namespace Microsoft.Ddue.Tools { writer.WriteAttributeString("class", "nu"); writer.WriteString("."); writer.WriteEndElement(); + + // F# seperator + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "fs"); + writer.WriteString("."); + writer.WriteEndElement(); + writer.WriteEndElement(); } @@ -2168,6 +2349,28 @@ namespace Microsoft.Ddue.Tools { } } + public void WriteExtensionMethod(ExtensionMethodReference extMethod, DisplayOptions options, XmlWriter writer) + { + if (extMethod == null) throw new ArgumentNullException("extMethod"); + if (writer == null) throw new ArgumentNullException("writer"); + + // write the unqualified method name + writer.WriteString(extMethod.Name); + + // if this is a generic method, write any template params or args + if (extMethod.TemplateArgs != null && extMethod.TemplateArgs.Length > 0) + { + WriteTemplateArguments(extMethod.TemplateArgs, writer); + } + + // write parameters + if ((options & DisplayOptions.ShowParameters) > 0) + { + Parameter[] parameters = extMethod.Parameters; + WriteMethodParameters(extMethod.Parameters, writer); + } + } + public void WriteMember (MemberReference member, DisplayOptions options, XmlWriter writer) { if (member == null) throw new ArgumentNullException("member"); @@ -2217,6 +2420,7 @@ namespace Microsoft.Ddue.Tools { WriteMemberTarget(target, options, writer, dictionary); } else { TextReferenceUtilities.WriteSimpleMemberReference(member, options, writer, this); + //throw new InvalidOperationException(String.Format("Unknown member target '{0}'", member.Id)); } } @@ -2224,7 +2428,11 @@ namespace Microsoft.Ddue.Tools { private void WriteProcedureName (ProcedureTarget target, DisplayOptions options, XmlWriter writer) { MemberReference implements = target.ExplicitlyImplements; if (implements == null) { - writer.WriteString(target.Name); + if (target.conversionOperator) { + WriteConversionOperator(target, writer); + } else { + writer.WriteString(target.Name); + } } else { WriteMember(implements, DisplayOptions.ShowContainer, writer); } @@ -2235,16 +2443,63 @@ namespace Microsoft.Ddue.Tools { WriteProcedureName(target, options, writer); if ((options & DisplayOptions.ShowTemplates) > 0) { - WriteTemplateParameters(target.Templates, writer); + // if this is a generic method, write any template params or args + if (target.TemplateArgs != null && target.TemplateArgs.Length > 0) + { + WriteTemplateArguments(target.TemplateArgs, writer); + } } if ((options & DisplayOptions.ShowParameters) > 0) { Parameter[] parameters = target.Parameters; - WriteMethodParameters(parameters, writer, dictionary); + + if (target.ConversionOperator) { + TypeReference returns = target.returnType; + WriteConversionOperatorParameters(parameters, returns, writer, dictionary); + } else { + WriteMethodParameters(parameters, writer, dictionary); + } } } + private void WriteConversionOperator(ProcedureTarget target, XmlWriter writer) + { + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "languageSpecificText"); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "cs"); + writer.WriteString(target.Name); + writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "vb"); + if (target.name == "Explicit") { + writer.WriteString("Narrowing"); + } else if (target.name == "Implicit") { + writer.WriteString("Widening"); + } + writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "cpp"); + writer.WriteString(target.name); + writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "nu"); + writer.WriteString(target.name); + writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "fs"); + writer.WriteString(target.name); + writer.WriteEndElement(); + + writer.WriteEndElement(); + } + internal void WriteMethodParameters (Parameter[] parameters, XmlWriter writer) { WriteMethodParameters(parameters, writer, null); } @@ -2266,22 +2521,74 @@ namespace Microsoft.Ddue.Tools { writer.WriteStartElement("span"); writer.WriteAttributeString("class", "languageSpecificText"); // when there are no parameters, VB shows no parenthesis + writer.WriteStartElement("span"); writer.WriteAttributeString("class", "cs"); writer.WriteString("()"); writer.WriteEndElement(); + writer.WriteStartElement("span"); writer.WriteAttributeString("class", "cpp"); writer.WriteString("()"); writer.WriteEndElement(); + writer.WriteStartElement("span"); writer.WriteAttributeString("class", "nu"); writer.WriteString("()"); writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "fs"); + writer.WriteString("()"); + writer.WriteEndElement(); + writer.WriteEndElement(); + } } + private void WriteConversionOperatorParameters(Parameter[] parameters, TypeReference returns, XmlWriter writer, Dictionary<IndexedTemplateTypeReference, TypeReference> dictionary) + { + if (parameters.Length > 0 || returns != null) writer.WriteString("("); + + if (parameters.Length > 0) WriteType(parameters[0].Type, DisplayOptions.Default, writer, dictionary); + + if (parameters.Length > 0 && returns != null) writer.WriteString(" to "); + + if (returns != null) WriteType(returns, DisplayOptions.Default, writer, dictionary); + + if (parameters.Length > 0 || returns != null) writer.WriteString(")"); + + if (parameters.Length == 0 && returns == null) + { + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "languageSpecificText"); + // when there are no parameters, VB shows no parenthesis + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "cs"); + writer.WriteString("()"); + writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "cpp"); + writer.WriteString("()"); + writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "nu"); + writer.WriteString("()"); + writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "fs"); + writer.WriteString("()"); + writer.WriteEndElement(); + + writer.WriteEndElement(); + } + } + private void WriteProperty (PropertyTarget target, DisplayOptions options, XmlWriter writer) { WriteProcedureName(target, options, writer); @@ -2313,6 +2620,12 @@ namespace Microsoft.Ddue.Tools { writer.WriteAttributeString("class", "nu"); writer.WriteString("("); writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "fs"); + writer.WriteString(" "); + writer.WriteEndElement(); + writer.WriteEndElement(); // show parameters @@ -2343,6 +2656,12 @@ namespace Microsoft.Ddue.Tools { writer.WriteAttributeString("class", "nu"); writer.WriteString(")"); writer.WriteEndElement(); + + writer.WriteStartElement("span"); + writer.WriteAttributeString("class", "fs"); + writer.WriteString(" "); + writer.WriteEndElement(); + writer.WriteEndElement(); } diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Targets.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Targets.cs index 00c17f2..656da13 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Targets.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Targets.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Text; @@ -13,28 +16,11 @@ namespace BuildComponents { internal string id; - internal string container; - - internal string file; - public string Id { get { return (id); } } - - public string Container { - get { - return (container); - } - } - - public string File { - get { - return (file); - } - } - } // Namespace @@ -57,8 +43,6 @@ namespace BuildComponents { // apidata - protected string name; - protected string subgroup; // containers @@ -69,32 +53,8 @@ namespace BuildComponents { protected string containingAssembly; - // templates - - protected string[] templates; - - // typedata - - private object visibility; - - private bool isAbstract; - - private bool isSealed; - - private bool isSerializable; - - // family - - private SimpleTypeReference parentType; - // other - public string Name { - get { - return (name); - } - } - public NamespaceReference Namespace { get { return (containingNamespace); @@ -107,12 +67,6 @@ namespace BuildComponents { } } - public string[] Templates { - get { - return (templates); - } - } - } // Construction of targets from Xml @@ -144,7 +98,7 @@ namespace BuildComponents { public partial class NamespaceTarget { - public static NamespaceTarget Create (XmlReader apidata) { + public static new NamespaceTarget Create (XmlReader apidata) { NamespaceTarget target = new NamespaceTarget(); string name = apidata.GetAttribute("name"); @@ -172,16 +126,16 @@ namespace BuildComponents { public partial class TypeTarget { - public static TypeTarget Create (XmlReader api) { + public static new TypeTarget Create (XmlReader api) { api.ReadToFollowing("apidata"); - string subgroup = api.GetAttribute("subgroup"); + //string subgroup = api.GetAttribute("subgroup"); api.ReadToFollowing("typedata"); - string visibilityValue = api.GetAttribute("visibility"); - string abstractValue = api.GetAttribute("abstract"); - string sealedValue = api.GetAttribute("sealed"); - string serializableValue = api.GetAttribute("serealizable"); + //string visibilityValue = api.GetAttribute("visibility"); + //string abstractValue = api.GetAttribute("abstract"); + //string sealedValue = api.GetAttribute("sealed"); + //string serializableValue = api.GetAttribute("serealizable"); api.ReadToFollowing("library"); string containingAssemblyValue = api.GetAttribute("assembly"); diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TaskGrabberComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TaskGrabberComponent.cs index 81fc811..d03fa15 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TaskGrabberComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TaskGrabberComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; @@ -296,7 +299,7 @@ namespace Microsoft.Ddue.Tools { { Console.WriteLine("Exception adding to dictionary {0}", key); Console.WriteLine(e); - throw e; + throw; } } diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TransformComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TransformComponent.cs index 82b3241..712ceb1 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TransformComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/TransformComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Configuration; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ValidateComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ValidateComponent.cs index afd6286..aeb8854 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ValidateComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/ValidateComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Xml; using System.Xml.Schema; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/WdxResolveConceptualLinksComponent.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/WdxResolveConceptualLinksComponent.cs index d404d28..a827164 100644 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/WdxResolveConceptualLinksComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/WdxResolveConceptualLinksComponent.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.IO; diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/makefile b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/makefile deleted file mode 100644 index 29ec09b..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/makefile +++ /dev/null @@ -1,13 +0,0 @@ -LIBRARY = ..\BuildAssembler\BuildAssembler.exe - -FLOW_COMPONENTS = IfThenComponent.cs ForEachComponent.cs CloneComponent.cs -DIAGNOSTIC_COMPONENTS = DisplayComponent.cs ValidateComponent.cs -PROCESSING_COMPONENTS = CopyFromFileComponent.cs CopyFromDirectoryComponent.cs SharedContentComponent.cs TransformComponent.cs SaveComponent.cs ResolveLinksComponent.cs MsdnService.cs - -COMPONENTS = $(FLOW_COMPONENTS) $(DIAGNOSTIC_COMPONENTS) $(PROCESSING_COMPONENTS) - -all: BuildComponents.dll - -BuildComponents.dll: *Component.cs CustomContext.cs MsdnService.cs $(LIBRARY) - csc /t:library /out:BuildComponents.dll *Component.cs CustomContext.cs MsdnService.cs /r:$(LIBRARY) - copy BuildComponents.dll ..\..\ProductionTools\BuildComponents diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/makefile.inc b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/makefile.inc deleted file mode 100644 index 32f7350..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/makefile.inc +++ /dev/null @@ -1,2 +0,0 @@ -!INCLUDE $(INETROOT)\build\makefile.inc - diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/placefile b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/placefile deleted file mode 100644 index bc01306..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/placefile +++ /dev/null @@ -1 +0,0 @@ -Microsoft.Ddue.Tools.BuildComponents.dll Manifold diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/plan.txt b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/plan.txt deleted file mode 100644 index d72dc7a..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/plan.txt +++ /dev/null @@ -1,62 +0,0 @@ - -Flow Control ------------- - -<IfThen> - <if>xpath_format</if> - <then>component_list</then> - <else>component_list</else> -</IfThen> - -<ForEach> - <xpath>xpath_format</file> - component_list -</ForEach> - -<Clone> - <branch>component_list</branch>+ -</Clone> - -<Save> - <file>xpath_format</file> -</Save> - - - -Diagnostic ----------- - -<Validate> - <schema></schema> -</Validate> - - -<Display> - <xpath></xpath> -</Display> - - - -Processing ----------- - -<InsertComments> - <directory></directory> - <schema></schema> - <comment></comment> - <identifier></identifier> - <source></source> - <target></target> -</InsertComments> - -<InsertData> - <file>file_path</file> - <schema>file_path</schema> - <source>xpath_format</source> - <target>xpath_format</target> -</InsertData> - -<Transform> - <transform>file_path</transform> - <parameter name=" " value=" " />+ -</Transform> diff --git a/tools/Sandcastle/Source/BuildAssembler/CopyComponents/CopyComponents.csproj b/tools/Sandcastle/Source/BuildAssembler/CopyComponents/CopyComponents.csproj index 4f26673..7cf0bb0 100644 --- a/tools/Sandcastle/Source/BuildAssembler/CopyComponents/CopyComponents.csproj +++ b/tools/Sandcastle/Source/BuildAssembler/CopyComponents/CopyComponents.csproj @@ -47,13 +47,19 @@ <Reference Include="System" /> <Reference Include="System.configuration" /> <Reference Include="System.Data" /> + <Reference Include="System.Web.Services" /> <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="InheritDocumentationComponent.cs" /> </ItemGroup> <ItemGroup> + <ProjectReference Include="..\BuildAssemblerLibrary\BuildAssemblerLibrary.csproj"> + <Project>{399E78F8-4954-409E-991A-37DA9D0579CC}</Project> + <Name>BuildAssemblerLibrary</Name> + </ProjectReference> <ProjectReference Include="..\BuildComponents\BuildComponents.csproj"> <Project>{30773718-BC7C-4FCC-A9C2-7EE61DF4EC41}</Project> <Name>BuildComponents</Name> diff --git a/tools/Sandcastle/Source/BuildAssembler/CopyComponents/CopyComponents.csproj.vspscc b/tools/Sandcastle/Source/BuildAssembler/CopyComponents/CopyComponents.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/CopyComponents/CopyComponents.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/BuildAssembler/CopyComponents/GlobalSuppressions.cs b/tools/Sandcastle/Source/BuildAssembler/CopyComponents/GlobalSuppressions.cs new file mode 100644 index 0000000..210bf57 --- /dev/null +++ b/tools/Sandcastle/Source/BuildAssembler/CopyComponents/GlobalSuppressions.cs @@ -0,0 +1,17 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ddue", Scope = "namespace", Target = "Microsoft.Ddue.Tools")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] diff --git a/tools/Sandcastle/Source/BuildAssembler/CopyComponents/InheritDocumentationComponent.cs b/tools/Sandcastle/Source/BuildAssembler/CopyComponents/InheritDocumentationComponent.cs index 9bb045d..9df1282 100644 --- a/tools/Sandcastle/Source/BuildAssembler/CopyComponents/InheritDocumentationComponent.cs +++ b/tools/Sandcastle/Source/BuildAssembler/CopyComponents/InheritDocumentationComponent.cs @@ -1,6 +1,9 @@ // ------------------------------------------------------------------------------------------------ // <copyright file="InheritDocumentationComponent.cs" company="Microsoft"> -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. // </copyright> // <summary>Contains code that indexes XML comments files for <inheritdoc /> tags, reflection files // for API information and produces a new XML comments file containing the inherited documentation diff --git a/tools/Sandcastle/Source/BuildAssembler/CopyComponents/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/BuildAssembler/CopyComponents/Properties/AssemblyInfo.cs index 3c269cf..c834f96 100644 --- a/tools/Sandcastle/Source/BuildAssembler/CopyComponents/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/BuildAssembler/CopyComponents/Properties/AssemblyInfo.cs @@ -1,6 +1,9 @@ //-------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Microsoft"> -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. // </copyright> // <summary>Contains metadata information for the assembly.</summary> //-------------------------------------------------------------------------- @@ -20,6 +23,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: System.CLSCompliant(true)] + // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -37,5 +42,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/AspNetSyntax.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/AspNetSyntax.cs index 50d7201..8f25f1b 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/AspNetSyntax.cs +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/AspNetSyntax.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Text; diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/CPlusPlusDeclarationSyntax.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/CPlusPlusDeclarationSyntax.cs index ee6cff5..56c6316 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/CPlusPlusDeclarationSyntax.cs +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/CPlusPlusDeclarationSyntax.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Xml.XPath; @@ -10,7 +13,7 @@ namespace Microsoft.Ddue.Tools { public class CPlusPlusDeclarationSyntaxGenerator : SyntaxGeneratorTemplate { public CPlusPlusDeclarationSyntaxGenerator (XPathNavigator configuration) : base(configuration) { - if (String.IsNullOrEmpty(language)) language = "ManagedCPlusPlus"; + if (String.IsNullOrEmpty(Language)) Language = "ManagedCPlusPlus"; } // namespace: done @@ -326,7 +329,7 @@ namespace Microsoft.Ddue.Tools { } else if (name == "Explicit") { writer.WriteKeyword("explicit operator"); } else { - throw new Exception(); + throw new InvalidOperationException("invalid cast type: " + name); } writer.WriteString(" "); WriteReturnValue(reflection, writer); @@ -370,6 +373,16 @@ namespace Microsoft.Ddue.Tools { if (hasGetter) { writer.WriteString("\t"); + + //write the get visibility + string getVisibility = (string)reflection.Evaluate(apiGetVisibilityExpression); + if (!String.IsNullOrEmpty(getVisibility)) + { + WriteVisibility(getVisibility, writer); + writer.WriteString(":"); + writer.WriteString(" "); + } + WriteReturnValue(reflection, writer); writer.WriteString(" "); writer.WriteKeyword("get"); @@ -399,6 +412,16 @@ namespace Microsoft.Ddue.Tools { if (hasSetter) { writer.WriteString("\t"); + + // write the set visibility + string setVisibility = (string)reflection.Evaluate(apiSetVisibilityExpression); + if (!String.IsNullOrEmpty(setVisibility)) + { + WriteVisibility(setVisibility, writer); + writer.WriteString(":"); + writer.WriteString(" "); + } + writer.WriteKeyword("void"); writer.WriteString(" "); writer.WriteKeyword("set"); @@ -571,9 +594,13 @@ namespace Microsoft.Ddue.Tools { } - private void WriteVisibility (XPathNavigator reflection, SyntaxWriter writer) { + private void WriteVisibility(XPathNavigator reflection, SyntaxWriter writer) { + + string visibility = reflection.Evaluate(apiVisibilityExpression).ToString(); + WriteVisibility(visibility, writer); + } - string visibility = reflection.Evaluate(apiVisibilityExpression).ToString(); + private void WriteVisibility (string visibility, SyntaxWriter writer) { switch (visibility) { case "public": diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/CSharpDeclarationSyntax.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/CSharpDeclarationSyntax.cs index 747d53f..3b5922d 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/CSharpDeclarationSyntax.cs +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/CSharpDeclarationSyntax.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Xml.XPath; @@ -10,7 +13,7 @@ namespace Microsoft.Ddue.Tools { public class CSharpDeclarationSyntaxGenerator : SyntaxGeneratorTemplate { public CSharpDeclarationSyntaxGenerator (XPathNavigator configuration) : base(configuration) { - if (String.IsNullOrEmpty(language)) language = "CSharp"; + if (String.IsNullOrEmpty(Language)) Language = "CSharp"; } // namespace: done @@ -88,7 +91,7 @@ namespace Microsoft.Ddue.Tools { writer.WriteKeyword("interface"); writer.WriteString(" "); writer.WriteIdentifier(name); - WriteGenericTemplates(reflection, writer); + WriteGenericTemplates(reflection, writer, true); // interfaces need co/contravariance info WriteImplementedInterfaces(reflection, writer); WriteGenericTemplateConstraints(reflection, writer); @@ -109,7 +112,7 @@ namespace Microsoft.Ddue.Tools { WriteReturnValue(reflection, writer); writer.WriteString(" "); writer.WriteIdentifier(name); - WriteGenericTemplates(reflection, writer); + WriteGenericTemplates(reflection, writer, true); // delegates need co/contravariance info WriteMethodParameters(reflection, writer); WriteGenericTemplateConstraints(reflection, writer); @@ -291,7 +294,7 @@ namespace Microsoft.Ddue.Tools { } else if (name == "Explicit") { writer.WriteKeyword("explicit operator"); } else { - throw new Exception(); + throw new InvalidCastException("Invalid cast."); } writer.WriteString(" "); WriteReturnValue(reflection, writer); @@ -300,61 +303,77 @@ namespace Microsoft.Ddue.Tools { } - public override void WritePropertySyntax (XPathNavigator reflection, SyntaxWriter writer) { - - string name = (string) reflection.Evaluate(apiNameExpression); + public override void WritePropertySyntax(XPathNavigator reflection, SyntaxWriter writer) + { + string name = (string)reflection.Evaluate(apiNameExpression); bool isDefault = (bool)reflection.Evaluate(apiIsDefaultMemberExpression); - bool isGettable = (bool) reflection.Evaluate(apiIsReadPropertyExpression); - bool isSettable = (bool) reflection.Evaluate(apiIsWritePropertyExpression); - bool isExplicit = (bool) reflection.Evaluate(apiIsExplicitImplementationExpression); - - WriteAttributes(reflection, writer); - if (!isExplicit) WriteProcedureModifiers(reflection, writer); - WriteReturnValue(reflection, writer); - writer.WriteString(" "); + bool isGettable = (bool)reflection.Evaluate(apiIsReadPropertyExpression); + bool isSettable = (bool)reflection.Evaluate(apiIsWritePropertyExpression); + bool isExplicit = (bool)reflection.Evaluate(apiIsExplicitImplementationExpression); + XPathNodeIterator parameters = reflection.Select(apiParametersExpression); + + WriteAttributes(reflection, writer); + if (!isExplicit) WriteProcedureModifiers(reflection, writer); + WriteReturnValue(reflection, writer); + writer.WriteString(" "); - if (isExplicit) { - XPathNavigator member = reflection.SelectSingleNode(apiImplementedMembersExpression); - //string id = (string) member.GetAttribute("api", String.Empty); - XPathNavigator contract = member.SelectSingleNode(memberDeclaringTypeExpression); - WriteTypeReference(contract, writer); - writer.WriteString("."); - WriteMemberReference(member, writer); - //writer.WriteReferenceLink(id); - // writer.WriteIdentifier(memberName); - } else { - if (isDefault) { + if (isExplicit) + { + XPathNavigator member = reflection.SelectSingleNode(apiImplementedMembersExpression); + XPathNavigator contract = member.SelectSingleNode(memberDeclaringTypeExpression); + WriteTypeReference(contract, writer); + writer.WriteString("."); + if (parameters.Count > 0) + { + // In C#, EII property with parameters is an indexer; use 'this' instead of the property's name writer.WriteKeyword("this"); - } else { + } + else + { + WriteMemberReference(member, writer); + } + } + else + { + // In C#, any property with parameters is an indexer, which is declared using 'this' instead of the property's name + if (isDefault || parameters.Count > 0) + { + writer.WriteKeyword("this"); + } + else + { writer.WriteIdentifier(name); } - } + } - WritePropertyParameters(reflection, writer); - writer.WriteString(" {"); - if (isGettable) { + WritePropertyParameters(reflection, writer); + writer.WriteString(" {"); + if (isGettable) + { writer.WriteString(" "); string getVisibility = (string)reflection.Evaluate(apiGetVisibilityExpression); - if (!String.IsNullOrEmpty(getVisibility)) { + if (!String.IsNullOrEmpty(getVisibility)) + { WriteVisibility(getVisibility, writer); writer.WriteString(" "); } writer.WriteKeyword("get"); writer.WriteString(";"); } - if (isSettable) { + if (isSettable) + { writer.WriteString(" "); string setVisibility = (string)reflection.Evaluate(apiSetVisibilityExpression); - if (!String.IsNullOrEmpty(setVisibility)) { + if (!String.IsNullOrEmpty(setVisibility)) + { WriteVisibility(setVisibility, writer); writer.WriteString(" "); } writer.WriteKeyword("set"); writer.WriteString(";"); } - writer.WriteString(" }"); - - } + writer.WriteString(" }"); + } public override void WriteEventSyntax (XPathNavigator reflection, SyntaxWriter writer) { string name = (string) reflection.Evaluate(apiNameExpression); @@ -667,21 +686,44 @@ namespace Microsoft.Ddue.Tools { // Generics - private void WriteGenericTemplates (XPathNavigator reflection, SyntaxWriter writer) { + private void WriteGenericTemplates (XPathNavigator reflection, SyntaxWriter writer) { - XPathNodeIterator templates = (XPathNodeIterator) reflection.Evaluate(apiTemplatesExpression); - - if (templates.Count == 0) return; - writer.WriteString("<"); - while (templates.MoveNext()) { - XPathNavigator template = templates.Current; - string name = template.GetAttribute("name", String.Empty); - writer.WriteString(name); - if (templates.CurrentPosition < templates.Count) writer.WriteString(", "); - } - writer.WriteString(">"); + WriteGenericTemplates(reflection, writer, false); } + private void WriteGenericTemplates(XPathNavigator reflection, SyntaxWriter writer, bool writeVariance) + { + XPathNodeIterator templates = (XPathNodeIterator)reflection.Evaluate(apiTemplatesExpression); + + if (templates.Count == 0) return; + writer.WriteString("<"); + while (templates.MoveNext()) + { + XPathNavigator template = templates.Current; + if (writeVariance) + { + bool contravariant = (bool)template.Evaluate(templateIsContravariantExpression); + bool covariant = (bool)template.Evaluate(templateIsCovariantExpression); + + if (contravariant) + { + writer.WriteKeyword("in"); + writer.WriteString(" "); + } + if (covariant) + { + writer.WriteKeyword("out"); + writer.WriteString(" "); + } + } + string name = template.GetAttribute("name", String.Empty); + writer.WriteString(name); + if (templates.CurrentPosition < templates.Count) writer.WriteString(", "); + } + writer.WriteString(">"); + + } + private void WriteGenericTemplateConstraints (XPathNavigator reflection, SyntaxWriter writer) { XPathNodeIterator templates = reflection.Select(apiTemplatesExpression); diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/FSharpDeclarationSyntax.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/FSharpDeclarationSyntax.cs new file mode 100644 index 0000000..7f10807 --- /dev/null +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/FSharpDeclarationSyntax.cs @@ -0,0 +1,988 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +using System; +using System.Collections.Generic; +using System.Xml.XPath; + + +namespace Microsoft.Ddue.Tools +{ + + public class FSharpDeclarationSyntaxGenerator : SyntaxGeneratorTemplate + { + + public FSharpDeclarationSyntaxGenerator(XPathNavigator configuration) + : base(configuration) + { + if (String.IsNullOrEmpty(Language)) Language = "FSharp"; + } + + // namespace: done + public override void WriteNamespaceSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + + string name = reflection.Evaluate(apiNameExpression).ToString(); + + writer.WriteKeyword("namespace"); + writer.WriteString(" "); + writer.WriteIdentifier(name); + } + + public override void WriteClassSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + + WriteDotNetObject(reflection, writer, "class"); + } + + // TODO: Use apiContainingTypeSubgroupExpression instead of passing in class, struct, interface + public override void WriteStructureSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + WriteDotNetObject(reflection, writer, "struct"); + } + + public override void WriteInterfaceSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + WriteDotNetObject(reflection, writer, "interface"); + } + + + public override void WriteDelegateSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + + string name = (string)reflection.Evaluate(apiNameExpression); + bool isSerializable = (bool)reflection.Evaluate(apiIsSerializableTypeExpression); + + if (isSerializable) WriteAttribute("T:System.SerializableAttribute", writer); + + WriteAttributes(reflection, writer); + + writer.WriteKeyword("type"); + writer.WriteString(" "); + writer.WriteIdentifier(name); + writer.WriteString(" = "); + writer.WriteLine(); + writer.WriteString(" "); + writer.WriteKeyword("delegate"); + writer.WriteString(" "); + writer.WriteKeyword("of"); + writer.WriteString(" "); + + WriteParameters(reflection, writer); + + writer.WriteKeyword("->"); + writer.WriteString(" "); + WriteReturnValue(reflection, writer); + + } + + public override void WriteEnumerationSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + + string name = (string)reflection.Evaluate(apiNameExpression); + bool isSerializable = (bool)reflection.Evaluate(apiIsSerializableTypeExpression); + + if (isSerializable) WriteAttribute("T:System.SerializableAttribute", writer); + WriteAttributes(reflection, writer); + writer.WriteKeyword("type"); + writer.WriteString(" "); + WriteVisibility(reflection, writer); + writer.WriteIdentifier(name); + } + + public override void WriteConstructorSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + + string name = (string)reflection.Evaluate(apiContainingTypeNameExpression); + bool isStatic = (bool)reflection.Evaluate(apiIsStaticExpression); + + WriteAttributes(reflection, writer); + + writer.WriteKeyword("new"); + writer.WriteString(" : "); + WriteParameters(reflection, writer); + writer.WriteKeyword("->"); + writer.WriteString(" "); + writer.WriteIdentifier(name); + + } + + public override void WriteNormalMethodSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + + string name = (string)reflection.Evaluate(apiNameExpression); + bool isOverride = (bool)reflection.Evaluate(apiIsOverrideExpression); + bool isStatic = (bool)reflection.Evaluate(apiIsStaticExpression); + bool isVirtual = (bool)reflection.Evaluate(apiIsVirtualExpression) && !(bool)reflection.Evaluate(apiIsAbstractProcedureExpression); + int iterations = isVirtual ? 2 : 1; + + for (int i = 0; i < iterations; i++) + { + + WriteAttributes(reflection, writer); + + WriteVisibility(reflection, writer); + + if (isStatic) + { + writer.WriteKeyword("static"); + writer.WriteString(" "); + } + + if (isVirtual) + if (i == 0) + { + writer.WriteKeyword("abstract"); + writer.WriteString(" "); + } + else + { + writer.WriteKeyword("override"); + writer.WriteString(" "); + } + else + { + WriteMemberKeyword(reflection, writer); + } + + writer.WriteIdentifier(name); + writer.WriteString(" : "); + WriteParameters(reflection, writer); + writer.WriteKeyword("->"); + writer.WriteString(" "); + WriteReturnValue(reflection, writer); + writer.WriteString(" "); + WriteGenericTemplateConstraints(reflection, writer); + + if (i == 0) + writer.WriteLine(); + } + } + + public override void WriteOperatorSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + string name = (string)reflection.Evaluate(apiNameExpression); + string identifier; + + bool isStatic = (bool)reflection.Evaluate(apiIsStaticExpression); + + switch (name) + { + // unary math operators + case "UnaryPlus": + identifier = "+"; + break; + case "UnaryNegation": + identifier = "-"; + break; + case "Increment": + identifier = "++"; + break; + case "Decrement": + identifier = "--"; + break; + // unary logical operators + case "LogicalNot": + identifier = "not"; + break; + case "True": + identifier = "true"; + break; + case "False": + identifier = "false"; + break; + // binary comparison operators + case "Equality": + identifier = "="; + break; + case "Inequality": + identifier = "<>"; + break; + case "LessThan": + identifier = "<"; + break; + case "GreaterThan": + identifier = ">"; + break; + case "LessThanOrEqual": + identifier = "<="; + break; + case "GreaterThanOrEqual": + identifier = ">="; + break; + // binary math operators + case "Addition": + identifier = "+"; + break; + case "Subtraction": + identifier = "-"; + break; + case "Multiply": + identifier = "*"; + break; + case "Division": + identifier = "/"; + break; + case "Modulus": + identifier = "%"; + break; + // binary logical operators + case "BitwiseAnd": + identifier = "&&&"; + break; + case "BitwiseOr": + identifier = "|||"; + break; + case "ExclusiveOr": + identifier = "^^^"; + break; + // bit-array operators + case "OnesComplement": + identifier = null; // No F# equiv. + break; + case "LeftShift": + identifier = "<<<"; + break; + case "RightShift": + identifier = ">>>"; + break; + // unrecognized operator + default: + identifier = null; + break; + } + if (identifier == null) + { + writer.WriteMessage("UnsupportedOperator_" + Language); + } + else + { + if (isStatic) + { + writer.WriteKeyword("static"); + writer.WriteString(" "); + } + + writer.WriteKeyword("let"); + writer.WriteString(" "); + writer.WriteKeyword("inline"); + writer.WriteKeyword(" "); + + writer.WriteString("("); + writer.WriteIdentifier(identifier); + writer.WriteString(")"); + + WriteParameters(reflection, writer); + writer.WriteString(" : "); + WriteReturnValue(reflection, writer); + + } + } + + public override void WriteCastSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + writer.WriteMessage("UnsupportedCast_" + Language); + } + + // DONE + public override void WritePropertySyntax(XPathNavigator reflection, SyntaxWriter writer) + { + + string name = (string)reflection.Evaluate(apiNameExpression); + bool isGettable = (bool)reflection.Evaluate(apiIsReadPropertyExpression); + bool isSettable = (bool)reflection.Evaluate(apiIsWritePropertyExpression); + + bool isStatic = (bool)reflection.Evaluate(apiIsStaticExpression); + bool isVirtual = (bool)reflection.Evaluate(apiIsVirtualExpression) && !(bool)reflection.Evaluate(apiIsAbstractProcedureExpression); + int iterations = isVirtual ? 2 : 1; + + for (int i = 0; i < iterations; i++) + { + WriteAttributes(reflection, writer); + WriteVisibility(reflection, writer); + + if (isStatic) + { + writer.WriteKeyword("static"); + writer.WriteString(" "); + } + + if (isVirtual) + if (i == 0) + { + writer.WriteKeyword("abstract"); + writer.WriteString(" "); + } + else + { + writer.WriteKeyword("override"); + writer.WriteString(" "); + } + else + { + WriteMemberKeyword(reflection, writer); + } + + writer.WriteIdentifier(name); + writer.WriteString(" : "); + WriteReturnValue(reflection, writer); + + if (isSettable) + { + writer.WriteString(" "); + writer.WriteKeyword("with"); + writer.WriteString(" "); + + string getVisibility = (string)reflection.Evaluate(apiGetVisibilityExpression); + if (!String.IsNullOrEmpty(getVisibility)) + { + WriteVisibility(getVisibility, writer); + } + + writer.WriteKeyword("get"); + writer.WriteString(", "); + + string setVisibility = (string)reflection.Evaluate(apiSetVisibilityExpression); + if (!String.IsNullOrEmpty(setVisibility)) + { + WriteVisibility(setVisibility, writer); + } + + writer.WriteKeyword("set"); + } + if (i == 0) + writer.WriteLine(); + } + } + + public override void WriteEventSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + string name = (string)reflection.Evaluate(apiNameExpression); + XPathNavigator handler = reflection.SelectSingleNode(apiHandlerOfEventExpression); + XPathNavigator args = reflection.SelectSingleNode(apiEventArgsExpression); + bool isVirtual = (bool)reflection.Evaluate(apiIsVirtualExpression) && !(bool)reflection.Evaluate(apiIsAbstractProcedureExpression); + int iterations = isVirtual ? 2 : 1; + + for (int i = 0; i < iterations; i++) + { + WriteAttributes(reflection, writer); + WriteVisibility(reflection, writer); + if (isVirtual) + if (i == 0) + { + writer.WriteKeyword("abstract"); + writer.WriteString(" "); + } + else + { + writer.WriteKeyword("override"); + writer.WriteString(" "); + } + else + { + WriteMemberKeyword(reflection, writer); + } + writer.WriteIdentifier(name); + writer.WriteString(" : "); + writer.WriteReferenceLink("T:Microsoft.FSharp.Control.IEvent"); + + writer.WriteString("<"); + WriteTypeReference(handler, writer); + writer.WriteString(","); + writer.WriteLine(); + writer.WriteString(" "); + if (args == null) + { + writer.WriteReferenceLink("T:System.EventArgs"); + } + else + { + WriteTypeReference(args, writer); + } + writer.WriteString(">"); + if (i == 0) + writer.WriteLine(); + } + } + + + public override void WriteFieldSyntax(XPathNavigator reflection, SyntaxWriter writer) + { + + string name = (string)reflection.Evaluate(apiNameExpression); + bool isStatic = (bool)reflection.Evaluate(apiIsStaticExpression); + bool isLiteral = (bool)reflection.Evaluate(apiIsLiteralFieldExpression); + bool isInitOnly = (bool)reflection.Evaluate(apiIsInitOnlyFieldExpression); + bool isSerialized = (bool)reflection.Evaluate(apiIsSerializedFieldExpression); + + if (!isSerialized) WriteAttribute("T:System.NonSerializedAttribute", writer); + WriteAttributes(reflection, writer); + + + if (isStatic) + { + writer.WriteKeyword("static"); + writer.WriteString(" "); + } + writer.WriteKeyword("val"); + writer.WriteString(" "); + + if (!isInitOnly) + { + writer.WriteKeyword("mutable"); + writer.WriteString(" "); + } + + WriteVisibility(reflection, writer); + + writer.WriteIdentifier(name); + + writer.WriteString(": "); + WriteReturnValue(reflection, writer); + + } + + + private void WriteDotNetObject(XPathNavigator reflection, SyntaxWriter writer, + string kind) + { + string name = reflection.Evaluate(apiNameExpression).ToString(); + bool isSerializable = (bool)reflection.Evaluate(apiIsSerializableTypeExpression); + XPathNodeIterator implements = reflection.Select(apiImplementedInterfacesExpression); + XPathNavigator baseClass = reflection.SelectSingleNode(apiBaseClassExpression); + bool hasBaseClass = (baseClass != null) && !((bool)baseClass.Evaluate(typeIsObjectExpression)); + + // CLR considers interfaces abstract. + bool isAbstract = (bool)reflection.Evaluate(apiIsAbstractTypeExpression) && kind != "interface"; + bool isSealed = (bool)reflection.Evaluate(apiIsSealedTypeExpression); + + if (isAbstract) + WriteAttribute("T:Microsoft.FSharp.Core.AbstractClassAttribute", writer); + if (isSealed) + WriteAttribute("T:Microsoft.FSharp.Core.SealedAttribute", writer); + + if (isSerializable) WriteAttribute("T:System.SerializableAttribute", writer); + WriteAttributes(reflection, writer); + + writer.WriteKeyword("type"); + writer.WriteString(" "); + writer.WriteIdentifier(name); + WriteGenericTemplates(reflection, writer); + writer.WriteString(" = "); + + if (hasBaseClass || implements.Count != 0) + { + writer.WriteLine(); + writer.WriteString(" "); + } + writer.WriteKeyword(kind); + + if (hasBaseClass || implements.Count != 0) + { + writer.WriteLine(); + } + + if (hasBaseClass) + { + writer.WriteString(" "); + writer.WriteKeyword("inherit"); + writer.WriteString(" "); + WriteTypeReference(baseClass, writer); + writer.WriteLine(); + } + + + while (implements.MoveNext()) + { + XPathNavigator implement = implements.Current; + writer.WriteString(" "); + writer.WriteKeyword("interface"); + writer.WriteString(" "); + WriteTypeReference(implement, writer); + writer.WriteLine(); + } + + if (hasBaseClass || implements.Count != 0) + { + writer.WriteString(" "); + } + else + { + writer.WriteString(" "); + } + + writer.WriteKeyword("end"); + + } + + // Visibility + + private void WriteVisibility(XPathNavigator reflection, SyntaxWriter writer) + { + + string visibility = reflection.Evaluate(apiVisibilityExpression).ToString(); + WriteVisibility(visibility, writer); + } + + + private Dictionary<string, string> visibilityDictionary = new Dictionary<string, string>() + { + { "public", null }, // Default in F#, so unnecessary. + { "family", null }, // Not supported in F#, section 8.8 in F# spec. + { "family or assembly", null }, // Not supported in F#, section 8.8 in F# spec. + { "family and assembly", null }, // Not supported in F#, section 8.8 in F# spec. + { "assembly", "internal" }, + { "private", "private" }, + }; + + // DONE + private void WriteVisibility(string visibility, SyntaxWriter writer) + { + + if(visibilityDictionary.ContainsKey(visibility) && visibilityDictionary[visibility] != null) + { + writer.WriteKeyword(visibilityDictionary[visibility]); + writer.WriteString(" "); + } + + } + + // Write member | abstract | override + private void WriteMemberKeyword(XPathNavigator reflection, SyntaxWriter writer) + { + bool isOverride = (bool)reflection.Evaluate(apiIsOverrideExpression); + bool isAbstract = (bool)reflection.Evaluate(apiIsAbstractProcedureExpression); + + if (isOverride) + { + writer.WriteKeyword("override"); + } + else if (isAbstract) + { + writer.WriteKeyword("abstract"); + } + else + { + writer.WriteKeyword("member"); + } + writer.WriteString(" "); + + return; + } + + // Attributes + + private void WriteAttribute(string reference, SyntaxWriter writer) + { + writer.WriteString("[<"); + writer.WriteReferenceLink(reference); + writer.WriteString(">]"); + writer.WriteLine(); + } + + + // Initial version + private void WriteAttributes(XPathNavigator reflection, SyntaxWriter writer) + { + + XPathNodeIterator attributes = (XPathNodeIterator)reflection.Evaluate(apiAttributesExpression); + + foreach (XPathNavigator attribute in attributes) + { + + XPathNavigator type = attribute.SelectSingleNode(attributeTypeExpression); + if (type.GetAttribute("api", String.Empty) == "T:System.Runtime.CompilerServices.ExtensionAttribute") continue; + + writer.WriteString("[<"); + WriteTypeReference(type, writer); + + XPathNodeIterator arguments = (XPathNodeIterator)attribute.Select(attributeArgumentsExpression); + XPathNodeIterator assignments = (XPathNodeIterator)attribute.Select(attributeAssignmentsExpression); + + if ((arguments.Count > 0) || (assignments.Count > 0)) + { + writer.WriteString("("); + while (arguments.MoveNext()) + { + XPathNavigator argument = arguments.Current; + if (arguments.CurrentPosition > 1) + { + writer.WriteString(", "); + if (writer.Position > maxPosition) + { + writer.WriteLine(); + writer.WriteString(" "); + } + } + WriteValue(argument, writer); + } + if ((arguments.Count > 0) && (assignments.Count > 0)) writer.WriteString(", "); + while (assignments.MoveNext()) + { + XPathNavigator assignment = assignments.Current; + if (assignments.CurrentPosition > 1) + { + writer.WriteString(", "); + if (writer.Position > maxPosition) + { + writer.WriteLine(); + writer.WriteString(" "); + } + } + writer.WriteString((string)assignment.Evaluate(assignmentNameExpression)); + writer.WriteString(" = "); + WriteValue(assignment, writer); + + } + writer.WriteString(")"); + } + + writer.WriteString(">]"); + writer.WriteLine(); + } + + } + + private void WriteValue(XPathNavigator parent, SyntaxWriter writer) + { + + XPathNavigator type = parent.SelectSingleNode(attributeTypeExpression); + XPathNavigator value = parent.SelectSingleNode(valueExpression); + if (value == null) Console.WriteLine("null value"); + + switch (value.LocalName) + { + case "nullValue": + writer.WriteKeyword("null"); + break; + case "typeValue": + writer.WriteKeyword("typeof"); + writer.WriteString("("); + WriteTypeReference(value.SelectSingleNode(typeExpression), writer); + writer.WriteString(")"); + break; + case "enumValue": + XPathNodeIterator fields = value.SelectChildren(XPathNodeType.Element); + while (fields.MoveNext()) + { + string name = fields.Current.GetAttribute("name", String.Empty); + if (fields.CurrentPosition > 1) writer.WriteString("|"); + WriteTypeReference(type, writer); + writer.WriteString("."); + writer.WriteString(name); + } + break; + case "value": + string text = value.Value; + string typeId = type.GetAttribute("api", String.Empty); + switch (typeId) + { + case "T:System.String": + writer.WriteString("\""); + writer.WriteString(text); + writer.WriteString("\""); + break; + case "T:System.Boolean": + bool bool_value = Convert.ToBoolean(text); + if (bool_value) + { + writer.WriteKeyword("true"); + } + else + { + writer.WriteKeyword("false"); + } + break; + case "T:System.Char": + writer.WriteString("'"); + writer.WriteString(text); + writer.WriteString("'"); + break; + } + break; + } + } + + + // Generics + + private void WriteGenericTemplates(XPathNavigator reflection, SyntaxWriter writer) + { + + XPathNodeIterator templates = (XPathNodeIterator)reflection.Evaluate(apiTemplatesExpression); + + if (templates.Count == 0) return; + writer.WriteString("<"); + while (templates.MoveNext()) + { + XPathNavigator template = templates.Current; + string name = template.GetAttribute("name", String.Empty); + writer.WriteString("'"); + writer.WriteString(name); + if (templates.CurrentPosition < templates.Count) writer.WriteString(", "); + } + WriteGenericTemplateConstraints(reflection, writer); + writer.WriteString(">"); + } + + private void WriteGenericTemplateConstraints(XPathNavigator reflection, SyntaxWriter writer) + { + + XPathNodeIterator templates = reflection.Select(apiTemplatesExpression); + + if (templates.Count == 0) return; + + foreach (XPathNavigator template in templates) + { + + bool constrained = (bool)template.Evaluate(templateIsConstrainedExpression); + if (constrained) + { + string name = (string)template.Evaluate(templateNameExpression); + + writer.WriteString(" "); + writer.WriteKeyword("when"); + writer.WriteString(" '"); + writer.WriteString(name); + writer.WriteString(" : "); + } + else + { + continue; + } + + bool value = (bool)template.Evaluate(templateIsValueTypeExpression); + bool reference = (bool)template.Evaluate(templateIsReferenceTypeExpression); + bool constructor = (bool)template.Evaluate(templateIsConstructableExpression); + XPathNodeIterator constraints = template.Select(templateConstraintsExpression); + + // keep track of whether there is a previous constraint, so we know whether to put a comma + bool previous = false; + + if (value) + { + if (previous) writer.WriteString(", "); + writer.WriteKeyword("struct"); + previous = true; + } + + if (reference) + { + if (previous) writer.WriteString(", "); + writer.WriteKeyword("not struct"); + previous = true; + } + + if (constructor) + { + if (previous) writer.WriteString(", "); + writer.WriteKeyword("new"); + writer.WriteString("()"); + previous = true; + } + + foreach (XPathNavigator constraint in constraints) + { + if (previous) writer.WriteString(" and "); + WriteTypeReference(constraint, writer); + previous = true; + } + + } + + } + + // Parameters + + private void WriteParameters(XPathNavigator reflection, SyntaxWriter writer) + { + + XPathNodeIterator parameters = reflection.Select(apiParametersExpression); + + if (parameters.Count > 0) + { + WriteParameters(parameters, reflection, writer); + } + else + { + writer.WriteKeyword("unit"); + writer.WriteString(" "); + } + return; + } + + + + private void WriteParameters(XPathNodeIterator parameters, XPathNavigator reflection, SyntaxWriter writer) + { + + bool isExtension = (bool)reflection.Evaluate(apiIsExtensionMethod); + writer.WriteLine(); + + + while (parameters.MoveNext()) + { + XPathNavigator parameter = parameters.Current; + + string name = (string)parameter.Evaluate(parameterNameExpression); + bool isOut = (bool)parameter.Evaluate(parameterIsOutExpression); + bool isRef = (bool)parameter.Evaluate(parameterIsRefExpression); + XPathNavigator type = parameter.SelectSingleNode(parameterTypeExpression); + writer.WriteString(" "); + writer.WriteParameter(name); + writer.WriteString(":"); + WriteTypeReference(type, writer); + if (isOut || isRef) + { + writer.WriteString(" "); + writer.WriteKeyword("byref"); + } + if (parameters.CurrentPosition != parameters.Count) + { + writer.WriteString(" * "); + writer.WriteLine(); + } + else + { + writer.WriteString(" "); + } + } + + } + + // Return Value + + private void WriteReturnValue(XPathNavigator reflection, SyntaxWriter writer) + { + + XPathNavigator type = reflection.SelectSingleNode(apiReturnTypeExpression); + + if (type == null) + { + writer.WriteKeyword("unit"); + } + else + { + WriteTypeReference(type, writer); + } + } + + // References + + private void WriteTypeReference(XPathNavigator reference, SyntaxWriter writer) + { + switch (reference.LocalName) + { + case "arrayOf": + int rank = Convert.ToInt32(reference.GetAttribute("rank", String.Empty)); + XPathNavigator element = reference.SelectSingleNode(typeExpression); + WriteTypeReference(element, writer); + writer.WriteString("["); + for (int i = 1; i < rank; i++) { writer.WriteString(","); } + writer.WriteString("]"); + break; + case "pointerTo": + XPathNavigator pointee = reference.SelectSingleNode(typeExpression); + writer.WriteKeyword("nativeptr"); + writer.WriteString("<"); + WriteTypeReference(pointee, writer); + writer.WriteString(">"); + break; + case "referenceTo": + XPathNavigator referee = reference.SelectSingleNode(typeExpression); + WriteTypeReference(referee, writer); + break; + case "type": + string id = reference.GetAttribute("api", String.Empty); + WriteNormalTypeReference(id, writer); + XPathNodeIterator typeModifiers = reference.Select(typeModifiersExpression); + while (typeModifiers.MoveNext()) + { + WriteTypeReference(typeModifiers.Current, writer); + } + break; + case "template": + string name = reference.GetAttribute("name", String.Empty); + writer.WriteString("'"); + writer.WriteString(name); + XPathNodeIterator modifiers = reference.Select(typeModifiersExpression); + while (modifiers.MoveNext()) + { + WriteTypeReference(modifiers.Current, writer); + } + break; + case "specialization": + writer.WriteString("<"); + XPathNodeIterator arguments = reference.Select(specializationArgumentsExpression); + while (arguments.MoveNext()) + { + if (arguments.CurrentPosition > 1) writer.WriteString(", "); + WriteTypeReference(arguments.Current, writer); + } + writer.WriteString(">"); + break; + } + } + + // DONE + private void WriteNormalTypeReference(string api, SyntaxWriter writer) + { + switch (api) + { + case "T:System.Void": + writer.WriteReferenceLink(api, "unit"); + break; + case "T:System.String": + writer.WriteReferenceLink(api, "string"); + break; + case "T:System.Boolean": + writer.WriteReferenceLink(api, "bool"); + break; + case "T:System.Byte": + writer.WriteReferenceLink(api, "byte"); + break; + case "T:System.SByte": + writer.WriteReferenceLink(api, "sbyte"); + break; + case "T:System.Char": + writer.WriteReferenceLink(api, "char"); + break; + case "T:System.Int16": + writer.WriteReferenceLink(api, "int16"); + break; + case "T:System.Int32": + writer.WriteReferenceLink(api, "int"); + break; + case "T:System.Int64": + writer.WriteReferenceLink(api, "int64"); + break; + case "T:System.UInt16": + writer.WriteReferenceLink(api, "uint16"); + break; + case "T:System.UInt32": + writer.WriteReferenceLink(api, "uint32"); + break; + case "T:System.UInt64": + writer.WriteReferenceLink(api, "uint64"); + break; + case "T:System.Single": + writer.WriteReferenceLink(api, "float32"); + break; + case "T:System.Double": + writer.WriteReferenceLink(api, "float"); + break; + case "T:System.Decimal": + writer.WriteReferenceLink(api, "decimal"); + break; + default: + writer.WriteReferenceLink(api); + break; + } + } + + + } + +} diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/GlobalSuppressions.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/GlobalSuppressions.cs new file mode 100644 index 0000000..e8a0676 --- /dev/null +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/GlobalSuppressions.cs @@ -0,0 +1,301 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ddue", Scope = "namespace", Target = "Microsoft.Ddue.Tools")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#containingNamespaceExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#containingTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#declaringTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#eventHandlerTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#groupExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#nameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#propertyIsSettable")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#propertyTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#subgroupExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#typeIsWebControl")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#propertyIsInnerProperty")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.AspNetSyntaxGenerator.#WebControlPrefix(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722:IdentifiersShouldNotHaveIncorrectPrefix", Scope = "type", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WriteAttribute(System.String,System.Boolean,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WriteMemberReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "isExplicit", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WriteNormalMethodSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WriteNormalTypeReference(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WriteOperatorSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WritePostfixProcedureModifiers(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WritePrefixProcedureModifiers(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "typeSubgroup", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WritePropertySyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#LoadConfiguration(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#WriteSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#WriteXamlXmlnsUri(System.String,System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WriteValue(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator.#WriteValue(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator.#WriteValue(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator.#WriteValue(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WriteTypeReference(System.Xml.XPath.XPathNavigator,System.Boolean,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator.#WriteTypeReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.DeclarationSyntaxGeneratorTemplate.#GetTemplateParameterName(System.String,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator.#WriteTypeReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator.#WriteTypeReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#WriteTypeReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator.#WriteTypeReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator.#WriteTypeReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#WriteTypeReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Int32.ToString", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WriteTypeReference(System.Xml.XPath.XPathNavigator,System.Boolean,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.DeclarationSyntaxGeneratorTemplate.#GetTemplateParameterName(System.String,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#ReadFullContainingTypeName(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#ReadFullTypeName(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#WriteAttachedPropertySyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#WriteAttachedEventSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#ParseDocument(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.StartsWith(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.DeclarationSyntaxGeneratorTemplate.#GetTemplateParameterName(System.String,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#CreateCamelCaseName(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.StartsWith(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#WriteNormalTypeReference(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "parentIs", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_parentIsExcludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "parentIs", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_parentIsExcludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "SubClass", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_excludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "SubClass", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_parentIsExcludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "SubClass", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_parentIsExcludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Constructable", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#templateIsConstructableExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_noDefaultCtorWithTypeConverter")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_noDefaultCtor")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Param", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#parameterIsParamArrayExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Seperate", Scope = "member", Target = "Microsoft.Ddue.Tools.DeclarationSyntaxGeneratorTemplate.#SeperateTypes(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Subsubgroup", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiSubsubgroupExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "typelist", Scope = "member", Target = "Microsoft.Ddue.Tools.DeclarationSyntaxGeneratorTemplate.#SeperateTypes(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_abstract")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_excludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_noDefaultCtor")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_noDefaultCtorWithTypeConverter")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_abstract")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_nonXaml")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_nonXamlParent")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_notPublic")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_noXamlSyntaxForInterfaceMembers")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_parentIsExcludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_abstract")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_abstractType")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_nonXaml")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_nonXamlParent")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_notPublic")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_noXamlSyntaxForInterfaceMembers")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_parentIsExcludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_readOnly")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#structXamlSyntax_attributeUsage")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#structXamlSyntax_nonXaml")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1708:IdentifiersShouldDifferByMoreThanCase", Scope = "type", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "abstract", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_abstract")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "abstract", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_abstract")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "abstract", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_abstract")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "abstract", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_abstractType")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "attribute", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#structXamlSyntax_attributeUsage")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "class", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_abstract")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "class", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_excludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "class", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_noDefaultCtor")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "class", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_noDefaultCtorWithTypeConverter")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "constructor", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#constructorOverviewXamlSyntax")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "delegate", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#delegateOverviewXamlSyntax")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "enumeration", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#enumerationOverviewXamlSyntax")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "event", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_abstract")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "event", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_nonXaml")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "event", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_nonXamlParent")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "event", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_notPublic")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "event", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_noXamlSyntaxForInterfaceMembers")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "event", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_parentIsExcludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "excluded", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_excludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "field", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#fieldOverviewXamlSyntax")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ID", Scope = "type", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ID", Scope = "type", Target = "Microsoft.Ddue.Tools.XamlHeadingID")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "interface", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#interfaceOverviewXamlSyntax")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "method", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#methodOverviewXamlSyntax")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "no", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_noDefaultCtor")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "no", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#classXamlSyntax_noDefaultCtorWithTypeConverter")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "no", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_noXamlSyntaxForInterfaceMembers")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "no", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_noXamlSyntaxForInterfaceMembers")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "non", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_nonXaml")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "non", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_nonXamlParent")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "non", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#nonXamlAssemblyBoilerplate")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "non", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_nonXaml")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "non", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_nonXamlParent")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "non", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#structXamlSyntax_nonXaml")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "not", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_notPublic")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "not", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_notPublic")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "parent", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#eventXamlSyntax_parentIsExcludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "parent", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_parentIsExcludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "property", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_abstract")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "property", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_abstractType")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "property", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_nonXaml")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "property", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_nonXamlParent")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "property", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_notPublic")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "property", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_noXamlSyntaxForInterfaceMembers")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "property", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_parentIsExcludedSubClass")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "property", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_readOnly")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "read", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#propertyXamlSyntax_readOnly")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "struct", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#structXamlSyntax_attributeUsage")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "struct", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlBoilerplateID.#structXamlSyntax_nonXaml")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "xaml", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlHeadingID.#xamlAttributeUsageHeading")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "xaml", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlHeadingID.#xamlContentElementUsageHeading")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "xaml", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlHeadingID.#xamlObjectElementUsageHeading")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "xaml", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlHeadingID.#xamlPropertyElementUsageHeading")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "xaml", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlHeadingID.#xamlSyntaxBoilerplateHeading")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WriteVisibility(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator.#WriteAttribute(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator.#WriteMemberReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator.#WriteNormalTypeReference(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator.#WriteGenericTemplates(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator.#WriteVisibility(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator.#WriteAttributeList(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator.#WriteAccessModifier(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#excludedAncestorList")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator.#WriteOperatorSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "isIn", Scope = "member", Target = "Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator.#WriteParameters(System.Xml.XPath.XPathNodeIterator,System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "reflection", Scope = "member", Target = "Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator.#WriteAttributeList(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "writer", Scope = "member", Target = "Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator.#WriteAttributeList(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "isSerialized", Scope = "member", Target = "Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator.#WriteFieldSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator.#WriteNormalTypeReference(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator.#WriteAttribute(System.String,Microsoft.Ddue.Tools.SyntaxWriter,System.Boolean)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator.#WriteNamedNormalMethodSyntax(System.String,System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator.#WriteNamedNormalMethodSyntax(System.String,System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "name", Scope = "member", Target = "Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator.#WriteNamedNormalMethodSyntax(System.String,System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "reflection", Scope = "member", Target = "Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator.#WriteNamedNormalMethodSyntax(System.String,System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "writer", Scope = "member", Target = "Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator.#WriteNamedNormalMethodSyntax(System.String,System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator.#WriteNormalTypeReference(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "reflection", Scope = "member", Target = "Microsoft.Ddue.Tools.JSharpDeclarationSyntaxGenerator.#WriteParameters(System.Xml.XPath.XPathNodeIterator,System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#HasAttribute(System.Xml.XPath.XPathNavigator,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#ReadContainingTypeName(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#ReadNamespaceName(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#WriteIndentedNewLine(Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#WriteNormalTypeReference(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#WriteParameter(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#ReadTypeName(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "reference", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#WriteParameter(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "reference", Scope = "member", Target = "Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator.#WritePropertySyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiAncestorsExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiAttributesExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiBaseClassExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiContainingAssemblyExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiContainingNamespaceIdExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiContainingNamespaceNameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiContainingTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiContainingTypeNameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiContainingTypeSubgroupExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiGetVisibilityExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiGroupExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiHandlerOfEventExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiImplementedInterfacesExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiImplementedMembersExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsAbstractProcedureExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsAbstractTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsDefaultMemberExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsExplicitImplementationExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsExtensionMethod")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsFamilyMemberExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsFinalExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsGenericExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsInitOnlyFieldExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsLiteralFieldExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsOverrideExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsReadPropertyExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsSealedTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsSerializableTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsSerializedFieldExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsSpecialExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsStaticExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsUnsafeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsVirtualExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsVolatileFieldExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiIsWritePropertyExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiNameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiOverridesMemberExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiParametersExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiReturnTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiSetVisibilityExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiSubgroupExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiSubsubgroupExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiTemplatesExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiVisibilityExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiVisibilityOfMemberExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiVisibilityOfTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#assignmentNameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#attachedEventAdderExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#attachedEventRemoverExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#attachedPropertyGetterExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#attachedPropertySetterExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#attributeArgumentsExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#attributeAssignmentsExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#attributeTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#maxPosition")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#memberDeclaringTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#nameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#parameterIsInExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#parameterIsOutExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#parameterIsParamArrayExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#parameterIsRefExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#parameterNameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#parameterTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#specializationArgumentsExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#templateConstraintsExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#templateIsConstrainedExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#templateIsConstructableExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#templateIsReferenceTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#templateIsValueTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#templateNameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#typeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#typeIdExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#typeIsObjectExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#typeModifiersExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#typeOuterTypeExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#valueExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator.#WriteAttribute(System.String,System.Boolean,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator.#WriteNormalTypeReference(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator.#WriteMemberReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator.#WriteOperatorSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "isIn", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator.#WriteParameters(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator.#WriteVisibility(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator.#.cctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator.#WriteGenericTemplates(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator.#WriteNormalTypeReference(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator.#WriteMemberReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator.#WriteOperatorSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator.#WriteParameters(System.Xml.XPath.XPathNodeIterator,System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "reflection", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator.#WriteParameters(System.Xml.XPath.XPathNodeIterator,System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#contentPropertyNameExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#excludedAncestorList")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#IsPrimitiveType(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1820:TestForEmptyStringsUsingStringLength", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#ObjectElementUsageForClassStruct(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "isSerializable", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#WriteClassSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "name", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#WriteClassSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#WriteNormalTypeReference(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "name", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#WriteStructureSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "propertyName", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlUsageSyntaxGenerator.#WritePropertySyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator.#WriteVisibility(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator.#WriteGenericTemplates(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter,System.Boolean)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.FSharpDeclarationSyntaxGenerator.#WriteAttribute(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "isStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.FSharpDeclarationSyntaxGenerator.#WriteConstructorSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "isLiteral", Scope = "member", Target = "Microsoft.Ddue.Tools.FSharpDeclarationSyntaxGenerator.#WriteFieldSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.FSharpDeclarationSyntaxGenerator.#WriteMemberKeyword(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "isOverride", Scope = "member", Target = "Microsoft.Ddue.Tools.FSharpDeclarationSyntaxGenerator.#WriteNormalMethodSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.FSharpDeclarationSyntaxGenerator.#WriteNormalTypeReference(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.FSharpDeclarationSyntaxGenerator.#WriteOperatorSyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "isExtension", Scope = "member", Target = "Microsoft.Ddue.Tools.FSharpDeclarationSyntaxGenerator.#WriteParameters(System.Xml.XPath.XPathNodeIterator,System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "isGettable", Scope = "member", Target = "Microsoft.Ddue.Tools.FSharpDeclarationSyntaxGenerator.#WritePropertySyntax(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.FSharpDeclarationSyntaxGenerator.#WriteTypeReference(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.FSharpDeclarationSyntaxGenerator.#WriteValue(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#apiEventArgsExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#templateIsContravariantExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible", Scope = "member", Target = "Microsoft.Ddue.Tools.SyntaxGeneratorTemplate.#templateIsCovariantExpression")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator.#WriteVisibility(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator.#WriteGenericTemplates(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.VisualBasicUsageSyntaxGenerator.#WriteGenericTemplates(System.Xml.XPath.XPathNavigator,Microsoft.Ddue.Tools.SyntaxWriter,System.Boolean)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.JScriptDeclarationSyntaxGenerator.#WriteVisibility(System.String,Microsoft.Ddue.Tools.SyntaxWriter)")] diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/JScriptDeclarationSyntax.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/JScriptDeclarationSyntax.cs index 543936c..27ac11d 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/JScriptDeclarationSyntax.cs +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/JScriptDeclarationSyntax.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Xml.XPath; @@ -9,7 +12,7 @@ namespace Microsoft.Ddue.Tools { public class JScriptDeclarationSyntaxGenerator : SyntaxGeneratorTemplate { public JScriptDeclarationSyntaxGenerator (XPathNavigator configuration) : base(configuration) { - if (String.IsNullOrEmpty(language)) language = "JScript"; + if (String.IsNullOrEmpty(Language)) Language = "JScript"; } public override void WriteNamespaceSyntax (XPathNavigator reflection, SyntaxWriter writer) { @@ -130,6 +133,14 @@ namespace Microsoft.Ddue.Tools { if (isGettable) { WriteAttributeList(reflection, writer); + + string getVisibility = (string)reflection.Evaluate(apiGetVisibilityExpression); + if (!String.IsNullOrEmpty(getVisibility)) + { + WriteVisibility(getVisibility, writer); + writer.WriteString(" "); + } + WriteProcedureModifiers(reflection, writer); writer.WriteKeyword("function get"); writer.WriteString(" "); @@ -141,6 +152,14 @@ namespace Microsoft.Ddue.Tools { if (isSettable) { WriteAttributeList(reflection, writer); + + string setVisibility = (string)reflection.Evaluate(apiSetVisibilityExpression); + if (!String.IsNullOrEmpty(setVisibility)) + { + WriteVisibility(setVisibility, writer); + writer.WriteString(" "); + } + WriteProcedureModifiers(reflection, writer); writer.WriteKeyword("function set"); writer.WriteString(" "); @@ -232,7 +251,10 @@ namespace Microsoft.Ddue.Tools { string typeSubgroup = (string)reflection.Evaluate(apiContainingTypeSubgroupExpression); if (typeSubgroup == "interface") return; - WriteAccessModifier(reflection, writer); + string subgroup = (string)reflection.Evaluate(apiSubgroupExpression); + if (subgroup != "property") { + WriteAccessModifier(reflection, writer); + } // instance or virtual, static or abstract, etc. bool isStatic = (bool)reflection.Evaluate(apiIsStaticExpression); @@ -309,7 +331,7 @@ namespace Microsoft.Ddue.Tools { writer.WriteKeyword("protected"); break; case "family or assembly": - writer.WriteKeyword("protected internal"); + // this isn't handled in JScript break; case "assembly": writer.WriteKeyword("internal"); @@ -424,5 +446,30 @@ namespace Microsoft.Ddue.Tools { // fill in this logic } + private void WriteVisibility(string visibility, SyntaxWriter writer) { + + switch (visibility) { + case "public": + writer.WriteKeyword("public"); + break; + case "family": + writer.WriteKeyword("protected"); + break; + case "family or assembly": + // this isn't handled in JScript + break; + case "assembly": + writer.WriteKeyword("internal"); + break; + case "private": + writer.WriteKeyword("private"); + break; + case "family and assembly": + // this isn't handled in JScript + break; + } + + } + } } diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/JSharpDeclarationSyntax.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/JSharpDeclarationSyntax.cs index d1f3aa1..c6e3b0d 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/JSharpDeclarationSyntax.cs +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/JSharpDeclarationSyntax.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Xml.XPath; @@ -10,7 +13,7 @@ namespace Microsoft.Ddue.Tools { public class JSharpDeclarationSyntaxGenerator : DeclarationSyntaxGeneratorTemplate { public JSharpDeclarationSyntaxGenerator (XPathNavigator configuration) : base(configuration) { - if (String.IsNullOrEmpty(language)) language = "JSharp"; + if (String.IsNullOrEmpty(Language)) Language = "JSharp"; } // private static string unsupportedGeneric = "UnsupportedGeneric_JSharp"; @@ -171,7 +174,7 @@ namespace Microsoft.Ddue.Tools { } } - private void WriteNormalMethodSyntax (XPathNavigator reflection, SyntaxWriter writer) { + public override void WriteNormalMethodSyntax (XPathNavigator reflection, SyntaxWriter writer) { if (IsUnsupportedUnsafe(reflection, writer)) return; if (IsUnsupportedGeneric(reflection, writer)) return; diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/Microsoft.Ddue.Tools.BuildComponents.SyntaxGenerators.asmmeta b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/Microsoft.Ddue.Tools.BuildComponents.SyntaxGenerators.asmmeta deleted file mode 100644 index f738af6..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/Microsoft.Ddue.Tools.BuildComponents.SyntaxGenerators.asmmeta +++ /dev/null @@ -1,421 +0,0 @@ -.assembly extern Microsoft.Ddue.Tools.BuildComponents -{ - .publickeytoken = (4D DC 2B E8 53 17 C2 74) -} -.assembly extern System.Xml -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly Microsoft.Ddue.Tools.BuildComponents.SyntaxGenerators -{ - .publickey = (00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 EF 09 EE D7 93 0B 34 BA 88 83 E7 DB 9F 08 F5 DF A0 D9 F1 7A 97 8E 98 F3 99 03 36 B2 2A 75 D6 BB 2C 25 90 6C 4F 4E 5D 42 60 00 A9 22 00 A9 CE FE 3F 5E C4 22 BA 1E FF 47 7D C4 14 E7 52 C3 30 07 1C 66 1C 58 3F 28 48 0C 03 35 94 CE 5F A5 FC 44 94 D2 A4 42 95 E5 A3 3E AD B2 FD FF 45 13 77 FD BE 62 48 38 EF 02 BF 22 54 00 56 5D DB DA 10 D8 7E 77 F9 7F 9F 20 60 11 4B 49 3A 4D 62 FE C3 C3) - .hash algorithm 0x00008004 -} -.namespace Microsoft.Ddue.Tools -{ - .class public CPlusPlusDeclarationSyntaxGenerator - extends Microsoft.Ddue.Tools.DeclarationSyntaxGeneratorTemplate - { - .method public virtual hidebysig specialname - instance string get_Language() - { - ret - } - .method public virtual hidebysig - instance void WriteNamespaceSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteClassSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteStructureSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteInterfaceSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteDelegateSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteEnumerationSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteConstructorSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteMethodSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WritePropertySyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteEventSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteFieldSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method family virtual hidebysig - instance void WriteVisibility(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method family virtual hidebysig - instance void WriteGenericTemplates(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance string Language() - { - .get instance string Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator::get_Language() - } - } - .class public CSharpDeclarationSyntaxGenerator - extends Microsoft.Ddue.Tools.DeclarationSyntaxGeneratorTemplate - { - .method public virtual hidebysig specialname - instance string get_Language() - { - ret - } - .method public virtual hidebysig - instance void WriteNamespaceSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteClassSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteStructureSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteInterfaceSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteDelegateSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteEnumerationSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteConstructorSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteMethodSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WritePropertySyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteEventSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteFieldSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method family virtual hidebysig - instance void WriteVisibility(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method family virtual hidebysig - instance void WriteGenericTemplates(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance string Language() - { - .get instance string Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator::get_Language() - } - } - .class public abstract DeclarationSyntaxGeneratorTemplate - extends Microsoft.Ddue.Tools.SyntaxGeneratorTemplate - { - .method family virtual hidebysig newslot abstract - instance void WriteVisibility(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method family virtual hidebysig newslot abstract - instance void WriteGenericTemplates(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method family static hidebysig - string[] SeperateTypes(string typelist) - { - ret - } - .method family static hidebysig - string GetTemplateParameterName(string reference, class [System.Xml]System.Xml.XPath.XPathNavigator reflection) - { - ret - } - .method family hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public abstract SyntaxGeneratorTemplate - extends [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxGenerator - { - .method public virtual hidebysig newslot abstract specialname - instance string get_Language() - { - } - .method public virtual hidebysig - instance void WriteSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig newslot - instance void WriteTypeSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig newslot - instance void WriteMemberSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig newslot abstract - instance void WriteNamespaceSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteClassSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteStructureSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteInterfaceSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteDelegateSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteEnumerationSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteConstructorSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteMethodSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method public virtual hidebysig newslot abstract - instance void WritePropertySyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteFieldSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method public virtual hidebysig newslot abstract - instance void WriteEventSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - } - .method family hidebysig specialname - instance void .ctor() - { - ret - } - .field static family class [System.Xml]System.Xml.XPath.XPathExpression abstract_procedure_expression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiAttributesExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiBaseClassExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiContainingTypeNameExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiContainingTypeSubgroupExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiGroupExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiHandlerOfEventExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiImplementedInterfacesExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiImplementedMembersExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsAbstractTypeExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsExplicitImplementationExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsInitOnlyFieldExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsLiteralFieldExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsOverrideExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsReadPropertyExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsSealedTypeExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsSerializableTypeExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsSerializedFieldExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsSpecialExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsStaticExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsVolatileFieldExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiIsWritePropertyExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiNameExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiOverridesMemberExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiParametersExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiReturnTypeExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiSubgroupExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiTemplatesExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiVisibilityExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiVisibilityOfMemberExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression apiVisibilityOfTypeExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression assignmentNameExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression attributeArgumentsExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression attributeAssignmentsExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression attributeTypeExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression final_expression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression memberDeclaringTypeExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression nameExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression parameterIsInExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression parameterIsOutExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression parameterIsParamArrayExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression parameterIsRefExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression parameterNameExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression parameterTypeExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression templateNameExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression typeExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression typeIdExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression typeIsObjectExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression typeModifiersExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression typeOuterTypeExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression valueExpression - .field static family class [System.Xml]System.Xml.XPath.XPathExpression virtual_expression - .property instance string Language() - { - .get instance string Microsoft.Ddue.Tools.SyntaxGeneratorTemplate::get_Language() - } - } - .class public VisualBasicDeclarationSyntaxGenerator - extends Microsoft.Ddue.Tools.DeclarationSyntaxGeneratorTemplate - { - .method public virtual hidebysig specialname - instance string get_Language() - { - ret - } - .method public virtual hidebysig - instance void WriteNamespaceSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteClassSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteStructureSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteInterfaceSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteDelegateSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteEnumerationSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteConstructorSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteMethodSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WritePropertySyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteEventSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public virtual hidebysig - instance void WriteFieldSyntax(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method family virtual hidebysig - instance void WriteVisibility(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method family virtual hidebysig - instance void WriteGenericTemplates(class [System.Xml]System.Xml.XPath.XPathNavigator reflection, class [Microsoft.Ddue.Tools.BuildComponents]Microsoft.Ddue.Tools.SyntaxWriter writer) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance string Language() - { - .get instance string Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator::get_Language() - } - } -} - diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/Properties/AssemblyInfo.cs index dc43d72..b425318 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/Properties/AssemblyInfo.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -16,6 +19,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: System.CLSCompliant(true)] + // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -33,5 +38,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/ScriptSharpDeclarationSyntax.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/ScriptSharpDeclarationSyntax.cs index e0f3c07..6958df6 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/ScriptSharpDeclarationSyntax.cs +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/ScriptSharpDeclarationSyntax.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Xml.XPath; using System.Globalization; @@ -18,7 +21,7 @@ namespace Microsoft.Ddue.Tools { /// </summary> /// <param name="configuration"></param> public ScriptSharpDeclarationSyntaxGenerator(XPathNavigator configuration) : base(configuration) { - if (String.IsNullOrEmpty(language)) language = "JavaScript"; + if (String.IsNullOrEmpty(Language)) Language = "JavaScript"; } /// <summary> diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/SyntaxComponents.csproj b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/SyntaxComponents.csproj index 7453b3b..e6d8ad0 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/SyntaxComponents.csproj +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/SyntaxComponents.csproj @@ -66,12 +66,15 @@ <Reference Include="System" /> <Reference Include="System.configuration" /> <Reference Include="System.Data" /> + <Reference Include="System.Web.Services" /> <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> <Compile Include="AspNetSyntax.cs" /> <Compile Include="CPlusPlusDeclarationSyntax.cs" /> <Compile Include="CSharpDeclarationSyntax.cs" /> + <Compile Include="FSharpDeclarationSyntax.cs" /> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="JScriptDeclarationSyntax.cs" /> <Compile Include="JSharpDeclarationSyntax.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> @@ -82,6 +85,10 @@ <Compile Include="XamlUsageSyntax.cs" /> </ItemGroup> <ItemGroup> + <ProjectReference Include="..\BuildAssemblerLibrary\BuildAssemblerLibrary.csproj"> + <Project>{399E78F8-4954-409E-991A-37DA9D0579CC}</Project> + <Name>BuildAssemblerLibrary</Name> + </ProjectReference> <ProjectReference Include="..\BuildComponents\BuildComponents.csproj"> <Project>{30773718-BC7C-4FCC-A9C2-7EE61DF4EC41}</Project> <Name>BuildComponents</Name> diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/SyntaxComponents.csproj.vspscc b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/SyntaxComponents.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/SyntaxComponents.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/SyntaxGenerators.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/SyntaxGenerators.cs index dca7514..8f9f2c9 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/SyntaxGenerators.cs +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/SyntaxGenerators.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Xml.XPath; @@ -22,12 +25,15 @@ namespace Microsoft.Ddue.Tools { // The language itentifier - protected string language; + private string language; - public virtual string Language { + public string Language { get { return (language); } + protected set { + language = value; + } } // Where data is stored @@ -95,6 +101,7 @@ namespace Microsoft.Ddue.Tools { // event data protected static XPathExpression apiHandlerOfEventExpression = XPathExpression.Compile("eventhandler/*[1]"); + protected static XPathExpression apiEventArgsExpression = XPathExpression.Compile("eventargs/*[1]"); // parameter data //protected static XPathExpression params_expression = XPathExpression.Compile("boolean(@params='true')"); @@ -139,7 +146,9 @@ namespace Microsoft.Ddue.Tools { protected static XPathExpression templateIsValueTypeExpression = XPathExpression.Compile("boolean(constrained/@value='true')"); protected static XPathExpression templateIsReferenceTypeExpression = XPathExpression.Compile("boolean(constrained/@ref='true')"); protected static XPathExpression templateIsConstructableExpression = XPathExpression.Compile("boolean(constrained/@ctor='true')"); - protected static XPathExpression templateConstraintsExpression = XPathExpression.Compile("constrained/type | constrained/implements/type"); + protected static XPathExpression templateConstraintsExpression = XPathExpression.Compile("constrained/type | constrained/implements/type | constrained/implements/template"); + protected static XPathExpression templateIsCovariantExpression = XPathExpression.Compile("boolean(variance/@covariant='true')"); + protected static XPathExpression templateIsContravariantExpression = XPathExpression.Compile("boolean(variance/@contravariant='true')"); protected static XPathExpression attachedEventAdderExpression = XPathExpression.Compile("string(attachedeventdata/adder/member/@api)"); protected static XPathExpression attachedEventRemoverExpression = XPathExpression.Compile("string(attachedeventdata/remover/member/@api)"); diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/VisualBasicDeclarationSyntax.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/VisualBasicDeclarationSyntax.cs index 34ece60..e90ab1a 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/VisualBasicDeclarationSyntax.cs +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/VisualBasicDeclarationSyntax.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Xml.XPath; @@ -9,7 +12,7 @@ namespace Microsoft.Ddue.Tools { public class VisualBasicDeclarationSyntaxGenerator : SyntaxGeneratorTemplate { public VisualBasicDeclarationSyntaxGenerator (XPathNavigator configuration) : base(configuration) { - if (String.IsNullOrEmpty(language)) language = "VisualBasic"; + if (String.IsNullOrEmpty(Language)) Language = "VisualBasic"; } // namespace: done @@ -83,7 +86,7 @@ namespace Microsoft.Ddue.Tools { writer.WriteKeyword("Interface"); writer.WriteString(" "); writer.WriteIdentifier(name); - WriteGenericTemplates(reflection, writer); + WriteGenericTemplates(reflection, writer, true); // Need to write variance info for interfaces and delegates WriteImplementedInterfaces(reflection, writer); } @@ -109,7 +112,7 @@ namespace Microsoft.Ddue.Tools { } writer.WriteString(" "); writer.WriteIdentifier(name); - WriteGenericTemplates(reflection, writer); + WriteGenericTemplates(reflection, writer, true); // Need to write variance info for interfaces and delegates WriteParameters(reflection, writer); if (type != null) { writer.WriteString(" "); @@ -388,6 +391,31 @@ namespace Microsoft.Ddue.Tools { //writer.WriteReferenceLink(id); } } + + if (getter) + { + writer.WriteLine(); + writer.WriteString("\t"); + string getVisibility = (string)reflection.Evaluate(apiGetVisibilityExpression); + if (!String.IsNullOrEmpty(getVisibility)) + { + WriteVisibility(getVisibility, writer); + writer.WriteString(" "); + } + writer.WriteKeyword("Get"); + } + if (setter) + { + writer.WriteLine(); + writer.WriteString("\t"); + string setVisibility = (string)reflection.Evaluate(apiSetVisibilityExpression); + if (!String.IsNullOrEmpty(setVisibility)) + { + WriteVisibility(setVisibility, writer); + writer.WriteString(" "); + } + writer.WriteKeyword("Set"); + } } @@ -508,11 +536,14 @@ namespace Microsoft.Ddue.Tools { } // Visibility + private void WriteVisibility(XPathNavigator reflection, SyntaxWriter writer) { - private void WriteVisibility (XPathNavigator reflection, SyntaxWriter writer) { - - string visibility = (string) reflection.Evaluate(apiVisibilityExpression); + string visibility = (string)reflection.Evaluate(apiVisibilityExpression); + WriteVisibility(visibility, writer); + } + private void WriteVisibility (string visibility, SyntaxWriter writer) { + switch (visibility) { case "public": writer.WriteKeyword("Public"); @@ -689,8 +720,12 @@ namespace Microsoft.Ddue.Tools { writer.WriteString(" _"); writer.WriteLine(); writer.WriteString("\t"); - writer.WriteKeyword("Implements"); - writer.WriteString(" "); + string subgroup = (string)reflection.Evaluate(apiSubgroupExpression); + if (subgroup == "interface") + writer.WriteKeyword("Inherits"); + else + writer.WriteKeyword("Implements"); + writer.WriteString(" "); while (implements.MoveNext()) { XPathNavigator implement = implements.Current; if (implements.CurrentPosition > 1) { @@ -708,7 +743,12 @@ namespace Microsoft.Ddue.Tools { // Generics - private void WriteGenericTemplates (XPathNavigator reflection, SyntaxWriter writer) { + private void WriteGenericTemplates(XPathNavigator reflection, SyntaxWriter writer) + { + WriteGenericTemplates(reflection, writer, false); + } + + private void WriteGenericTemplates (XPathNavigator reflection, SyntaxWriter writer, bool writeVariance) { XPathNodeIterator templates = reflection.Select(apiTemplatesExpression); @@ -719,6 +759,24 @@ namespace Microsoft.Ddue.Tools { while (templates.MoveNext()) { XPathNavigator template = templates.Current; if (templates.CurrentPosition > 1) writer.WriteString(", "); + + if (writeVariance) + { + bool contravariant = (bool)template.Evaluate(templateIsContravariantExpression); + bool covariant = (bool)template.Evaluate(templateIsCovariantExpression); + + if (contravariant) + { + writer.WriteKeyword("In"); + writer.WriteString(" "); + } + if (covariant) + { + writer.WriteKeyword("Out"); + writer.WriteString(" "); + } + } + string name = template.GetAttribute("name", String.Empty); writer.WriteString(name); diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/VisualBasicUsageSyntax.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/VisualBasicUsageSyntax.cs index ed96a10..a32faf2 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/VisualBasicUsageSyntax.cs +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/VisualBasicUsageSyntax.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Xml.XPath; @@ -9,7 +12,7 @@ namespace Microsoft.Ddue.Tools { public class VisualBasicUsageSyntaxGenerator : SyntaxGeneratorTemplate { public VisualBasicUsageSyntaxGenerator (XPathNavigator configuration) : base(configuration) { - if (String.IsNullOrEmpty(language)) language = "VisualBasicUsage"; + if (String.IsNullOrEmpty(Language)) Language = "VisualBasicUsage"; } public override void WriteNamespaceSyntax (XPathNavigator reflection, SyntaxWriter writer) { @@ -21,7 +24,12 @@ namespace Microsoft.Ddue.Tools { writer.WriteIdentifier(name); } - private void TypeDeclaration (XPathNavigator reflection, SyntaxWriter writer) { + private void TypeDeclaration(XPathNavigator reflection, SyntaxWriter writer) + { + TypeDeclaration(reflection, writer, false); + } + + private void TypeDeclaration (XPathNavigator reflection, SyntaxWriter writer, bool writeVariance) { string name = (string)reflection.Evaluate(apiNameExpression); XPathNavigator declaringType = reflection.SelectSingleNode(apiContainingTypeExpression); @@ -42,23 +50,47 @@ namespace Microsoft.Ddue.Tools { } else { writer.WriteIdentifier(name); } - WriteGenericTemplates(reflection, writer); + WriteGenericTemplates(reflection, writer, writeVariance); } - private void WriteGenericTemplates (XPathNavigator type, SyntaxWriter writer) { + private void WriteGenericTemplates(XPathNavigator type, SyntaxWriter writer, bool writeVariance) + { XPathNodeIterator templates = type.Select(apiTemplatesExpression); if (templates.Count == 0) return; writer.WriteString("("); writer.WriteKeyword("Of"); writer.WriteString(" "); - while (templates.MoveNext()) { + while (templates.MoveNext()) + { XPathNavigator template = templates.Current; if (templates.CurrentPosition > 1) writer.WriteString(", "); + if (writeVariance) + { + bool contravariant = (bool)template.Evaluate(templateIsContravariantExpression); + bool covariant = (bool)template.Evaluate(templateIsCovariantExpression); + + if (contravariant) + { + writer.WriteKeyword("In"); + writer.WriteString(" "); + } + if (covariant) + { + writer.WriteKeyword("Out"); + writer.WriteString(" "); + } + } + string name = template.GetAttribute("name", String.Empty); writer.WriteString(name); } writer.WriteString(")"); + + } + + private void WriteGenericTemplates (XPathNavigator type, SyntaxWriter writer) { + WriteGenericTemplates(type, writer, false); } private void ParameterDeclaration (string name, XPathNavigator type, SyntaxWriter writer) { @@ -100,7 +132,7 @@ namespace Microsoft.Ddue.Tools { } public override void WriteInterfaceSyntax (XPathNavigator reflection, SyntaxWriter writer) { - TypeDeclaration(reflection, writer); + TypeDeclaration(reflection, writer, true); // Need to write variance info for interfaces and delegates } public override void WriteDelegateSyntax (XPathNavigator reflection, SyntaxWriter writer) { @@ -125,7 +157,7 @@ namespace Microsoft.Ddue.Tools { writer.WriteIdentifier(name); } - WriteGenericTemplates(reflection, writer); + WriteGenericTemplates(reflection, writer, true); // Need to write variance info for interfaces and delegates writer.WriteString("("); writer.WriteKeyword("AddressOf"); writer.WriteString(" HandlerMethod)"); @@ -531,21 +563,31 @@ namespace Microsoft.Ddue.Tools { // get value if (getter) { - writer.WriteLine(); - writer.WriteParameter("value"); - writer.WriteString(" = "); - WriteMemberName(reflection, writer); - WritePropertyParameters(reflection, writer); - writer.WriteLine(); + string getVisibility = (string)reflection.Evaluate(apiGetVisibilityExpression); + if (string.IsNullOrEmpty(getVisibility) || (getVisibility != "assembly" && + getVisibility != "private" && getVisibility != "family and assembly")) + { + writer.WriteLine(); + writer.WriteParameter("value"); + writer.WriteString(" = "); + WriteMemberName(reflection, writer); + WritePropertyParameters(reflection, writer); + writer.WriteLine(); + } } // set value if (setter) { - writer.WriteLine(); - WriteMemberName(reflection, writer); - WritePropertyParameters(reflection, writer); - writer.WriteString(" = "); - writer.WriteParameter("value"); + string setVisibility = (string)reflection.Evaluate(apiSetVisibilityExpression); + if (string.IsNullOrEmpty(setVisibility) || (setVisibility != "assembly" && + setVisibility != "private" && setVisibility != "family and assembly")) + { + writer.WriteLine(); + WriteMemberName(reflection, writer); + WritePropertyParameters(reflection, writer); + writer.WriteString(" = "); + writer.WriteParameter("value"); + } } } diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/XamlUsageSyntax.cs b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/XamlUsageSyntax.cs index 99081c5..5a6b590 100644 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/XamlUsageSyntax.cs +++ b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/XamlUsageSyntax.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.Xml.XPath; @@ -15,7 +18,7 @@ namespace Microsoft.Ddue.Tools : base(configuration) { LoadConfigNode(configuration); - if (String.IsNullOrEmpty(language)) language = "XAML"; + if (String.IsNullOrEmpty(Language)) Language = "XAML"; } public override void WriteSyntax(XPathNavigator reflection, SyntaxWriter writer) diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/makefile b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/makefile deleted file mode 100644 index defc9db..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/makefile +++ /dev/null @@ -1,11 +0,0 @@ - -LIBRARY = ..\BuildComponents\BuildComponents.dll - -COMPONENT_FILES = SyntaxGenerators.cs CSharpDeclarationSyntax.cs VisualBasicDeclarationSyntax.cs CPlusPlusDeclarationSyntax.cs JSharpDeclarationSyntax.cs -COMPONENT_FILES_OLD = SyntaxGenerators.cs CSharpDeclarationSyntax.cs VisualBasicDeclarationSyntax.cs - -all: SyntaxGenerators.dll - -SyntaxGenerators.dll: $(COMPONENT_FILES) $(LIBRARY) - csc /t:library /out:SyntaxGenerators.dll $(COMPONENT_FILES) /r:$(LIBRARY) - copy SyntaxGenerators.dll ..\..\ProductionTools\BuildComponents
\ No newline at end of file diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/makefile.inc b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/makefile.inc deleted file mode 100644 index 32f7350..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/makefile.inc +++ /dev/null @@ -1,2 +0,0 @@ -!INCLUDE $(INETROOT)\build\makefile.inc - diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/makefile.org b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/makefile.org deleted file mode 100644 index d48cffe..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/makefile.org +++ /dev/null @@ -1,11 +0,0 @@ - -LIBRARY = ..\BuildComponents.dll - -COMPONENT_FILES = SyntaxGenerators.cs CSharpDeclarationSyntax.cs VisualBasicDeclarationSyntax.cs CPlusPlusDeclarationSyntax.cs -COMPONENT_FILES_OLD = SyntaxGenerators.cs CSharpDeclarationSyntax.cs VisualBasicDeclarationSyntax.cs - -all: SyntaxGenerators.dll - -SyntaxGenerators.dll: $(COMPONENT_FILES) $(LIBRARY) - csc /t:library /out:SyntaxGenerators.dll $(COMPONENT_FILES) /r:$(LIBRARY) - copy SyntaxGenerators.dll ..\..\..\..\ProductionTools\BuildComponents
\ No newline at end of file diff --git a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/placefile b/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/placefile deleted file mode 100644 index 6d266be..0000000 --- a/tools/Sandcastle/Source/BuildAssembler/SyntaxComponents/placefile +++ /dev/null @@ -1 +0,0 @@ -Microsoft.Ddue.Tools.BuildComponents.SyntaxGenerators.dll Manifold diff --git a/tools/Sandcastle/Source/CCI/AssemblyCache.cs b/tools/Sandcastle/Source/CCI/AssemblyCache.cs index 72d36cb..48c6787 100644 --- a/tools/Sandcastle/Source/CCI/AssemblyCache.cs +++ b/tools/Sandcastle/Source/CCI/AssemblyCache.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + #if !ROTOR using System; using System.Collections; diff --git a/tools/Sandcastle/Source/CCI/CCI.csproj.vspscc b/tools/Sandcastle/Source/CCI/CCI.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/CCI/CCI.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/CCI/DoubleVisitor.cs b/tools/Sandcastle/Source/CCI/DoubleVisitor.cs index 909c625..0e81e51 100644 --- a/tools/Sandcastle/Source/CCI/DoubleVisitor.cs +++ b/tools/Sandcastle/Source/CCI/DoubleVisitor.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + #if !MinimalReader using System; using System.Collections; diff --git a/tools/Sandcastle/Source/CCI/Duplicator.cs b/tools/Sandcastle/Source/CCI/Duplicator.cs index e5fb87d..bd35981 100644 --- a/tools/Sandcastle/Source/CCI/Duplicator.cs +++ b/tools/Sandcastle/Source/CCI/Duplicator.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections; using System.Diagnostics; diff --git a/tools/Sandcastle/Source/CCI/ExceptionStrings.cs b/tools/Sandcastle/Source/CCI/ExceptionStrings.cs index f88af2e..cad0038 100644 --- a/tools/Sandcastle/Source/CCI/ExceptionStrings.cs +++ b/tools/Sandcastle/Source/CCI/ExceptionStrings.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.IO; using System.Resources; diff --git a/tools/Sandcastle/Source/CCI/FastFileIO.cs b/tools/Sandcastle/Source/CCI/FastFileIO.cs index cfcd165..865932c 100644 --- a/tools/Sandcastle/Source/CCI/FastFileIO.cs +++ b/tools/Sandcastle/Source/CCI/FastFileIO.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Diagnostics; #if CCINamespace diff --git a/tools/Sandcastle/Source/CCI/ILGenerator.cs b/tools/Sandcastle/Source/CCI/ILGenerator.cs index d237993..6010762 100644 --- a/tools/Sandcastle/Source/CCI/ILGenerator.cs +++ b/tools/Sandcastle/Source/CCI/ILGenerator.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + #if !NoReflection && !MinimalReader && WHIDBEY using System; using System.Collections.Generic; diff --git a/tools/Sandcastle/Source/CCI/ListTemplate.cs b/tools/Sandcastle/Source/CCI/ListTemplate.cs index f9f22a8..4d18992 100644 --- a/tools/Sandcastle/Source/CCI/ListTemplate.cs +++ b/tools/Sandcastle/Source/CCI/ListTemplate.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + #if !FxCop using System; diff --git a/tools/Sandcastle/Source/CCI/Makefile.org b/tools/Sandcastle/Source/CCI/Makefile.org deleted file mode 100644 index af302e7..0000000 --- a/tools/Sandcastle/Source/CCI/Makefile.org +++ /dev/null @@ -1,6 +0,0 @@ - -all: System.Compiler.dll - -System.Compiler.dll: - csc /t:library /out:System.Compiler.dll /unsafe *.cs /keyfile:..\key.snk - copy System.Compiler.dll ..\..\ProductionTools diff --git a/tools/Sandcastle/Source/CCI/MemoryMappedFile.cs b/tools/Sandcastle/Source/CCI/MemoryMappedFile.cs index ac9558c..3eb86bb 100644 --- a/tools/Sandcastle/Source/CCI/MemoryMappedFile.cs +++ b/tools/Sandcastle/Source/CCI/MemoryMappedFile.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; #if CCINamespace using Microsoft.Cci; diff --git a/tools/Sandcastle/Source/CCI/Metadata.cs b/tools/Sandcastle/Source/CCI/Metadata.cs index ff4cad6..6272d8a 100644 --- a/tools/Sandcastle/Source/CCI/Metadata.cs +++ b/tools/Sandcastle/Source/CCI/Metadata.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; #if FxCop using Win32ResourceList = Microsoft.Cci.Win32ResourceCollection; diff --git a/tools/Sandcastle/Source/CCI/Microsoft.Ddue.Tools.Compiler.asmmeta b/tools/Sandcastle/Source/CCI/Microsoft.Ddue.Tools.Compiler.asmmeta deleted file mode 100644 index 3ff0c21..0000000 --- a/tools/Sandcastle/Source/CCI/Microsoft.Ddue.Tools.Compiler.asmmeta +++ /dev/null @@ -1,15415 +0,0 @@ -.assembly extern System -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly extern System.Xml -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly extern mscorlib -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly Microsoft.Ddue.Tools.Compiler -{ - .publickey = (00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 EF 09 EE D7 93 0B 34 BA 88 83 E7 DB 9F 08 F5 DF A0 D9 F1 7A 97 8E 98 F3 99 03 36 B2 2A 75 D6 BB 2C 25 90 6C 4F 4E 5D 42 60 00 A9 22 00 A9 CE FE 3F 5E C4 22 BA 1E FF 47 7D C4 14 E7 52 C3 30 07 1C 66 1C 58 3F 28 48 0C 03 35 94 CE 5F A5 FC 44 94 D2 A4 42 95 E5 A3 3E AD B2 FD FF 45 13 77 FD BE 62 48 38 EF 02 BF 22 54 00 56 5D DB DA 10 D8 7E 77 F9 7F 9F 20 60 11 4B 49 3A 4D 62 FE C3 C3) - .hash algorithm 0x00008004 -} -.namespace System.Compiler -{ - .class public Acquire - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Expression Condition - .field public class System.Compiler.Expression ConditionFunction - .field public bool ReadOnly - .field public class System.Compiler.BlockScope ScopeForTemporaryVariable - .field public class System.Compiler.Statement Target - } - .class public AddressDereference - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression address, class System.Compiler.TypeNode 'type') - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression address, class System.Compiler.TypeNode 'type', valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression address, class System.Compiler.TypeNode 'type', bool Volatile, int32 'alignment') - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression address, class System.Compiler.TypeNode 'type', bool Volatile, int32 'alignment', valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Expression Address - .field public int32 Alignment - .field public bool Volatile - } - .class public AliasDefinition - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier alias, class System.Compiler.Identifier originalName) - { - ret - } - .field public class System.Compiler.Identifier Alias - .field public class System.Compiler.TypeNode AliasedType - .field public class System.Compiler.TypeNode AliasedTypeExpression - .field public class System.Compiler.Identifier OriginalName - .field public class System.Compiler.Identifier URI - } - .class public sealed AliasDefinitionList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.AliasDefinitionList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.AliasDefinition get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.AliasDefinition Current() - { - .get instance class System.Compiler.AliasDefinition System.Compiler.AliasDefinitionList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.AliasDefinition element) - { - ret - } - .method public hidebysig - instance class System.Compiler.AliasDefinitionList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.AliasDefinition get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.AliasDefinition 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.AliasDefinitionList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.AliasDefinition Item(int32) - { - .get instance class System.Compiler.AliasDefinition System.Compiler.AliasDefinitionList::get_Item(int32) - .set instance void System.Compiler.AliasDefinitionList::set_Item(int32, class System.Compiler.AliasDefinition) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.AliasDefinitionList::get_Length() - } - } - .class public AnonymousNestedFunction - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ParameterList parameters, class System.Compiler.Block body) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ParameterList parameters, class System.Compiler.Block body, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Expression Invocation - .field public class System.Compiler.Method Method - .field public class System.Compiler.ParameterList Parameters - } - .class public ApplyToAll - extends System.Compiler.BinaryExpression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression operand1, class System.Compiler.Expression operand2) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression operand1, class System.Compiler.Expression operand2, valuetype System.Compiler.SourceContext ctx) - { - ret - } - .field public class System.Compiler.Local ElementLocal - .field public class System.Compiler.Method ResultIterator - } - .class public ArrayType - extends System.Compiler.TypeNode - { - .method public hidebysig - instance bool IsSzArray() - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.MemberList get_Members() - { - ret - } - .method public virtual hidebysig specialname - instance void set_Members(class System.Compiler.MemberList 'value') - { - ret - } - .method public virtual hidebysig specialname - instance string get_FullName() - { - ret - } - .method public virtual hidebysig newslot - instance void SetLowerBoundToUnknown() - { - ret - } - .method public virtual hidebysig newslot - instance int32 GetLowerBound(int32 dimension) - { - ret - } - .method public virtual hidebysig newslot - instance int32 GetSize(int32 dimension) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.MemberList GetMembersNamed(class System.Compiler.Identifier name) - { - ret - } - .method public virtual hidebysig - instance class [mscorlib]System.Type GetRuntimeType() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Method get_Constructor() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Method get_Getter() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Method get_Setter() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Method get_Address() - { - ret - } - .method public virtual hidebysig - instance bool IsAssignableTo(class System.Compiler.TypeNode targetType) - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStructural() - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.TypeNodeList get_StructuralElementTypes() - { - ret - } - .method public virtual hidebysig - instance bool IsStructurallyEquivalentTo(class System.Compiler.TypeNode 'type') - { - ret - } - .field public class System.Compiler.TypeNode ElementType - .field public int32[] LowerBounds - .field public int32 Rank - .field public int32[] Sizes - .field family class System.Compiler.TypeNodeList structuralElementTypes - .property instance class System.Compiler.Method Address() - { - .get instance class System.Compiler.Method System.Compiler.ArrayType::get_Address() - } - .property instance class System.Compiler.Method Constructor() - { - .get instance class System.Compiler.Method System.Compiler.ArrayType::get_Constructor() - } - .property instance string FullName() - { - .get instance string System.Compiler.ArrayType::get_FullName() - } - .property instance class System.Compiler.Method Getter() - { - .get instance class System.Compiler.Method System.Compiler.ArrayType::get_Getter() - } - .property instance bool IsStructural() - { - .get instance bool System.Compiler.ArrayType::get_IsStructural() - } - .property instance class System.Compiler.MemberList Members() - { - .get instance class System.Compiler.MemberList System.Compiler.ArrayType::get_Members() - .set instance void System.Compiler.ArrayType::set_Members(class System.Compiler.MemberList) - } - .property instance class System.Compiler.Method Setter() - { - .get instance class System.Compiler.Method System.Compiler.ArrayType::get_Setter() - } - .property instance class System.Compiler.TypeNodeList StructuralElementTypes() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.ArrayType::get_StructuralElementTypes() - } - } - .class public ArrayTypeExpression - extends System.Compiler.ArrayType - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, int32 rank) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, int32 rank, int32[] sizes) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, int32 rank, int32[] sizes, int32[] lowerBounds) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, int32 rank, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, int32 rank, int32[] sizes, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, int32 rank, int32[] sizes, int32[] lowerBounds, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public bool LowerBoundIsUnknown - } - .class public AssemblyCouldNotBeSignedException - extends [mscorlib]System.ApplicationException - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public sealed AssemblyFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.AssemblyFlags CompatibilityMask = int32(0x000000F0) - .field static public literal valuetype System.Compiler.AssemblyFlags DisableJITcompileOptimizer = int32(0x00004000) - .field static public literal valuetype System.Compiler.AssemblyFlags EnableJITcompileTracking = int32(0x00008000) - .field static public literal valuetype System.Compiler.AssemblyFlags Library = int32(0x00000002) - .field static public literal valuetype System.Compiler.AssemblyFlags NonSideBySideCompatible = int32(0x00000010) - .field static public literal valuetype System.Compiler.AssemblyFlags NonSideBySideMachine = int32(0x00000030) - .field static public literal valuetype System.Compiler.AssemblyFlags NonSideBySideProcess = int32(0x00000020) - .field static public literal valuetype System.Compiler.AssemblyFlags None = int32(0x00000000) - .field static public literal valuetype System.Compiler.AssemblyFlags NowPlatform = int32(0x00000006) - .field static public literal valuetype System.Compiler.AssemblyFlags Platform = int32(0x00000004) - .field static public literal valuetype System.Compiler.AssemblyFlags PublicKey = int32(0x00000001) - .field static public literal valuetype System.Compiler.AssemblyFlags Retargetable = int32(0x00000100) - .field static public literal valuetype System.Compiler.AssemblyFlags SideBySideCompatible = int32(0x00000000) - } - .class public sealed AssemblyHashAlgorithm - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.AssemblyHashAlgorithm MD5 = int32(0x00008003) - .field static public literal valuetype System.Compiler.AssemblyHashAlgorithm None = int32(0x00000000) - .field static public literal valuetype System.Compiler.AssemblyHashAlgorithm 'SHA1' = int32(0x00008004) - } - .class public AssemblyNode - extends System.Compiler.Module - { - .method public virtual hidebysig newslot specialname - instance class System.Compiler.AssemblyNode get_ContractAssembly() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_ContractAssembly(class System.Compiler.AssemblyNode 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance string get_StrongName() - { - ret - } - .method public hidebysig specialname - instance bool get_IsShadowAssembly() - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AttributeNode GetAttributeByName(class System.Compiler.TypeNode attributeType) - { - .custom instance void [mscorlib]System.ObsoleteAttribute::.ctor(string) = { string('Please use GetAttribute(TypeNode attributeType)') } - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AttributeNode GetModuleAttribute(class System.Compiler.TypeNode attributeType) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Module/TypeNodeProvider provider, class System.Compiler.Module/TypeNodeListProvider listProvider, class System.Compiler.Module/CustomAttributeProvider provideCustomAttributes, class System.Compiler.Module/ResourceProvider provideResources, string directory) - { - ret - } - .method public virtual hidebysig - instance void Dispose() - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNodeList get_ExportedTypes() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_ExportedTypes(class System.Compiler.TypeNodeList 'value') - { - ret - } - .method public hidebysig specialname - instance bool get_GetDebugSymbols() - { - ret - } - .method public hidebysig specialname - instance void set_GetDebugSymbols(bool 'value') - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(unsigned int8[] buffer) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(unsigned int8[] buffer, class [mscorlib]System.Collections.IDictionary cache) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(unsigned int8[] buffer, class [mscorlib]System.Collections.IDictionary cache, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(unsigned int8[] buffer, class [mscorlib]System.Collections.IDictionary cache, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache, bool preserveShortBranches) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(string location) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(string location, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(string location, class [mscorlib]System.Collections.IDictionary cache) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(string location, class [mscorlib]System.Collections.IDictionary cache, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(string location, class [mscorlib]System.Collections.IDictionary cache, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache, bool preserveShortBranches) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(class System.Compiler.AssemblyReference assemblyReference) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(class System.Compiler.AssemblyReference assemblyReference, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(class System.Compiler.AssemblyReference assemblyReference, class [mscorlib]System.Collections.IDictionary cache) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(class System.Compiler.AssemblyReference assemblyReference, class [mscorlib]System.Collections.IDictionary cache, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(class System.Compiler.AssemblyReference assemblyReference, class [mscorlib]System.Collections.IDictionary cache, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache, bool preserveShortBranches) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(class [mscorlib]System.Reflection.Assembly runtimeAssembly) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(class [mscorlib]System.Reflection.Assembly runtimeAssembly, class [mscorlib]System.Collections.IDictionary cache) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(class [mscorlib]System.Reflection.Assembly runtimeAssembly, class [mscorlib]System.Collections.IDictionary cache, bool getDebugInfo, bool useGlobalCache) - { - ret - } - .method public static hidebysig - class System.Compiler.AssemblyNode GetAssembly(class [mscorlib]System.Reflection.Assembly runtimeAssembly, class [mscorlib]System.Collections.IDictionary cache, bool getDebugInfo, bool useGlobalCache, bool preserveShortBranches) - { - ret - } - .method public hidebysig - instance void SetupDebugReader(string pdbSearchPath) - { - ret - } - .method public hidebysig - instance class [mscorlib]System.Reflection.AssemblyName GetAssemblyName() - { - ret - } - .method public hidebysig - instance class [mscorlib]System.Reflection.Assembly GetRuntimeAssembly() - { - ret - } - .method public hidebysig - instance class [mscorlib]System.Reflection.Assembly GetRuntimeAssembly(class [mscorlib]System.Security.Policy.Evidence evidence) - { - ret - } - .method public hidebysig - instance class [mscorlib]System.Reflection.Assembly GetRuntimeAssembly(class [mscorlib]System.AppDomain targetAppDomain) - { - ret - } - .method public hidebysig - instance class [mscorlib]System.Reflection.Assembly GetRuntimeAssembly(class [mscorlib]System.Security.Policy.Evidence evidence, class [mscorlib]System.AppDomain targetAppDomain) - { - ret - } - .method public virtual hidebysig newslot - instance bool MayAccessInternalTypesOf(class System.Compiler.AssemblyNode 'assembly') - { - ret - } - .method public hidebysig - instance class System.Compiler.AssemblyReferenceList GetFriendAssemblies() - { - ret - } - .method public virtual hidebysig newslot specialname - instance unsigned int8[] get_PublicKeyToken() - { - ret - } - .field public string Culture - .field public valuetype System.Compiler.AssemblyFlags Flags - .field public unsigned int8[] KeyBlob - .field public string KeyContainerName - .field public class System.Compiler.AttributeList ModuleAttributes - .field public unsigned int8[] PublicKeyOrToken - .field public class [mscorlib]System.Version Version - .field family class System.Compiler.AssemblyNode contractAssembly - .field family class System.Compiler.TypeNodeList exportedTypes - .field family class System.Compiler.TrivialHashtable friends - .field family string strongName - .field family unsigned int8[] token - .property instance class System.Compiler.AssemblyNode ContractAssembly() - { - .get instance class System.Compiler.AssemblyNode System.Compiler.AssemblyNode::get_ContractAssembly() - .set instance void System.Compiler.AssemblyNode::set_ContractAssembly(class System.Compiler.AssemblyNode) - } - .property instance class System.Compiler.TypeNodeList ExportedTypes() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.AssemblyNode::get_ExportedTypes() - .set instance void System.Compiler.AssemblyNode::set_ExportedTypes(class System.Compiler.TypeNodeList) - } - .property instance bool GetDebugSymbols() - { - .get instance bool System.Compiler.AssemblyNode::get_GetDebugSymbols() - .set instance void System.Compiler.AssemblyNode::set_GetDebugSymbols(bool) - } - .property instance bool IsShadowAssembly() - { - .get instance bool System.Compiler.AssemblyNode::get_IsShadowAssembly() - } - .property instance unsigned int8[] PublicKeyToken() - { - .get instance unsigned int8[] System.Compiler.AssemblyNode::get_PublicKeyToken() - } - .property instance string StrongName() - { - .get instance string System.Compiler.AssemblyNode::get_StrongName() - } - } - .class public sealed AssemblyNodeList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.AssemblyNodeList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.AssemblyNode get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.AssemblyNode Current() - { - .get instance class System.Compiler.AssemblyNode System.Compiler.AssemblyNodeList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.AssemblyNode[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.AssemblyNode element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.AssemblyNode get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.AssemblyNode 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.AssemblyNodeList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.AssemblyNode Item(int32) - { - .get instance class System.Compiler.AssemblyNode System.Compiler.AssemblyNodeList::get_Item(int32) - .set instance void System.Compiler.AssemblyNodeList::set_Item(int32, class System.Compiler.AssemblyNode) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.AssemblyNodeList::get_Length() - } - } - .class public AssemblyReference - extends System.Compiler.Node - { - .method public virtual hidebysig newslot specialname - instance class System.Compiler.AssemblyNode get_Assembly() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Assembly(class System.Compiler.AssemblyNode 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance string get_StrongName() - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.AssemblyNode 'assembly') - { - ret - } - .method public hidebysig specialname - instance void .ctor(string assemblyStrongName, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string assemblyStrongName) - { - ret - } - .method public hidebysig - instance class [mscorlib]System.Reflection.AssemblyName GetAssemblyName() - { - ret - } - .method public hidebysig - instance bool Matches(string name, class [mscorlib]System.Version version, string culture, unsigned int8[] publicKeyToken) - { - ret - } - .method public hidebysig - instance bool MatchesIgnoringVersion(class System.Compiler.AssemblyReference aRef) - { - ret - } - .method public hidebysig specialname - instance unsigned int8[] get_PublicKeyToken() - { - ret - } - .field public string Culture - .field public valuetype System.Compiler.AssemblyFlags Flags - .field public unsigned int8[] HashValue - .field public string Location - .field public string Name - .field public unsigned int8[] PublicKeyOrToken - .field public class [mscorlib]System.Version Version - .field famorassem class System.Compiler.AssemblyNode 'assembly' - .field static family class [mscorlib]'System.Security.Cryptography.SHA1' sha - .field family string strongName - .property instance class System.Compiler.AssemblyNode Assembly() - { - .get instance class System.Compiler.AssemblyNode System.Compiler.AssemblyReference::get_Assembly() - .set instance void System.Compiler.AssemblyReference::set_Assembly(class System.Compiler.AssemblyNode) - } - .property instance unsigned int8[] PublicKeyToken() - { - .get instance unsigned int8[] System.Compiler.AssemblyReference::get_PublicKeyToken() - } - .property instance string StrongName() - { - .get instance string System.Compiler.AssemblyReference::get_StrongName() - } - } - .class public sealed AssemblyReferenceList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.AssemblyReferenceList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.AssemblyReference get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.AssemblyReference Current() - { - .get instance class System.Compiler.AssemblyReference System.Compiler.AssemblyReferenceList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.AssemblyReference element) - { - ret - } - .method public hidebysig - instance class System.Compiler.AssemblyReferenceList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.AssemblyReference get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.AssemblyReference 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.AssemblyReferenceList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.AssemblyReference Item(int32) - { - .get instance class System.Compiler.AssemblyReference System.Compiler.AssemblyReferenceList::get_Item(int32) - .set instance void System.Compiler.AssemblyReferenceList::set_Item(int32, class System.Compiler.AssemblyReference) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.AssemblyReferenceList::get_Length() - } - } - .class public Assertion - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression condition) - { - ret - } - .field public class System.Compiler.Expression Condition - } - .class public AssignmentExpression - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.AssignmentStatement assignment) - { - ret - } - .field public class System.Compiler.Statement AssignmentStatement - } - .class public AssignmentStatement - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression target, class System.Compiler.Expression source) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression target, class System.Compiler.Expression source, valuetype System.Compiler.SourceContext context) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression target, class System.Compiler.Expression source, valuetype System.Compiler.NodeType Operator) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression target, class System.Compiler.Expression source, valuetype System.Compiler.NodeType Operator, valuetype System.Compiler.SourceContext context) - { - ret - } - .field public valuetype System.Compiler.NodeType Operator - .field public class System.Compiler.Method OperatorOverload - .field public class System.Compiler.Expression Source - .field public class System.Compiler.Expression Target - } - .class public Assumption - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression condition) - { - ret - } - .field public class System.Compiler.Expression Condition - } - .class public sealed AttributeList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.AttributeList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.AttributeNode get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.AttributeNode Current() - { - .get instance class System.Compiler.AttributeNode System.Compiler.AttributeList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.AttributeNode element) - { - ret - } - .method public hidebysig - instance class System.Compiler.AttributeList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.AttributeNode get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.AttributeNode 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.AttributeList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.AttributeNode Item(int32) - { - .get instance class System.Compiler.AttributeNode System.Compiler.AttributeList::get_Item(int32) - .set instance void System.Compiler.AttributeList::set_Item(int32, class System.Compiler.AttributeNode) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.AttributeList::get_Length() - } - } - .class public AttributeNode - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression constructor, class System.Compiler.ExpressionList expressions) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression constructor, class System.Compiler.ExpressionList expressions, valuetype [mscorlib]System.AttributeTargets target) - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_AllowMultiple() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_AllowMultiple(bool 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_Inherited() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Inherited(bool 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance valuetype [mscorlib]System.AttributeTargets get_ValidOn() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_ValidOn(valuetype [mscorlib]System.AttributeTargets 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNode get_Type() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Type(class System.Compiler.TypeNode 'value') - { - ret - } - .field public class System.Compiler.Expression Constructor - .field static public initonly class System.Compiler.AttributeNode DoesNotExist - .field public class System.Compiler.ExpressionList Expressions - .field public bool IsPseudoAttribute - .field public valuetype [mscorlib]System.AttributeTargets Target - .property instance bool AllowMultiple() - { - .get instance bool System.Compiler.AttributeNode::get_AllowMultiple() - .set instance void System.Compiler.AttributeNode::set_AllowMultiple(bool) - } - .property instance bool Inherited() - { - .get instance bool System.Compiler.AttributeNode::get_Inherited() - .set instance void System.Compiler.AttributeNode::set_Inherited(bool) - } - .property instance class System.Compiler.TypeNode Type() - { - .get instance class System.Compiler.TypeNode System.Compiler.AttributeNode::get_Type() - .set instance void System.Compiler.AttributeNode::set_Type(class System.Compiler.TypeNode) - } - .property instance valuetype [mscorlib]System.AttributeTargets ValidOn() - { - .get instance valuetype [mscorlib]System.AttributeTargets System.Compiler.AttributeNode::get_ValidOn() - .set instance void System.Compiler.AttributeNode::set_ValidOn(valuetype [mscorlib]System.AttributeTargets) - } - } - .class public Base - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(valuetype System.Compiler.SourceContext sctx) - { - ret - } - } - .class public BinaryExpression - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression operand1, class System.Compiler.Expression operand2, valuetype System.Compiler.NodeType nodeType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression operand1, class System.Compiler.Expression operand2, valuetype System.Compiler.NodeType nodeType, class System.Compiler.TypeNode resultType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression operand1, class System.Compiler.Expression operand2, valuetype System.Compiler.NodeType nodeType, valuetype System.Compiler.SourceContext ctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression operand1, class System.Compiler.Expression operand2, valuetype System.Compiler.NodeType nodeType, class System.Compiler.TypeNode resultType, valuetype System.Compiler.SourceContext ctx) - { - ret - } - .field public class System.Compiler.Expression Operand1 - .field public class System.Compiler.Expression Operand2 - } - .class public sealed BinaryWriter - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.MemoryStream output) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.MemoryStream output, class [mscorlib]System.Text.Encoding encoding) - { - ret - } - .method public hidebysig - instance void Write(bool 'value') - { - ret - } - .method public hidebysig - instance void Write(unsigned int8 'value') - { - ret - } - .method public hidebysig - instance void Write(int8 'value') - { - ret - } - .method public hidebysig - instance void Write(unsigned int8[] buffer) - { - ret - } - .method public hidebysig - instance void Write(char ch) - { - ret - } - .method public hidebysig - instance void Write(char[] chars) - { - ret - } - .method public hidebysig - instance void Write(float64 'value') - { - ret - } - .method public hidebysig - instance void Write(int16 'value') - { - ret - } - .method public hidebysig - instance void Write(unsigned int16 'value') - { - ret - } - .method public hidebysig - instance void Write(int32 'value') - { - ret - } - .method public hidebysig - instance void Write(unsigned int32 'value') - { - ret - } - .method public hidebysig - instance void Write(int64 'value') - { - ret - } - .method public hidebysig - instance void Write(unsigned int64 'value') - { - ret - } - .method public hidebysig - instance void Write(float32 'value') - { - ret - } - .method public hidebysig - instance void Write(string str) - { - ret - } - .method public hidebysig - instance void Write(string str, bool emitNullTerminator) - { - ret - } - .method public hidebysig - instance int32 GetUTF8ByteCount(string str) - { - ret - } - .field public class System.Compiler.MemoryStream BaseStream - } - .class public Block - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.StatementList statements) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.StatementList statements, valuetype System.Compiler.SourceContext sourceContext) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.StatementList statements, bool Checked, bool SuppressCheck, bool IsUnsafe) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.StatementList statements, valuetype System.Compiler.SourceContext sourceContext, bool Checked, bool SuppressCheck, bool IsUnsafe) - { - ret - } - .field public bool Checked - .field public bool HasLocals - .field public bool IsUnsafe - .field public class System.Compiler.BlockScope Scope - .field public class System.Compiler.StatementList Statements - .field public bool SuppressCheck - } - .class public BlockExpression - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Block block) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Block block, class System.Compiler.TypeNode 'type') - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Block block, class System.Compiler.TypeNode 'type', valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Block Block - } - .class public sealed BlockList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.BlockList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Block get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Block Current() - { - .get instance class System.Compiler.Block System.Compiler.BlockList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 n) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Block element) - { - ret - } - .method public hidebysig - instance class System.Compiler.BlockList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Block get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Block 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.BlockList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Block Item(int32) - { - .get instance class System.Compiler.Block System.Compiler.BlockList::get_Item(int32) - .set instance void System.Compiler.BlockList::set_Item(int32, class System.Compiler.Block) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.BlockList::get_Length() - } - } - .class public BlockScope - extends System.Compiler.Scope - { - .method public virtual hidebysig newslot specialname - instance class System.Compiler.Class get_ClosureClass() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_CapturedForClosure() - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Class parentScope, class System.Compiler.Block associatedBlock) - { - ret - } - .field public class System.Compiler.Block AssociatedBlock - .property instance bool CapturedForClosure() - { - .get instance bool System.Compiler.BlockScope::get_CapturedForClosure() - } - .property instance class System.Compiler.Class ClosureClass() - { - .get instance class System.Compiler.Class System.Compiler.BlockScope::get_ClosureClass() - } - } - .class public BoxedTypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.TypeNode ElementType - } - .class public Branch - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression condition, class System.Compiler.Block target) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression condition, class System.Compiler.Block target, valuetype System.Compiler.SourceContext sourceContext) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression condition, class System.Compiler.Block target, valuetype System.Compiler.SourceContext sourceContext, bool unordered) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression condition, class System.Compiler.Block target, bool shortOffset, bool unordered, bool leavesExceptionBlock) - { - ret - } - .field public bool BranchIfUnordered - .field public class System.Compiler.Expression Condition - .field public bool LeavesExceptionBlock - .field public bool ShortOffset - .field public class System.Compiler.Block Target - } - .class public ByteArrayComparer - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IComparer - { - .method private final virtual hidebysig newslot - instance int32 System.Collections.IComparer.Compare(object x, object y) - { - .override [mscorlib]System.Collections.IComparer::Compare - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public ByteArrayHasher - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IHashCodeProvider - { - .method private final virtual hidebysig newslot - instance int32 System.Collections.IHashCodeProvider.GetHashCode(object x) - { - .override [mscorlib]System.Collections.IHashCodeProvider::GetHashCode - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public sequential sealed 'COR_FIELD_OFFSET' - extends [mscorlib]System.ValueType - { - .field public unsigned int32 ridOfField - .field public unsigned int32 ulOffset - } - .class public sealed CallingConventionFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.CallingConventionFlags ArgumentConvention = int32(0x00000007) - .field static public literal valuetype System.Compiler.CallingConventionFlags C = int32(0x00000001) - .field static public literal valuetype System.Compiler.CallingConventionFlags Default = int32(0x00000000) - .field static public literal valuetype System.Compiler.CallingConventionFlags ExplicitThis = int32(0x00000040) - .field static public literal valuetype System.Compiler.CallingConventionFlags FastCall = int32(0x00000004) - .field static public literal valuetype System.Compiler.CallingConventionFlags Generic = int32(0x00000010) - .field static public literal valuetype System.Compiler.CallingConventionFlags HasThis = int32(0x00000020) - .field static public literal valuetype System.Compiler.CallingConventionFlags StandardCall = int32(0x00000002) - .field static public literal valuetype System.Compiler.CallingConventionFlags ThisCall = int32(0x00000003) - .field static public literal valuetype System.Compiler.CallingConventionFlags VarArg = int32(0x00000005) - } - .class public Catch - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Block block, class System.Compiler.Expression variable, class System.Compiler.TypeNode 'type') - { - ret - } - .field public class System.Compiler.Block Block - .field public class System.Compiler.TypeNode Type - .field public class System.Compiler.TypeNode TypeExpression - .field public class System.Compiler.Expression Variable - } - .class public sealed CatchList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.CatchList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Catch get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Catch Current() - { - .get instance class System.Compiler.Catch System.Compiler.CatchList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 n) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Catch element) - { - ret - } - .method public hidebysig - instance class System.Compiler.CatchList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Catch get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Catch 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.CatchList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Catch Item(int32) - { - .get instance class System.Compiler.Catch System.Compiler.CatchList::get_Item(int32) - .set instance void System.Compiler.CatchList::set_Item(int32, class System.Compiler.Catch) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.CatchList::get_Length() - } - } - .class public Class - extends System.Compiler.TypeNode - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode/TypeAttributeProvider provideAttributes, class System.Compiler.TypeNode/TypeMemberProvider provideMembers, object handle) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Module declaringModule, class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, valuetype System.Compiler.TypeFlags 'flags', class System.Compiler.Identifier Namespace, class System.Compiler.Identifier name, class System.Compiler.Class baseClass, class System.Compiler.InterfaceList interfaces, class System.Compiler.MemberList members) - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.Class get_BaseClass() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_BaseClass(class System.Compiler.Class 'value') - { - ret - } - .method public virtual hidebysig - instance void GetAbstractMethods(class System.Compiler.MethodList result) - { - ret - } - .method family hidebysig - instance bool AlreadyInList(class System.Compiler.MethodList list, class System.Compiler.Method 'method') - { - ret - } - .field public class System.Compiler.Class BaseClassExpression - .field public bool IsAbstractSealedContainerForStatics - .property instance class System.Compiler.Class BaseClass() - { - .get instance class System.Compiler.Class System.Compiler.Class::get_BaseClass() - .set instance void System.Compiler.Class::set_BaseClass(class System.Compiler.Class) - } - } - .class public ClassExpression - extends System.Compiler.Class - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Expression Expression - } - .class public ClassParameter - extends System.Compiler.Class - implements System.Compiler.ITypeParameter - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode/TypeAttributeProvider provideAttributes, class System.Compiler.TypeNode/TypeMemberProvider provideMembers, object handle) - { - ret - } - .method public final virtual hidebysig newslot specialname - instance class System.Compiler.Member get_DeclaringMember() - { - ret - } - .method public final virtual hidebysig newslot specialname - instance void set_DeclaringMember(class System.Compiler.Member 'value') - { - ret - } - .method public final virtual hidebysig newslot specialname - instance int32 get_ParameterListIndex() - { - ret - } - .method public final virtual hidebysig newslot specialname - instance void set_ParameterListIndex(int32 'value') - { - ret - } - .method public final virtual hidebysig newslot specialname - instance valuetype System.Compiler.TypeParameterFlags get_TypeParameterFlags() - { - ret - } - .method public final virtual hidebysig newslot specialname - instance void set_TypeParameterFlags(valuetype System.Compiler.TypeParameterFlags 'value') - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStructural() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsTemplateParameter() - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.TypeNodeList get_StructuralElementTypes() - { - ret - } - .method public virtual hidebysig - instance string GetFullUnmangledNameWithoutTypeParameters() - { - ret - } - .method public virtual hidebysig - instance string GetFullUnmangledNameWithTypeParameters() - { - ret - } - .method public virtual hidebysig - instance bool IsStructurallyEquivalentTo(class System.Compiler.TypeNode 'type') - { - ret - } - .field family class System.Compiler.TypeNodeList structuralElementTypes - .property instance class System.Compiler.Member DeclaringMember() - { - .get instance class System.Compiler.Member System.Compiler.ClassParameter::get_DeclaringMember() - .set instance void System.Compiler.ClassParameter::set_DeclaringMember(class System.Compiler.Member) - } - .property instance bool IsStructural() - { - .get instance bool System.Compiler.ClassParameter::get_IsStructural() - } - .property instance bool IsTemplateParameter() - { - .get instance bool System.Compiler.ClassParameter::get_IsTemplateParameter() - } - .property instance int32 ParameterListIndex() - { - .get instance int32 System.Compiler.ClassParameter::get_ParameterListIndex() - .set instance void System.Compiler.ClassParameter::set_ParameterListIndex(int32) - } - .property instance class System.Compiler.TypeNodeList StructuralElementTypes() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.ClassParameter::get_StructuralElementTypes() - } - .property instance valuetype System.Compiler.TypeParameterFlags TypeParameterFlags() - { - .get instance valuetype System.Compiler.TypeParameterFlags System.Compiler.ClassParameter::get_TypeParameterFlags() - .set instance void System.Compiler.ClassParameter::set_TypeParameterFlags(valuetype System.Compiler.TypeParameterFlags) - } - } - .class public ClosureClass - extends System.Compiler.Class - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public CoerceTuple - extends System.Compiler.ConstructTuple - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field public class System.Compiler.Expression OriginalTuple - .field public class System.Compiler.Local Temp - } - .class public sealed CollectibleSourceText - extends [mscorlib]System.Object - implements System.Compiler.ISourceText - { - .method public hidebysig specialname - instance void .ctor(string filePath, int32 length) - { - ret - } - .method private final virtual hidebysig newslot specialname - instance int32 System.Compiler.ISourceText.get_Length() - { - .override System.Compiler.ISourceText::get_Length - ret - } - .method private final virtual hidebysig newslot - instance string System.Compiler.ISourceText.Substring(int32 startIndex, int32 length) - { - .override System.Compiler.ISourceText::Substring - ret - } - .method private final virtual hidebysig newslot specialname - instance char System.Compiler.ISourceText.get_Item(int32 index) - { - .override System.Compiler.ISourceText::get_Item - ret - } - .method private final virtual hidebysig newslot - instance void System.Compiler.ISourceText.MakeCollectible() - { - .override System.Compiler.ISourceText::MakeCollectible - ret - } - .property instance char System.Compiler.ISourceText.Item(int32) - { - .get instance char System.Compiler.CollectibleSourceText::System.Compiler.ISourceText.get_Item(int32) - } - .property instance int32 System.Compiler.ISourceText.Length() - { - .get instance int32 System.Compiler.CollectibleSourceText::System.Compiler.ISourceText.get_Length() - } - } - .class public CollectionEnumerator - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field public class System.Compiler.Expression Collection - .field public class System.Compiler.Method DefaultIndexerGetter - .field public class System.Compiler.Expression ElementCoercion - .field public class System.Compiler.Local ElementLocal - .field public class System.Compiler.Method GetCurrent - .field public class System.Compiler.Method GetEnumerator - .field public class System.Compiler.Method LengthPropertyGetter - .field public class System.Compiler.Method MoveNext - } - .class public Compilation - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Module targetModule, class System.Compiler.CompilationUnitList compilationUnits, class [System]System.CodeDom.Compiler.CompilerParameters compilerParameters, class System.Compiler.Scope globalScope) - { - ret - } - .field public class System.Compiler.CompilationUnitList CompilationUnits - .field public class [System]System.CodeDom.Compiler.CompilerParameters CompilerParameters - .field public class System.Compiler.Scope GlobalScope - .field public class System.Compiler.CompilationList ReferencedCompilations - .field public class System.Compiler.Module TargetModule - } - .class public sealed CompilationList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.CompilationList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Compilation get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Compilation Current() - { - .get instance class System.Compiler.Compilation System.Compiler.CompilationList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 n) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Compilation[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Compilation element) - { - ret - } - .method public hidebysig - instance class System.Compiler.CompilationList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Compilation get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Compilation 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.CompilationList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Compilation Item(int32) - { - .get instance class System.Compiler.Compilation System.Compiler.CompilationList::get_Item(int32) - .set instance void System.Compiler.CompilationList::set_Item(int32, class System.Compiler.Compilation) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.CompilationList::get_Length() - } - } - .class public CompilationUnit - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name) - { - ret - } - .field public class System.Compiler.Compilation Compilation - .field public class System.Compiler.Identifier Name - .field public class System.Compiler.NodeList Nodes - .field public class [System]System.Collections.Specialized.StringDictionary PreprocessorDefinedSymbols - } - .class public sealed CompilationUnitList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.CompilationUnitList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.CompilationUnit get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.CompilationUnit Current() - { - .get instance class System.Compiler.CompilationUnit System.Compiler.CompilationUnitList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 n) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.CompilationUnit[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.CompilationUnit element) - { - ret - } - .method public hidebysig - instance class System.Compiler.CompilationUnitList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.CompilationUnit get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.CompilationUnit 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.CompilationUnitList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.CompilationUnit Item(int32) - { - .get instance class System.Compiler.CompilationUnit System.Compiler.CompilationUnitList::get_Item(int32) - .set instance void System.Compiler.CompilationUnitList::set_Item(int32, class System.Compiler.CompilationUnit) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.CompilationUnitList::get_Length() - } - } - .class public CompilationUnitSnippet - extends System.Compiler.CompilationUnit - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.IParserFactory parserFactory, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Method ChangedMethod - .field public int32 OriginalEndPosOfChangedMethod - .field public class System.Compiler.IParserFactory ParserFactory - } - .class public sealed CompilationUnitSnippetList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.CompilationUnitSnippetList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.CompilationUnitSnippet get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.CompilationUnitSnippet Current() - { - .get instance class System.Compiler.CompilationUnitSnippet System.Compiler.CompilationUnitSnippetList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 n) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.CompilationUnitSnippet[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.CompilationUnitSnippet element) - { - ret - } - .method public hidebysig - instance class System.Compiler.CompilationUnitSnippetList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.CompilationUnitSnippet get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.CompilationUnitSnippet 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.CompilationUnitSnippetList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.CompilationUnitSnippet Item(int32) - { - .get instance class System.Compiler.CompilationUnitSnippet System.Compiler.CompilationUnitSnippetList::get_Item(int32) - .set instance void System.Compiler.CompilationUnitSnippetList::set_Item(int32, class System.Compiler.CompilationUnitSnippet) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.CompilationUnitSnippetList::get_Length() - } - } - .class public CompilerOptions - extends [System]System.CodeDom.Compiler.CompilerParameters - { - .method public hidebysig specialname - instance class [System]System.Collections.Specialized.StringCollection get_EmbeddedResources() - { - ret - } - .method public hidebysig specialname - instance class [System]System.Collections.Specialized.StringCollection get_LinkedResources() - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.CompilerOptions source) - { - ret - } - .method public virtual hidebysig newslot - instance string GetOptionHelp() - { - ret - } - .field public class System.Compiler.StringList AdditionalSearchPaths - .field public class [System]System.Collections.Specialized.StringCollection AliasesForReferencedAssemblies - .field public bool AllowUnsafeCode - .field public string AssemblyKeyFile - .field public string AssemblyKeyName - .field public int64 BaseAddress - .field public string BugReportFileName - .field public bool CheckedArithmetic - .field public object CodePage - .field public bool CompileAndExecute - .field public class System.Compiler.StringList DefinedPreProcessorSymbols - .field public bool DelaySign - .field public bool DisplayCommandLineHelp - .field public bool EmitManifest - .field public bool EncodeOutputInUTF8 - .field public int32 FileAlignment - .field public bool FullyQualifyPaths - .field public bool HeuristicReferenceResolution - .field public bool IncrementalCompile - .field public bool MayLockFiles - .field public valuetype System.Compiler.ModuleKindFlags ModuleKind - .field public bool NoStandardLibrary - .field public bool Optimize - .field public string OutputPath - .field public bool PDBOnly - .field public string RecursiveWildcard - .field public class System.Compiler.StringList ReferencedModules - .field public string RootNamespace - .field public string ShadowedAssembly - .field public class System.Compiler.Int32List SpecificWarningsNotToTreatAsErrors - .field public class System.Compiler.Int32List SpecificWarningsToTreatAsErrors - .field public string StandardLibraryLocation - .field public bool SuppressLogo - .field public class System.Compiler.Int32List SuppressedWarnings - .field public class [mscorlib]System.AppDomain TargetAppDomain - .field public valuetype System.Compiler.TargetInformation TargetInformation - .field public valuetype System.Compiler.PlatformType TargetPlatform - .field public string TargetPlatformLocation - .field public valuetype System.Compiler.ProcessorType TargetProcessor - .field public bool UseStandardConfigFile - .field public object UserLocaleId - .field public string Win32Icon - .field public string XMLDocFileName - .property instance class [System]System.Collections.Specialized.StringCollection EmbeddedResources() - { - .get instance class [System]System.Collections.Specialized.StringCollection System.Compiler.CompilerOptions::get_EmbeddedResources() - } - .property instance class [System]System.Collections.Specialized.StringCollection LinkedResources() - { - .get instance class [System]System.Collections.Specialized.StringCollection System.Compiler.CompilerOptions::get_LinkedResources() - } - } - .class public abstract Composer - extends [mscorlib]System.Object - { - .method public virtual hidebysig newslot abstract - instance class System.Compiler.Node Compose(class System.Compiler.Node node, class System.Compiler.Composer context, bool hasContextReference, class System.Compiler.Class scope) - { - } - .method family hidebysig specialname - instance void .ctor() - { - ret - } - .field static public initonly class System.Compiler.Composer Null - } - .class public Composition - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression exp, class System.Compiler.Composer composer, class System.Compiler.Class scope) - { - ret - } - .field public class System.Compiler.Composer Composer - .field public class System.Compiler.Expression Expression - .field public class System.Compiler.Class Scope - } - .class public Comprehension - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance bool get_IsDisplay() - { - ret - } - .field public class System.Compiler.Method AddMethod - .field public class System.Compiler.ExpressionList BindingsAndFilters - .field public class System.Compiler.ExpressionList Elements - .field public valuetype System.Compiler.ComprehensionMode Mode - .field public class System.Compiler.Node nonEnumerableTypeCtor - .property instance bool IsDisplay() - { - .get instance bool System.Compiler.Comprehension::get_IsDisplay() - } - } - .class public ComprehensionBinding - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field public class System.Compiler.TypeNode AsTargetVariableType - .field public class System.Compiler.TypeNode AsTargetVariableTypeExpression - .field public valuetype System.Compiler.ComprehensionBindingMode Mode - .field public class System.Compiler.BlockScope ScopeForTemporaryVariables - .field public class System.Compiler.Expression SourceEnumerable - .field public class System.Compiler.Expression TargetVariable - .field public class System.Compiler.TypeNode TargetVariableType - .field public class System.Compiler.TypeNode TargetVariableTypeExpression - } - .class public sealed ComprehensionBindingMode - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.ComprehensionBindingMode Gets = int32(0x00000001) - .field static public literal valuetype System.Compiler.ComprehensionBindingMode In = int32(0x00000000) - } - .class public sealed ComprehensionMode - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.ComprehensionMode Comprehension = int32(0x00000001) - .field static public literal valuetype System.Compiler.ComprehensionMode Reduction = int32(0x00000000) - } - .class public Construct - extends System.Compiler.NaryExpression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression constructor, class System.Compiler.ExpressionList arguments) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression constructor, class System.Compiler.ExpressionList arguments, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression constructor, class System.Compiler.ExpressionList arguments, class System.Compiler.TypeNode 'type') - { - ret - } - .field public class System.Compiler.Expression Constructor - } - .class public ConstructArray - extends System.Compiler.NaryExpression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, class System.Compiler.ExpressionList sizes, class System.Compiler.ExpressionList initializers) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, class System.Compiler.ExpressionList initializers) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, int32 rank, class System.Compiler.ExpressionList initializers) - { - ret - } - .field public class System.Compiler.TypeNode ElementType - .field public class System.Compiler.TypeNode ElementTypeExpression - .field public class System.Compiler.ExpressionList Initializers - .field public int32 Rank - } - .class public ConstructDelegate - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode delegateType, class System.Compiler.Expression targetObject, class System.Compiler.Identifier methodName) - { - ret - } - .field public class System.Compiler.TypeNode DelegateType - .field public class System.Compiler.TypeNode DelegateTypeExpression - .field public class System.Compiler.Identifier MethodName - .field public class System.Compiler.Expression TargetObject - } - .class public ConstructFlexArray - extends System.Compiler.NaryExpression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, class System.Compiler.ExpressionList sizes, class System.Compiler.ExpressionList initializers) - { - ret - } - .field public class System.Compiler.TypeNode ElementType - .field public class System.Compiler.TypeNode ElementTypeExpression - .field public class System.Compiler.ExpressionList Initializers - } - .class public ConstructIterator - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Class state, class System.Compiler.Block body, class System.Compiler.TypeNode elementType, class System.Compiler.TypeNode 'type') - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.TypeNode ElementType - .field public class System.Compiler.Class State - } - .class public ConstructTuple - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field public class System.Compiler.FieldList Fields - } - .class public Continue - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Literal level) - { - ret - } - .field public class System.Compiler.Literal Level - } - .class public CurrentClosure - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Method 'method', class System.Compiler.TypeNode 'type') - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Method 'method', class System.Compiler.TypeNode 'type', valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Method Method - } - .class public DelegateNode - extends System.Compiler.TypeNode - { - .method public virtual hidebysig newslot specialname - instance class System.Compiler.ParameterList get_Parameters() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Parameters(class System.Compiler.ParameterList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNode get_ReturnType() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_ReturnType(class System.Compiler.TypeNode 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode/TypeAttributeProvider provideAttributes, class System.Compiler.TypeNode/TypeMemberProvider provideMembers, object handle) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Module declaringModule, class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, valuetype System.Compiler.TypeFlags 'flags', class System.Compiler.Identifier Namespace, class System.Compiler.Identifier name, class System.Compiler.TypeNode returnType, class System.Compiler.ParameterList parameters) - { - ret - } - .method public virtual hidebysig newslot - instance void ProvideMembers() - { - ret - } - .field public class System.Compiler.TypeNode ReturnTypeExpression - .field family class System.Compiler.ParameterList parameters - .field family class System.Compiler.TypeNode returnType - .property instance class System.Compiler.ParameterList Parameters() - { - .get instance class System.Compiler.ParameterList System.Compiler.DelegateNode::get_Parameters() - .set instance void System.Compiler.DelegateNode::set_Parameters(class System.Compiler.ParameterList) - } - .property instance class System.Compiler.TypeNode ReturnType() - { - .get instance class System.Compiler.TypeNode System.Compiler.DelegateNode::get_ReturnType() - .set instance void System.Compiler.DelegateNode::set_ReturnType(class System.Compiler.TypeNode) - } - } - .class public DoWhile - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression condition, class System.Compiler.Block body) - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Expression Condition - } - .class public Document - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, int32 lineNumber, string text, valuetype [mscorlib]System.Guid documentType, valuetype [mscorlib]System.Guid language, valuetype [mscorlib]System.Guid languageVendor) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, int32 lineNumber, class System.Compiler.DocumentText text, valuetype [mscorlib]System.Guid documentType, valuetype [mscorlib]System.Guid language, valuetype [mscorlib]System.Guid languageVendor) - { - ret - } - .method public virtual hidebysig newslot - instance int32 GetLine(int32 position) - { - ret - } - .method public virtual hidebysig newslot - instance int32 GetColumn(int32 position) - { - ret - } - .method public virtual hidebysig newslot - instance void GetOffsets(int32 startLine, int32 startColumn, int32 endLine, int32 endColumn, [out] int32& startPos, [out] int32& endPos) - { - ret - } - .method public virtual hidebysig newslot - instance string Substring(int32 position, int32 length) - { - ret - } - .method family hidebysig - instance int32 GetLineCount(string text) - { - ret - } - .method public virtual hidebysig newslot - instance void InsertOrDeleteLines(int32 offset, int32 lineCount) - { - ret - } - .method public hidebysig specialname - instance int32 get_UniqueKey() - { - ret - } - .field public valuetype [mscorlib]System.Guid DocumentType - .field public bool Hidden - .field public valuetype [mscorlib]System.Guid Language - .field public valuetype [mscorlib]System.Guid LanguageVendor - .field public int32 LineNumber - .field public string Name - .field public class System.Compiler.DocumentText Text - .property instance int32 UniqueKey() - { - .get instance int32 System.Compiler.Document::get_UniqueKey() - } - } - .class public sealed DocumentText - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .method public hidebysig specialname - instance void .ctor(string source) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ISourceText textProvider) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ISourceTextBuffer textProvider) - { - ret - } - .method public hidebysig - instance bool Equals(string str, int32 position, int32 length) - { - ret - } - .method public hidebysig - instance bool Equals(int32 offset, class System.Compiler.DocumentText text, int32 textOffset, int32 length) - { - ret - } - .method public hidebysig - instance string Substring(int32 position, int32 length) - { - ret - } - .method public hidebysig specialname - instance char get_Item(int32 position) - { - ret - } - .field public unsigned int8* AsciiStringPtr - .field public int32 Length - .field public string Source - .field public class System.Compiler.ISourceText TextProvider - .property instance char Item(int32) - { - .get instance char System.Compiler.DocumentText::get_Item(int32) - } - } - .class public DocumentWithPrecomputedLineNumbers - extends System.Compiler.Document - { - .method public hidebysig specialname - instance void .ctor(string filename, int32 startLine, int32 startCol, int32 endLine, int32 endCol) - { - ret - } - .method public virtual hidebysig - instance int32 GetColumn(int32 offset) - { - ret - } - .method public virtual hidebysig - instance int32 GetLine(int32 offset) - { - ret - } - } - .class public Duplicator - extends System.Compiler.StandardVisitor - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Module module, class System.Compiler.TypeNode 'type') - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Visitor callingVisitor) - { - ret - } - .method public virtual hidebysig - instance void TransferStateTo(class System.Compiler.Visitor targetVisitor) - { - ret - } - .method public virtual hidebysig newslot - instance void FindTypesToBeDuplicated(class System.Compiler.MemberList members) - { - ret - } - .method public virtual hidebysig newslot - instance void FindTypesToBeDuplicated(class System.Compiler.Node node) - { - ret - } - .method public virtual hidebysig newslot - instance void FindTypesToBeDuplicated(class System.Compiler.NodeList nodes) - { - ret - } - .method public virtual hidebysig newslot - instance void FindTypesToBeDuplicated(class System.Compiler.Namespace nspace) - { - ret - } - .method public virtual hidebysig newslot - instance void FindTypesToBeDuplicated(class System.Compiler.NamespaceList namespaces) - { - ret - } - .method public virtual hidebysig newslot - instance void FindTypesToBeDuplicated(class System.Compiler.TypeNodeList types) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Node Visit(class System.Compiler.Node node) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitAddressDereference(class System.Compiler.AddressDereference addr) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.AliasDefinition VisitAliasDefinition(class System.Compiler.AliasDefinition aliasDefinition) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.AliasDefinitionList VisitAliasDefinitionList(class System.Compiler.AliasDefinitionList aliasDefinitions) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitAnonymousNestedFunction(class System.Compiler.AnonymousNestedFunction func) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitApplyToAll(class System.Compiler.ApplyToAll applyToAll) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.AssemblyNode VisitAssembly(class System.Compiler.AssemblyNode 'assembly') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.AssemblyReference VisitAssemblyReference(class System.Compiler.AssemblyReference assemblyReference) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitAssertion(class System.Compiler.Assertion assertion) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitAssumption(class System.Compiler.Assumption Assumption) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitAssignmentExpression(class System.Compiler.AssignmentExpression assignment) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitAssignmentStatement(class System.Compiler.AssignmentStatement assignment) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitAttributeConstructor(class System.Compiler.AttributeNode attribute) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.AttributeNode VisitAttributeNode(class System.Compiler.AttributeNode attribute) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.AttributeList VisitAttributeList(class System.Compiler.AttributeList attributes) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitBase(class System.Compiler.Base Base) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitBinaryExpression(class System.Compiler.BinaryExpression binaryExpression) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Block VisitBlock(class System.Compiler.Block block) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitBlockExpression(class System.Compiler.BlockExpression blockExpression) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.BlockList VisitBlockList(class System.Compiler.BlockList blockList) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitBranch(class System.Compiler.Branch branch) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitCatch(class System.Compiler.Catch Catch) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.CatchList VisitCatchList(class System.Compiler.CatchList catchers) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitCoerceTuple(class System.Compiler.CoerceTuple coerceTuple) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.CollectionEnumerator VisitCollectionEnumerator(class System.Compiler.CollectionEnumerator ce) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Compilation VisitCompilation(class System.Compiler.Compilation compilation) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.CompilationUnit VisitCompilationUnit(class System.Compiler.CompilationUnit cUnit) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.CompilationUnit VisitCompilationUnitSnippet(class System.Compiler.CompilationUnitSnippet snippet) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Node VisitComposition(class System.Compiler.Composition comp) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitConstruct(class System.Compiler.Construct cons) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitConstructArray(class System.Compiler.ConstructArray consArr) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitConstructDelegate(class System.Compiler.ConstructDelegate consDelegate) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitConstructFlexArray(class System.Compiler.ConstructFlexArray consArr) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitConstructIterator(class System.Compiler.ConstructIterator consIterator) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitConstructTuple(class System.Compiler.ConstructTuple consTuple) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitContinue(class System.Compiler.Continue Continue) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitCurrentClosure(class System.Compiler.CurrentClosure currentClosure) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.DelegateNode VisitDelegateNode(class System.Compiler.DelegateNode delegateNode) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitDoWhile(class System.Compiler.DoWhile doWhile) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitEndFilter(class System.Compiler.EndFilter endFilter) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitEndFinally(class System.Compiler.EndFinally endFinally) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Event VisitEvent(class System.Compiler.Event evnt) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.ExceptionHandler VisitExceptionHandler(class System.Compiler.ExceptionHandler 'handler') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.ExceptionHandlerList VisitExceptionHandlerList(class System.Compiler.ExceptionHandlerList handlers) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitExit(class System.Compiler.Exit exit) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitExpose(class System.Compiler.Expose Expose) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitExpression(class System.Compiler.Expression expression) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.ExpressionList VisitExpressionList(class System.Compiler.ExpressionList expressions) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitExpressionSnippet(class System.Compiler.ExpressionSnippet snippet) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitExpressionStatement(class System.Compiler.ExpressionStatement statement) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitFaultHandler(class System.Compiler.FaultHandler faultHandler) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.FaultHandlerList VisitFaultHandlerList(class System.Compiler.FaultHandlerList faultHandlers) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Field VisitField(class System.Compiler.Field 'field') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Block VisitFieldInitializerBlock(class System.Compiler.FieldInitializerBlock block) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.FieldList VisitFieldList(class System.Compiler.FieldList fields) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitFilter(class System.Compiler.Filter 'filter') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.FilterList VisitFilterList(class System.Compiler.FilterList filters) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitFinally(class System.Compiler.Finally Finally) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitFixed(class System.Compiler.Fixed Fixed) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitFor(class System.Compiler.For For) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitForEach(class System.Compiler.ForEach forEach) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitFunctionDeclaration(class System.Compiler.FunctionDeclaration functionDeclaration) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitGoto(class System.Compiler.Goto Goto) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitGotoCase(class System.Compiler.GotoCase gotoCase) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitIdentifier(class System.Compiler.Identifier identifier) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitIf(class System.Compiler.If If) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitImplicitThis(class System.Compiler.ImplicitThis implicitThis) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitIndexer(class System.Compiler.Indexer indexer) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.InterfaceList VisitInterfaceReferenceList(class System.Compiler.InterfaceList interfaceReferences) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitLabeledStatement(class System.Compiler.LabeledStatement lStatement) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitLiteral(class System.Compiler.Literal 'literal') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitLocal(class System.Compiler.Local local) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.LocalDeclaration VisitLocalDeclaration(class System.Compiler.LocalDeclaration localDeclaration) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.LocalDeclarationList VisitLocalDeclarationList(class System.Compiler.LocalDeclarationList localDeclarations) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitLocalDeclarationsStatement(class System.Compiler.LocalDeclarationsStatement localDeclarations) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitLock(class System.Compiler.Lock Lock) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitAcquire(class System.Compiler.Acquire acquire) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitResourceUse(class System.Compiler.ResourceUse resourceUse) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitLRExpression(class System.Compiler.LRExpression expr) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitMemberBinding(class System.Compiler.MemberBinding memberBinding) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.MemberList VisitMemberList(class System.Compiler.MemberList members) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Member VisitMemberReference(class System.Compiler.Member member) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.MemberList VisitMemberReferenceList(class System.Compiler.MemberList members) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Method VisitMethod(class System.Compiler.Method 'method') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitMethodCall(class System.Compiler.MethodCall 'call') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.MethodList VisitMethodList(class System.Compiler.MethodList methods) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.MethodList VisitMethodReferenceList(class System.Compiler.MethodList methods) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Module VisitModule(class System.Compiler.Module module) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Module VisitModuleReference(class System.Compiler.Module module) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.ModuleReference VisitModuleReference(class System.Compiler.ModuleReference moduleReference) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitNameBinding(class System.Compiler.NameBinding nameBinding) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitNamedArgument(class System.Compiler.NamedArgument namedArgument) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Namespace VisitNamespace(class System.Compiler.Namespace nspace) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.NamespaceList VisitNamespaceList(class System.Compiler.NamespaceList namespaces) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.NodeList VisitNodeList(class System.Compiler.NodeList nodes) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitParameter(class System.Compiler.Parameter parameter) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.ParameterList VisitParameterList(class System.Compiler.ParameterList parameterList) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitPrefixExpression(class System.Compiler.PrefixExpression pExpr) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitPostfixExpression(class System.Compiler.PostfixExpression pExpr) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Property VisitProperty(class System.Compiler.Property 'property') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitComprehension(class System.Compiler.Comprehension Comprehension) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.ComprehensionBinding VisitComprehensionBinding(class System.Compiler.ComprehensionBinding comprehensionBinding) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitQualifiedIdentifier(class System.Compiler.QualifiedIdentifier qualifiedIdentifier) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitRepeat(class System.Compiler.Repeat repeat) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitReturn(class System.Compiler.Return Return) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.SecurityAttribute VisitSecurityAttribute(class System.Compiler.SecurityAttribute attribute) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.SecurityAttributeList VisitSecurityAttributeList(class System.Compiler.SecurityAttributeList attributes) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitSetterValue(class System.Compiler.SetterValue 'value') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.StatementList VisitStatementList(class System.Compiler.StatementList statements) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.StatementSnippet VisitStatementSnippet(class System.Compiler.StatementSnippet snippet) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitSwitch(class System.Compiler.Switch Switch) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.SwitchCase VisitSwitchCase(class System.Compiler.SwitchCase switchCase) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.SwitchCaseList VisitSwitchCaseList(class System.Compiler.SwitchCaseList switchCases) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitSwitchInstruction(class System.Compiler.SwitchInstruction switchInstruction) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitTypeswitch(class System.Compiler.Typeswitch Typeswitch) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeswitchCase VisitTypeswitchCase(class System.Compiler.TypeswitchCase typeswitchCase) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeswitchCaseList VisitTypeswitchCaseList(class System.Compiler.TypeswitchCaseList typeswitchCases) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitTernaryExpression(class System.Compiler.TernaryExpression expression) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitThis(class System.Compiler.This This) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitThrow(class System.Compiler.Throw Throw) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitTry(class System.Compiler.Try Try) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeModifier VisitTypeModifier(class System.Compiler.TypeModifier typeModifier) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeNode VisitTypeNode(class System.Compiler.TypeNode 'type') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeNodeList VisitTypeNodeList(class System.Compiler.TypeNodeList types) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeNode VisitTypeParameter(class System.Compiler.TypeNode typeParameter) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeNodeList VisitTypeParameterList(class System.Compiler.TypeNodeList typeParameters) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeNode VisitTypeReference(class System.Compiler.TypeNode 'type') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeNodeList VisitTypeReferenceList(class System.Compiler.TypeNodeList typeReferences) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitUnaryExpression(class System.Compiler.UnaryExpression unaryExpression) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitVariableDeclaration(class System.Compiler.VariableDeclaration variableDeclaration) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.UsedNamespace VisitUsedNamespace(class System.Compiler.UsedNamespace usedNamespace) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.UsedNamespaceList VisitUsedNamespaceList(class System.Compiler.UsedNamespaceList usedNspaces) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitWhile(class System.Compiler.While While) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitYield(class System.Compiler.Yield Yield) - { - ret - } - .field static public class System.Compiler.Block DummyBody - .field public class System.Compiler.TrivialHashtable DuplicateFor - .field public class System.Compiler.TypeNode OriginalTargetType - .field public bool RecordOriginalAsTemplate - .field public bool SkipBodies - .field public class System.Compiler.Module TargetModule - .field public class System.Compiler.TypeNode TargetType - .field public class System.Compiler.TrivialHashtable TypesToBeDuplicated - } - .class public EndFilter - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression 'value') - { - ret - } - .field public class System.Compiler.Expression Value - } - .class public EndFinally - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public EnumNode - extends System.Compiler.TypeNode - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode/TypeAttributeProvider provideAttributes, class System.Compiler.TypeNode/TypeMemberProvider provideMembers, object handle) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Module declaringModule, class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, valuetype System.Compiler.TypeFlags typeAttributes, class System.Compiler.Identifier Namespace, class System.Compiler.Identifier name, class System.Compiler.InterfaceList interfaces, class System.Compiler.MemberList members) - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsUnmanaged() - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNode get_UnderlyingType() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_UnderlyingType(class System.Compiler.TypeNode 'value') - { - ret - } - .field public class System.Compiler.TypeNode UnderlyingTypeExpression - .field family class System.Compiler.TypeNode underlyingType - .property instance bool IsUnmanaged() - { - .get instance bool System.Compiler.EnumNode::get_IsUnmanaged() - } - .property instance class System.Compiler.TypeNode UnderlyingType() - { - .get instance class System.Compiler.TypeNode System.Compiler.EnumNode::get_UnderlyingType() - .set instance void System.Compiler.EnumNode::set_UnderlyingType(class System.Compiler.TypeNode) - } - } - .class public abstract ErrorNode - extends System.Compiler.Node - { - .method family hidebysig specialname - instance void .ctor(int32 code, string[] messageParameters) - { - .param [2] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot - instance string GetErrorNumber() - { - ret - } - .method public hidebysig - instance string GetMessage() - { - ret - } - .method public virtual hidebysig newslot abstract - instance string GetMessage(class [mscorlib]System.Globalization.CultureInfo culture) - { - } - .method public virtual hidebysig newslot - instance string GetMessage(string key, class [mscorlib]System.Resources.ResourceManager rm, class [mscorlib]System.Globalization.CultureInfo culture) - { - ret - } - .method public virtual hidebysig newslot abstract specialname - instance int32 get_Severity() - { - } - .field public int32 Code - .field public string[] MessageParameters - .property instance int32 Severity() - { - .get instance int32 System.Compiler.ErrorNode::get_Severity() - } - } - .class public sealed ErrorNodeList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ErrorNodeList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.ErrorNode get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.ErrorNode Current() - { - .get instance class System.Compiler.ErrorNode System.Compiler.ErrorNodeList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 n) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.ErrorNode element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.ErrorNode get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.ErrorNode 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.ErrorNodeList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.ErrorNode Item(int32) - { - .get instance class System.Compiler.ErrorNode System.Compiler.ErrorNodeList::get_Item(int32) - .set instance void System.Compiler.ErrorNodeList::set_Item(int32, class System.Compiler.ErrorNode) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.ErrorNodeList::get_Length() - } - } - .class public Event - extends System.Compiler.Member - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, valuetype System.Compiler.EventFlags 'flags', class System.Compiler.Identifier name, class System.Compiler.Method handlerAdder, class System.Compiler.Method handlerCaller, class System.Compiler.Method handlerRemover, class System.Compiler.TypeNode handlerType) - { - ret - } - .method public virtual hidebysig specialname - instance string get_FullName() - { - ret - } - .method family virtual hidebysig - instance class System.Compiler.Identifier GetDocumentationId() - { - ret - } - .method public static hidebysig - class System.Compiler.Event GetEvent(class [mscorlib]System.Reflection.EventInfo eventInfo) - { - ret - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.Reflection.EventInfo GetEventInfo() - { - ret - } - .method public hidebysig specialname - instance bool get_IsAbstract() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsCompilerControlled() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamily() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyAndAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyOrAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPrivate() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPublic() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsSpecialName() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStatic() - { - ret - } - .method public hidebysig specialname - instance bool get_IsVirtual() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsVisibleOutsideAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.Member get_OverriddenMember() - { - ret - } - .method public virtual hidebysig specialname - instance void set_OverriddenMember(class System.Compiler.Member 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.Event get_OverriddenEvent() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_OverriddenEvent(class System.Compiler.Event 'value') - { - ret - } - .field public class System.Compiler.Field BackingField - .field public valuetype System.Compiler.EventFlags Flags - .field public class System.Compiler.Method HandlerAdder - .field public class System.Compiler.Method HandlerCaller - .field public valuetype System.Compiler.MethodFlags HandlerFlags - .field public class System.Compiler.Method HandlerRemover - .field public class System.Compiler.TypeNode HandlerType - .field public class System.Compiler.TypeNode HandlerTypeExpression - .field public class System.Compiler.TypeNodeList ImplementedTypeExpressions - .field public class System.Compiler.TypeNodeList ImplementedTypes - .field public class System.Compiler.Expression InitialHandler - .field static public initonly class System.Compiler.Event NotSpecified - .field public class System.Compiler.MethodList OtherMethods - .field family class [mscorlib]System.Reflection.EventInfo eventInfo - .field family string fullName - .field family class System.Compiler.Property overriddenEvent - .property instance string FullName() - { - .get instance string System.Compiler.Event::get_FullName() - } - .property instance bool IsAbstract() - { - .get instance bool System.Compiler.Event::get_IsAbstract() - } - .property instance bool IsAssembly() - { - .get instance bool System.Compiler.Event::get_IsAssembly() - } - .property instance bool IsCompilerControlled() - { - .get instance bool System.Compiler.Event::get_IsCompilerControlled() - } - .property instance bool IsFamily() - { - .get instance bool System.Compiler.Event::get_IsFamily() - } - .property instance bool IsFamilyAndAssembly() - { - .get instance bool System.Compiler.Event::get_IsFamilyAndAssembly() - } - .property instance bool IsFamilyOrAssembly() - { - .get instance bool System.Compiler.Event::get_IsFamilyOrAssembly() - } - .property instance bool IsPrivate() - { - .get instance bool System.Compiler.Event::get_IsPrivate() - } - .property instance bool IsPublic() - { - .get instance bool System.Compiler.Event::get_IsPublic() - } - .property instance bool IsSpecialName() - { - .get instance bool System.Compiler.Event::get_IsSpecialName() - } - .property instance bool IsStatic() - { - .get instance bool System.Compiler.Event::get_IsStatic() - } - .property instance bool IsVirtual() - { - .get instance bool System.Compiler.Event::get_IsVirtual() - } - .property instance bool IsVisibleOutsideAssembly() - { - .get instance bool System.Compiler.Event::get_IsVisibleOutsideAssembly() - } - .property instance class System.Compiler.Event OverriddenEvent() - { - .get instance class System.Compiler.Event System.Compiler.Event::get_OverriddenEvent() - .set instance void System.Compiler.Event::set_OverriddenEvent(class System.Compiler.Event) - } - .property instance class System.Compiler.Member OverriddenMember() - { - .get instance class System.Compiler.Member System.Compiler.Event::get_OverriddenMember() - .set instance void System.Compiler.Event::set_OverriddenMember(class System.Compiler.Member) - } - } - .class public sealed EventFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.EventFlags None = int32(0x00000000) - .field static public literal valuetype System.Compiler.EventFlags RTSpecialName = int32(0x00000400) - .field static public literal valuetype System.Compiler.EventFlags ReservedMask = int32(0x00000400) - .field static public literal valuetype System.Compiler.EventFlags SpecialName = int32(0x00000200) - } - .class public sealed EventList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.EventList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Event get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Event Current() - { - .get instance class System.Compiler.Event System.Compiler.EventList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 n) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Event element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Event get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Event 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.EventList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Event Item(int32) - { - .get instance class System.Compiler.Event System.Compiler.EventList::get_Item(int32) - .set instance void System.Compiler.EventList::set_Item(int32, class System.Compiler.Event) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.EventList::get_Length() - } - } - .class public ExceptionHandler - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field public class System.Compiler.Block BlockAfterHandlerEnd - .field public class System.Compiler.Block BlockAfterTryEnd - .field public class System.Compiler.Block FilterExpression - .field public class System.Compiler.TypeNode FilterType - .field public class System.Compiler.Block HandlerStartBlock - .field public valuetype System.Compiler.NodeType HandlerType - .field public class System.Compiler.Block TryStartBlock - } - .class public sealed ExceptionHandlerList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ExceptionHandlerList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.ExceptionHandler get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.ExceptionHandler Current() - { - .get instance class System.Compiler.ExceptionHandler System.Compiler.ExceptionHandlerList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 n) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.ExceptionHandler element) - { - ret - } - .method public hidebysig - instance class System.Compiler.ExceptionHandlerList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.ExceptionHandler get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.ExceptionHandler 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.ExceptionHandlerList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.ExceptionHandler Item(int32) - { - .get instance class System.Compiler.ExceptionHandler System.Compiler.ExceptionHandlerList::get_Item(int32) - .set instance void System.Compiler.ExceptionHandlerList::set_Item(int32, class System.Compiler.ExceptionHandler) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.ExceptionHandlerList::get_Length() - } - } - .class public Exit - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Literal level) - { - ret - } - .field public class System.Compiler.Literal Level - } - .class public Expose - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor(valuetype System.Compiler.NodeType nodeType) - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Expression Instance - } - .class public Expression - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor(valuetype System.Compiler.NodeType nodeType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(valuetype System.Compiler.NodeType nodeType, class System.Compiler.TypeNode 'type') - { - ret - } - .field public class System.Compiler.TypeNode Type - } - .class public sealed ExpressionList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ExpressionList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Expression get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Expression Current() - { - .get instance class System.Compiler.Expression System.Compiler.ExpressionList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 n) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Expression element) - { - ret - } - .method public hidebysig - instance class System.Compiler.ExpressionList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance void set_Length(int32 'value') - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Expression get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Expression 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.ExpressionList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Expression Item(int32) - { - .get instance class System.Compiler.Expression System.Compiler.ExpressionList::get_Item(int32) - .set instance void System.Compiler.ExpressionList::set_Item(int32, class System.Compiler.Expression) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.ExpressionList::get_Length() - .set instance void System.Compiler.ExpressionList::set_Length(int32) - } - } - .class public ExpressionSnippet - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.IParserFactory parserFactory, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.IParserFactory ParserFactory - } - .class public ExpressionStatement - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Expression Expression - } - .class public FaultHandler - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Block block) - { - ret - } - .field public class System.Compiler.Block Block - } - .class public sealed FaultHandlerList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.FaultHandlerList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.FaultHandler get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.FaultHandler Current() - { - .get instance class System.Compiler.FaultHandler System.Compiler.FaultHandlerList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 n) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.FaultHandler element) - { - ret - } - .method public hidebysig - instance class System.Compiler.FaultHandlerList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.FaultHandler get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.FaultHandler 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.FaultHandlerList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.FaultHandler Item(int32) - { - .get instance class System.Compiler.FaultHandler System.Compiler.FaultHandlerList::get_Item(int32) - .set instance void System.Compiler.FaultHandlerList::set_Item(int32, class System.Compiler.FaultHandler) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.FaultHandlerList::get_Length() - } - } - .class public Field - extends System.Compiler.Member - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, valuetype System.Compiler.FieldFlags 'flags', class System.Compiler.Identifier name, class System.Compiler.TypeNode Type, class System.Compiler.Literal defaultValue) - { - ret - } - .method public virtual hidebysig specialname - instance string get_FullName() - { - ret - } - .method family virtual hidebysig - instance class System.Compiler.Identifier GetDocumentationId() - { - ret - } - .method public static hidebysig - class System.Compiler.Field GetField(class [mscorlib]System.Reflection.FieldInfo fieldInfo) - { - ret - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.Reflection.FieldInfo GetFieldInfo() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsLiteral() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsCompilerControlled() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamily() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyAndAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyOrAssembly() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsInitOnly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPrivate() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPublic() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsSpecialName() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStatic() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsVisibleOutsideAssembly() - { - ret - } - .method public virtual hidebysig newslot - instance object GetValue(object targetObject) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Literal GetValue(class System.Compiler.Literal targetObject) - { - ret - } - .method public virtual hidebysig newslot - instance void SetValue(object targetObject, object 'value') - { - ret - } - .method public virtual hidebysig newslot - instance void SetValue(class System.Compiler.Literal targetObject, class System.Compiler.Literal 'value') - { - ret - } - .field public class System.Compiler.Literal DefaultValue - .field public valuetype System.Compiler.FieldFlags Flags - .field public class System.Compiler.InterfaceList ImplementedInterfaceExpressions - .field public class System.Compiler.InterfaceList ImplementedInterfaces - .field public unsigned int8[] InitialData - .field public class System.Compiler.Expression Initializer - .field public bool IsVolatile - .field public class System.Compiler.MarshallingInformation MarshallingInformation - .field public int32 Offset - .field public valuetype System.Compiler.PESection Section - .field public class System.Compiler.TypeNode Type - .field public class System.Compiler.TypeNode TypeExpression - .field family class [mscorlib]System.Reflection.FieldInfo fieldInfo - .field family string fullName - .property instance string FullName() - { - .get instance string System.Compiler.Field::get_FullName() - } - .property instance bool IsAssembly() - { - .get instance bool System.Compiler.Field::get_IsAssembly() - } - .property instance bool IsCompilerControlled() - { - .get instance bool System.Compiler.Field::get_IsCompilerControlled() - } - .property instance bool IsFamily() - { - .get instance bool System.Compiler.Field::get_IsFamily() - } - .property instance bool IsFamilyAndAssembly() - { - .get instance bool System.Compiler.Field::get_IsFamilyAndAssembly() - } - .property instance bool IsFamilyOrAssembly() - { - .get instance bool System.Compiler.Field::get_IsFamilyOrAssembly() - } - .property instance bool IsInitOnly() - { - .get instance bool System.Compiler.Field::get_IsInitOnly() - } - .property instance bool IsLiteral() - { - .get instance bool System.Compiler.Field::get_IsLiteral() - } - .property instance bool IsPrivate() - { - .get instance bool System.Compiler.Field::get_IsPrivate() - } - .property instance bool IsPublic() - { - .get instance bool System.Compiler.Field::get_IsPublic() - } - .property instance bool IsSpecialName() - { - .get instance bool System.Compiler.Field::get_IsSpecialName() - } - .property instance bool IsStatic() - { - .get instance bool System.Compiler.Field::get_IsStatic() - } - .property instance bool IsVisibleOutsideAssembly() - { - .get instance bool System.Compiler.Field::get_IsVisibleOutsideAssembly() - } - } - .class public sealed FieldFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.FieldFlags Assembly = int32(0x00000003) - .field static public literal valuetype System.Compiler.FieldFlags CompilerControlled = int32(0x00000000) - .field static public literal valuetype System.Compiler.FieldFlags FamANDAssem = int32(0x00000002) - .field static public literal valuetype System.Compiler.FieldFlags FamORAssem = int32(0x00000005) - .field static public literal valuetype System.Compiler.FieldFlags Family = int32(0x00000004) - .field static public literal valuetype System.Compiler.FieldFlags FieldAccessMask = int32(0x00000007) - .field static public literal valuetype System.Compiler.FieldFlags HasDefault = int32(0x00008000) - .field static public literal valuetype System.Compiler.FieldFlags HasFieldMarshal = int32(0x00001000) - .field static public literal valuetype System.Compiler.FieldFlags HasFieldRVA = int32(0x00000100) - .field static public literal valuetype System.Compiler.FieldFlags InitOnly = int32(0x00000020) - .field static public literal valuetype System.Compiler.FieldFlags Literal = int32(0x00000040) - .field static public literal valuetype System.Compiler.FieldFlags None = int32(0x00000000) - .field static public literal valuetype System.Compiler.FieldFlags NotSerialized = int32(0x00000080) - .field static public literal valuetype System.Compiler.FieldFlags PinvokeImpl = int32(0x00002000) - .field static public literal valuetype System.Compiler.FieldFlags Private = int32(0x00000001) - .field static public literal valuetype System.Compiler.FieldFlags Public = int32(0x00000006) - .field static public literal valuetype System.Compiler.FieldFlags RTSpecialName = int32(0x00000400) - .field static public literal valuetype System.Compiler.FieldFlags ReservedMask = int32(0x00009500) - .field static public literal valuetype System.Compiler.FieldFlags SpecialName = int32(0x00000200) - .field static public literal valuetype System.Compiler.FieldFlags Static = int32(0x00000010) - } - .class public FieldInitializerBlock - extends System.Compiler.Block - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode 'type', bool isStatic) - { - ret - } - .field public bool IsStatic - .field public class System.Compiler.TypeNode Type - } - .class public sealed FieldList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.FieldList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Field get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Field Current() - { - .get instance class System.Compiler.Field System.Compiler.FieldList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Field[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Field element) - { - ret - } - .method public hidebysig - instance class System.Compiler.FieldList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Field get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Field 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.FieldList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Field Item(int32) - { - .get instance class System.Compiler.Field System.Compiler.FieldList::get_Item(int32) - .set instance void System.Compiler.FieldList::set_Item(int32, class System.Compiler.Field) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.FieldList::get_Length() - } - } - .class public sealed FileFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.FileFlags ContainsMetaData = int32(0x00000000) - .field static public literal valuetype System.Compiler.FileFlags ContainsNoMetaData = int32(0x00000001) - } - .class public Filter - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Block block, class System.Compiler.Expression expression) - { - ret - } - .field public class System.Compiler.Block Block - .field public class System.Compiler.Expression Expression - } - .class public sealed FilterList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.FilterList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Filter get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Filter Current() - { - .get instance class System.Compiler.Filter System.Compiler.FilterList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Filter element) - { - ret - } - .method public hidebysig - instance class System.Compiler.FilterList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Filter get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Filter 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.FilterList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Filter Item(int32) - { - .get instance class System.Compiler.Filter System.Compiler.FilterList::get_Item(int32) - .set instance void System.Compiler.FilterList::set_Item(int32, class System.Compiler.Filter) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.FilterList::get_Length() - } - } - .class public Finally - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Block block) - { - ret - } - .field public class System.Compiler.Block Block - } - .class public Fixed - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Statement Declarators - .field public class System.Compiler.BlockScope ScopeForTemporaryVariables - } - .class public FlexArrayTypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.TypeNode ElementType - } - .class public For - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.StatementList initializer, class System.Compiler.Expression condition, class System.Compiler.StatementList incrementer, class System.Compiler.Block body) - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Expression Condition - .field public class System.Compiler.StatementList Incrementer - .field public class System.Compiler.StatementList Initializer - } - .class public ForEach - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode targetVariableType, class System.Compiler.Expression targetVariable, class System.Compiler.Expression sourceEnumerable, class System.Compiler.Block body) - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.BlockScope ScopeForTemporaryVariables - .field public class System.Compiler.Expression SourceEnumerable - .field public class System.Compiler.Expression TargetVariable - .field public class System.Compiler.TypeNode TargetVariableType - .field public class System.Compiler.TypeNode TargetVariableTypeExpression - } - .class public FunctionDeclaration - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.ParameterList parameters, class System.Compiler.TypeNode returnType, class System.Compiler.Block body) - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Method Method - .field public class System.Compiler.Identifier Name - .field public class System.Compiler.ParameterList Parameters - .field public class System.Compiler.TypeNode ReturnType - .field public class System.Compiler.TypeNode ReturnTypeExpression - } - .class public FunctionPointer - extends System.Compiler.TypeNode - { - .method public virtual hidebysig specialname - instance bool get_IsStatic() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStructural() - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.TypeNodeList get_StructuralElementTypes() - { - ret - } - .method public virtual hidebysig - instance bool IsStructurallyEquivalentTo(class System.Compiler.TypeNode 'type') - { - ret - } - .method public static hidebysig - class System.Compiler.FunctionPointer For(class System.Compiler.TypeNodeList parameterTypes, class System.Compiler.TypeNode returnType) - { - ret - } - .field public valuetype System.Compiler.CallingConventionFlags CallingConvention - .field public class System.Compiler.TypeNodeList ParameterTypes - .field public class System.Compiler.TypeNode ReturnType - .field public int32 VarArgStart - .field family class System.Compiler.TypeNodeList structuralElementTypes - .property instance bool IsStatic() - { - .get instance bool System.Compiler.FunctionPointer::get_IsStatic() - } - .property instance bool IsStructural() - { - .get instance bool System.Compiler.FunctionPointer::get_IsStructural() - } - .property instance class System.Compiler.TypeNodeList StructuralElementTypes() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.FunctionPointer::get_StructuralElementTypes() - } - } - .class public FunctionType - extends System.Compiler.DelegateNode - { - .method public static hidebysig - class System.Compiler.FunctionType For(class System.Compiler.TypeNode returnType, class System.Compiler.ParameterList parameters, class System.Compiler.TypeNode referringType) - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStructural() - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.TypeNodeList get_StructuralElementTypes() - { - ret - } - .method public virtual hidebysig - instance bool IsStructurallyEquivalentTo(class System.Compiler.TypeNode 'type') - { - ret - } - .field family class System.Compiler.TypeNodeList structuralElementTypes - .property instance bool IsStructural() - { - .get instance bool System.Compiler.FunctionType::get_IsStructural() - } - .property instance class System.Compiler.TypeNodeList StructuralElementTypes() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.FunctionType::get_StructuralElementTypes() - } - } - .class public FunctionTypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode returnType, class System.Compiler.ParameterList parameters) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode returnType, class System.Compiler.ParameterList parameters, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.ParameterList Parameters - .field public class System.Compiler.TypeNode ReturnType - } - .class public GlobalAssemblyCache - extends [mscorlib]System.Object - { - .method public static hidebysig - bool Contains(class [System]System.Uri codeBaseUri) - { - ret - } - .method public static hidebysig - string GetLocation(class System.Compiler.AssemblyReference assemblyReference) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public Goto - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier targetLabel) - { - ret - } - .field public class System.Compiler.Identifier TargetLabel - } - .class public GotoCase - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression caseLabel) - { - ret - } - .field public class System.Compiler.Expression CaseLabel - } - .class public interface abstract import IMetaDataEmit - { - .custom instance void [mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = { string('BA3FEE4C-ECB9-4e41-83B7-183FA41CD859') } - .custom instance void [mscorlib]System.Runtime.InteropServices.InterfaceTypeAttribute::.ctor(valuetype [mscorlib]System.Runtime.InteropServices.ComInterfaceType) = { int32(1) } - .method public virtual hidebysig newslot abstract - instance void SetModuleProps(string szName) - { - } - .method public virtual hidebysig newslot abstract - instance void Save(string szFile, unsigned int32 dwSaveFlags) - { - } - .method public virtual hidebysig newslot abstract - instance void SaveToStream(void* pIStream, unsigned int32 dwSaveFlags) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetSaveSize(unsigned int32 fSave) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineTypeDef(char* szTypeDef, unsigned int32 dwTypeDefFlags, unsigned int32 tkExtends, unsigned int32* rtkImplements) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineNestedType(char* szTypeDef, unsigned int32 dwTypeDefFlags, unsigned int32 tkExtends, unsigned int32* rtkImplements, unsigned int32 tdEncloser) - { - } - .method public virtual hidebysig newslot abstract - instance void SetHandler([in] object marshal(iunknown) pUnk) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineMethod(unsigned int32 td, char* zName, unsigned int32 dwMethodFlags, unsigned int8* pvSigBlob, unsigned int32 cbSigBlob, unsigned int32 ulCodeRVA, unsigned int32 dwImplFlags) - { - } - .method public virtual hidebysig newslot abstract - instance void DefineMethodImpl(unsigned int32 td, unsigned int32 tkBody, unsigned int32 tkDecl) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineTypeRefByName(unsigned int32 tkResolutionScope, char* szName) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineImportType(native int pAssemImport, void* pbHashValue, unsigned int32 cbHashValue, class System.Compiler.IMetaDataImport pImport, unsigned int32 tdImport, native int pAssemEmit) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineMemberRef(unsigned int32 tkImport, string szName, unsigned int8* pvSigBlob, unsigned int32 cbSigBlob) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineImportMember(native int pAssemImport, void* pbHashValue, unsigned int32 cbHashValue, class System.Compiler.IMetaDataImport pImport, unsigned int32 mbMember, native int pAssemEmit, unsigned int32 tkParent) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineEvent(unsigned int32 td, string szEvent, unsigned int32 dwEventFlags, unsigned int32 tkEventType, unsigned int32 mdAddOn, unsigned int32 mdRemoveOn, unsigned int32 mdFire, unsigned int32* rmdOtherMethods) - { - } - .method public virtual hidebysig newslot abstract - instance void SetClassLayout(unsigned int32 td, unsigned int32 dwPackSize, valuetype 'System.Compiler.COR_FIELD_OFFSET'* rFieldOffsets, unsigned int32 ulClassSize) - { - } - .method public virtual hidebysig newslot abstract - instance void DeleteClassLayout(unsigned int32 td) - { - } - .method public virtual hidebysig newslot abstract - instance void SetFieldMarshal(unsigned int32 tk, unsigned int8* pvNativeType, unsigned int32 cbNativeType) - { - } - .method public virtual hidebysig newslot abstract - instance void DeleteFieldMarshal(unsigned int32 tk) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefinePermissionSet(unsigned int32 tk, unsigned int32 dwAction, void* pvPermission, unsigned int32 cbPermission) - { - } - .method public virtual hidebysig newslot abstract - instance void SetRVA(unsigned int32 md, unsigned int32 ulRVA) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetTokenFromSig(unsigned int8* pvSig, unsigned int32 cbSig) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineModuleRef(string szName) - { - } - .method public virtual hidebysig newslot abstract - instance void SetParent(unsigned int32 mr, unsigned int32 tk) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetTokenFromTypeSpec(unsigned int8* pvSig, unsigned int32 cbSig) - { - } - .method public virtual hidebysig newslot abstract - instance void SaveToMemory(void* pbData, unsigned int32 cbData) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineUserString(string szString, unsigned int32 cchString) - { - } - .method public virtual hidebysig newslot abstract - instance void DeleteToken(unsigned int32 tkObj) - { - } - .method public virtual hidebysig newslot abstract - instance void SetMethodProps(unsigned int32 md, unsigned int32 dwMethodFlags, unsigned int32 ulCodeRVA, unsigned int32 dwImplFlags) - { - } - .method public virtual hidebysig newslot abstract - instance void SetTypeDefProps(unsigned int32 td, unsigned int32 dwTypeDefFlags, unsigned int32 tkExtends, unsigned int32* rtkImplements) - { - } - .method public virtual hidebysig newslot abstract - instance void SetEventProps(unsigned int32 ev, unsigned int32 dwEventFlags, unsigned int32 tkEventType, unsigned int32 mdAddOn, unsigned int32 mdRemoveOn, unsigned int32 mdFire, unsigned int32* rmdOtherMethods) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 SetPermissionSetProps(unsigned int32 tk, unsigned int32 dwAction, void* pvPermission, unsigned int32 cbPermission) - { - } - .method public virtual hidebysig newslot abstract - instance void DefinePinvokeMap(unsigned int32 tk, unsigned int32 dwMappingFlags, string szImportName, unsigned int32 mrImportDLL) - { - } - .method public virtual hidebysig newslot abstract - instance void SetPinvokeMap(unsigned int32 tk, unsigned int32 dwMappingFlags, string szImportName, unsigned int32 mrImportDLL) - { - } - .method public virtual hidebysig newslot abstract - instance void DeletePinvokeMap(unsigned int32 tk) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineCustomAttribute(unsigned int32 tkObj, unsigned int32 tkType, void* pCustomAttribute, unsigned int32 cbCustomAttribute) - { - } - .method public virtual hidebysig newslot abstract - instance void SetCustomAttributeValue(unsigned int32 pcv, void* pCustomAttribute, unsigned int32 cbCustomAttribute) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineField(unsigned int32 td, string szName, unsigned int32 dwFieldFlags, unsigned int8* pvSigBlob, unsigned int32 cbSigBlob, unsigned int32 dwCPlusTypeFlag, void* pValue, unsigned int32 cchValue) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineProperty(unsigned int32 td, string szProperty, unsigned int32 dwPropFlags, unsigned int8* pvSig, unsigned int32 cbSig, unsigned int32 dwCPlusTypeFlag, void* pValue, unsigned int32 cchValue, unsigned int32 mdSetter, unsigned int32 mdGetter, unsigned int32* rmdOtherMethods) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineParam(unsigned int32 md, unsigned int32 ulParamSeq, string szName, unsigned int32 dwParamFlags, unsigned int32 dwCPlusTypeFlag, void* pValue, unsigned int32 cchValue) - { - } - .method public virtual hidebysig newslot abstract - instance void SetFieldProps(unsigned int32 fd, unsigned int32 dwFieldFlags, unsigned int32 dwCPlusTypeFlag, void* pValue, unsigned int32 cchValue) - { - } - .method public virtual hidebysig newslot abstract - instance void SetPropertyProps(unsigned int32 pr, unsigned int32 dwPropFlags, unsigned int32 dwCPlusTypeFlag, void* pValue, unsigned int32 cchValue, unsigned int32 mdSetter, unsigned int32 mdGetter, unsigned int32* rmdOtherMethods) - { - } - .method public virtual hidebysig newslot abstract - instance void SetParamProps(unsigned int32 pd, string szName, unsigned int32 dwParamFlags, unsigned int32 dwCPlusTypeFlag, void* pValue, unsigned int32 cchValue) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 DefineSecurityAttributeSet(unsigned int32 tkObj, native int rSecAttrs, unsigned int32 cSecAttrs) - { - } - .method public virtual hidebysig newslot abstract - instance void ApplyEditAndContinue(object marshal(iunknown) pImport) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 TranslateSigWithScope(native int pAssemImport, void* pbHashValue, unsigned int32 cbHashValue, class System.Compiler.IMetaDataImport 'import', unsigned int8* pbSigBlob, unsigned int32 cbSigBlob, native int pAssemEmit, class System.Compiler.IMetaDataEmit emit, unsigned int8* pvTranslatedSig, unsigned int32 cbTranslatedSigMax) - { - } - .method public virtual hidebysig newslot abstract - instance void SetMethodImplFlags(unsigned int32 md, unsigned int32 dwImplFlags) - { - } - .method public virtual hidebysig newslot abstract - instance void SetFieldRVA(unsigned int32 fd, unsigned int32 ulRVA) - { - } - .method public virtual hidebysig newslot abstract - instance void Merge(class System.Compiler.IMetaDataImport pImport, native int pHostMapToken, object marshal(iunknown) pHandler) - { - } - .method public virtual hidebysig newslot abstract - instance void MergeEnd() - { - } - } - .class public interface abstract import IMetaDataImport - { - .custom instance void [mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = { string('7DAC8207-D3AE-4c75-9B67-92801A497D44') } - .custom instance void [mscorlib]System.Runtime.InteropServices.InterfaceTypeAttribute::.ctor(valuetype [mscorlib]System.Runtime.InteropServices.ComInterfaceType) = { int32(1) } - .method public virtual hidebysig newslot abstract - instance void CloseEnum(unsigned int32 hEnum) - preservesig - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 CountEnum(unsigned int32 hEnum) - { - } - .method public virtual hidebysig newslot abstract - instance void ResetEnum(unsigned int32 hEnum, unsigned int32 ulPos) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumTypeDefs(unsigned int32& phEnum, unsigned int32[] marshal([ + 2]) rTypeDefs, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumInterfaceImpls(unsigned int32& phEnum, unsigned int32 td, unsigned int32[] marshal([ + 3]) rImpls, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumTypeRefs(unsigned int32& phEnum, unsigned int32[] marshal([ + 2]) rTypeRefs, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 FindTypeDefByName(string szTypeDef, unsigned int32 tkEnclosingClass) - { - } - .method public virtual hidebysig newslot abstract - instance valuetype [mscorlib]System.Guid GetScopeProps(class [mscorlib]System.Text.StringBuilder szName, unsigned int32 cchName, [out] unsigned int32& pchName) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetModuleFromScope() - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetTypeDefProps(unsigned int32 td, native int szTypeDef, unsigned int32 cchTypeDef, [out] unsigned int32& pchTypeDef, native int pdwTypeDefFlags) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetInterfaceImplProps(unsigned int32 iiImpl, [out] unsigned int32& pClass) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetTypeRefProps(unsigned int32 tr, [out] unsigned int32& ptkResolutionScope, class [mscorlib]System.Text.StringBuilder szName, unsigned int32 cchName) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 ResolveTypeRef(unsigned int32 tr, [in] valuetype [mscorlib]System.Guid& riid, [out] object& marshal(interface) ppIScope) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumMembers(unsigned int32& phEnum, unsigned int32 cl, unsigned int32[] marshal([ + 3]) rMembers, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumMembersWithName(unsigned int32& phEnum, unsigned int32 cl, string szName, unsigned int32[] marshal([ + 4]) rMembers, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumMethods(unsigned int32& phEnum, unsigned int32 cl, unsigned int32* rMethods, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumMethodsWithName(unsigned int32& phEnum, unsigned int32 cl, string szName, unsigned int32[] marshal([ + 4]) rMethods, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumFields(unsigned int32& phEnum, unsigned int32 cl, unsigned int32* rFields, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumFieldsWithName(unsigned int32& phEnum, unsigned int32 cl, string szName, unsigned int32[] marshal([ + 4]) rFields, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumParams(unsigned int32& phEnum, unsigned int32 mb, unsigned int32[] marshal([ + 3]) rParams, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumMemberRefs(unsigned int32& phEnum, unsigned int32 tkParent, unsigned int32[] marshal([ + 3]) rMemberRefs, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumMethodImpls(unsigned int32& phEnum, unsigned int32 td, unsigned int32[] marshal([ + 4]) rMethodBody, unsigned int32[] marshal([ + 4]) rMethodDecl, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumPermissionSets(unsigned int32& phEnum, unsigned int32 tk, unsigned int32 dwActions, unsigned int32[] marshal([ + 4]) rPermission, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 FindMember(unsigned int32 td, string szName, unsigned int8[] marshal([ + 3]) pvSigBlob, unsigned int32 cbSigBlob) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 FindMethod(unsigned int32 td, string szName, unsigned int8[] marshal([ + 3]) pvSigBlob, unsigned int32 cbSigBlob) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 FindField(unsigned int32 td, string szName, unsigned int8[] marshal([ + 3]) pvSigBlob, unsigned int32 cbSigBlob) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 FindMemberRef(unsigned int32 td, string szName, unsigned int8[] marshal([ + 3]) pvSigBlob, unsigned int32 cbSigBlob) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetMethodProps(unsigned int32 mb, [out] unsigned int32& pClass, native int szMethod, unsigned int32 cchMethod, [out] unsigned int32& pchMethod, native int pdwAttr, native int ppvSigBlob, native int pcbSigBlob, native int pulCodeRVA) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetMemberRefProps(unsigned int32 mr, unsigned int32& ptk, class [mscorlib]System.Text.StringBuilder szMember, unsigned int32 cchMember, [out] unsigned int32& pchMember, [out] unsigned int8*& ppvSigBlob) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumProperties(unsigned int32& phEnum, unsigned int32 td, unsigned int32* rProperties, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumEvents(unsigned int32& phEnum, unsigned int32 td, unsigned int32* rEvents, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetEventProps(unsigned int32 ev, [out] unsigned int32& pClass, class [mscorlib]System.Text.StringBuilder szEvent, unsigned int32 cchEvent, [out] unsigned int32& pchEvent, [out] unsigned int32& pdwEventFlags, [out] unsigned int32& ptkEventType, [out] unsigned int32& pmdAddOn, [out] unsigned int32& pmdRemoveOn, [out] unsigned int32& pmdFire, unsigned int32[] marshal([ + 11]) rmdOtherMethod, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumMethodSemantics(unsigned int32& phEnum, unsigned int32 mb, unsigned int32[] marshal([ + 3]) rEventProp, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetMethodSemantics(unsigned int32 mb, unsigned int32 tkEventProp) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetClassLayout(unsigned int32 td, [out] unsigned int32& pdwPackSize, valuetype 'System.Compiler.COR_FIELD_OFFSET'[] marshal([ + 3]) rFieldOffset, unsigned int32 cMax, [out] unsigned int32& pcFieldOffset) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetFieldMarshal(unsigned int32 tk, [out] unsigned int8*& ppvNativeType) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetRVA(unsigned int32 tk, [out] unsigned int32& pulCodeRVA) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetPermissionSetProps(unsigned int32 pm, [out] unsigned int32& pdwAction, [out] void*& ppvPermission) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetSigFromToken(unsigned int32 mdSig, [out] unsigned int8*& ppvSig) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetModuleRefProps(unsigned int32 mur, class [mscorlib]System.Text.StringBuilder szName, unsigned int32 cchName) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumModuleRefs(unsigned int32& phEnum, unsigned int32[] marshal([ + 2]) rModuleRefs, unsigned int32 cmax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetTypeSpecFromToken(unsigned int32 typespec, [out] unsigned int8*& ppvSig) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetNameFromToken(unsigned int32 tk) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumUnresolvedMethods(unsigned int32& phEnum, unsigned int32[] marshal([ + 2]) rMethods, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetUserString(unsigned int32 stk, class [mscorlib]System.Text.StringBuilder szString, unsigned int32 cchString) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetPinvokeMap(unsigned int32 tk, [out] unsigned int32& pdwMappingFlags, class [mscorlib]System.Text.StringBuilder szImportName, unsigned int32 cchImportName, [out] unsigned int32& pchImportName) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumSignatures(unsigned int32& phEnum, unsigned int32[] marshal([ + 2]) rSignatures, unsigned int32 cmax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumTypeSpecs(unsigned int32& phEnum, unsigned int32[] marshal([ + 2]) rTypeSpecs, unsigned int32 cmax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumUserStrings(unsigned int32& phEnum, unsigned int32[] marshal([ + 2]) rStrings, unsigned int32 cmax) - { - } - .method public virtual hidebysig newslot abstract - instance int32 GetParamForMethodIndex(unsigned int32 md, unsigned int32 ulParamSeq, [out] unsigned int32& pParam) - preservesig - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 EnumCustomAttributes(unsigned int32& phEnum, unsigned int32 tk, unsigned int32 tkType, unsigned int32[] marshal([ + 4]) rCustomAttributes, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetCustomAttributeProps(unsigned int32 cv, [out] unsigned int32& ptkObj, [out] unsigned int32& ptkType, [out] void*& ppBlob) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 FindTypeRef(unsigned int32 tkResolutionScope, string szName) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetMemberProps(unsigned int32 mb, [out] unsigned int32& pClass, class [mscorlib]System.Text.StringBuilder szMember, unsigned int32 cchMember, [out] unsigned int32& pchMember, [out] unsigned int32& pdwAttr, [out] unsigned int8*& ppvSigBlob, [out] unsigned int32& pcbSigBlob, [out] unsigned int32& pulCodeRVA, [out] unsigned int32& pdwImplFlags, [out] unsigned int32& pdwCPlusTypeFlag, [out] void*& ppValue) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetFieldProps(unsigned int32 mb, [out] unsigned int32& pClass, class [mscorlib]System.Text.StringBuilder szField, unsigned int32 cchField, [out] unsigned int32& pchField, [out] unsigned int32& pdwAttr, [out] unsigned int8*& ppvSigBlob, [out] unsigned int32& pcbSigBlob, [out] unsigned int32& pdwCPlusTypeFlag, [out] void*& ppValue) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetPropertyProps(unsigned int32 prop, [out] unsigned int32& pClass, class [mscorlib]System.Text.StringBuilder szProperty, unsigned int32 cchProperty, [out] unsigned int32& pchProperty, [out] unsigned int32& pdwPropFlags, [out] unsigned int8*& ppvSig, [out] unsigned int32& pbSig, [out] unsigned int32& pdwCPlusTypeFlag, [out] void*& ppDefaultValue, [out] unsigned int32& pcchDefaultValue, [out] unsigned int32& pmdSetter, [out] unsigned int32& pmdGetter, unsigned int32[] marshal([ + 14]) rmdOtherMethod, unsigned int32 cMax) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetParamProps(unsigned int32 tk, [out] unsigned int32& pmd, [out] unsigned int32& pulSequence, class [mscorlib]System.Text.StringBuilder szName, unsigned int32 cchName, [out] unsigned int32& pchName, [out] unsigned int32& pdwAttr, [out] unsigned int32& pdwCPlusTypeFlag, [out] void*& ppValue) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetCustomAttributeByName(unsigned int32 tkObj, string szName, [out] void*& ppData) - { - } - .method public virtual hidebysig newslot abstract - instance bool marshal(bool) IsValidToken(unsigned int32 tk) - preservesig - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetNestedClassProps(unsigned int32 tdNestedClass) - { - } - .method public virtual hidebysig newslot abstract - instance unsigned int32 GetNativeCallConvFromSig(void* pvSig, unsigned int32 cbSig) - { - } - .method public virtual hidebysig newslot abstract - instance int32 IsGlobal(unsigned int32 pd) - { - } - } - .class public interface abstract IParser - { - .method public virtual hidebysig newslot abstract - instance void ParseCompilationUnit(class System.Compiler.CompilationUnit compilationUnit) - { - } - .method public virtual hidebysig newslot abstract - instance class System.Compiler.Expression ParseExpression() - { - } - .method public virtual hidebysig newslot abstract - instance void ParseStatements(class System.Compiler.StatementList statements) - { - } - .method public virtual hidebysig newslot abstract - instance void ParseTypeMembers(class System.Compiler.TypeNode 'type') - { - } - } - .class public interface abstract IParserFactory - { - .method public virtual hidebysig newslot abstract - instance class System.Compiler.IParser CreateParser(string fileName, int32 lineNumber, class System.Compiler.DocumentText text, class System.Compiler.Module symbolTable, class System.Compiler.ErrorNodeList errorNodes, class [System]System.CodeDom.Compiler.CompilerParameters options) - { - } - } - .class public interface abstract ISourceText - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .method public virtual hidebysig newslot abstract specialname - instance int32 get_Length() - { - } - .method public virtual hidebysig newslot abstract - instance string Substring(int32 startIndex, int32 length) - { - } - .method public virtual hidebysig newslot abstract specialname - instance char get_Item(int32 position) - { - } - .method public virtual hidebysig newslot abstract - instance void MakeCollectible() - { - } - .property instance char Item(int32) - { - .get instance char System.Compiler.ISourceText::get_Item(int32) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.ISourceText::get_Length() - } - } - .class public interface abstract ISourceTextBuffer - implements System.Compiler.ISourceText - { - .method public virtual hidebysig newslot abstract specialname - instance unsigned int8* get_Buffer() - { - } - .property instance unsigned int8* Buffer() - { - .get instance unsigned int8* System.Compiler.ISourceTextBuffer::get_Buffer() - } - } - .class public sealed ISourceTextList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ISourceTextList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.ISourceText get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.ISourceText Current() - { - .get instance class System.Compiler.ISourceText System.Compiler.ISourceTextList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ISourceText[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.ISourceText element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.ISourceText get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.ISourceText 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.ISourceTextList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.ISourceText Item(int32) - { - .get instance class System.Compiler.ISourceText System.Compiler.ISourceTextList::get_Item(int32) - .set instance void System.Compiler.ISourceTextList::set_Item(int32, class System.Compiler.ISourceText) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.ISourceTextList::get_Length() - } - } - .class public interface abstract ISymbolicTypeReference - { - } - .class public interface abstract ITypeParameter - { - .method public virtual hidebysig newslot abstract specialname - instance class System.Compiler.Member get_DeclaringMember() - { - } - .method public virtual hidebysig newslot abstract specialname - instance void set_DeclaringMember(class System.Compiler.Member 'value') - { - } - .method public virtual hidebysig newslot abstract specialname - instance int32 get_ParameterListIndex() - { - } - .method public virtual hidebysig newslot abstract specialname - instance void set_ParameterListIndex(int32 'value') - { - } - .method public virtual hidebysig newslot abstract specialname - instance valuetype System.Compiler.TypeParameterFlags get_TypeParameterFlags() - { - } - .method public virtual hidebysig newslot abstract specialname - instance void set_TypeParameterFlags(valuetype System.Compiler.TypeParameterFlags 'value') - { - } - .method public virtual hidebysig newslot abstract specialname - instance bool get_IsUnmanaged() - { - } - .property instance class System.Compiler.Member DeclaringMember() - { - .get instance class System.Compiler.Member System.Compiler.ITypeParameter::get_DeclaringMember() - .set instance void System.Compiler.ITypeParameter::set_DeclaringMember(class System.Compiler.Member) - } - .property instance bool IsUnmanaged() - { - .get instance bool System.Compiler.ITypeParameter::get_IsUnmanaged() - } - .property instance int32 ParameterListIndex() - { - .get instance int32 System.Compiler.ITypeParameter::get_ParameterListIndex() - .set instance void System.Compiler.ITypeParameter::set_ParameterListIndex(int32) - } - .property instance valuetype System.Compiler.TypeParameterFlags TypeParameterFlags() - { - .get instance valuetype System.Compiler.TypeParameterFlags System.Compiler.ITypeParameter::get_TypeParameterFlags() - .set instance void System.Compiler.ITypeParameter::set_TypeParameterFlags(valuetype System.Compiler.TypeParameterFlags) - } - } - .class public interface abstract IUniqueKey - { - .method public virtual hidebysig newslot abstract specialname - instance int32 get_UniqueId() - { - } - .property instance int32 UniqueId() - { - .get instance int32 System.Compiler.IUniqueKey::get_UniqueId() - } - } - .class public sealed Identifier - extends System.Compiler.Expression - { - .method public static hidebysig - class System.Compiler.Identifier For(valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public static hidebysig - class System.Compiler.Identifier For(string name) - { - ret - } - .method public hidebysig specialname - instance string get_Name() - { - ret - } - .method public virtual hidebysig - instance string ToString() - { - ret - } - .method public hidebysig specialname - instance int32 get_UniqueIdKey() - { - ret - } - .method public virtual hidebysig specialname - instance int32 get_UniqueKey() - { - ret - } - .field static public class System.Compiler.Identifier Empty - .field public class System.Compiler.Identifier Prefix - .property instance string Name() - { - .get instance string System.Compiler.Identifier::get_Name() - } - .property instance int32 UniqueIdKey() - { - .get instance int32 System.Compiler.Identifier::get_UniqueIdKey() - } - .property instance int32 UniqueKey() - { - .get instance int32 System.Compiler.Identifier::get_UniqueKey() - } - } - .class public sealed IdentifierList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.IdentifierList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Identifier get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Identifier Current() - { - .get instance class System.Compiler.Identifier System.Compiler.IdentifierList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Identifier element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance void set_Length(int32 'value') - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Identifier get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Identifier 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.IdentifierList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Identifier Item(int32) - { - .get instance class System.Compiler.Identifier System.Compiler.IdentifierList::get_Item(int32) - .set instance void System.Compiler.IdentifierList::set_Item(int32, class System.Compiler.Identifier) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.IdentifierList::get_Length() - .set instance void System.Compiler.IdentifierList::set_Length(int32) - } - } - .class public If - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression condition, class System.Compiler.Block trueBlock, class System.Compiler.Block falseBlock) - { - ret - } - .field public class System.Compiler.Expression Condition - .field public valuetype System.Compiler.SourceContext ConditionContext - .field public valuetype System.Compiler.SourceContext ElseContext - .field public valuetype System.Compiler.SourceContext EndIfContext - .field public class System.Compiler.Block FalseBlock - .field public class System.Compiler.Block TrueBlock - } - .class public ImplicitThis - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Class mostNestedScope, int32 lexLevel) - { - ret - } - .field public int32 LexLevel - .field public class System.Compiler.Class MostNestedScope - } - .class public Indexer - extends System.Compiler.NaryExpression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression Object, class System.Compiler.ExpressionList arguments) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression Object, class System.Compiler.ExpressionList arguments, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression Object, class System.Compiler.ExpressionList arguments, class System.Compiler.TypeNode elementType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression Object, class System.Compiler.ExpressionList arguments, class System.Compiler.TypeNode elementType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Property CorrespondingDefaultIndexedProperty - .field public class System.Compiler.TypeNode ElementType - .field public bool NoNullCheck - .field public bool NoRangeCheck - .field public bool NoTypeCheck - .field public class System.Compiler.Expression Object - } - .class public InstanceInitializer - extends System.Compiler.Method - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Method/MethodBodyProvider provider, object handle) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, class System.Compiler.ParameterList parameters, class System.Compiler.Block body) - { - ret - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.Reflection.ConstructorInfo GetConstructorInfo() - { - ret - } - .method public virtual hidebysig - instance class [mscorlib]System.Reflection.MethodInfo GetMethodInfo() - { - ret - } - .method public virtual hidebysig newslot - instance object Invoke(object[] arguments) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Literal Invoke(class System.Compiler.Literal[] arguments) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .field family class [mscorlib]System.Reflection.ConstructorInfo constructorInfo - } - .class public Instruction - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(valuetype System.Compiler.OpCode opCode, int32 offset) - { - ret - } - .method public hidebysig specialname - instance void .ctor(valuetype System.Compiler.OpCode opCode, int32 offset, object 'value') - { - ret - } - .field public int32 Offset - .field public valuetype System.Compiler.OpCode OpCode - .field public object Value - } - .class public sealed InstructionList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.InstructionList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Instruction get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Instruction Current() - { - .get instance class System.Compiler.Instruction System.Compiler.InstructionList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Instruction element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance void set_Length(int32 'value') - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Instruction get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Instruction 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.InstructionList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Instruction Item(int32) - { - .get instance class System.Compiler.Instruction System.Compiler.InstructionList::get_Item(int32) - .set instance void System.Compiler.InstructionList::set_Item(int32, class System.Compiler.Instruction) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.InstructionList::get_Length() - .set instance void System.Compiler.InstructionList::set_Length(int32) - } - } - .class public sealed Int32List - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Int32List list) - { - ret - } - .method public hidebysig specialname - instance int32 get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance int32 Current() - { - .get instance int32 System.Compiler.Int32List/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(int32 element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance int32 get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, int32 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.Int32List/Enumerator GetEnumerator() - { - ret - } - .property instance int32 Item(int32) - { - .get instance int32 System.Compiler.Int32List::get_Item(int32) - .set instance void System.Compiler.Int32List::set_Item(int32, int32) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.Int32List::get_Length() - } - } - .class public Interface - extends System.Compiler.TypeNode - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.InterfaceList baseInterfaces) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.InterfaceList baseInterfaces, class System.Compiler.TypeNode/TypeAttributeProvider provideAttributes, class System.Compiler.TypeNode/TypeMemberProvider provideMembers, object handle) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Module declaringModule, class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, valuetype System.Compiler.TypeFlags 'flags', class System.Compiler.Identifier Namespace, class System.Compiler.Identifier name, class System.Compiler.InterfaceList baseInterfaces, class System.Compiler.MemberList members) - { - ret - } - .method public virtual hidebysig - instance void GetAbstractMethods(class System.Compiler.MethodList result) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.MemberList GetAllMembersNamed(class System.Compiler.Identifier name) - { - ret - } - .field family class System.Compiler.TrivialHashtable jointMemberTable - } - .class public InterfaceExpression - extends System.Compiler.Interface - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Expression Expression - } - .class public sealed InterfaceList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.InterfaceList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Interface get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Interface Current() - { - .get instance class System.Compiler.Interface System.Compiler.InterfaceList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Interface[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Interface element) - { - ret - } - .method public hidebysig - instance class System.Compiler.InterfaceList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance void set_Length(int32 'value') - { - ret - } - .method public hidebysig - instance int32 SearchFor(class System.Compiler.Interface element) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Interface get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Interface 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.InterfaceList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Interface Item(int32) - { - .get instance class System.Compiler.Interface System.Compiler.InterfaceList::get_Item(int32) - .set instance void System.Compiler.InterfaceList::set_Item(int32, class System.Compiler.Interface) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.InterfaceList::get_Length() - .set instance void System.Compiler.InterfaceList::set_Length(int32) - } - } - .class public InvariantTypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.TypeNode ElementType - } - .class public KeyFileNotFoundException - extends [mscorlib]System.ArgumentException - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public LRExpression - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression) - { - ret - } - .field public class System.Compiler.Expression Expression - .field public class System.Compiler.ExpressionList SubexpressionsToEvaluateOnce - .field public class System.Compiler.LocalList Temporaries - } - .class public LabeledStatement - extends System.Compiler.Block - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field public class System.Compiler.Identifier Label - .field public class System.Compiler.Statement Statement - } - .class public Literal - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(object Value) - { - ret - } - .method public hidebysig specialname - instance void .ctor(object Value, class System.Compiler.TypeNode 'type') - { - ret - } - .method public hidebysig specialname - instance void .ctor(object Value, class System.Compiler.TypeNode 'type', valuetype System.Compiler.SourceContext sourceContext) - { - ret - } - .method public virtual hidebysig - instance string ToString() - { - ret - } - .method public static hidebysig - void Initialize() - { - ret - } - .method public static hidebysig - void ClearStatics() - { - ret - } - .field static public class System.Compiler.Literal DoubleOne - .field static public class System.Compiler.Literal False - .field static public class System.Compiler.Literal Int32MinusOne - .field static public class System.Compiler.Literal Int32One - .field static public class System.Compiler.Literal Int32Sixteen - .field static public class System.Compiler.Literal Int32Two - .field static public class System.Compiler.Literal Int32Zero - .field static public class System.Compiler.Literal Int64One - .field static public class System.Compiler.Literal Int64Zero - .field static public class System.Compiler.Literal Null - .field static public class System.Compiler.Literal SingleOne - .field public class System.Compiler.Expression SourceExpression - .field static public class System.Compiler.Literal True - .field public bool TypeWasExplicitlySpecifiedInSource - .field public object Value - } - .class public Local - extends System.Compiler.Variable - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode 'type') - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode 'type', valuetype System.Compiler.SourceContext context) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.TypeNode 'type') - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.TypeNode 'type', valuetype System.Compiler.SourceContext context) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.TypeNode 'type', class System.Compiler.Block declaringBlock) - { - ret - } - .field public class System.Compiler.Block DeclaringBlock - .field public int32 Index - .field public bool InitOnly - .field public bool Pinned - } - .class public LocalBinding - extends System.Compiler.Local - implements System.Compiler.IUniqueKey - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Local boundLocal, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public virtual hidebysig - instance int32 GetHashCode() - { - ret - } - .method public virtual hidebysig - instance bool Equals(object obj) - { - ret - } - .method private final virtual hidebysig newslot specialname - instance int32 System.Compiler.IUniqueKey.get_UniqueId() - { - .override System.Compiler.IUniqueKey::get_UniqueId - ret - } - .field public class System.Compiler.Local BoundLocal - .property instance int32 System.Compiler.IUniqueKey.UniqueId() - { - .get instance int32 System.Compiler.LocalBinding::System.Compiler.IUniqueKey.get_UniqueId() - } - } - .class public LocalDeclaration - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.Expression initialValue) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.Expression initialValue, valuetype System.Compiler.NodeType assignmentNodeType) - { - ret - } - .field public valuetype System.Compiler.NodeType AssignmentNodeType - .field public class System.Compiler.Field Field - .field public class System.Compiler.Expression InitialValue - .field public class System.Compiler.Identifier Name - } - .class public sealed LocalDeclarationList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.LocalDeclarationList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.LocalDeclaration get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.LocalDeclaration Current() - { - .get instance class System.Compiler.LocalDeclaration System.Compiler.LocalDeclarationList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.LocalDeclaration element) - { - ret - } - .method public hidebysig - instance class System.Compiler.LocalDeclarationList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.LocalDeclaration get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.LocalDeclaration 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.LocalDeclarationList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.LocalDeclaration Item(int32) - { - .get instance class System.Compiler.LocalDeclaration System.Compiler.LocalDeclarationList::get_Item(int32) - .set instance void System.Compiler.LocalDeclarationList::set_Item(int32, class System.Compiler.LocalDeclaration) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.LocalDeclarationList::get_Length() - } - } - .class public LocalDeclarationsStatement - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.LocalDeclaration ldecl, class System.Compiler.TypeNode 'type') - { - ret - } - .field public bool Constant - .field public class System.Compiler.LocalDeclarationList Declarations - .field public bool InitOnly - .field public class System.Compiler.TypeNode Type - .field public class System.Compiler.TypeNode TypeExpression - } - .class public sealed LocalList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.LocalList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Local get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Local Current() - { - .get instance class System.Compiler.Local System.Compiler.LocalList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Local element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Local get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Local 'value') - { - ret - } - .property instance class System.Compiler.Local Item(int32) - { - .get instance class System.Compiler.Local System.Compiler.LocalList::get_Item(int32) - .set instance void System.Compiler.LocalList::set_Item(int32, class System.Compiler.Local) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.LocalList::get_Length() - } - } - .class public Lock - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Expression Guard - .field public class System.Compiler.BlockScope ScopeForTemporaryVariable - } - .class public sealed MarshallingInformation - extends [mscorlib]System.Object - { - .method public hidebysig - instance class System.Compiler.MarshallingInformation Clone() - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field public string Class - .field public string Cookie - .field public int32 ElementSize - .field public valuetype System.Compiler.NativeType ElementType - .field public valuetype System.Compiler.NativeType NativeType - .field public int32 NumberOfElements - .field public int32 ParamIndex - .field public int32 Size - } - .class public abstract Member - extends System.Compiler.Node - { - .method family hidebysig specialname - instance void .ctor(valuetype System.Compiler.NodeType nodeType) - { - ret - } - .method family hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, class System.Compiler.Identifier name, valuetype System.Compiler.NodeType nodeType) - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.AttributeList get_Attributes() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Attributes(class System.Compiler.AttributeList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.Member get_OverriddenMember() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_OverriddenMember(class System.Compiler.Member 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_OverridesBaseClassMember() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_OverridesBaseClassMember(bool 'value') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AttributeNode GetAttribute(class System.Compiler.TypeNode attributeType) - { - ret - } - .method public virtual hidebysig newslot abstract specialname - instance string get_FullName() - { - } - .method public virtual hidebysig newslot abstract specialname - instance bool get_IsAssembly() - { - } - .method public virtual hidebysig newslot abstract specialname - instance bool get_IsCompilerControlled() - { - } - .method public virtual hidebysig newslot abstract specialname - instance bool get_IsFamily() - { - } - .method public virtual hidebysig newslot abstract specialname - instance bool get_IsFamilyAndAssembly() - { - } - .method public virtual hidebysig newslot abstract specialname - instance bool get_IsFamilyOrAssembly() - { - } - .method public virtual hidebysig newslot abstract specialname - instance bool get_IsPrivate() - { - } - .method public virtual hidebysig newslot abstract specialname - instance bool get_IsPublic() - { - } - .method public virtual hidebysig newslot abstract specialname - instance bool get_IsSpecialName() - { - } - .method public virtual hidebysig newslot abstract specialname - instance bool get_IsStatic() - { - } - .method public virtual hidebysig newslot abstract specialname - instance bool get_IsVisibleOutsideAssembly() - { - } - .method public hidebysig specialname - instance class [mscorlib]System.ObsoleteAttribute get_ObsoleteAttribute() - { - ret - } - .method public hidebysig specialname - instance void set_ObsoleteAttribute(class [mscorlib]System.ObsoleteAttribute 'value') - { - ret - } - .method public hidebysig specialname - instance class [System.Xml]System.Xml.XmlNode get_Documentation() - { - ret - } - .method public hidebysig specialname - instance void set_Documentation(class [System.Xml]System.Xml.XmlNode 'value') - { - ret - } - .method family virtual hidebysig newslot - instance class System.Compiler.Identifier GetDocumentationId() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Identifier get_DocumentationId() - { - ret - } - .method public hidebysig specialname - instance void set_DocumentationId(class System.Compiler.Identifier 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance string get_HelpText() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_HelpText(string 'value') - { - ret - } - .method public virtual hidebysig newslot - instance void WriteDocumentation(class [System.Xml]System.Xml.XmlTextWriter xwriter) - { - ret - } - .field public class System.Compiler.Namespace DeclaringNamespace - .field public class System.Compiler.TypeNode DeclaringType - .field public class System.Compiler.Node DocumentationNode - .field public bool HidesBaseClassMember - .field public class System.Compiler.Identifier Name - .field public class System.Compiler.NodeList References - .field family class System.Compiler.AttributeList attributes - .field family class [System.Xml]System.Xml.XmlNode documentation - .field family class System.Compiler.Identifier documentationId - .field family string helpText - .field family class System.Compiler.Member overriddenMember - .field family bool overridesBaseClassMember - .field family bool overridesBaseClassMemberSpecifiedExplicitly - .property instance class System.Compiler.AttributeList Attributes() - { - .get instance class System.Compiler.AttributeList System.Compiler.Member::get_Attributes() - .set instance void System.Compiler.Member::set_Attributes(class System.Compiler.AttributeList) - } - .property instance class [System.Xml]System.Xml.XmlNode Documentation() - { - .get instance class [System.Xml]System.Xml.XmlNode System.Compiler.Member::get_Documentation() - .set instance void System.Compiler.Member::set_Documentation(class [System.Xml]System.Xml.XmlNode) - } - .property instance class System.Compiler.Identifier DocumentationId() - { - .get instance class System.Compiler.Identifier System.Compiler.Member::get_DocumentationId() - .set instance void System.Compiler.Member::set_DocumentationId(class System.Compiler.Identifier) - } - .property instance string FullName() - { - .get instance string System.Compiler.Member::get_FullName() - } - .property instance string HelpText() - { - .get instance string System.Compiler.Member::get_HelpText() - .set instance void System.Compiler.Member::set_HelpText(string) - } - .property instance bool IsAssembly() - { - .get instance bool System.Compiler.Member::get_IsAssembly() - } - .property instance bool IsCompilerControlled() - { - .get instance bool System.Compiler.Member::get_IsCompilerControlled() - } - .property instance bool IsFamily() - { - .get instance bool System.Compiler.Member::get_IsFamily() - } - .property instance bool IsFamilyAndAssembly() - { - .get instance bool System.Compiler.Member::get_IsFamilyAndAssembly() - } - .property instance bool IsFamilyOrAssembly() - { - .get instance bool System.Compiler.Member::get_IsFamilyOrAssembly() - } - .property instance bool IsPrivate() - { - .get instance bool System.Compiler.Member::get_IsPrivate() - } - .property instance bool IsPublic() - { - .get instance bool System.Compiler.Member::get_IsPublic() - } - .property instance bool IsSpecialName() - { - .get instance bool System.Compiler.Member::get_IsSpecialName() - } - .property instance bool IsStatic() - { - .get instance bool System.Compiler.Member::get_IsStatic() - } - .property instance bool IsVisibleOutsideAssembly() - { - .get instance bool System.Compiler.Member::get_IsVisibleOutsideAssembly() - } - .property instance class [mscorlib]System.ObsoleteAttribute ObsoleteAttribute() - { - .get instance class [mscorlib]System.ObsoleteAttribute System.Compiler.Member::get_ObsoleteAttribute() - .set instance void System.Compiler.Member::set_ObsoleteAttribute(class [mscorlib]System.ObsoleteAttribute) - } - .property instance class System.Compiler.Member OverriddenMember() - { - .get instance class System.Compiler.Member System.Compiler.Member::get_OverriddenMember() - .set instance void System.Compiler.Member::set_OverriddenMember(class System.Compiler.Member) - } - .property instance bool OverridesBaseClassMember() - { - .get instance bool System.Compiler.Member::get_OverridesBaseClassMember() - .set instance void System.Compiler.Member::set_OverridesBaseClassMember(bool) - } - } - .class public MemberBinding - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression targetObject, class System.Compiler.Member boundMember) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression targetObject, class System.Compiler.Member boundMember, class System.Compiler.Expression boundMemberExpression) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression targetObject, class System.Compiler.Member boundMember, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression targetObject, class System.Compiler.Member boundMember, valuetype System.Compiler.SourceContext sctx, class System.Compiler.Expression boundMemberExpression) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression targetObject, class System.Compiler.Member boundMember, bool NoNullCheck, bool Volatile, int32 'alignment') - { - ret - } - .field public int32 Alignment - .field public class System.Compiler.Member BoundMember - .field public class System.Compiler.Expression BoundMemberExpression - .field public bool NoNullCheck - .field public class System.Compiler.Expression TargetObject - .field public bool Volatile - } - .class public sealed MemberBindingList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.MemberBindingList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.MemberBinding get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.MemberBinding Current() - { - .get instance class System.Compiler.MemberBinding System.Compiler.MemberBindingList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.MemberBinding element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.MemberBinding get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.MemberBinding 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.MemberBindingList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.MemberBinding Item(int32) - { - .get instance class System.Compiler.MemberBinding System.Compiler.MemberBindingList::get_Item(int32) - .set instance void System.Compiler.MemberBindingList::set_Item(int32, class System.Compiler.MemberBinding) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.MemberBindingList::get_Length() - } - } - .class public sealed MemberList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.MemberList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Member get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Member Current() - { - .get instance class System.Compiler.Member System.Compiler.MemberList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Member[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Member element) - { - ret - } - .method public hidebysig - instance class System.Compiler.MemberList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Member get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Member 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.MemberList/Enumerator GetEnumerator() - { - ret - } - .method public hidebysig - instance class System.Compiler.Member[] ToArray() - { - ret - } - .property instance class System.Compiler.Member Item(int32) - { - .get instance class System.Compiler.Member System.Compiler.MemberList::get_Item(int32) - .set instance void System.Compiler.MemberList::set_Item(int32, class System.Compiler.Member) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.MemberList::get_Length() - } - } - .class public sealed MemoryStream - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance int32 get_Position() - { - ret - } - .method public hidebysig specialname - instance void set_Position(int32 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(unsigned int8[] bytes) - { - ret - } - .method public hidebysig - instance void Seek(int64 offset, valuetype System.Compiler.SeekOrigin loc) - { - ret - } - .method public hidebysig - instance unsigned int8[] ToArray() - { - ret - } - .method public hidebysig - instance void Write(unsigned int8[] buffer, int32 index, int32 count) - { - ret - } - .method public hidebysig - instance void WriteTo(class System.Compiler.MemoryStream 'stream') - { - ret - } - .method public hidebysig - instance void WriteTo(class [mscorlib]'System.IO.Stream' 'stream') - { - ret - } - .field public unsigned int8[] Buffer - .field public int32 Length - .field public int32 position - .property instance int32 Position() - { - .get instance int32 System.Compiler.MemoryStream::get_Position() - .set instance void System.Compiler.MemoryStream::set_Position(int32) - } - } - .class public Method - extends System.Compiler.Member - { - .class nested public sealed MethodBodyProvider - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance void Invoke(class System.Compiler.Method 'method', object handle, bool asInstructionList) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class System.Compiler.Method 'method', object handle, bool asInstructionList, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance void EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Method/MethodBodyProvider provider, object handle) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, class System.Compiler.Identifier name, class System.Compiler.ParameterList parameters, class System.Compiler.TypeNode returnType, class System.Compiler.Block body) - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.Block get_Body() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Body(class System.Compiler.Block 'value') - { - ret - } - .method public hidebysig specialname - instance string get_ConditionalSymbol() - { - ret - } - .method public hidebysig specialname - instance void set_ConditionalSymbol(string 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.InstructionList get_Instructions() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Instructions(class System.Compiler.InstructionList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.ExceptionHandlerList get_ExceptionHandlers() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_ExceptionHandlers(class System.Compiler.ExceptionHandlerList 'value') - { - ret - } - .method family virtual hidebysig - instance class System.Compiler.Identifier GetDocumentationId() - { - ret - } - .method public virtual hidebysig specialname - instance string get_FullName() - { - ret - } - .method public virtual hidebysig newslot - instance string GetFullUnmangledNameWithTypeParameters() - { - ret - } - .method public static hidebysig - valuetype System.Compiler.MethodFlags GetVisibilityUnion(class System.Compiler.Method m1, class System.Compiler.Method m2) - { - ret - } - .method public static hidebysig - valuetype System.Compiler.MethodFlags GetVisibilityUnion(valuetype System.Compiler.MethodFlags vis1, valuetype System.Compiler.MethodFlags vis2) - { - ret - } - .method public virtual hidebysig newslot - instance object Invoke(object targetObject, object[] arguments) - { - .param [2] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Literal Invoke(class System.Compiler.Literal targetObject, class System.Compiler.Literal[] arguments) - { - .param [2] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsNormalized() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_IsNormalized(bool 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsAbstract() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsCompilerControlled() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsExtern() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamily() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyAndAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyOrAssembly() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsFinal() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPrivate() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPublic() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsSpecialName() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStatic() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsVirtual() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsNonSealedVirtual() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsVisibleOutsideAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.Member get_OverriddenMember() - { - ret - } - .method public virtual hidebysig specialname - instance void set_OverriddenMember(class System.Compiler.Member 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.Method get_OverriddenMethod() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_OverriddenMethod(class System.Compiler.Method 'value') - { - ret - } - .method public static hidebysig - class System.Compiler.Method GetMethod(class [mscorlib]System.Reflection.MethodInfo methodInfo) - { - ret - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.Reflection.MethodInfo GetMethodInfo() - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode[] GetParameterTypes() - { - ret - } - .method public virtual hidebysig newslot - instance bool ParametersMatch(class System.Compiler.ParameterList parameters) - { - ret - } - .method public virtual hidebysig newslot - instance bool ParametersMatchExceptLast(class System.Compiler.ParameterList parameters) - { - ret - } - .method public virtual hidebysig newslot - instance bool ParametersMatchStructurally(class System.Compiler.ParameterList parameters) - { - ret - } - .method public virtual hidebysig newslot - instance bool ParametersMatchStructurallyIncludingOutFlag(class System.Compiler.ParameterList parameters) - { - ret - } - .method public virtual hidebysig newslot - instance bool ParametersMatchStructurallyExceptLast(class System.Compiler.ParameterList parameters) - { - ret - } - .method public virtual hidebysig newslot - instance bool ParametersMatchIncludingOutFlag(class System.Compiler.ParameterList parameters) - { - ret - } - .method public virtual hidebysig newslot - instance bool ParameterTypesMatch(class System.Compiler.TypeNodeList argumentTypes) - { - ret - } - .method public virtual hidebysig newslot - instance bool ParameterTypesMatchStructurally(class System.Compiler.TypeNodeList argumentTypes) - { - ret - } - .method public virtual hidebysig newslot - instance bool TemplateParametersMatch(class System.Compiler.TypeNodeList templateParameters) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Method get_Template() - { - ret - } - .method public hidebysig specialname - instance void set_Template(class System.Compiler.Method 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNodeList get_TemplateParameters() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_TemplateParameters(class System.Compiler.TypeNodeList 'value') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Method GetTemplateInstance(class System.Compiler.TypeNode referringType, class System.Compiler.TypeNode[] typeArguments) - { - .param [2] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Method GetTemplateInstance(class System.Compiler.TypeNode referringType, class System.Compiler.TypeNodeList typeArguments) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Local GetLocalForField(class System.Compiler.Field f) - { - ret - } - .method public hidebysig - instance class System.Compiler.Method CreateExplicitImplementation(class System.Compiler.TypeNode implementingType, class System.Compiler.ParameterList parameters, class System.Compiler.StatementList body) - { - ret - } - .field public valuetype System.Compiler.CallingConventionFlags CallingConvention - .field public class System.Compiler.Member DeclaringMember - .field public valuetype System.Compiler.MethodFlags Flags - .field public bool HasCompilerGeneratedSignature - .field public bool HasOutOfBandContract - .field public valuetype System.Compiler.MethodImplFlags ImplFlags - .field public class System.Compiler.MethodList ImplementedInterfaceMethods - .field public class System.Compiler.TypeNodeList ImplementedTypeExpressions - .field public class System.Compiler.TypeNodeList ImplementedTypes - .field public class System.Compiler.MethodList ImplicitImplementedInterfaceMethods - .field public bool InitLocals - .field public bool IsGeneric - .field family class System.Compiler.TrivialHashtable Locals - .field public valuetype System.Compiler.PInvokeFlags PInvokeFlags - .field public string PInvokeImportName - .field public class System.Compiler.Module PInvokeModule - .field public class System.Compiler.ParameterList Parameters - .field public class System.Compiler.Method/MethodBodyProvider ProvideBody - .field public object ProviderHandle - .field public class System.Compiler.AttributeList ReturnAttributes - .field public class System.Compiler.TypeNode ReturnType - .field public class System.Compiler.TypeNode ReturnTypeExpression - .field public class System.Compiler.MarshallingInformation ReturnTypeMarshallingInformation - .field public class System.Compiler.MethodScope Scope - .field public class System.Compiler.SecurityAttributeList SecurityAttributes - .field public class System.Compiler.TypeNodeList TemplateArguments - .field public class System.Compiler.This ThisParameter - .field family class System.Compiler.Block body - .field family string conditionalSymbol - .field family bool doesNotHaveAConditionalSymbol - .field family class System.Compiler.ExceptionHandlerList exceptionHandlers - .field famorassem string fullName - .field family class System.Compiler.InstructionList instructions - .field family bool isNormalized - .field family class [mscorlib]System.Reflection.MethodInfo methodInfo - .field family class System.Compiler.TypeNode[] parameterTypes - .property instance class System.Compiler.Block Body() - { - .get instance class System.Compiler.Block System.Compiler.Method::get_Body() - .set instance void System.Compiler.Method::set_Body(class System.Compiler.Block) - } - .property instance string ConditionalSymbol() - { - .get instance string System.Compiler.Method::get_ConditionalSymbol() - .set instance void System.Compiler.Method::set_ConditionalSymbol(string) - } - .property instance class System.Compiler.ExceptionHandlerList ExceptionHandlers() - { - .get instance class System.Compiler.ExceptionHandlerList System.Compiler.Method::get_ExceptionHandlers() - .set instance void System.Compiler.Method::set_ExceptionHandlers(class System.Compiler.ExceptionHandlerList) - } - .property instance string FullName() - { - .get instance string System.Compiler.Method::get_FullName() - } - .property instance class System.Compiler.InstructionList Instructions() - { - .get instance class System.Compiler.InstructionList System.Compiler.Method::get_Instructions() - .set instance void System.Compiler.Method::set_Instructions(class System.Compiler.InstructionList) - } - .property instance bool IsAbstract() - { - .get instance bool System.Compiler.Method::get_IsAbstract() - } - .property instance bool IsAssembly() - { - .get instance bool System.Compiler.Method::get_IsAssembly() - } - .property instance bool IsCompilerControlled() - { - .get instance bool System.Compiler.Method::get_IsCompilerControlled() - } - .property instance bool IsExtern() - { - .get instance bool System.Compiler.Method::get_IsExtern() - } - .property instance bool IsFamily() - { - .get instance bool System.Compiler.Method::get_IsFamily() - } - .property instance bool IsFamilyAndAssembly() - { - .get instance bool System.Compiler.Method::get_IsFamilyAndAssembly() - } - .property instance bool IsFamilyOrAssembly() - { - .get instance bool System.Compiler.Method::get_IsFamilyOrAssembly() - } - .property instance bool IsFinal() - { - .get instance bool System.Compiler.Method::get_IsFinal() - } - .property instance bool IsNonSealedVirtual() - { - .get instance bool System.Compiler.Method::get_IsNonSealedVirtual() - } - .property instance bool IsNormalized() - { - .get instance bool System.Compiler.Method::get_IsNormalized() - .set instance void System.Compiler.Method::set_IsNormalized(bool) - } - .property instance bool IsPrivate() - { - .get instance bool System.Compiler.Method::get_IsPrivate() - } - .property instance bool IsPublic() - { - .get instance bool System.Compiler.Method::get_IsPublic() - } - .property instance bool IsSpecialName() - { - .get instance bool System.Compiler.Method::get_IsSpecialName() - } - .property instance bool IsStatic() - { - .get instance bool System.Compiler.Method::get_IsStatic() - } - .property instance bool IsVirtual() - { - .get instance bool System.Compiler.Method::get_IsVirtual() - } - .property instance bool IsVisibleOutsideAssembly() - { - .get instance bool System.Compiler.Method::get_IsVisibleOutsideAssembly() - } - .property instance class System.Compiler.Member OverriddenMember() - { - .get instance class System.Compiler.Member System.Compiler.Method::get_OverriddenMember() - .set instance void System.Compiler.Method::set_OverriddenMember(class System.Compiler.Member) - } - .property instance class System.Compiler.Method OverriddenMethod() - { - .get instance class System.Compiler.Method System.Compiler.Method::get_OverriddenMethod() - .set instance void System.Compiler.Method::set_OverriddenMethod(class System.Compiler.Method) - } - .property instance class System.Compiler.Method Template() - { - .get instance class System.Compiler.Method System.Compiler.Method::get_Template() - .set instance void System.Compiler.Method::set_Template(class System.Compiler.Method) - } - .property instance class System.Compiler.TypeNodeList TemplateParameters() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.Method::get_TemplateParameters() - .set instance void System.Compiler.Method::set_TemplateParameters(class System.Compiler.TypeNodeList) - } - } - .class public MethodBodySpecializer - extends System.Compiler.Specializer - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Module module, class System.Compiler.TypeNodeList pars, class System.Compiler.TypeNodeList args) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Visitor callingVisitor) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Node Visit(class System.Compiler.Node node) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitAddressDereference(class System.Compiler.AddressDereference addr) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitAssignmentStatement(class System.Compiler.AssignmentStatement assignment) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitBinaryExpression(class System.Compiler.BinaryExpression binaryExpression) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitBranch(class System.Compiler.Branch branch) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitExpression(class System.Compiler.Expression expression) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitIndexer(class System.Compiler.Indexer indexer) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitLiteral(class System.Compiler.Literal 'literal') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitLocal(class System.Compiler.Local local) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitParameter(class System.Compiler.Parameter parameter) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitNameBinding(class System.Compiler.NameBinding nameBinding) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitMemberBinding(class System.Compiler.MemberBinding memberBinding) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Method VisitMethod(class System.Compiler.Method 'method') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitConstruct(class System.Compiler.Construct cons) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitMethodCall(class System.Compiler.MethodCall 'call') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitReturn(class System.Compiler.Return Return) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeNode VisitTypeNode(class System.Compiler.TypeNode typeNode) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitUnaryExpression(class System.Compiler.UnaryExpression unaryExpression) - { - ret - } - .field public class System.Compiler.TrivialHashtable alreadyVisitedNodes - } - .class public MethodCall - extends System.Compiler.NaryExpression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression callee, class System.Compiler.ExpressionList arguments) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression callee, class System.Compiler.ExpressionList arguments, valuetype System.Compiler.NodeType typeOfCall) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression callee, class System.Compiler.ExpressionList arguments, valuetype System.Compiler.NodeType typeOfCall, class System.Compiler.TypeNode resultType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression callee, class System.Compiler.ExpressionList arguments, valuetype System.Compiler.NodeType typeOfCall, class System.Compiler.TypeNode resultType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Expression Callee - .field public class System.Compiler.Expression CalleeExpression - .field public class System.Compiler.TypeNode Constraint - .field public bool GiveErrorIfSpecialNameMethod - .field public bool IsTailCall - } - .class public MethodClassParameter - extends System.Compiler.ClassParameter - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public sealed MethodFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.MethodFlags Abstract = int32(0x00000400) - .field static public literal valuetype System.Compiler.MethodFlags Assembly = int32(0x00000003) - .field static public literal valuetype System.Compiler.MethodFlags CheckAccessOnOverride = int32(0x00000200) - .field static public literal valuetype System.Compiler.MethodFlags CompilerControlled = int32(0x00000000) - .field static public literal valuetype System.Compiler.MethodFlags FamANDAssem = int32(0x00000002) - .field static public literal valuetype System.Compiler.MethodFlags FamORAssem = int32(0x00000005) - .field static public literal valuetype System.Compiler.MethodFlags Family = int32(0x00000004) - .field static public literal valuetype System.Compiler.MethodFlags Final = int32(0x00000020) - .field static public literal valuetype System.Compiler.MethodFlags HasSecurity = int32(0x00004000) - .field static public literal valuetype System.Compiler.MethodFlags HideBySig = int32(0x00000080) - .field static public literal valuetype System.Compiler.MethodFlags MethodAccessMask = int32(0x00000007) - .field static public literal valuetype System.Compiler.MethodFlags NewSlot = int32(0x00000100) - .field static public literal valuetype System.Compiler.MethodFlags PInvokeImpl = int32(0x00002000) - .field static public literal valuetype System.Compiler.MethodFlags Private = int32(0x00000001) - .field static public literal valuetype System.Compiler.MethodFlags Public = int32(0x00000006) - .field static public literal valuetype System.Compiler.MethodFlags RTSpecialName = int32(0x00001000) - .field static public literal valuetype System.Compiler.MethodFlags RequireSecObject = int32(0x00008000) - .field static public literal valuetype System.Compiler.MethodFlags ReservedMask = int32(0x0000D000) - .field static public literal valuetype System.Compiler.MethodFlags ReuseSlot = int32(0x00000000) - .field static public literal valuetype System.Compiler.MethodFlags SpecialName = int32(0x00000800) - .field static public literal valuetype System.Compiler.MethodFlags Static = int32(0x00000010) - .field static public literal valuetype System.Compiler.MethodFlags UnmanagedExport = int32(0x0000D000) - .field static public literal valuetype System.Compiler.MethodFlags Virtual = int32(0x00000040) - .field static public literal valuetype System.Compiler.MethodFlags VtableLayoutMask = int32(0x00000100) - } - .class public sealed MethodImplFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.MethodImplFlags CodeTypeMask = int32(0x00000003) - .field static public literal valuetype System.Compiler.MethodImplFlags ForwardRef = int32(0x00000010) - .field static public literal valuetype System.Compiler.MethodImplFlags IL = int32(0x00000000) - .field static public literal valuetype System.Compiler.MethodImplFlags InternalCall = int32(0x00001000) - .field static public literal valuetype System.Compiler.MethodImplFlags Managed = int32(0x00000000) - .field static public literal valuetype System.Compiler.MethodImplFlags ManagedMask = int32(0x00000004) - .field static public literal valuetype System.Compiler.MethodImplFlags MaxMethodImplVal = int32(0x0000FFFF) - .field static public literal valuetype System.Compiler.MethodImplFlags Native = int32(0x00000001) - .field static public literal valuetype System.Compiler.MethodImplFlags NoInlining = int32(0x00000008) - .field static public literal valuetype System.Compiler.MethodImplFlags 'OPTIL' = int32(0x00000002) - .field static public literal valuetype System.Compiler.MethodImplFlags PreserveSig = int32(0x00000080) - .field static public literal valuetype System.Compiler.MethodImplFlags Runtime = int32(0x00000003) - .field static public literal valuetype System.Compiler.MethodImplFlags Synchronized = int32(0x00000020) - .field static public literal valuetype System.Compiler.MethodImplFlags Unmanaged = int32(0x00000004) - } - .class public sealed MethodList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.MethodList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Method get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Method Current() - { - .get instance class System.Compiler.Method System.Compiler.MethodList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Method[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Method element) - { - ret - } - .method public hidebysig - instance class System.Compiler.MethodList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Method get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Method 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.MethodList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Method Item(int32) - { - .get instance class System.Compiler.Method System.Compiler.MethodList::get_Item(int32) - .set instance void System.Compiler.MethodList::set_Item(int32, class System.Compiler.Method) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.MethodList::get_Length() - } - } - .class public MethodScope - extends System.Compiler.Scope - { - .method public virtual hidebysig newslot specialname - instance class System.Compiler.Class get_ClosureClass() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_CapturedForClosure() - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Class parentScope, class System.Compiler.UsedNamespaceList usedNamespaces) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Class parentScope, class System.Compiler.UsedNamespaceList usedNamespaces, class System.Compiler.Method 'method') - { - ret - } - .field public class System.Compiler.Method DeclaringMethod - .field public class System.Compiler.Field ThisField - .field public class System.Compiler.TypeNode ThisType - .field public class System.Compiler.UsedNamespaceList UsedNamespaces - .field family class System.Compiler.Class closureClass - .property instance bool CapturedForClosure() - { - .get instance bool System.Compiler.MethodScope::get_CapturedForClosure() - } - .property instance class System.Compiler.Class ClosureClass() - { - .get instance class System.Compiler.Class System.Compiler.MethodScope::get_ClosureClass() - } - } - .class public MethodTypeParameter - extends System.Compiler.TypeParameter - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.InterfaceList baseInterfaces, class System.Compiler.TypeNode/TypeAttributeProvider provideAttributes, class System.Compiler.TypeNode/TypeMemberProvider provideMembers, object handle) - { - ret - } - .method public virtual hidebysig - instance bool IsStructurallyEquivalentTo(class System.Compiler.TypeNode 'type') - { - ret - } - } - .class public Module - extends System.Compiler.Node - implements [mscorlib]System.IDisposable - { - .class nested public sealed AssemblyReferenceResolver - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance class System.Compiler.AssemblyNode Invoke(class System.Compiler.AssemblyReference assemblyReference, class System.Compiler.Module referencingModule) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class System.Compiler.AssemblyReference assemblyReference, class System.Compiler.Module referencingModule, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance class System.Compiler.AssemblyNode EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .class nested public sealed CustomAttributeProvider - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance void Invoke(class System.Compiler.Module module) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class System.Compiler.Module module, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance void EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .class nested public sealed DocumentationResolver - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance class [System.Xml]System.Xml.XmlDocument Invoke(class System.Compiler.Module referencingModule) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class System.Compiler.Module referencingModule, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance class [System.Xml]System.Xml.XmlDocument EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .class nested public sealed ResourceProvider - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance void Invoke(class System.Compiler.Module module) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class System.Compiler.Module module, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance void EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .class nested public sealed TypeNodeListProvider - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance void Invoke(class System.Compiler.Module module) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class System.Compiler.Module module, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance void EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .class nested public sealed TypeNodeProvider - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode Invoke(class System.Compiler.Identifier Namespace, class System.Compiler.Identifier name) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class System.Compiler.Identifier Namespace, class System.Compiler.Identifier name, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .method public hidebysig specialname - instance void add_AssemblyReferenceResolution(class System.Compiler.Module/AssemblyReferenceResolver 'value') - synchronized - { - ret - } - .method public hidebysig specialname - instance void remove_AssemblyReferenceResolution(class System.Compiler.Module/AssemblyReferenceResolver 'value') - synchronized - { - ret - } - .method public hidebysig specialname - instance void add_AssemblyReferenceResolutionAfterProbingFailed(class System.Compiler.Module/AssemblyReferenceResolver 'value') - synchronized - { - ret - } - .method public hidebysig specialname - instance void remove_AssemblyReferenceResolutionAfterProbingFailed(class System.Compiler.Module/AssemblyReferenceResolver 'value') - synchronized - { - ret - } - .method public hidebysig specialname - instance void add_DocumentationResolution(class System.Compiler.Module/DocumentationResolver 'value') - synchronized - { - ret - } - .method public hidebysig specialname - instance void remove_DocumentationResolution(class System.Compiler.Module/DocumentationResolver 'value') - synchronized - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Module/TypeNodeProvider provider, class System.Compiler.Module/TypeNodeListProvider listProvider, class System.Compiler.Module/CustomAttributeProvider provideCustomAttributes, class System.Compiler.Module/ResourceProvider provideResources) - { - ret - } - .method public virtual hidebysig newslot - instance void Dispose() - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.AttributeList get_Attributes() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Attributes(class System.Compiler.AttributeList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.SecurityAttributeList get_SecurityAttributes() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_SecurityAttributes(class System.Compiler.SecurityAttributeList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class [System.Xml]System.Xml.XmlDocument get_Documentation() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Documentation(class [System.Xml]System.Xml.XmlDocument 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.Method get_EntryPoint() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_EntryPoint(class System.Compiler.Method 'value') - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.ModuleReferenceList get_ModuleReferences() - { - ret - } - .method public hidebysig specialname - instance void set_ModuleReferences(class System.Compiler.ModuleReferenceList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.ResourceList get_Resources() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Resources(class System.Compiler.ResourceList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.Win32ResourceList get_Win32Resources() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Win32Resources(class System.Compiler.Win32ResourceList 'value') - { - ret - } - .method public virtual hidebysig newslot - instance void AddWin32ResourceFile(string win32ResourceFilePath) - { - ret - } - .method public virtual hidebysig newslot - instance void AddWin32ResourceFile(class [mscorlib]'System.IO.Stream' win32ResourceStream) - { - ret - } - .method public virtual hidebysig newslot - instance void AddWin32Icon(string win32IconFilePath) - { - ret - } - .method public virtual hidebysig newslot - instance void AddWin32Icon(class [mscorlib]'System.IO.Stream' win32IconStream) - { - ret - } - .method public hidebysig - instance void AddWin32VersionInfo(class System.Compiler.CompilerOptions options) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AttributeNode GetAttribute(class System.Compiler.TypeNode attributeType) - { - ret - } - .method public hidebysig - instance class System.Compiler.TrivialHashtable GetMemberDocumentationCache() - { - ret - } - .method public hidebysig - instance class System.Compiler.NamespaceList GetNamespaceList() - { - ret - } - .method public hidebysig - instance bool IsValidNamespace(class System.Compiler.Identifier nsName) - { - ret - } - .method public hidebysig - instance bool IsValidTypeName(class System.Compiler.Identifier nsName, class System.Compiler.Identifier typeName) - { - ret - } - .method public hidebysig - instance class System.Compiler.Module GetNestedModule(string moduleName) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetStructurallyEquivalentType(class System.Compiler.Identifier ns, class System.Compiler.Identifier id) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetType(class System.Compiler.Identifier Namespace, class System.Compiler.Identifier name) - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNodeList get_Types() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Types(class System.Compiler.TypeNodeList 'value') - { - ret - } - .method public static hidebysig - class System.Compiler.Module GetModule(unsigned int8[] buffer) - { - ret - } - .method public static hidebysig - class System.Compiler.Module GetModule(unsigned int8[] buffer, class [mscorlib]System.Collections.IDictionary cache) - { - ret - } - .method public static hidebysig - class System.Compiler.Module GetModule(unsigned int8[] buffer, class [mscorlib]System.Collections.IDictionary cache, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache) - { - ret - } - .method public static hidebysig - class System.Compiler.Module GetModule(unsigned int8[] buffer, class [mscorlib]System.Collections.IDictionary cache, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache, bool preserveShortBranches) - { - ret - } - .method public static hidebysig - class System.Compiler.Module GetModule(string location) - { - ret - } - .method public static hidebysig - class System.Compiler.Module GetModule(string location, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache) - { - ret - } - .method public static hidebysig - class System.Compiler.Module GetModule(string location, class [mscorlib]System.Collections.IDictionary cache) - { - ret - } - .method public static hidebysig - class System.Compiler.Module GetModule(string location, class [mscorlib]System.Collections.IDictionary cache, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache) - { - ret - } - .method public static hidebysig - class System.Compiler.Module GetModule(string location, class [mscorlib]System.Collections.IDictionary cache, bool doNotLockFile, bool getDebugInfo, bool useGlobalCache, bool preserveShortBranches) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AssemblyNode Resolve(class System.Compiler.AssemblyReference assemblyReference) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AssemblyNode ResolveAfterProbingFailed(class System.Compiler.AssemblyReference assemblyReference) - { - ret - } - .method public virtual hidebysig newslot - instance void WriteModule(string location, bool writeDebugSymbols) - { - ret - } - .method public virtual hidebysig newslot - instance void WriteModule(class [mscorlib]'System.IO.Stream' executable, class [mscorlib]'System.IO.Stream' debugSymbols) - { - ret - } - .method public virtual hidebysig newslot - instance void WriteModule([out] unsigned int8[]& executable) - { - ret - } - .method public virtual hidebysig newslot - instance void WriteModule([out] unsigned int8[]& executable, [out] unsigned int8[]& debugSymbols) - { - ret - } - .method public virtual hidebysig newslot - instance void WriteModule(string location, class [System]System.CodeDom.Compiler.CompilerParameters options) - { - ret - } - .method public virtual hidebysig newslot - instance void WriteDocumentation(class [mscorlib]'System.IO.TextWriter' doc) - { - ret - } - .field public class System.Compiler.AssemblyReferenceList AssemblyReferences - .field public class System.Compiler.AssemblyNode ContainingAssembly - .field public string Directory - .field public class System.Compiler.Node DocumentationNode - .field public valuetype System.Compiler.AssemblyHashAlgorithm HashAlgorithm - .field public unsigned int8[] HashValue - .field public bool IsNormalized - .field public valuetype System.Compiler.ModuleKindFlags Kind - .field public string Location - .field public int32 MetadataFormatMajorVersion - .field public int32 MetadataFormatMinorVersion - .field public class [mscorlib]System.Collections.ArrayList MetadataImportErrors - .field public valuetype [mscorlib]System.Guid Mvid - .field public string Name - .field static famorassem initonly class System.Compiler.Method NoSuchMethod - .field public valuetype System.Compiler.PeKindFlags PeKind - .field public string TargetRuntimeVersion - .field public bool TrackDebugData - .field public bool UsePublicKeyTokensForAssemblyReferences - .field family class System.Compiler.AttributeList attributes - .field family class [System.Xml]System.Xml.XmlDocument documentation - .field family class System.Compiler.Method entryPoint - .field family class System.Compiler.TrivialHashtable memberDocumentationCache - .field family class System.Compiler.ModuleReferenceList moduleReferences - .field family class System.Compiler.NamespaceList namespaceList - .field family class System.Compiler.TrivialHashtable namespaceTable - .field family class System.Compiler.Module/CustomAttributeProvider provideCustomAttributes - .field family class System.Compiler.Module/ResourceProvider provideResources - .field family class System.Compiler.Module/TypeNodeProvider provideTypeNode - .field family class System.Compiler.Module/TypeNodeListProvider provideTypeNodeList - .field family class System.Compiler.ResourceList resources - .field family int32 savedTypesLength - .field family class System.Compiler.SecurityAttributeList securityAttributes - .field family class System.Compiler.TypeNodeList types - .field family class System.Compiler.TrivialHashtable validNamespaces - .field family class System.Compiler.Win32ResourceList win32Resources - .event System.Compiler.Module/AssemblyReferenceResolver AssemblyReferenceResolution - { - .addon instance void System.Compiler.Module::add_AssemblyReferenceResolution(class System.Compiler.Module/AssemblyReferenceResolver) - .removeon instance void System.Compiler.Module::remove_AssemblyReferenceResolution(class System.Compiler.Module/AssemblyReferenceResolver) - } - .event System.Compiler.Module/AssemblyReferenceResolver AssemblyReferenceResolutionAfterProbingFailed - { - .addon instance void System.Compiler.Module::add_AssemblyReferenceResolutionAfterProbingFailed(class System.Compiler.Module/AssemblyReferenceResolver) - .removeon instance void System.Compiler.Module::remove_AssemblyReferenceResolutionAfterProbingFailed(class System.Compiler.Module/AssemblyReferenceResolver) - } - .event System.Compiler.Module/DocumentationResolver DocumentationResolution - { - .addon instance void System.Compiler.Module::add_DocumentationResolution(class System.Compiler.Module/DocumentationResolver) - .removeon instance void System.Compiler.Module::remove_DocumentationResolution(class System.Compiler.Module/DocumentationResolver) - } - .property instance class System.Compiler.AttributeList Attributes() - { - .get instance class System.Compiler.AttributeList System.Compiler.Module::get_Attributes() - .set instance void System.Compiler.Module::set_Attributes(class System.Compiler.AttributeList) - } - .property instance class [System.Xml]System.Xml.XmlDocument Documentation() - { - .get instance class [System.Xml]System.Xml.XmlDocument System.Compiler.Module::get_Documentation() - .set instance void System.Compiler.Module::set_Documentation(class [System.Xml]System.Xml.XmlDocument) - } - .property instance class System.Compiler.Method EntryPoint() - { - .get instance class System.Compiler.Method System.Compiler.Module::get_EntryPoint() - .set instance void System.Compiler.Module::set_EntryPoint(class System.Compiler.Method) - } - .property instance class System.Compiler.ModuleReferenceList ModuleReferences() - { - .get instance class System.Compiler.ModuleReferenceList System.Compiler.Module::get_ModuleReferences() - .set instance void System.Compiler.Module::set_ModuleReferences(class System.Compiler.ModuleReferenceList) - } - .property instance class System.Compiler.ResourceList Resources() - { - .get instance class System.Compiler.ResourceList System.Compiler.Module::get_Resources() - .set instance void System.Compiler.Module::set_Resources(class System.Compiler.ResourceList) - } - .property instance class System.Compiler.SecurityAttributeList SecurityAttributes() - { - .get instance class System.Compiler.SecurityAttributeList System.Compiler.Module::get_SecurityAttributes() - .set instance void System.Compiler.Module::set_SecurityAttributes(class System.Compiler.SecurityAttributeList) - } - .property instance class System.Compiler.TypeNodeList Types() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.Module::get_Types() - .set instance void System.Compiler.Module::set_Types(class System.Compiler.TypeNodeList) - } - .property instance class System.Compiler.Win32ResourceList Win32Resources() - { - .get instance class System.Compiler.Win32ResourceList System.Compiler.Module::get_Win32Resources() - .set instance void System.Compiler.Module::set_Win32Resources(class System.Compiler.Win32ResourceList) - } - } - .class public sealed ModuleKindFlags - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.ModuleKindFlags ConsoleApplication = int32(0x00000000) - .field static public literal valuetype System.Compiler.ModuleKindFlags DynamicallyLinkedLibrary = int32(0x00000002) - .field static public literal valuetype System.Compiler.ModuleKindFlags ManifestResourceFile = int32(0x00000003) - .field static public literal valuetype System.Compiler.ModuleKindFlags UnmanagedDynamicallyLinkedLibrary = int32(0x00000004) - .field static public literal valuetype System.Compiler.ModuleKindFlags WindowsApplication = int32(0x00000001) - } - .class public sealed ModuleList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ModuleList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Module get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Module Current() - { - .get instance class System.Compiler.Module System.Compiler.ModuleList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Module element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Module get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Module 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.ModuleList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Module Item(int32) - { - .get instance class System.Compiler.Module System.Compiler.ModuleList::get_Item(int32) - .set instance void System.Compiler.ModuleList::set_Item(int32, class System.Compiler.Module) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.ModuleList::get_Length() - } - } - .class public ModuleReference - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, class System.Compiler.Module module) - { - ret - } - .field public class System.Compiler.Module Module - .field public string Name - } - .class public sealed ModuleReferenceList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ModuleReferenceList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.ModuleReference get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.ModuleReference Current() - { - .get instance class System.Compiler.ModuleReference System.Compiler.ModuleReferenceList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ModuleReference[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.ModuleReference element) - { - ret - } - .method public hidebysig - instance class System.Compiler.ModuleReferenceList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.ModuleReference get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.ModuleReference 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.ModuleReferenceList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.ModuleReference Item(int32) - { - .get instance class System.Compiler.ModuleReference System.Compiler.ModuleReferenceList::get_Item(int32) - .set instance void System.Compiler.ModuleReferenceList::set_Item(int32, class System.Compiler.ModuleReference) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.ModuleReferenceList::get_Length() - } - } - .class public NameBinding - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier identifier, class System.Compiler.MemberList boundMembers) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier identifier, class System.Compiler.MemberList boundMembers, class System.Compiler.Class mostNestedScope, int32 lexLevel) - { - ret - } - .method public virtual hidebysig - instance string ToString() - { - ret - } - .field public class System.Compiler.Expression BoundMember - .field public class System.Compiler.MemberList BoundMembers - .field public class System.Compiler.Identifier Identifier - .field public int32 LexLevel - .field public class System.Compiler.Class MostNestedScope - } - .class public NamedArgument - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.Expression 'value') - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.Expression 'value', valuetype System.Compiler.SourceContext ctx) - { - ret - } - .field public bool IsCustomAttributeProperty - .field public class System.Compiler.Identifier Name - .field public class System.Compiler.Expression Value - } - .class public Namespace - extends System.Compiler.Member - { - .class nested public sealed TypeProvider - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance void Invoke(class System.Compiler.Namespace nameSpace, object handle) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class System.Compiler.Namespace nameSpace, object handle, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance void EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.Namespace/TypeProvider provideTypes, object providerHandle) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.Identifier fullName, class System.Compiler.AliasDefinitionList aliasDefinitions, class System.Compiler.UsedNamespaceList usedNamespaces, class System.Compiler.NamespaceList nestedNamespaces, class System.Compiler.TypeNodeList types) - { - ret - } - .method public virtual hidebysig specialname - instance string get_FullName() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsCompilerControlled() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamily() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyAndAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyOrAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPrivate() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPublic() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsSpecialName() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStatic() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsVisibleOutsideAssembly() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.TypeNodeList get_Types() - { - ret - } - .method public hidebysig specialname - instance void set_Types(class System.Compiler.TypeNodeList 'value') - { - ret - } - .field public class System.Compiler.AliasDefinitionList AliasDefinitions - .field public class System.Compiler.Identifier FullNameId - .field public class System.Compiler.NamespaceList NestedNamespaces - .field public class System.Compiler.Namespace/TypeProvider ProvideTypes - .field public object ProviderHandle - .field public class System.Compiler.Identifier URI - .field public class System.Compiler.UsedNamespaceList UsedNamespaces - .field family string fullName - .field family class System.Compiler.TypeNodeList types - .property instance string FullName() - { - .get instance string System.Compiler.Namespace::get_FullName() - } - .property instance bool IsAssembly() - { - .get instance bool System.Compiler.Namespace::get_IsAssembly() - } - .property instance bool IsCompilerControlled() - { - .get instance bool System.Compiler.Namespace::get_IsCompilerControlled() - } - .property instance bool IsFamily() - { - .get instance bool System.Compiler.Namespace::get_IsFamily() - } - .property instance bool IsFamilyAndAssembly() - { - .get instance bool System.Compiler.Namespace::get_IsFamilyAndAssembly() - } - .property instance bool IsFamilyOrAssembly() - { - .get instance bool System.Compiler.Namespace::get_IsFamilyOrAssembly() - } - .property instance bool IsPrivate() - { - .get instance bool System.Compiler.Namespace::get_IsPrivate() - } - .property instance bool IsPublic() - { - .get instance bool System.Compiler.Namespace::get_IsPublic() - } - .property instance bool IsSpecialName() - { - .get instance bool System.Compiler.Namespace::get_IsSpecialName() - } - .property instance bool IsStatic() - { - .get instance bool System.Compiler.Namespace::get_IsStatic() - } - .property instance bool IsVisibleOutsideAssembly() - { - .get instance bool System.Compiler.Namespace::get_IsVisibleOutsideAssembly() - } - .property instance class System.Compiler.TypeNodeList Types() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.Namespace::get_Types() - .set instance void System.Compiler.Namespace::set_Types(class System.Compiler.TypeNodeList) - } - } - .class public sealed NamespaceList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.NamespaceList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Namespace get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Namespace Current() - { - .get instance class System.Compiler.Namespace System.Compiler.NamespaceList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Namespace element) - { - ret - } - .method public hidebysig - instance class System.Compiler.NamespaceList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Namespace get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Namespace 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.NamespaceList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Namespace Item(int32) - { - .get instance class System.Compiler.Namespace System.Compiler.NamespaceList::get_Item(int32) - .set instance void System.Compiler.NamespaceList::set_Item(int32, class System.Compiler.Namespace) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.NamespaceList::get_Length() - } - } - .class public NamespaceScope - extends System.Compiler.Scope - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Scope outerScope, class System.Compiler.Namespace associatedNamespace, class System.Compiler.Module associatedModule) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AliasDefinition GetAliasFor(class System.Compiler.Identifier name) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Identifier GetUriFor(class System.Compiler.Identifier name) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Identifier GetNamespaceFullNameFor(class System.Compiler.Identifier name) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetType(class System.Compiler.Identifier Namespace, class System.Compiler.Identifier name, [out] class System.Compiler.TypeNodeList& duplicates) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetType(class System.Compiler.Identifier name, [out] class System.Compiler.TypeNodeList& duplicates) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetType(class System.Compiler.Identifier name, [out] class System.Compiler.TypeNodeList& duplicates, bool returnNullIfHiddenByNestedNamespace) - { - ret - } - .method public virtual hidebysig newslot - instance void GetReferencedTypes(class System.Compiler.Identifier Namespace, class System.Compiler.Identifier name, class System.Compiler.TypeNodeList types) - { - ret - } - .field public class System.Compiler.TrivialHashtable AliasedType - .field public class System.Compiler.Module AssociatedModule - .field public class System.Compiler.Namespace AssociatedNamespace - .field family class System.Compiler.TrivialHashtable aliasFor - .field family class System.Compiler.TrivialHashtable namespaceFor - .field family class System.Compiler.TrivialHashtable nestedNamespaceFullName - .field static family class System.Compiler.AliasDefinition noSuchAlias - .field family class System.Compiler.TrivialHashtable typeFor - } - .class public abstract NaryExpression - extends System.Compiler.Expression - { - .method family hidebysig specialname - instance void .ctor() - { - ret - } - .method family hidebysig specialname - instance void .ctor(class System.Compiler.ExpressionList operands, valuetype System.Compiler.NodeType nodeType) - { - ret - } - .field public class System.Compiler.ExpressionList Operands - } - .class public sealed NativeType - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.NativeType AnsiBStr = int32(0x00000023) - .field static public literal valuetype System.Compiler.NativeType AsAny = int32(0x00000028) - .field static public literal valuetype System.Compiler.NativeType BStr = int32(0x00000013) - .field static public literal valuetype System.Compiler.NativeType Bool = int32(0x00000002) - .field static public literal valuetype System.Compiler.NativeType ByValArray = int32(0x0000001E) - .field static public literal valuetype System.Compiler.NativeType ByValTStr = int32(0x00000017) - .field static public literal valuetype System.Compiler.NativeType Currency = int32(0x0000000F) - .field static public literal valuetype System.Compiler.NativeType CustomMarshaler = int32(0x0000002C) - .field static public literal valuetype System.Compiler.NativeType Error = int32(0x0000002D) - .field static public literal valuetype System.Compiler.NativeType FunctionPtr = int32(0x00000026) - .field static public literal valuetype System.Compiler.NativeType I1 = int32(0x00000003) - .field static public literal valuetype System.Compiler.NativeType I2 = int32(0x00000005) - .field static public literal valuetype System.Compiler.NativeType I4 = int32(0x00000007) - .field static public literal valuetype System.Compiler.NativeType I8 = int32(0x00000009) - .field static public literal valuetype System.Compiler.NativeType IDispatch = int32(0x0000001A) - .field static public literal valuetype System.Compiler.NativeType IUnknown = int32(0x00000019) - .field static public literal valuetype System.Compiler.NativeType Interface = int32(0x0000001C) - .field static public literal valuetype System.Compiler.NativeType LPArray = int32(0x0000002A) - .field static public literal valuetype System.Compiler.NativeType LPStr = int32(0x00000014) - .field static public literal valuetype System.Compiler.NativeType LPStruct = int32(0x0000002B) - .field static public literal valuetype System.Compiler.NativeType LPTStr = int32(0x00000016) - .field static public literal valuetype System.Compiler.NativeType LPWStr = int32(0x00000015) - .field static public literal valuetype System.Compiler.NativeType NotSpecified = int32(0x00000050) - .field static public literal valuetype System.Compiler.NativeType R4 = int32(0x0000000B) - .field static public literal valuetype System.Compiler.NativeType R8 = int32(0x0000000C) - .field static public literal valuetype System.Compiler.NativeType SafeArray = int32(0x0000001D) - .field static public literal valuetype System.Compiler.NativeType Struct = int32(0x0000001B) - .field static public literal valuetype System.Compiler.NativeType SysInt = int32(0x0000001F) - .field static public literal valuetype System.Compiler.NativeType SysUInt = int32(0x00000020) - .field static public literal valuetype System.Compiler.NativeType TBStr = int32(0x00000024) - .field static public literal valuetype System.Compiler.NativeType U1 = int32(0x00000004) - .field static public literal valuetype System.Compiler.NativeType U2 = int32(0x00000006) - .field static public literal valuetype System.Compiler.NativeType U4 = int32(0x00000008) - .field static public literal valuetype System.Compiler.NativeType U8 = int32(0x0000000A) - .field static public literal valuetype System.Compiler.NativeType VBByRefStr = int32(0x00000022) - .field static public literal valuetype System.Compiler.NativeType VariantBool = int32(0x00000025) - } - .class public abstract Node - extends [mscorlib]System.Object - implements System.Compiler.IUniqueKey - { - .method family hidebysig specialname - instance void .ctor(valuetype System.Compiler.NodeType nodeType) - { - ret - } - .method public virtual hidebysig newslot specialname - instance int32 get_UniqueKey() - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Node Clone() - { - ret - } - .method public virtual hidebysig newslot - instance object GetVisitorFor(object callingVisitor, string visitorClassName) - { - ret - } - .method private final virtual hidebysig newslot specialname - instance int32 System.Compiler.IUniqueKey.get_UniqueId() - { - .override System.Compiler.IUniqueKey::get_UniqueId - ret - } - .field public string DebugLabel - .field public bool IsErroneous - .field public valuetype System.Compiler.NodeType NodeType - .field public valuetype System.Compiler.SourceContext SourceContext - .property instance int32 System.Compiler.IUniqueKey.UniqueId() - { - .get instance int32 System.Compiler.Node::System.Compiler.IUniqueKey.get_UniqueId() - } - .property instance int32 UniqueKey() - { - .get instance int32 System.Compiler.Node::get_UniqueKey() - } - } - .class public sealed NodeList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.NodeList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Node get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Node Current() - { - .get instance class System.Compiler.Node System.Compiler.NodeList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Node[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Node element) - { - ret - } - .method public hidebysig - instance class System.Compiler.NodeList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Node get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Node 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.NodeList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Node Item(int32) - { - .get instance class System.Compiler.Node System.Compiler.NodeList::get_Item(int32) - .set instance void System.Compiler.NodeList::set_Item(int32, class System.Compiler.Node) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.NodeList::get_Length() - } - } - .class public sealed NodeType - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.NodeType Acquire = int32(0x0000012E) - .field static public literal valuetype System.Compiler.NodeType Add = int32(0x00000014) - .field static public literal valuetype System.Compiler.NodeType AddEventHandler = int32(0x000000B1) - .field static public literal valuetype System.Compiler.NodeType Add_Ovf = int32(0x00000015) - .field static public literal valuetype System.Compiler.NodeType Add_Ovf_Un = int32(0x00000016) - .field static public literal valuetype System.Compiler.NodeType AddressDereference = int32(0x00000079) - .field static public literal valuetype System.Compiler.NodeType AddressOf = int32(0x0000007A) - .field static public literal valuetype System.Compiler.NodeType AliasDefinition = int32(0x000000D0) - .field static public literal valuetype System.Compiler.NodeType And = int32(0x00000017) - .field static public literal valuetype System.Compiler.NodeType AnonymousNestedFunction = int32(0x0000008B) - .field static public literal valuetype System.Compiler.NodeType ApplyToAll = int32(0x0000009D) - .field static public literal valuetype System.Compiler.NodeType Arglist = int32(0x00000018) - .field static public literal valuetype System.Compiler.NodeType Array = int32(0x00000001) - .field static public literal valuetype System.Compiler.NodeType ArrayType = int32(0x000000FF) - .field static public literal valuetype System.Compiler.NodeType ArrayTypeExpression = int32(0x000000DB) - .field static public literal valuetype System.Compiler.NodeType As = int32(0x000000A0) - .field static public literal valuetype System.Compiler.NodeType Assembly = int32(0x000000ED) - .field static public literal valuetype System.Compiler.NodeType AssemblyReference = int32(0x000000EE) - .field static public literal valuetype System.Compiler.NodeType Assertion = int32(0x00000019) - .field static public literal valuetype System.Compiler.NodeType AssignmentExpression = int32(0x00000094) - .field static public literal valuetype System.Compiler.NodeType AssignmentStatement = int32(0x000000AE) - .field static public literal valuetype System.Compiler.NodeType Assumption = int32(0x0000001A) - .field static public literal valuetype System.Compiler.NodeType Attribute = int32(0x000000F1) - .field static public literal valuetype System.Compiler.NodeType Base = int32(0x00000082) - .field static public literal valuetype System.Compiler.NodeType Block = int32(0x000000CD) - .field static public literal valuetype System.Compiler.NodeType BlockExpression = int32(0x000000AF) - .field static public literal valuetype System.Compiler.NodeType BlockReference = int32(0x00000002) - .field static public literal valuetype System.Compiler.NodeType Box = int32(0x0000001B) - .field static public literal valuetype System.Compiler.NodeType BoxedTypeExpression = int32(0x000000E4) - .field static public literal valuetype System.Compiler.NodeType Branch = int32(0x0000001C) - .field static public literal valuetype System.Compiler.NodeType Call = int32(0x0000001D) - .field static public literal valuetype System.Compiler.NodeType Calli = int32(0x0000001E) - .field static public literal valuetype System.Compiler.NodeType Callvirt = int32(0x0000001F) - .field static public literal valuetype System.Compiler.NodeType Castclass = int32(0x00000020) - .field static public literal valuetype System.Compiler.NodeType Catch = int32(0x000000B6) - .field static public literal valuetype System.Compiler.NodeType Ceq = int32(0x00000021) - .field static public literal valuetype System.Compiler.NodeType Cgt = int32(0x00000022) - .field static public literal valuetype System.Compiler.NodeType Cgt_Un = int32(0x00000023) - .field static public literal valuetype System.Compiler.NodeType Ckfinite = int32(0x00000024) - .field static public literal valuetype System.Compiler.NodeType Class = int32(0x000000F3) - .field static public literal valuetype System.Compiler.NodeType ClassExpression = int32(0x000000DC) - .field static public literal valuetype System.Compiler.NodeType ClassParameter = int32(0x000000FC) - .field static public literal valuetype System.Compiler.NodeType Clt = int32(0x00000025) - .field static public literal valuetype System.Compiler.NodeType Clt_Un = int32(0x00000026) - .field static public literal valuetype System.Compiler.NodeType CoerceTuple = int32(0x00000092) - .field static public literal valuetype System.Compiler.NodeType CollectionEnumerator = int32(0x00000093) - .field static public literal valuetype System.Compiler.NodeType Comma = int32(0x000000AA) - .field static public literal valuetype System.Compiler.NodeType Compilation = int32(0x000000D5) - .field static public literal valuetype System.Compiler.NodeType CompilationParameters = int32(0x00000003) - .field static public literal valuetype System.Compiler.NodeType CompilationUnit = int32(0x000000D6) - .field static public literal valuetype System.Compiler.NodeType CompilationUnitSnippet = int32(0x000000D7) - .field static public literal valuetype System.Compiler.NodeType Composition = int32(0x0000010D) - .field static public literal valuetype System.Compiler.NodeType Comprehension = int32(0x0000013D) - .field static public literal valuetype System.Compiler.NodeType ComprehensionBinding = int32(0x0000013E) - .field static public literal valuetype System.Compiler.NodeType Conditional = int32(0x000000A9) - .field static public literal valuetype System.Compiler.NodeType ConstrainedType = int32(0x00000103) - .field static public literal valuetype System.Compiler.NodeType Construct = int32(0x0000008C) - .field static public literal valuetype System.Compiler.NodeType ConstructArray = int32(0x0000008D) - .field static public literal valuetype System.Compiler.NodeType ConstructDelegate = int32(0x0000008F) - .field static public literal valuetype System.Compiler.NodeType ConstructFlexArray = int32(0x0000008E) - .field static public literal valuetype System.Compiler.NodeType ConstructIterator = int32(0x00000090) - .field static public literal valuetype System.Compiler.NodeType ConstructTuple = int32(0x00000091) - .field static public literal valuetype System.Compiler.NodeType Continue = int32(0x000000C7) - .field static public literal valuetype System.Compiler.NodeType Conv_I = int32(0x00000027) - .field static public literal valuetype System.Compiler.NodeType Conv_I1 = int32(0x00000028) - .field static public literal valuetype System.Compiler.NodeType Conv_I2 = int32(0x00000029) - .field static public literal valuetype System.Compiler.NodeType Conv_I4 = int32(0x0000002A) - .field static public literal valuetype System.Compiler.NodeType Conv_I8 = int32(0x0000002B) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_I = int32(0x0000002C) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_I1 = int32(0x0000002D) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_I1_Un = int32(0x0000002E) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_I2 = int32(0x0000002F) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_I2_Un = int32(0x00000030) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_I4 = int32(0x00000031) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_I4_Un = int32(0x00000032) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_I8 = int32(0x00000033) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_I8_Un = int32(0x00000034) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_I_Un = int32(0x00000035) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_U = int32(0x00000036) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_U1 = int32(0x00000037) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_U1_Un = int32(0x00000038) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_U2 = int32(0x00000039) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_U2_Un = int32(0x0000003A) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_U4 = int32(0x0000003B) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_U4_Un = int32(0x0000003C) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_U8 = int32(0x0000003D) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_U8_Un = int32(0x0000003E) - .field static public literal valuetype System.Compiler.NodeType Conv_Ovf_U_Un = int32(0x0000003F) - .field static public literal valuetype System.Compiler.NodeType Conv_R4 = int32(0x00000040) - .field static public literal valuetype System.Compiler.NodeType Conv_R8 = int32(0x00000041) - .field static public literal valuetype System.Compiler.NodeType Conv_R_Un = int32(0x00000042) - .field static public literal valuetype System.Compiler.NodeType Conv_U = int32(0x00000043) - .field static public literal valuetype System.Compiler.NodeType Conv_U1 = int32(0x00000044) - .field static public literal valuetype System.Compiler.NodeType Conv_U2 = int32(0x00000045) - .field static public literal valuetype System.Compiler.NodeType Conv_U4 = int32(0x00000046) - .field static public literal valuetype System.Compiler.NodeType Conv_U8 = int32(0x00000047) - .field static public literal valuetype System.Compiler.NodeType CopyReference = int32(0x0000007D) - .field static public literal valuetype System.Compiler.NodeType Cpblk = int32(0x00000048) - .field static public literal valuetype System.Compiler.NodeType CurrentClosure = int32(0x00000084) - .field static public literal valuetype System.Compiler.NodeType DebugBreak = int32(0x00000049) - .field static public literal valuetype System.Compiler.NodeType Decrement = int32(0x00000097) - .field static public literal valuetype System.Compiler.NodeType DefaultValue = int32(0x00000086) - .field static public literal valuetype System.Compiler.NodeType DelegateNode = int32(0x000000F4) - .field static public literal valuetype System.Compiler.NodeType Div = int32(0x0000004A) - .field static public literal valuetype System.Compiler.NodeType Div_Un = int32(0x0000004B) - .field static public literal valuetype System.Compiler.NodeType DoWhile = int32(0x000000BE) - .field static public literal valuetype System.Compiler.NodeType Document = int32(0x00000004) - .field static public literal valuetype System.Compiler.NodeType Dup = int32(0x0000004C) - .field static public literal valuetype System.Compiler.NodeType EndFilter = int32(0x0000004D) - .field static public literal valuetype System.Compiler.NodeType EndFinally = int32(0x0000004E) - .field static public literal valuetype System.Compiler.NodeType EndOfRecord = int32(0x00000005) - .field static public literal valuetype System.Compiler.NodeType EnforceCheck = int32(0x0000004F) - .field static public literal valuetype System.Compiler.NodeType Ensures = int32(0x0000013A) - .field static public literal valuetype System.Compiler.NodeType EnsuresExceptional = int32(0x0000013C) - .field static public literal valuetype System.Compiler.NodeType EnsuresNormal = int32(0x0000013B) - .field static public literal valuetype System.Compiler.NodeType EnumNode = int32(0x000000F5) - .field static public literal valuetype System.Compiler.NodeType Eq = int32(0x000000A1) - .field static public literal valuetype System.Compiler.NodeType Event = int32(0x000000F6) - .field static public literal valuetype System.Compiler.NodeType ExceptionHandler = int32(0x00000078) - .field static public literal valuetype System.Compiler.NodeType Exit = int32(0x000000C6) - .field static public literal valuetype System.Compiler.NodeType ExplicitCoercion = int32(0x0000009E) - .field static public literal valuetype System.Compiler.NodeType Expression = int32(0x00000006) - .field static public literal valuetype System.Compiler.NodeType ExpressionSnippet = int32(0x000000DA) - .field static public literal valuetype System.Compiler.NodeType ExpressionStatement = int32(0x000000B0) - .field static public literal valuetype System.Compiler.NodeType FaultHandler = int32(0x000000B7) - .field static public literal valuetype System.Compiler.NodeType Field = int32(0x00000109) - .field static public literal valuetype System.Compiler.NodeType FieldInitializerBlock = int32(0x000000CE) - .field static public literal valuetype System.Compiler.NodeType Filter = int32(0x000000B9) - .field static public literal valuetype System.Compiler.NodeType Finally = int32(0x000000B8) - .field static public literal valuetype System.Compiler.NodeType Fixed = int32(0x000000CA) - .field static public literal valuetype System.Compiler.NodeType FlexArrayTypeExpression = int32(0x000000DE) - .field static public literal valuetype System.Compiler.NodeType For = int32(0x000000BB) - .field static public literal valuetype System.Compiler.NodeType ForEach = int32(0x000000BC) - .field static public literal valuetype System.Compiler.NodeType FunctionDeclaration = int32(0x000000EC) - .field static public literal valuetype System.Compiler.NodeType FunctionPointer = int32(0x00000100) - .field static public literal valuetype System.Compiler.NodeType FunctionTypeExpression = int32(0x000000DF) - .field static public literal valuetype System.Compiler.NodeType Ge = int32(0x000000A2) - .field static public literal valuetype System.Compiler.NodeType Goto = int32(0x000000C8) - .field static public literal valuetype System.Compiler.NodeType GotoCase = int32(0x000000C3) - .field static public literal valuetype System.Compiler.NodeType Gt = int32(0x000000A3) - .field static public literal valuetype System.Compiler.NodeType Guid = int32(0x00000007) - .field static public literal valuetype System.Compiler.NodeType Identifier = int32(0x00000080) - .field static public literal valuetype System.Compiler.NodeType If = int32(0x000000BA) - .field static public literal valuetype System.Compiler.NodeType Iff = int32(0x00000134) - .field static public literal valuetype System.Compiler.NodeType ImplicitThis = int32(0x00000083) - .field static public literal valuetype System.Compiler.NodeType Implies = int32(0x00000135) - .field static public literal valuetype System.Compiler.NodeType Increment = int32(0x00000098) - .field static public literal valuetype System.Compiler.NodeType Indexer = int32(0x00000099) - .field static public literal valuetype System.Compiler.NodeType Initblk = int32(0x00000050) - .field static public literal valuetype System.Compiler.NodeType InstanceInitializer = int32(0x00000106) - .field static public literal valuetype System.Compiler.NodeType Instruction = int32(0x000000AD) - .field static public literal valuetype System.Compiler.NodeType Interface = int32(0x000000F7) - .field static public literal valuetype System.Compiler.NodeType InterfaceExpression = int32(0x000000DD) - .field static public literal valuetype System.Compiler.NodeType Invariant = int32(0x00000133) - .field static public literal valuetype System.Compiler.NodeType InvariantTypeExpression = int32(0x000000E5) - .field static public literal valuetype System.Compiler.NodeType Is = int32(0x0000009F) - .field static public literal valuetype System.Compiler.NodeType Isinst = int32(0x00000051) - .field static public literal valuetype System.Compiler.NodeType Jmp = int32(0x00000052) - .field static public literal valuetype System.Compiler.NodeType LRExpression = int32(0x000000AC) - .field static public literal valuetype System.Compiler.NodeType LabeledStatement = int32(0x000000C9) - .field static public literal valuetype System.Compiler.NodeType Ldftn = int32(0x00000053) - .field static public literal valuetype System.Compiler.NodeType Ldlen = int32(0x00000054) - .field static public literal valuetype System.Compiler.NodeType Ldtoken = int32(0x00000055) - .field static public literal valuetype System.Compiler.NodeType Ldvirtftn = int32(0x00000056) - .field static public literal valuetype System.Compiler.NodeType Le = int32(0x000000A4) - .field static public literal valuetype System.Compiler.NodeType List = int32(0x00000008) - .field static public literal valuetype System.Compiler.NodeType Literal = int32(0x0000007F) - .field static public literal valuetype System.Compiler.NodeType Local = int32(0x0000010C) - .field static public literal valuetype System.Compiler.NodeType LocalDeclaration = int32(0x000000D2) - .field static public literal valuetype System.Compiler.NodeType LocalDeclarationsStatement = int32(0x000000D3) - .field static public literal valuetype System.Compiler.NodeType Localloc = int32(0x00000057) - .field static public literal valuetype System.Compiler.NodeType Lock = int32(0x000000CB) - .field static public literal valuetype System.Compiler.NodeType LogicalAnd = int32(0x000000A7) - .field static public literal valuetype System.Compiler.NodeType LogicalEqual = int32(0x00000140) - .field static public literal valuetype System.Compiler.NodeType LogicalImply = int32(0x0000013F) - .field static public literal valuetype System.Compiler.NodeType LogicalNot = int32(0x0000009B) - .field static public literal valuetype System.Compiler.NodeType LogicalOr = int32(0x000000A8) - .field static public literal valuetype System.Compiler.NodeType Lt = int32(0x000000A5) - .field static public literal valuetype System.Compiler.NodeType Maplet = int32(0x00000142) - .field static public literal valuetype System.Compiler.NodeType MarshallingInformation = int32(0x00000009) - .field static public literal valuetype System.Compiler.NodeType Member = int32(0x0000000A) - .field static public literal valuetype System.Compiler.NodeType MemberBinding = int32(0x0000009A) - .field static public literal valuetype System.Compiler.NodeType MemberReference = int32(0x0000000B) - .field static public literal valuetype System.Compiler.NodeType Method = int32(0x00000108) - .field static public literal valuetype System.Compiler.NodeType MethodCall = int32(0x0000008A) - .field static public literal valuetype System.Compiler.NodeType MethodContract = int32(0x00000131) - .field static public literal valuetype System.Compiler.NodeType MissingBlockReference = int32(0x0000000C) - .field static public literal valuetype System.Compiler.NodeType MissingExpression = int32(0x0000000D) - .field static public literal valuetype System.Compiler.NodeType MissingMemberReference = int32(0x0000000E) - .field static public literal valuetype System.Compiler.NodeType Mkrefany = int32(0x00000058) - .field static public literal valuetype System.Compiler.NodeType Module = int32(0x000000EF) - .field static public literal valuetype System.Compiler.NodeType ModuleReference = int32(0x000000F0) - .field static public literal valuetype System.Compiler.NodeType Mul = int32(0x00000059) - .field static public literal valuetype System.Compiler.NodeType Mul_Ovf = int32(0x0000005A) - .field static public literal valuetype System.Compiler.NodeType Mul_Ovf_Un = int32(0x0000005B) - .field static public literal valuetype System.Compiler.NodeType NameBinding = int32(0x00000088) - .field static public literal valuetype System.Compiler.NodeType NamedArgument = int32(0x0000007E) - .field static public literal valuetype System.Compiler.NodeType Namespace = int32(0x000000CF) - .field static public literal valuetype System.Compiler.NodeType Ne = int32(0x000000A6) - .field static public literal valuetype System.Compiler.NodeType Neg = int32(0x0000005C) - .field static public literal valuetype System.Compiler.NodeType NonEmptyStreamTypeExpression = int32(0x000000E3) - .field static public literal valuetype System.Compiler.NodeType NonNullTypeExpression = int32(0x000000E6) - .field static public literal valuetype System.Compiler.NodeType NonNullableTypeExpression = int32(0x000000E7) - .field static public literal valuetype System.Compiler.NodeType Nop = int32(0x0000005D) - .field static public literal valuetype System.Compiler.NodeType Not = int32(0x0000005E) - .field static public literal valuetype System.Compiler.NodeType OldExpression = int32(0x00000138) - .field static public literal valuetype System.Compiler.NodeType OptionalModifier = int32(0x00000104) - .field static public literal valuetype System.Compiler.NodeType OptionalModifierTypeExpression = int32(0x00000143) - .field static public literal valuetype System.Compiler.NodeType Or = int32(0x0000005F) - .field static public literal valuetype System.Compiler.NodeType OutAddress = int32(0x0000007C) - .field static public literal valuetype System.Compiler.NodeType Parameter = int32(0x0000010B) - .field static public literal valuetype System.Compiler.NodeType Parentheses = int32(0x000000AB) - .field static public literal valuetype System.Compiler.NodeType Pointer = int32(0x00000101) - .field static public literal valuetype System.Compiler.NodeType PointerTypeExpression = int32(0x000000E0) - .field static public literal valuetype System.Compiler.NodeType Pop = int32(0x00000060) - .field static public literal valuetype System.Compiler.NodeType PostfixExpression = int32(0x00000096) - .field static public literal valuetype System.Compiler.NodeType PrefixExpression = int32(0x00000095) - .field static public literal valuetype System.Compiler.NodeType Property = int32(0x0000010A) - .field static public literal valuetype System.Compiler.NodeType QualifiedIdentifer = int32(0x00000087) - .field static public literal valuetype System.Compiler.NodeType QueryAggregate = int32(0x0000010E) - .field static public literal valuetype System.Compiler.NodeType QueryAlias = int32(0x0000010F) - .field static public literal valuetype System.Compiler.NodeType QueryAll = int32(0x00000110) - .field static public literal valuetype System.Compiler.NodeType QueryAny = int32(0x00000111) - .field static public literal valuetype System.Compiler.NodeType QueryAxis = int32(0x00000112) - .field static public literal valuetype System.Compiler.NodeType QueryCommit = int32(0x00000113) - .field static public literal valuetype System.Compiler.NodeType QueryContext = int32(0x00000114) - .field static public literal valuetype System.Compiler.NodeType QueryDelete = int32(0x00000115) - .field static public literal valuetype System.Compiler.NodeType QueryDifference = int32(0x00000117) - .field static public literal valuetype System.Compiler.NodeType QueryDistinct = int32(0x00000116) - .field static public literal valuetype System.Compiler.NodeType QueryExists = int32(0x00000118) - .field static public literal valuetype System.Compiler.NodeType QueryFilter = int32(0x00000119) - .field static public literal valuetype System.Compiler.NodeType QueryGeneratedType = int32(0x0000011A) - .field static public literal valuetype System.Compiler.NodeType QueryGroupBy = int32(0x0000011B) - .field static public literal valuetype System.Compiler.NodeType QueryInsert = int32(0x0000011C) - .field static public literal valuetype System.Compiler.NodeType QueryIntersection = int32(0x0000011D) - .field static public literal valuetype System.Compiler.NodeType QueryIterator = int32(0x0000011E) - .field static public literal valuetype System.Compiler.NodeType QueryJoin = int32(0x0000011F) - .field static public literal valuetype System.Compiler.NodeType QueryLimit = int32(0x00000120) - .field static public literal valuetype System.Compiler.NodeType QueryOrderBy = int32(0x00000121) - .field static public literal valuetype System.Compiler.NodeType QueryOrderItem = int32(0x00000122) - .field static public literal valuetype System.Compiler.NodeType QueryPosition = int32(0x00000123) - .field static public literal valuetype System.Compiler.NodeType QueryProject = int32(0x00000124) - .field static public literal valuetype System.Compiler.NodeType QueryQuantifiedExpression = int32(0x00000125) - .field static public literal valuetype System.Compiler.NodeType QueryRollback = int32(0x00000126) - .field static public literal valuetype System.Compiler.NodeType QuerySelect = int32(0x00000127) - .field static public literal valuetype System.Compiler.NodeType QuerySingleton = int32(0x00000128) - .field static public literal valuetype System.Compiler.NodeType QueryTransact = int32(0x00000129) - .field static public literal valuetype System.Compiler.NodeType QueryTypeFilter = int32(0x0000012A) - .field static public literal valuetype System.Compiler.NodeType QueryUnion = int32(0x0000012B) - .field static public literal valuetype System.Compiler.NodeType QueryUpdate = int32(0x0000012C) - .field static public literal valuetype System.Compiler.NodeType QueryYielder = int32(0x0000012D) - .field static public literal valuetype System.Compiler.NodeType Range = int32(0x00000141) - .field static public literal valuetype System.Compiler.NodeType Read = int32(0x0000012F) - .field static public literal valuetype System.Compiler.NodeType ReadOnlyAddressOf = int32(0x00000061) - .field static public literal valuetype System.Compiler.NodeType RefAddress = int32(0x0000007B) - .field static public literal valuetype System.Compiler.NodeType Refanytype = int32(0x00000062) - .field static public literal valuetype System.Compiler.NodeType Refanyval = int32(0x00000063) - .field static public literal valuetype System.Compiler.NodeType Reference = int32(0x00000102) - .field static public literal valuetype System.Compiler.NodeType ReferenceTypeExpression = int32(0x000000E1) - .field static public literal valuetype System.Compiler.NodeType Rem = int32(0x00000064) - .field static public literal valuetype System.Compiler.NodeType Rem_Un = int32(0x00000065) - .field static public literal valuetype System.Compiler.NodeType RemoveEventHandler = int32(0x000000B2) - .field static public literal valuetype System.Compiler.NodeType Repeat = int32(0x000000BF) - .field static public literal valuetype System.Compiler.NodeType RequiredModifier = int32(0x00000105) - .field static public literal valuetype System.Compiler.NodeType RequiredModifierTypeExpression = int32(0x00000144) - .field static public literal valuetype System.Compiler.NodeType Requires = int32(0x00000136) - .field static public literal valuetype System.Compiler.NodeType RequiresOtherwise = int32(0x00000139) - .field static public literal valuetype System.Compiler.NodeType RequiresPlain = int32(0x00000137) - .field static public literal valuetype System.Compiler.NodeType ResourceUse = int32(0x000000CC) - .field static public literal valuetype System.Compiler.NodeType Rethrow = int32(0x00000066) - .field static public literal valuetype System.Compiler.NodeType Return = int32(0x000000B3) - .field static public literal valuetype System.Compiler.NodeType SecurityAttribute = int32(0x000000F2) - .field static public literal valuetype System.Compiler.NodeType SetterValue = int32(0x00000085) - .field static public literal valuetype System.Compiler.NodeType Shl = int32(0x00000067) - .field static public literal valuetype System.Compiler.NodeType Shr = int32(0x00000068) - .field static public literal valuetype System.Compiler.NodeType Shr_Un = int32(0x00000069) - .field static public literal valuetype System.Compiler.NodeType Sizeof = int32(0x0000006A) - .field static public literal valuetype System.Compiler.NodeType SkipCheck = int32(0x0000006B) - .field static public literal valuetype System.Compiler.NodeType StatementSnippet = int32(0x000000D9) - .field static public literal valuetype System.Compiler.NodeType StaticInitializer = int32(0x00000107) - .field static public literal valuetype System.Compiler.NodeType StreamTypeExpression = int32(0x000000E2) - .field static public literal valuetype System.Compiler.NodeType String = int32(0x0000000F) - .field static public literal valuetype System.Compiler.NodeType StringDictionary = int32(0x00000010) - .field static public literal valuetype System.Compiler.NodeType Struct = int32(0x000000F8) - .field static public literal valuetype System.Compiler.NodeType Sub = int32(0x0000006C) - .field static public literal valuetype System.Compiler.NodeType Sub_Ovf = int32(0x0000006D) - .field static public literal valuetype System.Compiler.NodeType Sub_Ovf_Un = int32(0x0000006E) - .field static public literal valuetype System.Compiler.NodeType Switch = int32(0x000000C0) - .field static public literal valuetype System.Compiler.NodeType SwitchCase = int32(0x000000C1) - .field static public literal valuetype System.Compiler.NodeType SwitchCaseBottom = int32(0x000000C2) - .field static public literal valuetype System.Compiler.NodeType SwitchInstruction = int32(0x0000006F) - .field static public literal valuetype System.Compiler.NodeType Tailcall = int32(0x00000070) - .field static public literal valuetype System.Compiler.NodeType TemplateInstance = int32(0x00000089) - .field static public literal valuetype System.Compiler.NodeType This = int32(0x00000081) - .field static public literal valuetype System.Compiler.NodeType Throw = int32(0x00000071) - .field static public literal valuetype System.Compiler.NodeType Try = int32(0x000000B5) - .field static public literal valuetype System.Compiler.NodeType TupleType = int32(0x000000F9) - .field static public literal valuetype System.Compiler.NodeType TupleTypeExpression = int32(0x000000E8) - .field static public literal valuetype System.Compiler.NodeType TypeAlias = int32(0x000000FA) - .field static public literal valuetype System.Compiler.NodeType TypeContract = int32(0x00000132) - .field static public literal valuetype System.Compiler.NodeType TypeExpression = int32(0x000000E9) - .field static public literal valuetype System.Compiler.NodeType TypeIntersection = int32(0x000000FD) - .field static public literal valuetype System.Compiler.NodeType TypeIntersectionExpression = int32(0x000000EA) - .field static public literal valuetype System.Compiler.NodeType TypeMemberSnippet = int32(0x000000D8) - .field static public literal valuetype System.Compiler.NodeType TypeNode = int32(0x00000011) - .field static public literal valuetype System.Compiler.NodeType TypeParameter = int32(0x000000FB) - .field static public literal valuetype System.Compiler.NodeType TypeUnion = int32(0x000000FE) - .field static public literal valuetype System.Compiler.NodeType TypeUnionExpression = int32(0x000000EB) - .field static public literal valuetype System.Compiler.NodeType Typeof = int32(0x0000009C) - .field static public literal valuetype System.Compiler.NodeType Typeswitch = int32(0x000000C4) - .field static public literal valuetype System.Compiler.NodeType TypeswitchCase = int32(0x000000C5) - .field static public literal valuetype System.Compiler.NodeType Unaligned = int32(0x00000072) - .field static public literal valuetype System.Compiler.NodeType UnaryPlus = int32(0x00000075) - .field static public literal valuetype System.Compiler.NodeType Unbox = int32(0x00000073) - .field static public literal valuetype System.Compiler.NodeType UnboxAny = int32(0x00000074) - .field static public literal valuetype System.Compiler.NodeType Undefined = int32(0x00000000) - .field static public literal valuetype System.Compiler.NodeType Uri = int32(0x00000012) - .field static public literal valuetype System.Compiler.NodeType UsedNamespace = int32(0x000000D1) - .field static public literal valuetype System.Compiler.NodeType VariableDeclaration = int32(0x000000D4) - .field static public literal valuetype System.Compiler.NodeType Volatile = int32(0x00000076) - .field static public literal valuetype System.Compiler.NodeType While = int32(0x000000BD) - .field static public literal valuetype System.Compiler.NodeType Write = int32(0x00000130) - .field static public literal valuetype System.Compiler.NodeType XmlNode = int32(0x00000013) - .field static public literal valuetype System.Compiler.NodeType Xor = int32(0x00000077) - .field static public literal valuetype System.Compiler.NodeType Yield = int32(0x000000B4) - } - .class public NonEmptyStreamTypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.TypeNode ElementType - } - .class public NonNullTypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.TypeNode ElementType - } - .class public NonNullableTypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.TypeNode ElementType - } - .class public sealed OpCode - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.OpCode Add = int32(0x00000058) - .field static public literal valuetype System.Compiler.OpCode Add_Ovf = int32(0x000000D6) - .field static public literal valuetype System.Compiler.OpCode Add_Ovf_Un = int32(0x000000D7) - .field static public literal valuetype System.Compiler.OpCode And = int32(0x0000005F) - .field static public literal valuetype System.Compiler.OpCode Arglist = int32(0x0000FE00) - .field static public literal valuetype System.Compiler.OpCode Beq = int32(0x0000003B) - .field static public literal valuetype System.Compiler.OpCode Beq_S1 = int32(0x0000002E) - .field static public literal valuetype System.Compiler.OpCode Bge = int32(0x0000003C) - .field static public literal valuetype System.Compiler.OpCode Bge_S1 = int32(0x0000002F) - .field static public literal valuetype System.Compiler.OpCode Bge_Un = int32(0x00000041) - .field static public literal valuetype System.Compiler.OpCode Bge_Un_S1 = int32(0x00000034) - .field static public literal valuetype System.Compiler.OpCode Bgt = int32(0x0000003D) - .field static public literal valuetype System.Compiler.OpCode Bgt_S1 = int32(0x00000030) - .field static public literal valuetype System.Compiler.OpCode Bgt_Un = int32(0x00000042) - .field static public literal valuetype System.Compiler.OpCode Bgt_Un_S1 = int32(0x00000035) - .field static public literal valuetype System.Compiler.OpCode Ble = int32(0x0000003E) - .field static public literal valuetype System.Compiler.OpCode Ble_S1 = int32(0x00000031) - .field static public literal valuetype System.Compiler.OpCode Ble_Un = int32(0x00000043) - .field static public literal valuetype System.Compiler.OpCode Ble_Un_S1 = int32(0x00000036) - .field static public literal valuetype System.Compiler.OpCode Blt = int32(0x0000003F) - .field static public literal valuetype System.Compiler.OpCode Blt_S1 = int32(0x00000032) - .field static public literal valuetype System.Compiler.OpCode Blt_Un = int32(0x00000044) - .field static public literal valuetype System.Compiler.OpCode Blt_Un_S1 = int32(0x00000037) - .field static public literal valuetype System.Compiler.OpCode Bne_Un = int32(0x00000040) - .field static public literal valuetype System.Compiler.OpCode Bne_Un_S1 = int32(0x00000033) - .field static public literal valuetype System.Compiler.OpCode Box = int32(0x0000008C) - .field static public literal valuetype System.Compiler.OpCode Br = int32(0x00000038) - .field static public literal valuetype System.Compiler.OpCode Br_S = int32(0x0000002B) - .field static public literal valuetype System.Compiler.OpCode Break = int32(0x00000001) - .field static public literal valuetype System.Compiler.OpCode Brfalse = int32(0x00000039) - .field static public literal valuetype System.Compiler.OpCode Brfalse_S = int32(0x0000002C) - .field static public literal valuetype System.Compiler.OpCode Brtrue = int32(0x0000003A) - .field static public literal valuetype System.Compiler.OpCode Brtrue_S = int32(0x0000002D) - .field static public literal valuetype System.Compiler.OpCode Call = int32(0x00000028) - .field static public literal valuetype System.Compiler.OpCode Calli = int32(0x00000029) - .field static public literal valuetype System.Compiler.OpCode Callvirt = int32(0x0000006F) - .field static public literal valuetype System.Compiler.OpCode Castclass = int32(0x00000074) - .field static public literal valuetype System.Compiler.OpCode Ceq = int32(0x0000FE01) - .field static public literal valuetype System.Compiler.OpCode Cgt = int32(0x0000FE02) - .field static public literal valuetype System.Compiler.OpCode Cgt_Un = int32(0x0000FE03) - .field static public literal valuetype System.Compiler.OpCode Ckfinite = int32(0x000000C3) - .field static public literal valuetype System.Compiler.OpCode Clt = int32(0x0000FE04) - .field static public literal valuetype System.Compiler.OpCode Clt_Un = int32(0x0000FE05) - .field static public literal valuetype System.Compiler.OpCode Constrained_ = int32(0x0000FE16) - .field static public literal valuetype System.Compiler.OpCode Conv_I = int32(0x000000D3) - .field static public literal valuetype System.Compiler.OpCode Conv_I1 = int32(0x00000067) - .field static public literal valuetype System.Compiler.OpCode Conv_I2 = int32(0x00000068) - .field static public literal valuetype System.Compiler.OpCode Conv_I4 = int32(0x00000069) - .field static public literal valuetype System.Compiler.OpCode Conv_I8 = int32(0x0000006A) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_I = int32(0x000000D4) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_I1 = int32(0x000000B3) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_I1_Un = int32(0x00000082) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_I2 = int32(0x000000B5) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_I2_Un = int32(0x00000083) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_I4 = int32(0x000000B7) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_I4_Un = int32(0x00000084) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_I8 = int32(0x000000B9) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_I8_Un = int32(0x00000085) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_I_Un = int32(0x0000008A) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_U = int32(0x000000D5) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_U1 = int32(0x000000B4) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_U1_Un = int32(0x00000086) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_U2 = int32(0x000000B6) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_U2_Un = int32(0x00000087) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_U4 = int32(0x000000B8) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_U4_Un = int32(0x00000088) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_U8 = int32(0x000000BA) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_U8_Un = int32(0x00000089) - .field static public literal valuetype System.Compiler.OpCode Conv_Ovf_U_Un = int32(0x0000008B) - .field static public literal valuetype System.Compiler.OpCode Conv_R4 = int32(0x0000006B) - .field static public literal valuetype System.Compiler.OpCode Conv_R8 = int32(0x0000006C) - .field static public literal valuetype System.Compiler.OpCode Conv_R_Un = int32(0x00000076) - .field static public literal valuetype System.Compiler.OpCode Conv_U = int32(0x000000E0) - .field static public literal valuetype System.Compiler.OpCode Conv_U1 = int32(0x000000D2) - .field static public literal valuetype System.Compiler.OpCode Conv_U2 = int32(0x000000D1) - .field static public literal valuetype System.Compiler.OpCode Conv_U4 = int32(0x0000006D) - .field static public literal valuetype System.Compiler.OpCode Conv_U8 = int32(0x0000006E) - .field static public literal valuetype System.Compiler.OpCode Cpblk = int32(0x0000FE17) - .field static public literal valuetype System.Compiler.OpCode Cpobj = int32(0x00000070) - .field static public literal valuetype System.Compiler.OpCode Div = int32(0x0000005B) - .field static public literal valuetype System.Compiler.OpCode Div_Un = int32(0x0000005C) - .field static public literal valuetype System.Compiler.OpCode Dup = int32(0x00000025) - .field static public literal valuetype System.Compiler.OpCode Endfilter = int32(0x0000FE11) - .field static public literal valuetype System.Compiler.OpCode Endfinally = int32(0x000000DC) - .field static public literal valuetype System.Compiler.OpCode Initblk = int32(0x0000FE18) - .field static public literal valuetype System.Compiler.OpCode Initobj = int32(0x0000FE15) - .field static public literal valuetype System.Compiler.OpCode Isinst = int32(0x00000075) - .field static public literal valuetype System.Compiler.OpCode Jmp = int32(0x00000027) - .field static public literal valuetype System.Compiler.OpCode Ldarg = int32(0x0000FE09) - .field static public literal valuetype System.Compiler.OpCode Ldarg_0 = int32(0x00000002) - .field static public literal valuetype System.Compiler.OpCode Ldarg_1 = int32(0x00000003) - .field static public literal valuetype System.Compiler.OpCode Ldarg_2 = int32(0x00000004) - .field static public literal valuetype System.Compiler.OpCode Ldarg_3 = int32(0x00000005) - .field static public literal valuetype System.Compiler.OpCode Ldarg_S = int32(0x0000000E) - .field static public literal valuetype System.Compiler.OpCode Ldarga = int32(0x0000FE0A) - .field static public literal valuetype System.Compiler.OpCode Ldarga_S = int32(0x0000000F) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4 = int32(0x00000020) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4_0 = int32(0x00000016) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4_1 = int32(0x00000017) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4_2 = int32(0x00000018) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4_3 = int32(0x00000019) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4_4 = int32(0x0000001A) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4_5 = int32(0x0000001B) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4_6 = int32(0x0000001C) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4_7 = int32(0x0000001D) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4_8 = int32(0x0000001E) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4_M1 = int32(0x00000015) - .field static public literal valuetype System.Compiler.OpCode Ldc_I4_S = int32(0x0000001F) - .field static public literal valuetype System.Compiler.OpCode Ldc_I8 = int32(0x00000021) - .field static public literal valuetype System.Compiler.OpCode Ldc_R4 = int32(0x00000022) - .field static public literal valuetype System.Compiler.OpCode Ldc_R8 = int32(0x00000023) - .field static public literal valuetype System.Compiler.OpCode Ldelem = int32(0x000000A3) - .field static public literal valuetype System.Compiler.OpCode Ldelem_I = int32(0x00000097) - .field static public literal valuetype System.Compiler.OpCode Ldelem_I1 = int32(0x00000090) - .field static public literal valuetype System.Compiler.OpCode Ldelem_I2 = int32(0x00000092) - .field static public literal valuetype System.Compiler.OpCode Ldelem_I4 = int32(0x00000094) - .field static public literal valuetype System.Compiler.OpCode Ldelem_I8 = int32(0x00000096) - .field static public literal valuetype System.Compiler.OpCode Ldelem_R4 = int32(0x00000098) - .field static public literal valuetype System.Compiler.OpCode Ldelem_R8 = int32(0x00000099) - .field static public literal valuetype System.Compiler.OpCode Ldelem_Ref = int32(0x0000009A) - .field static public literal valuetype System.Compiler.OpCode Ldelem_U1 = int32(0x00000091) - .field static public literal valuetype System.Compiler.OpCode Ldelem_U2 = int32(0x00000093) - .field static public literal valuetype System.Compiler.OpCode Ldelem_U4 = int32(0x00000095) - .field static public literal valuetype System.Compiler.OpCode Ldelema = int32(0x0000008F) - .field static public literal valuetype System.Compiler.OpCode Ldfld = int32(0x0000007B) - .field static public literal valuetype System.Compiler.OpCode Ldflda = int32(0x0000007C) - .field static public literal valuetype System.Compiler.OpCode Ldftn = int32(0x0000FE06) - .field static public literal valuetype System.Compiler.OpCode Ldind_I = int32(0x0000004D) - .field static public literal valuetype System.Compiler.OpCode Ldind_I1 = int32(0x00000046) - .field static public literal valuetype System.Compiler.OpCode Ldind_I2 = int32(0x00000048) - .field static public literal valuetype System.Compiler.OpCode Ldind_I4 = int32(0x0000004A) - .field static public literal valuetype System.Compiler.OpCode Ldind_I8 = int32(0x0000004C) - .field static public literal valuetype System.Compiler.OpCode Ldind_R4 = int32(0x0000004E) - .field static public literal valuetype System.Compiler.OpCode Ldind_R8 = int32(0x0000004F) - .field static public literal valuetype System.Compiler.OpCode Ldind_Ref = int32(0x00000050) - .field static public literal valuetype System.Compiler.OpCode Ldind_U1 = int32(0x00000047) - .field static public literal valuetype System.Compiler.OpCode Ldind_U2 = int32(0x00000049) - .field static public literal valuetype System.Compiler.OpCode Ldind_U4 = int32(0x0000004B) - .field static public literal valuetype System.Compiler.OpCode Ldlen = int32(0x0000008E) - .field static public literal valuetype System.Compiler.OpCode Ldloc = int32(0x0000FE0C) - .field static public literal valuetype System.Compiler.OpCode Ldloc_0 = int32(0x00000006) - .field static public literal valuetype System.Compiler.OpCode Ldloc_1 = int32(0x00000007) - .field static public literal valuetype System.Compiler.OpCode Ldloc_2 = int32(0x00000008) - .field static public literal valuetype System.Compiler.OpCode Ldloc_3 = int32(0x00000009) - .field static public literal valuetype System.Compiler.OpCode Ldloc_S = int32(0x00000011) - .field static public literal valuetype System.Compiler.OpCode Ldloca = int32(0x0000FE0D) - .field static public literal valuetype System.Compiler.OpCode Ldloca_S = int32(0x00000012) - .field static public literal valuetype System.Compiler.OpCode Ldnull = int32(0x00000014) - .field static public literal valuetype System.Compiler.OpCode Ldobj = int32(0x00000071) - .field static public literal valuetype System.Compiler.OpCode Ldsfld = int32(0x0000007E) - .field static public literal valuetype System.Compiler.OpCode Ldsflda = int32(0x0000007F) - .field static public literal valuetype System.Compiler.OpCode Ldstr = int32(0x00000072) - .field static public literal valuetype System.Compiler.OpCode Ldtoken = int32(0x000000D0) - .field static public literal valuetype System.Compiler.OpCode Ldvirtftn = int32(0x0000FE07) - .field static public literal valuetype System.Compiler.OpCode Leave = int32(0x000000DD) - .field static public literal valuetype System.Compiler.OpCode Leave_S = int32(0x000000DE) - .field static public literal valuetype System.Compiler.OpCode Localloc = int32(0x0000FE0F) - .field static public literal valuetype System.Compiler.OpCode Mkrefany = int32(0x000000C6) - .field static public literal valuetype System.Compiler.OpCode Mul = int32(0x0000005A) - .field static public literal valuetype System.Compiler.OpCode Mul_Ovf = int32(0x000000D8) - .field static public literal valuetype System.Compiler.OpCode Mul_Ovf_Un = int32(0x000000D9) - .field static public literal valuetype System.Compiler.OpCode Neg = int32(0x00000065) - .field static public literal valuetype System.Compiler.OpCode Newarr = int32(0x0000008D) - .field static public literal valuetype System.Compiler.OpCode Newobj = int32(0x00000073) - .field static public literal valuetype System.Compiler.OpCode No = int32(0x0000FE19) - .field static public literal valuetype System.Compiler.OpCode Nop = int32(0x00000000) - .field static public literal valuetype System.Compiler.OpCode Not = int32(0x00000066) - .field static public literal valuetype System.Compiler.OpCode Or = int32(0x00000060) - .field static public literal valuetype System.Compiler.OpCode Pop = int32(0x00000026) - .field static public literal valuetype System.Compiler.OpCode Prefix1 = int32(0x000000FE) - .field static public literal valuetype System.Compiler.OpCode Prefix2 = int32(0x000000FD) - .field static public literal valuetype System.Compiler.OpCode Prefix3 = int32(0x000000FC) - .field static public literal valuetype System.Compiler.OpCode Prefix4 = int32(0x000000FB) - .field static public literal valuetype System.Compiler.OpCode Prefix5 = int32(0x000000FA) - .field static public literal valuetype System.Compiler.OpCode Prefix6 = int32(0x000000F9) - .field static public literal valuetype System.Compiler.OpCode Prefix7 = int32(0x000000F8) - .field static public literal valuetype System.Compiler.OpCode Readonly_ = int32(0x0000FE1E) - .field static public literal valuetype System.Compiler.OpCode Refanytype = int32(0x0000FE1D) - .field static public literal valuetype System.Compiler.OpCode Refanyval = int32(0x000000C2) - .field static public literal valuetype System.Compiler.OpCode Rem = int32(0x0000005D) - .field static public literal valuetype System.Compiler.OpCode Rem_Un = int32(0x0000005E) - .field static public literal valuetype System.Compiler.OpCode Ret = int32(0x0000002A) - .field static public literal valuetype System.Compiler.OpCode Rethrow = int32(0x0000FE1A) - .field static public literal valuetype System.Compiler.OpCode Shl = int32(0x00000062) - .field static public literal valuetype System.Compiler.OpCode Shr = int32(0x00000063) - .field static public literal valuetype System.Compiler.OpCode Shr_Un = int32(0x00000064) - .field static public literal valuetype System.Compiler.OpCode Sizeof = int32(0x0000FE1C) - .field static public literal valuetype System.Compiler.OpCode Starg = int32(0x0000FE0B) - .field static public literal valuetype System.Compiler.OpCode Starg_S = int32(0x00000010) - .field static public literal valuetype System.Compiler.OpCode Stelem = int32(0x000000A4) - .field static public literal valuetype System.Compiler.OpCode Stelem_I = int32(0x0000009B) - .field static public literal valuetype System.Compiler.OpCode Stelem_I1 = int32(0x0000009C) - .field static public literal valuetype System.Compiler.OpCode Stelem_I2 = int32(0x0000009D) - .field static public literal valuetype System.Compiler.OpCode Stelem_I4 = int32(0x0000009E) - .field static public literal valuetype System.Compiler.OpCode Stelem_I8 = int32(0x0000009F) - .field static public literal valuetype System.Compiler.OpCode Stelem_R4 = int32(0x000000A0) - .field static public literal valuetype System.Compiler.OpCode Stelem_R8 = int32(0x000000A1) - .field static public literal valuetype System.Compiler.OpCode Stelem_Ref = int32(0x000000A2) - .field static public literal valuetype System.Compiler.OpCode Stfld = int32(0x0000007D) - .field static public literal valuetype System.Compiler.OpCode Stind_I = int32(0x000000DF) - .field static public literal valuetype System.Compiler.OpCode Stind_I1 = int32(0x00000052) - .field static public literal valuetype System.Compiler.OpCode Stind_I2 = int32(0x00000053) - .field static public literal valuetype System.Compiler.OpCode Stind_I4 = int32(0x00000054) - .field static public literal valuetype System.Compiler.OpCode Stind_I8 = int32(0x00000055) - .field static public literal valuetype System.Compiler.OpCode Stind_R4 = int32(0x00000056) - .field static public literal valuetype System.Compiler.OpCode Stind_R8 = int32(0x00000057) - .field static public literal valuetype System.Compiler.OpCode Stind_Ref = int32(0x00000051) - .field static public literal valuetype System.Compiler.OpCode Stloc = int32(0x0000FE0E) - .field static public literal valuetype System.Compiler.OpCode Stloc_0 = int32(0x0000000A) - .field static public literal valuetype System.Compiler.OpCode Stloc_1 = int32(0x0000000B) - .field static public literal valuetype System.Compiler.OpCode Stloc_2 = int32(0x0000000C) - .field static public literal valuetype System.Compiler.OpCode Stloc_3 = int32(0x0000000D) - .field static public literal valuetype System.Compiler.OpCode Stloc_S = int32(0x00000013) - .field static public literal valuetype System.Compiler.OpCode Stobj = int32(0x00000081) - .field static public literal valuetype System.Compiler.OpCode Stsfld = int32(0x00000080) - .field static public literal valuetype System.Compiler.OpCode Sub = int32(0x00000059) - .field static public literal valuetype System.Compiler.OpCode Sub_Ovf = int32(0x000000DA) - .field static public literal valuetype System.Compiler.OpCode Sub_Ovf_Un = int32(0x000000DB) - .field static public literal valuetype System.Compiler.OpCode Switch = int32(0x00000045) - .field static public literal valuetype System.Compiler.OpCode Tail_ = int32(0x0000FE14) - .field static public literal valuetype System.Compiler.OpCode Throw = int32(0x0000007A) - .field static public literal valuetype System.Compiler.OpCode Unaligned_ = int32(0x0000FE12) - .field static public literal valuetype System.Compiler.OpCode Unbox = int32(0x00000079) - .field static public literal valuetype System.Compiler.OpCode Unbox_Any = int32(0x000000A5) - .field static public literal valuetype System.Compiler.OpCode Volatile_ = int32(0x0000FE13) - .field static public literal valuetype System.Compiler.OpCode Xor = int32(0x00000061) - .field static public literal valuetype System.Compiler.OpCode _Catch = int32(0x0000FEFC) - .field static public literal valuetype System.Compiler.OpCode _EndFilter = int32(0x0000FEFB) - .field static public literal valuetype System.Compiler.OpCode _EndHandler = int32(0x0000FEFF) - .field static public literal valuetype System.Compiler.OpCode _EndTry = int32(0x0000FEF9) - .field static public literal valuetype System.Compiler.OpCode _Fault = int32(0x0000FEFE) - .field static public literal valuetype System.Compiler.OpCode _Filter = int32(0x0000FEFA) - .field static public literal valuetype System.Compiler.OpCode _Finally = int32(0x0000FEFD) - .field static public literal valuetype System.Compiler.OpCode _Locals = int32(0x0000FEF7) - .field static public literal valuetype System.Compiler.OpCode _Try = int32(0x0000FEF8) - } - .class public OptionalModifier - extends System.Compiler.TypeModifier - { - .method public static hidebysig - class System.Compiler.OptionalModifier For(class System.Compiler.TypeNode modifier, class System.Compiler.TypeNode modified) - { - ret - } - } - .class public OptionalModifierTypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, class System.Compiler.TypeNode modifier) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, class System.Compiler.TypeNode modifier, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.TypeNode ModifiedType - .field public class System.Compiler.TypeNode Modifier - } - .class public sealed PESection - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.PESection SData = int32(0x00000001) - .field static public literal valuetype System.Compiler.PESection TLS = int32(0x00000002) - .field static public literal valuetype System.Compiler.PESection Text = int32(0x00000000) - } - .class public sealed PInvokeFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.PInvokeFlags BestFitDisabled = int32(0x00000020) - .field static public literal valuetype System.Compiler.PInvokeFlags BestFitEnabled = int32(0x00000010) - .field static public literal valuetype System.Compiler.PInvokeFlags BestFitMask = int32(0x00000030) - .field static public literal valuetype System.Compiler.PInvokeFlags BestFitUseAsm = int32(0x00000000) - .field static public literal valuetype System.Compiler.PInvokeFlags CallConvCdecl = int32(0x00000200) - .field static public literal valuetype System.Compiler.PInvokeFlags CallConvFastcall = int32(0x00000500) - .field static public literal valuetype System.Compiler.PInvokeFlags CallConvStdcall = int32(0x00000300) - .field static public literal valuetype System.Compiler.PInvokeFlags CallConvThiscall = int32(0x00000400) - .field static public literal valuetype System.Compiler.PInvokeFlags CallConvWinapi = int32(0x00000100) - .field static public literal valuetype System.Compiler.PInvokeFlags CallingConvMask = int32(0x00000700) - .field static public literal valuetype System.Compiler.PInvokeFlags CharSetAns = int32(0x00000002) - .field static public literal valuetype System.Compiler.PInvokeFlags CharSetAuto = int32(0x00000006) - .field static public literal valuetype System.Compiler.PInvokeFlags CharSetMask = int32(0x00000006) - .field static public literal valuetype System.Compiler.PInvokeFlags CharSetNotSpec = int32(0x00000000) - .field static public literal valuetype System.Compiler.PInvokeFlags CharSetUnicode = int32(0x00000004) - .field static public literal valuetype System.Compiler.PInvokeFlags NoMangle = int32(0x00000001) - .field static public literal valuetype System.Compiler.PInvokeFlags None = int32(0x00000000) - .field static public literal valuetype System.Compiler.PInvokeFlags SupportsLastError = int32(0x00000040) - .field static public literal valuetype System.Compiler.PInvokeFlags ThrowOnUnmappableCharDisabled = int32(0x00002000) - .field static public literal valuetype System.Compiler.PInvokeFlags ThrowOnUnmappableCharEnabled = int32(0x00001000) - .field static public literal valuetype System.Compiler.PInvokeFlags ThrowOnUnmappableCharMask = int32(0x00003000) - .field static public literal valuetype System.Compiler.PInvokeFlags ThrowOnUnmappableCharUseAsm = int32(0x00000000) - } - .class public Parameter - extends System.Compiler.Variable - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.TypeNode 'type') - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.AttributeList attributes, valuetype System.Compiler.ParameterFlags 'flags', class System.Compiler.Identifier name, class System.Compiler.TypeNode 'type', class System.Compiler.Literal defaultValue, class System.Compiler.MarshallingInformation marshallingInformation) - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsIn() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_IsIn(bool 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsOptional() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_IsOptional(bool 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsOut() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_IsOut(bool 'value') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetParamArrayElementType() - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AttributeNode GetParamArrayAttribute() - { - ret - } - .field public int32 ArgumentListIndex - .field public class System.Compiler.AttributeList Attributes - .field public class System.Compiler.Method DeclaringMethod - .field public class System.Compiler.Expression DefaultValue - .field public valuetype System.Compiler.ParameterFlags Flags - .field public class System.Compiler.MarshallingInformation MarshallingInformation - .field public int32 ParameterListIndex - .field family class System.Compiler.AttributeNode paramArrayAttribute - .field family class System.Compiler.TypeNode paramArrayElementType - .property instance bool IsIn() - { - .get instance bool System.Compiler.Parameter::get_IsIn() - .set instance void System.Compiler.Parameter::set_IsIn(bool) - } - .property instance bool IsOptional() - { - .get instance bool System.Compiler.Parameter::get_IsOptional() - .set instance void System.Compiler.Parameter::set_IsOptional(bool) - } - .property instance bool IsOut() - { - .get instance bool System.Compiler.Parameter::get_IsOut() - .set instance void System.Compiler.Parameter::set_IsOut(bool) - } - } - .class public ParameterBinding - extends System.Compiler.Parameter - implements System.Compiler.IUniqueKey - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Parameter boundParameter, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public virtual hidebysig - instance int32 GetHashCode() - { - ret - } - .method public virtual hidebysig - instance bool Equals(object obj) - { - ret - } - .method private final virtual hidebysig newslot specialname - instance int32 System.Compiler.IUniqueKey.get_UniqueId() - { - .override System.Compiler.IUniqueKey::get_UniqueId - ret - } - .field public class System.Compiler.Parameter BoundParameter - .property instance int32 System.Compiler.IUniqueKey.UniqueId() - { - .get instance int32 System.Compiler.ParameterBinding::System.Compiler.IUniqueKey.get_UniqueId() - } - } - .class public ParameterField - extends System.Compiler.Field - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, valuetype System.Compiler.FieldFlags 'flags', class System.Compiler.Identifier name, class System.Compiler.TypeNode Type, class System.Compiler.Literal defaultValue) - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.Parameter get_Parameter() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Parameter(class System.Compiler.Parameter 'value') - { - ret - } - .field family class System.Compiler.Parameter parameter - .property instance class System.Compiler.Parameter Parameter() - { - .get instance class System.Compiler.Parameter System.Compiler.ParameterField::get_Parameter() - .set instance void System.Compiler.ParameterField::set_Parameter(class System.Compiler.Parameter) - } - } - .class public sealed ParameterFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.ParameterFlags HasDefault = int32(0x00001000) - .field static public literal valuetype System.Compiler.ParameterFlags HasFieldMarshal = int32(0x00002000) - .field static public literal valuetype System.Compiler.ParameterFlags In = int32(0x00000001) - .field static public literal valuetype System.Compiler.ParameterFlags None = int32(0x00000000) - .field static public literal valuetype System.Compiler.ParameterFlags Optional = int32(0x00000010) - .field static public literal valuetype System.Compiler.ParameterFlags Out = int32(0x00000002) - .field static public literal valuetype System.Compiler.ParameterFlags ReservedMask = int32(0x0000F000) - } - .class public sealed ParameterList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ParameterList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Parameter get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Parameter Current() - { - .get instance class System.Compiler.Parameter System.Compiler.ParameterList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Parameter[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Parameter element) - { - ret - } - .method public hidebysig - instance class System.Compiler.ParameterList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance void set_Length(int32 'value') - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Parameter get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Parameter 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.ParameterList/Enumerator GetEnumerator() - { - ret - } - .field static public initonly class System.Compiler.ParameterList Empty - .property instance class System.Compiler.Parameter Item(int32) - { - .get instance class System.Compiler.Parameter System.Compiler.ParameterList::get_Item(int32) - .set instance void System.Compiler.ParameterList::set_Item(int32, class System.Compiler.Parameter) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.ParameterList::get_Length() - .set instance void System.Compiler.ParameterList::set_Length(int32) - } - } - .class public sealed PeKindFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.PeKindFlags AMD = int32(0x00000008) - .field static public literal valuetype System.Compiler.PeKindFlags ILonly = int32(0x00000001) - .field static public literal valuetype System.Compiler.PeKindFlags Requires32bits = int32(0x00000002) - .field static public literal valuetype System.Compiler.PeKindFlags Requires64bits = int32(0x00000004) - } - .class public sealed PlatformType - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.PlatformType cli1 = int32(0x00000004) - .field static public literal valuetype System.Compiler.PlatformType notSpecified = int32(0x00000000) - .field static public literal valuetype System.Compiler.PlatformType v1 = int32(0x00000001) - .field static public literal valuetype System.Compiler.PlatformType v11 = int32(0x00000002) - .field static public literal valuetype System.Compiler.PlatformType v2 = int32(0x00000003) - } - .class public Pointer - extends System.Compiler.TypeNode - { - .method public virtual hidebysig specialname - instance string get_FullName() - { - ret - } - .method public virtual hidebysig - instance class [mscorlib]System.Type GetRuntimeType() - { - ret - } - .method public virtual hidebysig - instance bool IsAssignableTo(class System.Compiler.TypeNode targetType) - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsUnmanaged() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStructural() - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.TypeNodeList get_StructuralElementTypes() - { - ret - } - .method public virtual hidebysig - instance bool IsStructurallyEquivalentTo(class System.Compiler.TypeNode 'type') - { - ret - } - .field public class System.Compiler.TypeNode ElementType - .field family class System.Compiler.TypeNodeList structuralElementTypes - .property instance string FullName() - { - .get instance string System.Compiler.Pointer::get_FullName() - } - .property instance bool IsStructural() - { - .get instance bool System.Compiler.Pointer::get_IsStructural() - } - .property instance bool IsUnmanaged() - { - .get instance bool System.Compiler.Pointer::get_IsUnmanaged() - } - .property instance class System.Compiler.TypeNodeList StructuralElementTypes() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.Pointer::get_StructuralElementTypes() - } - } - .class public PointerTypeExpression - extends System.Compiler.Pointer - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - } - .class public PostfixExpression - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, valuetype System.Compiler.NodeType Operator, valuetype System.Compiler.SourceContext sourceContext) - { - ret - } - .field public class System.Compiler.Expression Expression - .field public valuetype System.Compiler.NodeType Operator - .field public class System.Compiler.Method OperatorOverload - } - .class public PrefixExpression - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, valuetype System.Compiler.NodeType Operator, valuetype System.Compiler.SourceContext sourceContext) - { - ret - } - .field public class System.Compiler.Expression Expression - .field public valuetype System.Compiler.NodeType Operator - .field public class System.Compiler.Method OperatorOverload - } - .class public sealed ProcessorType - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.ProcessorType Any = int32(0x00000000) - .field static public literal valuetype System.Compiler.ProcessorType Itanium = int32(0x00000003) - .field static public literal valuetype System.Compiler.ProcessorType _x64 = int32(0x00000002) - .field static public literal valuetype System.Compiler.ProcessorType _x86 = int32(0x00000001) - } - .class public Property - extends System.Compiler.Member - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, valuetype System.Compiler.PropertyFlags 'flags', class System.Compiler.Identifier name, class System.Compiler.Method getter, class System.Compiler.Method setter) - { - ret - } - .method public virtual hidebysig specialname - instance string get_FullName() - { - ret - } - .method family virtual hidebysig - instance class System.Compiler.Identifier GetDocumentationId() - { - ret - } - .method public static hidebysig - class System.Compiler.Property GetProperty(class [mscorlib]System.Reflection.PropertyInfo propertyInfo) - { - ret - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.Reflection.PropertyInfo GetPropertyInfo() - { - ret - } - .method public virtual hidebysig newslot - instance object GetValue(object targetObject, object[] indices) - { - .param [2] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Literal GetValue(class System.Compiler.Literal targetObject, class System.Compiler.Literal[] indices) - { - .param [2] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot - instance void SetValue(object targetObject, object 'value', object[] indices) - { - .param [3] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot - instance void SetValue(class System.Compiler.Literal targetObject, class System.Compiler.Literal 'value', class System.Compiler.Literal[] indices) - { - .param [3] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig specialname - instance string get_HelpText() - { - ret - } - .method public virtual hidebysig specialname - instance void set_HelpText(string 'value') - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsCompilerControlled() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamily() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyAndAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyOrAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPrivate() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPublic() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsSpecialName() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStatic() - { - ret - } - .method public hidebysig specialname - instance bool get_IsVirtual() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsVisibleOutsideAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.Member get_OverriddenMember() - { - ret - } - .method public virtual hidebysig specialname - instance void set_OverriddenMember(class System.Compiler.Member 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.Property get_OverriddenProperty() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_OverriddenProperty(class System.Compiler.Property 'value') - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.ParameterList get_Parameters() - { - ret - } - .method public hidebysig specialname - instance void set_Parameters(class System.Compiler.ParameterList 'value') - { - ret - } - .method public virtual hidebysig newslot - instance bool ParametersMatch(class System.Compiler.ParameterList parameters) - { - ret - } - .method public virtual hidebysig newslot - instance bool ParameterTypesMatch(class System.Compiler.TypeNodeList argumentTypes) - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNode get_Type() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Type(class System.Compiler.TypeNode 'value') - { - ret - } - .field public valuetype System.Compiler.PropertyFlags Flags - .field public class System.Compiler.Method Getter - .field public class System.Compiler.TypeNodeList ImplementedTypeExpressions - .field public class System.Compiler.TypeNodeList ImplementedTypes - .field static public initonly class System.Compiler.Property NotSpecified - .field public class System.Compiler.MethodList OtherMethods - .field public class System.Compiler.Method Setter - .field public class System.Compiler.TypeNode TypeExpression - .field family string fullName - .field family class System.Compiler.Property overriddenProperty - .field family class [mscorlib]System.Reflection.PropertyInfo propertyInfo - .field family class System.Compiler.TypeNode 'type' - .property instance string FullName() - { - .get instance string System.Compiler.Property::get_FullName() - } - .property instance string HelpText() - { - .get instance string System.Compiler.Property::get_HelpText() - .set instance void System.Compiler.Property::set_HelpText(string) - } - .property instance bool IsAssembly() - { - .get instance bool System.Compiler.Property::get_IsAssembly() - } - .property instance bool IsCompilerControlled() - { - .get instance bool System.Compiler.Property::get_IsCompilerControlled() - } - .property instance bool IsFamily() - { - .get instance bool System.Compiler.Property::get_IsFamily() - } - .property instance bool IsFamilyAndAssembly() - { - .get instance bool System.Compiler.Property::get_IsFamilyAndAssembly() - } - .property instance bool IsFamilyOrAssembly() - { - .get instance bool System.Compiler.Property::get_IsFamilyOrAssembly() - } - .property instance bool IsPrivate() - { - .get instance bool System.Compiler.Property::get_IsPrivate() - } - .property instance bool IsPublic() - { - .get instance bool System.Compiler.Property::get_IsPublic() - } - .property instance bool IsSpecialName() - { - .get instance bool System.Compiler.Property::get_IsSpecialName() - } - .property instance bool IsStatic() - { - .get instance bool System.Compiler.Property::get_IsStatic() - } - .property instance bool IsVirtual() - { - .get instance bool System.Compiler.Property::get_IsVirtual() - } - .property instance bool IsVisibleOutsideAssembly() - { - .get instance bool System.Compiler.Property::get_IsVisibleOutsideAssembly() - } - .property instance class System.Compiler.Member OverriddenMember() - { - .get instance class System.Compiler.Member System.Compiler.Property::get_OverriddenMember() - .set instance void System.Compiler.Property::set_OverriddenMember(class System.Compiler.Member) - } - .property instance class System.Compiler.Property OverriddenProperty() - { - .get instance class System.Compiler.Property System.Compiler.Property::get_OverriddenProperty() - .set instance void System.Compiler.Property::set_OverriddenProperty(class System.Compiler.Property) - } - .property instance class System.Compiler.ParameterList Parameters() - { - .get instance class System.Compiler.ParameterList System.Compiler.Property::get_Parameters() - .set instance void System.Compiler.Property::set_Parameters(class System.Compiler.ParameterList) - } - .property instance class System.Compiler.TypeNode Type() - { - .get instance class System.Compiler.TypeNode System.Compiler.Property::get_Type() - .set instance void System.Compiler.Property::set_Type(class System.Compiler.TypeNode) - } - } - .class public sealed PropertyFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.PropertyFlags None = int32(0x00000000) - .field static public literal valuetype System.Compiler.PropertyFlags RTSpecialName = int32(0x00000400) - .field static public literal valuetype System.Compiler.PropertyFlags ReservedMask = int32(0x0000F400) - .field static public literal valuetype System.Compiler.PropertyFlags SpecialName = int32(0x00000200) - } - .class public sealed PropertyList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.PropertyList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Property get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Property Current() - { - .get instance class System.Compiler.Property System.Compiler.PropertyList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Property element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Property get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Property 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.PropertyList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Property Item(int32) - { - .get instance class System.Compiler.Property System.Compiler.PropertyList::get_Item(int32) - .set instance void System.Compiler.PropertyList::set_Item(int32, class System.Compiler.Property) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.PropertyList::get_Length() - } - } - .class public QualifiedIdentifier - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression qualifier, class System.Compiler.Identifier identifier) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression qualifier, class System.Compiler.Identifier identifier, valuetype System.Compiler.SourceContext sourceContext) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression qualifier, class System.Compiler.Identifier identifier, valuetype System.Compiler.SourceContext sourceContext, bool qualifierIsNamespace) - { - ret - } - .method public virtual hidebysig - instance string ToString() - { - ret - } - .field public class System.Compiler.Expression BoundMember - .field public class System.Compiler.Identifier Identifier - .field public class System.Compiler.Expression Qualifier - .field public bool QualifierIsNamespace - } - .class public Reference - extends System.Compiler.TypeNode - { - .method public virtual hidebysig specialname - instance string get_FullName() - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Reference GetReferenceType() - { - ret - } - .method public virtual hidebysig - instance class [mscorlib]System.Type GetRuntimeType() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStructural() - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.TypeNodeList get_StructuralElementTypes() - { - ret - } - .method public virtual hidebysig - instance bool IsStructurallyEquivalentTo(class System.Compiler.TypeNode 'type') - { - ret - } - .field public class System.Compiler.TypeNode ElementType - .field family class System.Compiler.TypeNodeList structuralElementTypes - .property instance string FullName() - { - .get instance string System.Compiler.Reference::get_FullName() - } - .property instance bool IsStructural() - { - .get instance bool System.Compiler.Reference::get_IsStructural() - } - .property instance class System.Compiler.TypeNodeList StructuralElementTypes() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.Reference::get_StructuralElementTypes() - } - } - .class public ReferenceTypeExpression - extends System.Compiler.Reference - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - } - .class public Repeat - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression condition, class System.Compiler.Block body) - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Expression Condition - } - .class public RequiredModifier - extends System.Compiler.TypeModifier - { - .method public static hidebysig - class System.Compiler.RequiredModifier For(class System.Compiler.TypeNode modifier, class System.Compiler.TypeNode modified) - { - ret - } - } - .class public RequiredModifierTypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, class System.Compiler.TypeNode modifier) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, class System.Compiler.TypeNode modifier, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.TypeNode ModifiedType - .field public class System.Compiler.TypeNode Modifier - } - .class public sequential sealed Resource - extends [mscorlib]System.ValueType - { - .field public bool IsPublic - .field public string Name - .field public class System.Compiler.Module DefiningModule - .field public unsigned int8[] Data - } - .class public sealed ResourceList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ResourceList list) - { - ret - } - .method public hidebysig specialname - instance valuetype System.Compiler.Resource get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance valuetype System.Compiler.Resource Current() - { - .get instance valuetype System.Compiler.Resource System.Compiler.ResourceList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(valuetype System.Compiler.Resource element) - { - ret - } - .method public hidebysig - instance class System.Compiler.ResourceList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance valuetype System.Compiler.Resource get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, valuetype System.Compiler.Resource 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.ResourceList/Enumerator GetEnumerator() - { - ret - } - .property instance valuetype System.Compiler.Resource Item(int32) - { - .get instance valuetype System.Compiler.Resource System.Compiler.ResourceList::get_Item(int32) - .set instance void System.Compiler.ResourceList::set_Item(int32, valuetype System.Compiler.Resource) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.ResourceList::get_Length() - } - } - .class public ResourceUse - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Statement ResourceAcquisition - .field public class System.Compiler.BlockScope ScopeForTemporaryVariable - } - .class public Return - extends System.Compiler.ExpressionStatement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression) - { - ret - } - } - .class public Scope - extends System.Compiler.Class - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Scope outerScope) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Scope get_OuterScope() - { - ret - } - .method public hidebysig specialname - instance void set_OuterScope(class System.Compiler.Scope 'value') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetType(class System.Compiler.Identifier typeName) - { - ret - } - .field family class System.Compiler.Scope outerScope - .property instance class System.Compiler.Scope OuterScope() - { - .get instance class System.Compiler.Scope System.Compiler.Scope::get_OuterScope() - .set instance void System.Compiler.Scope::set_OuterScope(class System.Compiler.Scope) - } - } - .class public sealed ScopeList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.ScopeList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Scope get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Scope Current() - { - .get instance class System.Compiler.Scope System.Compiler.ScopeList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Scope[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Scope element) - { - ret - } - .method public hidebysig - instance class System.Compiler.ScopeList Clone() - { - ret - } - .method public hidebysig - instance void Insert(class System.Compiler.Scope element, int32 index) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig - instance int32 SearchFor(class System.Compiler.Scope element) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Scope get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Scope 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.ScopeList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Scope Item(int32) - { - .get instance class System.Compiler.Scope System.Compiler.ScopeList::get_Item(int32) - .set instance void System.Compiler.ScopeList::set_Item(int32, class System.Compiler.Scope) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.ScopeList::get_Length() - } - } - .class public SecurityAttribute - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance string get_SerializedPermissions() - { - ret - } - .method public hidebysig specialname - instance void set_SerializedPermissions(string 'value') - { - ret - } - .method public hidebysig specialname - instance class [mscorlib]System.Security.PermissionSet get_Permissions() - { - ret - } - .method public hidebysig specialname - instance void set_Permissions(class [mscorlib]System.Security.PermissionSet 'value') - { - ret - } - .method family hidebysig - instance class [mscorlib]System.Security.SecurityElement GetSecurityElement() - { - ret - } - .method family hidebysig - instance class [mscorlib]System.Security.PermissionSet InstantiatePermissionAttributes() - { - ret - } - .method family hidebysig - instance object GetPermissionOrSetOfPermissionsFromAttribute(class System.Compiler.AttributeNode attr) - { - ret - } - .field public valuetype [mscorlib]System.Security.Permissions.SecurityAction Action - .field public class System.Compiler.AttributeList PermissionAttributes - .field family class [mscorlib]System.Security.PermissionSet permissions - .field family string serializedPermissions - .property instance class [mscorlib]System.Security.PermissionSet Permissions() - { - .get instance class [mscorlib]System.Security.PermissionSet System.Compiler.SecurityAttribute::get_Permissions() - .set instance void System.Compiler.SecurityAttribute::set_Permissions(class [mscorlib]System.Security.PermissionSet) - } - .property instance string SerializedPermissions() - { - .get instance string System.Compiler.SecurityAttribute::get_SerializedPermissions() - .set instance void System.Compiler.SecurityAttribute::set_SerializedPermissions(string) - } - } - .class public sealed SecurityAttributeList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.SecurityAttributeList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.SecurityAttribute get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.SecurityAttribute Current() - { - .get instance class System.Compiler.SecurityAttribute System.Compiler.SecurityAttributeList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.SecurityAttribute element) - { - ret - } - .method public hidebysig - instance class System.Compiler.SecurityAttributeList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.SecurityAttribute get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.SecurityAttribute 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.SecurityAttributeList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.SecurityAttribute Item(int32) - { - .get instance class System.Compiler.SecurityAttribute System.Compiler.SecurityAttributeList::get_Item(int32) - .set instance void System.Compiler.SecurityAttributeList::set_Item(int32, class System.Compiler.SecurityAttribute) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.SecurityAttributeList::get_Length() - } - } - .class public sealed SeekOrigin - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.SeekOrigin Begin = int32(0x00000000) - .field static public literal valuetype System.Compiler.SeekOrigin Current = int32(0x00000001) - .field static public literal valuetype System.Compiler.SeekOrigin End = int32(0x00000002) - } - .class public SetterValue - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public SnippetParser - extends System.Compiler.StandardVisitor - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.IParserFactory defaultParserFactory, class System.Compiler.Module symbolTable, class System.Compiler.ErrorNodeList errorNodes, class [System]System.CodeDom.Compiler.CompilerParameters options) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Node VisitUnknownNodeType(class System.Compiler.Node node) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Block VisitBlock(class System.Compiler.Block block) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.CompilationUnit VisitCompilationUnitSnippet(class System.Compiler.CompilationUnitSnippet snippet) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitExpressionSnippet(class System.Compiler.ExpressionSnippet snippet) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.StatementSnippet VisitStatementSnippet(class System.Compiler.StatementSnippet snippet) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeMemberSnippet VisitTypeMemberSnippet(class System.Compiler.TypeMemberSnippet snippet) - { - ret - } - .field public class System.Compiler.StatementList CurrentStatementList - .field public class System.Compiler.IParserFactory DefaultParserFactory - .field public class System.Compiler.ErrorNodeList ErrorNodes - .field public class [System]System.CodeDom.Compiler.CompilerParameters Options - .field public class System.Compiler.Module SymbolTable - } - .class public sequential sealed SourceChange - extends [mscorlib]System.ValueType - { - .field public valuetype System.Compiler.SourceContext SourceContext - .field public string ChangedText - } - .class public sealed SourceChangeList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.SourceChangeList list) - { - ret - } - .method public hidebysig specialname - instance valuetype System.Compiler.SourceChange get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance valuetype System.Compiler.SourceChange Current() - { - .get instance valuetype System.Compiler.SourceChange System.Compiler.SourceChangeList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(valuetype System.Compiler.SourceChange[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(valuetype System.Compiler.SourceChange element) - { - ret - } - .method public hidebysig - instance class System.Compiler.SourceChangeList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance valuetype System.Compiler.SourceChange get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, valuetype System.Compiler.SourceChange 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.SourceChangeList/Enumerator GetEnumerator() - { - ret - } - .property instance valuetype System.Compiler.SourceChange Item(int32) - { - .get instance valuetype System.Compiler.SourceChange System.Compiler.SourceChangeList::get_Item(int32) - .set instance void System.Compiler.SourceChangeList::set_Item(int32, valuetype System.Compiler.SourceChange) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.SourceChangeList::get_Length() - } - } - .class public sequential sealed SourceContext - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Document document) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Document document, int32 startPos, int32 endPos) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Document document, int32 startLine, int32 startColumn, int32 endLine, int32 endColumn) - { - ret - } - .method public hidebysig specialname - instance int32 get_StartLine() - { - ret - } - .method public hidebysig specialname - instance int32 get_StartColumn() - { - ret - } - .method public hidebysig specialname - instance int32 get_EndLine() - { - ret - } - .method public hidebysig specialname - instance int32 get_EndColumn() - { - ret - } - .method public hidebysig - instance bool Encloses(int32 line, int32 column) - { - ret - } - .method public hidebysig - instance bool Encloses(valuetype System.Compiler.SourceContext sourceContext) - { - ret - } - .method public hidebysig specialname - instance string get_SourceText() - { - ret - } - .field public class System.Compiler.Document Document - .field public int32 EndPos - .field public int32 StartPos - .property instance int32 EndColumn() - { - .get instance int32 System.Compiler.SourceContext::get_EndColumn() - } - .property instance int32 EndLine() - { - .get instance int32 System.Compiler.SourceContext::get_EndLine() - } - .property instance string SourceText() - { - .get instance string System.Compiler.SourceContext::get_SourceText() - } - .property instance int32 StartColumn() - { - .get instance int32 System.Compiler.SourceContext::get_StartColumn() - } - .property instance int32 StartLine() - { - .get instance int32 System.Compiler.SourceContext::get_StartLine() - } - } - .class public Specializer - extends System.Compiler.StandardVisitor - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Module targetModule, class System.Compiler.TypeNodeList pars, class System.Compiler.TypeNodeList args) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Visitor callingVisitor) - { - ret - } - .method public virtual hidebysig - instance void TransferStateTo(class System.Compiler.Visitor targetVisitor) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.DelegateNode VisitDelegateNode(class System.Compiler.DelegateNode delegateNode) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Member VisitMemberReference(class System.Compiler.Member member) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Method VisitMethod(class System.Compiler.Method 'method') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.MethodList VisitMethodList(class System.Compiler.MethodList methods) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeNode VisitTypeNode(class System.Compiler.TypeNode typeNode) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitTypeExpression(class System.Compiler.Expression expr) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeNode VisitTypeParameter(class System.Compiler.TypeNode typeParameter) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.TypeNode VisitTypeReference(class System.Compiler.TypeNode 'type') - { - ret - } - .field public class System.Compiler.Method CurrentMethod - .field public class System.Compiler.TypeNode CurrentType - .field public class System.Compiler.Module TargetModule - .field public class System.Compiler.TypeNodeList args - .field public class System.Compiler.TypeNodeList pars - } - .class public StandardIds - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field static public initonly class System.Compiler.Identifier Add - .field static public initonly class System.Compiler.Identifier Address - .field static public initonly class System.Compiler.Identifier AllowMultiple - .field static public initonly class System.Compiler.Identifier Anonymity - .field static public initonly class System.Compiler.Identifier ArgumentOutOfRangeException - .field static public initonly class System.Compiler.Identifier Assembly - .field static public initonly class System.Compiler.Identifier Assert - .field static public initonly class System.Compiler.Identifier BeginInvoke - .field static public initonly class System.Compiler.Identifier CCtor - .field static public initonly class System.Compiler.Identifier CallingConvention - .field static public initonly class System.Compiler.Identifier CciTypeExtensions - .field static public initonly class System.Compiler.Identifier CharSet - .field static public initonly class System.Compiler.Identifier Class - .field static public initonly class System.Compiler.Identifier ClassParameter - .field static public initonly class System.Compiler.Identifier Clear - .field static public initonly class System.Compiler.Identifier Closure - .field static public initonly class System.Compiler.Identifier Collection - .field static public initonly class System.Compiler.Identifier Combine - .field static public initonly class System.Compiler.Identifier Concat - .field static public initonly class System.Compiler.Identifier Count - .field static public initonly class System.Compiler.Identifier Ctor - .field static public initonly class System.Compiler.Identifier Current - .field static public initonly class System.Compiler.Identifier Dispose - .field static public initonly class System.Compiler.Identifier ElementType - .field static public initonly class System.Compiler.Identifier EndInvoke - .field static public initonly class System.Compiler.Identifier Enter - .field static public initonly class System.Compiler.Identifier EntryPoint - .field static public initonly class System.Compiler.Identifier Enum - .field static public initonly class System.Compiler.Identifier Equals - .field static public initonly class System.Compiler.Identifier ExactSpelling - .field static public initonly class System.Compiler.Identifier Exit - .field static public initonly class System.Compiler.Identifier Finalize - .field static public initonly class System.Compiler.Identifier FromObject - .field static public initonly class System.Compiler.Identifier Get - .field static public initonly class System.Compiler.Identifier GetEnumerator - .field static public initonly class System.Compiler.Identifier GetHashCode - .field static public initonly class System.Compiler.Identifier GetTag - .field static public initonly class System.Compiler.Identifier GetTagAsType - .field static public initonly class System.Compiler.Identifier GetType - .field static public initonly class System.Compiler.Identifier GetValue - .field static public initonly class System.Compiler.Identifier Global - .field static public initonly class System.Compiler.Identifier IEnumerableGetEnumerator - .field static public initonly class System.Compiler.Identifier IEnumeratorGetCurrent - .field static public initonly class System.Compiler.Identifier IEnumeratorReset - .field static public initonly class System.Compiler.Identifier IFactory - .field static public initonly class System.Compiler.Identifier IndexOf - .field static public initonly class System.Compiler.Identifier Inherited - .field static public initonly class System.Compiler.Identifier Invoke - .field static public initonly class System.Compiler.Identifier IsInterned - .field static public initonly class System.Compiler.Identifier IsNull - .field static public initonly class System.Compiler.Identifier It - .field static public initonly class System.Compiler.Identifier Item - .field static public initonly class System.Compiler.Identifier Length - .field static public initonly class System.Compiler.Identifier Main - .field static public initonly class System.Compiler.Identifier MemberwiseClone - .field static public initonly class System.Compiler.Identifier Method - .field static public initonly class System.Compiler.Identifier MoveNext - .field static public initonly class System.Compiler.Identifier Namespace - .field static public initonly class System.Compiler.Identifier New - .field static public initonly class System.Compiler.Identifier Object - .field static public initonly class System.Compiler.Identifier Pack - .field static public initonly class System.Compiler.Identifier Phase - .field static public initonly class System.Compiler.Identifier Position - .field static public initonly class System.Compiler.Identifier PreserveSig - .field static public initonly class System.Compiler.Identifier ReferenceEquals - .field static public initonly class System.Compiler.Identifier Remove - .field static public initonly class System.Compiler.Identifier Replace - .field static public initonly class System.Compiler.Identifier Reset - .field static public initonly class System.Compiler.Identifier Set - .field static public initonly class System.Compiler.Identifier SetLastError - .field static public initonly class System.Compiler.Identifier SetValue - .field static public initonly class System.Compiler.Identifier Size - .field static public initonly class System.Compiler.Identifier StructuralTypes - .field static public initonly class System.Compiler.Identifier System - .field static public initonly class System.Compiler.Identifier Tag - .field static public initonly class System.Compiler.Identifier TagType - .field static public initonly class System.Compiler.Identifier This - .field static public initonly class System.Compiler.Identifier ThisValue - .field static public initonly class System.Compiler.Identifier ToObject - .field static public initonly class System.Compiler.Identifier ToString - .field static public initonly class System.Compiler.Identifier TypeParameter - .field static public initonly class System.Compiler.Identifier Value - .field static public initonly class System.Compiler.Identifier Value__ - .field static public initonly class System.Compiler.Identifier _Deleted - .field static public initonly class System.Compiler.Identifier callback - .field static public initonly class System.Compiler.Identifier getCurrent - .field static public initonly class System.Compiler.Identifier getItem - .field static public initonly class System.Compiler.Identifier opAddition - .field static public initonly class System.Compiler.Identifier opBitwiseAnd - .field static public initonly class System.Compiler.Identifier opBitwiseOr - .field static public initonly class System.Compiler.Identifier opComma - .field static public initonly class System.Compiler.Identifier opDecrement - .field static public initonly class System.Compiler.Identifier opDivision - .field static public initonly class System.Compiler.Identifier opEquality - .field static public initonly class System.Compiler.Identifier opExclusiveOr - .field static public initonly class System.Compiler.Identifier opExplicit - .field static public initonly class System.Compiler.Identifier opFalse - .field static public initonly class System.Compiler.Identifier opGreaterThan - .field static public initonly class System.Compiler.Identifier opGreaterThanOrEqual - .field static public initonly class System.Compiler.Identifier opImplicit - .field static public initonly class System.Compiler.Identifier opIncrement - .field static public initonly class System.Compiler.Identifier opInequality - .field static public initonly class System.Compiler.Identifier opLeftShift - .field static public initonly class System.Compiler.Identifier opLessThan - .field static public initonly class System.Compiler.Identifier opLessThanOrEqual - .field static public initonly class System.Compiler.Identifier opLogicalNot - .field static public initonly class System.Compiler.Identifier opModulus - .field static public initonly class System.Compiler.Identifier opMultiply - .field static public initonly class System.Compiler.Identifier opOnesComplement - .field static public initonly class System.Compiler.Identifier opRightShift - .field static public initonly class System.Compiler.Identifier opSubtraction - .field static public initonly class System.Compiler.Identifier opTrue - .field static public initonly class System.Compiler.Identifier opUnaryNegation - .field static public initonly class System.Compiler.Identifier opUnaryPlus - .field static public initonly class System.Compiler.Identifier result - } - .class public StandardVisitor - extends System.Compiler.Visitor - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Visitor callingVisitor) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Node VisitUnknownNodeType(class System.Compiler.Node node) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Visitor GetVisitorFor(class System.Compiler.Node node) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Node Visit(class System.Compiler.Node node) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitAddressDereference(class System.Compiler.AddressDereference addr) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AliasDefinition VisitAliasDefinition(class System.Compiler.AliasDefinition aliasDefinition) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AliasDefinitionList VisitAliasDefinitionList(class System.Compiler.AliasDefinitionList aliasDefinitions) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitAnonymousNestedFunction(class System.Compiler.AnonymousNestedFunction func) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitApplyToAll(class System.Compiler.ApplyToAll applyToAll) - { - ret - } - .method public hidebysig - instance class System.Compiler.ArrayType VisitArrayType(class System.Compiler.ArrayType 'array') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AssemblyNode VisitAssembly(class System.Compiler.AssemblyNode 'assembly') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AssemblyReference VisitAssemblyReference(class System.Compiler.AssemblyReference assemblyReference) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitAssertion(class System.Compiler.Assertion assertion) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitAssumption(class System.Compiler.Assumption assumption) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitAssignmentExpression(class System.Compiler.AssignmentExpression assignment) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitAssignmentStatement(class System.Compiler.AssignmentStatement assignment) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitAttributeConstructor(class System.Compiler.AttributeNode attribute) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AttributeNode VisitAttributeNode(class System.Compiler.AttributeNode attribute) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.AttributeList VisitAttributeList(class System.Compiler.AttributeList attributes) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitBase(class System.Compiler.Base Base) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitBinaryExpression(class System.Compiler.BinaryExpression binaryExpression) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Block VisitBlock(class System.Compiler.Block block) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitBlockExpression(class System.Compiler.BlockExpression blockExpression) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.BlockList VisitBlockList(class System.Compiler.BlockList blockList) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitBranch(class System.Compiler.Branch branch) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitCatch(class System.Compiler.Catch Catch) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.CatchList VisitCatchList(class System.Compiler.CatchList catchers) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Class VisitClass(class System.Compiler.Class Class) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitCoerceTuple(class System.Compiler.CoerceTuple coerceTuple) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.CollectionEnumerator VisitCollectionEnumerator(class System.Compiler.CollectionEnumerator ce) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Compilation VisitCompilation(class System.Compiler.Compilation compilation) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.CompilationUnit VisitCompilationUnit(class System.Compiler.CompilationUnit cUnit) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.NodeList VisitNodeList(class System.Compiler.NodeList nodes) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.CompilationUnitList VisitCompilationUnitList(class System.Compiler.CompilationUnitList compilationUnits) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.CompilationUnit VisitCompilationUnitSnippet(class System.Compiler.CompilationUnitSnippet snippet) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Node VisitComposition(class System.Compiler.Composition comp) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitConstruct(class System.Compiler.Construct cons) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitConstructArray(class System.Compiler.ConstructArray consArr) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitConstructDelegate(class System.Compiler.ConstructDelegate consDelegate) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitConstructFlexArray(class System.Compiler.ConstructFlexArray consArr) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitConstructIterator(class System.Compiler.ConstructIterator consIterator) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitConstructTuple(class System.Compiler.ConstructTuple consTuple) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitContinue(class System.Compiler.Continue Continue) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitCurrentClosure(class System.Compiler.CurrentClosure currentClosure) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.DelegateNode VisitDelegateNode(class System.Compiler.DelegateNode delegateNode) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitDoWhile(class System.Compiler.DoWhile doWhile) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitEndFilter(class System.Compiler.EndFilter endFilter) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitEndFinally(class System.Compiler.EndFinally endFinally) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.EnumNode VisitEnumNode(class System.Compiler.EnumNode enumNode) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Event VisitEvent(class System.Compiler.Event evnt) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitExit(class System.Compiler.Exit exit) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitExpose(class System.Compiler.Expose expose) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitExpression(class System.Compiler.Expression expression) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.ExpressionList VisitExpressionList(class System.Compiler.ExpressionList expressions) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitExpressionSnippet(class System.Compiler.ExpressionSnippet snippet) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitExpressionStatement(class System.Compiler.ExpressionStatement statement) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitFaultHandler(class System.Compiler.FaultHandler faultHandler) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.FaultHandlerList VisitFaultHandlerList(class System.Compiler.FaultHandlerList faultHandlers) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Field VisitField(class System.Compiler.Field 'field') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Block VisitFieldInitializerBlock(class System.Compiler.FieldInitializerBlock block) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.FieldList VisitFieldList(class System.Compiler.FieldList fields) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitFilter(class System.Compiler.Filter 'filter') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.FilterList VisitFilterList(class System.Compiler.FilterList filters) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitFinally(class System.Compiler.Finally Finally) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitFixed(class System.Compiler.Fixed Fixed) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitFor(class System.Compiler.For For) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitForEach(class System.Compiler.ForEach forEach) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitFunctionDeclaration(class System.Compiler.FunctionDeclaration functionDeclaration) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitTemplateInstance(class System.Compiler.TemplateInstance templateInstance) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitGoto(class System.Compiler.Goto Goto) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitGotoCase(class System.Compiler.GotoCase gotoCase) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitIdentifier(class System.Compiler.Identifier identifier) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitIf(class System.Compiler.If If) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitImplicitThis(class System.Compiler.ImplicitThis implicitThis) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitIndexer(class System.Compiler.Indexer indexer) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Interface VisitInterface(class System.Compiler.Interface Interface) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Interface VisitInterfaceReference(class System.Compiler.Interface Interface) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.InterfaceList VisitInterfaceReferenceList(class System.Compiler.InterfaceList interfaceReferences) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.InstanceInitializer VisitInstanceInitializer(class System.Compiler.InstanceInitializer cons) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitLabeledStatement(class System.Compiler.LabeledStatement lStatement) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitLiteral(class System.Compiler.Literal 'literal') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitLocal(class System.Compiler.Local local) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitLocalDeclarationsStatement(class System.Compiler.LocalDeclarationsStatement localDeclarations) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.LocalDeclarationList VisitLocalDeclarationList(class System.Compiler.LocalDeclarationList localDeclarations) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.LocalDeclaration VisitLocalDeclaration(class System.Compiler.LocalDeclaration localDeclaration) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitLock(class System.Compiler.Lock Lock) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitLRExpression(class System.Compiler.LRExpression expr) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitMemberBinding(class System.Compiler.MemberBinding memberBinding) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.MemberList VisitMemberList(class System.Compiler.MemberList members) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Method VisitMethod(class System.Compiler.Method 'method') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitMethodCall(class System.Compiler.MethodCall 'call') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Module VisitModule(class System.Compiler.Module module) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.ModuleReference VisitModuleReference(class System.Compiler.ModuleReference moduleReference) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitNameBinding(class System.Compiler.NameBinding nameBinding) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitNamedArgument(class System.Compiler.NamedArgument namedArgument) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Namespace VisitNamespace(class System.Compiler.Namespace nspace) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.NamespaceList VisitNamespaceList(class System.Compiler.NamespaceList namespaces) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitParameter(class System.Compiler.Parameter parameter) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.ParameterList VisitParameterList(class System.Compiler.ParameterList parameterList) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitPrefixExpression(class System.Compiler.PrefixExpression pExpr) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitPostfixExpression(class System.Compiler.PostfixExpression pExpr) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Property VisitProperty(class System.Compiler.Property 'property') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitComprehension(class System.Compiler.Comprehension comprehension) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.ComprehensionBinding VisitComprehensionBinding(class System.Compiler.ComprehensionBinding comprehensionBinding) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitQualifiedIdentifier(class System.Compiler.QualifiedIdentifier qualifiedIdentifier) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitRepeat(class System.Compiler.Repeat repeat) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitReturn(class System.Compiler.Return Return) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitAcquire(class System.Compiler.Acquire acquire) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitResourceUse(class System.Compiler.ResourceUse resourceUse) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.SecurityAttribute VisitSecurityAttribute(class System.Compiler.SecurityAttribute attribute) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.SecurityAttributeList VisitSecurityAttributeList(class System.Compiler.SecurityAttributeList attributes) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitSetterValue(class System.Compiler.SetterValue 'value') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.StatementList VisitStatementList(class System.Compiler.StatementList statements) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.StatementSnippet VisitStatementSnippet(class System.Compiler.StatementSnippet snippet) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.StaticInitializer VisitStaticInitializer(class System.Compiler.StaticInitializer cons) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Struct VisitStruct(class System.Compiler.Struct Struct) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitSwitch(class System.Compiler.Switch Switch) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.SwitchCase VisitSwitchCase(class System.Compiler.SwitchCase switchCase) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.SwitchCaseList VisitSwitchCaseList(class System.Compiler.SwitchCaseList switchCases) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitSwitchInstruction(class System.Compiler.SwitchInstruction switchInstruction) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitTypeswitch(class System.Compiler.Typeswitch Typeswitch) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeswitchCase VisitTypeswitchCase(class System.Compiler.TypeswitchCase typeswitchCase) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeswitchCaseList VisitTypeswitchCaseList(class System.Compiler.TypeswitchCaseList typeswitchCases) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitTargetExpression(class System.Compiler.Expression expression) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitTernaryExpression(class System.Compiler.TernaryExpression expression) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitThis(class System.Compiler.This This) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitThrow(class System.Compiler.Throw Throw) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitTry(class System.Compiler.Try Try) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeMemberSnippet VisitTypeMemberSnippet(class System.Compiler.TypeMemberSnippet snippet) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeModifier VisitTypeModifier(class System.Compiler.TypeModifier typeModifier) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode VisitTypeNode(class System.Compiler.TypeNode typeNode) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNodeList VisitTypeNodeList(class System.Compiler.TypeNodeList types) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode VisitTypeParameter(class System.Compiler.TypeNode typeParameter) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNodeList VisitTypeParameterList(class System.Compiler.TypeNodeList typeParameters) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode VisitTypeReference(class System.Compiler.TypeNode 'type') - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNodeList VisitTypeReferenceList(class System.Compiler.TypeNodeList typeReferences) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Expression VisitUnaryExpression(class System.Compiler.UnaryExpression unaryExpression) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitVariableDeclaration(class System.Compiler.VariableDeclaration variableDeclaration) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.UsedNamespace VisitUsedNamespace(class System.Compiler.UsedNamespace usedNamespace) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.UsedNamespaceList VisitUsedNamespaceList(class System.Compiler.UsedNamespaceList usedNspaces) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitWhile(class System.Compiler.While While) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Statement VisitYield(class System.Compiler.Yield Yield) - { - ret - } - .field public class System.Compiler.Visitor callingVisitor - } - .class public Statement - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor(valuetype System.Compiler.NodeType nodeType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(valuetype System.Compiler.NodeType nodeType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - } - .class public sealed StatementList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.StatementList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Statement get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.Statement Current() - { - .get instance class System.Compiler.Statement System.Compiler.StatementList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Statement[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.Statement statement) - { - ret - } - .method public hidebysig - instance class System.Compiler.StatementList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance void set_Length(int32 'value') - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.Statement get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.Statement 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.StatementList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.Statement Item(int32) - { - .get instance class System.Compiler.Statement System.Compiler.StatementList::get_Item(int32) - .set instance void System.Compiler.StatementList::set_Item(int32, class System.Compiler.Statement) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.StatementList::get_Length() - .set instance void System.Compiler.StatementList::set_Length(int32) - } - } - .class public StatementSnippet - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.IParserFactory parserFactory, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.IParserFactory ParserFactory - } - .class public StaticInitializer - extends System.Compiler.Method - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Method/MethodBodyProvider provider, object handle) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, class System.Compiler.Block body) - { - ret - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.Reflection.ConstructorInfo GetConstructorInfo() - { - ret - } - .method public virtual hidebysig - instance class [mscorlib]System.Reflection.MethodInfo GetMethodInfo() - { - ret - } - .field family class [mscorlib]System.Reflection.ConstructorInfo constructorInfo - } - .class public StreamTypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode elementType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.TypeNode ElementType - } - .class public sealed StringList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.StringList list) - { - ret - } - .method public hidebysig specialname - instance string get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance string Current() - { - .get instance string System.Compiler.StringList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig specialname - instance void .ctor(class [System]System.Collections.Specialized.StringCollection stringCollection) - { - ret - } - .method public hidebysig - instance void Add(string element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance string get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, string 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.StringList/Enumerator GetEnumerator() - { - ret - } - .property instance string Item(int32) - { - .get instance string System.Compiler.StringList::get_Item(int32) - .set instance void System.Compiler.StringList::set_Item(int32, string) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.StringList::get_Length() - } - } - .class public sealed StringSourceText - extends [mscorlib]System.Object - implements System.Compiler.ISourceText - { - .method public hidebysig specialname - instance void .ctor(string sourceText, bool isSameAsFileContents) - { - ret - } - .method private final virtual hidebysig newslot specialname - instance int32 System.Compiler.ISourceText.get_Length() - { - .override System.Compiler.ISourceText::get_Length - ret - } - .method private final virtual hidebysig newslot - instance string System.Compiler.ISourceText.Substring(int32 startIndex, int32 length) - { - .override System.Compiler.ISourceText::Substring - ret - } - .method private final virtual hidebysig newslot specialname - instance char System.Compiler.ISourceText.get_Item(int32 index) - { - .override System.Compiler.ISourceText::get_Item - ret - } - .method private final virtual hidebysig newslot - instance void System.Compiler.ISourceText.MakeCollectible() - { - .override System.Compiler.ISourceText::MakeCollectible - ret - } - .field public bool IsSameAsFileContents - .field public initonly string SourceText - .property instance char System.Compiler.ISourceText.Item(int32) - { - .get instance char System.Compiler.StringSourceText::System.Compiler.ISourceText.get_Item(int32) - } - .property instance int32 System.Compiler.ISourceText.Length() - { - .get instance int32 System.Compiler.StringSourceText::System.Compiler.ISourceText.get_Length() - } - } - .class public Struct - extends System.Compiler.TypeNode - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode/TypeAttributeProvider provideAttributes, class System.Compiler.TypeNode/TypeMemberProvider provideMembers, object handle) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Module declaringModule, class System.Compiler.TypeNode declaringType, class System.Compiler.AttributeList attributes, valuetype System.Compiler.TypeFlags 'flags', class System.Compiler.Identifier Namespace, class System.Compiler.Identifier name, class System.Compiler.InterfaceList interfaces, class System.Compiler.MemberList members) - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsUnmanaged() - { - ret - } - .field family bool cachedUnmanaged - .field family bool cachedUnmanagedIsValid - .property instance bool IsUnmanaged() - { - .get instance bool System.Compiler.Struct::get_IsUnmanaged() - } - } - .class public Switch - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, class System.Compiler.SwitchCaseList cases) - { - ret - } - .field public class System.Compiler.SwitchCaseList Cases - .field public class System.Compiler.Expression Expression - .field public class System.Compiler.BlockScope Scope - } - .class public SwitchCase - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression label, class System.Compiler.Block body) - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Expression Label - } - .class public sealed SwitchCaseList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.SwitchCaseList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.SwitchCase get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.SwitchCase Current() - { - .get instance class System.Compiler.SwitchCase System.Compiler.SwitchCaseList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.SwitchCase element) - { - ret - } - .method public hidebysig - instance class System.Compiler.SwitchCaseList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.SwitchCase get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.SwitchCase 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.SwitchCaseList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.SwitchCase Item(int32) - { - .get instance class System.Compiler.SwitchCase System.Compiler.SwitchCaseList::get_Item(int32) - .set instance void System.Compiler.SwitchCaseList::set_Item(int32, class System.Compiler.SwitchCase) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.SwitchCaseList::get_Length() - } - } - .class public SwitchInstruction - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, class System.Compiler.BlockList targets) - { - ret - } - .field public class System.Compiler.Expression Expression - .field public class System.Compiler.BlockList Targets - } - .class public sealed SystemAssemblyLocation - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field static public string Location - } - .class public sealed SystemCompilerRuntimeAssemblyLocation - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field static public string Location - } - .class public sealed SystemDataAssemblyLocation - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field static public string Location - } - .class public sealed SystemTypes - extends [mscorlib]System.Object - { - .method public static hidebysig - void Clear() - { - ret - } - .method public static hidebysig - void Initialize(bool doNotLockFile, bool getDebugInfo) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field static public class System.Compiler.Class Activator - .field static public class System.Compiler.Class AllowPartiallyTrustedCallersAttribute - .field static public class System.Compiler.Class AppDomain - .field static public class System.Compiler.Class ApplicationException - .field static public class System.Compiler.Struct ArgIterator - .field static public class System.Compiler.Class ArgumentException - .field static public class System.Compiler.Class ArgumentNullException - .field static public class System.Compiler.Class ArgumentOutOfRangeException - .field static public class System.Compiler.Class Array - .field static public class System.Compiler.Class ArrayList - .field static public class System.Compiler.Class Assembly - .field static public class System.Compiler.Class AssemblyCompanyAttribute - .field static public class System.Compiler.Class AssemblyConfigurationAttribute - .field static public class System.Compiler.Class AssemblyCopyrightAttribute - .field static public class System.Compiler.Class AssemblyCultureAttribute - .field static public class System.Compiler.Class AssemblyDelaySignAttribute - .field static public class System.Compiler.Class AssemblyDescriptionAttribute - .field static public class System.Compiler.Class AssemblyFileVersionAttribute - .field static public class System.Compiler.Class AssemblyFlagsAttribute - .field static public class System.Compiler.Class AssemblyInformationalVersionAttribute - .field static public class System.Compiler.Class AssemblyKeyFileAttribute - .field static public class System.Compiler.Class AssemblyKeyNameAttribute - .field static public class System.Compiler.Class AssemblyProductAttribute - .field static public class System.Compiler.Class AssemblyTitleAttribute - .field static public class System.Compiler.Class AssemblyTrademarkAttribute - .field static public class System.Compiler.Class AssemblyVersionAttribute - .field static public class System.Compiler.DelegateNode AsyncCallback - .field static public class System.Compiler.Class Attribute - .field static public class System.Compiler.Class AttributeUsageAttribute - .field static public class System.Compiler.Struct Boolean - .field static public class System.Compiler.Class CLSCompliantAttribute - .field static public class System.Compiler.Struct Char - .field static public class System.Compiler.Class ClassInterfaceAttribute - .field static public class System.Compiler.Class CodeAccessPermission - .field static public class System.Compiler.Class CollectionBase - .field static public class System.Compiler.Class ComImportAttribute - .field static public class System.Compiler.Class ComRegisterFunctionAttribute - .field static public class System.Compiler.Class ComSourceInterfacesAttribute - .field static public class System.Compiler.Class ComUnregisterFunctionAttribute - .field static public class System.Compiler.Class ComVisibleAttribute - .field static public class System.Compiler.Class ConditionalAttribute - .field static public class System.Compiler.Class CultureInfo - .field static public class System.Compiler.Class DBNull - .field static public class System.Compiler.Struct DateTime - .field static public class System.Compiler.Class DebuggableAttribute - .field static public class System.Compiler.Class DebuggerHiddenAttribute - .field static public class System.Compiler.Class DebuggerStepThroughAttribute - .field static public class System.Compiler.EnumNode DebuggingModes - .field static public class System.Compiler.Struct Decimal - .field static public class System.Compiler.Class DefaultMemberAttribute - .field static public class System.Compiler.Class Delegate - .field static public class System.Compiler.Class DictionaryBase - .field static public class System.Compiler.Struct DictionaryEntry - .field static public class System.Compiler.Class DllImportAttribute - .field static public class System.Compiler.Struct Double - .field static public class System.Compiler.Class DuplicateWaitObjectException - .field static public class System.Compiler.Struct DynamicallyTypedReference - .field static public class System.Compiler.Class Enum - .field static public class System.Compiler.Class Environment - .field static public class System.Compiler.Class EventArgs - .field static public class System.Compiler.Class Exception - .field static public class System.Compiler.Class ExecutionEngineException - .field static public class System.Compiler.Class FieldOffsetAttribute - .field static public class System.Compiler.Class FlagsAttribute - .field static public class System.Compiler.Class GC - .field static public class System.Compiler.Struct GenericArraySegment - .field static public class System.Compiler.Class GenericArrayToIEnumerableAdapter - .field static public class System.Compiler.Class GenericDictionary - .field static public class System.Compiler.Interface GenericICollection - .field static public class System.Compiler.Interface GenericIComparable - .field static public class System.Compiler.Interface GenericIComparer - .field static public class System.Compiler.Interface GenericIDictionary - .field static public class System.Compiler.Interface GenericIEnumerable - .field static public class System.Compiler.Interface GenericIEnumerator - .field static public class System.Compiler.Interface GenericIList - .field static public class System.Compiler.Struct GenericKeyValuePair - .field static public class System.Compiler.Class GenericList - .field static public class System.Compiler.Struct GenericNullable - .field static public class System.Compiler.Class GenericQueue - .field static public class System.Compiler.Class GenericSortedDictionary - .field static public class System.Compiler.Class GenericStack - .field static public char GenericTypeNamesMangleChar - .field static public class System.Compiler.Struct Guid - .field static public class System.Compiler.Class GuidAttribute - .field static public class System.Compiler.Struct HandleRef - .field static public class System.Compiler.Class Hashtable - .field static public class System.Compiler.Interface IASyncResult - .field static public class System.Compiler.Interface ICloneable - .field static public class System.Compiler.Interface ICollection - .field static public class System.Compiler.Interface IComparable - .field static public class System.Compiler.Interface IComparer - .field static public class System.Compiler.Interface IDictionary - .field static public class System.Compiler.Interface IDisposable - .field static public class System.Compiler.Interface IEnumerable - .field static public class System.Compiler.Interface IEnumerator - .field static public class System.Compiler.Interface IFormatProvider - .field static public class System.Compiler.Interface IHashCodeProvider - .field static public class System.Compiler.Interface IList - .field static public class System.Compiler.Interface IMembershipCondition - .field static public class System.Compiler.Interface IPermission - .field static public class System.Compiler.Interface ISerializable - .field static public class System.Compiler.Interface IStackWalk - .field static public class System.Compiler.Class ImportedFromTypeLibAttribute - .field static public class System.Compiler.Class InAttribute - .field static public class System.Compiler.Class IndexOutOfRangeException - .field static public class System.Compiler.Class IndexerNameAttribute - .field static public class System.Compiler.Struct Int16 - .field static public class System.Compiler.Struct Int32 - .field static public class System.Compiler.Struct Int64 - .field static public class System.Compiler.Struct Int8 - .field static public class System.Compiler.Struct IntPtr - .field static public class System.Compiler.Class InterfaceTypeAttribute - .field static public class System.Compiler.Class InternalsVisibleToAttribute - .field static public class System.Compiler.Class InvalidCastException - .field static public class System.Compiler.Class InvalidOperationException - .field static public class System.Compiler.Class Marshal - .field static public class System.Compiler.Class MarshalByRefObject - .field static public class System.Compiler.Class MemberInfo - .field static public class System.Compiler.Class MethodImplAttribute - .field static public class System.Compiler.Class Monitor - .field static public class System.Compiler.Class MulticastDelegate - .field static public class System.Compiler.Struct NativeOverlapped - .field static public class System.Compiler.Class NonNullType - .field static public class System.Compiler.Class NonSerializedAttribute - .field static public class System.Compiler.Class NotNullAttribute - .field static public class System.Compiler.Class NotSupportedException - .field static public class System.Compiler.Class NullReferenceException - .field static public class System.Compiler.Class Object - .field static public class System.Compiler.Class ObsoleteAttribute - .field static public class System.Compiler.Class OptionalAttribute - .field static public class System.Compiler.Class OutAttribute - .field static public class System.Compiler.Class OutOfMemoryException - .field static public class System.Compiler.Class ParamArrayAttribute - .field static public class System.Compiler.Class ParameterInfo - .field static public class System.Compiler.Class Queue - .field static public class System.Compiler.Class ReadOnlyCollectionBase - .field static public class System.Compiler.Class ResourceManager - .field static public class System.Compiler.Class ResourceSet - .field static public class System.Compiler.Class RuntimeCompatibilityAttribute - .field static public class System.Compiler.Struct RuntimeTypeHandle - .field static public class System.Compiler.Class STAThreadAttribute - .field static public class System.Compiler.Class SatelliteContractVersionAttribute - .field static public class System.Compiler.EnumNode SecurityAction - .field static public class System.Compiler.Class SecurityAttribute - .field static public class System.Compiler.Class SecurityCriticalAttribute - .field static public class System.Compiler.Class SecurityTransparentAttribute - .field static public class System.Compiler.Class SecurityTreatAsSafeAttribute - .field static public class System.Compiler.Class SerializableAttribute - .field static public class System.Compiler.Class SerializationInfo - .field static public class System.Compiler.Class ShadowsAssemblyAttribute - .field static public class System.Compiler.Struct Single - .field static public class System.Compiler.Class Stack - .field static public class System.Compiler.Class StackOverflowException - .field static public class System.Compiler.Class Stream - .field static public class System.Compiler.Struct StreamingContext - .field static public class System.Compiler.Class String - .field static public class System.Compiler.Class StringBuilder - .field static public class System.Compiler.Class StringComparer - .field static public class System.Compiler.EnumNode StringComparison - .field static public class System.Compiler.Class StructLayoutAttribute - .field static public class System.Compiler.Class SuppressMessageAttribute - .field static public class System.Compiler.Class SuppressUnmanagedCodeSecurityAttribute - .field static public class System.Compiler.AssemblyNode SystemAssembly - .field static public class System.Compiler.Class SystemException - .field static public class System.Compiler.Class Thread - .field static public class System.Compiler.Struct TimeSpan - .field static public class System.Compiler.Class Type - .field static public class System.Compiler.Struct UInt16 - .field static public class System.Compiler.Struct UInt32 - .field static public class System.Compiler.Struct UInt64 - .field static public class System.Compiler.Struct UInt8 - .field static public class System.Compiler.Struct UIntPtr - .field static public class System.Compiler.Class ValueType - .field static public class System.Compiler.Struct Void - .field static public class System.Compiler.Class WindowsImpersonationContext - .field static public class System.Compiler.Class __HandleProtector - } - .class public sealed SystemXmlAssemblyLocation - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field static public string Location - } - .class public sequential sealed TargetInformation - extends [mscorlib]System.ValueType - { - .field public string Company - .field public string Configuration - .field public string Copyright - .field public string Culture - .field public string Description - .field public string Product - .field public string ProductVersion - .field public string Title - .field public string Trademark - .field public string Version - } - .class public sealed TargetPlatform - extends [mscorlib]System.Object - { - .method public static hidebysig - void Clear() - { - ret - } - .method public static hidebysig specialname - class System.Compiler.TrivialHashtable get_AssemblyReferenceFor() - { - ret - } - .method public static hidebysig specialname - void set_AssemblyReferenceFor(class System.Compiler.TrivialHashtable 'value') - { - ret - } - .method public static hidebysig - void SetToV1() - { - ret - } - .method public static hidebysig - void SetToV1(string platformAssembliesLocation) - { - ret - } - .method public static hidebysig - void SetToV1_1() - { - ret - } - .method public static hidebysig - void SetToV1_1(string platformAssembliesLocation) - { - ret - } - .method public static hidebysig - void SetToV2() - { - ret - } - .method public static hidebysig - void SetToV2(string platformAssembliesLocation) - { - ret - } - .method public static hidebysig - void SetToPostV1_1(string platformAssembliesLocation) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .field static public bool DoNotLockFiles - .field static public bool GetDebugInfo - .field static public string PlatformAssembliesLocation - .field static public class [mscorlib]System.Version TargetVersion - .property class System.Compiler.TrivialHashtable AssemblyReferenceFor() - { - .get class System.Compiler.TrivialHashtable System.Compiler.TargetPlatform::get_AssemblyReferenceFor() - .set void System.Compiler.TargetPlatform::set_AssemblyReferenceFor(class System.Compiler.TrivialHashtable) - } - } - .class public TemplateInstance - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, class System.Compiler.TypeNodeList typeArguments) - { - ret - } - .field public class System.Compiler.Expression Expression - .field public bool IsMethodTemplate - .field public class System.Compiler.TypeNodeList TypeArgumentExpressions - .field public class System.Compiler.TypeNodeList TypeArguments - } - .class public TernaryExpression - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression operand1, class System.Compiler.Expression operand2, class System.Compiler.Expression operand3, valuetype System.Compiler.NodeType nodeType, class System.Compiler.TypeNode resultType) - { - ret - } - .field public class System.Compiler.Expression Operand1 - .field public class System.Compiler.Expression Operand2 - .field public class System.Compiler.Expression Operand3 - } - .class public This - extends System.Compiler.Parameter - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode 'type') - { - ret - } - .method public hidebysig specialname - instance void .ctor(valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode 'type', valuetype System.Compiler.SourceContext sctx) - { - ret - } - } - .class public ThisBinding - extends System.Compiler.This - implements System.Compiler.IUniqueKey - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.This boundThis, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public virtual hidebysig - instance int32 GetHashCode() - { - ret - } - .method public virtual hidebysig - instance bool Equals(object obj) - { - ret - } - .method private final virtual hidebysig newslot specialname - instance int32 System.Compiler.IUniqueKey.get_UniqueId() - { - .override System.Compiler.IUniqueKey::get_UniqueId - ret - } - .field public class System.Compiler.This BoundThis - .property instance int32 System.Compiler.IUniqueKey.UniqueId() - { - .get instance int32 System.Compiler.ThisBinding::System.Compiler.IUniqueKey.get_UniqueId() - } - } - .class public Throw - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, valuetype System.Compiler.SourceContext context) - { - ret - } - .field public class System.Compiler.Expression Expression - } - .class public sealed TrivialHashtable - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 expectedEntries) - { - ret - } - .method public hidebysig specialname - instance int32 get_Count() - { - ret - } - .method public hidebysig specialname - instance object get_Item(int32 key) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 key, object 'value') - { - ret - } - .property instance int32 Count() - { - .get instance int32 System.Compiler.TrivialHashtable::get_Count() - } - .property instance object Item(int32) - { - .get instance object System.Compiler.TrivialHashtable::get_Item(int32) - .set instance void System.Compiler.TrivialHashtable::set_Item(int32, object) - } - } - .class public Try - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Block tryBlock, class System.Compiler.CatchList catchers, class System.Compiler.FilterList filters, class System.Compiler.FaultHandlerList faultHandlers, class System.Compiler.Finally Finally) - { - ret - } - .field public class System.Compiler.CatchList Catchers - .field public class System.Compiler.FaultHandlerList FaultHandlers - .field public class System.Compiler.FilterList Filters - .field public class System.Compiler.Finally Finally - .field public class System.Compiler.Block TryBlock - } - .class public TupleTypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.FieldList domains) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.FieldList domains, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.FieldList Domains - } - .class public TypeExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, class System.Compiler.TypeNodeList templateArguments) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, class System.Compiler.TypeNodeList templateArguments, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsUnmanaged() - { - ret - } - .field public class System.Compiler.Expression Expression - .property instance bool IsUnmanaged() - { - .get instance bool System.Compiler.TypeExpression::get_IsUnmanaged() - } - } - .class public sealed TypeFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.TypeFlags Abstract = int32(0x00000080) - .field static public literal valuetype System.Compiler.TypeFlags AnsiClass = int32(0x00000000) - .field static public literal valuetype System.Compiler.TypeFlags AutoClass = int32(0x00020000) - .field static public literal valuetype System.Compiler.TypeFlags AutoLayout = int32(0x00000000) - .field static public literal valuetype System.Compiler.TypeFlags BeforeFieldInit = int32(0x00100000) - .field static public literal valuetype System.Compiler.TypeFlags Class = int32(0x00000000) - .field static public literal valuetype System.Compiler.TypeFlags ClassSemanticsMask = int32(0x00000020) - .field static public literal valuetype System.Compiler.TypeFlags ExplicitLayout = int32(0x00000010) - .field static public literal valuetype System.Compiler.TypeFlags HasSecurity = int32(0x00040000) - .field static public literal valuetype System.Compiler.TypeFlags Import = int32(0x00001000) - .field static public literal valuetype System.Compiler.TypeFlags Interface = int32(0x00000020) - .field static public literal valuetype System.Compiler.TypeFlags LayoutMask = int32(0x00000018) - .field static public literal valuetype System.Compiler.TypeFlags NestedAssembly = int32(0x00000005) - .field static public literal valuetype System.Compiler.TypeFlags NestedFamANDAssem = int32(0x00000006) - .field static public literal valuetype System.Compiler.TypeFlags NestedFamORAssem = int32(0x00000007) - .field static public literal valuetype System.Compiler.TypeFlags NestedFamily = int32(0x00000004) - .field static public literal valuetype System.Compiler.TypeFlags NestedPrivate = int32(0x00000003) - .field static public literal valuetype System.Compiler.TypeFlags NestedPublic = int32(0x00000002) - .field static public literal valuetype System.Compiler.TypeFlags None = int32(0x00000000) - .field static public literal valuetype System.Compiler.TypeFlags NotPublic = int32(0x00000000) - .field static public literal valuetype System.Compiler.TypeFlags Public = int32(0x00000001) - .field static public literal valuetype System.Compiler.TypeFlags RTSpecialName = int32(0x00000800) - .field static public literal valuetype System.Compiler.TypeFlags ReservedMask = int32(0x00040800) - .field static public literal valuetype System.Compiler.TypeFlags Sealed = int32(0x00000100) - .field static public literal valuetype System.Compiler.TypeFlags SequentialLayout = int32(0x00000008) - .field static public literal valuetype System.Compiler.TypeFlags Serializable = int32(0x00002000) - .field static public literal valuetype System.Compiler.TypeFlags SpecialName = int32(0x00000400) - .field static public literal valuetype System.Compiler.TypeFlags StringFormatMask = int32(0x00030000) - .field static public literal valuetype System.Compiler.TypeFlags UnicodeClass = int32(0x00010000) - .field static public literal valuetype System.Compiler.TypeFlags VisibilityMask = int32(0x00000007) - } - .class public TypeIntersectionExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNodeList types) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNodeList types, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.TypeNodeList Types - } - .class public TypeMemberSnippet - extends System.Compiler.Member - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.IParserFactory parserFactory, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public virtual hidebysig specialname - instance string get_FullName() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsCompilerControlled() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamily() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyAndAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyOrAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPrivate() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPublic() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsSpecialName() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStatic() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsVisibleOutsideAssembly() - { - ret - } - .field public class System.Compiler.IParserFactory ParserFactory - .property instance string FullName() - { - .get instance string System.Compiler.TypeMemberSnippet::get_FullName() - } - .property instance bool IsAssembly() - { - .get instance bool System.Compiler.TypeMemberSnippet::get_IsAssembly() - } - .property instance bool IsCompilerControlled() - { - .get instance bool System.Compiler.TypeMemberSnippet::get_IsCompilerControlled() - } - .property instance bool IsFamily() - { - .get instance bool System.Compiler.TypeMemberSnippet::get_IsFamily() - } - .property instance bool IsFamilyAndAssembly() - { - .get instance bool System.Compiler.TypeMemberSnippet::get_IsFamilyAndAssembly() - } - .property instance bool IsFamilyOrAssembly() - { - .get instance bool System.Compiler.TypeMemberSnippet::get_IsFamilyOrAssembly() - } - .property instance bool IsPrivate() - { - .get instance bool System.Compiler.TypeMemberSnippet::get_IsPrivate() - } - .property instance bool IsPublic() - { - .get instance bool System.Compiler.TypeMemberSnippet::get_IsPublic() - } - .property instance bool IsSpecialName() - { - .get instance bool System.Compiler.TypeMemberSnippet::get_IsSpecialName() - } - .property instance bool IsStatic() - { - .get instance bool System.Compiler.TypeMemberSnippet::get_IsStatic() - } - .property instance bool IsVisibleOutsideAssembly() - { - .get instance bool System.Compiler.TypeMemberSnippet::get_IsVisibleOutsideAssembly() - } - } - .class public abstract TypeModifier - extends System.Compiler.TypeNode - { - .method public virtual hidebysig - instance string GetUnmangledNameWithoutTypeParameters() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStructural() - { - ret - } - .method public virtual hidebysig - instance bool IsStructurallyEquivalentTo(class System.Compiler.TypeNode 'type') - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.TypeNodeList get_StructuralElementTypes() - { - ret - } - .field public class System.Compiler.TypeNode ModifiedType - .field public class System.Compiler.TypeNode ModifiedTypeExpression - .field public class System.Compiler.TypeNode Modifier - .field public class System.Compiler.TypeNode ModifierExpression - .field family class System.Compiler.TypeNodeList structuralElementTypes - .property instance bool IsStructural() - { - .get instance bool System.Compiler.TypeModifier::get_IsStructural() - } - .property instance class System.Compiler.TypeNodeList StructuralElementTypes() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.TypeModifier::get_StructuralElementTypes() - } - } - .class public abstract TypeNode - extends System.Compiler.Member - { - .class nested public sealed TypeAttributeProvider - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance void Invoke(class System.Compiler.TypeNode 'type', object handle) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class System.Compiler.TypeNode 'type', object handle, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance void EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .class nested public sealed TypeMemberProvider - extends [mscorlib]System.MulticastDelegate - { - .method public hidebysig specialname - instance void .ctor(object 'object', native int 'method') - runtime - { - } - .method public virtual hidebysig newslot - instance void Invoke(class System.Compiler.TypeNode 'type', object handle) - runtime - { - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.IAsyncResult BeginInvoke(class System.Compiler.TypeNode 'type', object handle, class [mscorlib]System.AsyncCallback callback, object 'object') - runtime - { - } - .method public virtual hidebysig newslot - instance void EndInvoke(class [mscorlib]System.IAsyncResult result) - runtime - { - } - } - .method public virtual hidebysig specialname - instance class System.Compiler.AttributeList get_Attributes() - { - ret - } - .method public virtual hidebysig specialname - instance void set_Attributes(class System.Compiler.AttributeList 'value') - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.SecurityAttributeList get_SecurityAttributes() - { - ret - } - .method public hidebysig specialname - instance void set_SecurityAttributes(class System.Compiler.SecurityAttributeList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNode get_BaseType() - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.MemberList get_DefaultMembers() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_DefaultMembers(class System.Compiler.MemberList 'value') - { - ret - } - .method public virtual hidebysig specialname - instance string get_FullName() - { - ret - } - .method public virtual hidebysig newslot - instance string GetFullUnmangledNameWithoutTypeParameters() - { - ret - } - .method public virtual hidebysig newslot - instance string GetFullUnmangledNameWithTypeParameters() - { - ret - } - .method public virtual hidebysig newslot - instance string GetUnmangledNameWithTypeParameters() - { - ret - } - .method public virtual hidebysig newslot - instance string GetUnmangledNameWithoutTypeParameters() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsAbstract() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsCompilerControlled() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamily() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyAndAssembly() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsFamilyOrAssembly() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsGeneric() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_IsGeneric(bool 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsNestedAssembly() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsNestedFamily() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsNestedFamilyAndAssembly() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsNestedInternal() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsNestedPublic() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsNonPublic() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsNormalized() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_IsNormalized(bool 'value') - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPrivate() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsPrimitiveComparable() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsPrimitiveInteger() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsPrimitiveNumeric() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsPublic() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsPrimitive() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsSealed() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsSpecialName() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStatic() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsStructural() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsTemplateParameter() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsUnmanaged() - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNodeList get_StructuralElementTypes() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsUnsignedPrimitiveNumeric() - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsValueType() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsVisibleOutsideAssembly() - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.MemberList get_Members() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Members(class System.Compiler.MemberList 'value') - { - ret - } - .method famorassem virtual hidebysig newslot - instance void ApplyOutOfBandContracts() - { - ret - } - .method family virtual hidebysig newslot - instance string FullStrippedName(class System.Compiler.Method m) - { - ret - } - .method family virtual hidebysig newslot - instance void CopyContractToMethod(class System.Compiler.Method contractMethod, class System.Compiler.Method codeMethod) - { - ret - } - .method family virtual hidebysig newslot - instance class System.Compiler.Method FindNearestOverriddenMethod(class System.Compiler.Method 'method') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNode get_Template() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_Template(class System.Compiler.TypeNode 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNodeList get_TemplateArguments() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_TemplateArguments(class System.Compiler.TypeNodeList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNodeList get_ConsolidatedTemplateArguments() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_ConsolidatedTemplateArguments(class System.Compiler.TypeNodeList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNodeList get_TemplateParameters() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_TemplateParameters(class System.Compiler.TypeNodeList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.TypeNodeList get_ConsolidatedTemplateParameters() - { - ret - } - .method public virtual hidebysig newslot specialname - instance void set_ConsolidatedTemplateParameters(class System.Compiler.TypeNodeList 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance valuetype [mscorlib]System.TypeCode get_TypeCode() - { - ret - } - .method public virtual hidebysig newslot - instance void GetAbstractMethods(class System.Compiler.MethodList result) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.ArrayType GetArrayType(int32 rank) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.ArrayType GetArrayType(int32 rank, bool lowerBoundIsUnknown) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.ArrayType GetArrayType(int32 rank, int32[] sizes, int32[] loBounds) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.MemberList GetConstructors() - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.InstanceInitializer GetConstructor(class System.Compiler.TypeNode[] types) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method family virtual hidebysig - instance class System.Compiler.Identifier GetDocumentationId() - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetGenericTemplateInstance(class System.Compiler.Module module, class System.Compiler.TypeNodeList consolidatedArguments) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetTemplateInstance(class System.Compiler.Module module, class System.Compiler.TypeNode[] typeArguments) - { - .param [2] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetTemplateInstance(class System.Compiler.TypeNode referringType, class System.Compiler.TypeNode[] templateArguments) - { - .param [2] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetTemplateInstance(class System.Compiler.TypeNode referringType, class System.Compiler.TypeNodeList templateArguments) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetTemplateInstance(class System.Compiler.Module module, class System.Compiler.TypeNode referringType, class System.Compiler.TypeNode declaringType, class System.Compiler.TypeNodeList templateArguments) - { - ret - } - .method family hidebysig - instance class System.Compiler.TypeNodeList GetConsolidatedTemplateArguments() - { - ret - } - .method family hidebysig - instance class System.Compiler.TypeNodeList GetConsolidatedTemplateArguments(class System.Compiler.TypeNodeList typeArgs) - { - ret - } - .method family hidebysig - instance class System.Compiler.TypeNodeList GetConsolidatedTemplateParameters() - { - ret - } - .method family hidebysig - instance class System.Compiler.TypeNodeList GetOwnTemplateArguments(class System.Compiler.TypeNodeList consolidatedTemplateArguments) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Pointer GetPointerType() - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Reference GetReferenceType() - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.MemberList GetMembersNamed(class System.Compiler.Identifier name) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Event GetEvent(class System.Compiler.Identifier name) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Field GetField(class System.Compiler.Identifier name) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Method GetMethod(class System.Compiler.Identifier name, class System.Compiler.TypeNode[] types) - { - .param [2] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.TypeNode GetNestedType(class System.Compiler.Identifier name) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Property GetProperty(class System.Compiler.Identifier name, class System.Compiler.TypeNode[] types) - { - .param [2] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.MemberList get_ExplicitCoercionMethods() - { - ret - } - .method public virtual hidebysig newslot specialname - instance class System.Compiler.MemberList get_ImplicitCoercionMethods() - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Method GetExplicitCoercionFromMethod(class System.Compiler.TypeNode sourceType) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Method GetExplicitCoercionToMethod(class System.Compiler.TypeNode targetType) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Method GetImplicitCoercionFromMethod(class System.Compiler.TypeNode sourceType) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Method GetImplicitCoercionToMethod(class System.Compiler.TypeNode targetType) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Method GetOpFalse() - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.Method GetOpTrue() - { - ret - } - .method public static hidebysig - class System.Compiler.TypeNode GetTypeNode(class [mscorlib]System.Type 'type') - { - ret - } - .method public virtual hidebysig newslot - instance class [mscorlib]System.Type GetRuntimeType() - { - ret - } - .method public static hidebysig - valuetype System.Compiler.TypeFlags GetVisibilityIntersection(valuetype System.Compiler.TypeFlags vis1, valuetype System.Compiler.TypeFlags vis2) - { - ret - } - .method public hidebysig - instance bool ImplementsExplicitly(class System.Compiler.Method meth) - { - ret - } - .method public hidebysig - instance class System.Compiler.Method GetImplementingMethod(class System.Compiler.Method meth, bool checkPublic) - { - ret - } - .method public virtual hidebysig newslot - instance bool IsAssignableTo(class System.Compiler.TypeNode targetType) - { - ret - } - .method public virtual hidebysig newslot - instance bool IsDerivedFrom(class System.Compiler.TypeNode otherType) - { - ret - } - .method public virtual hidebysig newslot - instance bool IsStructurallyEquivalentTo(class System.Compiler.TypeNode 'type') - { - ret - } - .method public virtual hidebysig newslot - instance bool IsStructurallyEquivalentList(class System.Compiler.TypeNodeList list1, class System.Compiler.TypeNodeList list2) - { - ret - } - .method public static hidebysig - class System.Compiler.TypeNode StripModifiers(class System.Compiler.TypeNode t) - { - ret - } - .method public static hidebysig - class System.Compiler.TypeNode StripModifier(class System.Compiler.TypeNode t, class System.Compiler.TypeNode modifier) - { - ret - } - .method family virtual hidebysig newslot - instance void UpdateMemberTable(int32 n) - { - ret - } - .method family static hidebysig - class System.Compiler.MemberList WeedOutNonSpecialMethods(class System.Compiler.MemberList members, valuetype System.Compiler.MethodFlags mask) - { - ret - } - .method public virtual hidebysig - instance void WriteDocumentation(class [System.Xml]System.Xml.XmlTextWriter xwriter) - { - ret - } - .field public int32 ClassSize - .field public class System.Compiler.Module DeclaringModule - .field public valuetype System.Compiler.TypeFlags Flags - .field public class System.Compiler.InterfaceList InterfaceExpressions - .field public class System.Compiler.InterfaceList Interfaces - .field public class System.Compiler.TypeNodeList IsDefinedBy - .field public bool IsNotFullySpecialized - .field static family initonly char[] MangleChars - .field static family class System.Compiler.Method MethodDoesNotExist - .field public class System.Compiler.Identifier Namespace - .field public bool NewTemplateInstanceIsRecursive - .field public int32 PackingSize - .field public class System.Compiler.TypeNode PartiallyDefines - .field public class System.Compiler.TypeNode/TypeAttributeProvider ProvideTypeAttributes - .field public class System.Compiler.TypeNode/TypeMemberProvider ProvideTypeMembers - .field public object ProviderHandle - .field public class System.Compiler.TypeNodeList TemplateArgumentExpressions - .field public class System.Compiler.TypeNode TemplateExpression - .field public class System.Compiler.TypeNodeList TemplateInstances - .field famorassem class System.Compiler.TrivialHashtable arrayTypes - .field famorassem class System.Compiler.TypeNodeList consolidatedTemplateParameters - .field famorassem class System.Compiler.MemberList constructors - .field public class System.Compiler.Block contractInitializerBlock - .field famorassem class System.Compiler.MemberList defaultMembers - .field famorassem class System.Compiler.TrivialHashtable explicitCoercionFromTable - .field famorassem class System.Compiler.MemberList explicitCoercionMethods - .field family class System.Compiler.TrivialHashtable explicitCoercionToTable - .field family string fullName - .field famorassem class System.Compiler.TrivialHashtable implicitCoercionFromTable - .field famorassem class System.Compiler.MemberList implicitCoercionMethods - .field famorassem class System.Compiler.TrivialHashtable implicitCoercionToTable - .field family bool isGeneric - .field family bool isNormalized - .field famorassem int32 memberCount - .field famorassem class System.Compiler.TrivialHashtable memberTable - .field famorassem class System.Compiler.MemberList members - .field famorassem bool modreq([mscorlib]System.Runtime.CompilerServices.IsVolatile) membersBeingPopulated - .field family class System.Compiler.Method opFalse - .field family class System.Compiler.Method opTrue - .field famorassem class System.Compiler.Pointer pointerType - .field famorassem class System.Compiler.Reference referenceType - .field family class [mscorlib]System.Type runtimeType - .field family class System.Compiler.SecurityAttributeList securityAttributes - .field famorassem class System.Compiler.TrivialHashtable structurallyEquivalentMethod - .field famorassem class System.Compiler.TrivialHashtable szArrayTypes - .field family class System.Compiler.TypeNode template - .field family class System.Compiler.TypeNodeList templateArguments - .property instance class System.Compiler.AttributeList Attributes() - { - .get instance class System.Compiler.AttributeList System.Compiler.TypeNode::get_Attributes() - .set instance void System.Compiler.TypeNode::set_Attributes(class System.Compiler.AttributeList) - } - .property instance class System.Compiler.TypeNode BaseType() - { - .get instance class System.Compiler.TypeNode System.Compiler.TypeNode::get_BaseType() - } - .property instance class System.Compiler.TypeNodeList ConsolidatedTemplateArguments() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.TypeNode::get_ConsolidatedTemplateArguments() - .set instance void System.Compiler.TypeNode::set_ConsolidatedTemplateArguments(class System.Compiler.TypeNodeList) - } - .property instance class System.Compiler.TypeNodeList ConsolidatedTemplateParameters() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.TypeNode::get_ConsolidatedTemplateParameters() - .set instance void System.Compiler.TypeNode::set_ConsolidatedTemplateParameters(class System.Compiler.TypeNodeList) - } - .property instance class System.Compiler.MemberList DefaultMembers() - { - .get instance class System.Compiler.MemberList System.Compiler.TypeNode::get_DefaultMembers() - .set instance void System.Compiler.TypeNode::set_DefaultMembers(class System.Compiler.MemberList) - } - .property instance class System.Compiler.MemberList ExplicitCoercionMethods() - { - .get instance class System.Compiler.MemberList System.Compiler.TypeNode::get_ExplicitCoercionMethods() - } - .property instance string FullName() - { - .get instance string System.Compiler.TypeNode::get_FullName() - } - .property instance class System.Compiler.MemberList ImplicitCoercionMethods() - { - .get instance class System.Compiler.MemberList System.Compiler.TypeNode::get_ImplicitCoercionMethods() - } - .property instance bool IsAbstract() - { - .get instance bool System.Compiler.TypeNode::get_IsAbstract() - } - .property instance bool IsAssembly() - { - .get instance bool System.Compiler.TypeNode::get_IsAssembly() - } - .property instance bool IsCompilerControlled() - { - .get instance bool System.Compiler.TypeNode::get_IsCompilerControlled() - } - .property instance bool IsFamily() - { - .get instance bool System.Compiler.TypeNode::get_IsFamily() - } - .property instance bool IsFamilyAndAssembly() - { - .get instance bool System.Compiler.TypeNode::get_IsFamilyAndAssembly() - } - .property instance bool IsFamilyOrAssembly() - { - .get instance bool System.Compiler.TypeNode::get_IsFamilyOrAssembly() - } - .property instance bool IsGeneric() - { - .get instance bool System.Compiler.TypeNode::get_IsGeneric() - .set instance void System.Compiler.TypeNode::set_IsGeneric(bool) - } - .property instance bool IsNestedAssembly() - { - .get instance bool System.Compiler.TypeNode::get_IsNestedAssembly() - } - .property instance bool IsNestedFamily() - { - .get instance bool System.Compiler.TypeNode::get_IsNestedFamily() - } - .property instance bool IsNestedFamilyAndAssembly() - { - .get instance bool System.Compiler.TypeNode::get_IsNestedFamilyAndAssembly() - } - .property instance bool IsNestedInternal() - { - .get instance bool System.Compiler.TypeNode::get_IsNestedInternal() - } - .property instance bool IsNestedPublic() - { - .get instance bool System.Compiler.TypeNode::get_IsNestedPublic() - } - .property instance bool IsNonPublic() - { - .get instance bool System.Compiler.TypeNode::get_IsNonPublic() - } - .property instance bool IsNormalized() - { - .get instance bool System.Compiler.TypeNode::get_IsNormalized() - .set instance void System.Compiler.TypeNode::set_IsNormalized(bool) - } - .property instance bool IsPrimitive() - { - .get instance bool System.Compiler.TypeNode::get_IsPrimitive() - } - .property instance bool IsPrimitiveComparable() - { - .get instance bool System.Compiler.TypeNode::get_IsPrimitiveComparable() - } - .property instance bool IsPrimitiveInteger() - { - .get instance bool System.Compiler.TypeNode::get_IsPrimitiveInteger() - } - .property instance bool IsPrimitiveNumeric() - { - .get instance bool System.Compiler.TypeNode::get_IsPrimitiveNumeric() - } - .property instance bool IsPrivate() - { - .get instance bool System.Compiler.TypeNode::get_IsPrivate() - } - .property instance bool IsPublic() - { - .get instance bool System.Compiler.TypeNode::get_IsPublic() - } - .property instance bool IsSealed() - { - .get instance bool System.Compiler.TypeNode::get_IsSealed() - } - .property instance bool IsSpecialName() - { - .get instance bool System.Compiler.TypeNode::get_IsSpecialName() - } - .property instance bool IsStatic() - { - .get instance bool System.Compiler.TypeNode::get_IsStatic() - } - .property instance bool IsStructural() - { - .get instance bool System.Compiler.TypeNode::get_IsStructural() - } - .property instance bool IsTemplateParameter() - { - .get instance bool System.Compiler.TypeNode::get_IsTemplateParameter() - } - .property instance bool IsUnmanaged() - { - .get instance bool System.Compiler.TypeNode::get_IsUnmanaged() - } - .property instance bool IsUnsignedPrimitiveNumeric() - { - .get instance bool System.Compiler.TypeNode::get_IsUnsignedPrimitiveNumeric() - } - .property instance bool IsValueType() - { - .get instance bool System.Compiler.TypeNode::get_IsValueType() - } - .property instance bool IsVisibleOutsideAssembly() - { - .get instance bool System.Compiler.TypeNode::get_IsVisibleOutsideAssembly() - } - .property instance class System.Compiler.MemberList Members() - { - .get instance class System.Compiler.MemberList System.Compiler.TypeNode::get_Members() - .set instance void System.Compiler.TypeNode::set_Members(class System.Compiler.MemberList) - } - .property instance class System.Compiler.SecurityAttributeList SecurityAttributes() - { - .get instance class System.Compiler.SecurityAttributeList System.Compiler.TypeNode::get_SecurityAttributes() - .set instance void System.Compiler.TypeNode::set_SecurityAttributes(class System.Compiler.SecurityAttributeList) - } - .property instance class System.Compiler.TypeNodeList StructuralElementTypes() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.TypeNode::get_StructuralElementTypes() - } - .property instance class System.Compiler.TypeNode Template() - { - .get instance class System.Compiler.TypeNode System.Compiler.TypeNode::get_Template() - .set instance void System.Compiler.TypeNode::set_Template(class System.Compiler.TypeNode) - } - .property instance class System.Compiler.TypeNodeList TemplateArguments() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.TypeNode::get_TemplateArguments() - .set instance void System.Compiler.TypeNode::set_TemplateArguments(class System.Compiler.TypeNodeList) - } - .property instance class System.Compiler.TypeNodeList TemplateParameters() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.TypeNode::get_TemplateParameters() - .set instance void System.Compiler.TypeNode::set_TemplateParameters(class System.Compiler.TypeNodeList) - } - .property instance valuetype [mscorlib]System.TypeCode TypeCode() - { - .get instance valuetype [mscorlib]System.TypeCode System.Compiler.TypeNode::get_TypeCode() - } - } - .class public sealed TypeNodeList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNodeList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.TypeNode get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.TypeNode Current() - { - .get instance class System.Compiler.TypeNode System.Compiler.TypeNodeList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode[] elements) - { - .param [1] - .custom instance void [mscorlib]System.ParamArrayAttribute::.ctor() = { } - ret - } - .method public hidebysig - instance void Add(class System.Compiler.TypeNode element) - { - ret - } - .method public hidebysig - instance class System.Compiler.TypeNodeList Clone() - { - ret - } - .method public hidebysig - instance void Insert(class System.Compiler.TypeNode element, int32 index) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig - instance int32 SearchFor(class System.Compiler.TypeNode element) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.TypeNode get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.TypeNode 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.TypeNodeList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.TypeNode Item(int32) - { - .get instance class System.Compiler.TypeNode System.Compiler.TypeNodeList::get_Item(int32) - .set instance void System.Compiler.TypeNodeList::set_Item(int32, class System.Compiler.TypeNode) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.TypeNodeList::get_Length() - } - } - .class public TypeParameter - extends System.Compiler.Interface - implements System.Compiler.ITypeParameter - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.InterfaceList baseInterfaces, class System.Compiler.TypeNode/TypeAttributeProvider provideAttributes, class System.Compiler.TypeNode/TypeMemberProvider provideMembers, object handle) - { - ret - } - .method public final virtual hidebysig newslot specialname - instance class System.Compiler.Member get_DeclaringMember() - { - ret - } - .method public final virtual hidebysig newslot specialname - instance void set_DeclaringMember(class System.Compiler.Member 'value') - { - ret - } - .method public final virtual hidebysig newslot specialname - instance int32 get_ParameterListIndex() - { - ret - } - .method public final virtual hidebysig newslot specialname - instance void set_ParameterListIndex(int32 'value') - { - ret - } - .method public final virtual hidebysig newslot specialname - instance valuetype System.Compiler.TypeParameterFlags get_TypeParameterFlags() - { - ret - } - .method public final virtual hidebysig newslot specialname - instance void set_TypeParameterFlags(valuetype System.Compiler.TypeParameterFlags 'value') - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsStructural() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsTemplateParameter() - { - ret - } - .method public virtual hidebysig specialname - instance bool get_IsValueType() - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.TypeNodeList get_StructuralElementTypes() - { - ret - } - .method public virtual hidebysig - instance string GetFullUnmangledNameWithoutTypeParameters() - { - ret - } - .method public virtual hidebysig - instance string GetFullUnmangledNameWithTypeParameters() - { - ret - } - .method public virtual hidebysig - instance bool IsStructurallyEquivalentTo(class System.Compiler.TypeNode 'type') - { - ret - } - .field family class System.Compiler.TypeNodeList structuralElementTypes - .property instance class System.Compiler.Member DeclaringMember() - { - .get instance class System.Compiler.Member System.Compiler.TypeParameter::get_DeclaringMember() - .set instance void System.Compiler.TypeParameter::set_DeclaringMember(class System.Compiler.Member) - } - .property instance bool IsStructural() - { - .get instance bool System.Compiler.TypeParameter::get_IsStructural() - } - .property instance bool IsTemplateParameter() - { - .get instance bool System.Compiler.TypeParameter::get_IsTemplateParameter() - } - .property instance bool IsValueType() - { - .get instance bool System.Compiler.TypeParameter::get_IsValueType() - } - .property instance int32 ParameterListIndex() - { - .get instance int32 System.Compiler.TypeParameter::get_ParameterListIndex() - .set instance void System.Compiler.TypeParameter::set_ParameterListIndex(int32) - } - .property instance class System.Compiler.TypeNodeList StructuralElementTypes() - { - .get instance class System.Compiler.TypeNodeList System.Compiler.TypeParameter::get_StructuralElementTypes() - } - .property instance valuetype System.Compiler.TypeParameterFlags TypeParameterFlags() - { - .get instance valuetype System.Compiler.TypeParameterFlags System.Compiler.TypeParameter::get_TypeParameterFlags() - .set instance void System.Compiler.TypeParameter::set_TypeParameterFlags(valuetype System.Compiler.TypeParameterFlags) - } - } - .class public sealed TypeParameterFlags - extends [mscorlib]System.Enum - { - .custom instance void [mscorlib]System.FlagsAttribute::.ctor() = { } - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype System.Compiler.TypeParameterFlags Contravariant = int32(0x00000002) - .field static public literal valuetype System.Compiler.TypeParameterFlags Covariant = int32(0x00000001) - .field static public literal valuetype System.Compiler.TypeParameterFlags DefaultConstructorConstraint = int32(0x00000010) - .field static public literal valuetype System.Compiler.TypeParameterFlags NoSpecialConstraint = int32(0x00000000) - .field static public literal valuetype System.Compiler.TypeParameterFlags NonVariant = int32(0x00000000) - .field static public literal valuetype System.Compiler.TypeParameterFlags ReferenceTypeConstraint = int32(0x00000004) - .field static public literal valuetype System.Compiler.TypeParameterFlags SpecialConstraintMask = int32(0x0000001C) - .field static public literal valuetype System.Compiler.TypeParameterFlags ValueTypeConstraint = int32(0x00000008) - .field static public literal valuetype System.Compiler.TypeParameterFlags VarianceMask = int32(0x00000003) - } - .class public TypeScope - extends System.Compiler.Scope - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Scope parentScope, class System.Compiler.TypeNode 'type') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.MemberList GetMembersNamed(class System.Compiler.Identifier name) - { - ret - } - .method public virtual hidebysig specialname - instance class System.Compiler.MemberList get_Members() - { - ret - } - .method public virtual hidebysig specialname - instance void set_Members(class System.Compiler.MemberList 'value') - { - ret - } - .field public class System.Compiler.TypeNode Type - .property instance class System.Compiler.MemberList Members() - { - .get instance class System.Compiler.MemberList System.Compiler.TypeScope::get_Members() - .set instance void System.Compiler.TypeScope::set_Members(class System.Compiler.MemberList) - } - } - .class public TypeUnionExpression - extends System.Compiler.TypeNode - implements System.Compiler.ISymbolicTypeReference - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNodeList types) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNodeList types, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.TypeNodeList Types - } - .class public Typeswitch - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, class System.Compiler.TypeswitchCaseList cases) - { - ret - } - .field public class System.Compiler.TypeswitchCaseList Cases - .field public class System.Compiler.Expression Expression - } - .class public TypeswitchCase - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeNode labelType, class System.Compiler.Expression labelVariable, class System.Compiler.Block body) - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.TypeNode LabelType - .field public class System.Compiler.TypeNode LabelTypeExpression - .field public class System.Compiler.Expression LabelVariable - } - .class public sealed TypeswitchCaseList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.TypeswitchCaseList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.TypeswitchCase get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.TypeswitchCase Current() - { - .get instance class System.Compiler.TypeswitchCase System.Compiler.TypeswitchCaseList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.TypeswitchCase element) - { - ret - } - .method public hidebysig - instance class System.Compiler.TypeswitchCaseList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.TypeswitchCase get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.TypeswitchCase 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.TypeswitchCaseList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.TypeswitchCase Item(int32) - { - .get instance class System.Compiler.TypeswitchCase System.Compiler.TypeswitchCaseList::get_Item(int32) - .set instance void System.Compiler.TypeswitchCaseList::set_Item(int32, class System.Compiler.TypeswitchCase) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.TypeswitchCaseList::get_Length() - } - } - .class public UnaryExpression - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression operand, valuetype System.Compiler.NodeType nodeType) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression operand, valuetype System.Compiler.NodeType nodeType, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression operand, valuetype System.Compiler.NodeType nodeType, class System.Compiler.TypeNode 'type') - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression operand, valuetype System.Compiler.NodeType nodeType, class System.Compiler.TypeNode 'type', valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Expression Operand - } - .class public sealed Unstacker - extends System.Compiler.StandardVisitor - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitAssignmentStatement(class System.Compiler.AssignmentStatement assignment) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitBinaryExpression(class System.Compiler.BinaryExpression binaryExpression) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Block VisitBlock(class System.Compiler.Block block) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitBranch(class System.Compiler.Branch branch) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitSwitchInstruction(class System.Compiler.SwitchInstruction switchInstruction) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.ExpressionList VisitExpressionList(class System.Compiler.ExpressionList expressions) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Statement VisitExpressionStatement(class System.Compiler.ExpressionStatement statement) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitExpression(class System.Compiler.Expression expression) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitIndexer(class System.Compiler.Indexer indexer) - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Method VisitMethod(class System.Compiler.Method 'method') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitMethodCall(class System.Compiler.MethodCall 'call') - { - ret - } - .method public virtual hidebysig - instance class System.Compiler.Expression VisitTernaryExpression(class System.Compiler.TernaryExpression expression) - { - ret - } - } - .class public UsedNamespace - extends System.Compiler.Node - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier Namespace) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier Namespace, valuetype System.Compiler.SourceContext sctx) - { - ret - } - .field public class System.Compiler.Identifier Namespace - .field public class System.Compiler.Identifier URI - } - .class public sealed UsedNamespaceList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.UsedNamespaceList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.UsedNamespace get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.UsedNamespace Current() - { - .get instance class System.Compiler.UsedNamespace System.Compiler.UsedNamespaceList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.UsedNamespace element) - { - ret - } - .method public hidebysig - instance class System.Compiler.UsedNamespaceList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.UsedNamespace get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.UsedNamespace 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.UsedNamespaceList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.UsedNamespace Item(int32) - { - .get instance class System.Compiler.UsedNamespace System.Compiler.UsedNamespaceList::get_Item(int32) - .set instance void System.Compiler.UsedNamespaceList::set_Item(int32, class System.Compiler.UsedNamespace) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.UsedNamespaceList::get_Length() - } - } - .class public Variable - extends System.Compiler.Expression - { - .method public hidebysig specialname - instance void .ctor(valuetype System.Compiler.NodeType 'type') - { - ret - } - .field public class System.Compiler.Identifier Name - .field public class System.Compiler.TypeNode TypeExpression - } - .class public VariableDeclaration - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Identifier name, class System.Compiler.TypeNode 'type', class System.Compiler.Expression initializer) - { - ret - } - .field public class System.Compiler.Field Field - .field public class System.Compiler.Expression Initializer - .field public class System.Compiler.Identifier Name - .field public class System.Compiler.TypeNode Type - .field public class System.Compiler.TypeNode TypeExpression - } - .class public sealed VariableDeclarationList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.VariableDeclarationList list) - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.VariableDeclaration get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance class System.Compiler.VariableDeclaration Current() - { - .get instance class System.Compiler.VariableDeclaration System.Compiler.VariableDeclarationList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(class System.Compiler.VariableDeclaration element) - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance class System.Compiler.VariableDeclaration get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, class System.Compiler.VariableDeclaration 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.VariableDeclarationList/Enumerator GetEnumerator() - { - ret - } - .property instance class System.Compiler.VariableDeclaration Item(int32) - { - .get instance class System.Compiler.VariableDeclaration System.Compiler.VariableDeclarationList::get_Item(int32) - .set instance void System.Compiler.VariableDeclarationList::set_Item(int32, class System.Compiler.VariableDeclaration) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.VariableDeclarationList::get_Length() - } - } - .class public abstract Visitor - extends [mscorlib]System.Object - { - .method public virtual hidebysig newslot abstract - instance class System.Compiler.Node Visit(class System.Compiler.Node node) - { - } - .method public virtual hidebysig newslot - instance void TransferStateTo(class System.Compiler.Visitor targetVisitor) - { - ret - } - .method public virtual hidebysig newslot - instance class System.Compiler.ExpressionList VisitExpressionList(class System.Compiler.ExpressionList list) - { - ret - } - .method family hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public While - extends System.Compiler.Statement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression condition, class System.Compiler.Block body) - { - ret - } - .field public class System.Compiler.Block Body - .field public class System.Compiler.Expression Condition - } - .class public sequential sealed Win32Resource - extends [mscorlib]System.ValueType - { - .field public string TypeName - .field public int32 TypeID - .field public string Name - .field public int32 ID - .field public int32 LanguageID - .field public int32 CodePage - .field public unsigned int8[] Data - } - .class public sealed Win32ResourceList - extends [mscorlib]System.Object - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .class nested public sequential sealed Enumerator - extends [mscorlib]System.ValueType - { - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Win32ResourceList list) - { - ret - } - .method public hidebysig specialname - instance valuetype System.Compiler.Win32Resource get_Current() - { - ret - } - .method public hidebysig - instance bool MoveNext() - { - ret - } - .method public hidebysig - instance void Reset() - { - ret - } - - //This private field was generated by ASMMETA as a placeholder and does not exist in the actual assembly. - .field private int32 __Asmmeta_Private_Field - .property instance valuetype System.Compiler.Win32Resource Current() - { - .get instance valuetype System.Compiler.Win32Resource System.Compiler.Win32ResourceList/Enumerator::get_Current() - } - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(int32 capacity) - { - ret - } - .method public hidebysig - instance void Add(valuetype System.Compiler.Win32Resource element) - { - ret - } - .method public hidebysig - instance class System.Compiler.Win32ResourceList Clone() - { - ret - } - .method public hidebysig specialname - instance int32 get_Length() - { - ret - } - .method public hidebysig specialname - instance valuetype System.Compiler.Win32Resource get_Item(int32 index) - { - ret - } - .method public hidebysig specialname - instance void set_Item(int32 index, valuetype System.Compiler.Win32Resource 'value') - { - ret - } - .method public hidebysig - instance valuetype System.Compiler.Win32ResourceList/Enumerator GetEnumerator() - { - ret - } - .property instance valuetype System.Compiler.Win32Resource Item(int32) - { - .get instance valuetype System.Compiler.Win32Resource System.Compiler.Win32ResourceList::get_Item(int32) - .set instance void System.Compiler.Win32ResourceList::set_Item(int32, valuetype System.Compiler.Win32Resource) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.Win32ResourceList::get_Length() - } - } - .class public Yield - extends System.Compiler.ExpressionStatement - { - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression) - { - ret - } - .method public hidebysig specialname - instance void .ctor(class System.Compiler.Expression expression, valuetype System.Compiler.SourceContext sctx) - { - ret - } - } -} -.namespace System.Compiler.Metadata -{ - .class public sealed MemoryMappedFile - extends [mscorlib]System.Object - implements [mscorlib]System.IDisposable, System.Compiler.ISourceTextBuffer, System.Compiler.ISourceText - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .method public hidebysig specialname - instance void .ctor(string fileName) - { - ret - } - .method family virtual hidebysig - instance void Finalize() - { - ret - } - .method public final virtual hidebysig newslot - instance void Dispose() - { - ret - } - .method public final virtual hidebysig newslot specialname - instance unsigned int8* get_Buffer() - { - ret - } - .method public final virtual hidebysig newslot specialname - instance int32 get_Length() - { - ret - } - .method public final virtual hidebysig newslot - instance string Substring(int32 start, int32 length) - { - ret - } - .method public final virtual hidebysig newslot specialname - instance char get_Item(int32 index) - { - ret - } - .method private final virtual hidebysig newslot - instance void System.Compiler.ISourceText.MakeCollectible() - { - .override System.Compiler.ISourceText::MakeCollectible - ret - } - .property instance unsigned int8* Buffer() - { - .get instance unsigned int8* System.Compiler.Metadata.MemoryMappedFile::get_Buffer() - } - .property instance char Item(int32) - { - .get instance char System.Compiler.Metadata.MemoryMappedFile::get_Item(int32) - } - .property instance int32 Length() - { - .get instance int32 System.Compiler.Metadata.MemoryMappedFile::get_Length() - } - } -} - diff --git a/tools/Sandcastle/Source/CCI/Nodes.cs b/tools/Sandcastle/Source/CCI/Nodes.cs index 4f9a0f1..dd251b3 100644 --- a/tools/Sandcastle/Source/CCI/Nodes.cs +++ b/tools/Sandcastle/Source/CCI/Nodes.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections; using System.Collections.Generic; diff --git a/tools/Sandcastle/Source/CCI/OpCode.cs b/tools/Sandcastle/Source/CCI/OpCode.cs index be9b111..abb5fc6 100644 --- a/tools/Sandcastle/Source/CCI/OpCode.cs +++ b/tools/Sandcastle/Source/CCI/OpCode.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; #if CCINamespace diff --git a/tools/Sandcastle/Source/CCI/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/CCI/Properties/AssemblyInfo.cs index 7c71f3d..7027a51 100644 --- a/tools/Sandcastle/Source/CCI/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/CCI/Properties/AssemblyInfo.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Reflection; using System.Runtime.CompilerServices; @@ -36,5 +39,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/CCI/Reader.cs b/tools/Sandcastle/Source/CCI/Reader.cs index db4949d..713e9b7 100644 --- a/tools/Sandcastle/Source/CCI/Reader.cs +++ b/tools/Sandcastle/Source/CCI/Reader.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections; #if FxCop diff --git a/tools/Sandcastle/Source/CCI/Specializer.cs b/tools/Sandcastle/Source/CCI/Specializer.cs index f1e52ea..d651883 100644 --- a/tools/Sandcastle/Source/CCI/Specializer.cs +++ b/tools/Sandcastle/Source/CCI/Specializer.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Diagnostics; #if FxCop diff --git a/tools/Sandcastle/Source/CCI/StandardIds.cs b/tools/Sandcastle/Source/CCI/StandardIds.cs index 4e22205..b4145b3 100644 --- a/tools/Sandcastle/Source/CCI/StandardIds.cs +++ b/tools/Sandcastle/Source/CCI/StandardIds.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; #if CCINamespace diff --git a/tools/Sandcastle/Source/CCI/StandardVisitor.cs b/tools/Sandcastle/Source/CCI/StandardVisitor.cs index 22c314c..fcc6ba6 100644 --- a/tools/Sandcastle/Source/CCI/StandardVisitor.cs +++ b/tools/Sandcastle/Source/CCI/StandardVisitor.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.CodeDom.Compiler; using System.Collections; diff --git a/tools/Sandcastle/Source/CCI/SystemTypes.cs b/tools/Sandcastle/Source/CCI/SystemTypes.cs index c982dd5..d5b8246 100644 --- a/tools/Sandcastle/Source/CCI/SystemTypes.cs +++ b/tools/Sandcastle/Source/CCI/SystemTypes.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Diagnostics; using System.IO; diff --git a/tools/Sandcastle/Source/CCI/Unstacker.cs b/tools/Sandcastle/Source/CCI/Unstacker.cs index 679e831..49d88ab 100644 --- a/tools/Sandcastle/Source/CCI/Unstacker.cs +++ b/tools/Sandcastle/Source/CCI/Unstacker.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + #if !MinimalReader || !NoWriter using System; using System.Collections; diff --git a/tools/Sandcastle/Source/CCI/Updater.cs b/tools/Sandcastle/Source/CCI/Updater.cs index 2b18f2b..18c015a 100644 --- a/tools/Sandcastle/Source/CCI/Updater.cs +++ b/tools/Sandcastle/Source/CCI/Updater.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + #if !MinimalReader using System; using System.Diagnostics; diff --git a/tools/Sandcastle/Source/CCI/Writer.cs b/tools/Sandcastle/Source/CCI/Writer.cs index 5175f89..28a3668 100644 --- a/tools/Sandcastle/Source/CCI/Writer.cs +++ b/tools/Sandcastle/Source/CCI/Writer.cs @@ -1,5 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + #if !NoWriter using System; using System.Collections; diff --git a/tools/Sandcastle/Source/CCI/makefile b/tools/Sandcastle/Source/CCI/makefile deleted file mode 100644 index 5acbbd2..0000000 --- a/tools/Sandcastle/Source/CCI/makefile +++ /dev/null @@ -1 +0,0 @@ -!INCLUDE $(NTMAKEENV)\makefile.def diff --git a/tools/Sandcastle/Source/CCI/makefile.inc b/tools/Sandcastle/Source/CCI/makefile.inc deleted file mode 100644 index 32f7350..0000000 --- a/tools/Sandcastle/Source/CCI/makefile.inc +++ /dev/null @@ -1,2 +0,0 @@ -!INCLUDE $(INETROOT)\build\makefile.inc - diff --git a/tools/Sandcastle/Source/CCI/placefile b/tools/Sandcastle/Source/CCI/placefile deleted file mode 100644 index 2dcbd7f..0000000 --- a/tools/Sandcastle/Source/CCI/placefile +++ /dev/null @@ -1 +0,0 @@ -Microsoft.Ddue.Tools.Compiler.dll Manifold diff --git a/tools/Sandcastle/Source/ChmBuilder/ChmBuilder.cs b/tools/Sandcastle/Source/ChmBuilder/ChmBuilder.cs index d78a7e7..1e2aeb2 100644 --- a/tools/Sandcastle/Source/ChmBuilder/ChmBuilder.cs +++ b/tools/Sandcastle/Source/ChmBuilder/ChmBuilder.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.Collections; @@ -295,7 +297,7 @@ namespace Microsoft.Ddue.Tools } else { - throw new Exception(String.Format("language {0} is not found in config file.", lcid)); + throw new ArgumentException(String.Format("language {0} is not found in config file.", lcid)); } } @@ -438,21 +440,30 @@ namespace Microsoft.Ddue.Tools private void WriteHhp() { string hhpFile = String.Format("{0}\\{1}.hhp", _args.outputDirectory, _args.projectName); + Encoding ei = Encoding.GetEncoding(_lang.CodePage); - StreamWriter sw = new StreamWriter(hhpFile, false, Encoding.GetEncoding(_lang.CodePage)); - string var0 = _args.projectName; - string var1 = _defaultTopic; - string var2 = _lang.Name; - string var3 = GetChmTitle(); + using (FileStream writer = File.OpenWrite(hhpFile)) + { + string var0 = _args.projectName; + string var1 = _defaultTopic; + string var2 = _lang.Name; + string var3 = GetChmTitle(); - XPathNodeIterator iter = _config.CreateNavigator().Select("/configuration/hhpTemplate/line"); + XPathNodeIterator iter = _config.CreateNavigator().Select("/configuration/hhpTemplate/line"); - while (iter.MoveNext()) - { - String line = iter.Current.Value; - sw.WriteLine(line, var0, var1, var2, var3); + while (iter.MoveNext()) + { + String line = iter.Current.Value; + AddText(writer, String.Format(line, var0, var1, var2, var3), ei); + AddText(writer, "\r\n", ei); + } } - sw.Close(); + } + + private void AddText(FileStream fs, string value, Encoding ei) + { + byte[] info = ei.GetBytes(value); + fs.Write(info, 0, info.Length); } private void WriteHtmls() @@ -527,10 +538,10 @@ namespace Microsoft.Ddue.Tools return; } */ - catch (Exception ex) + catch (Exception) { ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("failed to process file {0}", fileName)); - throw ex; + throw; } } else diff --git a/tools/Sandcastle/Source/ChmBuilder/ChmBuilder.csproj b/tools/Sandcastle/Source/ChmBuilder/ChmBuilder.csproj index 12f1d49..8ee8adf 100644 --- a/tools/Sandcastle/Source/ChmBuilder/ChmBuilder.csproj +++ b/tools/Sandcastle/Source/ChmBuilder/ChmBuilder.csproj @@ -49,6 +49,7 @@ <Compile Include="ChmBuilder.cs"> </Compile> <Compile Include="ChmBuilderArgs.cs" /> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> diff --git a/tools/Sandcastle/Source/ChmBuilder/ChmBuilder.csproj.vspscc b/tools/Sandcastle/Source/ChmBuilder/ChmBuilder.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/ChmBuilder/ChmBuilder.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/ChmBuilder/ChmBuilderArgs.cs b/tools/Sandcastle/Source/ChmBuilder/ChmBuilderArgs.cs index d76d153..7f21b83 100644 --- a/tools/Sandcastle/Source/ChmBuilder/ChmBuilderArgs.cs +++ b/tools/Sandcastle/Source/ChmBuilder/ChmBuilderArgs.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.Collections; diff --git a/tools/Sandcastle/Source/ChmBuilder/GlobalSuppressions.cs b/tools/Sandcastle/Source/ChmBuilder/GlobalSuppressions.cs new file mode 100644 index 0000000..07e378e --- /dev/null +++ b/tools/Sandcastle/Source/ChmBuilder/GlobalSuppressions.cs @@ -0,0 +1,53 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#GetChmTitle()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.HxsChmConverter.#ProcessDirectory(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.HxsChmConverter.#ProcessFile(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Ddue.Tools.HxsChmConverter.#ReadXmlIsland(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#Main(System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt32(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#LoadLanginfo(System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Int32.ToString", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#LoadLanginfo(System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#LoadLanginfo(System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#Main(System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#WriteHhc()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#WriteHhk()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.HxsChmConverter.#ProcessDirectory(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#WriteHhc()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#WriteHhk()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#WriteHhp()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.CompareTo(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#CompareKeyword(Microsoft.Ddue.Tools.KKeywordInfo,Microsoft.Ddue.Tools.KKeywordInfo)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.EndsWith(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#StripEndBackSlash(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.LastIndexOf(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.HxsChmConverter.#ProcessFile(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.StartsWith(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.HxsChmConverter.#ProcessFile(System.String,System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "BackSlash", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#StripEndBackSlash(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Chm")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Chm", Scope = "type", Target = "Microsoft.Ddue.Tools.ChmBuilder")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Chm", Scope = "type", Target = "Microsoft.Ddue.Tools.ChmBuilderArgs")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ddue", Scope = "namespace", Target = "Microsoft.Ddue.Tools")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "langid", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilderArgs.#langid")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilderArgs.#htmlDirectory")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilderArgs.#langid")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilderArgs.#metadata")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilderArgs.#outputDirectory")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilderArgs.#tocFile")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilderArgs.#projectName")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#.ctor(Microsoft.Ddue.Tools.ChmBuilderArgs)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilderArgs.#.ctor()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilderArgs.#configFile")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.HxsChmConverter.#.ctor(System.String,System.String,System.Collections.Hashtable,System.Collections.Generic.List`1<Microsoft.Ddue.Tools.KKeywordInfo>,System.Boolean)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#AddText(System.IO.FileStream,System.String,System.Text.Encoding)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Ddue.Tools.ChmBuilder.#WriteHhp()")] diff --git a/tools/Sandcastle/Source/ChmBuilder/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/ChmBuilder/Properties/AssemblyInfo.cs index cd46bbb..6f99eff 100644 --- a/tools/Sandcastle/Source/ChmBuilder/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/ChmBuilder/Properties/AssemblyInfo.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System.Reflection; using System.Runtime.CompilerServices; @@ -17,6 +19,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: System.CLSCompliant(false)] + // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -32,5 +36,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/CommandLine/BooleanOption.cs b/tools/Sandcastle/Source/CommandLine/BooleanOption.cs index 93ea9fd..6ea23a1 100644 --- a/tools/Sandcastle/Source/CommandLine/BooleanOption.cs +++ b/tools/Sandcastle/Source/CommandLine/BooleanOption.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/CommandLine.csproj b/tools/Sandcastle/Source/CommandLine/CommandLine.csproj index fc69acb..84d6af1 100644 --- a/tools/Sandcastle/Source/CommandLine/CommandLine.csproj +++ b/tools/Sandcastle/Source/CommandLine/CommandLine.csproj @@ -70,6 +70,7 @@ <ItemGroup> <Compile Include="BooleanOption.cs" /> <Compile Include="ConsoleApplication.cs" /> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="ListOption.cs" /> <Compile Include="LogLevel.cs" /> <Compile Include="Option.cs" /> diff --git a/tools/Sandcastle/Source/CommandLine/CommandLine.csproj.vspscc b/tools/Sandcastle/Source/CommandLine/CommandLine.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/CommandLine/CommandLine.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/CommandLine/ConsoleApplication.cs b/tools/Sandcastle/Source/CommandLine/ConsoleApplication.cs index b1b653e..17df3c7 100644 --- a/tools/Sandcastle/Source/CommandLine/ConsoleApplication.cs +++ b/tools/Sandcastle/Source/CommandLine/ConsoleApplication.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/GlobalSuppressions.cs b/tools/Sandcastle/Source/CommandLine/GlobalSuppressions.cs new file mode 100644 index 0000000..ee0c048 --- /dev/null +++ b/tools/Sandcastle/Source/CommandLine/GlobalSuppressions.cs @@ -0,0 +1,29 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ddue", Scope = "namespace", Target = "Microsoft.Ddue.Tools.CommandLine")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1050:DeclareTypesInNamespaces", Scope = "type", Target = "OutputWriter")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.Option.#present")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.Option.#value")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes", MessageId = "System.Xml.XPath.XPathDocument", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.ConsoleApplication.#GetConfigurationFile()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes", MessageId = "System.Xml.XPath.XPathDocument", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.ConsoleApplication.#GetConfigurationFile(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1708:IdentifiersShouldDifferByMoreThanCase", Scope = "type", Target = "Microsoft.Ddue.Tools.CommandLine.Option")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Option", Scope = "type", Target = "Microsoft.Ddue.Tools.CommandLine.Option")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "value", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.Option.#Description")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "value", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.Option.#Name")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "value", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.Option.#IsRequired")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "0#", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.OptionCollection.#Add(Microsoft.Ddue.Tools.CommandLine.Option)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "0#", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.OptionCollection.#Remove(Microsoft.Ddue.Tools.CommandLine.Option)")] diff --git a/tools/Sandcastle/Source/CommandLine/ListOption.cs b/tools/Sandcastle/Source/CommandLine/ListOption.cs index bc04851..85ec160 100644 --- a/tools/Sandcastle/Source/CommandLine/ListOption.cs +++ b/tools/Sandcastle/Source/CommandLine/ListOption.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/LogLevel.cs b/tools/Sandcastle/Source/CommandLine/LogLevel.cs index 223796e..e1766ac 100644 --- a/tools/Sandcastle/Source/CommandLine/LogLevel.cs +++ b/tools/Sandcastle/Source/CommandLine/LogLevel.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/Makefile.org b/tools/Sandcastle/Source/CommandLine/Makefile.org deleted file mode 100644 index 66c5d2b..0000000 --- a/tools/Sandcastle/Source/CommandLine/Makefile.org +++ /dev/null @@ -1,12 +0,0 @@ -FILES = Assembly.cs OptionCollection.cs Options.cs ParseArgumentsResult.cs ParseResult.cs ConsoleApplication.cs - -CC = csc.exe - -all: TestOptions.exe Microsoft.Ddue.Tools.CommandLine.dll - -Microsoft.Ddue.Tools.CommandLine.dll: $(FILES) - $(CC) /t:library /out:Microsoft.Ddue.Tools.CommandLine.dll /keyfile:..\key.snk $(FILES) - copy Microsoft.Ddue.Tools.CommandLine.dll ..\..\ProductionTools - -TestOptions.exe: TestOptions.cs $(FILES) - $(CC) TestOptions.cs $(FILES) diff --git a/tools/Sandcastle/Source/CommandLine/Microsoft.Ddue.Tools.CommandLine.asmmeta b/tools/Sandcastle/Source/CommandLine/Microsoft.Ddue.Tools.CommandLine.asmmeta deleted file mode 100644 index 26db9b8..0000000 --- a/tools/Sandcastle/Source/CommandLine/Microsoft.Ddue.Tools.CommandLine.asmmeta +++ /dev/null @@ -1,379 +0,0 @@ -.assembly extern System.Xml -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly extern mscorlib -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly Microsoft.Ddue.Tools.CommandLine -{ - .custom instance void [mscorlib]System.Runtime.InteropServices.ComVisibleAttribute::.ctor(bool) = { bool(false) } - .publickey = (00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 EF 09 EE D7 93 0B 34 BA 88 83 E7 DB 9F 08 F5 DF A0 D9 F1 7A 97 8E 98 F3 99 03 36 B2 2A 75 D6 BB 2C 25 90 6C 4F 4E 5D 42 60 00 A9 22 00 A9 CE FE 3F 5E C4 22 BA 1E FF 47 7D C4 14 E7 52 C3 30 07 1C 66 1C 58 3F 28 48 0C 03 35 94 CE 5F A5 FC 44 94 D2 A4 42 95 E5 A3 3E AD B2 FD FF 45 13 77 FD BE 62 48 38 EF 02 BF 22 54 00 56 5D DB DA 10 D8 7E 77 F9 7F 9F 20 60 11 4B 49 3A 4D 62 FE C3 C3) - .hash algorithm 0x00008004 -} -.namespace Microsoft.Ddue.Tools.CommandLine -{ - .class public sealed BooleanOption - extends Microsoft.Ddue.Tools.CommandLine.Option - { - .method public hidebysig specialname - instance void .ctor(string name) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description) - { - ret - } - } - .class public abstract sealed ConsoleApplication - extends [mscorlib]System.Object - { - .method public static hidebysig - void WriteBanner() - { - ret - } - .method public static hidebysig - void WriteMessage(valuetype Microsoft.Ddue.Tools.CommandLine.LogLevel level, string message) - { - ret - } - .method public static hidebysig - class [System.Xml]System.Xml.XPath.XPathDocument GetConfigurationFile() - { - ret - } - .method public static hidebysig - class [System.Xml]System.Xml.XPath.XPathDocument GetConfigurationFile(string file) - { - ret - } - .method public static hidebysig - string[] GetFiles(string filePattern) - { - ret - } - } - .class public ListOption - extends Microsoft.Ddue.Tools.CommandLine.Option - { - .method public hidebysig specialname - instance void .ctor(string name) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description, string template) - { - ret - } - .method public virtual hidebysig specialname - instance object get_Value() - { - ret - } - .property instance object Value() - { - .get instance object Microsoft.Ddue.Tools.CommandLine.ListOption::get_Value() - } - } - .class public sealed LogLevel - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype Microsoft.Ddue.Tools.CommandLine.LogLevel Error = int32(0x00000002) - .field static public literal valuetype Microsoft.Ddue.Tools.CommandLine.LogLevel Info = int32(0x00000000) - .field static public literal valuetype Microsoft.Ddue.Tools.CommandLine.LogLevel Warn = int32(0x00000001) - } - .class public abstract Option - extends [mscorlib]System.Object - { - .method family hidebysig specialname - instance void .ctor(string name) - { - ret - } - .method family hidebysig specialname - instance void .ctor(string name, string description) - { - ret - } - .method family hidebysig specialname - instance void .ctor(string name, string description, bool required) - { - ret - } - .method public hidebysig specialname - instance string get_Name() - { - ret - } - .method public hidebysig specialname - instance void set_Name(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_Description() - { - ret - } - .method public hidebysig specialname - instance void set_Description(string 'value') - { - ret - } - .method public hidebysig specialname - instance bool get_IsRequired() - { - ret - } - .method public hidebysig specialname - instance void set_IsRequired(bool 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsPresent() - { - ret - } - .method public virtual hidebysig newslot specialname - instance object get_Value() - { - ret - } - .field family bool present - .field family object 'value' - .property instance string Description() - { - .get instance string Microsoft.Ddue.Tools.CommandLine.Option::get_Description() - .set instance void Microsoft.Ddue.Tools.CommandLine.Option::set_Description(string) - } - .property instance bool IsPresent() - { - .get instance bool Microsoft.Ddue.Tools.CommandLine.Option::get_IsPresent() - } - .property instance bool IsRequired() - { - .get instance bool Microsoft.Ddue.Tools.CommandLine.Option::get_IsRequired() - .set instance void Microsoft.Ddue.Tools.CommandLine.Option::set_IsRequired(bool) - } - .property instance string Name() - { - .get instance string Microsoft.Ddue.Tools.CommandLine.Option::get_Name() - .set instance void Microsoft.Ddue.Tools.CommandLine.Option::set_Name(string) - } - .property instance object Value() - { - .get instance object Microsoft.Ddue.Tools.CommandLine.Option::get_Value() - } - } - .class public sealed OptionCollection - extends [mscorlib]System.Object - implements class [mscorlib]'System.Collections.Generic.ICollection`1'<class Microsoft.Ddue.Tools.CommandLine.Option>, [mscorlib]System.Collections.ICollection, class [mscorlib]'System.Collections.Generic.IEnumerable`1'<class Microsoft.Ddue.Tools.CommandLine.Option>, [mscorlib]System.Collections.IEnumerable - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .method public hidebysig specialname - instance class Microsoft.Ddue.Tools.CommandLine.Option get_Item(string name) - { - ret - } - .method public final virtual hidebysig newslot specialname - instance int32 get_Count() - { - ret - } - .method public final virtual hidebysig newslot - instance void Add(class Microsoft.Ddue.Tools.CommandLine.Option option) - { - ret - } - .method public final virtual hidebysig newslot - instance bool Remove(class Microsoft.Ddue.Tools.CommandLine.Option option) - { - ret - } - .method public final virtual hidebysig newslot - instance void Clear() - { - ret - } - .method private final virtual hidebysig newslot specialname - instance bool 'System.Collections.Generic.ICollection<Microsoft.Ddue.Tools.CommandLine.Option>.get_IsReadOnly'() - { - .override method instance bool class [mscorlib]'System.Collections.Generic.ICollection`1'<class Microsoft.Ddue.Tools.CommandLine.Option>::get_IsReadOnly() - ret - } - .method private final virtual hidebysig newslot - instance bool 'System.Collections.Generic.ICollection<Microsoft.Ddue.Tools.CommandLine.Option>.Contains'(class Microsoft.Ddue.Tools.CommandLine.Option option) - { - .override method instance bool class [mscorlib]'System.Collections.Generic.ICollection`1'<class Microsoft.Ddue.Tools.CommandLine.Option>::Contains(!0) - ret - } - .method private final virtual hidebysig newslot - instance void 'System.Collections.Generic.ICollection<Microsoft.Ddue.Tools.CommandLine.Option>.CopyTo'(class Microsoft.Ddue.Tools.CommandLine.Option[] 'array', int32 startIndex) - { - .override method instance void class [mscorlib]'System.Collections.Generic.ICollection`1'<class Microsoft.Ddue.Tools.CommandLine.Option>::CopyTo(!0[], int32) - ret - } - .method private final virtual hidebysig newslot specialname - instance bool System.Collections.ICollection.get_IsSynchronized() - { - .override [mscorlib]System.Collections.ICollection::get_IsSynchronized - ret - } - .method private final virtual hidebysig newslot specialname - instance object System.Collections.ICollection.get_SyncRoot() - { - .override [mscorlib]System.Collections.ICollection::get_SyncRoot - ret - } - .method private final virtual hidebysig newslot - instance void System.Collections.ICollection.CopyTo(class [mscorlib]System.Array 'array', int32 startIndex) - { - .override [mscorlib]System.Collections.ICollection::CopyTo - ret - } - .method private final virtual hidebysig newslot - instance class [mscorlib]'System.Collections.Generic.IEnumerator`1'<class Microsoft.Ddue.Tools.CommandLine.Option> 'System.Collections.Generic.IEnumerable<Microsoft.Ddue.Tools.CommandLine.Option>.GetEnumerator'() - { - .override method instance class [mscorlib]'System.Collections.Generic.IEnumerator`1'<!0> class [mscorlib]'System.Collections.Generic.IEnumerable`1'<class Microsoft.Ddue.Tools.CommandLine.Option>::GetEnumerator() - ret - } - .method private final virtual hidebysig newslot - instance class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() - { - .override [mscorlib]System.Collections.IEnumerable::GetEnumerator - ret - } - .method public hidebysig - instance void WriteOptionSummary(class [mscorlib]'System.IO.TextWriter' writer) - { - ret - } - .method public hidebysig - instance class Microsoft.Ddue.Tools.CommandLine.ParseArgumentsResult ParseArguments(string[] args) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance int32 Count() - { - .get instance int32 Microsoft.Ddue.Tools.CommandLine.OptionCollection::get_Count() - } - .property instance class Microsoft.Ddue.Tools.CommandLine.Option Item(string) - { - .get instance class Microsoft.Ddue.Tools.CommandLine.Option Microsoft.Ddue.Tools.CommandLine.OptionCollection::get_Item(string) - } - .property instance bool 'System.Collections.Generic.ICollection<Microsoft.Ddue.Tools.CommandLine.Option>.IsReadOnly'() - { - .get instance bool Microsoft.Ddue.Tools.CommandLine.OptionCollection::'System.Collections.Generic.ICollection<Microsoft.Ddue.Tools.CommandLine.Option>.get_IsReadOnly'() - } - .property instance bool System.Collections.ICollection.IsSynchronized() - { - .get instance bool Microsoft.Ddue.Tools.CommandLine.OptionCollection::System.Collections.ICollection.get_IsSynchronized() - } - .property instance object System.Collections.ICollection.SyncRoot() - { - .get instance object Microsoft.Ddue.Tools.CommandLine.OptionCollection::System.Collections.ICollection.get_SyncRoot() - } - } - .class public sealed ParseArgumentsResult - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance class Microsoft.Ddue.Tools.CommandLine.OptionCollection get_Options() - { - ret - } - .method public hidebysig specialname - instance class [mscorlib]'System.Collections.ObjectModel.ReadOnlyCollection`1'<string> get_UnusedArguments() - { - ret - } - .method public hidebysig specialname - instance bool get_Success() - { - ret - } - .method public hidebysig - instance void WriteParseErrors(class [mscorlib]'System.IO.TextWriter' writer) - { - ret - } - .property instance class Microsoft.Ddue.Tools.CommandLine.OptionCollection Options() - { - .get instance class Microsoft.Ddue.Tools.CommandLine.OptionCollection Microsoft.Ddue.Tools.CommandLine.ParseArgumentsResult::get_Options() - } - .property instance bool Success() - { - .get instance bool Microsoft.Ddue.Tools.CommandLine.ParseArgumentsResult::get_Success() - } - .property instance class [mscorlib]'System.Collections.ObjectModel.ReadOnlyCollection`1'<string> UnusedArguments() - { - .get instance class [mscorlib]'System.Collections.ObjectModel.ReadOnlyCollection`1'<string> Microsoft.Ddue.Tools.CommandLine.ParseArgumentsResult::get_UnusedArguments() - } - } - .class public sealed StringOption - extends Microsoft.Ddue.Tools.CommandLine.Option - { - .method public hidebysig specialname - instance void .ctor(string name) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description, string template) - { - ret - } - .method public hidebysig specialname - instance string get_Template() - { - ret - } - .method public hidebysig specialname - instance void set_Template(string 'value') - { - ret - } - .property instance string Template() - { - .get instance string Microsoft.Ddue.Tools.CommandLine.StringOption::get_Template() - .set instance void Microsoft.Ddue.Tools.CommandLine.StringOption::set_Template(string) - } - } - .class public sealed SwitchOption - extends Microsoft.Ddue.Tools.CommandLine.Option - { - .method public hidebysig specialname - instance void .ctor(string name) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description) - { - ret - } - } -} - diff --git a/tools/Sandcastle/Source/CommandLine/Option.cs b/tools/Sandcastle/Source/CommandLine/Option.cs index fb9ed00..6ca902d 100644 --- a/tools/Sandcastle/Source/CommandLine/Option.cs +++ b/tools/Sandcastle/Source/CommandLine/Option.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; @@ -12,6 +14,7 @@ namespace Microsoft.Ddue.Tools.CommandLine { internal bool processed; protected bool present; + [CLSCompliant(false)] protected object value; private string description; diff --git a/tools/Sandcastle/Source/CommandLine/OptionCollection.cs b/tools/Sandcastle/Source/CommandLine/OptionCollection.cs index 7e80441..882a673 100644 --- a/tools/Sandcastle/Source/CommandLine/OptionCollection.cs +++ b/tools/Sandcastle/Source/CommandLine/OptionCollection.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/OutputWriter.cs b/tools/Sandcastle/Source/CommandLine/OutputWriter.cs index f6aeeca..c98efd5 100644 --- a/tools/Sandcastle/Source/CommandLine/OutputWriter.cs +++ b/tools/Sandcastle/Source/CommandLine/OutputWriter.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; diff --git a/tools/Sandcastle/Source/CommandLine/ParseArgumentsResult.cs b/tools/Sandcastle/Source/CommandLine/ParseArgumentsResult.cs index bc7835a..fc7fab6 100644 --- a/tools/Sandcastle/Source/CommandLine/ParseArgumentsResult.cs +++ b/tools/Sandcastle/Source/CommandLine/ParseArgumentsResult.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/ParseResult.cs b/tools/Sandcastle/Source/CommandLine/ParseResult.cs index cfdd108..6129310 100644 --- a/tools/Sandcastle/Source/CommandLine/ParseResult.cs +++ b/tools/Sandcastle/Source/CommandLine/ParseResult.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. namespace Microsoft.Ddue.Tools.CommandLine { diff --git a/tools/Sandcastle/Source/CommandLine/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/CommandLine/Properties/AssemblyInfo.cs index 6675118..cd3d1c8 100644 --- a/tools/Sandcastle/Source/CommandLine/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/CommandLine/Properties/AssemblyInfo.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System.Reflection; using System.Runtime.CompilerServices; @@ -17,6 +19,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: System.CLSCompliant(true)] + // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -34,5 +38,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/CommandLine/StringOption.cs b/tools/Sandcastle/Source/CommandLine/StringOption.cs index 4680a56..e9beb95 100644 --- a/tools/Sandcastle/Source/CommandLine/StringOption.cs +++ b/tools/Sandcastle/Source/CommandLine/StringOption.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/SwitchOption.cs b/tools/Sandcastle/Source/CommandLine/SwitchOption.cs index daf6877..394d137 100644 --- a/tools/Sandcastle/Source/CommandLine/SwitchOption.cs +++ b/tools/Sandcastle/Source/CommandLine/SwitchOption.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/makefile b/tools/Sandcastle/Source/CommandLine/makefile deleted file mode 100644 index 5acbbd2..0000000 --- a/tools/Sandcastle/Source/CommandLine/makefile +++ /dev/null @@ -1 +0,0 @@ -!INCLUDE $(NTMAKEENV)\makefile.def diff --git a/tools/Sandcastle/Source/CommandLine/makefile.inc b/tools/Sandcastle/Source/CommandLine/makefile.inc deleted file mode 100644 index 32f7350..0000000 --- a/tools/Sandcastle/Source/CommandLine/makefile.inc +++ /dev/null @@ -1,2 +0,0 @@ -!INCLUDE $(INETROOT)\build\makefile.inc - diff --git a/tools/Sandcastle/Source/CommandLine/placefile b/tools/Sandcastle/Source/CommandLine/placefile deleted file mode 100644 index 9c28e38..0000000 --- a/tools/Sandcastle/Source/CommandLine/placefile +++ /dev/null @@ -1 +0,0 @@ -Microsoft.Ddue.Tools.CommandLine.dll Manifold diff --git a/tools/Sandcastle/Source/DBCSFix/CommandLine.dll b/tools/Sandcastle/Source/DBCSFix/CommandLine.dll Binary files differdeleted file mode 100644 index 9a2d6f4..0000000 --- a/tools/Sandcastle/Source/DBCSFix/CommandLine.dll +++ /dev/null diff --git a/tools/Sandcastle/Source/DBCSFix/DBCSFix.csproj b/tools/Sandcastle/Source/DBCSFix/DBCSFix.csproj index ddf9181..26b7d78 100644 --- a/tools/Sandcastle/Source/DBCSFix/DBCSFix.csproj +++ b/tools/Sandcastle/Source/DBCSFix/DBCSFix.csproj @@ -46,6 +46,7 @@ <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="Program.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\Settings.Designer.cs"> diff --git a/tools/Sandcastle/Source/DBCSFix/DBCSFix.csproj.vspscc b/tools/Sandcastle/Source/DBCSFix/DBCSFix.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/DBCSFix/DBCSFix.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/DBCSFix/GlobalSuppressions.cs b/tools/Sandcastle/Source/DBCSFix/GlobalSuppressions.cs new file mode 100644 index 0000000..951acfd --- /dev/null +++ b/tools/Sandcastle/Source/DBCSFix/GlobalSuppressions.cs @@ -0,0 +1,16 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] diff --git a/tools/Sandcastle/Source/DBCSFix/Program.cs b/tools/Sandcastle/Source/DBCSFix/Program.cs index b463860..515da50 100644 --- a/tools/Sandcastle/Source/DBCSFix/Program.cs +++ b/tools/Sandcastle/Source/DBCSFix/Program.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using Microsoft.Ddue.Tools.CommandLine; using System; diff --git a/tools/Sandcastle/Source/DBCSFix/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/DBCSFix/Properties/AssemblyInfo.cs index 3a1b021..ae06688 100644 --- a/tools/Sandcastle/Source/DBCSFix/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/DBCSFix/Properties/AssemblyInfo.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System.Reflection; using System.Runtime.InteropServices; @@ -31,5 +33,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/DBCSFix/Settings.cs b/tools/Sandcastle/Source/DBCSFix/Settings.cs index 41dd40a..f2ad7ea 100644 --- a/tools/Sandcastle/Source/DBCSFix/Settings.cs +++ b/tools/Sandcastle/Source/DBCSFix/Settings.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. namespace DBCSFix.Properties { diff --git a/tools/Sandcastle/Source/MRefBuilder/ExtensionMethodAddIn.cs b/tools/Sandcastle/Source/MRefBuilder/ExtensionMethodAddIn.cs index 9a6115f..f935921 100644 --- a/tools/Sandcastle/Source/MRefBuilder/ExtensionMethodAddIn.cs +++ b/tools/Sandcastle/Source/MRefBuilder/ExtensionMethodAddIn.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.Collections.Generic; @@ -29,40 +31,74 @@ namespace Microsoft.Ddue.Tools { reflector.RegisterStartTagCallback("apidata", new MRefBuilderCallback(AddExtensionSubsubgroup)); } - private void AddExtensionMethod(XmlWriter writer, TypeNode type, Method extensionMethodTemplate, TypeNode specialization) { - - // Construct the extension method for naming + /// <summary> + /// + /// </summary> + /// <param name="writer"></param> + /// <param name="type">the current type being extended</param> + /// <param name="extensionMethodTemplate">A reference to the extension method. For generic methods, this is a reference to the + /// non-specialized method, e.g. System.Linq.Enumerable.Select``2. + /// </param> + /// <param name="specialization">When the current type implements or inherits from a specialization of a generic type, + /// this parameter has a TypeNode for the type used as apecialization of the generic type's first template param. + /// </param> + private void AddExtensionMethod(XmlWriter writer, TypeNode type, Method extensionMethodTemplate, TypeNode specialization) + { + // If this is a specialization of a generic method, construct a Method object that describes the specialization Method extensionMethodTemplate2 = extensionMethodTemplate; - if (extensionMethodTemplate2.IsGeneric && (specialization != null)) extensionMethodTemplate2 = extensionMethodTemplate.GetTemplateInstance(type, specialization); + if (extensionMethodTemplate2.IsGeneric && (specialization != null)) + { + // the specialization type is the first of the method's template arguments + TypeNodeList templateArgs = new TypeNodeList(); + templateArgs.Add(specialization); + // add any additional template arguments + for (int i = 1; i < extensionMethodTemplate.TemplateParameters.Count; i++) + templateArgs.Add(extensionMethodTemplate.TemplateParameters[i]); + extensionMethodTemplate2 = extensionMethodTemplate.GetTemplateInstance(type, templateArgs); + } TypeNode extensionMethodTemplateReturnType = extensionMethodTemplate2.ReturnType; ParameterList extensionMethodTemplateParameters = extensionMethodTemplate2.Parameters; ParameterList extensionMethodParameters = new ParameterList(); - for (int i = 1; i < extensionMethodTemplateParameters.Length; i++) { + for (int i = 1; i < extensionMethodTemplateParameters.Count; i++) + { Parameter extensionMethodParameter = extensionMethodTemplateParameters[i]; extensionMethodParameters.Add(extensionMethodParameter); } Method extensionMethod = new Method(extensionMethodTemplate.DeclaringType, new AttributeList(), extensionMethodTemplate.Name, extensionMethodParameters, extensionMethodTemplate.ReturnType, null); extensionMethod.Flags = extensionMethodTemplate.Flags & ~MethodFlags.Static; - //Method specializedMethod == extensionMethod.Get + // for generic methods, set the template args and params so the template data is included in the id and the method data + if (extensionMethodTemplate2.IsGeneric) + { + extensionMethod.IsGeneric = true; + if (specialization != null) + { + // set the template args for the specialized generic method + extensionMethod.TemplateArguments = extensionMethodTemplate2.TemplateArguments; + } + else + { + // set the generic template params for the non-specialized generic method + extensionMethod.TemplateParameters = extensionMethodTemplate2.TemplateParameters; + } + } - // Get the names - string extensionMethodId = reflector.ApiNamer.GetMemberName(extensionMethod); + // Get the id string extensionMethodTemplateId = reflector.ApiNamer.GetMemberName(extensionMethodTemplate); + // write the element node writer.WriteStartElement("element"); writer.WriteAttributeString("api", extensionMethodTemplateId); - writer.WriteAttributeString("display-api", extensionMethodId); writer.WriteAttributeString("source", "extension"); isExtensionMethod = true; reflector.WriteMember(extensionMethod); isExtensionMethod = false; writer.WriteEndElement(); - } - private void AddExtensionMethods(XmlWriter writer, Object info) { + private void AddExtensionMethods(XmlWriter writer, Object info) + { MemberDictionary members = info as MemberDictionary; if (members == null) return; @@ -70,18 +106,27 @@ namespace Microsoft.Ddue.Tools { TypeNode type = members.Type; InterfaceList contracts = type.Interfaces; - foreach (Interface contract in contracts) { - List < Method > extensionMethods = null; - if (index.TryGetValue(contract, out extensionMethods)) { - foreach (Method extensionMethod in extensionMethods) AddExtensionMethod(writer, type, extensionMethod, null); + foreach (Interface contract in contracts) + { + List<Method> extensionMethods = null; + if (index.TryGetValue(contract, out extensionMethods)) + { + foreach (Method extensionMethod in extensionMethods) + if (!IsExtensionMethodHidden(extensionMethod, members)) + AddExtensionMethod(writer, type, extensionMethod, null); } - if (contract.IsGeneric && (contract.TemplateArguments != null) && (contract.TemplateArguments.Length > 0)) { + if (contract.IsGeneric && (contract.TemplateArguments != null) && (contract.TemplateArguments.Count > 0)) + { Interface templateContract = (Interface)ReflectionUtilities.GetTemplateType(contract); TypeNode specialization = contract.TemplateArguments[0]; - if (index.TryGetValue(templateContract, out extensionMethods)) { - foreach (Method extensionMethod in extensionMethods) { - if (IsValidTemplateArgument(specialization, extensionMethod.TemplateParameters[0])) { - AddExtensionMethod(writer, type, extensionMethod, specialization); + if (index.TryGetValue(templateContract, out extensionMethods)) + { + foreach (Method extensionMethod in extensionMethods) + { + if (IsValidTemplateArgument(specialization, extensionMethod.TemplateParameters[0])) + { + if (!IsExtensionMethodHidden(extensionMethod, members)) + AddExtensionMethod(writer, type, extensionMethod, specialization); } } } @@ -89,18 +134,27 @@ namespace Microsoft.Ddue.Tools { } TypeNode comparisonType = type; - while (comparisonType != null) { - List < Method > extensionMethods = null; - if (index.TryGetValue(comparisonType, out extensionMethods)) { - foreach (Method extensionMethod in extensionMethods) AddExtensionMethod(writer, type, extensionMethod, null); + while (comparisonType != null) + { + List<Method> extensionMethods = null; + if (index.TryGetValue(comparisonType, out extensionMethods)) + { + foreach (Method extensionMethod in extensionMethods) + if (!IsExtensionMethodHidden(extensionMethod, members)) + AddExtensionMethod(writer, type, extensionMethod, null); } - if (comparisonType.IsGeneric && (comparisonType.TemplateArguments != null) && (comparisonType.TemplateArguments.Length > 0)) { + if (comparisonType.IsGeneric && (comparisonType.TemplateArguments != null) && (comparisonType.TemplateArguments.Count > 0)) + { TypeNode templateType = ReflectionUtilities.GetTemplateType(comparisonType); TypeNode specialization = comparisonType.TemplateArguments[0]; - if (index.TryGetValue(templateType, out extensionMethods)) { - foreach (Method extensionMethod in extensionMethods) { - if (IsValidTemplateArgument(specialization, extensionMethod.TemplateParameters[0])) { - AddExtensionMethod(writer, type, extensionMethod, specialization); + if (index.TryGetValue(templateType, out extensionMethods)) + { + foreach (Method extensionMethod in extensionMethods) + { + if (IsValidTemplateArgument(specialization, extensionMethod.TemplateParameters[0])) + { + if (!IsExtensionMethodHidden(extensionMethod, members)) + AddExtensionMethod(writer, type, extensionMethod, specialization); } } } @@ -128,7 +182,7 @@ namespace Microsoft.Ddue.Tools { // check that the parameter really is a type parameter ITypeParameter itp = parameter as ITypeParameter; - if (itp == null) throw new ArgumentException("parameter"); + if (itp == null) throw new ArgumentException("The 'parameter' argument is null or not an 'ITypeParameter'."); // test constraints @@ -157,16 +211,20 @@ namespace Microsoft.Ddue.Tools { } - private void RecordExtensionMethods(XmlWriter writer, Object info) { + private void RecordExtensionMethods(XmlWriter writer, Object info) + { NamespaceList spaces = (NamespaceList)info; - foreach (Namespace space in spaces) { + foreach (Namespace space in spaces) + { TypeNodeList types = space.Types; - foreach (TypeNode type in types) { + foreach (TypeNode type in types) + { MemberList members = type.Members; - // go through the members, looking for fields signaling attached properties - foreach (Member member in members) { + // go through the members, looking for fields signaling extension methods + foreach (Member member in members) + { Method method = member as Method; if (method == null) continue; @@ -178,40 +236,93 @@ namespace Microsoft.Ddue.Tools { ParameterList parameters = method.Parameters; TypeNode extendedType = parameters[0].Type; - // recognize Method<T>(Type<T>, ...) extension methods - if (method.IsGeneric && (method.TemplateParameters.Length == 1)) { - if (extendedType.IsGeneric && (extendedType.TemplateArguments != null) && (extendedType.TemplateArguments.Length == 1)) { + // recognize generic extension methods where the extended type is a specialization of a generic type, + // and the extended type's specialized template arg is a type parameter declared by the generic extension method + // In this case, we need to save a TypeNode for the non-specialized type in the index, + // because a TypeNode for the specialized type won't match correctly in AddExtensionMethods + // Note: we are not interested in extended types that are specialized by a specific type rather than by the extension method's template param. + if (method.IsGeneric && (method.TemplateParameters.Count > 0)) + { + if (extendedType.IsGeneric && (extendedType.TemplateArguments != null) && (extendedType.TemplateArguments.Count == 1)) + { + // is the extended type's template arg a template parameter, rather than a specialized type? TypeNode arg = extendedType.TemplateArguments[0]; - if (arg.IsTemplateParameter) { + if (arg.IsTemplateParameter) + { + // is the template parameter declared on the extension method ITypeParameter gtp = (ITypeParameter)arg; - if ((gtp.DeclaringMember == method) && (gtp.ParameterListIndex == 0)) { + if ((gtp.DeclaringMember == method) && (gtp.ParameterListIndex == 0)) + { + // get a TypeNode for the non-specialized type extendedType = ReflectionUtilities.GetTemplateType(extendedType); } } } } - List < Method > methods = null; - if (!index.TryGetValue(extendedType, out methods)) { - methods = new List < Method >(); + List<Method> methods = null; + if (!index.TryGetValue(extendedType, out methods)) + { + methods = new List<Method>(); index.Add(extendedType, methods); } - methods.Add(method); } } } + } + + /// <summary> + /// Determines whether an extension method is hidden by a member that's already defined on the type being extended. + /// The extension method is hidden if it has the same name, template params, and parameters as a defined method. + /// </summary> + /// <param name="extensionMethod">The extension method to compare.</param> + /// <param name="members">A dictionary of the members defined on the type being extended.</param> + /// <returns></returns> + private bool IsExtensionMethodHidden(Method extensionMethod, MemberDictionary members) + { + if (!members.MemberNames.Contains(extensionMethod.Name.Name)) + return false; + + // get a list of members with the same name as the extension method + List<Member> membersList = members[extensionMethod.Name.Name]; + foreach (Member member in membersList) + { + // the hiding member must be a method + if (member.NodeType != NodeType.Method) + continue; + Method method = (Method)member; + + // do the generic template parameters of both methods match? + if (!method.TemplateParametersMatch(extensionMethod.TemplateParameters)) + continue; + + // do both methods have the same number of parameters? + // (not counting the extension method's first param, which identifies the extended type) + if (method.Parameters.Count != (extensionMethod.Parameters.Count - 1)) + continue; + + // do the parameter types of both methods match? + if (DoParameterTypesMatch(extensionMethod.Parameters, method.Parameters)) + return true; + } + return false; + } - /* - Console.WriteLine("Recorded {0} extension methods", index.Count); - foreach (TypeNode type in index.Keys) { - Console.WriteLine(type.FullName); + private bool DoParameterTypesMatch(ParameterList extensionParams, ParameterList methodParams) + { + for (int i = 0; i < methodParams.Count; i++) + { + if (methodParams[i].Type.FullName != extensionParams[i + 1].Type.FullName) + return false; } - */ + return true; } + + } } diff --git a/tools/Sandcastle/Source/MRefBuilder/GlobalSuppressions.cs b/tools/Sandcastle/Source/MRefBuilder/GlobalSuppressions.cs new file mode 100644 index 0000000..dcd54ad --- /dev/null +++ b/tools/Sandcastle/Source/MRefBuilder/GlobalSuppressions.cs @@ -0,0 +1,81 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ddue", Scope = "namespace", Target = "Microsoft.Ddue.Tools")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Mref")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Namer", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#ApiNamer")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "namer", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#.ctor(System.IO.TextWriter,Microsoft.Ddue.Tools.Reflection.ApiFilter,Microsoft.Ddue.Tools.Reflection.ApiNamer)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "namer", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#.ctor(System.IO.TextWriter,Microsoft.Ddue.Tools.Reflection.ApiNamer)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Scope = "type", Target = "Microsoft.Ddue.Tools.MemberDictionary")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix", Scope = "type", Target = "Microsoft.Ddue.Tools.MemberDictionary")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#Type")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "0#", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#Contains(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "1#", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#CopyTo(System.Compiler.Member[],System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "0#", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#Remove(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt64(System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#GetAppliedFields(System.Compiler.EnumNode,System.Int64)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToInt64(System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteLiteral(System.Compiler.Literal,System.Boolean)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Int32.ToString", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteStartTypeReference(System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#GetVisibility(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteEventData(System.Compiler.Event)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WritePropertyData(System.Compiler.Property)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilder.#Main(System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilder.#Main(System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilder.#AssemblyNotFound(System.Compiler.AssemblyReference,System.Compiler.Module)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilder.#Main(System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilder.#UnresolvedAssemblyReferenceHandler(System.Object,Microsoft.Ddue.Tools.Reflection.AssemblyReferenceEventArgs)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.LastIndexOf(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteApiData(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.StartsWith(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteApiData(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.EndsWith(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlAttachedMembersAddIn.#AddAttachedMembers(System.Xml.XmlWriter,System.Object)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "index", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#CopyTo(System.Compiler.Member[],System.Int32)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilder.#Main(System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlAttachedMembersAddIn.#AddAttachedMembers(System.Xml.XmlWriter,System.Object)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilder.#Main(System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#AllMembers")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#Item[System.String]")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "extensionMethodTemplateReturnType", Scope = "member", Target = "Microsoft.Ddue.Tools.ExtensionMethodAddIn.#AddExtensionMethod(System.Xml.XmlWriter,System.Compiler.TypeNode,System.Compiler.Method,System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "constructor", Scope = "member", Target = "Microsoft.Ddue.Tools.ExtensionMethodAddIn.#IsValidTemplateArgument(System.Compiler.TypeNode,System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.ExtensionMethodAddIn.#.ctor(Microsoft.Ddue.Tools.ManagedReflectionWriter,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ExtensionMethodAddIn.#HasExtensionAttribute(System.Compiler.Method)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ExtensionMethodAddIn.#IsValidTemplateArgument(System.Compiler.TypeNode,System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "isSealed", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#.ctor(System.Compiler.TypeNode,Microsoft.Ddue.Tools.Reflection.ApiFilter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#System.Collections.Generic.ICollection`1<System.Compiler.Member>.Add(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#System.Collections.Generic.ICollection`1<System.Compiler.Member>.IsReadOnly")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#System.Collections.IEnumerable.GetEnumerator()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Microsoft.Ddue.Tools.MemberDictionary.#System.Collections.Generic.IEnumerable`1<System.Compiler.Member>.GetEnumerator()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1053:StaticHolderTypesShouldNotHaveConstructors", Scope = "type", Target = "Microsoft.Ddue.Tools.MRefBuilder")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilder.#AssemblyNotFound(System.Compiler.AssemblyReference,System.Compiler.Module)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2001:AvoidCallingProblematicMethods", MessageId = "System.Reflection.Assembly.LoadFrom", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilder.#Main(System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "addin", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilder.#Main(System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "configuration", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilderAddIn.#.ctor(Microsoft.Ddue.Tools.ManagedReflectionWriter,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "writer", Scope = "member", Target = "Microsoft.Ddue.Tools.MRefBuilderAddIn.#.ctor(Microsoft.Ddue.Tools.ManagedReflectionWriter,System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#GetParamArrayAttribute(System.Compiler.Parameter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#Members")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#Types")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#Namespaces")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteApiData(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteAssignment(System.Compiler.NamedArgument)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "type", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteAttributes(System.Compiler.AttributeList,System.Compiler.SecurityAttributeList)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteMember(System.Compiler.Member,System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "member", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteMemberContainers(System.Compiler.Member,System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteNamespaces(System.Compiler.NamespaceList)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "spaces", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteNamespaces(System.Compiler.NamespaceList)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.ManagedReflectionWriter.#WriteStartTypeReference(System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.DxCoach.ResourceHelper.#GetStream(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.DxCoach.ResourceHelper.#GetString(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlAttachedMembersAddIn.#GetContentProperty(System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlAttachedMembersAddIn.#GetContentProperty(System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "type", Scope = "member", Target = "Microsoft.Ddue.Tools.XamlAttachedMembersAddIn.#GetContentProperty(System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.ExtensionMethodAddIn.#DoParameterTypesMatch(System.Compiler.ParameterList,System.Compiler.ParameterList)")] diff --git a/tools/Sandcastle/Source/MRefBuilder/MRefBuilder.cs b/tools/Sandcastle/Source/MRefBuilder/MRefBuilder.cs index 79207ac..895d799 100644 --- a/tools/Sandcastle/Source/MRefBuilder/MRefBuilder.cs +++ b/tools/Sandcastle/Source/MRefBuilder/MRefBuilder.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.Collections.Generic; diff --git a/tools/Sandcastle/Source/MRefBuilder/MRefBuilder.csproj b/tools/Sandcastle/Source/MRefBuilder/MRefBuilder.csproj index 3970baa..b62e525 100644 --- a/tools/Sandcastle/Source/MRefBuilder/MRefBuilder.csproj +++ b/tools/Sandcastle/Source/MRefBuilder/MRefBuilder.csproj @@ -71,6 +71,7 @@ <Compile Include="ExtensionMethodAddIn.cs"> <SubType>Code</SubType> </Compile> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="MemberDictionary.cs" /> <Compile Include="MRefBuilder.cs" /> <Compile Include="MRefBuilderAddIn.cs" /> diff --git a/tools/Sandcastle/Source/MRefBuilder/MRefBuilder.csproj.vspscc b/tools/Sandcastle/Source/MRefBuilder/MRefBuilder.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/MRefBuilder/MRefBuilder.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/MRefBuilder/MRefBuilderAddIn.cs b/tools/Sandcastle/Source/MRefBuilder/MRefBuilderAddIn.cs index 2b7b378..975f900 100644 --- a/tools/Sandcastle/Source/MRefBuilder/MRefBuilderAddIn.cs +++ b/tools/Sandcastle/Source/MRefBuilder/MRefBuilderAddIn.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.Collections.Generic; diff --git a/tools/Sandcastle/Source/MRefBuilder/MRefBuilderCallback.cs b/tools/Sandcastle/Source/MRefBuilder/MRefBuilderCallback.cs index f451885..0331822 100644 --- a/tools/Sandcastle/Source/MRefBuilder/MRefBuilderCallback.cs +++ b/tools/Sandcastle/Source/MRefBuilder/MRefBuilderCallback.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.Collections.Generic; diff --git a/tools/Sandcastle/Source/MRefBuilder/MRefWriter.cs b/tools/Sandcastle/Source/MRefBuilder/MRefWriter.cs index 33eb324..33ff1dd 100644 --- a/tools/Sandcastle/Source/MRefBuilder/MRefWriter.cs +++ b/tools/Sandcastle/Source/MRefBuilder/MRefWriter.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.Collections.Generic; @@ -114,12 +116,13 @@ namespace Microsoft.Ddue.Tools { // disposal - public override void Dispose() { - writer.Close(); - base.Dispose(); + protected override void Dispose(bool disposing) { + if (disposing) { + writer.Close(); + } + base.Dispose(disposing); } - public void RegisterEndTagCallback(string name, MRefBuilderCallback callback) { List < MRefBuilderCallback > current; if (!endTagCallbacks.TryGetValue(name, out current)) { @@ -189,9 +192,9 @@ namespace Microsoft.Ddue.Tools { } // catalog type hierarchy and interface implementors - for (int i = 0; i < spaces.Length; i++) { + for (int i = 0; i < spaces.Count; i++) { TypeNodeList types = spaces[i].Types; - for (int j = 0; j < types.Length; j++) { + for (int j = 0; j < types.Count; j++) { TypeNode type = types[j]; if (ApiFilter.IsExposedType(type)) { if (type.NodeType == NodeType.Class) PopulateDescendentIndex(type); @@ -251,7 +254,7 @@ namespace Microsoft.Ddue.Tools { // WriteStringAttribute("type", namer.GetApiName(attribute.Type)); ExpressionList expressions = attribute.Expressions; - for (int j = 0; j < expressions.Length; j++) { + for (int j = 0; j < expressions.Count; j++) { WriteExpression(expressions[j]); } @@ -281,7 +284,7 @@ namespace Microsoft.Ddue.Tools { // otherwise return all fields that are in value FieldList list = new FieldList(); MemberList members = enumeration.Members; - for (int i = 0; i < members.Length; i++) { + for (int i = 0; i < members.Count; i++) { if (members[i].NodeType != NodeType.Field) continue; Field field = (Field)members[i]; if (field.DefaultValue == null) continue; @@ -350,18 +353,18 @@ namespace Microsoft.Ddue.Tools { if (attributes == null) Console.WriteLine("null attribute list"); if (securityAttributes == null) Console.WriteLine("null security attribute list"); List < AttributeNode > exposedAttributes = new List < AttributeNode >(); - for (int i = 0; i < attributes.Length; i++) { + for (int i = 0; i < attributes.Count; i++) { AttributeNode attribute = attributes[i]; if (attribute == null) Console.WriteLine("null attribute"); if (this.ApiFilter.IsExposedAttribute(attribute)) exposedAttributes.Add(attribute); } - for (int i = 0; i < securityAttributes.Length; i++) { + for (int i = 0; i < securityAttributes.Count; i++) { SecurityAttribute securityAttribute = securityAttributes[i]; if (securityAttribute == null) Console.WriteLine("null security attribute"); AttributeList permissionAttributes = securityAttribute.PermissionAttributes; //if (permissionAttributes == null) Console.WriteLine("null permission attribute list"); if (permissionAttributes == null) continue; - for (int j = 0; j < permissionAttributes.Length; j++) { + for (int j = 0; j < permissionAttributes.Count; j++) { AttributeNode permissionAttribute = permissionAttributes[j]; //if (permissionAttribute == null) Console.WriteLine("null permission attribute"); // saw an example where this was null; ildasm shows no permission attribute, so skip it @@ -384,7 +387,7 @@ namespace Microsoft.Ddue.Tools { private Interface[] GetExposedInterfaces(InterfaceList contracts) { List < Interface > exposedContracts = new List < Interface >(); - for (int i = 0; i < contracts.Length; i++) { + for (int i = 0; i < contracts.Count; i++) { Interface contract = contracts[i]; if (this.ApiFilter.IsExposedType(contract)) { // if generic, check whether specialization types are exposed @@ -644,7 +647,7 @@ namespace Microsoft.Ddue.Tools { if (handler != null) { ParameterList parameters = handler.Parameters; - if ((parameters != null) && (parameters.Length == 2) && (parameters[0].Type.FullName == "System.Object")) { + if ((parameters != null) && (parameters.Count == 2) && (parameters[0].Type.FullName == "System.Object")) { writer.WriteStartElement("eventargs"); WriteTypeReference(parameters[1].Type); writer.WriteEndElement(); @@ -663,7 +666,8 @@ namespace Microsoft.Ddue.Tools { writer.WriteEndElement(); } - private void WriteGenericParameter(TypeNode templateParameter) { + private void WriteGenericParameter(TypeNode templateParameter) + { ITypeParameter itp = (ITypeParameter)templateParameter; @@ -674,13 +678,16 @@ namespace Microsoft.Ddue.Tools { bool reference = ((itp.TypeParameterFlags & TypeParameterFlags.ReferenceTypeConstraint) > 0); bool value = ((itp.TypeParameterFlags & TypeParameterFlags.ValueTypeConstraint) > 0); bool constructor = ((itp.TypeParameterFlags & TypeParameterFlags.DefaultConstructorConstraint) > 0); + bool contravariant = ((itp.TypeParameterFlags & TypeParameterFlags.Contravariant) > 0); + bool covariant = ((itp.TypeParameterFlags & TypeParameterFlags.Covariant) > 0); InterfaceList interfaces = templateParameter.Interfaces; TypeNode parent = templateParameter.BaseType; // no need to show inheritance from ValueType if value flag is set if (value && (parent != null) && (parent.FullName == "System.ValueType")) parent = null; - if ((parent != null) || (interfaces.Length > 0) || reference || value || constructor) { + if ((parent != null) || (interfaces.Count > 0) || reference || value || constructor) + { writer.WriteStartElement("constrained"); if (reference) WriteBooleanAttribute("ref", true); if (value) WriteBooleanAttribute("value", true); @@ -689,17 +696,38 @@ namespace Microsoft.Ddue.Tools { WriteInterfaces(interfaces); writer.WriteEndElement(); } + if (covariant || contravariant) + { + writer.WriteStartElement("variance"); + if (contravariant) WriteBooleanAttribute("contravariant", true); + if (covariant) WriteBooleanAttribute("covariant", true); + writer.WriteEndElement(); + } writer.WriteEndElement(); } + private void WriteSpecializedTemplateArguments(TypeNodeList templateArguments) + { + if (templateArguments == null) return; + if (templateArguments.Count == 0) return; + writer.WriteStartElement("templates"); + for (int i = 0; i < templateArguments.Count; i++) + { + WriteTypeReference(templateArguments[i]); + } + writer.WriteEndElement(); + } + // Generic Parameters - private void WriteGenericParameters(TypeNodeList templateParameters) { + private void WriteGenericParameters(TypeNodeList templateParameters) + { if (templateParameters == null) return; - if (templateParameters.Length == 0) return; + if (templateParameters.Count == 0) return; writer.WriteStartElement("templates"); - for (int i = 0; i < templateParameters.Length; i++) { + for (int i = 0; i < templateParameters.Count; i++) + { WriteGenericParameter(templateParameters[i]); } writer.WriteEndElement(); @@ -801,7 +829,7 @@ namespace Microsoft.Ddue.Tools { EnumNode enumeration = (EnumNode)type; FieldList fields = GetAppliedFields(enumeration, Convert.ToInt64(value)); writer.WriteStartElement("enumValue"); - for (int i = 0; i < fields.Length; i++) { + for (int i = 0; i < fields.Count; i++) { writer.WriteStartElement("field"); writer.WriteAttributeString("name", fields[i].Name.Name); writer.WriteEndElement(); @@ -842,7 +870,13 @@ namespace Microsoft.Ddue.Tools { case NodeType.Method: Method method = (Method)member; WriteMethodData(method); - WriteGenericParameters(method.TemplateParameters); + + // write the templates node with either the generic template params or the specialized template arguments + if (method.TemplateArguments != null) + WriteSpecializedTemplateArguments(method.TemplateArguments); + else + WriteGenericParameters(method.TemplateParameters); + WriteParameters(method.Parameters); WriteValue(method.ReturnType); WriteImplementedMembers(ReflectionUtilities.GetImplementedMethods(method)); @@ -967,9 +1001,9 @@ namespace Microsoft.Ddue.Tools { // Parameters private void WriteParameters(ParameterList parameters) { - if (parameters.Length == 0) return; + if (parameters.Count == 0) return; writer.WriteStartElement("parameters"); - for (int i = 0; i < parameters.Length; i++) { + for (int i = 0; i < parameters.Count; i++) { WriteParameter(parameters[i]); } writer.WriteEndElement(); @@ -1094,10 +1128,10 @@ namespace Microsoft.Ddue.Tools { // record specialization TypeNodeList arguments = type.TemplateArguments; - if ((arguments != null) && (arguments.Length > 0)) { + if ((arguments != null) && (arguments.Count > 0)) { writer.WriteStartElement("specialization"); // writer.WriteAttributeString("of", namer.GetTypeName(currentTemplate)); - for (int i = 0; i < arguments.Length; i++) { + for (int i = 0; i < arguments.Count; i++) { WriteTypeReference(arguments[i]); } writer.WriteEndElement(); diff --git a/tools/Sandcastle/Source/MRefBuilder/Makefile.org b/tools/Sandcastle/Source/MRefBuilder/Makefile.org deleted file mode 100644 index 63ba92d..0000000 --- a/tools/Sandcastle/Source/MRefBuilder/Makefile.org +++ /dev/null @@ -1,20 +0,0 @@ -CCI = ..\CCI\System.Compiler.dll -COMMANDS = ..\CommandLine\Microsoft.Ddue.Tools.CommandLine.dll -REFLECTION = ..\Reflection\Microsoft.Ddue.Tools.Reflection.dll - -SOURCES = MRefWriter.cs MRefBuilder.cs MemberDictionary.cs - -#CC = C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe -CC = csc.exe - -all: MRefBuilder.exe - -TextStrings.resources: TextStrings.txt - ResGen.exe TextStrings.txt - -MRefBuilder.exe: $(CCI) $(COMMANDS) $(REFLECTION) $(SOURCES) TextStrings.resources - $(CC) /out:MRefBuilder.exe $(SOURCES) /r:$(CCI) /r:$(COMMANDS) /r:$(REFLECTION) /res:TextStrings.resources - copy MRefBuilder.exe ..\..\ProductionTools - copy $(CCI) . - copy $(COMMANDS) . - copy $(REFLECTION) . diff --git a/tools/Sandcastle/Source/MRefBuilder/MemberDictionary.cs b/tools/Sandcastle/Source/MRefBuilder/MemberDictionary.cs index 80f6357..4c40c54 100644 --- a/tools/Sandcastle/Source/MRefBuilder/MemberDictionary.cs +++ b/tools/Sandcastle/Source/MRefBuilder/MemberDictionary.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.Collections; @@ -27,7 +29,7 @@ namespace Microsoft.Ddue.Tools { // add all member of the type that the filter allows MemberList members = type.Members; - for (int i = 0; i < members.Length; i++) { + for (int i = 0; i < members.Count; i++) { Member member = members[i]; // don't add nested types @@ -50,7 +52,7 @@ namespace Microsoft.Ddue.Tools { if (type is Interface) { InterfaceList contracts = type.Interfaces; - for (int i = 0; i < contracts.Length; i++) { + for (int i = 0; i < contracts.Count; i++) { Interface contract = contracts[i]; @@ -59,7 +61,7 @@ namespace Microsoft.Ddue.Tools { // otherwise, add inherited interface members MemberList contractMembers = contract.Members; - for (int j = 0; j < contractMembers.Length; j++) { + for (int j = 0; j < contractMembers.Count; j++) { Member contractMember = contractMembers[j]; // check for exposure; this is necessary to remove accessor methods @@ -82,7 +84,7 @@ namespace Microsoft.Ddue.Tools { // iterate through the members of each type MemberList parentMembers = parentType.Members; - for (int i = 0; i < parentMembers.Length; i++) { + for (int i = 0; i < parentMembers.Count; i++) { Member parentMember = parentMembers[i]; // don't add constructors @@ -184,11 +186,11 @@ namespace Microsoft.Ddue.Tools { ParameterList candidateParameters = GetParameters(candidate); // number of parameters must match - if (parameters.Length != candidateParameters.Length) continue; + if (parameters.Count != candidateParameters.Count) continue; // each parameter type must match bool parameterMismatch = false; - for (int i = 0; i < parameters.Length; i++) { + for (int i = 0; i < parameters.Count; i++) { if (parameters[i].Type != candidateParameters[i].Type) parameterMismatch = true; } // if the parameters match, we have the member diff --git a/tools/Sandcastle/Source/MRefBuilder/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/MRefBuilder/Properties/AssemblyInfo.cs index 66eb539..91fb255 100644 --- a/tools/Sandcastle/Source/MRefBuilder/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/MRefBuilder/Properties/AssemblyInfo.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System.Reflection; using System.Runtime.CompilerServices; @@ -17,6 +19,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: System.CLSCompliant(false)] + // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -32,5 +36,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/MRefBuilder/ResourceHelper.cs b/tools/Sandcastle/Source/MRefBuilder/ResourceHelper.cs index fc56663..ba2a149 100644 --- a/tools/Sandcastle/Source/MRefBuilder/ResourceHelper.cs +++ b/tools/Sandcastle/Source/MRefBuilder/ResourceHelper.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System.IO; using System.Reflection; diff --git a/tools/Sandcastle/Source/MRefBuilder/XamlAttachedMembersAddIn.cs b/tools/Sandcastle/Source/MRefBuilder/XamlAttachedMembersAddIn.cs index 863a923..79c7c76 100644 --- a/tools/Sandcastle/Source/MRefBuilder/XamlAttachedMembersAddIn.cs +++ b/tools/Sandcastle/Source/MRefBuilder/XamlAttachedMembersAddIn.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.Collections.Generic; @@ -60,14 +62,14 @@ namespace Microsoft.Ddue.Tools { Method getter = null; MemberList candidateGetters = type.GetMembersNamed(new Identifier("Get" + name)); - for (int i = 0; i < candidateGetters.Length; i++) { + for (int i = 0; i < candidateGetters.Count; i++) { Member candidateGetter = candidateGetters[i]; if ((candidateGetter.NodeType == NodeType.Method) && candidateGetter.IsStatic && candidateGetter.IsVisibleOutsideAssembly) getter = (Method)candidateGetter; } Method setter = null; MemberList candidateSetters = type.GetMembersNamed(new Identifier("Set" + name)); - for (int i = 0; i < candidateSetters.Length; i++) { + for (int i = 0; i < candidateSetters.Count; i++) { Member candidateSetter = candidateSetters[i]; if ((candidateSetter.NodeType == NodeType.Method) && candidateSetter.IsStatic && candidateSetter.IsVisibleOutsideAssembly) setter = (Method)candidateSetter; } @@ -107,14 +109,14 @@ namespace Microsoft.Ddue.Tools { Method adder = null; MemberList candidateAdders = type.GetMembersNamed(new Identifier("Add" + name + "Handler")); - for (int i = 0; i < candidateAdders.Length; i++) { + for (int i = 0; i < candidateAdders.Count; i++) { Member candidateAdder = candidateAdders[i]; if ((candidateAdder.NodeType == NodeType.Method) && candidateAdder.IsStatic) adder = (Method)candidateAdder; } Method remover = null; MemberList candidateRemovers = type.GetMembersNamed(new Identifier("Remove" + name + "Handler")); - for (int i = 0; i < candidateRemovers.Length; i++) { + for (int i = 0; i < candidateRemovers.Count; i++) { Member candidateRemover = candidateRemovers[i]; if ((candidateRemover.NodeType == NodeType.Method) && candidateRemover.IsStatic) remover = (Method)candidateRemover; } diff --git a/tools/Sandcastle/Source/MRefBuilder/makefile b/tools/Sandcastle/Source/MRefBuilder/makefile deleted file mode 100644 index 5acbbd2..0000000 --- a/tools/Sandcastle/Source/MRefBuilder/makefile +++ /dev/null @@ -1 +0,0 @@ -!INCLUDE $(NTMAKEENV)\makefile.def diff --git a/tools/Sandcastle/Source/MRefBuilder/makefile.inc b/tools/Sandcastle/Source/MRefBuilder/makefile.inc deleted file mode 100644 index 460da7d..0000000 --- a/tools/Sandcastle/Source/MRefBuilder/makefile.inc +++ /dev/null @@ -1,4 +0,0 @@ -!INCLUDE $(INETROOT)\build\makefile.inc - -$(TARGETNAME).exe.config: MRefBuilder.config - copy MRefBuilder.config $(TARGETNAME).exe.config diff --git a/tools/Sandcastle/Source/MRefBuilder/placefile b/tools/Sandcastle/Source/MRefBuilder/placefile deleted file mode 100644 index 3cd4d57..0000000 --- a/tools/Sandcastle/Source/MRefBuilder/placefile +++ /dev/null @@ -1,2 +0,0 @@ -Microsoft.Ddue.Tools.MRefBuilder.exe Manifold -Microsoft.Ddue.Tools.MRefBuilder.exe.config Manifold diff --git a/tools/Sandcastle/Source/Reflection/AllDocumentedFilter.cs b/tools/Sandcastle/Source/Reflection/AllDocumentedFilter.cs index f911a06..a171b52 100644 --- a/tools/Sandcastle/Source/Reflection/AllDocumentedFilter.cs +++ b/tools/Sandcastle/Source/Reflection/AllDocumentedFilter.cs @@ -75,7 +75,7 @@ namespace Microsoft.Ddue.Tools.Reflection { } private static bool ListContainsAttribute(AttributeList attributes, string name) { - for (int i = 0; i < attributes.Length; i++) { + for (int i = 0; i < attributes.Count; i++) { if (attributes[i].Type.FullName == name) return (true); } return (false); diff --git a/tools/Sandcastle/Source/Reflection/ApiFilter.cs b/tools/Sandcastle/Source/Reflection/ApiFilter.cs index ef3707b..201878f 100644 --- a/tools/Sandcastle/Source/Reflection/ApiFilter.cs +++ b/tools/Sandcastle/Source/Reflection/ApiFilter.cs @@ -91,7 +91,7 @@ namespace Microsoft.Ddue.Tools.Reflection { // check whether expressions used to instantiate attribute are exposed ExpressionList expressions = attribute.Expressions; - for (int i = 0; i < expressions.Length; i++) { + for (int i = 0; i < expressions.Count; i++) { if (!IsExposedExpression(expressions[i])) return (false); } @@ -192,7 +192,7 @@ namespace Microsoft.Ddue.Tools.Reflection { private bool NamespaceContainsExposedMembers(Namespace space) { TypeNodeList types = space.Types; - for (int i = 0; i < types.Length; i++) + for (int i = 0; i < types.Count; i++) { TypeNode type = types[i]; diff --git a/tools/Sandcastle/Source/Reflection/ApiVisitor.cs b/tools/Sandcastle/Source/Reflection/ApiVisitor.cs index 8fef266..7b5d9af 100644 --- a/tools/Sandcastle/Source/Reflection/ApiVisitor.cs +++ b/tools/Sandcastle/Source/Reflection/ApiVisitor.cs @@ -83,16 +83,22 @@ namespace Microsoft.Ddue.Tools.Reflection { } } - public virtual void Dispose() { - foreach (AssemblyNode assembly in assemblies) { - // Console.WriteLine(loadedModule.Name); - assembly.Dispose(); - } - foreach (AssemblyNode accessoryAssembly in accessoryAssemblies) { - accessoryAssembly.Dispose(); - } + public void Dispose() { + Dispose(true); + GC.SuppressFinalize(this); } + protected virtual void Dispose(bool disposing) { + if (disposing) { + foreach (AssemblyNode assembly in assemblies) { + // Console.WriteLine(loadedModule.Name); + assembly.Dispose(); + } + foreach (AssemblyNode accessoryAssembly in accessoryAssemblies) { + accessoryAssembly.Dispose(); + } + } + } public void LoadAccessoryAssemblies(string filePattern) { @@ -202,8 +208,8 @@ namespace Microsoft.Ddue.Tools.Reflection { protected virtual void VisitMembers(MemberList members) { // sort members by name - Member[] sorted_members = new Member[members.Length]; - for (int i = 0; i < members.Length; i++) sorted_members[i] = members[i]; + Member[] sorted_members = new Member[members.Count]; + for (int i = 0; i < members.Count; i++) sorted_members[i] = members[i]; Array.Sort < Member >(sorted_members, memberComparison); // visit them foreach (Member member in sorted_members) { @@ -225,8 +231,8 @@ namespace Microsoft.Ddue.Tools.Reflection { protected virtual void VisitNamespaces(NamespaceList spaces) { // sort namespaces by name - Namespace[] sorted_spaces = new Namespace[spaces.Length]; - for (int i = 0; i < spaces.Length; i++) sorted_spaces[i] = spaces[i]; + Namespace[] sorted_spaces = new Namespace[spaces.Count]; + for (int i = 0; i < spaces.Count; i++) sorted_spaces[i] = spaces[i]; Array.Sort < Namespace >(sorted_spaces, namespaceComparison); // visit them foreach (Namespace space in sorted_spaces) { @@ -244,8 +250,8 @@ namespace Microsoft.Ddue.Tools.Reflection { protected virtual void VisitTypes(TypeNodeList types) { // sort types by name - TypeNode[] sorted_types = new TypeNode[types.Length]; - for (int i = 0; i < types.Length; i++) sorted_types[i] = types[i]; + TypeNode[] sorted_types = new TypeNode[types.Count]; + for (int i = 0; i < types.Count; i++) sorted_types[i] = types[i]; Array.Sort < TypeNode >(sorted_types, typeComparison); // visit them foreach (TypeNode type in sorted_types) { @@ -310,7 +316,7 @@ namespace Microsoft.Ddue.Tools.Reflection { //Console.WriteLine("getting members"); MemberList members = type.Members; //Console.WriteLine("got {0} members", members.Count); - for (int i = 0; i < members.Length; i++) { + for (int i = 0; i < members.Count; i++) { TypeNode nestedType = members[i] as TypeNode; if (nestedType != null) { //Console.WriteLine("nested type {0}", type.FullName); @@ -322,7 +328,7 @@ namespace Microsoft.Ddue.Tools.Reflection { private void StoreTypes(TypeNodeList types) { //Console.WriteLine("{0} types", types.Length); - for (int i = 0; i < types.Length; i++) { + for (int i = 0; i < types.Count; i++) { StoreType(types[i]); } } diff --git a/tools/Sandcastle/Source/Reflection/ExternalDocumentedFilter.cs b/tools/Sandcastle/Source/Reflection/ExternalDocumentedFilter.cs index fec2a43..e7f0cf7 100644 --- a/tools/Sandcastle/Source/Reflection/ExternalDocumentedFilter.cs +++ b/tools/Sandcastle/Source/Reflection/ExternalDocumentedFilter.cs @@ -53,7 +53,7 @@ namespace Microsoft.Ddue.Tools.Reflection { if (member.IsPrivate && member.NodeType == NodeType.Method) { Method method = (Method)member; MethodList implements = method.ImplementedInterfaceMethods; - if ((implements.Length > 0) && (!IsExposedMember(implements[0]))) return (false); + if ((implements.Count > 0) && (!IsExposedMember(implements[0]))) return (false); } // okay, passed all tests, the member is exposed as long as the filters allow it diff --git a/tools/Sandcastle/Source/Reflection/GlobalSuppressions.cs b/tools/Sandcastle/Source/Reflection/GlobalSuppressions.cs new file mode 100644 index 0000000..aff5272 --- /dev/null +++ b/tools/Sandcastle/Source/Reflection/GlobalSuppressions.cs @@ -0,0 +1,55 @@ +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ddue", Scope = "namespace", Target = "Microsoft.Ddue.Tools.Reflection")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Namer", Scope = "type", Target = "Microsoft.Ddue.Tools.Reflection.ApiNamer")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.Compare(System.String,System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.ApiVisitor.#CompareMembers(System.Compiler.Member,System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.Compare(System.String,System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.ApiVisitor.#CompareNamespaces(System.Compiler.Namespace,System.Compiler.Namespace)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1307:SpecifyStringComparison", MessageId = "System.String.Compare(System.String,System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.ApiVisitor.#CompareTypes(System.Compiler.TypeNode,System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.ApiVisitor.#CompareNamespaces(System.Compiler.Namespace,System.Compiler.Namespace)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.ApiVisitor.#CompareTypes(System.Compiler.TypeNode,System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.ApiVisitor.#ResetMscorlib(System.Compiler.AssemblyNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.ApiVisitor.#Assemblies")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.ApiVisitor.#AccessoryAssemblies")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.WhidbeyNamer.#GetName(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.ReflectionUtilities.#TypeMatch(System.Compiler.TypeNode,System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.OrcasNamer.#GetName(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "argument", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.WhidbeyNamer.#WriteType(System.Compiler.TypeNode,System.IO.TextWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "arguments", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.ReflectionUtilities.#GetTemplateType(System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "argument", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.OrcasNamer.#WriteType(System.Compiler.TypeNode,System.IO.TextWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.WhidbeyNamer.#WriteType(System.Compiler.TypeNode,System.IO.TextWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.OrcasNamer.#WriteType(System.Compiler.TypeNode,System.IO.TextWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Module", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.AssemblyResolver.#ResolveReference(System.Compiler.AssemblyReference,System.Compiler.Module)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Module", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.AssemblyResolver.#OnUnresolvedAssemblyReference(System.Compiler.AssemblyReference,System.Compiler.Module)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Namer", Scope = "type", Target = "Microsoft.Ddue.Tools.Reflection.WhidbeyNamer")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Namer", Scope = "type", Target = "Microsoft.Ddue.Tools.Reflection.OrcasNamer")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gac", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.AssemblyResolver.#UseGac")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.AssemblyResolver.#.ctor(System.Xml.XPath.XPathNavigator)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.MemberFilter.#.ctor(System.Xml.XmlReader)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.NamespaceFilter.#.ctor(System.Xml.XmlReader)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.RootFilter.#.ctor(System.Xml.XmlReader)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.Convert.ToBoolean(System.String)", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.TypeFilter.#.ctor(System.Xml.XmlReader)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.ReflectionUtilities.#GetTemplateType(System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.OrcasNamer.#GetMemberName(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.OrcasNamer.#GetName(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.OrcasNamer.#GetNamespaceName(System.Compiler.Namespace)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.OrcasNamer.#GetTypeName(System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.OrcasNamer.#WriteEvent(System.Compiler.Event,System.IO.TextWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.OrcasNamer.#WriteMethod(System.Compiler.Method,System.IO.TextWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.OrcasNamer.#WriteProperty(System.Compiler.Property,System.IO.TextWriter)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.WhidbeyNamer.#GetMemberName(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.WhidbeyNamer.#GetName(System.Compiler.Member)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.WhidbeyNamer.#GetNamespaceName(System.Compiler.Namespace)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.WhidbeyNamer.#GetTypeName(System.Compiler.TypeNode)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.RootFilter.#NamespaceFilters")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.NamespaceFilter.#TypeFilters")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.NamespaceFilter.#IsExposedNamespace(System.Compiler.Namespace)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Scope = "member", Target = "Microsoft.Ddue.Tools.Reflection.TypeFilter.#IsExposedType(System.Compiler.TypeNode)")] diff --git a/tools/Sandcastle/Source/Reflection/Makefile.org b/tools/Sandcastle/Source/Reflection/Makefile.org deleted file mode 100644 index 3f4e091..0000000 --- a/tools/Sandcastle/Source/Reflection/Makefile.org +++ /dev/null @@ -1,13 +0,0 @@ -ASSEMBLY = AssemblyInfo.cs -FILTER = *Filter.cs -#NAMER = ApiNamer.cs DocStudioNamer.cs -NAMER = ApiNamer.cs WhidbeyNamer.cs -VISITOR = ApiVisitor.cs - -CCI = ..\CCI\System.Compiler.dll - -all: Microsoft.Ddue.Tools.Reflection.dll - -Microsoft.Ddue.Tools.Reflection.dll: $(ASSEMBLY) $(FILTER) $(NAMER) $(VISITOR) $(CCI) - csc /t:library /out:Microsoft.Ddue.Tools.Reflection.dll $(ASSEMBLY) $(FILTER) $(NAMER) $(VISITOR) /r:$(CCI) - copy Microsoft.Ddue.Tools.Reflection.dll ..\..\ProductionTools diff --git a/tools/Sandcastle/Source/Reflection/Microsoft.Ddue.Tools.Reflection.asmmeta b/tools/Sandcastle/Source/Reflection/Microsoft.Ddue.Tools.Reflection.asmmeta deleted file mode 100644 index d0d0940..0000000 --- a/tools/Sandcastle/Source/Reflection/Microsoft.Ddue.Tools.Reflection.asmmeta +++ /dev/null @@ -1,386 +0,0 @@ -.assembly extern Microsoft.Ddue.Tools.Compiler -{ - .publickeytoken = (4D DC 2B E8 53 17 C2 74) -} -.assembly extern mscorlib -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly Microsoft.Ddue.Tools.Reflection -{ - .custom instance void [mscorlib]System.CLSCompliantAttribute::.ctor(bool) = { bool(false) } - .custom instance void [mscorlib]System.Runtime.InteropServices.ComVisibleAttribute::.ctor(bool) = { bool(false) } - .publickey = (00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 EF 09 EE D7 93 0B 34 BA 88 83 E7 DB 9F 08 F5 DF A0 D9 F1 7A 97 8E 98 F3 99 03 36 B2 2A 75 D6 BB 2C 25 90 6C 4F 4E 5D 42 60 00 A9 22 00 A9 CE FE 3F 5E C4 22 BA 1E FF 47 7D C4 14 E7 52 C3 30 07 1C 66 1C 58 3F 28 48 0C 03 35 94 CE 5F A5 FC 44 94 D2 A4 42 95 E5 A3 3E AD B2 FD FF 45 13 77 FD BE 62 48 38 EF 02 BF 22 54 00 56 5D DB DA 10 D8 7E 77 F9 7F 9F 20 60 11 4B 49 3A 4D 62 FE C3 C3) - .hash algorithm 0x00008004 -} -.namespace Microsoft.Ddue.Tools.Reflection -{ - .class public AllDocumentedFilter - extends Microsoft.Ddue.Tools.Reflection.ApiFilter - { - .method public virtual hidebysig - instance bool IsExposedNamespace(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Namespace space) - { - ret - } - .method public virtual hidebysig - instance bool IsExposedType(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.TypeNode 'type') - { - ret - } - .method public virtual hidebysig - instance bool IsExposedMember(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member member) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public AllTopicFilter - extends Microsoft.Ddue.Tools.Reflection.AllDocumentedFilter - { - .method public virtual hidebysig - instance bool IsExposedMember(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member member) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public abstract ApiFilter - extends [mscorlib]System.Object - { - .method public virtual hidebysig newslot - instance bool IsExposedNamespace(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Namespace space) - { - ret - } - .method public virtual hidebysig newslot abstract - instance bool IsExposedType(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.TypeNode 'type') - { - } - .method public virtual hidebysig newslot abstract - instance bool IsExposedMember(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member member) - { - } - .method public virtual hidebysig newslot - instance bool IsExposedApi(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member api) - { - ret - } - .method public virtual hidebysig newslot - instance bool IsExposedAttribute(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.AttributeNode attribute) - { - ret - } - .method family hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public abstract ApiNamer - extends [mscorlib]System.Object - { - .method public virtual hidebysig newslot abstract - instance string GetNamespaceName(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Namespace space) - { - } - .method public virtual hidebysig newslot abstract - instance string GetTypeName(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.TypeNode 'type') - { - } - .method public virtual hidebysig newslot abstract - instance string GetMemberName(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member member) - { - } - .method public virtual hidebysig newslot - instance string GetApiName(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member api) - { - ret - } - .method family hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public ApiVisitor - extends [mscorlib]System.Object - implements [mscorlib]System.IDisposable - { - .method family hidebysig specialname - instance void .ctor(class Microsoft.Ddue.Tools.Reflection.ApiFilter 'filter') - { - ret - } - .method family hidebysig specialname - instance void .ctor() - { - ret - } - .method public hidebysig specialname - instance class Microsoft.Ddue.Tools.Reflection.ApiFilter get_ApiFilter() - { - ret - } - .method public hidebysig specialname - instance void set_ApiFilter(class Microsoft.Ddue.Tools.Reflection.ApiFilter 'value') - { - ret - } - .method public hidebysig specialname - instance class [Microsoft.Ddue.Tools.Compiler]System.Compiler.AssemblyNode[] get_Assemblies() - { - ret - } - .method public hidebysig specialname - instance class [Microsoft.Ddue.Tools.Compiler]System.Compiler.AssemblyNode[] get_AccessoryAssemblies() - { - ret - } - .method public hidebysig - instance void LoadAccessoryAssembly(string filePath) - { - ret - } - .method public hidebysig - instance void LoadAccessoryAssemblies(string filePattern) - { - ret - } - .method public hidebysig - instance void LoadAssembly(string filePath) - { - ret - } - .method public hidebysig - instance void LoadAssemblies(string filePattern) - { - ret - } - .method public hidebysig - instance void VisitApis() - { - ret - } - .method family virtual hidebysig newslot - instance void VisitNamespaces(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.NamespaceList spaces) - { - ret - } - .method family virtual hidebysig newslot - instance void VisitNamespace(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Namespace space) - { - ret - } - .method family virtual hidebysig newslot - instance void VisitTypes(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.TypeNodeList types) - { - ret - } - .method family virtual hidebysig newslot - instance void VisitType(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.TypeNode 'type') - { - ret - } - .method family virtual hidebysig newslot - instance void VisitMembers(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.MemberList members) - { - ret - } - .method family virtual hidebysig newslot - instance void VisitMember(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member member) - { - ret - } - .method family virtual hidebysig newslot - instance void VisitEntity(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member entity) - { - ret - } - .method public virtual hidebysig newslot - instance void Dispose() - { - ret - } - .method public hidebysig specialname - instance class [mscorlib]'System.Collections.Generic.Dictionary`2'<string,class [mscorlib]System.Exception> get_LoadErrors() - { - ret - } - .method public hidebysig specialname - instance class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Module/AssemblyReferenceResolver get_UnresolvedModuleHandler() - { - ret - } - .method public hidebysig specialname - instance void set_UnresolvedModuleHandler(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Module/AssemblyReferenceResolver 'value') - { - ret - } - .property instance class [Microsoft.Ddue.Tools.Compiler]System.Compiler.AssemblyNode[] AccessoryAssemblies() - { - .get instance class [Microsoft.Ddue.Tools.Compiler]System.Compiler.AssemblyNode[] Microsoft.Ddue.Tools.Reflection.ApiVisitor::get_AccessoryAssemblies() - } - .property instance class Microsoft.Ddue.Tools.Reflection.ApiFilter ApiFilter() - { - .get instance class Microsoft.Ddue.Tools.Reflection.ApiFilter Microsoft.Ddue.Tools.Reflection.ApiVisitor::get_ApiFilter() - .set instance void Microsoft.Ddue.Tools.Reflection.ApiVisitor::set_ApiFilter(class Microsoft.Ddue.Tools.Reflection.ApiFilter) - } - .property instance class [Microsoft.Ddue.Tools.Compiler]System.Compiler.AssemblyNode[] Assemblies() - { - .get instance class [Microsoft.Ddue.Tools.Compiler]System.Compiler.AssemblyNode[] Microsoft.Ddue.Tools.Reflection.ApiVisitor::get_Assemblies() - } - .property instance class [mscorlib]'System.Collections.Generic.Dictionary`2'<string,class [mscorlib]System.Exception> LoadErrors() - { - .get instance class [mscorlib]'System.Collections.Generic.Dictionary`2'<string,class [mscorlib]System.Exception> Microsoft.Ddue.Tools.Reflection.ApiVisitor::get_LoadErrors() - } - .property instance class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Module/AssemblyReferenceResolver UnresolvedModuleHandler() - { - .get instance class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Module/AssemblyReferenceResolver Microsoft.Ddue.Tools.Reflection.ApiVisitor::get_UnresolvedModuleHandler() - .set instance void Microsoft.Ddue.Tools.Reflection.ApiVisitor::set_UnresolvedModuleHandler(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Module/AssemblyReferenceResolver) - } - } - .class public DocStudioNamer - extends Microsoft.Ddue.Tools.Reflection.ApiNamer - { - .method public virtual hidebysig - instance string GetNamespaceName(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Namespace space) - { - ret - } - .method public virtual hidebysig - instance string GetTypeName(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.TypeNode 'type') - { - ret - } - .method public virtual hidebysig - instance string GetMemberName(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member member) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public ExternalDocumentedFilter - extends Microsoft.Ddue.Tools.Reflection.ApiFilter - { - .method public virtual hidebysig - instance bool IsExposedType(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.TypeNode 'type') - { - ret - } - .method public virtual hidebysig - instance bool IsExposedMember(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member member) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public ExternalFilter - extends Microsoft.Ddue.Tools.Reflection.ApiFilter - { - .method public virtual hidebysig - instance bool IsExposedType(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.TypeNode 'type') - { - ret - } - .method public virtual hidebysig - instance bool IsExposedMember(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member member) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public ExternalTopicFilter - extends Microsoft.Ddue.Tools.Reflection.ExternalDocumentedFilter - { - .method public virtual hidebysig - instance bool IsExposedMember(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member member) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public NoFilter - extends Microsoft.Ddue.Tools.Reflection.ApiFilter - { - .method public virtual hidebysig - instance bool IsExposedNamespace(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Namespace space) - { - ret - } - .method public virtual hidebysig - instance bool IsExposedType(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.TypeNode 'type') - { - ret - } - .method public virtual hidebysig - instance bool IsExposedMember(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member member) - { - ret - } - .method public virtual hidebysig - instance bool IsExposedApi(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member api) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - } - .class public abstract sealed ReflectionUtilities - extends [mscorlib]System.Object - { - .method public static hidebysig - class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Method[] GetImplementedMethods(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Method 'method') - { - ret - } - .method public static hidebysig - class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Property[] GetImplementedProperties(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Property 'property') - { - ret - } - .method public static hidebysig - class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Event[] GetImplementedEvents(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Event trigger) - { - ret - } - .method public static hidebysig - class [Microsoft.Ddue.Tools.Compiler]System.Compiler.TypeNode GetTemplateType(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.TypeNode 'type') - { - ret - } - .method public static hidebysig - class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member GetTemplateMember(class [Microsoft.Ddue.Tools.Compiler]System.Compiler.Member member) - { - ret - } - } -} - diff --git a/tools/Sandcastle/Source/Reflection/OrcasNamer.cs b/tools/Sandcastle/Source/Reflection/OrcasNamer.cs index 2b18107..806c7a2 100644 --- a/tools/Sandcastle/Source/Reflection/OrcasNamer.cs +++ b/tools/Sandcastle/Source/Reflection/OrcasNamer.cs @@ -163,7 +163,7 @@ namespace Microsoft.Ddue.Tools.Reflection { Method eiiMethod = null; if (method.IsPrivate && method.IsVirtual) { MethodList eiiMethods = method.ImplementedInterfaceMethods; - if (eiiMethods.Length > 0) eiiMethod = eiiMethods[0]; + if (eiiMethods.Count > 0) eiiMethod = eiiMethods[0]; } if (eiiMethod != null) { //explicitly implemented interface TypeNode eiiType = eiiMethod.DeclaringType; @@ -192,7 +192,7 @@ namespace Microsoft.Ddue.Tools.Reflection { if (method.IsGeneric) { TypeNodeList genericParameters = method.TemplateParameters; if (genericParameters != null) { - writer.Write("``{0}", genericParameters.Length); + writer.Write("``{0}", genericParameters.Count); } } WriteParameters(method.Parameters, writer); @@ -211,9 +211,9 @@ namespace Microsoft.Ddue.Tools.Reflection { } private static void WriteParameters(ParameterList parameters, TextWriter writer) { - if ((parameters == null) || (parameters.Length == 0)) return; + if ((parameters == null) || (parameters.Count == 0)) return; writer.Write("("); - for (int i = 0; i < parameters.Length; i++) { + for (int i = 0; i < parameters.Count; i++) { if (i > 0) writer.Write(","); WriteType(parameters[i].Type, writer); } @@ -352,13 +352,13 @@ namespace Microsoft.Ddue.Tools.Reflection { // number of parameters TypeNodeList parameters = type.TemplateParameters; if (parameters != null) { - writer.Write("`{0}", parameters.Length); + writer.Write("`{0}", parameters.Count); } // arguments TypeNodeList arguments = type.TemplateArguments; - if ((arguments != null) && (arguments.Length > 0)) { + if ((arguments != null) && (arguments.Count > 0)) { writer.Write("{"); - for (int i = 0; i < arguments.Length; i++) { + for (int i = 0; i < arguments.Count; i++) { TypeNode argument = arguments[i]; if (i > 0) writer.Write(","); WriteType(arguments[i], writer); diff --git a/tools/Sandcastle/Source/Reflection/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/Reflection/Properties/AssemblyInfo.cs index da36b11..a18dd70 100644 --- a/tools/Sandcastle/Source/Reflection/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/Reflection/Properties/AssemblyInfo.cs @@ -17,6 +17,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: System.CLSCompliant(false)] + // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -34,5 +36,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/Reflection/Reflection.cs b/tools/Sandcastle/Source/Reflection/Reflection.cs index 74dc754..e646cc6 100644 --- a/tools/Sandcastle/Source/Reflection/Reflection.cs +++ b/tools/Sandcastle/Source/Reflection/Reflection.cs @@ -35,7 +35,7 @@ namespace Microsoft.Ddue.Tools.Reflection { // Explicit implementations MethodList explicitImplementations = method.ImplementedInterfaceMethods; if (explicitImplementations != null) { - for (int i = 0; i < explicitImplementations.Length; i++) { + for (int i = 0; i < explicitImplementations.Count; i++) { Method explicitImplementation = explicitImplementations[i]; list.Add(explicitImplementation); } @@ -44,7 +44,7 @@ namespace Microsoft.Ddue.Tools.Reflection { // Implicit implementations MethodList implicitImplementations = method.ImplicitlyImplementedInterfaceMethods; if (implicitImplementations != null) { - for (int i = 0; i < implicitImplementations.Length; i++) { + for (int i = 0; i < implicitImplementations.Count; i++) { Method implicitImplementation = implicitImplementations[i]; list.Add(implicitImplementation); } @@ -99,15 +99,15 @@ namespace Microsoft.Ddue.Tools.Reflection { MemberList candidates = template.GetMembersNamed(name); // if no candidates, say so (this shouldn't happen) - if (candidates.Length == 0) throw new InvalidOperationException("No members in the template had the name found in the specialization. This is not possible, but apparently it happened."); + if (candidates.Count == 0) throw new InvalidOperationException("No members in the template had the name found in the specialization. This is not possible, but apparently it happened."); // if only one candidate, return it - if (candidates.Length == 1) return (candidates[0]); + if (candidates.Count == 1) return (candidates[0]); // multiple candidates, so now we need to compare parameters ParameterList parameters = GetParameters(member); - for (int i = 0; i < candidates.Length; i++) { + for (int i = 0; i < candidates.Count; i++) { Member candidate = candidates[i]; // candidate must be same kind of node @@ -139,7 +139,7 @@ namespace Microsoft.Ddue.Tools.Reflection { // otherwise, construct the template type identifier and use it to fetch the template type Module templateModule = type.DeclaringModule; - Identifier name = new Identifier(String.Format("{0}`{1}", type.GetUnmangledNameWithoutTypeParameters(), type.TemplateArguments.Length)); + Identifier name = new Identifier(String.Format("{0}`{1}", type.GetUnmangledNameWithoutTypeParameters(), type.TemplateArguments.Count)); Identifier space = type.Namespace; TypeNode template = templateModule.GetType(space, name); return (template); @@ -155,8 +155,8 @@ namespace Microsoft.Ddue.Tools.Reflection { TypeNode current = type; while (true) { int count = 0; - if ((current.TemplateArguments != null) && (current.TemplateArguments.Length > count)) count = current.TemplateArguments.Length; - if ((current.TemplateParameters != null) && (current.TemplateParameters.Length > count)) count = current.TemplateParameters.Length; + if ((current.TemplateArguments != null) && (current.TemplateArguments.Count > count)) count = current.TemplateArguments.Count; + if ((current.TemplateParameters != null) && (current.TemplateParameters.Count > count)) count = current.TemplateParameters.Count; TypeNodeList arguments = current.TemplateParameters; if (count == 0) { identifiers.Push(new Identifier(current.GetUnmangledNameWithoutTypeParameters())); @@ -191,7 +191,7 @@ namespace Microsoft.Ddue.Tools.Reflection { TypeNode type = member.DeclaringType; MemberList defaultMembers = type.DefaultMembers; - for (int i = 0; i < defaultMembers.Length; i++) { + for (int i = 0; i < defaultMembers.Count; i++) { Member defaultMember = defaultMembers[i]; if (member == defaultMember) return (true); } @@ -237,7 +237,7 @@ namespace Microsoft.Ddue.Tools.Reflection { private static bool IsSpecialized(TypeNode type) { for (TypeNode t = type; t != null; t = t.DeclaringType) { TypeNodeList templates = t.TemplateArguments; - if ((templates != null) && (templates.Length > 0)) return (true); + if ((templates != null) && (templates.Count > 0)) return (true); } return (false); } @@ -246,9 +246,9 @@ namespace Microsoft.Ddue.Tools.Reflection { private static bool ParametersMatch(ParameterList parameters1, ParameterList parameters2) { - if (parameters1.Length != parameters2.Length) return (false); + if (parameters1.Count != parameters2.Count) return (false); - for (int i = 0; i < parameters1.Length; i++) { + for (int i = 0; i < parameters1.Count; i++) { TypeNode type1 = parameters1[i].Type; TypeNode type2 = parameters2[i].Type; diff --git a/tools/Sandcastle/Source/Reflection/Reflection.csproj b/tools/Sandcastle/Source/Reflection/Reflection.csproj index 77a7c7a..9a88afa 100644 --- a/tools/Sandcastle/Source/Reflection/Reflection.csproj +++ b/tools/Sandcastle/Source/Reflection/Reflection.csproj @@ -78,6 +78,7 @@ <Compile Include="ExternalDocumentedFilter.cs" /> <Compile Include="ExternalFilter.cs" /> <Compile Include="ExternalTopicFilter.cs" /> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="MemberFilter.cs" /> <Compile Include="NamespaceFilter.cs" /> <Compile Include="NoFilter.cs" /> diff --git a/tools/Sandcastle/Source/Reflection/Reflection.csproj.vspscc b/tools/Sandcastle/Source/Reflection/Reflection.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/Reflection/Reflection.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/Reflection/WhidbeyNamer.cs b/tools/Sandcastle/Source/Reflection/WhidbeyNamer.cs index 8581f3a..f6234a8 100644 --- a/tools/Sandcastle/Source/Reflection/WhidbeyNamer.cs +++ b/tools/Sandcastle/Source/Reflection/WhidbeyNamer.cs @@ -136,7 +136,7 @@ namespace Microsoft.Ddue.Tools.Reflection { if (method.IsGeneric) { TypeNodeList genericParameters = method.TemplateParameters; if (genericParameters != null) { - writer.Write("``{0}", genericParameters.Length); + writer.Write("``{0}", genericParameters.Count); } } WriteParameters(method.Parameters, writer); @@ -155,9 +155,9 @@ namespace Microsoft.Ddue.Tools.Reflection { } private static void WriteParameters(ParameterList parameters, TextWriter writer) { - if ((parameters == null) || (parameters.Length == 0)) return; + if ((parameters == null) || (parameters.Count == 0)) return; writer.Write("("); - for (int i = 0; i < parameters.Length; i++) { + for (int i = 0; i < parameters.Count; i++) { if (i > 0) writer.Write(","); WriteType(parameters[i].Type, writer); } @@ -251,13 +251,13 @@ namespace Microsoft.Ddue.Tools.Reflection { // number of parameters TypeNodeList parameters = type.TemplateParameters; if (parameters != null) { - writer.Write("`{0}", parameters.Length); + writer.Write("`{0}", parameters.Count); } // arguments TypeNodeList arguments = type.TemplateArguments; - if ((arguments != null) && (arguments.Length > 0)) { + if ((arguments != null) && (arguments.Count > 0)) { writer.Write("{"); - for (int i = 0; i < arguments.Length; i++) { + for (int i = 0; i < arguments.Count; i++) { TypeNode argument = arguments[i]; if (i > 0) writer.Write(","); WriteType(arguments[i], writer); diff --git a/tools/Sandcastle/Source/Reflection/makefile b/tools/Sandcastle/Source/Reflection/makefile deleted file mode 100644 index 5acbbd2..0000000 --- a/tools/Sandcastle/Source/Reflection/makefile +++ /dev/null @@ -1 +0,0 @@ -!INCLUDE $(NTMAKEENV)\makefile.def diff --git a/tools/Sandcastle/Source/Reflection/makefile.inc b/tools/Sandcastle/Source/Reflection/makefile.inc deleted file mode 100644 index 32f7350..0000000 --- a/tools/Sandcastle/Source/Reflection/makefile.inc +++ /dev/null @@ -1,2 +0,0 @@ -!INCLUDE $(INETROOT)\build\makefile.inc - diff --git a/tools/Sandcastle/Source/Reflection/placefile b/tools/Sandcastle/Source/Reflection/placefile deleted file mode 100644 index 5c0badf..0000000 --- a/tools/Sandcastle/Source/Reflection/placefile +++ /dev/null @@ -1 +0,0 @@ -Microsoft.Ddue.Tools.Reflection.dll Manifold diff --git a/tools/Sandcastle/Source/XmlCat/GlobalSuppressions.cs b/tools/Sandcastle/Source/XmlCat/GlobalSuppressions.cs new file mode 100644 index 0000000..8f3bbd3 --- /dev/null +++ b/tools/Sandcastle/Source/XmlCat/GlobalSuppressions.cs @@ -0,0 +1,17 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "MergeXml.Program.#Main(System.String[])")] diff --git a/tools/Sandcastle/Source/XmlCat/MergeXml.csproj b/tools/Sandcastle/Source/XmlCat/MergeXml.csproj index 0daa932..ba9d6d2 100644 --- a/tools/Sandcastle/Source/XmlCat/MergeXml.csproj +++ b/tools/Sandcastle/Source/XmlCat/MergeXml.csproj @@ -46,6 +46,7 @@ <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="Program.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> diff --git a/tools/Sandcastle/Source/XmlCat/MergeXml.csproj.vspscc b/tools/Sandcastle/Source/XmlCat/MergeXml.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/XmlCat/MergeXml.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/XmlCat/Program.cs b/tools/Sandcastle/Source/XmlCat/Program.cs index b8608c3..7b0ab64 100644 --- a/tools/Sandcastle/Source/XmlCat/Program.cs +++ b/tools/Sandcastle/Source/XmlCat/Program.cs @@ -1,3 +1,8 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System; using System.Collections.Generic; using System.IO; diff --git a/tools/Sandcastle/Source/XmlCat/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/XmlCat/Properties/AssemblyInfo.cs index a3dc73f..1f63295 100644 --- a/tools/Sandcastle/Source/XmlCat/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/XmlCat/Properties/AssemblyInfo.cs @@ -1,3 +1,8 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -29,5 +34,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/XslTransform/GlobalSuppressions.cs b/tools/Sandcastle/Source/XslTransform/GlobalSuppressions.cs new file mode 100644 index 0000000..a71731d --- /dev/null +++ b/tools/Sandcastle/Source/XslTransform/GlobalSuppressions.cs @@ -0,0 +1,21 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ddue", Scope = "namespace", Target = "Microsoft.Ddue.Tools")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "Microsoft.Ddue.Tools.TransformInfo")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1053:StaticHolderTypesShouldNotHaveConstructors", Scope = "type", Target = "Microsoft.Ddue.Tools.XslTransformer")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.XslTransformer.#Main(System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)", Scope = "member", Target = "Microsoft.Ddue.Tools.XslTransformer.#Main(System.String[])")] diff --git a/tools/Sandcastle/Source/XslTransform/Makefile.org b/tools/Sandcastle/Source/XslTransform/Makefile.org deleted file mode 100644 index 55babda..0000000 --- a/tools/Sandcastle/Source/XslTransform/Makefile.org +++ /dev/null @@ -1,10 +0,0 @@ -COMMANDLINE = ..\CommandLine\Microsoft.Ddue.Tools.CommandLine.dll - -CC = csc.exe - -all: XslTransform.exe - -XslTransform.exe: XslTransform.cs $(COMMANDLINE) - $(CC) XslTransform.cs /r:$(COMMANDLINE) - copy XslTransform.exe ..\..\ProductionTools - copy $(COMMANDLINE) . diff --git a/tools/Sandcastle/Source/XslTransform/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/XslTransform/Properties/AssemblyInfo.cs index fb986fb..c0bef2a 100644 --- a/tools/Sandcastle/Source/XslTransform/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/XslTransform/Properties/AssemblyInfo.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System.Reflection; using System.Runtime.CompilerServices; @@ -17,6 +19,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: System.CLSCompliant(true)] + // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -32,5 +36,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/XslTransform/XslTransform.cs b/tools/Sandcastle/Source/XslTransform/XslTransform.cs index 02f6815..6b6d76c 100644 --- a/tools/Sandcastle/Source/XslTransform/XslTransform.cs +++ b/tools/Sandcastle/Source/XslTransform/XslTransform.cs @@ -1,78 +1,99 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; -using System.Reflection; using System.Xml; using System.Xml.Xsl; - using Microsoft.Ddue.Tools.CommandLine; -namespace Microsoft.Ddue.Tools { - - public class XslTransformer { - - public static int Main(string[] args) { - +namespace Microsoft.Ddue.Tools +{ + public class XslTransformer + { + public static int Main(string[] args) + { // specify options OptionCollection options = new OptionCollection(); options.Add(new SwitchOption("?", "Show this help page.")); options.Add(new ListOption("xsl", "Sepcify transform files.", "xsltPath")); options.Add(new ListOption("arg", "Sepcify arguments.", "name=value")); options.Add(new StringOption("out", "Specify an output file. If unspecified, output goes to the console.", "outputFilePath")); + options.Add(new SwitchOption("w", "Do not ignore insignificant whitespace. By default insignificant whitespace is ignored.")); ConsoleApplication.WriteBanner(); // process options ParseArgumentsResult results = options.ParseArguments(args); - if (results.Options["?"].IsPresent) { + if (results.Options["?"].IsPresent) + { Console.WriteLine("XslTransformer xsl_file [xml_file] [options]"); options.WriteOptionSummary(Console.Out); return (0); } // check for invalid options - if (!results.Success) { + if (!results.Success) + { results.WriteParseErrors(Console.Out); return (1); } // check for missing or extra assembly directories - if (results.UnusedArguments.Count != 1) { + if (results.UnusedArguments.Count != 1) + { Console.WriteLine("Specify one input XML input file."); return (1); } - if (!results.Options["xsl"].IsPresent) { + if (!results.Options["xsl"].IsPresent) + { Console.WriteLine("Specify at least one XSL transform file."); return (1); } + // set whitespace setting + bool ignoreWhitespace = !results.Options["w"].IsPresent; + // Load transforms string[] transformFiles = (string[])results.Options["xsl"].Value; XslCompiledTransform[] transforms = new XslCompiledTransform[transformFiles.Length]; - for (int i = 0; i < transformFiles.Length; i++) { + for (int i = 0; i < transformFiles.Length; i++) + { string transformFile = Environment.ExpandEnvironmentVariables(transformFiles[i]); transforms[i] = new XslCompiledTransform(); XsltSettings transformSettings = new XsltSettings(true, true); - try { + try + { transforms[i].Load(transformFile, transformSettings, new XmlUrlResolver()); - } catch (IOException e) { + } + catch (IOException e) + { ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The transform file '{0}' could not be loaded. The error is: {1}", transformFile, e.Message)); return (1); - } catch (UnauthorizedAccessException e) { + } + catch (UnauthorizedAccessException e) + { ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The transform file '{0}' could not be loaded. The error is: {1}", transformFile, e.Message)); return (1); - } catch (XsltException e) { - if (e.InnerException != null) { + } + catch (XsltException e) + { + if (e.InnerException != null) + { ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The transformation file '{0}' is not valid. The error is: {1}", transformFile, e.InnerException.Message)); - } else { + } + else + { ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The transformation file '{0}' is not valid. The error is: {1}", transformFile, e.Message)); } return (1); - } catch (XmlException e) { + } + catch (XmlException e) + { ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The transform file '{0}' is not well-formed. The error is: {1}", transformFile, e.Message)); return (1); } @@ -80,9 +101,11 @@ namespace Microsoft.Ddue.Tools { // Compose the arguments XsltArgumentList arguments = new XsltArgumentList(); - if (results.Options["arg"].IsPresent) { + if (results.Options["arg"].IsPresent) + { string[] nameValueStrings = (string[])results.Options["arg"].Value; - foreach (string nameValueString in nameValueStrings) { + foreach (string nameValueString in nameValueStrings) + { string[] nameValuePair = nameValueString.Split('='); if (nameValuePair.Length != 2) continue; arguments.AddParam(nameValuePair[0], String.Empty, nameValuePair[1]); @@ -91,9 +114,13 @@ namespace Microsoft.Ddue.Tools { string input = Environment.ExpandEnvironmentVariables(results.UnusedArguments[0]); - // Do each transform - for (int i = 0; i < transforms.Length; i++) { + // prepare the reader + XmlReaderSettings readerSettings = new XmlReaderSettings(); + readerSettings.IgnoreWhitespace = ignoreWhitespace; + // Do each transform + for (int i = 0; i < transforms.Length; i++) + { ConsoleApplication.WriteMessage(LogLevel.Info, String.Format("Applying XSL transformation '{0}'.", transformFiles[i])); // get the transform @@ -101,90 +128,105 @@ namespace Microsoft.Ddue.Tools { // figure out where to put the output string output; - if (i < (transforms.Length - 1)) { - try { + if (i < (transforms.Length - 1)) + { + try + { output = Path.GetTempFileName(); File.SetAttributes(output, FileAttributes.Temporary); - } catch (IOException e) { + } + catch (IOException e) + { ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("An error occured while attempting to create a temporary file. The error message is: {0}", e.Message)); return (1); } - } else { - if (results.Options["out"].IsPresent) { + } + else + { + if (results.Options["out"].IsPresent) + { output = Environment.ExpandEnvironmentVariables((string)results.Options["out"].Value); - } else { + } + else + { output = null; } } - - // Console.WriteLine("{0} -> {1}", input, output); - // create a reader - XmlReader reader; - try { - Stream readStream = File.Open(input, FileMode.Open, FileAccess.Read, FileShare.ReadWrite | FileShare.Delete); - reader = XmlReader.Create(readStream); - } catch (IOException e) { + Stream readStream; + try + { + readStream = File.Open(input, FileMode.Open, FileAccess.Read, FileShare.ReadWrite | FileShare.Delete); + } + catch (IOException e) + { ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The input file '{0}' could not be loaded. The error is: {1}", input, e.Message)); return (1); - } catch (UnauthorizedAccessException e) { + } + catch (UnauthorizedAccessException e) + { ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The input file '{0}' could not be loaded. The error is: {1}", input, e.Message)); return (1); - } catch (XmlException e) { - // this exception probably only occurs later; we now catch it during the transform - ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The input file '{0}' is not well-formed. The error is: {1}", input, e.Message)); - return (1); } - try { - + using (XmlReader reader = XmlReader.Create(readStream, readerSettings)) + { // create a writer - XmlWriter writer; - try { - if (output == null) { - writer = XmlWriter.Create(Console.Out, transform.OutputSettings); - } else { - Stream writeStream = File.Open(output, FileMode.Create, FileAccess.Write, FileShare.Read | FileShare.Delete); - writer = XmlWriter.Create(writeStream, transform.OutputSettings); + Stream outputStream; + if (output == null) + { + outputStream = Console.OpenStandardOutput(); + } + else + { + try + { + outputStream = File.Open(output, FileMode.Create, FileAccess.Write, FileShare.Read | FileShare.Delete); + } + catch (IOException e) + { + ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The output file '{0}' could not be loaded. The error is: {1}", output, e.Message)); + return (1); + } + catch (UnauthorizedAccessException e) + { + ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The output file '{0}' could not be loaded. The error is: {1}", output, e.Message)); + return (1); } - } catch (IOException e) { - ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The output file '{0}' could not be loaded. The error is: {1}", output, e.Message)); - return (1); - } catch (UnauthorizedAccessException e) { - ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The output file '{0}' could not be loaded. The error is: {1}", output, e.Message)); - return (1); - } catch (XmlException e) { - // can this happen? - ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The output file '{0}' is not well-formed. The error is: {1}", output, e.Message)); - return (1); } - try { - // do the deed - transform.Transform(reader, arguments, writer); - } catch (XsltException e) { - ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("An error occured during the transformation. The error message is: {0}", - (e.InnerException == null) ? e.Message : e.InnerException.Message)); - return (1); - } catch (XmlException e) { - ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The input file '{0}' is not well-formed. The error is: {1}", input, e.Message)); - return (1); - } finally { - writer.Flush(); - writer.Close(); + using (XmlWriter writer = XmlWriter.Create(outputStream, transform.OutputSettings)) + { + try + { + // do the deed + transform.Transform(reader, arguments, writer); + } + catch (XsltException e) + { + ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("An error occured during the transformation. The error message is: {0}", + (e.InnerException == null) ? e.Message : e.InnerException.Message)); + return (1); + } + catch (XmlException e) + { + ConsoleApplication.WriteMessage(LogLevel.Error, String.Format("The input file '{0}' is not well-formed. The error is: {1}", input, e.Message)); + return (1); + } } - - } finally { - reader.Close(); } // if the last input was a temp file, delete it - if (i > 0) { + if (i > 0) + { // Console.WriteLine("deleting {0}", input); - try { + try + { File.Delete(input); - } catch (IOException e) { + } + catch (IOException e) + { ConsoleApplication.WriteMessage(LogLevel.Warn, String.Format("The temporary file '{0}' could not be deleted. The error message is: {1}", input, e.Message)); } } @@ -196,36 +238,38 @@ namespace Microsoft.Ddue.Tools { return (0); } - } - internal class TransformInfo { - - private static XmlUrlResolver resolver = new XmlUrlResolver(); - - private static XsltSettings settings = new XsltSettings(true, true); + internal class TransformInfo + { + public TransformInfo(string file) + { + this.file = file; + transform.Load(file, settings, resolver); + } private string file; private XslCompiledTransform transform = new XslCompiledTransform(); - public TransformInfo(string file) { - this.file = file; - transform.Load(file, settings, resolver); - } - - public string File { - get { + public string File + { + get + { return (file); } } - public XslCompiledTransform Transform { - get { + public XslCompiledTransform Transform + { + get + { return (transform); } } - } + private static XsltSettings settings = new XsltSettings(true, true); + private static XmlUrlResolver resolver = new XmlUrlResolver(); + } } diff --git a/tools/Sandcastle/Source/XslTransform/XslTransform.csproj b/tools/Sandcastle/Source/XslTransform/XslTransform.csproj index a288364..8d2e420 100644 --- a/tools/Sandcastle/Source/XslTransform/XslTransform.csproj +++ b/tools/Sandcastle/Source/XslTransform/XslTransform.csproj @@ -68,6 +68,7 @@ <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="XslTransform.cs" /> </ItemGroup> diff --git a/tools/Sandcastle/Source/XslTransform/XslTransform.csproj.vspscc b/tools/Sandcastle/Source/XslTransform/XslTransform.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/XslTransform/XslTransform.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/XslTransform/makefile b/tools/Sandcastle/Source/XslTransform/makefile deleted file mode 100644 index 5acbbd2..0000000 --- a/tools/Sandcastle/Source/XslTransform/makefile +++ /dev/null @@ -1 +0,0 @@ -!INCLUDE $(NTMAKEENV)\makefile.def diff --git a/tools/Sandcastle/Source/XslTransform/makefile.inc b/tools/Sandcastle/Source/XslTransform/makefile.inc deleted file mode 100644 index 32f7350..0000000 --- a/tools/Sandcastle/Source/XslTransform/makefile.inc +++ /dev/null @@ -1,2 +0,0 @@ -!INCLUDE $(INETROOT)\build\makefile.inc - diff --git a/tools/Sandcastle/Source/XslTransform/placefile b/tools/Sandcastle/Source/XslTransform/placefile deleted file mode 100644 index 969f542..0000000 --- a/tools/Sandcastle/Source/XslTransform/placefile +++ /dev/null @@ -1 +0,0 @@ -Microsoft.Ddue.Tools.XslTransform.exe Manifold |