I do not see anywhere that this should be so, but I get the "Invalid declaration syntax" syntax getevery time I declare a static property that does not start with an uppercase letter. For example:
get
type Foo() = class static member bar with get() = "bar" //Invalid declaration syntax in get end
This is just a bug in Beta2 / October CTP. This only affects static properties that use the "with get / set" syntax. You can use only shorter syntax
static member bar = "bar"
as a workaround, assuming you only need a getter.
"". .NET. , , , PascalCased.
http://msdn.microsoft.com/en-us/library/xzf533w0(VS.71).aspx
Source: https://habr.com/ru/post/1725969/More articles:What is the difference between "<%" and "<% =" in embedded VBScript? - htmlSettings menu via UITableView - iphoneLooking for an object in a nested NSDictionary when the parent key is unknown? - jsonMemory Leak 0x0 [iphone] - memory-leaksDoes Interlocked.CompareExchange (double, double, double) support 32-bit OS? - multithreadingHide all windows for the process (for example, Internet Explorer) - .netError IManExt ImportCmd - c #The pure javascript equivalent of jquery $ ("# large_box2_link"). click (); - javascriptmonolithic inheritance compared to modular OOP based on modular elements - pythonHow to enable tabs in HTML editing window? - htmlAll Articles