This file contains 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
diff --git a/Src/Compilers/CSharp/Source/Binder/Binder_Symbols.cs b/Src/Compilers/CSharp/Source/Binder/Binder_Symbols.cs | |
index ce0a903..b34b498 100644 | |
--- a/Src/Compilers/CSharp/Source/Binder/Binder_Symbols.cs | |
+++ b/Src/Compilers/CSharp/Source/Binder/Binder_Symbols.cs | |
@@ -379,6 +379,20 @@ namespace Microsoft.CodeAnalysis.CSharp | |
return new PointerTypeSymbol(elementType); | |
} | |
+ case SyntaxKind.EnumerableType: | |
+ { |
This file contains 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
[Test] | |
public void StructInstanceMembers() | |
{ | |
AssertExpressionsAtLine(21, "Types.cs", new Evaluations | |
{ | |
{ "one", | |
Expect("one", Quoted("<X:1 Y:1 Z:1>"), "Victor", | |
Expect("X", "1f", "System.Single"), | |
Expect("Y", "1f", "System.Single"), | |
Expect("Z", "1f", "System.Single")) |
This file contains 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
using System; | |
using UnityEngine; | |
using UnityEditor; | |
using SyntaxTree.VisualStudio.Unity.Bridge; | |
[InitializeOnLoad] | |
public class NamespaceProjectHook | |
{ |
This file contains 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
#![feature(lang_items)] | |
#![allow(unstable)] | |
#![allow(non_camel_case_types)] | |
extern crate libc; | |
extern crate unicode; | |
mod w32 { | |
use libc::types::os::arch::extra::{HANDLE, LPCWSTR}; |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using Mono.Cecil; | |
using Mono.Cecil.Cil; | |
namespace TinySwitch | |
{ | |
class Program |
This file contains 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
using System; | |
using System.Globalization; | |
using System.Linq; | |
using Mono.Cecil; | |
class Rebase { | |
static void Main () | |
{ |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
// from http://themechanicalbride.blogspot.com/2009/07/introducing-rx-linq-to-events.html | |
class Program { | |
static void Main () | |
{ |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using SR = System.Reflection; | |
using Mono.Cecil; | |
class Program { |
This file contains 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
diff --git a/Mono.Cecil.Cil/MethodBody.cs b/Mono.Cecil.Cil/MethodBody.cs | |
index 6f818fe..bce81b4 100644 | |
--- a/Mono.Cecil.Cil/MethodBody.cs | |
+++ b/Mono.Cecil.Cil/MethodBody.cs | |
@@ -46,6 +46,7 @@ namespace Mono.Cecil.Cil { | |
internal Collection<ExceptionHandler> exceptions; | |
internal Collection<VariableDefinition> variables; | |
Scope scope; | |
+ TypeDefinition iterator_type; | |
This file contains 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
diff --git a/mcs/mcs/cs-parser.jay b/mcs/mcs/cs-parser.jay | |
index b718931..70051f1 100644 | |
--- a/mcs/mcs/cs-parser.jay | |
+++ b/mcs/mcs/cs-parser.jay | |
@@ -2705,6 +2705,22 @@ delegate_declaration | |
} | |
; | |
+opt_enumerable_or_nullable | |
+ : opt_enumerable |
OlderNewer