diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-08-02 06:12:26 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-08-02 06:12:26 -0700 |
commit | 1eaa27d722efd9704949bc5e33304568a75fa776 (patch) | |
tree | 529a7599b40b6e31d35a9b6d85e8caf7bb6c72d4 /tools/Contracts/Languages/CSharp/Code Contract Snippets/contractensuresnotisnullorempty.snippet | |
parent | e74e07e8b9f85816ec34b4e00b8b7925dcec5318 (diff) | |
download | DotNetOpenAuth-1eaa27d722efd9704949bc5e33304568a75fa776.zip DotNetOpenAuth-1eaa27d722efd9704949bc5e33304568a75fa776.tar.gz DotNetOpenAuth-1eaa27d722efd9704949bc5e33304568a75fa776.tar.bz2 |
Fixed more line-endings.
Diffstat (limited to 'tools/Contracts/Languages/CSharp/Code Contract Snippets/contractensuresnotisnullorempty.snippet')
-rw-r--r-- | tools/Contracts/Languages/CSharp/Code Contract Snippets/contractensuresnotisnullorempty.snippet | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/tools/Contracts/Languages/CSharp/Code Contract Snippets/contractensuresnotisnullorempty.snippet b/tools/Contracts/Languages/CSharp/Code Contract Snippets/contractensuresnotisnullorempty.snippet index 4847e14..6520876 100644 --- a/tools/Contracts/Languages/CSharp/Code Contract Snippets/contractensuresnotisnullorempty.snippet +++ b/tools/Contracts/Languages/CSharp/Code Contract Snippets/contractensuresnotisnullorempty.snippet @@ -1,25 +1,25 @@ -<?xml version="1.0" encoding="utf-8"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- <Title>Contract.Ensures(!String.IsNullOrEmpty(Contract.Result()))</Title>
- <Shortcut>cesn</Shortcut>
- <Description>Emits an 'ensures' clause specifying result not null or empty</Description>
- <Author>Jonathan de Halleux</Author>
- </Header>
- <Snippet>
- <Imports>
- <Import>
- <Namespace>System.Diagnostics.Contracts</Namespace>
- </Import>
- </Imports>
- <Declarations>
- </Declarations>
- <Code Language="CSharp" Kind="method body"><![CDATA[Contract.Ensures(!String.IsNullOrEmpty(Contract.Result<string>()));
-$end$]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
+<?xml version="1.0" encoding="utf-8"?> +<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> + <CodeSnippet Format="1.0.0"> + <Header> + <SnippetTypes> + <SnippetType>Expansion</SnippetType> + </SnippetTypes> + <Title>Contract.Ensures(!String.IsNullOrEmpty(Contract.Result()))</Title> + <Shortcut>cesn</Shortcut> + <Description>Emits an 'ensures' clause specifying result not null or empty</Description> + <Author>Jonathan de Halleux</Author> + </Header> + <Snippet> + <Imports> + <Import> + <Namespace>System.Diagnostics.Contracts</Namespace> + </Import> + </Imports> + <Declarations> + </Declarations> + <Code Language="CSharp" Kind="method body"><![CDATA[Contract.Ensures(!String.IsNullOrEmpty(Contract.Result<string>())); +$end$]]></Code> + </Snippet> + </CodeSnippet> +</CodeSnippets> |