This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ResolveResult IAstVisitor<ResolveResult>.VisitUnsafeStatement(UnsafeStatement unsafeStatement) | |
{ | |
return voidResult; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ResolveResult IAstVisitor<ResolveResult>.VisitUnsafeStatement(UnsafeStatement unsafeStatement) | |
{ | |
resolver = resolver.PushBlock(); | |
ScanChildren(unsafeStatement); | |
resolver = resolver.PopBlock(); | |
return voidResult; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------- | |
load:/usr/lib/mono/2.0/mscorlib.dll | |
load:/usr/lib/mono/2.0/System.dll | |
load:/usr/lib/mono/2.0/System.Runtime.Remoting.dll | |
load:/usr/lib/mono/2.0/Microsoft.Build.Engine.dll | |
load:/usr/lib/mono/2.0/Microsoft.Build.Framework.dll | |
load:/usr/lib/mono/2.0/Microsoft.Build.Utilities.dll | |
load:/usr/lib/mono/3.5/Microsoft.Build.Engine.dll | |
load:/usr/lib/mono/3.5/Microsoft.Build.Framework.dll | |
load:/usr/lib/mono/3.5/Microsoft.Build.Utilities.v3.5.dll |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------/home/mike/TestBug/TestBug/Default.aspx.designer.cs | |
// ------------------------------------------------------------------------------ | |
// <autogenerated> | |
// This code was generated by a tool. | |
// Mono Runtime Version: 4.0.30319.1 | |
// | |
// Changes to this file may cause incorrect behavior and will be lost if | |
// the code is regenerated. | |
// </autogenerated> | |
// ------------------------------------------------------------------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------/home/mike/TestBug/TestBug/Default.aspx.designer.cs | |
using System; | |
using System.Web; | |
using System.Web.UI; | |
namespace TestBug | |
{ | |
public partial class Default | |
{ | |
protected System.Web.UI.WebControls.Button button1; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We need separate icons for each type: | |
+ class | |
+ interface | |
+ struct | |
+ enum | |
+ delegate | |
Members: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FooFoo | |
{ | |
protected NewFooBar FooBar { | |
get; set; | |
} | |
protected class NewFooBar<T,B> | |
{ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public IList<ITypeDefinition> NestedTypes { | |
get { | |
IList<ITypeDefinition> result = LazyInit.VolatileRead(ref this.nestedTypes); | |
if (result != null) { | |
return result; | |
} else { | |
result = ( | |
from part in parts | |
from nestedTypeRef in part.NestedTypes | |
group nestedTypeRef by nestedTypeRef.Name into g |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Example3 () | |
{ | |
// More stingy case. Equivalent to Example2() only if MainClass is of reference type. | |
// Also, how to decide whether the assignments after the Add() calls belong to the previous | |
// or the next call to Add()? Needs data flow/dependency analysis? | |
MainClass tmp; | |
var items = new List<MainClass> (); | |
tmp = new MainClass (); | |
items.Add (tmp); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Example3 () | |
{ | |
// More stingy case. Equivalent to Example2() only if MainClass is of reference type. | |
// Also, how to decide whether the assignments after the Add() calls belong to the previous | |
// or the next call to Add()? Needs data flow/dependency analysis? | |
MainClass tmp; | |
var items = new List<MainClass> (); | |
tmp = new MainClass (); | |
tmp.Data = "data"; |