We're updating the issue view to help you get more done. 

C# compiler "Roslyn" regression

Description

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 2015-06-02 12:46:35.4520 DEBUG NHibernate.Impl.SessionImpl 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c [session-id=6dee4e8e-32d9-4d8d-bb06-93c670444fa0] opened session at timestamp: 635688459954, for session factory: [/28cae3ee318c468b90fb1ad77f26ee68] 2015-06-02 12:46:35.4520 DEBUG NHibernate.Transaction.AdoTransaction 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c Begin (ReadCommitted) 2015-06-02 12:46:35.4520 DEBUG NHibernate.Connection.DriverConnectionProvider 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c Obtaining IDbConnection from Driver 2015-06-02 12:46:35.4520 DEBUG NHibernate.Loader.Criteria.CriteriaQueryTranslator 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c searching for User 2015-06-02 12:46:35.4520 DEBUG NHibernate.Loader.Criteria.CriteriaQueryTranslator 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c returning entity name=TFiN.Domain.Entities.Users.User for path=User class=EntityCriteriaInfoProvider 2015-06-02 12:46:35.4520 DEBUG NHibernate.Loader.Criteria.CriteriaQueryTranslator 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c put criteria=ua.Status = UserStatus@2(hash) and (CS$<>8__locals1.ua.Voornaam like %bart% or CS$<>8__locals1.ua.Achternaam like %bart% or CS$<>8__locals1.ua.Email like %bart% or CS$<>8__locals1.upa.Bedrijfsnaam like %bart% or CS$<>8__locals1.upa.Telefoon like %bart% or CS$<>8__locals1.upa.VestigingsAdres.Straat like %bart% or CS$<>8__locals1.upa.VestigingsAdres.Plaats like %bart%) ua.LastActivity desc alias=upa0_ 2015-06-02 12:46:35.4520 DEBUG NHibernate.Loader.Criteria.CriteriaQueryTranslator 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c put criteria=NHibernate.Impl.CriteriaImpl+Subcriteria alias=ua1_ 2015-06-02 12:46:35.4520 DEBUG NHibernate.Loader.Criteria.CriteriaQueryTranslator 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c returning alias=ua1_ for criteria=NHibernate.Impl.CriteriaImpl+Subcriteria 2015-06-02 12:46:35.4590 DEBUG NHibernate.Loader.Criteria.CriteriaQueryTranslator 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c returning alias=this_ for criteria=ua.Status = UserStatus@2(hash) and (CS$<>8__locals1.ua.Voornaam like %bart% or CS$<>8__locals1.ua.Achternaam like %bart% or CS$<>8__locals1.ua.Email like %bart% or CS$<>8__locals1.upa.Bedrijfsnaam like %bart% or CS$<>8__locals1.upa.Telefoon like %bart% or CS$<>8__locals1.upa.VestigingsAdres.Straat like %bart% or CS$<>8__locals1.upa.VestigingsAdres.Plaats like %bart%) ua.LastActivity desc 2015-06-02 12:49:43.9056 DEBUG NHibernate.Transaction.AdoTransaction 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c Rollback 2015-06-02 12:49:43.9056 DEBUG NHibernate.Transaction.AdoTransaction 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c IDbTransaction RolledBack 2015-06-02 12:49:43.9056 DEBUG NHibernate.Transaction.AdoTransaction 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c IDbTransaction disposed. 2015-06-02 12:49:43.9056 DEBUG NHibernate.Impl.SessionImpl 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c transaction completion 2015-06-02 12:49:43.9056 DEBUG NHibernate.AdoNet.ConnectionManager 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c aggressively releasing database connection 2015-06-02 12:49:43.9056 DEBUG NHibernate.Connection.ConnectionProvider 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c Closing connection 2015-06-02 12:49:43.9056 DEBUG NHibernate.Impl.SessionImpl 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c [session-id=6dee4e8e-32d9-4d8d-bb06-93c670444fa0] running ISession.Dispose() 2015-06-02 12:49:43.9056 DEBUG NHibernate.Impl.SessionImpl 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c [session-id=6dee4e8e-32d9-4d8d-bb06-93c670444fa0] executing real Dispose(True) 2015-06-02 12:49:43.9056 DEBUG NHibernate.Impl.SessionImpl 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c closing session 2015-06-02 12:49:43.9056 DEBUG NHibernate.AdoNet.AbstractBatcher 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c running BatcherImpl.Dispose(true) 2015-06-02 12:49:44.0006 ERROR TFiN.WebApplication.MvcApplication 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c NHibernate.QueryException: could not resolve property: CS$<>8__locals1 of: TFiN.Domain.Entities.Users.UserProfile at NHibernate.Persister.Entity.AbstractPropertyMapping.ToType(String propertyName) at NHibernate.Persister.Entity.AbstractEntityPersister.GetSubclassPropertyTableNumber(String propertyPath) at NHibernate.Persister.Entity.BasicEntityPropertyMapping.ToColumns(String alias, String propertyName) at NHibernate.Persister.Entity.AbstractEntityPersister.ToColumns(String alias, String propertyName) at NHibernate.Loader.Criteria.CriteriaQueryTranslator.GetColumns(ICriteria subcriteria, String propertyName) at NHibernate.Loader.Criteria.CriteriaQueryTranslator.GetColumnsUsingProjection(ICriteria subcriteria, String propertyName) at NHibernate.Criterion.PropertyProjection.ToSqlString(ICriteria criteria, Int32 loc, ICriteriaQuery criteriaQuery, IDictionary`2 enabledFilters) at NHibernate.Criterion.CriterionUtil.GetColumnNamesUsingProjection(IProjection projection, ICriteriaQuery criteriaQuery, ICriteria criteria, IDictionary`2 enabledFilters) at NHibernate.Criterion.SimpleExpression.ToSqlString(ICriteria criteria, ICriteriaQuery criteriaQuery, IDictionary`2 enabledFilters) at NHibernate.Criterion.Junction.ToSqlString(ICriteria criteria, ICriteriaQuery criteriaQuery, IDictionary`2 enabledFilters) at NHibernate.Loader.Criteria.CriteriaQueryTranslator.GetWhereCondition(IDictionary`2 enabledFilters) at NHibernate.Loader.Criteria.CriteriaJoinWalker..ctor(IOuterJoinLoadable persister, CriteriaQueryTranslator translator, ISessionFactoryImplementor factory, ICriteria criteria, String rootEntityName, IDictionary`2 enabledFilters) at NHibernate.Loader.Criteria.CriteriaLoader..ctor(IOuterJoinLoadable persister, ISessionFactoryImplementor factory, CriteriaImpl rootCriteria, String rootEntityName, IDictionary`2 enabledFilters) at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) at NHibernate.Impl.CriteriaImpl.List(IList results) at NHibernate.Impl.CriteriaImpl.List[T]() at NHibernate.Criterion.QueryOver`1.List() at NHibernate.Criterion.QueryOver`1.NHibernate.IQueryOver<TRoot>.List() at TFiN.WebApplication.Areas.Admin.Controllers.GebruikersController.Query(GebruikersViewModel model) in C:\Projects\findesk-stable\src\TFiN.WebApplication\Areas\Admin\Controllers\GebruikersController.cs:line 136 at TFiN.WebApplication.Areas.Admin.Controllers.GebruikersController.Index(GebruikersViewModel model) in C:\Projects\findesk-stable\src\TFiN.WebApplication\Areas\Admin\Controllers\GebruikersController.cs:line 46 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) at System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 2015-06-02 12:49:44.0846 DEBUG NHibernate.Impl.SessionImpl 624f45ad-490a-46c4-b1b5-9e7b00ea5a5c [session-id=6dee4e8e-32d9-4d8d-bb06-93c670444fa0] running ISession.Dispose()

Environment

Windows 8.1 or Windows 10 (build 10130) Microsoft Visual Studio Professional 2015 RC Version 14.0.22823.1 D14REL

Status

Assignee

Unassigned

Reporter

Bart Schapendonk

Labels