13 Commits
Author SHA1 Message Date
Marek Habersack 7eedf1309c 2010-06-15 Marek Habersack <[email protected]>
* ResourceExpressionBuilder.cs: cast the return value of
	GetLocalResourceObject to appropriate type. Fixes bug #607766

	* TemplateControlCompiler.cs: made CreateConvertToCall internal
	static, so that it can be used from ResourceExpressionBuilder

svn path=/trunk/mcs/; revision=158909
2010-06-15 01:11:02 +00:00
Marek Habersack b40844116b More 1.1 code and NET_2_0 ifdefs removed
svn path=/trunk/mcs/; revision=145319
2009-11-03 20:19:37 +00:00
Marek Habersack 77822cc6e3 2008-08-18 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: process expression when they are
	used used in values of attributes without associated
	properties. Fixes bug #417883

	* ResourceExpressionBuilder.cs: added two overloads of
	CreateGetLocalResourceObject to encompass cases when the generated
	expression is not assigned to a property but rather used as a
	parameter to the SetAttribute method. Fixes bug #417883

svn path=/trunk/mcs/; revision=110844
2008-08-18 19:49:08 +00:00
Marek Habersack 4b530ef9b0 2007-05-28 Marek Habersack <[email protected]>
* ResourceExpressionBuilder.cs: properly cast
	GetGlobalResourceObject calls to the type of the property being
	assigned to.

svn path=/trunk/mcs/; revision=78035
2007-05-28 08:44:53 +00:00
Marek Habersack 02657c3d11 2007-05-15 Marek Habersack <[email protected]>
* ResourceExpressionBuilder.cs: added a static method to generate
	a GetLocalResourceObject call which properly handles types which
	cannot be converted from strings.

	* TemplateControlCompiler.cs: use code described above to generate
	code for properties assigned from resources.


svn path=/trunk/mcs/; revision=77437
2007-05-15 20:48:57 +00:00
Marek Habersack d40600b83d 2007-03-20 Marek Habersack <[email protected]>
* ResourceExpressionBuilder.cs: if the resource class key is null
	or empty, call GetLocalResourceObject, if not,
	GetGlobalResourceObject. Fixes bug #81174.

svn path=/trunk/mcs/; revision=74672
2007-03-20 09:19:05 +00:00
Marek Habersack 560e3e6465 Fix for global resources
svn path=/trunk/mcs/; revision=73124
2007-02-19 17:52:43 +00:00
Marek Habersack e66d8ac4b2 Use Resources. as the prefix for global resources embedded in App_GlobalResources.dll
svn path=/trunk/mcs/; revision=72471
2007-02-08 13:02:26 +00:00
Marek Habersack 58fca48c17 Add support for App_GlobalResources and App_LocalResources
svn path=/trunk/mcs/; revision=66799
2006-10-18 20:30:10 +00:00
Kornél Pál 133ce64e0f Use assembly name and file version constants.
svn path=/trunk/mcs/; revision=64391
2006-08-25 20:32:53 +00:00
Chris Toshok 0bd4166bb7 2006-01-22 Chris Toshok <[email protected]>
* AppSettingsExpressionBuilder.cs: implement this, patterning it
	after an example on msdn.  Also, enable the ExpressionEditor
	attribute, but use the string rather than the Type overload so we
	won't have yet another circular dep.

	* ConnectionStringsExpressionBuilder.cs: partial implementation.
	Same deal with the ExpressionEditor attribute.

	* ResourceExpressionBuilder.cs: same deal with the
	ExpressionEditor attribute.


svn path=/trunk/mcs/; revision=55907
2006-01-22 18:46:10 +00:00
Chris Toshok c80bafcadf 2006-01-20 Chris Toshok <[email protected]>
* ResourceExpressionBuilder.cs (ParseExpression): implement.

	* ResourceExpressionFields.cs: implement.


svn path=/trunk/mcs/; revision=55874
2006-01-21 04:38:53 +00:00
Chris Toshok a3a46ec81d stub out the 2.0 System.Web.Compilation stuff.
svn path=/trunk/mcs/; revision=55349
2006-01-10 22:29:39 +00:00