CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of Bug
<!DOCTYPE html>
<html>
<head>
<style>
.boxshadow
{
     box-shadow: 4px 4px 5px #535353;
}
.roundbox
{
by Rick Strahl   January 03, 2012 @ 4:58pm
Tags: HTML, IE9, Bug
242 Views
no comments
 
C#
public interface IParent
{
    IEnumerable GetChildren();
}
 
public interface IParent<out T> : IParent    
{
    new IEnumerable<T> GetChildren();
}
by Rob Eisenberg   January 09, 2011 @ 5:29pm
360 Views
2 comments
 
<system.diagnostics>
  <sources>
    <source name="System.ComponentModel.Composition" switchValue="Error">
      <listeners>
        <add name="fileListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="Mef Composition.log" />
      </listeners>
    </source>
  </sources>
  <trace autoflush="true" indentsize="4" />
</system.diagnostics>
by bnaya   November 03, 2010 @ 5:03am
Tags: MEF, Debug, Config
279 Views
no comments
 
[DebuggerDisplay("Count = {count}")]
class MyHashtable
{
    public int count = 4;
}
by bnaya   October 12, 2010 @ 4:13am
Tags: Debug
192 Views
no comments
 
C#
class Program
{
   static void Main(string[] args)
   {
 
      try
      {
         var mock = new Mock<IService>();
         const long iterationCount = 1000000;
         Parallel.For(0, iterationCount, i => mock.Object.DoWork());
by Staxmanade   July 27, 2010 @ 9:51am
Tags: Moq, Bug, Exception
328 Views
no comments
 
SQL
set nocount on
 
-- build a working table called x
 
if (object_id('x') is not null) 
    drop table x
create table x (col1 varchar(50))
 
declare @sql nvarchar(500)
set @sql = 'insert into x select ''test'';'
by Jerry Nixon   April 09, 2010 @ 2:47pm
374 Views
1 comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate