Skip to content

Instantly share code, notes, and snippets.

@ngbrown
ngbrown / JetBrains.ExternalAnnotations.xsd
Created August 13, 2011 01:47
Started to define a basic XSD schema for JetBrains external annotations.
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="JetBrains.ExternalAnnotations" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:annotation>
<xs:documentation>
<![CDATA[
Usage: You only need to add the following to the assembly element:
<assembly name="Assembly.Name"
xsi:noNamespaceSchemaLocation="http://jetbrains.com/schema/JetBrains.ExternalAnnotations.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
]]>
@ngbrown
ngbrown / ScanSum.cs
Created June 19, 2010 17:03
Examples of using TextScanner
namespace ScanSum
{
using System;
using System.Globalization;
using System.IO;
using TextScanner;
internal class ScanSum
{
@ngbrown
ngbrown / RandData.cs
Created June 18, 2010 16:14
C# UnitTest Helpers
namespace UnitTestHelpers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/// <summary>
/// Provides random test data
/// </summary>
@ngbrown
ngbrown / ArrayHelpers.cs
Created June 18, 2010 15:56
C# Extension Methods
namespace Helpers
{
using System;
/// <summary>
/// A static class of extension methods for <see cref="Array"/>.
/// </summary>
public static class ArrayHelpers
{
/// <summary>