Re: Determine if a string is a vb.net keyword



Hi

The System.Reflection namespace contains classes and interfaces that
provide a managed view of loaded types, methods, and fields, with the
ability to dynamically create and invoke types. So the reflection is to do
with the type definition in the assembly but not the compilication issue.
It should be the Compiler's job to recognize the keyword and do
compilation. But vbc.exe(the vb.net compiler) did not expose such interface
to check if certian string is a keyword.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: Poster boy for optional and keyword args together?
    ... &OPTIONAL and &KEY in the same lambda list; again, the keyword ... In a way, this is vaguely similar to Java's interfaces, whereby ... So if key args were passed in a ... In CL's optionals, ...
    (comp.lang.lisp)
  • Re: Poster boy for optional and keyword args together?
    ... with the keyword args as afterthoughts and importantly a ... &OPTIONAL and &KEY in the same lambda list; again, the keyword ... this is the best explanation I've ever seen of this. ... In a way, this is vaguely similar to Java's interfaces, whereby ...
    (comp.lang.lisp)
  • Re: Java "interface" vs. OO interface
    ... > I think Java uses interfaces instead of classes because the designers ... To think that the designers of Java and .NET couldn't figure out a good ... Enough for a language to adopt a new keyword ...
    (comp.object)
  • Re: problem with optional argument
    ... When building a list of interfaces, the compiler has to make sure ... be the same as the argument that disambiguates by keyword. ... arguments have to precede keyword arguments in an actual argument list. ... But the *disambiguating* keyword argument has to precede the ...
    (comp.lang.fortran)
  • Re: Translate IPFW rules to PF rules
    ... I already saw some references to the "self" keyword, ... find anything about it in the documentation. ... pfctl -t SELF -T delete old.self.ip.addr ... all your interfaces you needn't worry about this, ...
    (comp.unix.bsd.freebsd.misc)