Re: region - end region

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Herfried K. Wagner [MVP] (hirf-spam-me-here_at_gmx.at)
Date: 10/22/04


Date: Fri, 22 Oct 2004 13:38:21 +0200


"guy" <guy@discussions.microsoft.com> schrieb:
> maybe i dindt word the question right, I realise that #Region is a
> preprocessor directive, what i am puzzled by is why a mismatch produces an
> exception rather than just a warning

It produces a compile time /error/. ''#Region...#End Region' is part of the
syntax, so there will be an error if something is wrong and not a warning.

-- 
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/> 


Relevant Pages

  • Re: Suppress notices and warning in code
    ... "Krishna Srinivasan" schrieb im Newsbeitrag ... > I have a form with check boxes. ... > there a way to hide these notices and warning in PHP code without ...
    (comp.lang.php)
  • Re: Why does this work?
    ... "James Hahn" schrieb: ... doing is the reason for the warning. ... This is especially important if the shared member is accessed for an object returned by an expression, which may change the application's state, but the expression gets removed by the compiler: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: xorg-server 6.9.0 wont build on 4.11-stable
    ... Steve O'Hara-Smith schrieb: ... xprintf.c: In function `Xvprintf': ... xprintf.c:51: warning: `va2' might be used uninitialized in this function ...
    (freebsd-stable)
  • Re: [PATCH 3/3] UIO: Hilscher CIF card driver
    ... Am Donnerstag 19 Juli 2007 18:33 schrieb Jan Engelhardt: ... Greg Kroah-Hartman wrote: ... WARNING: Don't look at the code for too long, ...
    (Linux-Kernel)
  • Re: region - end region
    ... what i am puzzled by is why a mismatch produces an ... exception rather than just a warning ... >> it should be a warning as it is only relevant to the ide and does not ...
    (microsoft.public.dotnet.languages.vb)